2025-03-27 01:13:41,810 - INFO - Domain Default found not creating 2025-03-27 01:13:41,988 - INFO - Project ctest-TestBasicVMVNx-06388545 not found, creating it 2025-03-27 01:13:42,498 - INFO - Created Project:ctest-TestBasicVMVNx-06388545, ID : b752da56-cb9c-4403-94e0-b0eec3f71d9a 2025-03-27 01:13:44,167 - INFO - ================================================================================ 2025-03-27 01:13:44,167 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-03-27 01:13:44,167 - 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-03-27 01:13:44,443 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.12': '0'}} with 2025-03-27 01:13:44,443 - INFO - Initial checks done. Running the testcase now 2025-03-27 01:13:44,443 - INFO - 2025-03-27 01:13:45,044 - DEBUG - Response for create_network : {'network': {'id': '52265165-b99b-4add-b5ba-df3b83c73988', 'name': 'ctest-vn-86160410', 'tenant_id': 'b752da56cb9c440394e0b0eec3f71d9a', 'project_id': 'b752da56cb9c440394e0b0eec3f71d9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-06388545', 'ctest-vn-86160410'], 'port_security_enabled': True, 'description': ''}} 2025-03-27 01:13:45,252 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ea1a495-e3de-40ce-b3f1-1b1c0373bbd9', 'name': '', 'tenant_id': 'b752da56cb9c440394e0b0eec3f71d9a', 'network_id': '52265165-b99b-4add-b5ba-df3b83c73988', 'ip_version': 4, 'cidr': '29.174.134.0/26', 'allocation_pools': [{'start': '29.174.134.2', 'end': '29.174.134.62'}], 'gateway_ip': '29.174.134.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.174.134.2', 'tags': [], 'project_id': 'b752da56cb9c440394e0b0eec3f71d9a'}} 2025-03-27 01:13:45,275 - INFO - Created VN ctest-vn-86160410 2025-03-27 01:13:45,336 - DEBUG - VN ctest-vn-86160410 UUID is 52265165-b99b-4add-b5ba-df3b83c73988 2025-03-27 01:13:45,527 - DEBUG - Services list from nova: [, , ] 2025-03-27 01:13:46,625 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2963-1) 2025-03-27 01:13:47,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2963-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2963-1) 2025-03-27 01:13:47,843 - INFO - Waiting for VM ctest-TestBasicVMVNx-06388545-45254826 to be up.. 2025-03-27 01:13:47,950 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-27 01:13:53,045 - DEBUG - VM is in ACTIVE state now 2025-03-27 01:13:53,045 - INFO - VM name : ctest-TestBasicVMVNx-06388545-45254826 2025-03-27 01:13:53,137 - DEBUG - VM ctest-TestBasicVMVNx-06388545-45254826 ID is 88b9be38-d580-465b-9e5d-c4a6567dc3c0 2025-03-27 01:13:53,161 - DEBUG - VM ctest-TestBasicVMVNx-06388545-45254826 launched on Node cn-jenkins-deploy-platform-ansible-os-2963-1 2025-03-27 01:13:53,257 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/88b9be38-d580-465b-9e5d-c4a6567dc3c0 2025-03-27 01:13:53,570 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/88b9be38-d580-465b-9e5d-c4a6567dc3c0 2025-03-27 01:13:53,615 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/21bf26f0-d22f-447e-9369-f00a7dfdf206 2025-03-27 01:13:56,894 - 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 1014ms') 2025-03-27 01:13:56,894 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06388545-45254826 failed! 2025-03-27 01:13:56,956 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-06388545:ctest-vn-86160410 is 29.174.134.1 and allocation pool is NOT set 2025-03-27 01:13:59,025 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.04 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.038/3.799/5.561/1.761 ms') 2025-03-27 01:13:59,025 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06388545-45254826 passed 2025-03-27 01:13:59,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 01:13:59,181 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06388545-45254826, IP 29.174.134.3, Port 22 2025-03-27 01:13:59,351 - DEBUG - VM ctest-TestBasicVMVNx-06388545-45254826 is ready for SSH connections 2025-03-27 01:13:59,351 - INFO - Waiting for VM ctest-TestBasicVMVNx-06388545-07750615 to be up.. 2025-03-27 01:13:59,462 - DEBUG - VM is in ACTIVE state now 2025-03-27 01:13:59,463 - INFO - VM name : ctest-TestBasicVMVNx-06388545-07750615 2025-03-27 01:13:59,560 - DEBUG - VM ctest-TestBasicVMVNx-06388545-07750615 ID is aa975557-d95f-44bc-ba78-6aaa89c428d1 2025-03-27 01:13:59,560 - DEBUG - VM ctest-TestBasicVMVNx-06388545-07750615 launched on Node cn-jenkins-deploy-platform-ansible-os-2963-1 2025-03-27 01:13:59,651 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/aa975557-d95f-44bc-ba78-6aaa89c428d1 2025-03-27 01:13:59,663 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/4563fac1-2492-42af-9589-69b28639a0bd 2025-03-27 01:14:00,927 - 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=3.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.712 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.712/2.012/3.312/1.300 ms') 2025-03-27 01:14:00,927 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-06388545-07750615 passed 2025-03-27 01:14:01,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 01:14:01,080 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06388545-07750615, IP 29.174.134.4, Port 22 2025-03-27 01:14:01,244 - DEBUG - VM ctest-TestBasicVMVNx-06388545-07750615 is ready for SSH connections 2025-03-27 01:14:01,244 - DEBUG - FILE SIZE = 1303B 2025-03-27 01:14:01,244 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-06388545-45254826 to ctest-TestBasicVMVNx-06388545-07750615 using scp 2025-03-27 01:14:01,245 - 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.28, gateway password: c0ntrail123 2025-03-27 01:14:01,245 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-03-27 01:14:03,285 - DEBUG - 1+0 records in 1+0 records out 2025-03-27 01:14:04,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-27 01:14:04,451 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-03-27 01:14:04,451 - DEBUG - ls -l testfile 2025-03-27 01:14:06,064 - DEBUG - -rw------- 1 cirros cirros 1303 Mar 26 19:14 testfile 2025-03-27 01:14:06,064 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-06388545-07750615 2025-03-27 01:14:06,065 - INFO - Deleting VM ctest-TestBasicVMVNx-06388545-07750615 2025-03-27 01:14:06,148 - INFO - Deleting VM ctest-TestBasicVMVNx-06388545-45254826 2025-03-27 01:14:06,235 - INFO - Deleting VN ctest-vn-86160410 2025-03-27 01:14:06,285 - DEBUG - VN 52265165-b99b-4add-b5ba-df3b83c73988 still in use: Unable to complete operation on network 52265165-b99b-4add-b5ba-df3b83c73988. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a86783eb-d8c8-457c-ad92-6619533aa82a'] 2025-03-27 01:14:06,286 - WARNING - Deleting VN ctest-vn-86160410 failed..Will retry 2025-03-27 01:14:08,453 - DEBUG - Response for deleting network () 2025-03-27 01:14:08,716 - DEBUG - No XMPP flaps were noticed during the test
2025-03-27 01:14:08,716 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-03-27 01:14:08,716 - INFO - -------------------------------------------------------------------------------- 2025-03-27 01:14:09,491 - INFO - Deleted project: ctest-TestBasicVMVNx-06388545, ID : b752da56-cb9c-4403-94e0-b0eec3f71d9a