2025-01-08 14:30:56,737 - INFO - Domain Default found not creating 2025-01-08 14:30:56,887 - INFO - Project ctest-TestBasicVMVNx-09240738 not found, creating it 2025-01-08 14:30:57,360 - INFO - Created Project:ctest-TestBasicVMVNx-09240738, ID : ca5f789d-33d7-48bd-b118-25ce2360000b 2025-01-08 14:30:58,819 - INFO - ================================================================================ 2025-01-08 14:30:58,819 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-08 14:30:58,819 - 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-01-08 14:30:59,075 - DEBUG - Nothing to compare xmpp stats {'10.0.0.53': {'10.20.0.22': '0'}} with 2025-01-08 14:30:59,075 - INFO - Initial checks done. Running the testcase now 2025-01-08 14:30:59,076 - INFO - 2025-01-08 14:30:59,658 - DEBUG - Response for create_network : {'network': {'id': '9eee34ba-ee39-4305-99fe-a6c30ce23f0f', 'name': 'ctest-vn-91594638', 'tenant_id': 'ca5f789d33d748bdb11825ce2360000b', 'project_id': 'ca5f789d33d748bdb11825ce2360000b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-09240738', 'ctest-vn-91594638'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 14:30:59,856 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a88505dd-7914-452d-a41b-5a282931472f', 'name': '', 'tenant_id': 'ca5f789d33d748bdb11825ce2360000b', 'network_id': '9eee34ba-ee39-4305-99fe-a6c30ce23f0f', 'ip_version': 4, 'cidr': '186.229.212.128/26', 'allocation_pools': [{'start': '186.229.212.130', 'end': '186.229.212.190'}], 'gateway_ip': '186.229.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.229.212.130', 'tags': [], 'project_id': 'ca5f789d33d748bdb11825ce2360000b'}} 2025-01-08 14:30:59,874 - INFO - Created VN ctest-vn-91594638 2025-01-08 14:30:59,927 - DEBUG - VN ctest-vn-91594638 UUID is 9eee34ba-ee39-4305-99fe-a6c30ce23f0f 2025-01-08 14:31:00,090 - DEBUG - Services list from nova: [, , ] 2025-01-08 14:31:01,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2562-1) 2025-01-08 14:31:02,449 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2562-1) 2025-01-08 14:31:02,449 - INFO - Waiting for VM ctest-TestBasicVMVNx-09240738-00260882 to be up.. 2025-01-08 14:31:02,540 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-08 14:31:07,624 - DEBUG - VM is in ACTIVE state now 2025-01-08 14:31:07,624 - INFO - VM name : ctest-TestBasicVMVNx-09240738-00260882 2025-01-08 14:31:07,710 - DEBUG - VM ctest-TestBasicVMVNx-09240738-00260882 ID is 659ea16a-79a1-4bab-b884-1c8cf36708f0 2025-01-08 14:31:07,734 - DEBUG - VM ctest-TestBasicVMVNx-09240738-00260882 launched on Node cn-jenkins-deploy-platform-ansible-os-2562-1 2025-01-08 14:31:07,824 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/659ea16a-79a1-4bab-b884-1c8cf36708f0 2025-01-08 14:31:08,128 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/659ea16a-79a1-4bab-b884-1c8cf36708f0 2025-01-08 14:31:08,171 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/5d4904a5-96bf-48ef-8d91-97284e39a046 2025-01-08 14:31:11,453 - 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 1030ms') 2025-01-08 14:31:11,453 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09240738-00260882 failed! 2025-01-08 14:31:11,511 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-09240738:ctest-vn-91594638 is 186.229.212.129 and allocation pool is NOT set 2025-01-08 14:31:13,569 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 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.434/2.730/5.026/2.296 ms') 2025-01-08 14:31:13,569 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09240738-00260882 passed 2025-01-08 14:31:13,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 14:31:13,723 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09240738-00260882, IP 186.229.212.131, Port 22 2025-01-08 14:31:13,882 - DEBUG - VM ctest-TestBasicVMVNx-09240738-00260882 is ready for SSH connections 2025-01-08 14:31:13,882 - INFO - Waiting for VM ctest-TestBasicVMVNx-09240738-59793743 to be up.. 2025-01-08 14:31:13,953 - DEBUG - VM is in ACTIVE state now 2025-01-08 14:31:13,953 - INFO - VM name : ctest-TestBasicVMVNx-09240738-59793743 2025-01-08 14:31:14,025 - DEBUG - VM ctest-TestBasicVMVNx-09240738-59793743 ID is afb1b5ab-a673-4a3f-9c46-38ccacbbc203 2025-01-08 14:31:14,025 - DEBUG - VM ctest-TestBasicVMVNx-09240738-59793743 launched on Node cn-jenkins-deploy-platform-ansible-os-2562-1 2025-01-08 14:31:14,098 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/afb1b5ab-a673-4a3f-9c46-38ccacbbc203 2025-01-08 14:31:14,106 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/8539689e-40f6-4905-8ddf-1d36b2137a03 2025-01-08 14:31:15,342 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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 = 0.481/1.870/3.259/1.389 ms') 2025-01-08 14:31:15,342 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-09240738-59793743 passed 2025-01-08 14:31:15,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 14:31:15,499 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09240738-59793743, IP 186.229.212.132, Port 22 2025-01-08 14:31:15,675 - DEBUG - VM ctest-TestBasicVMVNx-09240738-59793743 is ready for SSH connections 2025-01-08 14:31:15,675 - DEBUG - FILE SIZE = 1303B 2025-01-08 14:31:15,675 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-09240738-00260882 to ctest-TestBasicVMVNx-09240738-59793743 using scp 2025-01-08 14:31:15,676 - 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.53, gateway password: c0ntrail123 2025-01-08 14:31:15,676 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-08 14:31:17,562 - DEBUG - 1+0 records in 1+0 records out 2025-01-08 14:31:18,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 14:31:18,653 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.53, gateway password: c0ntrail123 2025-01-08 14:31:18,653 - DEBUG - ls -l testfile 2025-01-08 14:31:20,260 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 8 07:31 testfile 2025-01-08 14:31:20,260 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-09240738-59793743 2025-01-08 14:31:20,261 - INFO - Deleting VM ctest-TestBasicVMVNx-09240738-59793743 2025-01-08 14:31:20,337 - INFO - Deleting VM ctest-TestBasicVMVNx-09240738-00260882 2025-01-08 14:31:20,409 - INFO - Deleting VN ctest-vn-91594638 2025-01-08 14:31:20,454 - DEBUG - VN 9eee34ba-ee39-4305-99fe-a6c30ce23f0f still in use: Unable to complete operation on network 9eee34ba-ee39-4305-99fe-a6c30ce23f0f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de171c8a-9381-47b9-b699-d3b283d0100f'] 2025-01-08 14:31:20,454 - WARNING - Deleting VN ctest-vn-91594638 failed..Will retry 2025-01-08 14:31:22,567 - DEBUG - Response for deleting network () 2025-01-08 14:31:22,822 - DEBUG - No XMPP flaps were noticed during the test 2025-01-08 14:31:22,822 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-01-08 14:31:22,822 - INFO - -------------------------------------------------------------------------------- 2025-01-08 14:31:23,516 - INFO - Deleted project: ctest-TestBasicVMVNx-09240738, ID : ca5f789d-33d7-48bd-b118-25ce2360000b