2024-08-27 04:55:37,688 - INFO - Domain Default found not creating 2024-08-27 04:55:37,839 - INFO - Project ctest-TestBasicVMVNx-29437568 not found, creating it 2024-08-27 04:55:38,300 - INFO - Created Project:ctest-TestBasicVMVNx-29437568, ID : efab02a3-ecac-4b40-b2ee-02274f3e1ffb 2024-08-27 04:55:39,783 - INFO - ================================================================================ 2024-08-27 04:55:39,783 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-27 04:55:39,783 - 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-08-27 04:55:40,044 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.19': '0'}} with 2024-08-27 04:55:40,044 - INFO - Initial checks done. Running the testcase now 2024-08-27 04:55:40,045 - INFO - 2024-08-27 04:55:40,619 - DEBUG - Response for create_network : {'network': {'id': '2ec7e4fc-c981-4699-a1ab-c58704bb1ed1', 'name': 'ctest-vn-91853279', 'tenant_id': 'efab02a3ecac4b40b2ee02274f3e1ffb', 'project_id': 'efab02a3ecac4b40b2ee02274f3e1ffb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-29437568', 'ctest-vn-91853279'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 04:55:40,769 - DEBUG - Response for create_subnet : {'subnet': {'id': '537aa1ca-95da-41fd-b6f9-8d491d82884e', 'name': '', 'tenant_id': 'efab02a3ecac4b40b2ee02274f3e1ffb', 'network_id': '2ec7e4fc-c981-4699-a1ab-c58704bb1ed1', 'ip_version': 4, 'cidr': '79.218.103.0/26', 'allocation_pools': [{'start': '79.218.103.2', 'end': '79.218.103.62'}], 'gateway_ip': '79.218.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.218.103.2', 'tags': [], 'project_id': 'efab02a3ecac4b40b2ee02274f3e1ffb'}} 2024-08-27 04:55:40,788 - INFO - Created VN ctest-vn-91853279 2024-08-27 04:55:40,837 - DEBUG - VN ctest-vn-91853279 UUID is 2ec7e4fc-c981-4699-a1ab-c58704bb1ed1 2024-08-27 04:55:41,003 - DEBUG - Services list from nova: [, , ] 2024-08-27 04:55:42,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1790-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1790-1) 2024-08-27 04:55:43,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1790-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1790-1) 2024-08-27 04:55:43,142 - INFO - Waiting for VM ctest-TestBasicVMVNx-29437568-56828200 to be up.. 2024-08-27 04:55:43,237 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 04:55:48,316 - DEBUG - VM is in ACTIVE state now 2024-08-27 04:55:48,316 - INFO - VM name : ctest-TestBasicVMVNx-29437568-56828200 2024-08-27 04:55:48,393 - DEBUG - VM ctest-TestBasicVMVNx-29437568-56828200 ID is fd1e450b-ec16-44a5-886d-693ffeac15a4 2024-08-27 04:55:48,412 - DEBUG - VM ctest-TestBasicVMVNx-29437568-56828200 launched on Node cn-jenkins-deploy-platform-ansible-os-1790-1 2024-08-27 04:55:48,488 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/fd1e450b-ec16-44a5-886d-693ffeac15a4 2024-08-27 04:55:48,783 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/fd1e450b-ec16-44a5-886d-693ffeac15a4 2024-08-27 04:55:48,820 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/03d4f0c0-8fd2-4e3f-b3c8-2c3c1f7ee170 2024-08-27 04:55:52,084 - 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 1023ms') 2024-08-27 04:55:52,084 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29437568-56828200 failed! 2024-08-27 04:55:52,141 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-29437568:ctest-vn-91853279 is 79.218.103.1 and allocation pool is NOT set 2024-08-27 04:55:54,202 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.06 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 = 4.055/5.535/7.015/1.480 ms') 2024-08-27 04:55:54,202 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-29437568-56828200 passed 2024-08-27 04:55:54,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:55:54,350 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29437568-56828200, IP 79.218.103.3, Port 22 2024-08-27 04:55:54,517 - DEBUG - VM ctest-TestBasicVMVNx-29437568-56828200 is ready for SSH connections 2024-08-27 04:55:54,517 - INFO - Waiting for VM ctest-TestBasicVMVNx-29437568-49085501 to be up.. 2024-08-27 04:55:54,597 - DEBUG - VM is in ACTIVE state now 2024-08-27 04:55:54,597 - INFO - VM name : ctest-TestBasicVMVNx-29437568-49085501 2024-08-27 04:55:54,675 - DEBUG - VM ctest-TestBasicVMVNx-29437568-49085501 ID is 9231e32d-f74b-4dc3-92dd-40a02b893ffe 2024-08-27 04:55:54,676 - DEBUG - VM ctest-TestBasicVMVNx-29437568-49085501 launched on Node cn-jenkins-deploy-platform-ansible-os-1790-1 2024-08-27 04:55:54,772 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/9231e32d-f74b-4dc3-92dd-40a02b893ffe 2024-08-27 04:55:54,782 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/e6b3ece3-b6a7-460f-82e3-8c6291be3afb 2024-08-27 04:55:56,021 - 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=4.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.37 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 = 1.372/2.866/4.360/1.494 ms') 2024-08-27 04:55:56,021 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-29437568-49085501 passed 2024-08-27 04:55:56,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:55:56,182 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29437568-49085501, IP 79.218.103.4, Port 22 2024-08-27 04:55:56,237 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-08-27 04:55:56,324 - DEBUG - VM ctest-TestBasicVMVNx-29437568-49085501 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-27 04:56:01,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:56:01,325 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-29437568-49085501, IP 79.218.103.4, Port 22 2024-08-27 04:56:01,485 - DEBUG - VM ctest-TestBasicVMVNx-29437568-49085501 is ready for SSH connections 2024-08-27 04:56:01,485 - DEBUG - FILE SIZE = 1303B 2024-08-27 04:56:01,485 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-29437568-56828200 to ctest-TestBasicVMVNx-29437568-49085501 using scp 2024-08-27 04:56:01,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:56:01,491 - 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.44, gateway password: c0ntrail123 2024-08-27 04:56:01,491 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-27 04:56:03,413 - DEBUG - 1+0 records in 1+0 records out 2024-08-27 04:56:03,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:56:04,314 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-08-27 04:56:04,314 - DEBUG - ls -l testfile 2024-08-27 04:56:04,880 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 22:56 testfile 2024-08-27 04:56:04,880 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-29437568-49085501 2024-08-27 04:56:04,880 - INFO - Deleting VM ctest-TestBasicVMVNx-29437568-49085501 2024-08-27 04:56:04,949 - INFO - Deleting VM ctest-TestBasicVMVNx-29437568-56828200 2024-08-27 04:56:05,022 - INFO - Deleting VN ctest-vn-91853279 2024-08-27 04:56:05,068 - DEBUG - VN 2ec7e4fc-c981-4699-a1ab-c58704bb1ed1 still in use: Unable to complete operation on network 2ec7e4fc-c981-4699-a1ab-c58704bb1ed1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c4c86116-3cf5-41e5-95e7-94b6ac59f674'] 2024-08-27 04:56:05,068 - WARNING - Deleting VN ctest-vn-91853279 failed..Will retry 2024-08-27 04:56:09,778 - DEBUG - Response for deleting network () 2024-08-27 04:56:10,032 - DEBUG - No XMPP flaps were noticed during the test 2024-08-27 04:56:10,032 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31] 2024-08-27 04:56:10,032 - INFO - -------------------------------------------------------------------------------- 2024-08-27 04:56:10,700 - INFO - Deleted project: ctest-TestBasicVMVNx-29437568, ID : efab02a3-ecac-4b40-b2ee-02274f3e1ffb