2025-04-28 02:09:21,422 - INFO - Domain Default found not creating 2025-04-28 02:09:21,546 - INFO - Project ctest-TestBasicVMVNx-49790136 not found, creating it 2025-04-28 02:09:22,019 - INFO - Created Project:ctest-TestBasicVMVNx-49790136, ID : ff39f351-8a39-4131-9d0b-73d56568339d 2025-04-28 02:09:23,366 - INFO - ================================================================================ 2025-04-28 02:09:23,366 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-28 02:09:23,367 - 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-28 02:09:23,621 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.209': '0'}} with 2025-04-28 02:09:23,621 - INFO - Initial checks done. Running the testcase now 2025-04-28 02:09:23,621 - INFO - 2025-04-28 02:09:24,166 - DEBUG - Response for create_network : {'network': {'id': '9828ad91-125f-47a7-a4ee-866272f137d9', 'name': 'ctest-vn-29001353', 'tenant_id': 'ff39f3518a3941319d0b73d56568339d', 'project_id': 'ff39f3518a3941319d0b73d56568339d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-49790136', 'ctest-vn-29001353'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 02:09:24,377 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e878c6ab-a937-453d-a07e-a2f992b59b73', 'name': '', 'tenant_id': 'ff39f3518a3941319d0b73d56568339d', 'network_id': '9828ad91-125f-47a7-a4ee-866272f137d9', 'ip_version': 4, 'cidr': '48.162.165.128/26', 'allocation_pools': [{'start': '48.162.165.130', 'end': '48.162.165.190'}], 'gateway_ip': '48.162.165.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.162.165.130', 'tags': [], 'project_id': 'ff39f3518a3941319d0b73d56568339d'}} 2025-04-28 02:09:24,395 - INFO - Created VN ctest-vn-29001353 2025-04-28 02:09:24,446 - DEBUG - VN ctest-vn-29001353 UUID is 9828ad91-125f-47a7-a4ee-866272f137d9 2025-04-28 02:09:24,645 - DEBUG - Services list from nova: [, , ] 2025-04-28 02:09:25,600 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3232-1) 2025-04-28 02:09:26,702 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3232-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3232-1) 2025-04-28 02:09:26,702 - INFO - Waiting for VM ctest-TestBasicVMVNx-49790136-25406645 to be up.. 2025-04-28 02:09:26,770 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 02:09:31,841 - DEBUG - VM is in ACTIVE state now 2025-04-28 02:09:31,841 - INFO - VM name : ctest-TestBasicVMVNx-49790136-25406645 2025-04-28 02:09:31,915 - DEBUG - VM ctest-TestBasicVMVNx-49790136-25406645 ID is ae780b63-80d2-43ef-8b63-ef65dc02c5e5 2025-04-28 02:09:31,935 - DEBUG - VM ctest-TestBasicVMVNx-49790136-25406645 launched on Node cn-jenkins-deploy-platform-ansible-os-3232-1 2025-04-28 02:09:32,002 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ae780b63-80d2-43ef-8b63-ef65dc02c5e5 2025-04-28 02:09:32,295 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ae780b63-80d2-43ef-8b63-ef65dc02c5e5 2025-04-28 02:09:32,324 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/dbe081f7-e8fb-4fe7-8036-c65be3cd1f06 2025-04-28 02:09:35,566 - 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 1012ms') 2025-04-28 02:09:35,566 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-49790136-25406645 failed! 2025-04-28 02:09:35,621 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-49790136:ctest-vn-29001353 is 48.162.165.129 and allocation pool is NOT set 2025-04-28 02:09:37,686 - 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=2.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.363 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.363/1.512/2.662/1.149 ms') 2025-04-28 02:09:37,686 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-49790136-25406645 passed 2025-04-28 02:09:37,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:09:37,846 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49790136-25406645, IP 48.162.165.131, Port 22 2025-04-28 02:09:38,005 - DEBUG - VM ctest-TestBasicVMVNx-49790136-25406645 is ready for SSH connections 2025-04-28 02:09:38,005 - INFO - Waiting for VM ctest-TestBasicVMVNx-49790136-39301746 to be up.. 2025-04-28 02:09:38,076 - DEBUG - VM is in ACTIVE state now 2025-04-28 02:09:38,076 - INFO - VM name : ctest-TestBasicVMVNx-49790136-39301746 2025-04-28 02:09:38,144 - DEBUG - VM ctest-TestBasicVMVNx-49790136-39301746 ID is df6a3282-8b91-4487-aafe-0b2e2fc2a5e7 2025-04-28 02:09:38,144 - DEBUG - VM ctest-TestBasicVMVNx-49790136-39301746 launched on Node cn-jenkins-deploy-platform-ansible-os-3232-1 2025-04-28 02:09:38,212 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/df6a3282-8b91-4487-aafe-0b2e2fc2a5e7 2025-04-28 02:09:38,219 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8db6e0bc-ff1d-4f87-bde5-ef27d361b75f 2025-04-28 02:09:39,447 - 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=2.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.325 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.325/1.482/2.639/1.157 ms') 2025-04-28 02:09:39,448 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-49790136-39301746 passed 2025-04-28 02:09:39,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:09:39,605 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-49790136-39301746, IP 48.162.165.132, Port 22 2025-04-28 02:09:39,756 - DEBUG - VM ctest-TestBasicVMVNx-49790136-39301746 is ready for SSH connections 2025-04-28 02:09:39,757 - DEBUG - FILE SIZE = 1303B 2025-04-28 02:09:39,757 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-49790136-25406645 to ctest-TestBasicVMVNx-49790136-39301746 using scp 2025-04-28 02:09:39,757 - 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.50, gateway password: c0ntrail123 2025-04-28 02:09:39,757 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-28 02:09:41,590 - DEBUG - 1+0 records in 1+0 records out 2025-04-28 02:09:42,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 02:09:42,484 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-28 02:09:42,484 - DEBUG - ls -l testfile 2025-04-28 02:09:44,060 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 27 20:09 testfile 2025-04-28 02:09:44,060 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-49790136-39301746 2025-04-28 02:09:44,060 - INFO - Deleting VM ctest-TestBasicVMVNx-49790136-39301746 2025-04-28 02:09:44,124 - INFO - Deleting VM ctest-TestBasicVMVNx-49790136-25406645 2025-04-28 02:09:44,186 - INFO - Deleting VN ctest-vn-29001353 2025-04-28 02:09:44,221 - DEBUG - VN 9828ad91-125f-47a7-a4ee-866272f137d9 still in use: Unable to complete operation on network 9828ad91-125f-47a7-a4ee-866272f137d9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e504a3bd-7346-4f0c-a8f7-ae2a7262bf7f'] 2025-04-28 02:09:44,221 - WARNING - Deleting VN ctest-vn-29001353 failed..Will retry 2025-04-28 02:09:46,324 - DEBUG - Response for deleting network () 2025-04-28 02:09:46,582 - DEBUG - No XMPP flaps were noticed during the test 2025-04-28 02:09:46,582 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-04-28 02:09:46,582 - INFO - -------------------------------------------------------------------------------- 2025-04-28 02:09:47,232 - INFO - Deleted project: ctest-TestBasicVMVNx-49790136, ID : ff39f351-8a39-4131-9d0b-73d56568339d