2025-04-30 14:43:41,963 - INFO - Domain Default found not creating 2025-04-30 14:43:42,085 - INFO - Project ctest-TestBasicVMVNx-03289814 not found, creating it 2025-04-30 14:43:42,500 - INFO - Created Project:ctest-TestBasicVMVNx-03289814, ID : dc06f739-4835-46ab-bac5-16439ae304db 2025-04-30 14:43:43,829 - INFO - ================================================================================ 2025-04-30 14:43:43,829 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-30 14:43:43,829 - 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-04-30 14:43:44,082 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-30 14:43:44,082 - INFO - Initial checks done. Running the testcase now 2025-04-30 14:43:44,082 - INFO - 2025-04-30 14:43:44,612 - DEBUG - Response for create_network : {'network': {'id': '18d01ded-3d6e-4089-8212-a98ce403a499', 'name': 'ctest-vn-48057949', 'tenant_id': 'dc06f739483546abbac516439ae304db', 'project_id': 'dc06f739483546abbac516439ae304db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-03289814', 'ctest-vn-48057949'], 'port_security_enabled': True, 'description': ''}} 2025-04-30 14:43:44,761 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc15f607-ba15-41a0-851d-3a430bc17b5f', 'name': '', 'tenant_id': 'dc06f739483546abbac516439ae304db', 'network_id': '18d01ded-3d6e-4089-8212-a98ce403a499', 'ip_version': 4, 'cidr': '49.225.181.128/26', 'allocation_pools': [{'start': '49.225.181.130', 'end': '49.225.181.190'}], 'gateway_ip': '49.225.181.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.225.181.130', 'tags': [], 'project_id': 'dc06f739483546abbac516439ae304db'}} 2025-04-30 14:43:44,776 - INFO - Created VN ctest-vn-48057949 2025-04-30 14:43:44,825 - DEBUG - VN ctest-vn-48057949 UUID is 18d01ded-3d6e-4089-8212-a98ce403a499 2025-04-30 14:43:45,009 - DEBUG - Services list from nova: [, , ] 2025-04-30 14:43:45,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3249-1) 2025-04-30 14:43:46,981 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3249-1) 2025-04-30 14:43:46,982 - INFO - Waiting for VM ctest-TestBasicVMVNx-03289814-53954778 to be up.. 2025-04-30 14:43:47,050 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-30 14:43:52,119 - DEBUG - VM is in ACTIVE state now 2025-04-30 14:43:52,119 - INFO - VM name : ctest-TestBasicVMVNx-03289814-53954778 2025-04-30 14:43:52,186 - DEBUG - VM ctest-TestBasicVMVNx-03289814-53954778 ID is 4d96025f-aecc-4910-b3ec-e53ecb930745 2025-04-30 14:43:52,203 - DEBUG - VM ctest-TestBasicVMVNx-03289814-53954778 launched on Node cn-jenkins-deploy-platform-ansible-os-3249-1 2025-04-30 14:43:52,268 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4d96025f-aecc-4910-b3ec-e53ecb930745 2025-04-30 14:43:52,564 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4d96025f-aecc-4910-b3ec-e53ecb930745 2025-04-30 14:43:52,592 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/371b4f22-f2f6-4517-bdc0-61581015e1e2 2025-04-30 14:43:55,857 - 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 1028ms') 2025-04-30 14:43:55,857 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03289814-53954778 failed! 2025-04-30 14:43:55,913 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-03289814:ctest-vn-48057949 is 49.225.181.129 and allocation pool is NOT set 2025-04-30 14:43:57,977 - 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.361 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 = 0.361/1.565/2.769/1.204 ms') 2025-04-30 14:43:57,977 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-03289814-53954778 passed 2025-04-30 14:43:58,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 14:43:58,133 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03289814-53954778, IP 49.225.181.131, Port 22 2025-04-30 14:43:58,288 - DEBUG - VM ctest-TestBasicVMVNx-03289814-53954778 is ready for SSH connections 2025-04-30 14:43:58,288 - INFO - Waiting for VM ctest-TestBasicVMVNx-03289814-02410697 to be up.. 2025-04-30 14:43:58,356 - DEBUG - VM is in ACTIVE state now 2025-04-30 14:43:58,356 - INFO - VM name : ctest-TestBasicVMVNx-03289814-02410697 2025-04-30 14:43:58,422 - DEBUG - VM ctest-TestBasicVMVNx-03289814-02410697 ID is 7baaf3de-8d03-492d-b7fd-3852775a3cad 2025-04-30 14:43:58,422 - DEBUG - VM ctest-TestBasicVMVNx-03289814-02410697 launched on Node cn-jenkins-deploy-platform-ansible-os-3249-1 2025-04-30 14:43:58,573 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7baaf3de-8d03-492d-b7fd-3852775a3cad 2025-04-30 14:43:58,580 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d9609a19-31f2-4c89-9ac9-c3a81759d502 2025-04-30 14:43:59,813 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.447 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.447/1.492/2.537/1.045 ms') 2025-04-30 14:43:59,813 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-03289814-02410697 passed 2025-04-30 14:43:59,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 14:43:59,965 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-03289814-02410697, IP 49.225.181.132, Port 22 2025-04-30 14:44:00,124 - DEBUG - VM ctest-TestBasicVMVNx-03289814-02410697 is ready for SSH connections 2025-04-30 14:44:00,124 - DEBUG - FILE SIZE = 1303B 2025-04-30 14:44:00,124 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-03289814-53954778 to ctest-TestBasicVMVNx-03289814-02410697 using scp 2025-04-30 14:44:00,125 - 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.38, gateway password: c0ntrail123 2025-04-30 14:44:00,125 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-30 14:44:01,966 - DEBUG - 1+0 records in 1+0 records out 2025-04-30 14:44:02,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-30 14:44:02,856 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-30 14:44:02,856 - DEBUG - ls -l testfile 2025-04-30 14:44:04,411 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 30 08:44 testfile 2025-04-30 14:44:04,411 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-03289814-02410697 2025-04-30 14:44:04,412 - INFO - Deleting VM ctest-TestBasicVMVNx-03289814-02410697 2025-04-30 14:44:04,474 - INFO - Deleting VM ctest-TestBasicVMVNx-03289814-53954778 2025-04-30 14:44:04,538 - INFO - Deleting VN ctest-vn-48057949 2025-04-30 14:44:04,572 - DEBUG - VN 18d01ded-3d6e-4089-8212-a98ce403a499 still in use: Unable to complete operation on network 18d01ded-3d6e-4089-8212-a98ce403a499. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-800b82f2-d59b-4f4a-b7d0-be822501dd1a'] 2025-04-30 14:44:04,572 - WARNING - Deleting VN ctest-vn-48057949 failed..Will retry 2025-04-30 14:44:06,674 - DEBUG - Response for deleting network () 2025-04-30 14:44:06,943 - DEBUG - No XMPP flaps were noticed during the test 2025-04-30 14:44:06,943 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-04-30 14:44:06,943 - INFO - -------------------------------------------------------------------------------- 2025-04-30 14:44:07,600 - INFO - Deleted project: ctest-TestBasicVMVNx-03289814, ID : dc06f739-4835-46ab-bac5-16439ae304db