2024-08-27 13:07:32,284 - INFO - Domain Default found not creating 2024-08-27 13:07:32,474 - INFO - Project ctest-TestBasicVMVNx-96517273 not found, creating it 2024-08-27 13:07:32,981 - INFO - Created Project:ctest-TestBasicVMVNx-96517273, ID : 812944f5-c23f-4315-973b-581f414dee2e 2024-08-27 13:07:34,694 - INFO - ================================================================================ 2024-08-27 13:07:34,694 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-27 13:07:34,694 - 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 13:07:34,955 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.18': '0'}} with 2024-08-27 13:07:34,955 - INFO - Initial checks done. Running the testcase now 2024-08-27 13:07:34,955 - INFO - 2024-08-27 13:07:35,610 - DEBUG - Response for create_network : {'network': {'id': 'caf56cc3-9fd9-4929-b640-29eb30194779', 'name': 'ctest-vn-44601447', 'tenant_id': '812944f5c23f4315973b581f414dee2e', 'project_id': '812944f5c23f4315973b581f414dee2e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-96517273', 'ctest-vn-44601447'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 13:07:35,806 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9ef7466-c490-4253-8ba7-b9bc2bdb8612', 'name': '', 'tenant_id': '812944f5c23f4315973b581f414dee2e', 'network_id': 'caf56cc3-9fd9-4929-b640-29eb30194779', 'ip_version': 4, 'cidr': '198.206.149.0/26', 'allocation_pools': [{'start': '198.206.149.2', 'end': '198.206.149.62'}], 'gateway_ip': '198.206.149.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.206.149.2', 'tags': [], 'project_id': '812944f5c23f4315973b581f414dee2e'}} 2024-08-27 13:07:35,830 - INFO - Created VN ctest-vn-44601447 2024-08-27 13:07:35,884 - DEBUG - VN ctest-vn-44601447 UUID is caf56cc3-9fd9-4929-b640-29eb30194779 2024-08-27 13:07:36,076 - DEBUG - Services list from nova: [, , ] 2024-08-27 13:07:37,285 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1797-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1797-1) 2024-08-27 13:07:38,662 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1797-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1797-1) 2024-08-27 13:07:38,662 - INFO - Waiting for VM ctest-TestBasicVMVNx-96517273-12760414 to be up.. 2024-08-27 13:07:38,788 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 13:07:43,879 - DEBUG - VM is in ACTIVE state now 2024-08-27 13:07:43,880 - INFO - VM name : ctest-TestBasicVMVNx-96517273-12760414 2024-08-27 13:07:43,972 - DEBUG - VM ctest-TestBasicVMVNx-96517273-12760414 ID is dfed0706-7f6a-4208-b7b1-f5372e018ebb 2024-08-27 13:07:43,994 - DEBUG - VM ctest-TestBasicVMVNx-96517273-12760414 launched on Node cn-jenkins-deploy-platform-ansible-os-1797-1 2024-08-27 13:07:44,099 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/dfed0706-7f6a-4208-b7b1-f5372e018ebb 2024-08-27 13:07:44,445 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/dfed0706-7f6a-4208-b7b1-f5372e018ebb 2024-08-27 13:07:44,484 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/ad284a5f-8d63-4a83-8035-2ecf76ae2358 2024-08-27 13:07:47,740 - 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 1014ms') 2024-08-27 13:07:47,740 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96517273-12760414 failed! 2024-08-27 13:07:47,796 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-96517273:ctest-vn-44601447 is 198.206.149.1 and allocation pool is NOT set 2024-08-27 13:07:49,865 - 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=4.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.95 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 = 2.950/3.902/4.854/0.952 ms') 2024-08-27 13:07:49,865 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-96517273-12760414 passed 2024-08-27 13:07:50,019 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 13:07:50,019 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96517273-12760414, IP 198.206.149.3, Port 22 2024-08-27 13:07:50,189 - DEBUG - VM ctest-TestBasicVMVNx-96517273-12760414 is ready for SSH connections 2024-08-27 13:07:50,189 - INFO - Waiting for VM ctest-TestBasicVMVNx-96517273-64433904 to be up.. 2024-08-27 13:07:50,285 - DEBUG - VM is in ACTIVE state now 2024-08-27 13:07:50,285 - INFO - VM name : ctest-TestBasicVMVNx-96517273-64433904 2024-08-27 13:07:50,372 - DEBUG - VM ctest-TestBasicVMVNx-96517273-64433904 ID is 890b5c54-0b2d-49e0-be0e-b52e8f8e6d6b 2024-08-27 13:07:50,372 - DEBUG - VM ctest-TestBasicVMVNx-96517273-64433904 launched on Node cn-jenkins-deploy-platform-ansible-os-1797-1 2024-08-27 13:07:50,468 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/890b5c54-0b2d-49e0-be0e-b52e8f8e6d6b 2024-08-27 13:07:50,480 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/3a1a4733-f88a-4d7d-8026-7510a08535c2 2024-08-27 13:07:51,742 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.463 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.463/2.407/4.351/1.944 ms') 2024-08-27 13:07:51,742 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-96517273-64433904 passed 2024-08-27 13:07:51,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 13:07:51,896 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-96517273-64433904, IP 198.206.149.4, Port 22 2024-08-27 13:07:52,061 - DEBUG - VM ctest-TestBasicVMVNx-96517273-64433904 is ready for SSH connections 2024-08-27 13:07:52,061 - DEBUG - FILE SIZE = 1303B 2024-08-27 13:07:52,061 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-96517273-12760414 to ctest-TestBasicVMVNx-96517273-64433904 using scp 2024-08-27 13:07:52,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 13:07:52,070 - 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.45, gateway password: c0ntrail123 2024-08-27 13:07:52,070 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-27 13:07:54,070 - DEBUG - 1+0 records in 1+0 records out 2024-08-27 13:07:54,969 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 13:07:55,302 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2024-08-27 13:07:55,302 - DEBUG - ls -l testfile 2024-08-27 13:07:56,932 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 27 07:07 testfile 2024-08-27 13:07:56,932 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-96517273-64433904 2024-08-27 13:07:56,932 - INFO - Deleting VM ctest-TestBasicVMVNx-96517273-64433904 2024-08-27 13:07:57,023 - INFO - Deleting VM ctest-TestBasicVMVNx-96517273-12760414 2024-08-27 13:07:57,101 - INFO - Deleting VN ctest-vn-44601447 2024-08-27 13:07:57,153 - DEBUG - VN caf56cc3-9fd9-4929-b640-29eb30194779 still in use: Unable to complete operation on network caf56cc3-9fd9-4929-b640-29eb30194779. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-38a434ca-021a-4314-b454-c6aec020ada1'] 2024-08-27 13:07:57,153 - WARNING - Deleting VN ctest-vn-44601447 failed..Will retry 2024-08-27 13:07:59,313 - DEBUG - Response for deleting network () 2024-08-27 13:07:59,578 - DEBUG - No XMPP flaps were noticed during the test
2024-08-27 13:07:59,578 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-08-27 13:07:59,578 - INFO - -------------------------------------------------------------------------------- 2024-08-27 13:08:00,384 - INFO - Deleted project: ctest-TestBasicVMVNx-96517273, ID : 812944f5-c23f-4315-973b-581f414dee2e