2025-07-03 02:17:00,982 - INFO - Domain Default found not creating 2025-07-03 02:17:01,130 - INFO - Project ctest-TestBasicVMVNx-56012786 not found, creating it 2025-07-03 02:17:01,583 - INFO - Created Project:ctest-TestBasicVMVNx-56012786, ID : e54c16e6-0551-412d-b3ef-dfb8370f3a2f 2025-07-03 02:17:03,008 - INFO - ================================================================================ 2025-07-03 02:17:03,008 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-03 02:17:03,008 - 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-07-03 02:17:03,268 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-07-03 02:17:03,268 - INFO - Initial checks done. Running the testcase now 2025-07-03 02:17:03,268 - INFO - 2025-07-03 02:17:03,813 - DEBUG - Response for create_network : {'network': {'id': 'bcd292d5-a329-41fd-a989-7745ea980b7f', 'name': 'ctest-vn-66391031', 'tenant_id': 'e54c16e60551412db3efdfb8370f3a2f', 'project_id': 'e54c16e60551412db3efdfb8370f3a2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-56012786', 'ctest-vn-66391031'], 'port_security_enabled': True, 'description': ''}} 2025-07-03 02:17:04,027 - DEBUG - Response for create_subnet : {'subnet': {'id': '49235c91-27f1-4dad-a450-bfa3b4281b67', 'name': '', 'tenant_id': 'e54c16e60551412db3efdfb8370f3a2f', 'network_id': 'bcd292d5-a329-41fd-a989-7745ea980b7f', 'ip_version': 4, 'cidr': '40.134.228.128/26', 'allocation_pools': [{'start': '40.134.228.130', 'end': '40.134.228.190'}], 'gateway_ip': '40.134.228.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.134.228.130', 'tags': [], 'project_id': 'e54c16e60551412db3efdfb8370f3a2f'}} 2025-07-03 02:17:04,045 - INFO - Created VN ctest-vn-66391031 2025-07-03 02:17:04,097 - DEBUG - VN ctest-vn-66391031 UUID is bcd292d5-a329-41fd-a989-7745ea980b7f 2025-07-03 02:17:04,256 - DEBUG - Services list from nova: [, , ] 2025-07-03 02:17:05,257 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3593-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3593-1) 2025-07-03 02:17:06,398 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3593-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3593-1) 2025-07-03 02:17:06,399 - INFO - Waiting for VM ctest-TestBasicVMVNx-56012786-31120331 to be up.. 2025-07-03 02:17:06,494 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-03 02:17:11,584 - DEBUG - VM is in ACTIVE state now 2025-07-03 02:17:11,584 - INFO - VM name : ctest-TestBasicVMVNx-56012786-31120331 2025-07-03 02:17:11,661 - DEBUG - VM ctest-TestBasicVMVNx-56012786-31120331 ID is 3709886b-06f1-4357-939d-8960f50ed033 2025-07-03 02:17:11,681 - DEBUG - VM ctest-TestBasicVMVNx-56012786-31120331 launched on Node cn-jenkins-deploy-platform-ansible-os-3593-1 2025-07-03 02:17:11,757 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3709886b-06f1-4357-939d-8960f50ed033 2025-07-03 02:17:12,048 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3709886b-06f1-4357-939d-8960f50ed033 2025-07-03 02:17:12,077 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0dacaf76-1fc1-4a11-b563-72a05d9c8125 2025-07-03 02:17:15,337 - 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 1026ms') 2025-07-03 02:17:15,337 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56012786-31120331 failed! 2025-07-03 02:17:15,393 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56012786:ctest-vn-66391031 is 40.134.228.129 and allocation pool is NOT set 2025-07-03 02:17:17,455 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.383 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.383/1.666/2.949/1.283 ms') 2025-07-03 02:17:17,455 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56012786-31120331 passed 2025-07-03 02:17:17,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:17:17,605 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56012786-31120331, IP 40.134.228.131, Port 22 2025-07-03 02:17:17,760 - DEBUG - VM ctest-TestBasicVMVNx-56012786-31120331 is ready for SSH connections 2025-07-03 02:17:17,760 - INFO - Waiting for VM ctest-TestBasicVMVNx-56012786-74207236 to be up.. 2025-07-03 02:17:17,840 - DEBUG - VM is in ACTIVE state now 2025-07-03 02:17:17,840 - INFO - VM name : ctest-TestBasicVMVNx-56012786-74207236 2025-07-03 02:17:17,913 - DEBUG - VM ctest-TestBasicVMVNx-56012786-74207236 ID is 439423f1-fa67-40e0-b388-e68184c3c39b 2025-07-03 02:17:17,913 - DEBUG - VM ctest-TestBasicVMVNx-56012786-74207236 launched on Node cn-jenkins-deploy-platform-ansible-os-3593-1 2025-07-03 02:17:17,991 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/439423f1-fa67-40e0-b388-e68184c3c39b 2025-07-03 02:17:18,000 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0a59fdfb-b61b-4aa3-baf5-d9706010f48a 2025-07-03 02:17:19,242 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 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.401/1.660/2.920/1.259 ms') 2025-07-03 02:17:19,242 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56012786-74207236 passed 2025-07-03 02:17:19,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:17:19,401 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56012786-74207236, IP 40.134.228.132, Port 22 2025-07-03 02:17:19,556 - DEBUG - VM ctest-TestBasicVMVNx-56012786-74207236 is ready for SSH connections 2025-07-03 02:17:19,556 - DEBUG - FILE SIZE = 1303B 2025-07-03 02:17:19,556 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-56012786-31120331 to ctest-TestBasicVMVNx-56012786-74207236 using scp 2025-07-03 02:17:19,557 - 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.33, gateway password: c0ntrail123 2025-07-03 02:17:19,557 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-03 02:17:21,480 - DEBUG - 1+0 records in 1+0 records out 2025-07-03 02:17:22,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-03 02:17:22,392 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-07-03 02:17:22,392 - DEBUG - ls -l testfile 2025-07-03 02:17:23,971 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 2 20:17 testfile 2025-07-03 02:17:23,971 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-56012786-74207236 2025-07-03 02:17:23,972 - INFO - Deleting VM ctest-TestBasicVMVNx-56012786-74207236 2025-07-03 02:17:24,043 - INFO - Deleting VM ctest-TestBasicVMVNx-56012786-31120331 2025-07-03 02:17:24,107 - INFO - Deleting VN ctest-vn-66391031 2025-07-03 02:17:24,143 - DEBUG - VN bcd292d5-a329-41fd-a989-7745ea980b7f still in use: Unable to complete operation on network bcd292d5-a329-41fd-a989-7745ea980b7f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aa73814b-fc94-4971-9479-c47826d4512a'] 2025-07-03 02:17:24,143 - WARNING - Deleting VN ctest-vn-66391031 failed..Will retry 2025-07-03 02:17:26,258 - DEBUG - Response for deleting network () 2025-07-03 02:17:26,515 - DEBUG - No XMPP flaps were noticed during the test
2025-07-03 02:17:26,515 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-07-03 02:17:26,515 - INFO - -------------------------------------------------------------------------------- 2025-07-03 02:17:27,189 - INFO - Deleted project: ctest-TestBasicVMVNx-56012786, ID : e54c16e6-0551-412d-b3ef-dfb8370f3a2f