2024-10-28 12:07:52,480 - INFO - Domain Default found not creating 2024-10-28 12:07:52,683 - INFO - Project ctest-TestBasicVMVNx-52189270 not found, creating it 2024-10-28 12:07:53,243 - INFO - Created Project:ctest-TestBasicVMVNx-52189270, ID : 221b6e97-268d-46e5-946f-ae52b0608d98 2024-10-28 12:07:54,904 - INFO - ================================================================================ 2024-10-28 12:07:54,904 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-28 12:07:54,904 - 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-10-28 12:07:55,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.7': '0'}} with 2024-10-28 12:07:55,160 - INFO - Initial checks done. Running the testcase now 2024-10-28 12:07:55,160 - INFO - 2024-10-28 12:07:55,887 - DEBUG - Response for create_network : {'network': {'id': '456f509c-1eb2-4ba6-948d-7c6a1e8acd3e', 'name': 'ctest-vn-57989210', 'tenant_id': '221b6e97268d46e5946fae52b0608d98', 'project_id': '221b6e97268d46e5946fae52b0608d98', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-52189270', 'ctest-vn-57989210'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 12:07:56,116 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6d5691f-dcb5-4a92-b840-0663a2125c9a', 'name': '', 'tenant_id': '221b6e97268d46e5946fae52b0608d98', 'network_id': '456f509c-1eb2-4ba6-948d-7c6a1e8acd3e', 'ip_version': 4, 'cidr': '54.217.171.64/26', 'allocation_pools': [{'start': '54.217.171.66', 'end': '54.217.171.126'}], 'gateway_ip': '54.217.171.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.217.171.66', 'tags': [], 'project_id': '221b6e97268d46e5946fae52b0608d98'}} 2024-10-28 12:07:56,143 - INFO - Created VN ctest-vn-57989210 2024-10-28 12:07:56,205 - DEBUG - VN ctest-vn-57989210 UUID is 456f509c-1eb2-4ba6-948d-7c6a1e8acd3e 2024-10-28 12:07:56,416 - DEBUG - Services list from nova: [, , ] 2024-10-28 12:07:57,578 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2159-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2159-1) 2024-10-28 12:07:58,924 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2159-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2159-1) 2024-10-28 12:07:58,924 - INFO - Waiting for VM ctest-TestBasicVMVNx-52189270-94634414 to be up.. 2024-10-28 12:07:59,052 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 12:08:04,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 12:08:09,257 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 12:08:14,347 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 12:08:19,496 - DEBUG - VM is in ACTIVE state now 2024-10-28 12:08:19,496 - INFO - VM name : ctest-TestBasicVMVNx-52189270-94634414 2024-10-28 12:08:19,589 - DEBUG - VM ctest-TestBasicVMVNx-52189270-94634414 ID is 606209ff-9caa-4055-acd3-baa797ec8763 2024-10-28 12:08:19,610 - DEBUG - VM ctest-TestBasicVMVNx-52189270-94634414 launched on Node cn-jenkins-deploy-platform-ansible-os-2159-1 2024-10-28 12:08:19,709 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/606209ff-9caa-4055-acd3-baa797ec8763 2024-10-28 12:08:20,010 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/606209ff-9caa-4055-acd3-baa797ec8763 2024-10-28 12:08:20,051 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/799d00f1-afc6-46d8-be23-308fb5e6ea8e 2024-10-28 12:08:23,328 - 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 1010ms') 2024-10-28 12:08:23,328 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52189270-94634414 failed! 2024-10-28 12:08:23,389 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-52189270:ctest-vn-57989210 is 54.217.171.65 and allocation pool is NOT set 2024-10-28 12:08:27,460 - 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=6.75 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 6.746/6.746/6.746/0.000 ms') 2024-10-28 12:08:27,460 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52189270-94634414 passed 2024-10-28 12:08:27,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 12:08:27,629 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52189270-94634414, IP 54.217.171.67, Port 22 2024-10-28 12:08:27,795 - DEBUG - VM ctest-TestBasicVMVNx-52189270-94634414 is ready for SSH connections 2024-10-28 12:08:27,795 - INFO - Waiting for VM ctest-TestBasicVMVNx-52189270-88193960 to be up.. 2024-10-28 12:08:27,880 - DEBUG - VM is in ACTIVE state now 2024-10-28 12:08:27,880 - INFO - VM name : ctest-TestBasicVMVNx-52189270-88193960 2024-10-28 12:08:27,969 - DEBUG - VM ctest-TestBasicVMVNx-52189270-88193960 ID is e0603b2e-0a11-444e-9ac4-781c939a094f 2024-10-28 12:08:27,969 - DEBUG - VM ctest-TestBasicVMVNx-52189270-88193960 launched on Node cn-jenkins-deploy-platform-ansible-os-2159-1 2024-10-28 12:08:28,060 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e0603b2e-0a11-444e-9ac4-781c939a094f 2024-10-28 12:08:28,073 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/0e981490-e38e-4189-8d61-742ed6739690 2024-10-28 12:08:29,331 - 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=2.96 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/1.746/2.962/1.216 ms') 2024-10-28 12:08:29,332 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-52189270-88193960 passed 2024-10-28 12:08:29,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 12:08:29,493 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52189270-88193960, IP 54.217.171.68, Port 22 2024-10-28 12:08:29,649 - DEBUG - VM ctest-TestBasicVMVNx-52189270-88193960 is ready for SSH connections 2024-10-28 12:08:29,649 - DEBUG - FILE SIZE = 1303B 2024-10-28 12:08:29,649 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-52189270-94634414 to ctest-TestBasicVMVNx-52189270-88193960 using scp 2024-10-28 12:08:29,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 12:08:29,656 - 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.27, gateway password: c0ntrail123 2024-10-28 12:08:29,656 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-28 12:08:31,309 - DEBUG - 1+0 records in 1+0 records out 2024-10-28 12:08:32,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 12:08:32,450 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2024-10-28 12:08:32,450 - DEBUG - ls -l testfile 2024-10-28 12:08:34,058 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 28 06:08 testfile 2024-10-28 12:08:34,058 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-52189270-88193960 2024-10-28 12:08:34,058 - INFO - Deleting VM ctest-TestBasicVMVNx-52189270-88193960 2024-10-28 12:08:34,152 - INFO - Deleting VM ctest-TestBasicVMVNx-52189270-94634414 2024-10-28 12:08:34,236 - INFO - Deleting VN ctest-vn-57989210 2024-10-28 12:08:34,298 - DEBUG - VN 456f509c-1eb2-4ba6-948d-7c6a1e8acd3e still in use: Unable to complete operation on network 456f509c-1eb2-4ba6-948d-7c6a1e8acd3e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50830620-d4bb-4ff2-a13c-e7612d748c9c'] 2024-10-28 12:08:34,298 - WARNING - Deleting VN ctest-vn-57989210 failed..Will retry 2024-10-28 12:08:36,427 - DEBUG - Response for deleting network () 2024-10-28 12:08:36,684 - DEBUG - No XMPP flaps were noticed during the test 2024-10-28 12:08:36,684 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:42] 2024-10-28 12:08:36,685 - INFO - -------------------------------------------------------------------------------- 2024-10-28 12:08:37,426 - INFO - Deleted project: ctest-TestBasicVMVNx-52189270, ID : 221b6e97-268d-46e5-946f-ae52b0608d98