2024-09-19 02:27:15,284 - INFO - Reading existing Domain with UUID df30a39c-7ce1-425c-8d6f-05f52997b6ef 2024-09-19 02:27:15,297 - INFO - Using existing domain ['admin_domain'](df30a39c-7ce1-425c-8d6f-05f52997b6ef) 2024-09-19 02:27:15,476 - INFO - Project ctest-TestBasicVMVNx-71901411 not found, creating it 2024-09-19 02:27:16,054 - INFO - Created Project:ctest-TestBasicVMVNx-71901411, ID : 3e69e6e0-309e-44e2-b482-2a66146402c3 2024-09-19 02:27:17,711 - INFO - ================================================================================ 2024-09-19 02:27:17,711 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-19 02:27:17,711 - 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 2024-09-19 02:27:18,099 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.0.0.36': '0'}} with 2024-09-19 02:27:18,099 - INFO - Initial checks done. Running the testcase now 2024-09-19 02:27:18,099 - INFO - 2024-09-19 02:27:18,834 - DEBUG - Response for create_network : {'network': {'id': '4f5e3619-9729-48fd-b1a6-7717915a8f8f', 'name': 'ctest-vn-61045448', 'tenant_id': '3e69e6e0309e44e2b4822a66146402c3', 'project_id': '3e69e6e0309e44e2b4822a66146402c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-71901411', 'ctest-vn-61045448'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2024-09-19 02:27:19,046 - DEBUG - Response for create_subnet : {'subnet': {'id': '27b24655-b8d6-484c-904c-b276d648c4cc', 'name': '', 'tenant_id': '3e69e6e0309e44e2b4822a66146402c3', 'network_id': '4f5e3619-9729-48fd-b1a6-7717915a8f8f', 'ip_version': 4, 'cidr': '21.9.203.192/26', 'allocation_pools': [{'start': '21.9.203.194', 'end': '21.9.203.254'}], 'gateway_ip': '21.9.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2024-09-19T02:27:18.933665', 'updated_at': '2024-09-19T02:27:18.933665', 'dns_server_address': '21.9.203.194', 'tags': [], 'project_id': '3e69e6e0309e44e2b4822a66146402c3'}} 2024-09-19 02:27:19,112 - INFO - Created VN ctest-vn-61045448 2024-09-19 02:27:19,173 - DEBUG - VN ctest-vn-61045448 UUID is 4f5e3619-9729-48fd-b1a6-7717915a8f8f 2024-09-19 02:27:19,451 - DEBUG - Services list from nova: [, , ] 2024-09-19 02:27:20,699 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-428-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-428-1) 2024-09-19 02:27:22,144 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-428-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-428-1) 2024-09-19 02:27:22,144 - INFO - Waiting for VM ctest-TestBasicVMVNx-71901411-63013468 to be up.. 2024-09-19 02:27:22,296 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-19 02:27:27,433 - DEBUG - VM is in ACTIVE state now 2024-09-19 02:27:27,434 - INFO - VM name : ctest-TestBasicVMVNx-71901411-63013468 2024-09-19 02:27:27,565 - DEBUG - VM ctest-TestBasicVMVNx-71901411-63013468 ID is b3a4c8c6-a9e1-4c32-be4e-8ff4b70944e0 2024-09-19 02:27:27,703 - DEBUG - VM ctest-TestBasicVMVNx-71901411-63013468 launched on Node cn-jenkins-deploy-platform-juju-os-428-1 2024-09-19 02:27:27,842 - DEBUG - Requesting: https://10.0.0.36:8082/virtual-machine/b3a4c8c6-a9e1-4c32-be4e-8ff4b70944e0 2024-09-19 02:27:28,187 - DEBUG - Requesting: https://10.0.0.36:8082/virtual-machine/b3a4c8c6-a9e1-4c32-be4e-8ff4b70944e0 2024-09-19 02:27:28,274 - DEBUG - Requesting: https://10.0.0.36:8082/virtual-machine-interface/dd35a58e-2f06-4f3b-8e66-c10a2a8e10ae 2024-09-19 02:27:31,767 - 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 1024ms') 2024-09-19 02:27:31,767 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71901411-63013468 failed! 2024-09-19 02:27:31,838 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-71901411:ctest-vn-61045448 is 21.9.203.193 and allocation pool is NOT set 2024-09-19 02:27:33,932 - 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.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 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.409/3.175/5.941/2.766 ms') 2024-09-19 02:27:33,933 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71901411-63013468 passed 2024-09-19 02:27:34,097 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 02:27:34,097 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71901411-63013468, IP 21.9.203.195, Port 22 2024-09-19 02:27:34,316 - DEBUG - VM ctest-TestBasicVMVNx-71901411-63013468 is ready for SSH connections 2024-09-19 02:27:34,316 - INFO - Waiting for VM ctest-TestBasicVMVNx-71901411-90381518 to be up.. 2024-09-19 02:27:34,471 - DEBUG - VM is in ACTIVE state now 2024-09-19 02:27:34,471 - INFO - VM name : ctest-TestBasicVMVNx-71901411-90381518 2024-09-19 02:27:34,609 - DEBUG - VM ctest-TestBasicVMVNx-71901411-90381518 ID is 9e078a64-0d55-4120-805f-28083da96c30 2024-09-19 02:27:34,609 - DEBUG - VM ctest-TestBasicVMVNx-71901411-90381518 launched on Node cn-jenkins-deploy-platform-juju-os-428-1 2024-09-19 02:27:34,736 - DEBUG - Requesting: https://10.0.0.36:8082/virtual-machine/9e078a64-0d55-4120-805f-28083da96c30 2024-09-19 02:27:34,790 - DEBUG - Requesting: https://10.0.0.36:8082/virtual-machine-interface/70c3b64c-3b95-4aa8-85d6-30438f792233 2024-09-19 02:27:36,255 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.288 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.288/1.595/2.902/1.307 ms') 2024-09-19 02:27:36,255 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-71901411-90381518 passed 2024-09-19 02:27:36,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 02:27:36,422 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71901411-90381518, IP 21.9.203.196, Port 22 2024-09-19 02:27:36,632 - DEBUG - VM ctest-TestBasicVMVNx-71901411-90381518 is ready for SSH connections 2024-09-19 02:27:36,632 - DEBUG - FILE SIZE = 1303B 2024-09-19 02:27:36,632 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-71901411-63013468 to ctest-TestBasicVMVNx-71901411-90381518 using scp 2024-09-19 02:27:36,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 02:27:36,642 - 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.36, gateway password: c0ntrail123 2024-09-19 02:27:36,642 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-19 02:27:38,223 - DEBUG - 1+0 records in 1+0 records out 2024-09-19 02:27:38,838 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 02:27:39,164 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2024-09-19 02:27:39,164 - DEBUG - ls -l testfile 2024-09-19 02:27:40,739 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 18 20:27 testfile 2024-09-19 02:27:40,739 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-71901411-90381518 2024-09-19 02:27:40,739 - INFO - Deleting VM ctest-TestBasicVMVNx-71901411-90381518 2024-09-19 02:27:40,826 - INFO - Deleting VM ctest-TestBasicVMVNx-71901411-63013468 2024-09-19 02:27:40,917 - INFO - Deleting VN ctest-vn-61045448 2024-09-19 02:27:41,049 - DEBUG - VN 4f5e3619-9729-48fd-b1a6-7717915a8f8f still in use: Unable to complete operation on network 4f5e3619-9729-48fd-b1a6-7717915a8f8f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46b3c604-b22c-4782-a116-e6eefd5cefab'] 2024-09-19 02:27:41,049 - WARNING - Deleting VN ctest-vn-61045448 failed..Will retry 2024-09-19 02:27:43,206 - DEBUG - Response for deleting network () 2024-09-19 02:27:43,595 - DEBUG - No XMPP flaps were noticed during the test
2024-09-19 02:27:43,595 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:26]
2024-09-19 02:27:43,595 - INFO - -------------------------------------------------------------------------------- 2024-09-19 02:27:44,324 - INFO - Deleted project: ctest-TestBasicVMVNx-71901411, ID : 3e69e6e0-309e-44e2-b482-2a66146402c3