2024-10-21 02:32:40,863 - INFO - Domain Default found not creating 2024-10-21 02:32:41,068 - INFO - Project ctest-TestBasicVMVNx-91989694 not found, creating it 2024-10-21 02:32:41,577 - INFO - Created Project:ctest-TestBasicVMVNx-91989694, ID : 2b4fc361-1a0b-463e-b99a-cbac8279b7de 2024-10-21 02:32:43,363 - INFO - ================================================================================ 2024-10-21 02:32:43,363 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-21 02:32:43,364 - 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 2024-10-21 02:32:43,628 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.12': '0'}} with 2024-10-21 02:32:43,628 - INFO - Initial checks done. Running the testcase now 2024-10-21 02:32:43,628 - INFO - 2024-10-21 02:32:44,301 - DEBUG - Response for create_network : {'network': {'id': '0c3b4bee-292f-47f6-9522-840ea412ab00', 'name': 'ctest-vn-15161330', 'tenant_id': '2b4fc3611a0b463eb99acbac8279b7de', 'project_id': '2b4fc3611a0b463eb99acbac8279b7de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-91989694', 'ctest-vn-15161330'], 'port_security_enabled': True, 'description': ''}} 2024-10-21 02:32:44,533 - DEBUG - Response for create_subnet : {'subnet': {'id': '20496d68-2d67-455c-920d-d2fec57720c8', 'name': '', 'tenant_id': '2b4fc3611a0b463eb99acbac8279b7de', 'network_id': '0c3b4bee-292f-47f6-9522-840ea412ab00', 'ip_version': 4, 'cidr': '126.248.35.128/26', 'allocation_pools': [{'start': '126.248.35.130', 'end': '126.248.35.190'}], 'gateway_ip': '126.248.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.248.35.130', 'tags': [], 'project_id': '2b4fc3611a0b463eb99acbac8279b7de'}} 2024-10-21 02:32:44,557 - INFO - Created VN ctest-vn-15161330 2024-10-21 02:32:44,616 - DEBUG - VN ctest-vn-15161330 UUID is 0c3b4bee-292f-47f6-9522-840ea412ab00 2024-10-21 02:32:44,809 - DEBUG - Services list from nova: [, , ] 2024-10-21 02:32:46,050 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2121-1) 2024-10-21 02:32:47,437 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2121-1) 2024-10-21 02:32:47,438 - INFO - Waiting for VM ctest-TestBasicVMVNx-91989694-28075555 to be up.. 2024-10-21 02:32:47,546 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-21 02:32:52,640 - DEBUG - VM is in ACTIVE state now 2024-10-21 02:32:52,641 - INFO - VM name : ctest-TestBasicVMVNx-91989694-28075555 2024-10-21 02:32:52,733 - DEBUG - VM ctest-TestBasicVMVNx-91989694-28075555 ID is 95855b22-fd56-4ed9-a7e0-18a5626cda7b 2024-10-21 02:32:52,756 - DEBUG - VM ctest-TestBasicVMVNx-91989694-28075555 launched on Node cn-jenkins-deploy-platform-ansible-os-2121-1 2024-10-21 02:32:52,856 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/95855b22-fd56-4ed9-a7e0-18a5626cda7b 2024-10-21 02:32:53,198 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/95855b22-fd56-4ed9-a7e0-18a5626cda7b 2024-10-21 02:32:53,243 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/70f2bc4a-21f7-4237-8b87-a9b71a08353b 2024-10-21 02:32:56,532 - 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 1014ms') 2024-10-21 02:32:56,532 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91989694-28075555 failed! 2024-10-21 02:32:56,596 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-91989694:ctest-vn-15161330 is 126.248.35.129 and allocation pool is NOT set 2024-10-21 02:32:58,664 - 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=3.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.643 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.643/2.158/3.674/1.515 ms') 2024-10-21 02:32:58,664 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91989694-28075555 passed 2024-10-21 02:32:58,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-21 02:32:58,849 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91989694-28075555, IP 126.248.35.131, Port 22 2024-10-21 02:32:59,015 - DEBUG - VM ctest-TestBasicVMVNx-91989694-28075555 is ready for SSH connections 2024-10-21 02:32:59,015 - INFO - Waiting for VM ctest-TestBasicVMVNx-91989694-25238565 to be up.. 2024-10-21 02:32:59,147 - DEBUG - VM is in ACTIVE state now 2024-10-21 02:32:59,147 - INFO - VM name : ctest-TestBasicVMVNx-91989694-25238565 2024-10-21 02:32:59,245 - DEBUG - VM ctest-TestBasicVMVNx-91989694-25238565 ID is e212d133-ffbb-4fe9-8da1-0e5d08b741f9 2024-10-21 02:32:59,246 - DEBUG - VM ctest-TestBasicVMVNx-91989694-25238565 launched on Node cn-jenkins-deploy-platform-ansible-os-2121-1 2024-10-21 02:32:59,337 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/e212d133-ffbb-4fe9-8da1-0e5d08b741f9 2024-10-21 02:32:59,350 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/6b257db7-f330-4b3d-ae30-80caf59262f7 2024-10-21 02:33:00,608 - 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=3.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.459/1.957/3.455/1.498 ms') 2024-10-21 02:33:00,608 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-91989694-25238565 passed 2024-10-21 02:33:00,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-21 02:33:00,769 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91989694-25238565, IP 126.248.35.132, Port 22 2024-10-21 02:33:00,938 - DEBUG - VM ctest-TestBasicVMVNx-91989694-25238565 is ready for SSH connections 2024-10-21 02:33:00,938 - DEBUG - FILE SIZE = 1303B 2024-10-21 02:33:00,938 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-91989694-28075555 to ctest-TestBasicVMVNx-91989694-25238565 using scp 2024-10-21 02:33:00,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-21 02:33:00,947 - 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.32, gateway password: c0ntrail123 2024-10-21 02:33:00,947 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-21 02:33:02,965 - DEBUG - 1+0 records in 1+0 records out 2024-10-21 02:33:03,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-21 02:33:04,237 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-10-21 02:33:04,238 - DEBUG - ls -l testfile 2024-10-21 02:33:05,860 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 20 20:33 testfile 2024-10-21 02:33:05,860 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-91989694-25238565 2024-10-21 02:33:05,861 - INFO - Deleting VM ctest-TestBasicVMVNx-91989694-25238565 2024-10-21 02:33:05,959 - INFO - Deleting VM ctest-TestBasicVMVNx-91989694-28075555 2024-10-21 02:33:06,051 - INFO - Deleting VN ctest-vn-15161330 2024-10-21 02:33:06,106 - DEBUG - VN 0c3b4bee-292f-47f6-9522-840ea412ab00 still in use: Unable to complete operation on network 0c3b4bee-292f-47f6-9522-840ea412ab00. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ff311274-ac5b-40db-9f4a-e5a4903d084e'] 2024-10-21 02:33:06,106 - WARNING - Deleting VN ctest-vn-15161330 failed..Will retry 2024-10-21 02:33:08,247 - DEBUG - Response for deleting network () 2024-10-21 02:33:08,520 - DEBUG - No XMPP flaps were noticed during the test 2024-10-21 02:33:08,520 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-10-21 02:33:08,520 - INFO - -------------------------------------------------------------------------------- 2024-10-21 02:33:09,364 - INFO - Deleted project: ctest-TestBasicVMVNx-91989694, ID : 2b4fc361-1a0b-463e-b99a-cbac8279b7de