2025-04-22 17:04:17,672 - INFO - Domain Default found not creating 2025-04-22 17:04:17,828 - INFO - Project ctest-TestBasicVMVNx-13522227 not found, creating it 2025-04-22 17:04:18,326 - INFO - Created Project:ctest-TestBasicVMVNx-13522227, ID : 791a8ed0-b0d3-4038-bcc0-6f18b1c6903b 2025-04-22 17:04:19,857 - INFO - ================================================================================ 2025-04-22 17:04:19,857 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-22 17:04:19,857 - INFO - TEST DESCRIPTION : Description: Test to validate File Transfer using scp between VMs. Files of different sizes. Test steps: 1. Creating vm's - vm1 and vm2 and a Vn - vn222 2. Transfer file from vm1 to vm2 with diferrent file sizes using scp 3. file sizes - 64,1202,2210,10000 4. verify files present in vm2 match with the size of the file sent. Pass criteria: File in vm2 should match with the transferred file size from vm1 Maintainer : ganeshahv@juniper.net 2025-04-22 17:04:20,111 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-04-22 17:04:20,111 - INFO - Initial checks done. Running the testcase now 2025-04-22 17:04:20,111 - INFO - 2025-04-22 17:04:20,699 - DEBUG - Response for create_network : {'network': {'id': '2e666c60-db11-4667-8632-f1ccf921accf', 'name': 'ctest-vn-62327104', 'tenant_id': '791a8ed0b0d34038bcc06f18b1c6903b', 'project_id': '791a8ed0b0d34038bcc06f18b1c6903b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-13522227', 'ctest-vn-62327104'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 17:04:20,925 - DEBUG - Response for create_subnet : {'subnet': {'id': '67d8417d-df67-4465-994e-0b5023c68669', 'name': '', 'tenant_id': '791a8ed0b0d34038bcc06f18b1c6903b', 'network_id': '2e666c60-db11-4667-8632-f1ccf921accf', 'ip_version': 4, 'cidr': '81.26.34.64/26', 'allocation_pools': [{'start': '81.26.34.66', 'end': '81.26.34.126'}], 'gateway_ip': '81.26.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.26.34.66', 'tags': [], 'project_id': '791a8ed0b0d34038bcc06f18b1c6903b'}} 2025-04-22 17:04:20,944 - INFO - Created VN ctest-vn-62327104 2025-04-22 17:04:20,997 - DEBUG - VN ctest-vn-62327104 UUID is 2e666c60-db11-4667-8632-f1ccf921accf 2025-04-22 17:04:21,158 - DEBUG - Services list from nova: [, , ] 2025-04-22 17:04:22,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3167-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3167-1) 2025-04-22 17:04:23,415 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3167-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3167-1) 2025-04-22 17:04:23,415 - INFO - Waiting for VM ctest-TestBasicVMVNx-13522227-61121131 to be up.. 2025-04-22 17:04:23,504 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 17:04:28,602 - DEBUG - VM is in ACTIVE state now 2025-04-22 17:04:28,602 - INFO - VM name : ctest-TestBasicVMVNx-13522227-61121131 2025-04-22 17:04:28,792 - DEBUG - VM ctest-TestBasicVMVNx-13522227-61121131 ID is 85f03735-acf0-437d-85f6-bf34c7e3334e 2025-04-22 17:04:28,817 - DEBUG - VM ctest-TestBasicVMVNx-13522227-61121131 launched on Node cn-jenkins-deploy-platform-ansible-os-3167-1 2025-04-22 17:04:28,896 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/85f03735-acf0-437d-85f6-bf34c7e3334e 2025-04-22 17:04:29,235 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/85f03735-acf0-437d-85f6-bf34c7e3334e 2025-04-22 17:04:29,270 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/a058c976-c5e8-466c-9484-001d0b726699 2025-04-22 17:04:32,567 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1027ms') 2025-04-22 17:04:32,568 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13522227-61121131 failed! 2025-04-22 17:04:32,625 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-13522227:ctest-vn-62327104 is 81.26.34.65 and allocation pool is NOT set 2025-04-22 17:04:34,690 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.852 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.852/2.727/4.602/1.875 ms') 2025-04-22 17:04:34,690 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-13522227-61121131 passed 2025-04-22 17:04:34,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:04:34,845 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13522227-61121131, IP 81.26.34.67, Port 22 2025-04-22 17:04:35,001 - DEBUG - VM ctest-TestBasicVMVNx-13522227-61121131 is ready for SSH connections 2025-04-22 17:04:35,001 - INFO - Waiting for VM ctest-TestBasicVMVNx-13522227-00410646 to be up.. 2025-04-22 17:04:35,079 - DEBUG - VM is in ACTIVE state now 2025-04-22 17:04:35,079 - INFO - VM name : ctest-TestBasicVMVNx-13522227-00410646 2025-04-22 17:04:35,155 - DEBUG - VM ctest-TestBasicVMVNx-13522227-00410646 ID is f955dd31-6ce5-4137-be05-19411bda049c 2025-04-22 17:04:35,155 - DEBUG - VM ctest-TestBasicVMVNx-13522227-00410646 launched on Node cn-jenkins-deploy-platform-ansible-os-3167-1 2025-04-22 17:04:35,228 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f955dd31-6ce5-4137-be05-19411bda049c 2025-04-22 17:04:35,237 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/bd3de6a2-7b87-4ecd-9792-78dc18480906 2025-04-22 17:04:36,478 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.15 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.150/2.737/4.324/1.587 ms') 2025-04-22 17:04:36,478 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-13522227-00410646 passed 2025-04-22 17:04:36,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:04:36,634 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13522227-00410646, IP 81.26.34.68, Port 22 2025-04-22 17:04:36,700 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-04-22 17:04:36,776 - DEBUG - VM ctest-TestBasicVMVNx-13522227-00410646 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-22 17:04:41,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:04:41,776 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-13522227-00410646, IP 81.26.34.68, Port 22 2025-04-22 17:04:41,937 - DEBUG - VM ctest-TestBasicVMVNx-13522227-00410646 is ready for SSH connections 2025-04-22 17:04:41,937 - DEBUG - FILE SIZE = 1303B 2025-04-22 17:04:41,937 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-13522227-61121131 to ctest-TestBasicVMVNx-13522227-00410646 using scp 2025-04-22 17:04:41,938 - DEBUG - Running remote_cmd, Cmd : dd bs=1303 count=1 if=/dev/zero of=testfile, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-04-22 17:04:41,938 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-22 17:04:43,879 - DEBUG - 1+0 records in 1+0 records out 2025-04-22 17:04:44,537 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 17:04:44,867 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-04-22 17:04:44,868 - DEBUG - ls -l testfile 2025-04-22 17:04:46,453 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 22 11:04 testfile 2025-04-22 17:04:46,453 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-13522227-00410646 2025-04-22 17:04:46,453 - INFO - Deleting VM ctest-TestBasicVMVNx-13522227-00410646 2025-04-22 17:04:46,524 - INFO - Deleting VM ctest-TestBasicVMVNx-13522227-61121131 2025-04-22 17:04:46,591 - INFO - Deleting VN ctest-vn-62327104 2025-04-22 17:04:46,629 - DEBUG - VN 2e666c60-db11-4667-8632-f1ccf921accf still in use: Unable to complete operation on network 2e666c60-db11-4667-8632-f1ccf921accf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-13ac2258-0520-4c95-88ca-712b067a3c49'] 2025-04-22 17:04:46,629 - WARNING - Deleting VN ctest-vn-62327104 failed..Will retry 2025-04-22 17:04:48,736 - DEBUG - Response for deleting network () 2025-04-22 17:04:49,000 - DEBUG - No XMPP flaps were noticed during the test
2025-04-22 17:04:49,000 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2025-04-22 17:04:49,000 - INFO - -------------------------------------------------------------------------------- 2025-04-22 17:04:49,737 - INFO - Deleted project: ctest-TestBasicVMVNx-13522227, ID : 791a8ed0-b0d3-4038-bcc0-6f18b1c6903b