2024-12-30 22:50:07,420 - INFO - Domain Default found not creating 2024-12-30 22:50:07,542 - INFO - Project ctest-TestBasicVMVNx-87304539 not found, creating it 2024-12-30 22:50:08,006 - INFO - Created Project:ctest-TestBasicVMVNx-87304539, ID : aca46c6e-048e-4afb-8b9e-ca1a8ad9f71b 2024-12-30 22:50:09,915 - INFO - ================================================================================ 2024-12-30 22:50:09,915 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-12-30 22:50:09,915 - 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-12-30 22:50:10,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.7': '0'}} with 2024-12-30 22:50:10,165 - INFO - Initial checks done. Running the testcase now 2024-12-30 22:50:10,165 - INFO - 2024-12-30 22:50:10,721 - DEBUG - Response for create_network : {'network': {'id': '3fea8d6f-94d6-4d43-91f1-bfb3439b2aee', 'name': 'ctest-vn-24981668', 'tenant_id': 'aca46c6e048e4afb8b9eca1a8ad9f71b', 'project_id': 'aca46c6e048e4afb8b9eca1a8ad9f71b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-87304539', 'ctest-vn-24981668'], 'port_security_enabled': True, 'description': ''}} 2024-12-30 22:50:10,890 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd4acb09-6c9b-4887-b4df-cc4ce9dee311', 'name': '', 'tenant_id': 'aca46c6e048e4afb8b9eca1a8ad9f71b', 'network_id': '3fea8d6f-94d6-4d43-91f1-bfb3439b2aee', 'ip_version': 4, 'cidr': '77.43.49.0/26', 'allocation_pools': [{'start': '77.43.49.2', 'end': '77.43.49.62'}], 'gateway_ip': '77.43.49.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.43.49.2', 'tags': [], 'project_id': 'aca46c6e048e4afb8b9eca1a8ad9f71b'}} 2024-12-30 22:50:10,905 - INFO - Created VN ctest-vn-24981668 2024-12-30 22:50:10,955 - DEBUG - VN ctest-vn-24981668 UUID is 3fea8d6f-94d6-4d43-91f1-bfb3439b2aee 2024-12-30 22:50:11,144 - DEBUG - Services list from nova: [, , ] 2024-12-30 22:50:12,087 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2504-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2504-1) 2024-12-30 22:50:13,157 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2504-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2504-1) 2024-12-30 22:50:13,157 - INFO - Waiting for VM ctest-TestBasicVMVNx-87304539-54682823 to be up.. 2024-12-30 22:50:13,230 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-12-30 22:50:18,313 - DEBUG - VM is in ACTIVE state now 2024-12-30 22:50:18,313 - INFO - VM name : ctest-TestBasicVMVNx-87304539-54682823 2024-12-30 22:50:18,392 - DEBUG - VM ctest-TestBasicVMVNx-87304539-54682823 ID is 69dd117a-3e6c-4aa6-b4c6-4f00eb1b25cf 2024-12-30 22:50:18,410 - DEBUG - VM ctest-TestBasicVMVNx-87304539-54682823 launched on Node cn-jenkins-deploy-platform-ansible-os-2504-1 2024-12-30 22:50:18,481 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/69dd117a-3e6c-4aa6-b4c6-4f00eb1b25cf 2024-12-30 22:50:18,770 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/69dd117a-3e6c-4aa6-b4c6-4f00eb1b25cf 2024-12-30 22:50:18,799 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/144af19f-09d6-4bdf-bc30-bb90c9dcc449 2024-12-30 22:50:22,062 - 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 1032ms') 2024-12-30 22:50:22,063 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87304539-54682823 failed! 2024-12-30 22:50:22,123 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-87304539:ctest-vn-24981668 is 77.43.49.1 and allocation pool is NOT set 2024-12-30 22:50:24,180 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.364 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 = 0.364/1.464/2.564/1.100 ms') 2024-12-30 22:50:24,180 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-87304539-54682823 passed 2024-12-30 22:50:24,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 22:50:24,327 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87304539-54682823, IP 77.43.49.3, Port 22 2024-12-30 22:50:24,482 - DEBUG - VM ctest-TestBasicVMVNx-87304539-54682823 is ready for SSH connections 2024-12-30 22:50:24,482 - INFO - Waiting for VM ctest-TestBasicVMVNx-87304539-55714866 to be up.. 2024-12-30 22:50:24,545 - DEBUG - VM is in ACTIVE state now 2024-12-30 22:50:24,545 - INFO - VM name : ctest-TestBasicVMVNx-87304539-55714866 2024-12-30 22:50:24,608 - DEBUG - VM ctest-TestBasicVMVNx-87304539-55714866 ID is 60178af1-dc49-40a2-8a88-a24ce41de05d 2024-12-30 22:50:24,608 - DEBUG - VM ctest-TestBasicVMVNx-87304539-55714866 launched on Node cn-jenkins-deploy-platform-ansible-os-2504-1 2024-12-30 22:50:24,674 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/60178af1-dc49-40a2-8a88-a24ce41de05d 2024-12-30 22:50:24,681 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/592a1b4c-9191-4f34-84a2-0f0ea5727edd 2024-12-30 22:50:25,918 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 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.374/1.526/2.678/1.152 ms') 2024-12-30 22:50:25,918 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-87304539-55714866 passed 2024-12-30 22:50:26,067 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 22:50:26,067 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-87304539-55714866, IP 77.43.49.4, Port 22 2024-12-30 22:50:26,218 - DEBUG - VM ctest-TestBasicVMVNx-87304539-55714866 is ready for SSH connections 2024-12-30 22:50:26,218 - DEBUG - FILE SIZE = 1303B 2024-12-30 22:50:26,218 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-87304539-54682823 to ctest-TestBasicVMVNx-87304539-55714866 using scp 2024-12-30 22:50:26,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 22:50:26,223 - 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.30, gateway password: c0ntrail123 2024-12-30 22:50:26,223 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-12-30 22:50:28,094 - DEBUG - 1+0 records in 1+0 records out 2024-12-30 22:50:28,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-12-30 22:50:28,976 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-12-30 22:50:28,976 - DEBUG - ls -l testfile 2024-12-30 22:50:30,544 - DEBUG - -rw------- 1 cirros cirros 1303 Dec 30 15:50 testfile 2024-12-30 22:50:30,544 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-87304539-55714866 2024-12-30 22:50:30,544 - INFO - Deleting VM ctest-TestBasicVMVNx-87304539-55714866 2024-12-30 22:50:30,604 - INFO - Deleting VM ctest-TestBasicVMVNx-87304539-54682823 2024-12-30 22:50:30,741 - INFO - Deleting VN ctest-vn-24981668 2024-12-30 22:50:30,776 - DEBUG - VN 3fea8d6f-94d6-4d43-91f1-bfb3439b2aee still in use: Unable to complete operation on network 3fea8d6f-94d6-4d43-91f1-bfb3439b2aee. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-84ffbb35-c11e-4354-b51d-65f47dceb1a5'] 2024-12-30 22:50:30,776 - WARNING - Deleting VN ctest-vn-24981668 failed..Will retry 2024-12-30 22:50:32,873 - DEBUG - Response for deleting network () 2024-12-30 22:50:33,133 - DEBUG - No XMPP flaps were noticed during the test
2024-12-30 22:50:33,133 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-12-30 22:50:33,133 - INFO - -------------------------------------------------------------------------------- 2024-12-30 22:50:33,832 - INFO - Deleted project: ctest-TestBasicVMVNx-87304539, ID : aca46c6e-048e-4afb-8b9e-ca1a8ad9f71b