2024-11-07 02:34:13,902 - INFO - Domain Default found not creating 2024-11-07 02:34:14,056 - INFO - Project ctest-TestBasicVMVNx-72702689 not found, creating it 2024-11-07 02:34:14,531 - INFO - Created Project:ctest-TestBasicVMVNx-72702689, ID : 37338078-d397-44a7-951a-c9d8d39607c8 2024-11-07 02:34:16,069 - INFO - ================================================================================ 2024-11-07 02:34:16,069 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-07 02:34:16,069 - 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-07 02:34:16,337 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.29': '0'}} with 2024-11-07 02:34:16,337 - INFO - Initial checks done. Running the testcase now 2024-11-07 02:34:16,337 - INFO - 2024-11-07 02:34:16,871 - DEBUG - Response for create_network : {'network': {'id': 'ca1a7b4d-bdfe-43ef-a8d4-9c86d4529cf1', 'name': 'ctest-vn-75404265', 'tenant_id': '37338078d39744a7951ac9d8d39607c8', 'project_id': '37338078d39744a7951ac9d8d39607c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-72702689', 'ctest-vn-75404265'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 02:34:17,083 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab596f18-afea-43be-8e87-f3f3004073d7', 'name': '', 'tenant_id': '37338078d39744a7951ac9d8d39607c8', 'network_id': 'ca1a7b4d-bdfe-43ef-a8d4-9c86d4529cf1', 'ip_version': 4, 'cidr': '108.111.31.192/26', 'allocation_pools': [{'start': '108.111.31.194', 'end': '108.111.31.254'}], 'gateway_ip': '108.111.31.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.111.31.194', 'tags': [], 'project_id': '37338078d39744a7951ac9d8d39607c8'}} 2024-11-07 02:34:17,101 - INFO - Created VN ctest-vn-75404265 2024-11-07 02:34:17,159 - DEBUG - VN ctest-vn-75404265 UUID is ca1a7b4d-bdfe-43ef-a8d4-9c86d4529cf1 2024-11-07 02:34:17,364 - DEBUG - Services list from nova: [, , ] 2024-11-07 02:34:18,366 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2208-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2208-1) 2024-11-07 02:34:19,494 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2208-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2208-1) 2024-11-07 02:34:19,494 - INFO - Waiting for VM ctest-TestBasicVMVNx-72702689-30020243 to be up.. 2024-11-07 02:34:19,578 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-07 02:34:24,684 - DEBUG - VM is in ACTIVE state now 2024-11-07 02:34:24,685 - INFO - VM name : ctest-TestBasicVMVNx-72702689-30020243 2024-11-07 02:34:24,777 - DEBUG - VM ctest-TestBasicVMVNx-72702689-30020243 ID is 0e37802d-246c-4a8e-86ae-1c4b77f2b4e4 2024-11-07 02:34:24,800 - DEBUG - VM ctest-TestBasicVMVNx-72702689-30020243 launched on Node cn-jenkins-deploy-platform-ansible-os-2208-1 2024-11-07 02:34:24,897 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0e37802d-246c-4a8e-86ae-1c4b77f2b4e4 2024-11-07 02:34:25,210 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0e37802d-246c-4a8e-86ae-1c4b77f2b4e4 2024-11-07 02:34:25,249 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fead987b-d5a6-4734-9fff-d92759d41b57 2024-11-07 02:34:28,533 - 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 1035ms') 2024-11-07 02:34:28,534 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72702689-30020243 failed! 2024-11-07 02:34:28,607 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-72702689:ctest-vn-75404265 is 108.111.31.193 and allocation pool is NOT set 2024-11-07 02:34:30,675 - 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=2.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.418 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 = 0.418/1.679/2.941/1.261 ms') 2024-11-07 02:34:30,675 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-72702689-30020243 passed 2024-11-07 02:34:30,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 02:34:30,835 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72702689-30020243, IP 108.111.31.195, Port 22 2024-11-07 02:34:30,987 - DEBUG - VM ctest-TestBasicVMVNx-72702689-30020243 is ready for SSH connections 2024-11-07 02:34:30,987 - INFO - Waiting for VM ctest-TestBasicVMVNx-72702689-44016537 to be up.. 2024-11-07 02:34:31,086 - DEBUG - VM is in ACTIVE state now 2024-11-07 02:34:31,086 - INFO - VM name : ctest-TestBasicVMVNx-72702689-44016537 2024-11-07 02:34:31,196 - DEBUG - VM ctest-TestBasicVMVNx-72702689-44016537 ID is b9880710-5dff-4fe6-ba90-b60f2b62757a 2024-11-07 02:34:31,196 - DEBUG - VM ctest-TestBasicVMVNx-72702689-44016537 launched on Node cn-jenkins-deploy-platform-ansible-os-2208-1 2024-11-07 02:34:31,295 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b9880710-5dff-4fe6-ba90-b60f2b62757a 2024-11-07 02:34:31,306 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/21bea933-88ef-4517-83ca-2b8074e62a64 2024-11-07 02:34:32,564 - 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=5.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.984 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.984/3.163/5.342/2.179 ms') 2024-11-07 02:34:32,564 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-72702689-44016537 passed 2024-11-07 02:34:32,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 02:34:32,719 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-72702689-44016537, IP 108.111.31.196, Port 22 2024-11-07 02:34:32,878 - DEBUG - VM ctest-TestBasicVMVNx-72702689-44016537 is ready for SSH connections 2024-11-07 02:34:32,878 - DEBUG - FILE SIZE = 1303B 2024-11-07 02:34:32,878 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-72702689-30020243 to ctest-TestBasicVMVNx-72702689-44016537 using scp 2024-11-07 02:34:32,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 02:34:32,886 - 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.22, gateway password: c0ntrail123 2024-11-07 02:34:32,886 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-07 02:34:34,765 - DEBUG - 1+0 records in 1+0 records out 2024-11-07 02:34:35,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 02:34:35,852 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2024-11-07 02:34:35,853 - DEBUG - ls -l testfile 2024-11-07 02:34:37,429 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 6 19:34 testfile 2024-11-07 02:34:37,429 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-72702689-44016537 2024-11-07 02:34:37,430 - INFO - Deleting VM ctest-TestBasicVMVNx-72702689-44016537 2024-11-07 02:34:37,495 - INFO - Deleting VM ctest-TestBasicVMVNx-72702689-30020243 2024-11-07 02:34:37,560 - INFO - Deleting VN ctest-vn-75404265 2024-11-07 02:34:37,599 - DEBUG - VN ca1a7b4d-bdfe-43ef-a8d4-9c86d4529cf1 still in use: Unable to complete operation on network ca1a7b4d-bdfe-43ef-a8d4-9c86d4529cf1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-95b10371-204c-404a-a012-e067672aad2b'] 2024-11-07 02:34:37,599 - WARNING - Deleting VN ctest-vn-75404265 failed..Will retry 2024-11-07 02:34:39,717 - DEBUG - Response for deleting network () 2024-11-07 02:34:39,984 - DEBUG - No XMPP flaps were noticed during the test
2024-11-07 02:34:39,984 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-11-07 02:34:39,984 - INFO - -------------------------------------------------------------------------------- 2024-11-07 02:34:40,671 - INFO - Deleted project: ctest-TestBasicVMVNx-72702689, ID : 37338078-d397-44a7-951a-c9d8d39607c8