2024-09-05 02:34:56,529 - INFO - Domain Default found not creating 2024-09-05 02:34:56,674 - INFO - Project ctest-TestBasicVMVNx-51695280 not found, creating it 2024-09-05 02:34:57,120 - INFO - Created Project:ctest-TestBasicVMVNx-51695280, ID : 9317e78d-cf79-4162-920c-f869593799d2 2024-09-05 02:34:58,555 - INFO - ================================================================================ 2024-09-05 02:34:58,556 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-05 02:34:58,556 - 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-05 02:34:58,809 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.5': '0'}} with 2024-09-05 02:34:58,809 - INFO - Initial checks done. Running the testcase now 2024-09-05 02:34:58,810 - INFO - 2024-09-05 02:34:59,360 - DEBUG - Response for create_network : {'network': {'id': '67009b77-52ff-47d5-b6fc-19a41c07026d', 'name': 'ctest-vn-16731809', 'tenant_id': '9317e78dcf794162920cf869593799d2', 'project_id': '9317e78dcf794162920cf869593799d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-51695280', 'ctest-vn-16731809'], 'port_security_enabled': True, 'description': ''}} 2024-09-05 02:34:59,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d515218-e78d-4fb8-aca4-beb289dc6643', 'name': '', 'tenant_id': '9317e78dcf794162920cf869593799d2', 'network_id': '67009b77-52ff-47d5-b6fc-19a41c07026d', 'ip_version': 4, 'cidr': '117.203.161.64/26', 'allocation_pools': [{'start': '117.203.161.66', 'end': '117.203.161.126'}], 'gateway_ip': '117.203.161.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.203.161.66', 'tags': [], 'project_id': '9317e78dcf794162920cf869593799d2'}} 2024-09-05 02:34:59,598 - INFO - Created VN ctest-vn-16731809 2024-09-05 02:34:59,651 - DEBUG - VN ctest-vn-16731809 UUID is 67009b77-52ff-47d5-b6fc-19a41c07026d 2024-09-05 02:34:59,810 - DEBUG - Services list from nova: [, , ] 2024-09-05 02:35:00,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1852-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1852-1) 2024-09-05 02:35:01,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1852-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1852-1) 2024-09-05 02:35:01,964 - INFO - Waiting for VM ctest-TestBasicVMVNx-51695280-02809042 to be up.. 2024-09-05 02:35:02,049 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-05 02:35:07,129 - DEBUG - VM is in ACTIVE state now 2024-09-05 02:35:07,129 - INFO - VM name : ctest-TestBasicVMVNx-51695280-02809042 2024-09-05 02:35:07,205 - DEBUG - VM ctest-TestBasicVMVNx-51695280-02809042 ID is 840f42f4-3d5e-4ffe-8eaa-14468b71e118 2024-09-05 02:35:07,223 - DEBUG - VM ctest-TestBasicVMVNx-51695280-02809042 launched on Node cn-jenkins-deploy-platform-ansible-os-1852-1 2024-09-05 02:35:07,294 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/840f42f4-3d5e-4ffe-8eaa-14468b71e118 2024-09-05 02:35:07,585 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/840f42f4-3d5e-4ffe-8eaa-14468b71e118 2024-09-05 02:35:07,618 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/98bb7f18-3276-478f-97a3-102e7eea7c74 2024-09-05 02:35:10,884 - 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 1031ms') 2024-09-05 02:35:10,884 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51695280-02809042 failed! 2024-09-05 02:35:10,935 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-51695280:ctest-vn-16731809 is 117.203.161.65 and allocation pool is NOT set 2024-09-05 02:35:12,997 - 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.439 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.439/1.551/2.663/1.112 ms') 2024-09-05 02:35:12,997 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-51695280-02809042 passed 2024-09-05 02:35:13,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 02:35:13,147 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51695280-02809042, IP 117.203.161.67, Port 22 2024-09-05 02:35:13,299 - DEBUG - VM ctest-TestBasicVMVNx-51695280-02809042 is ready for SSH connections 2024-09-05 02:35:13,299 - INFO - Waiting for VM ctest-TestBasicVMVNx-51695280-57358938 to be up.. 2024-09-05 02:35:13,374 - DEBUG - VM is in ACTIVE state now 2024-09-05 02:35:13,374 - INFO - VM name : ctest-TestBasicVMVNx-51695280-57358938 2024-09-05 02:35:13,446 - DEBUG - VM ctest-TestBasicVMVNx-51695280-57358938 ID is d356a6f5-e8aa-41c9-8434-d9622b0d7e22 2024-09-05 02:35:13,446 - DEBUG - VM ctest-TestBasicVMVNx-51695280-57358938 launched on Node cn-jenkins-deploy-platform-ansible-os-1852-1 2024-09-05 02:35:13,515 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/d356a6f5-e8aa-41c9-8434-d9622b0d7e22 2024-09-05 02:35:13,523 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/91dd37f6-78aa-4a13-a6f6-e0761f1aaeb7 2024-09-05 02:35:14,757 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.369 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.369/1.589/2.809/1.220 ms') 2024-09-05 02:35:14,757 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-51695280-57358938 passed 2024-09-05 02:35:14,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 02:35:14,907 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-51695280-57358938, IP 117.203.161.68, Port 22 2024-09-05 02:35:15,059 - DEBUG - VM ctest-TestBasicVMVNx-51695280-57358938 is ready for SSH connections 2024-09-05 02:35:15,059 - DEBUG - FILE SIZE = 1303B 2024-09-05 02:35:15,059 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-51695280-02809042 to ctest-TestBasicVMVNx-51695280-57358938 using scp 2024-09-05 02:35:15,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 02:35:15,064 - 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.32, gateway password: c0ntrail123 2024-09-05 02:35:15,064 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-05 02:35:16,921 - DEBUG - 1+0 records in 1+0 records out 2024-09-05 02:35:17,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 02:35:17,814 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-09-05 02:35:17,815 - DEBUG - ls -l testfile 2024-09-05 02:35:19,376 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 4 20:35 testfile 2024-09-05 02:35:19,377 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-51695280-57358938 2024-09-05 02:35:19,377 - INFO - Deleting VM ctest-TestBasicVMVNx-51695280-57358938 2024-09-05 02:35:19,440 - INFO - Deleting VM ctest-TestBasicVMVNx-51695280-02809042 2024-09-05 02:35:19,503 - INFO - Deleting VN ctest-vn-16731809 2024-09-05 02:35:19,544 - DEBUG - VN 67009b77-52ff-47d5-b6fc-19a41c07026d still in use: Unable to complete operation on network 67009b77-52ff-47d5-b6fc-19a41c07026d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eca70a97-aeda-4d06-8ef1-44325f7d7255'] 2024-09-05 02:35:19,544 - WARNING - Deleting VN ctest-vn-16731809 failed..Will retry 2024-09-05 02:35:21,646 - DEBUG - Response for deleting network () 2024-09-05 02:35:21,901 - DEBUG - No XMPP flaps were noticed during the test 2024-09-05 02:35:21,901 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2024-09-05 02:35:21,901 - INFO - -------------------------------------------------------------------------------- 2024-09-05 02:35:22,557 - INFO - Deleted project: ctest-TestBasicVMVNx-51695280, ID : 9317e78d-cf79-4162-920c-f869593799d2