2024-11-06 11:49:22,775 - INFO - Domain Default found not creating 2024-11-06 11:49:22,995 - INFO - Project ctest-TestBasicVMVNx-94385497 not found, creating it 2024-11-06 11:49:23,552 - INFO - Created Project:ctest-TestBasicVMVNx-94385497, ID : be6775a7-7ad8-4a4c-a2dc-edb8d582b07a 2024-11-06 11:49:25,369 - INFO - ================================================================================ 2024-11-06 11:49:25,369 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-06 11:49:25,369 - 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-06 11:49:25,629 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.12': '0'}} with 2024-11-06 11:49:25,629 - INFO - Initial checks done. Running the testcase now 2024-11-06 11:49:25,629 - INFO - 2024-11-06 11:49:26,269 - DEBUG - Response for create_network : {'network': {'id': 'b2ac8de3-abe4-4ced-b34b-3eb26e4c4c4e', 'name': 'ctest-vn-49250610', 'tenant_id': 'be6775a77ad84a4ca2dcedb8d582b07a', 'project_id': 'be6775a77ad84a4ca2dcedb8d582b07a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-94385497', 'ctest-vn-49250610'], 'port_security_enabled': True, 'description': ''}} 2024-11-06 11:49:26,473 - DEBUG - Response for create_subnet : {'subnet': {'id': '69ce0958-e8a9-47e8-a5b3-bda4f089dc25', 'name': '', 'tenant_id': 'be6775a77ad84a4ca2dcedb8d582b07a', 'network_id': 'b2ac8de3-abe4-4ced-b34b-3eb26e4c4c4e', 'ip_version': 4, 'cidr': '158.19.83.192/26', 'allocation_pools': [{'start': '158.19.83.194', 'end': '158.19.83.254'}], 'gateway_ip': '158.19.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.19.83.194', 'tags': [], 'project_id': 'be6775a77ad84a4ca2dcedb8d582b07a'}} 2024-11-06 11:49:26,499 - INFO - Created VN ctest-vn-49250610 2024-11-06 11:49:26,557 - DEBUG - VN ctest-vn-49250610 UUID is b2ac8de3-abe4-4ced-b34b-3eb26e4c4c4e 2024-11-06 11:49:26,750 - DEBUG - Services list from nova: [, , ] 2024-11-06 11:49:27,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2201-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2201-1) 2024-11-06 11:49:29,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2201-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2201-1) 2024-11-06 11:49:29,365 - INFO - Waiting for VM ctest-TestBasicVMVNx-94385497-07029860 to be up.. 2024-11-06 11:49:29,514 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-06 11:49:34,613 - DEBUG - VM is in ACTIVE state now 2024-11-06 11:49:34,613 - INFO - VM name : ctest-TestBasicVMVNx-94385497-07029860 2024-11-06 11:49:34,707 - DEBUG - VM ctest-TestBasicVMVNx-94385497-07029860 ID is 14bee850-6081-49e4-8f27-a157e9990c51 2024-11-06 11:49:34,734 - DEBUG - VM ctest-TestBasicVMVNx-94385497-07029860 launched on Node cn-jenkins-deploy-platform-ansible-os-2201-1 2024-11-06 11:49:34,834 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/14bee850-6081-49e4-8f27-a157e9990c51 2024-11-06 11:49:35,184 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/14bee850-6081-49e4-8f27-a157e9990c51 2024-11-06 11:49:35,228 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8d6e11f5-2806-48e4-9cb6-e78aa4e18f3e 2024-11-06 11:49:38,514 - 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 1013ms') 2024-11-06 11:49:38,515 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94385497-07029860 failed! 2024-11-06 11:49:38,577 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-94385497:ctest-vn-49250610 is 158.19.83.193 and allocation pool is NOT set 2024-11-06 11:49:40,634 - 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=5.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.757 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.757/3.219/5.681/2.462 ms') 2024-11-06 11:49:40,634 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-94385497-07029860 passed 2024-11-06 11:49:40,785 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 11:49:40,785 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94385497-07029860, IP 158.19.83.195, Port 22 2024-11-06 11:49:40,956 - DEBUG - VM ctest-TestBasicVMVNx-94385497-07029860 is ready for SSH connections 2024-11-06 11:49:40,956 - INFO - Waiting for VM ctest-TestBasicVMVNx-94385497-07975490 to be up.. 2024-11-06 11:49:41,073 - DEBUG - VM is in ACTIVE state now 2024-11-06 11:49:41,073 - INFO - VM name : ctest-TestBasicVMVNx-94385497-07975490 2024-11-06 11:49:41,171 - DEBUG - VM ctest-TestBasicVMVNx-94385497-07975490 ID is ee943997-3b8b-43b5-bb32-32e099ca046a 2024-11-06 11:49:41,172 - DEBUG - VM ctest-TestBasicVMVNx-94385497-07975490 launched on Node cn-jenkins-deploy-platform-ansible-os-2201-1 2024-11-06 11:49:41,275 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ee943997-3b8b-43b5-bb32-32e099ca046a 2024-11-06 11:49:41,288 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8a22279c-2031-4229-b36b-ddd1a9c69001 2024-11-06 11:49:42,566 - 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=7.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.46 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 = 3.458/5.554/7.650/2.096 ms') 2024-11-06 11:49:42,566 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-94385497-07975490 passed 2024-11-06 11:49:42,725 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 11:49:42,725 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-94385497-07975490, IP 158.19.83.196, Port 22 2024-11-06 11:49:42,880 - DEBUG - VM ctest-TestBasicVMVNx-94385497-07975490 is ready for SSH connections 2024-11-06 11:49:42,880 - DEBUG - FILE SIZE = 1303B 2024-11-06 11:49:42,881 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-94385497-07029860 to ctest-TestBasicVMVNx-94385497-07975490 using scp 2024-11-06 11:49:42,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 11:49:42,888 - 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-06 11:49:42,888 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-06 11:49:44,589 - DEBUG - 1+0 records in 1+0 records out 2024-11-06 11:49:45,296 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-06 11:49:45,652 - 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-06 11:49:45,653 - DEBUG - ls -l testfile 2024-11-06 11:49:47,301 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 6 04:49 testfile 2024-11-06 11:49:47,302 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-94385497-07975490 2024-11-06 11:49:47,302 - INFO - Deleting VM ctest-TestBasicVMVNx-94385497-07975490 2024-11-06 11:49:47,384 - INFO - Deleting VM ctest-TestBasicVMVNx-94385497-07029860 2024-11-06 11:49:47,480 - INFO - Deleting VN ctest-vn-49250610 2024-11-06 11:49:47,545 - DEBUG - VN b2ac8de3-abe4-4ced-b34b-3eb26e4c4c4e still in use: Unable to complete operation on network b2ac8de3-abe4-4ced-b34b-3eb26e4c4c4e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ab3dea6-c199-4f99-82db-47f5f88f4e4e'] 2024-11-06 11:49:47,545 - WARNING - Deleting VN ctest-vn-49250610 failed..Will retry 2024-11-06 11:49:49,682 - DEBUG - Response for deleting network () 2024-11-06 11:49:49,953 - DEBUG - No XMPP flaps were noticed during the test 2024-11-06 11:49:49,953 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-11-06 11:49:49,953 - INFO - -------------------------------------------------------------------------------- 2024-11-06 11:49:50,740 - INFO - Deleted project: ctest-TestBasicVMVNx-94385497, ID : be6775a7-7ad8-4a4c-a2dc-edb8d582b07a