2025-01-15 03:28:10,922 - INFO - Domain Default found not creating 2025-01-15 03:28:11,122 - INFO - Project ctest-TestBasicVMVNx-58529265 not found, creating it 2025-01-15 03:28:11,694 - INFO - Created Project:ctest-TestBasicVMVNx-58529265, ID : 447055a5-3ba1-4220-ad24-aaa20c85613d 2025-01-15 03:28:13,563 - INFO - ================================================================================ 2025-01-15 03:28:13,563 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-15 03:28:13,563 - 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 2025-01-15 03:28:13,844 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.6': '0'}} with 2025-01-15 03:28:13,844 - INFO - Initial checks done. Running the testcase now 2025-01-15 03:28:13,844 - INFO - 2025-01-15 03:28:14,539 - DEBUG - Response for create_network : {'network': {'id': '9e306d8f-69db-4b27-b333-c510e8f5346a', 'name': 'ctest-vn-20260754', 'tenant_id': '447055a53ba14220ad24aaa20c85613d', 'project_id': '447055a53ba14220ad24aaa20c85613d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-58529265', 'ctest-vn-20260754'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 03:28:14,825 - DEBUG - Response for create_subnet : {'subnet': {'id': '867682a7-0197-4e78-b21b-a25224e31923', 'name': '', 'tenant_id': '447055a53ba14220ad24aaa20c85613d', 'network_id': '9e306d8f-69db-4b27-b333-c510e8f5346a', 'ip_version': 4, 'cidr': '8.237.180.192/26', 'allocation_pools': [{'start': '8.237.180.194', 'end': '8.237.180.254'}], 'gateway_ip': '8.237.180.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.237.180.194', 'tags': [], 'project_id': '447055a53ba14220ad24aaa20c85613d'}} 2025-01-15 03:28:14,853 - INFO - Created VN ctest-vn-20260754 2025-01-15 03:28:14,918 - DEBUG - VN ctest-vn-20260754 UUID is 9e306d8f-69db-4b27-b333-c510e8f5346a 2025-01-15 03:28:15,119 - DEBUG - Services list from nova: [, , ] 2025-01-15 03:28:16,498 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2633-1) 2025-01-15 03:28:17,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2633-1) 2025-01-15 03:28:17,943 - INFO - Waiting for VM ctest-TestBasicVMVNx-58529265-15387255 to be up.. 2025-01-15 03:28:18,060 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 03:28:23,216 - DEBUG - VM is in ACTIVE state now 2025-01-15 03:28:23,216 - INFO - VM name : ctest-TestBasicVMVNx-58529265-15387255 2025-01-15 03:28:23,345 - DEBUG - VM ctest-TestBasicVMVNx-58529265-15387255 ID is 53488f1e-6a4e-4d3f-b52d-01a5cae37614 2025-01-15 03:28:23,376 - DEBUG - VM ctest-TestBasicVMVNx-58529265-15387255 launched on Node cn-jenkins-deploy-platform-ansible-os-2633-1 2025-01-15 03:28:23,480 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/53488f1e-6a4e-4d3f-b52d-01a5cae37614 2025-01-15 03:28:23,844 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/53488f1e-6a4e-4d3f-b52d-01a5cae37614 2025-01-15 03:28:23,889 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/0901174b-14ef-4c82-a0d1-363e6e71ee72 2025-01-15 03:28:27,153 - 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 1004ms') 2025-01-15 03:28:27,153 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58529265-15387255 failed! 2025-01-15 03:28:27,239 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-58529265:ctest-vn-20260754 is 8.237.180.193 and allocation pool is NOT set 2025-01-15 03:28:31,315 - 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=11.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 10.996/10.996/10.996/0.000 ms') 2025-01-15 03:28:31,315 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-58529265-15387255 passed 2025-01-15 03:28:31,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 03:28:31,470 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58529265-15387255, IP 8.237.180.195, Port 22 2025-01-15 03:28:31,641 - DEBUG - VM ctest-TestBasicVMVNx-58529265-15387255 is ready for SSH connections 2025-01-15 03:28:31,641 - INFO - Waiting for VM ctest-TestBasicVMVNx-58529265-04103048 to be up.. 2025-01-15 03:28:31,754 - DEBUG - VM is in ACTIVE state now 2025-01-15 03:28:31,754 - INFO - VM name : ctest-TestBasicVMVNx-58529265-04103048 2025-01-15 03:28:31,854 - DEBUG - VM ctest-TestBasicVMVNx-58529265-04103048 ID is ae723fa5-2c68-4462-b287-049097e763d7 2025-01-15 03:28:31,854 - DEBUG - VM ctest-TestBasicVMVNx-58529265-04103048 launched on Node cn-jenkins-deploy-platform-ansible-os-2633-1 2025-01-15 03:28:31,984 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ae723fa5-2c68-4462-b287-049097e763d7 2025-01-15 03:28:31,996 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/79a0b855-4c08-47d2-990b-162dd455bd2f 2025-01-15 03:28:33,270 - 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=4.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.04 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 = 1.036/2.771/4.506/1.735 ms') 2025-01-15 03:28:33,271 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-58529265-04103048 passed 2025-01-15 03:28:33,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 03:28:33,426 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-58529265-04103048, IP 8.237.180.196, Port 22 2025-01-15 03:28:33,597 - DEBUG - VM ctest-TestBasicVMVNx-58529265-04103048 is ready for SSH connections 2025-01-15 03:28:33,597 - DEBUG - FILE SIZE = 1303B 2025-01-15 03:28:33,597 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-58529265-15387255 to ctest-TestBasicVMVNx-58529265-04103048 using scp 2025-01-15 03:28:33,598 - 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 2025-01-15 03:28:33,598 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-15 03:28:35,694 - DEBUG - 1+0 records in 1+0 records out 2025-01-15 03:28:36,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 03:28:36,995 - 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 2025-01-15 03:28:36,995 - DEBUG - ls -l testfile 2025-01-15 03:28:38,646 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 14 20:28 testfile 2025-01-15 03:28:38,646 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-58529265-04103048 2025-01-15 03:28:38,646 - INFO - Deleting VM ctest-TestBasicVMVNx-58529265-04103048 2025-01-15 03:28:38,726 - INFO - Deleting VM ctest-TestBasicVMVNx-58529265-15387255 2025-01-15 03:28:38,802 - INFO - Deleting VN ctest-vn-20260754 2025-01-15 03:28:38,848 - DEBUG - VN 9e306d8f-69db-4b27-b333-c510e8f5346a still in use: Unable to complete operation on network 9e306d8f-69db-4b27-b333-c510e8f5346a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a84fafbf-47bd-49f7-ab37-9175fbd04b3c'] 2025-01-15 03:28:38,848 - WARNING - Deleting VN ctest-vn-20260754 failed..Will retry 2025-01-15 03:28:40,984 - DEBUG - Response for deleting network () 2025-01-15 03:28:41,257 - DEBUG - No XMPP flaps were noticed during the test 2025-01-15 03:28:41,257 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:28] 2025-01-15 03:28:41,258 - INFO - -------------------------------------------------------------------------------- 2025-01-15 03:28:42,062 - INFO - Deleted project: ctest-TestBasicVMVNx-58529265, ID : 447055a5-3ba1-4220-ad24-aaa20c85613d