2024-11-10 21:10:41,691 - INFO - Domain Default found not creating 2024-11-10 21:10:41,919 - INFO - Project ctest-TestBasicVMVNx-47399462 not found, creating it 2024-11-10 21:10:42,518 - INFO - Created Project:ctest-TestBasicVMVNx-47399462, ID : 54c11d87-395e-41fe-ba51-19cd85bd9f1a 2024-11-10 21:10:44,213 - INFO - ================================================================================ 2024-11-10 21:10:44,213 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-10 21:10:44,214 - 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-11-10 21:10:44,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.5': '0'}} with 2024-11-10 21:10:44,480 - INFO - Initial checks done. Running the testcase now 2024-11-10 21:10:44,481 - INFO - 2024-11-10 21:10:45,105 - DEBUG - Response for create_network : {'network': {'id': 'd522e01d-0344-44e8-847e-72887f916efe', 'name': 'ctest-vn-48840273', 'tenant_id': '54c11d87395e41feba5119cd85bd9f1a', 'project_id': '54c11d87395e41feba5119cd85bd9f1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-47399462', 'ctest-vn-48840273'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 21:10:45,298 - DEBUG - Response for create_subnet : {'subnet': {'id': '60316966-a6e6-4ca1-8aff-d51c73168768', 'name': '', 'tenant_id': '54c11d87395e41feba5119cd85bd9f1a', 'network_id': 'd522e01d-0344-44e8-847e-72887f916efe', 'ip_version': 4, 'cidr': '121.2.147.64/26', 'allocation_pools': [{'start': '121.2.147.66', 'end': '121.2.147.126'}], 'gateway_ip': '121.2.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.2.147.66', 'tags': [], 'project_id': '54c11d87395e41feba5119cd85bd9f1a'}} 2024-11-10 21:10:45,325 - INFO - Created VN ctest-vn-48840273 2024-11-10 21:10:45,391 - DEBUG - VN ctest-vn-48840273 UUID is d522e01d-0344-44e8-847e-72887f916efe 2024-11-10 21:10:45,624 - DEBUG - Services list from nova: [, , ] 2024-11-10 21:10:46,885 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2265-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2265-1) 2024-11-10 21:10:48,174 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2265-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2265-1) 2024-11-10 21:10:48,175 - INFO - Waiting for VM ctest-TestBasicVMVNx-47399462-56943053 to be up.. 2024-11-10 21:10:48,416 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 21:10:53,512 - DEBUG - VM is in ACTIVE state now 2024-11-10 21:10:53,512 - INFO - VM name : ctest-TestBasicVMVNx-47399462-56943053 2024-11-10 21:10:53,633 - DEBUG - VM ctest-TestBasicVMVNx-47399462-56943053 ID is b153e928-45ba-4cd3-8c82-37fe22b29a23 2024-11-10 21:10:53,657 - DEBUG - VM ctest-TestBasicVMVNx-47399462-56943053 launched on Node cn-jenkins-deploy-platform-ansible-os-2265-1 2024-11-10 21:10:53,759 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b153e928-45ba-4cd3-8c82-37fe22b29a23 2024-11-10 21:10:54,080 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/b153e928-45ba-4cd3-8c82-37fe22b29a23 2024-11-10 21:10:54,123 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/31a92de2-0348-4ab7-9e7b-3af4b2ed236c 2024-11-10 21:10:57,398 - 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 1018ms') 2024-11-10 21:10:57,398 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-47399462-56943053 failed! 2024-11-10 21:10:57,459 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-47399462:ctest-vn-48840273 is 121.2.147.65 and allocation pool is NOT set 2024-11-10 21:10:59,521 - 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=8.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.35 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 = 1.348/4.999/8.650/3.651 ms') 2024-11-10 21:10:59,521 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-47399462-56943053 passed 2024-11-10 21:10:59,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 21:10:59,683 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47399462-56943053, IP 121.2.147.67, Port 22 2024-11-10 21:10:59,749 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-11-10 21:10:59,863 - DEBUG - VM ctest-TestBasicVMVNx-47399462-56943053 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-10 21:11:04,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 21:11:04,864 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47399462-56943053, IP 121.2.147.67, Port 22 2024-11-10 21:11:05,027 - DEBUG - VM ctest-TestBasicVMVNx-47399462-56943053 is ready for SSH connections 2024-11-10 21:11:05,027 - INFO - Waiting for VM ctest-TestBasicVMVNx-47399462-43843327 to be up.. 2024-11-10 21:11:05,127 - DEBUG - VM is in ACTIVE state now 2024-11-10 21:11:05,127 - INFO - VM name : ctest-TestBasicVMVNx-47399462-43843327 2024-11-10 21:11:05,291 - DEBUG - VM ctest-TestBasicVMVNx-47399462-43843327 ID is dfd63482-8933-43c7-8467-a075cbd307e1 2024-11-10 21:11:05,291 - DEBUG - VM ctest-TestBasicVMVNx-47399462-43843327 launched on Node cn-jenkins-deploy-platform-ansible-os-2265-1 2024-11-10 21:11:05,444 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/dfd63482-8933-43c7-8467-a075cbd307e1 2024-11-10 21:11:05,456 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d33bbbdd-c9b0-4581-8c2e-3d774209e4b4 2024-11-10 21:11:06,734 - 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.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.530 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.530/2.030/3.530/1.500 ms') 2024-11-10 21:11:06,734 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-47399462-43843327 passed 2024-11-10 21:11:06,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 21:11:06,907 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-47399462-43843327, IP 121.2.147.68, Port 22 2024-11-10 21:11:07,081 - DEBUG - VM ctest-TestBasicVMVNx-47399462-43843327 is ready for SSH connections 2024-11-10 21:11:07,082 - DEBUG - FILE SIZE = 1303B 2024-11-10 21:11:07,082 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-47399462-56943053 to ctest-TestBasicVMVNx-47399462-43843327 using scp 2024-11-10 21:11:07,082 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 21:11:07,088 - 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.23, gateway password: c0ntrail123 2024-11-10 21:11:07,089 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-10 21:11:09,132 - DEBUG - 1+0 records in 1+0 records out 2024-11-10 21:11:10,057 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 21:11:10,389 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2024-11-10 21:11:10,389 - DEBUG - ls -l testfile 2024-11-10 21:11:11,992 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 14:11 testfile 2024-11-10 21:11:11,992 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-47399462-43843327 2024-11-10 21:11:11,993 - INFO - Deleting VM ctest-TestBasicVMVNx-47399462-43843327 2024-11-10 21:11:12,082 - INFO - Deleting VM ctest-TestBasicVMVNx-47399462-56943053 2024-11-10 21:11:12,160 - INFO - Deleting VN ctest-vn-48840273 2024-11-10 21:11:12,219 - DEBUG - VN d522e01d-0344-44e8-847e-72887f916efe still in use: Unable to complete operation on network d522e01d-0344-44e8-847e-72887f916efe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5c83a80b-6314-42a7-812e-500fc8ede8ab'] 2024-11-10 21:11:12,219 - WARNING - Deleting VN ctest-vn-48840273 failed..Will retry 2024-11-10 21:11:14,372 - DEBUG - Response for deleting network () 2024-11-10 21:11:14,639 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 21:11:14,639 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-11-10 21:11:14,639 - INFO - -------------------------------------------------------------------------------- 2024-11-10 21:11:15,444 - INFO - Deleted project: ctest-TestBasicVMVNx-47399462, ID : 54c11d87-395e-41fe-ba51-19cd85bd9f1a