2025-02-13 02:40:42,256 - INFO - Domain Default found not creating 2025-02-13 02:40:42,442 - INFO - Project ctest-TestBasicVMVNx-66387724 not found, creating it 2025-02-13 02:40:42,910 - INFO - Created Project:ctest-TestBasicVMVNx-66387724, ID : 338c5a94-58aa-498d-9e6c-016330e0bfc3 2025-02-13 02:40:44,331 - INFO - ================================================================================ 2025-02-13 02:40:44,332 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-13 02:40:44,332 - 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-02-13 02:40:44,585 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.5': '0'}} with 2025-02-13 02:40:44,586 - INFO - Initial checks done. Running the testcase now 2025-02-13 02:40:44,586 - INFO - 2025-02-13 02:40:45,159 - DEBUG - Response for create_network : {'network': {'id': 'b30684c5-688f-4b32-8fbc-ee108a55754c', 'name': 'ctest-vn-69958948', 'tenant_id': '338c5a9458aa498d9e6c016330e0bfc3', 'project_id': '338c5a9458aa498d9e6c016330e0bfc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-66387724', 'ctest-vn-69958948'], 'port_security_enabled': True, 'description': ''}} 2025-02-13 02:40:45,369 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f62a71b3-3b4d-4612-b159-03e348620c34', 'name': '', 'tenant_id': '338c5a9458aa498d9e6c016330e0bfc3', 'network_id': 'b30684c5-688f-4b32-8fbc-ee108a55754c', 'ip_version': 4, 'cidr': '219.80.167.192/26', 'allocation_pools': [{'start': '219.80.167.194', 'end': '219.80.167.254'}], 'gateway_ip': '219.80.167.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.80.167.194', 'tags': [], 'project_id': '338c5a9458aa498d9e6c016330e0bfc3'}} 2025-02-13 02:40:45,388 - INFO - Created VN ctest-vn-69958948 2025-02-13 02:40:45,440 - DEBUG - VN ctest-vn-69958948 UUID is b30684c5-688f-4b32-8fbc-ee108a55754c 2025-02-13 02:40:45,618 - DEBUG - Services list from nova: [, , ] 2025-02-13 02:40:46,619 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2730-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2730-1) 2025-02-13 02:40:47,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2730-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2730-1) 2025-02-13 02:40:47,713 - INFO - Waiting for VM ctest-TestBasicVMVNx-66387724-04557223 to be up.. 2025-02-13 02:40:47,793 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-13 02:40:52,873 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:40:52,873 - INFO - VM name : ctest-TestBasicVMVNx-66387724-04557223 2025-02-13 02:40:52,943 - DEBUG - VM ctest-TestBasicVMVNx-66387724-04557223 ID is 32707d76-8ed4-4468-a10d-8699fa3fac8d 2025-02-13 02:40:52,960 - DEBUG - VM ctest-TestBasicVMVNx-66387724-04557223 launched on Node cn-jenkins-deploy-platform-ansible-os-2730-1 2025-02-13 02:40:53,030 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/32707d76-8ed4-4468-a10d-8699fa3fac8d 2025-02-13 02:40:53,323 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/32707d76-8ed4-4468-a10d-8699fa3fac8d 2025-02-13 02:40:53,358 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/e9a9b0b9-4ad6-4568-bf2f-0ed126c721a1 2025-02-13 02:40:56,612 - 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 1018ms') 2025-02-13 02:40:56,613 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66387724-04557223 failed! 2025-02-13 02:40:56,668 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-66387724:ctest-vn-69958948 is 219.80.167.193 and allocation pool is NOT set 2025-02-13 02:40:58,729 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.395 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.395/1.580/2.765/1.185 ms') 2025-02-13 02:40:58,729 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-66387724-04557223 passed 2025-02-13 02:40:58,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:40:58,880 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66387724-04557223, IP 219.80.167.195, Port 22 2025-02-13 02:40:59,035 - DEBUG - VM ctest-TestBasicVMVNx-66387724-04557223 is ready for SSH connections 2025-02-13 02:40:59,035 - INFO - Waiting for VM ctest-TestBasicVMVNx-66387724-44553807 to be up.. 2025-02-13 02:40:59,110 - DEBUG - VM is in ACTIVE state now 2025-02-13 02:40:59,110 - INFO - VM name : ctest-TestBasicVMVNx-66387724-44553807 2025-02-13 02:40:59,184 - DEBUG - VM ctest-TestBasicVMVNx-66387724-44553807 ID is bd04d663-34b5-442a-91d2-b573392bae88 2025-02-13 02:40:59,184 - DEBUG - VM ctest-TestBasicVMVNx-66387724-44553807 launched on Node cn-jenkins-deploy-platform-ansible-os-2730-1 2025-02-13 02:40:59,261 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/bd04d663-34b5-442a-91d2-b573392bae88 2025-02-13 02:40:59,270 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/03237319-defe-4883-b078-a7cefaa00582 2025-02-13 02:41:00,511 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 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.380/1.635/2.890/1.255 ms') 2025-02-13 02:41:00,511 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-66387724-44553807 passed 2025-02-13 02:41:00,664 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:41:00,664 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-66387724-44553807, IP 219.80.167.196, Port 22 2025-02-13 02:41:00,820 - DEBUG - VM ctest-TestBasicVMVNx-66387724-44553807 is ready for SSH connections 2025-02-13 02:41:00,820 - DEBUG - FILE SIZE = 1303B 2025-02-13 02:41:00,820 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-66387724-04557223 to ctest-TestBasicVMVNx-66387724-44553807 using scp 2025-02-13 02:41:00,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:41:00,825 - 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 2025-02-13 02:41:00,825 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-13 02:41:02,712 - DEBUG - 1+0 records in 1+0 records out 2025-02-13 02:41:03,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-13 02:41:03,636 - 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 2025-02-13 02:41:03,637 - DEBUG - ls -l testfile 2025-02-13 02:41:05,198 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 12 19:41 testfile 2025-02-13 02:41:05,199 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-66387724-44553807 2025-02-13 02:41:05,199 - INFO - Deleting VM ctest-TestBasicVMVNx-66387724-44553807 2025-02-13 02:41:05,263 - INFO - Deleting VM ctest-TestBasicVMVNx-66387724-04557223 2025-02-13 02:41:05,328 - INFO - Deleting VN ctest-vn-69958948 2025-02-13 02:41:05,365 - DEBUG - VN b30684c5-688f-4b32-8fbc-ee108a55754c still in use: Unable to complete operation on network b30684c5-688f-4b32-8fbc-ee108a55754c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-09dec763-13cd-4ac1-9b7f-8c8b1382f81f'] 2025-02-13 02:41:05,365 - WARNING - Deleting VN ctest-vn-69958948 failed..Will retry 2025-02-13 02:41:07,468 - DEBUG - Response for deleting network () 2025-02-13 02:41:07,722 - DEBUG - No XMPP flaps were noticed during the test 2025-02-13 02:41:07,723 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-02-13 02:41:07,723 - INFO - -------------------------------------------------------------------------------- 2025-02-13 02:41:08,398 - INFO - Deleted project: ctest-TestBasicVMVNx-66387724, ID : 338c5a94-58aa-498d-9e6c-016330e0bfc3