2025-10-06 22:52:39,881 - INFO - Domain Default found not creating 2025-10-06 22:52:40,019 - INFO - Project ctest-TestBasicVMVNx-54252591 not found, creating it 2025-10-06 22:52:40,457 - INFO - Created Project:ctest-TestBasicVMVNx-54252591, ID : 5c08cf01-97a1-462e-8669-76641f8ee1f0 2025-10-06 22:52:41,930 - INFO - ================================================================================ 2025-10-06 22:52:41,930 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-10-06 22:52:41,930 - 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-10-06 22:52:42,183 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-06 22:52:42,184 - INFO - Initial checks done. Running the testcase now 2025-10-06 22:52:42,184 - INFO - 2025-10-06 22:52:42,703 - DEBUG - Response for create_network : {'network': {'id': '6c48dbfd-7f2f-40a9-a9ff-1c66d713ed0b', 'name': 'ctest-vn-75424328', 'tenant_id': '5c08cf0197a1462e866976641f8ee1f0', 'project_id': '5c08cf0197a1462e866976641f8ee1f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-54252591', 'ctest-vn-75424328'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 22:52:42,866 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c13ce23-f6f7-4960-984d-ebe0a6067851', 'name': '', 'tenant_id': '5c08cf0197a1462e866976641f8ee1f0', 'network_id': '6c48dbfd-7f2f-40a9-a9ff-1c66d713ed0b', 'ip_version': 4, 'cidr': '119.92.198.0/26', 'allocation_pools': [{'start': '119.92.198.2', 'end': '119.92.198.62'}], 'gateway_ip': '119.92.198.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.92.198.2', 'tags': [], 'project_id': '5c08cf0197a1462e866976641f8ee1f0'}} 2025-10-06 22:52:42,885 - INFO - Created VN ctest-vn-75424328 2025-10-06 22:52:42,935 - DEBUG - VN ctest-vn-75424328 UUID is 6c48dbfd-7f2f-40a9-a9ff-1c66d713ed0b 2025-10-06 22:52:43,104 - DEBUG - Services list from nova: [, , ] 2025-10-06 22:52:44,117 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4228-1) 2025-10-06 22:52:45,214 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4228-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4228-1) 2025-10-06 22:52:45,215 - INFO - Waiting for VM ctest-TestBasicVMVNx-54252591-52372938 to be up.. 2025-10-06 22:52:45,284 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 22:52:50,354 - DEBUG - VM is in ACTIVE state now 2025-10-06 22:52:50,354 - INFO - VM name : ctest-TestBasicVMVNx-54252591-52372938 2025-10-06 22:52:50,421 - DEBUG - VM ctest-TestBasicVMVNx-54252591-52372938 ID is 1eec15df-1c2b-446e-bbcb-7a888096b5ba 2025-10-06 22:52:50,439 - DEBUG - VM ctest-TestBasicVMVNx-54252591-52372938 launched on Node cn-jenkins-deploy-platform-ansible-os-4228-1 2025-10-06 22:52:50,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1eec15df-1c2b-446e-bbcb-7a888096b5ba 2025-10-06 22:52:50,799 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1eec15df-1c2b-446e-bbcb-7a888096b5ba 2025-10-06 22:52:50,828 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8909d225-b076-4ce2-936e-95ac187ed1cd 2025-10-06 22:52:54,072 - 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 1011ms') 2025-10-06 22:52:54,072 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54252591-52372938 failed! 2025-10-06 22:52:54,143 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-54252591:ctest-vn-75424328 is 119.92.198.1 and allocation pool is NOT set 2025-10-06 22:52:56,208 - 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=7.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.877 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.877/4.219/7.562/3.342 ms') 2025-10-06 22:52:56,209 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-54252591-52372938 passed 2025-10-06 22:52:56,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:52:56,355 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54252591-52372938, IP 119.92.198.3, Port 22 2025-10-06 22:52:56,518 - DEBUG - VM ctest-TestBasicVMVNx-54252591-52372938 is ready for SSH connections 2025-10-06 22:52:56,518 - INFO - Waiting for VM ctest-TestBasicVMVNx-54252591-81798538 to be up.. 2025-10-06 22:52:56,588 - DEBUG - VM is in ACTIVE state now 2025-10-06 22:52:56,588 - INFO - VM name : ctest-TestBasicVMVNx-54252591-81798538 2025-10-06 22:52:56,656 - DEBUG - VM ctest-TestBasicVMVNx-54252591-81798538 ID is 04eb5a2e-4c94-4a10-ad46-8984cc548141 2025-10-06 22:52:56,656 - DEBUG - VM ctest-TestBasicVMVNx-54252591-81798538 launched on Node cn-jenkins-deploy-platform-ansible-os-4228-1 2025-10-06 22:52:56,721 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/04eb5a2e-4c94-4a10-ad46-8984cc548141 2025-10-06 22:52:56,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/49d8c337-6df2-4508-99d4-a9492af98fa7 2025-10-06 22:52:57,957 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.518 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.518/1.884/3.250/1.366 ms') 2025-10-06 22:52:57,957 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-54252591-81798538 passed 2025-10-06 22:52:58,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:52:58,103 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-54252591-81798538, IP 119.92.198.4, Port 22 2025-10-06 22:52:58,263 - DEBUG - VM ctest-TestBasicVMVNx-54252591-81798538 is ready for SSH connections 2025-10-06 22:52:58,263 - DEBUG - FILE SIZE = 1303B 2025-10-06 22:52:58,263 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-54252591-52372938 to ctest-TestBasicVMVNx-54252591-81798538 using scp 2025-10-06 22:52:58,265 - 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.38, gateway password: c0ntrail123 2025-10-06 22:52:58,265 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-10-06 22:53:00,193 - DEBUG - 1+0 records in 1+0 records out 2025-10-06 22:53:01,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 22:53:01,353 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-06 22:53:01,353 - DEBUG - ls -l testfile 2025-10-06 22:53:02,958 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 6 16:53 testfile 2025-10-06 22:53:02,958 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-54252591-81798538 2025-10-06 22:53:02,959 - INFO - Deleting VM ctest-TestBasicVMVNx-54252591-81798538 2025-10-06 22:53:03,041 - INFO - Deleting VM ctest-TestBasicVMVNx-54252591-52372938 2025-10-06 22:53:03,106 - INFO - Deleting VN ctest-vn-75424328 2025-10-06 22:53:03,144 - DEBUG - VN 6c48dbfd-7f2f-40a9-a9ff-1c66d713ed0b still in use: Unable to complete operation on network 6c48dbfd-7f2f-40a9-a9ff-1c66d713ed0b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-75ff85b6-d49d-4da2-a175-b98f60ccf98e'] 2025-10-06 22:53:03,144 - WARNING - Deleting VN ctest-vn-75424328 failed..Will retry 2025-10-06 22:53:05,242 - DEBUG - Response for deleting network () 2025-10-06 22:53:05,497 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 22:53:05,497 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-10-06 22:53:05,497 - INFO - -------------------------------------------------------------------------------- 2025-10-06 22:53:06,154 - INFO - Deleted project: ctest-TestBasicVMVNx-54252591, ID : 5c08cf01-97a1-462e-8669-76641f8ee1f0