2024-09-06 16:22:34,476 - INFO - Domain Default found not creating 2024-09-06 16:22:34,645 - INFO - Project ctest-TestBasicVMVNx-10924165 not found, creating it 2024-09-06 16:22:35,129 - INFO - Created Project:ctest-TestBasicVMVNx-10924165, ID : 563cfce3-87bc-4b7d-a81d-2ea0f7db4305 2024-09-06 16:22:36,596 - INFO - ================================================================================ 2024-09-06 16:22:36,596 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-06 16:22:36,597 - 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-06 16:22:36,860 - DEBUG - Nothing to compare xmpp stats {'10.0.0.64': {'10.20.0.23': '0'}} with 2024-09-06 16:22:36,860 - INFO - Initial checks done. Running the testcase now 2024-09-06 16:22:36,860 - INFO - 2024-09-06 16:22:37,398 - DEBUG - Response for create_network : {'network': {'id': 'd1ab6ecb-f083-45f2-8c33-87f4573840bd', 'name': 'ctest-vn-46211994', 'tenant_id': '563cfce387bc4b7da81d2ea0f7db4305', 'project_id': '563cfce387bc4b7da81d2ea0f7db4305', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-10924165', 'ctest-vn-46211994'], 'port_security_enabled': True, 'description': ''}} 2024-09-06 16:22:37,559 - DEBUG - Response for create_subnet : {'subnet': {'id': '238e0faf-cde1-42b0-be8f-a8aedf8c98b5', 'name': '', 'tenant_id': '563cfce387bc4b7da81d2ea0f7db4305', 'network_id': 'd1ab6ecb-f083-45f2-8c33-87f4573840bd', 'ip_version': 4, 'cidr': '188.49.124.64/26', 'allocation_pools': [{'start': '188.49.124.66', 'end': '188.49.124.126'}], 'gateway_ip': '188.49.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.49.124.66', 'tags': [], 'project_id': '563cfce387bc4b7da81d2ea0f7db4305'}} 2024-09-06 16:22:37,580 - INFO - Created VN ctest-vn-46211994 2024-09-06 16:22:37,630 - DEBUG - VN ctest-vn-46211994 UUID is d1ab6ecb-f083-45f2-8c33-87f4573840bd 2024-09-06 16:22:37,793 - DEBUG - Services list from nova: [, , ] 2024-09-06 16:22:38,816 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1864-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1864-1) 2024-09-06 16:22:39,896 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1864-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1864-1) 2024-09-06 16:22:39,896 - INFO - Waiting for VM ctest-TestBasicVMVNx-10924165-84111323 to be up.. 2024-09-06 16:22:40,007 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-06 16:22:45,104 - DEBUG - VM is in ACTIVE state now 2024-09-06 16:22:45,104 - INFO - VM name : ctest-TestBasicVMVNx-10924165-84111323 2024-09-06 16:22:45,182 - DEBUG - VM ctest-TestBasicVMVNx-10924165-84111323 ID is 1922881a-978f-46d0-94e0-a960aa3f2b03 2024-09-06 16:22:45,199 - DEBUG - VM ctest-TestBasicVMVNx-10924165-84111323 launched on Node cn-jenkins-deploy-platform-ansible-os-1864-1 2024-09-06 16:22:45,279 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-machine/1922881a-978f-46d0-94e0-a960aa3f2b03 2024-09-06 16:22:45,574 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-machine/1922881a-978f-46d0-94e0-a960aa3f2b03 2024-09-06 16:22:45,610 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-machine-interface/a7f4aacf-7a4b-4012-9ac6-9ac40faf52b5 2024-09-06 16:22:48,886 - 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 1031ms') 2024-09-06 16:22:48,886 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-10924165-84111323 failed! 2024-09-06 16:22:48,946 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-10924165:ctest-vn-46211994 is 188.49.124.65 and allocation pool is NOT set 2024-09-06 16:22:51,007 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.446 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.446/1.598/2.751/1.152 ms') 2024-09-06 16:22:51,008 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-10924165-84111323 passed 2024-09-06 16:22:51,154 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 16:22:51,154 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-10924165-84111323, IP 188.49.124.67, Port 22 2024-09-06 16:22:51,306 - DEBUG - VM ctest-TestBasicVMVNx-10924165-84111323 is ready for SSH connections 2024-09-06 16:22:51,306 - INFO - Waiting for VM ctest-TestBasicVMVNx-10924165-47462761 to be up.. 2024-09-06 16:22:51,385 - DEBUG - VM is in ACTIVE state now 2024-09-06 16:22:51,385 - INFO - VM name : ctest-TestBasicVMVNx-10924165-47462761 2024-09-06 16:22:51,463 - DEBUG - VM ctest-TestBasicVMVNx-10924165-47462761 ID is 8ebed5e2-c9f4-408e-8cd5-5add7ae6335e 2024-09-06 16:22:51,463 - DEBUG - VM ctest-TestBasicVMVNx-10924165-47462761 launched on Node cn-jenkins-deploy-platform-ansible-os-1864-1 2024-09-06 16:22:51,539 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-machine/8ebed5e2-c9f4-408e-8cd5-5add7ae6335e 2024-09-06 16:22:51,548 - DEBUG - Requesting: http://10.0.0.64:8082/virtual-machine-interface/8d5328b2-0b39-4cff-84b2-bd0bef13adf4 2024-09-06 16:22:52,784 - 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.40 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/1.440/2.400/0.959 ms') 2024-09-06 16:22:52,784 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-10924165-47462761 passed 2024-09-06 16:22:52,938 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 16:22:52,938 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-10924165-47462761, IP 188.49.124.68, Port 22 2024-09-06 16:22:53,094 - DEBUG - VM ctest-TestBasicVMVNx-10924165-47462761 is ready for SSH connections 2024-09-06 16:22:53,094 - DEBUG - FILE SIZE = 1303B 2024-09-06 16:22:53,094 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-10924165-84111323 to ctest-TestBasicVMVNx-10924165-47462761 using scp 2024-09-06 16:22:53,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 16:22:53,100 - 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.64, gateway password: c0ntrail123 2024-09-06 16:22:53,101 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-06 16:22:54,989 - DEBUG - 1+0 records in 1+0 records out 2024-09-06 16:22:55,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-06 16:22:55,890 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.64, gateway password: c0ntrail123 2024-09-06 16:22:55,890 - DEBUG - ls -l testfile 2024-09-06 16:22:57,461 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 6 10:22 testfile 2024-09-06 16:22:57,461 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-10924165-47462761 2024-09-06 16:22:57,461 - INFO - Deleting VM ctest-TestBasicVMVNx-10924165-47462761 2024-09-06 16:22:57,527 - INFO - Deleting VM ctest-TestBasicVMVNx-10924165-84111323 2024-09-06 16:22:57,589 - INFO - Deleting VN ctest-vn-46211994 2024-09-06 16:22:57,625 - DEBUG - VN d1ab6ecb-f083-45f2-8c33-87f4573840bd still in use: Unable to complete operation on network d1ab6ecb-f083-45f2-8c33-87f4573840bd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c9cdcdc8-776b-44e9-96dd-1fbf6f19418e'] 2024-09-06 16:22:57,626 - WARNING - Deleting VN ctest-vn-46211994 failed..Will retry 2024-09-06 16:22:59,723 - DEBUG - Response for deleting network () 2024-09-06 16:22:59,989 - DEBUG - No XMPP flaps were noticed during the test 2024-09-06 16:22:59,990 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2024-09-06 16:22:59,990 - INFO - -------------------------------------------------------------------------------- 2024-09-06 16:23:00,671 - INFO - Deleted project: ctest-TestBasicVMVNx-10924165, ID : 563cfce3-87bc-4b7d-a81d-2ea0f7db4305