2025-01-07 09:36:25,991 - INFO - Domain Default found not creating 2025-01-07 09:36:26,151 - INFO - Project ctest-TestBasicVMVNx-24627975 not found, creating it 2025-01-07 09:36:26,625 - INFO - Created Project:ctest-TestBasicVMVNx-24627975, ID : 56d202dd-4d55-48b5-9f4a-7f0e9b02bbbd 2025-01-07 09:36:28,086 - INFO - ================================================================================ 2025-01-07 09:36:28,087 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-07 09:36:28,087 - 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-07 09:36:28,353 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.7': '0'}} with 2025-01-07 09:36:28,353 - INFO - Initial checks done. Running the testcase now 2025-01-07 09:36:28,353 - INFO - 2025-01-07 09:36:28,962 - DEBUG - Response for create_network : {'network': {'id': 'b24c6bdd-5ef0-4212-a423-9096353c0db6', 'name': 'ctest-vn-72321913', 'tenant_id': '56d202dd4d5548b59f4a7f0e9b02bbbd', 'project_id': '56d202dd4d5548b59f4a7f0e9b02bbbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-24627975', 'ctest-vn-72321913'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 09:36:29,166 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b391cb18-f752-4b09-a5ed-2c14144e3d5a', 'name': '', 'tenant_id': '56d202dd4d5548b59f4a7f0e9b02bbbd', 'network_id': 'b24c6bdd-5ef0-4212-a423-9096353c0db6', 'ip_version': 4, 'cidr': '125.71.38.0/26', 'allocation_pools': [{'start': '125.71.38.2', 'end': '125.71.38.62'}], 'gateway_ip': '125.71.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.71.38.2', 'tags': [], 'project_id': '56d202dd4d5548b59f4a7f0e9b02bbbd'}} 2025-01-07 09:36:29,186 - INFO - Created VN ctest-vn-72321913 2025-01-07 09:36:29,241 - DEBUG - VN ctest-vn-72321913 UUID is b24c6bdd-5ef0-4212-a423-9096353c0db6 2025-01-07 09:36:29,416 - DEBUG - Services list from nova: [, , ] 2025-01-07 09:36:30,495 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2544-1) 2025-01-07 09:36:31,723 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2544-1) 2025-01-07 09:36:31,723 - INFO - Waiting for VM ctest-TestBasicVMVNx-24627975-58311343 to be up.. 2025-01-07 09:36:31,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 09:36:36,920 - DEBUG - VM is in ACTIVE state now 2025-01-07 09:36:36,920 - INFO - VM name : ctest-TestBasicVMVNx-24627975-58311343 2025-01-07 09:36:37,019 - DEBUG - VM ctest-TestBasicVMVNx-24627975-58311343 ID is 9ac0f73c-2e41-4821-a02c-14c4f7164e5c 2025-01-07 09:36:37,038 - DEBUG - VM ctest-TestBasicVMVNx-24627975-58311343 launched on Node cn-jenkins-deploy-platform-ansible-os-2544-1 2025-01-07 09:36:37,126 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/9ac0f73c-2e41-4821-a02c-14c4f7164e5c 2025-01-07 09:36:37,445 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/9ac0f73c-2e41-4821-a02c-14c4f7164e5c 2025-01-07 09:36:37,494 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/935a629f-687b-4ed2-b9a6-7b2c527b477e 2025-01-07 09:36:40,774 - 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') 2025-01-07 09:36:40,774 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24627975-58311343 failed! 2025-01-07 09:36:40,833 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-24627975:ctest-vn-72321913 is 125.71.38.1 and allocation pool is NOT set 2025-01-07 09:36:42,899 - 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=4.57 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.86 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 = 1.855/3.214/4.573/1.359 ms') 2025-01-07 09:36:42,899 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-24627975-58311343 passed 2025-01-07 09:36:43,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:36:43,061 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24627975-58311343, IP 125.71.38.3, Port 22 2025-01-07 09:36:43,217 - DEBUG - VM ctest-TestBasicVMVNx-24627975-58311343 is ready for SSH connections 2025-01-07 09:36:43,217 - INFO - Waiting for VM ctest-TestBasicVMVNx-24627975-28478079 to be up.. 2025-01-07 09:36:43,306 - DEBUG - VM is in ACTIVE state now 2025-01-07 09:36:43,307 - INFO - VM name : ctest-TestBasicVMVNx-24627975-28478079 2025-01-07 09:36:43,389 - DEBUG - VM ctest-TestBasicVMVNx-24627975-28478079 ID is db96e7b7-f724-4ea5-ad1c-966c56ecc023 2025-01-07 09:36:43,389 - DEBUG - VM ctest-TestBasicVMVNx-24627975-28478079 launched on Node cn-jenkins-deploy-platform-ansible-os-2544-1 2025-01-07 09:36:43,478 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/db96e7b7-f724-4ea5-ad1c-966c56ecc023 2025-01-07 09:36:43,489 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/ae365384-b3e7-423d-b382-f0c40d18544b 2025-01-07 09:36:44,734 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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 = 0.459/1.667/2.875/1.208 ms') 2025-01-07 09:36:44,734 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-24627975-28478079 passed 2025-01-07 09:36:44,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:36:44,889 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-24627975-28478079, IP 125.71.38.4, Port 22 2025-01-07 09:36:45,045 - DEBUG - VM ctest-TestBasicVMVNx-24627975-28478079 is ready for SSH connections 2025-01-07 09:36:45,045 - DEBUG - FILE SIZE = 1303B 2025-01-07 09:36:45,046 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-24627975-58311343 to ctest-TestBasicVMVNx-24627975-28478079 using scp 2025-01-07 09:36:45,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:36:45,066 - 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.31, gateway password: c0ntrail123 2025-01-07 09:36:45,067 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-07 09:36:47,027 - DEBUG - 1+0 records in 1+0 records out 2025-01-07 09:36:47,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:36:48,148 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-07 09:36:48,148 - DEBUG - ls -l testfile 2025-01-07 09:36:49,733 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 7 02:36 testfile 2025-01-07 09:36:49,733 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-24627975-28478079 2025-01-07 09:36:49,734 - INFO - Deleting VM ctest-TestBasicVMVNx-24627975-28478079 2025-01-07 09:36:49,807 - INFO - Deleting VM ctest-TestBasicVMVNx-24627975-58311343 2025-01-07 09:36:49,881 - INFO - Deleting VN ctest-vn-72321913 2025-01-07 09:36:49,937 - DEBUG - VN b24c6bdd-5ef0-4212-a423-9096353c0db6 still in use: Unable to complete operation on network b24c6bdd-5ef0-4212-a423-9096353c0db6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a0769af6-39a3-43db-915a-9d598341efcb'] 2025-01-07 09:36:49,937 - WARNING - Deleting VN ctest-vn-72321913 failed..Will retry 2025-01-07 09:36:52,101 - DEBUG - Response for deleting network () 2025-01-07 09:36:52,367 - DEBUG - No XMPP flaps were noticed during the test 2025-01-07 09:36:52,367 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-01-07 09:36:52,367 - INFO - -------------------------------------------------------------------------------- 2025-01-07 09:36:53,131 - INFO - Deleted project: ctest-TestBasicVMVNx-24627975, ID : 56d202dd-4d55-48b5-9f4a-7f0e9b02bbbd