2024-09-11 16:20:17,047 - INFO - Domain Default found not creating 2024-09-11 16:20:17,347 - INFO - Project ctest-TestBasicVMVNx-91742075 not found, creating it 2024-09-11 16:20:18,017 - INFO - Created Project:ctest-TestBasicVMVNx-91742075, ID : 1d0db4ba-02b4-48ef-a223-fbc1302df424 2024-09-11 16:20:20,059 - INFO - ================================================================================ 2024-09-11 16:20:20,060 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-11 16:20:20,060 - 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-11 16:20:20,342 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.17': '0'}} with 2024-09-11 16:20:20,342 - INFO - Initial checks done. Running the testcase now 2024-09-11 16:20:20,342 - INFO - 2024-09-11 16:20:21,073 - DEBUG - Response for create_network : {'network': {'id': '28f835a9-15e0-4b86-af7b-45a0a94aee4c', 'name': 'ctest-vn-73174369', 'tenant_id': '1d0db4ba02b448efa223fbc1302df424', 'project_id': '1d0db4ba02b448efa223fbc1302df424', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-91742075', 'ctest-vn-73174369'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 16:20:21,277 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de938356-6469-4a2f-99e5-4c934a45acc8', 'name': '', 'tenant_id': '1d0db4ba02b448efa223fbc1302df424', 'network_id': '28f835a9-15e0-4b86-af7b-45a0a94aee4c', 'ip_version': 4, 'cidr': '193.109.172.128/26', 'allocation_pools': [{'start': '193.109.172.130', 'end': '193.109.172.190'}], 'gateway_ip': '193.109.172.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.109.172.130', 'tags': [], 'project_id': '1d0db4ba02b448efa223fbc1302df424'}} 2024-09-11 16:20:21,312 - INFO - Created VN ctest-vn-73174369 2024-09-11 16:20:21,371 - DEBUG - VN ctest-vn-73174369 UUID is 28f835a9-15e0-4b86-af7b-45a0a94aee4c 2024-09-11 16:20:21,572 - DEBUG - Services list from nova: [, , ] 2024-09-11 16:20:23,056 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1899-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1899-1) 2024-09-11 16:20:24,904 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1899-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1899-1) 2024-09-11 16:20:24,904 - INFO - Waiting for VM ctest-TestBasicVMVNx-91742075-71538676 to be up.. 2024-09-11 16:20:25,053 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-11 16:20:30,164 - DEBUG - VM is in ACTIVE state now 2024-09-11 16:20:30,164 - INFO - VM name : ctest-TestBasicVMVNx-91742075-71538676 2024-09-11 16:20:30,277 - DEBUG - VM ctest-TestBasicVMVNx-91742075-71538676 ID is cfb90529-76ac-4ef3-944a-9bbf80e06294 2024-09-11 16:20:30,433 - DEBUG - VM ctest-TestBasicVMVNx-91742075-71538676 launched on Node cn-jenkins-deploy-platform-ansible-os-1899-1 2024-09-11 16:20:30,563 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/cfb90529-76ac-4ef3-944a-9bbf80e06294 2024-09-11 16:20:30,974 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/cfb90529-76ac-4ef3-944a-9bbf80e06294 2024-09-11 16:20:31,027 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/692cd092-d36e-4908-bf18-184c0f763e23 2024-09-11 16:20:34,302 - 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 1008ms') 2024-09-11 16:20:34,302 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91742075-71538676 failed! 2024-09-11 16:20:34,359 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-91742075:ctest-vn-73174369 is 193.109.172.129 and allocation pool is NOT set 2024-09-11 16:20:38,437 - 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=2 ttl=63 time=9.35 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 9.345/9.345/9.345/0.000 ms') 2024-09-11 16:20:38,437 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91742075-71538676 passed 2024-09-11 16:20:38,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 16:20:38,599 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91742075-71538676, IP 193.109.172.131, Port 22 2024-09-11 16:20:38,771 - DEBUG - VM ctest-TestBasicVMVNx-91742075-71538676 is ready for SSH connections 2024-09-11 16:20:38,771 - INFO - Waiting for VM ctest-TestBasicVMVNx-91742075-68900311 to be up.. 2024-09-11 16:20:38,893 - DEBUG - VM is in ACTIVE state now 2024-09-11 16:20:38,894 - INFO - VM name : ctest-TestBasicVMVNx-91742075-68900311 2024-09-11 16:20:38,999 - DEBUG - VM ctest-TestBasicVMVNx-91742075-68900311 ID is dfd521f2-f638-4932-8f07-8c60a1aa265a 2024-09-11 16:20:38,999 - DEBUG - VM ctest-TestBasicVMVNx-91742075-68900311 launched on Node cn-jenkins-deploy-platform-ansible-os-1899-1 2024-09-11 16:20:39,109 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/dfd521f2-f638-4932-8f07-8c60a1aa265a 2024-09-11 16:20:39,120 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/590c8ed6-6776-48d5-9308-4532aa8fdd9e 2024-09-11 16:20:40,379 - 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.526 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.526/2.026/3.527/1.500 ms') 2024-09-11 16:20:40,379 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-91742075-68900311 passed 2024-09-11 16:20:40,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 16:20:40,540 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91742075-68900311, IP 193.109.172.132, Port 22 2024-09-11 16:20:40,726 - DEBUG - VM ctest-TestBasicVMVNx-91742075-68900311 is ready for SSH connections 2024-09-11 16:20:40,727 - DEBUG - FILE SIZE = 1303B 2024-09-11 16:20:40,727 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-91742075-71538676 to ctest-TestBasicVMVNx-91742075-68900311 using scp 2024-09-11 16:20:40,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 16:20:40,736 - 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.28, gateway password: c0ntrail123 2024-09-11 16:20:40,737 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-11 16:20:42,974 - DEBUG - 1+0 records in 1+0 records out 2024-09-11 16:20:43,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 16:20:44,371 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-11 16:20:44,372 - DEBUG - ls -l testfile 2024-09-11 16:20:46,122 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 10:20 testfile 2024-09-11 16:20:46,122 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-91742075-68900311 2024-09-11 16:20:46,122 - INFO - Deleting VM ctest-TestBasicVMVNx-91742075-68900311 2024-09-11 16:20:46,238 - INFO - Deleting VM ctest-TestBasicVMVNx-91742075-71538676 2024-09-11 16:20:46,338 - INFO - Deleting VN ctest-vn-73174369 2024-09-11 16:20:46,406 - DEBUG - VN 28f835a9-15e0-4b86-af7b-45a0a94aee4c still in use: Unable to complete operation on network 28f835a9-15e0-4b86-af7b-45a0a94aee4c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c4b4e422-deea-411a-926e-8fb77a00019e'] 2024-09-11 16:20:46,407 - WARNING - Deleting VN ctest-vn-73174369 failed..Will retry 2024-09-11 16:20:48,575 - DEBUG - Response for deleting network () 2024-09-11 16:20:48,853 - DEBUG - No XMPP flaps were noticed during the test
2024-09-11 16:20:48,853 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28]
2024-09-11 16:20:48,853 - INFO - -------------------------------------------------------------------------------- 2024-09-11 16:20:49,648 - INFO - Deleted project: ctest-TestBasicVMVNx-91742075, ID : 1d0db4ba-02b4-48ef-a223-fbc1302df424