2024-09-17 22:13:41,349 - INFO - Domain Default found not creating 2024-09-17 22:13:41,503 - INFO - Project ctest-TestBasicVMVNx-56165191 not found, creating it 2024-09-17 22:13:42,033 - INFO - Created Project:ctest-TestBasicVMVNx-56165191, ID : b9d26868-42ce-49c1-8d81-42fe5e932e92 2024-09-17 22:13:43,485 - INFO - ================================================================================ 2024-09-17 22:13:43,485 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 22:13:43,486 - 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-17 22:13:43,748 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.12': '0'}} with 2024-09-17 22:13:43,748 - INFO - Initial checks done. Running the testcase now 2024-09-17 22:13:43,748 - INFO - 2024-09-17 22:13:44,304 - DEBUG - Response for create_network : {'network': {'id': '468369b6-9187-4711-a302-90dd4c6e2102', 'name': 'ctest-vn-13626197', 'tenant_id': 'b9d2686842ce49c18d8142fe5e932e92', 'project_id': 'b9d2686842ce49c18d8142fe5e932e92', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-56165191', 'ctest-vn-13626197'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 22:13:44,479 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aedfb751-f17e-417a-9ca3-56c01d906567', 'name': '', 'tenant_id': 'b9d2686842ce49c18d8142fe5e932e92', 'network_id': '468369b6-9187-4711-a302-90dd4c6e2102', 'ip_version': 4, 'cidr': '53.44.144.64/26', 'allocation_pools': [{'start': '53.44.144.66', 'end': '53.44.144.126'}], 'gateway_ip': '53.44.144.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.44.144.66', 'tags': [], 'project_id': 'b9d2686842ce49c18d8142fe5e932e92'}} 2024-09-17 22:13:44,497 - INFO - Created VN ctest-vn-13626197 2024-09-17 22:13:44,552 - DEBUG - VN ctest-vn-13626197 UUID is 468369b6-9187-4711-a302-90dd4c6e2102 2024-09-17 22:13:44,715 - DEBUG - Services list from nova: [, , ] 2024-09-17 22:13:45,738 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1973-1) 2024-09-17 22:13:46,903 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1973-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1973-1) 2024-09-17 22:13:46,903 - INFO - Waiting for VM ctest-TestBasicVMVNx-56165191-43478551 to be up.. 2024-09-17 22:13:46,990 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 22:13:52,062 - DEBUG - VM is in ACTIVE state now 2024-09-17 22:13:52,062 - INFO - VM name : ctest-TestBasicVMVNx-56165191-43478551 2024-09-17 22:13:52,135 - DEBUG - VM ctest-TestBasicVMVNx-56165191-43478551 ID is 2e50203c-9b36-4663-b34d-e5237441a48b 2024-09-17 22:13:52,153 - DEBUG - VM ctest-TestBasicVMVNx-56165191-43478551 launched on Node cn-jenkins-deploy-platform-ansible-os-1973-1 2024-09-17 22:13:52,230 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/2e50203c-9b36-4663-b34d-e5237441a48b 2024-09-17 22:13:52,522 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/2e50203c-9b36-4663-b34d-e5237441a48b 2024-09-17 22:13:52,558 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/068f3672-b530-4ed8-be6d-36771e0e00b2 2024-09-17 22:13:55,824 - 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-17 22:13:55,824 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56165191-43478551 failed! 2024-09-17 22:13:55,884 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56165191:ctest-vn-13626197 is 53.44.144.65 and allocation pool is NOT set 2024-09-17 22:13:57,940 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.404/1.752/3.101/1.348 ms') 2024-09-17 22:13:58,721 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56165191-43478551 passed 2024-09-17 22:13:58,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:13:58,896 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56165191-43478551, IP 53.44.144.67, Port 22 2024-09-17 22:13:59,056 - DEBUG - VM ctest-TestBasicVMVNx-56165191-43478551 is ready for SSH connections 2024-09-17 22:13:59,056 - INFO - Waiting for VM ctest-TestBasicVMVNx-56165191-25407309 to be up.. 2024-09-17 22:13:59,138 - DEBUG - VM is in ACTIVE state now 2024-09-17 22:13:59,138 - INFO - VM name : ctest-TestBasicVMVNx-56165191-25407309 2024-09-17 22:13:59,305 - DEBUG - VM ctest-TestBasicVMVNx-56165191-25407309 ID is ba854cf4-1b22-44b8-aaef-afe99cb04fda 2024-09-17 22:13:59,305 - DEBUG - VM ctest-TestBasicVMVNx-56165191-25407309 launched on Node cn-jenkins-deploy-platform-ansible-os-1973-1 2024-09-17 22:13:59,392 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/ba854cf4-1b22-44b8-aaef-afe99cb04fda 2024-09-17 22:13:59,401 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/1139b351-3ef4-4c6b-a6b3-767662ea4f83 2024-09-17 22:14:02,672 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms') 2024-09-17 22:14:02,672 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56165191-25407309 failed! 2024-09-17 22:14:02,732 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56165191:ctest-vn-13626197 is 53.44.144.65 and allocation pool is NOT set 2024-09-17 22:14:04,793 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.455 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.455/1.856/3.257/1.401 ms') 2024-09-17 22:14:04,793 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56165191-25407309 passed 2024-09-17 22:14:04,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:14:04,953 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56165191-25407309, IP 53.44.144.68, Port 22 2024-09-17 22:14:05,104 - DEBUG - VM ctest-TestBasicVMVNx-56165191-25407309 is ready for SSH connections 2024-09-17 22:14:05,104 - DEBUG - FILE SIZE = 1303B 2024-09-17 22:14:05,104 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-56165191-43478551 to ctest-TestBasicVMVNx-56165191-25407309 using scp 2024-09-17 22:14:05,105 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:14:05,110 - 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.65, gateway password: c0ntrail123 2024-09-17 22:14:05,110 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 22:14:07,017 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 22:14:07,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 22:14:07,921 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2024-09-17 22:14:07,921 - DEBUG - ls -l testfile 2024-09-17 22:14:09,920 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 16:14 testfile 2024-09-17 22:14:09,920 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-56165191-25407309 2024-09-17 22:14:09,920 - INFO - Deleting VM ctest-TestBasicVMVNx-56165191-25407309 2024-09-17 22:14:09,988 - INFO - Deleting VM ctest-TestBasicVMVNx-56165191-43478551 2024-09-17 22:14:10,068 - INFO - Deleting VN ctest-vn-13626197 2024-09-17 22:14:10,108 - DEBUG - VN 468369b6-9187-4711-a302-90dd4c6e2102 still in use: Unable to complete operation on network 468369b6-9187-4711-a302-90dd4c6e2102. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-220df7c7-5176-45c5-9bb5-0e4a310dc319'] 2024-09-17 22:14:10,108 - WARNING - Deleting VN ctest-vn-13626197 failed..Will retry 2024-09-17 22:14:12,244 - DEBUG - Response for deleting network () 2024-09-17 22:14:12,502 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 22:14:12,502 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2024-09-17 22:14:12,502 - INFO - -------------------------------------------------------------------------------- 2024-09-17 22:14:13,186 - INFO - Deleted project: ctest-TestBasicVMVNx-56165191, ID : b9d26868-42ce-49c1-8d81-42fe5e932e92