2025-04-07 16:37:52,336 - INFO - Domain Default found not creating 2025-04-07 16:37:52,523 - INFO - Project ctest-TestBasicVMVNx-05464841 not found, creating it 2025-04-07 16:37:53,017 - INFO - Created Project:ctest-TestBasicVMVNx-05464841, ID : 77e69fa3-c2a9-421e-a28e-303dcfa36550 2025-04-07 16:37:54,589 - INFO - ================================================================================ 2025-04-07 16:37:54,589 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-07 16:37:54,589 - 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-07 16:37:54,849 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.10': '0'}} with 2025-04-07 16:37:54,849 - INFO - Initial checks done. Running the testcase now 2025-04-07 16:37:54,850 - INFO - 2025-04-07 16:37:55,515 - DEBUG - Response for create_network : {'network': {'id': '5824b2cf-191a-443e-a28e-ed11d4cd0ea9', 'name': 'ctest-vn-00377182', 'tenant_id': '77e69fa3c2a9421ea28e303dcfa36550', 'project_id': '77e69fa3c2a9421ea28e303dcfa36550', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-05464841', 'ctest-vn-00377182'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 16:37:55,724 - DEBUG - Response for create_subnet : {'subnet': {'id': '5167e524-4964-4b0f-8f4e-4dd58050e382', 'name': '', 'tenant_id': '77e69fa3c2a9421ea28e303dcfa36550', 'network_id': '5824b2cf-191a-443e-a28e-ed11d4cd0ea9', 'ip_version': 4, 'cidr': '37.104.37.128/26', 'allocation_pools': [{'start': '37.104.37.130', 'end': '37.104.37.190'}], 'gateway_ip': '37.104.37.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.104.37.130', 'tags': [], 'project_id': '77e69fa3c2a9421ea28e303dcfa36550'}} 2025-04-07 16:37:55,752 - INFO - Created VN ctest-vn-00377182 2025-04-07 16:37:55,809 - DEBUG - VN ctest-vn-00377182 UUID is 5824b2cf-191a-443e-a28e-ed11d4cd0ea9 2025-04-07 16:37:55,991 - DEBUG - Services list from nova: [, , ] 2025-04-07 16:37:57,090 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3047-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3047-1) 2025-04-07 16:37:58,436 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3047-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3047-1) 2025-04-07 16:37:58,437 - INFO - Waiting for VM ctest-TestBasicVMVNx-05464841-42972322 to be up.. 2025-04-07 16:37:58,527 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-07 16:38:03,646 - DEBUG - VM is in ACTIVE state now 2025-04-07 16:38:03,647 - INFO - VM name : ctest-TestBasicVMVNx-05464841-42972322 2025-04-07 16:38:03,766 - DEBUG - VM ctest-TestBasicVMVNx-05464841-42972322 ID is 400a5ef7-857c-4cf2-a7e8-280eb5e34637 2025-04-07 16:38:03,795 - DEBUG - VM ctest-TestBasicVMVNx-05464841-42972322 launched on Node cn-jenkins-deploy-platform-ansible-os-3047-1 2025-04-07 16:38:03,886 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/400a5ef7-857c-4cf2-a7e8-280eb5e34637 2025-04-07 16:38:04,195 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/400a5ef7-857c-4cf2-a7e8-280eb5e34637 2025-04-07 16:38:04,239 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bd5b50f7-619d-453d-9943-b2f01ac25f4e 2025-04-07 16:38:07,525 - 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 1022ms') 2025-04-07 16:38:07,526 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05464841-42972322 failed! 2025-04-07 16:38:07,581 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-05464841:ctest-vn-00377182 is 37.104.37.129 and allocation pool is NOT set 2025-04-07 16:38:09,646 - 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=3.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.481 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.481/1.954/3.427/1.473 ms') 2025-04-07 16:38:09,646 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05464841-42972322 passed 2025-04-07 16:38:09,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 16:38:09,805 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05464841-42972322, IP 37.104.37.131, Port 22 2025-04-07 16:38:09,973 - DEBUG - VM ctest-TestBasicVMVNx-05464841-42972322 is ready for SSH connections 2025-04-07 16:38:09,973 - INFO - Waiting for VM ctest-TestBasicVMVNx-05464841-13357825 to be up.. 2025-04-07 16:38:10,066 - DEBUG - VM is in ACTIVE state now 2025-04-07 16:38:10,066 - INFO - VM name : ctest-TestBasicVMVNx-05464841-13357825 2025-04-07 16:38:10,157 - DEBUG - VM ctest-TestBasicVMVNx-05464841-13357825 ID is 8cba5ad2-bf0e-427e-98f5-a9fdfa243b95 2025-04-07 16:38:10,157 - DEBUG - VM ctest-TestBasicVMVNx-05464841-13357825 launched on Node cn-jenkins-deploy-platform-ansible-os-3047-1 2025-04-07 16:38:10,247 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8cba5ad2-bf0e-427e-98f5-a9fdfa243b95 2025-04-07 16:38:10,258 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/08d0d72a-ae3c-43b8-92f0-f765fe8a0553 2025-04-07 16:38:11,515 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.691 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.691/2.064/3.438/1.373 ms') 2025-04-07 16:38:11,515 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-05464841-13357825 passed 2025-04-07 16:38:11,669 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 16:38:11,669 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05464841-13357825, IP 37.104.37.132, Port 22 2025-04-07 16:38:11,830 - DEBUG - VM ctest-TestBasicVMVNx-05464841-13357825 is ready for SSH connections 2025-04-07 16:38:11,831 - DEBUG - FILE SIZE = 1303B 2025-04-07 16:38:11,831 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-05464841-42972322 to ctest-TestBasicVMVNx-05464841-13357825 using scp 2025-04-07 16:38:11,831 - 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-07 16:38:11,832 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-07 16:38:13,837 - DEBUG - 1+0 records in 1+0 records out 2025-04-07 16:38:14,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 16:38:15,012 - 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-07 16:38:15,013 - DEBUG - ls -l testfile 2025-04-07 16:38:16,627 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 7 10:38 testfile 2025-04-07 16:38:16,627 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-05464841-13357825 2025-04-07 16:38:16,628 - INFO - Deleting VM ctest-TestBasicVMVNx-05464841-13357825 2025-04-07 16:38:16,708 - INFO - Deleting VM ctest-TestBasicVMVNx-05464841-42972322 2025-04-07 16:38:16,794 - INFO - Deleting VN ctest-vn-00377182 2025-04-07 16:38:16,840 - DEBUG - VN 5824b2cf-191a-443e-a28e-ed11d4cd0ea9 still in use: Unable to complete operation on network 5824b2cf-191a-443e-a28e-ed11d4cd0ea9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f147ce45-7948-49a2-ad62-9ece015f69bf'] 2025-04-07 16:38:16,840 - WARNING - Deleting VN ctest-vn-00377182 failed..Will retry 2025-04-07 16:38:18,975 - DEBUG - Response for deleting network () 2025-04-07 16:38:19,240 - DEBUG - No XMPP flaps were noticed during the test
2025-04-07 16:38:19,240 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2025-04-07 16:38:19,240 - INFO - -------------------------------------------------------------------------------- 2025-04-07 16:38:19,956 - INFO - Deleted project: ctest-TestBasicVMVNx-05464841, ID : 77e69fa3-c2a9-421e-a28e-303dcfa36550