2024-11-06 18:02:02,846 - INFO - Domain Default found not creating 2024-11-06 18:02:03,034 - INFO - Project ctest-TestBasicVMVNx-62069680 not found, creating it 2024-11-06 18:02:03,534 - INFO - Created Project:ctest-TestBasicVMVNx-62069680, ID : 906512e2-2d21-4dae-aa49-76305a2408fb 2024-11-06 18:02:05,116 - INFO - ================================================================================ 2024-11-06 18:02:05,116 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-06 18:02:05,116 - 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-11-06 18:02:05,376 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.6': '0'}} with 2024-11-06 18:02:05,376 - INFO - Initial checks done. Running the testcase now 2024-11-06 18:02:05,376 - INFO - 2024-11-06 18:02:05,962 - DEBUG - Response for create_network : {'network': {'id': 'b9a51f20-9d52-4779-8425-f448b6e14f4b', 'name': 'ctest-vn-22379665', 'tenant_id': '906512e22d214daeaa4976305a2408fb', 'project_id': '906512e22d214daeaa4976305a2408fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-62069680', 'ctest-vn-22379665'], 'port_security_enabled': True, 'description': ''}} 2024-11-06 18:02:06,130 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef37e3b4-66bc-4226-b4da-6747e0e4d5d1', 'name': '', 'tenant_id': '906512e22d214daeaa4976305a2408fb', 'network_id': 'b9a51f20-9d52-4779-8425-f448b6e14f4b', 'ip_version': 4, 'cidr': '105.181.211.128/26', 'allocation_pools': [{'start': '105.181.211.130', 'end': '105.181.211.190'}], 'gateway_ip': '105.181.211.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.181.211.130', 'tags': [], 'project_id': '906512e22d214daeaa4976305a2408fb'}} 2024-11-06 18:02:06,149 - INFO - Created VN ctest-vn-22379665 2024-11-06 18:02:06,207 - DEBUG - VN ctest-vn-22379665 UUID is b9a51f20-9d52-4779-8425-f448b6e14f4b 2024-11-06 18:02:06,394 - DEBUG - Services list from nova: [, , ] 2024-11-06 18:02:07,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2203-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2203-1) 2024-11-06 18:02:08,701 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2203-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2203-1) 2024-11-06 18:02:08,701 - INFO - Waiting for VM ctest-TestBasicVMVNx-62069680-20837552 to be up.. 2024-11-06 18:02:08,813 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-06 18:02:13,908 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-06 18:02:19,011 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-06 18:02:24,099 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-06 18:02:29,220 - DEBUG - VM is in ACTIVE state now 2024-11-06 18:02:29,221 - INFO - VM name : ctest-TestBasicVMVNx-62069680-20837552 2024-11-06 18:02:29,331 - DEBUG - VM ctest-TestBasicVMVNx-62069680-20837552 ID is 8b9873bf-e32e-47d2-8c8d-12fd715197a7 2024-11-06 18:02:29,416 - DEBUG - VM ctest-TestBasicVMVNx-62069680-20837552 launched on Node cn-jenkins-deploy-platform-ansible-os-2203-1 2024-11-06 18:02:29,513 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/8b9873bf-e32e-47d2-8c8d-12fd715197a7 2024-11-06 18:02:29,827 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/8b9873bf-e32e-47d2-8c8d-12fd715197a7 2024-11-06 18:02:29,886 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/9be720b8-28f4-4392-bdd5-4e01560e2469 2024-11-06 18:02:33,158 - 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 1023ms') 2024-11-06 18:02:33,158 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62069680-20837552 failed! 2024-11-06 18:02:33,227 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-62069680:ctest-vn-22379665 is 105.181.211.129 and allocation pool is NOT set 2024-11-06 18:02:37,291 - 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 1003ms') 2024-11-06 18:02:37,291 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62069680-20837552 failed! 2024-11-06 18:02:37,351 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-62069680:ctest-vn-22379665 is 105.181.211.129 and allocation pool is NOT set 2024-11-06 18:02:39,406 - 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=5.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.459 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.459/2.956/5.453/2.497 ms') 2024-11-06 18:02:39,407 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62069680-20837552 passed 2024-11-06 18:02:39,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 18:02:39,563 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62069680-20837552, IP 105.181.211.131, Port 22 2024-11-06 18:02:39,722 - DEBUG - VM ctest-TestBasicVMVNx-62069680-20837552 is ready for SSH connections 2024-11-06 18:02:39,722 - INFO - Waiting for VM ctest-TestBasicVMVNx-62069680-07083661 to be up.. 2024-11-06 18:02:39,816 - DEBUG - VM is in ACTIVE state now 2024-11-06 18:02:39,816 - INFO - VM name : ctest-TestBasicVMVNx-62069680-07083661 2024-11-06 18:02:39,912 - DEBUG - VM ctest-TestBasicVMVNx-62069680-07083661 ID is dde2e674-bf7a-4017-86fc-0a76f8a45c82 2024-11-06 18:02:39,912 - DEBUG - VM ctest-TestBasicVMVNx-62069680-07083661 launched on Node cn-jenkins-deploy-platform-ansible-os-2203-1 2024-11-06 18:02:40,002 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/dde2e674-bf7a-4017-86fc-0a76f8a45c82 2024-11-06 18:02:40,019 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/afb6dbda-5806-4fac-9ea5-3a69feecdf15 2024-11-06 18:02:41,292 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.472 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.472/1.999/3.527/1.527 ms') 2024-11-06 18:02:41,292 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-62069680-07083661 passed 2024-11-06 18:02:41,459 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 18:02:41,459 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62069680-07083661, IP 105.181.211.132, Port 22 2024-11-06 18:02:41,625 - DEBUG - VM ctest-TestBasicVMVNx-62069680-07083661 is ready for SSH connections 2024-11-06 18:02:41,626 - DEBUG - FILE SIZE = 1303B 2024-11-06 18:02:41,626 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-62069680-20837552 to ctest-TestBasicVMVNx-62069680-07083661 using scp 2024-11-06 18:02:41,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 18:02:41,633 - 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.28, gateway password: c0ntrail123 2024-11-06 18:02:41,633 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-06 18:02:43,231 - DEBUG - 1+0 records in 1+0 records out 2024-11-06 18:02:44,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 18:02:44,374 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-11-06 18:02:44,375 - DEBUG - ls -l testfile 2024-11-06 18:02:45,972 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 6 11:02 testfile 2024-11-06 18:02:45,972 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-62069680-07083661 2024-11-06 18:02:45,973 - INFO - Deleting VM ctest-TestBasicVMVNx-62069680-07083661 2024-11-06 18:02:46,064 - INFO - Deleting VM ctest-TestBasicVMVNx-62069680-20837552 2024-11-06 18:02:46,136 - INFO - Deleting VN ctest-vn-22379665 2024-11-06 18:02:46,182 - DEBUG - VN b9a51f20-9d52-4779-8425-f448b6e14f4b still in use: Unable to complete operation on network b9a51f20-9d52-4779-8425-f448b6e14f4b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4b758cae-6f48-450b-a93d-8f308d07240d'] 2024-11-06 18:02:46,182 - WARNING - Deleting VN ctest-vn-22379665 failed..Will retry 2024-11-06 18:02:48,338 - DEBUG - Response for deleting network () 2024-11-06 18:02:48,597 - DEBUG - No XMPP flaps were noticed during the test 2024-11-06 18:02:48,597 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:43] 2024-11-06 18:02:48,598 - INFO - -------------------------------------------------------------------------------- 2024-11-06 18:02:49,356 - INFO - Deleted project: ctest-TestBasicVMVNx-62069680, ID : 906512e2-2d21-4dae-aa49-76305a2408fb