2024-09-11 16:10:08,694 - INFO - Domain Default found not creating 2024-09-11 16:10:08,875 - INFO - Project ctest-TestBasicVMVNx-05833236 not found, creating it 2024-09-11 16:10:09,392 - INFO - Created Project:ctest-TestBasicVMVNx-05833236, ID : ab2b1329-0e23-48a4-9d51-f71385f1bf64 2024-09-11 16:10:10,926 - INFO - ================================================================================ 2024-09-11 16:10:10,927 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-11 16:10:10,927 - 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-09-11 16:10:11,186 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2024-09-11 16:10:11,187 - INFO - Initial checks done. Running the testcase now 2024-09-11 16:10:11,187 - INFO - 2024-09-11 16:10:11,783 - DEBUG - Response for create_network : {'network': {'id': '78aaf584-8abd-4cc2-a550-7eaded7de34b', 'name': 'ctest-vn-41392017', 'tenant_id': 'ab2b13290e2348a49d51f71385f1bf64', 'project_id': 'ab2b13290e2348a49d51f71385f1bf64', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-05833236', 'ctest-vn-41392017'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 16:10:12,017 - DEBUG - Response for create_subnet : {'subnet': {'id': '8e7aafe0-8d0c-4a3d-8103-64020a1c1526', 'name': '', 'tenant_id': 'ab2b13290e2348a49d51f71385f1bf64', 'network_id': '78aaf584-8abd-4cc2-a550-7eaded7de34b', 'ip_version': 4, 'cidr': '128.28.146.64/26', 'allocation_pools': [{'start': '128.28.146.66', 'end': '128.28.146.126'}], 'gateway_ip': '128.28.146.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.28.146.66', 'tags': [], 'project_id': 'ab2b13290e2348a49d51f71385f1bf64'}} 2024-09-11 16:10:12,038 - INFO - Created VN ctest-vn-41392017 2024-09-11 16:10:12,100 - DEBUG - VN ctest-vn-41392017 UUID is 78aaf584-8abd-4cc2-a550-7eaded7de34b 2024-09-11 16:10:12,282 - DEBUG - Services list from nova: [, , ] 2024-09-11 16:10:13,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1898-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1898-1) 2024-09-11 16:10:14,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1898-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1898-1) 2024-09-11 16:10:14,481 - INFO - Waiting for VM ctest-TestBasicVMVNx-05833236-73751785 to be up.. 2024-09-11 16:10:14,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-11 16:10:19,669 - DEBUG - VM is in ACTIVE state now 2024-09-11 16:10:19,669 - INFO - VM name : ctest-TestBasicVMVNx-05833236-73751785 2024-09-11 16:10:19,755 - DEBUG - VM ctest-TestBasicVMVNx-05833236-73751785 ID is 24ab8632-73ff-4478-adc6-739c87c5ad70 2024-09-11 16:10:19,775 - DEBUG - VM ctest-TestBasicVMVNx-05833236-73751785 launched on Node cn-jenkins-deploy-platform-ansible-os-1898-1 2024-09-11 16:10:19,861 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/24ab8632-73ff-4478-adc6-739c87c5ad70 2024-09-11 16:10:20,158 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/24ab8632-73ff-4478-adc6-739c87c5ad70 2024-09-11 16:10:20,198 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a0b56329-5bec-4a10-9272-ae93c5260c78 2024-09-11 16:10:23,475 - 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 1023ms') 2024-09-11 16:10:23,475 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05833236-73751785 failed! 2024-09-11 16:10:23,540 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-05833236:ctest-vn-41392017 is 128.28.146.65 and allocation pool is NOT set 2024-09-11 16:10:25,597 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/2.263/4.107/1.844 ms') 2024-09-11 16:10:25,597 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05833236-73751785 passed 2024-09-11 16:10:25,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 16:10:25,757 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05833236-73751785, IP 128.28.146.67, Port 22 2024-09-11 16:10:25,911 - DEBUG - VM ctest-TestBasicVMVNx-05833236-73751785 is ready for SSH connections 2024-09-11 16:10:25,912 - INFO - Waiting for VM ctest-TestBasicVMVNx-05833236-39101910 to be up.. 2024-09-11 16:10:25,995 - DEBUG - VM is in ACTIVE state now 2024-09-11 16:10:25,995 - INFO - VM name : ctest-TestBasicVMVNx-05833236-39101910 2024-09-11 16:10:26,082 - DEBUG - VM ctest-TestBasicVMVNx-05833236-39101910 ID is 16c2be92-0be3-40cd-ab99-7284fab01a13 2024-09-11 16:10:26,082 - DEBUG - VM ctest-TestBasicVMVNx-05833236-39101910 launched on Node cn-jenkins-deploy-platform-ansible-os-1898-1 2024-09-11 16:10:26,169 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/16c2be92-0be3-40cd-ab99-7284fab01a13 2024-09-11 16:10:26,180 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b3dc1cc4-50a9-4432-ae10-0e7df398eb14 2024-09-11 16:10:27,436 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.684 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.684/2.304/3.924/1.620 ms') 2024-09-11 16:10:27,436 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-05833236-39101910 passed 2024-09-11 16:10:27,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 16:10:27,597 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05833236-39101910, IP 128.28.146.68, Port 22 2024-09-11 16:10:27,751 - DEBUG - VM ctest-TestBasicVMVNx-05833236-39101910 is ready for SSH connections 2024-09-11 16:10:27,752 - DEBUG - FILE SIZE = 1303B 2024-09-11 16:10:27,752 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-05833236-73751785 to ctest-TestBasicVMVNx-05833236-39101910 using scp 2024-09-11 16:10:27,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 16:10:27,760 - 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.27, gateway password: c0ntrail123 2024-09-11 16:10:27,760 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-11 16:10:29,668 - DEBUG - 1+0 records in 1+0 records out 2024-09-11 16:10:30,465 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 16:10:30,803 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2024-09-11 16:10:30,803 - DEBUG - ls -l testfile 2024-09-11 16:10:32,574 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 11 10:10 testfile 2024-09-11 16:10:32,575 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-05833236-39101910 2024-09-11 16:10:32,575 - INFO - Deleting VM ctest-TestBasicVMVNx-05833236-39101910 2024-09-11 16:10:32,659 - INFO - Deleting VM ctest-TestBasicVMVNx-05833236-73751785 2024-09-11 16:10:32,738 - INFO - Deleting VN ctest-vn-41392017 2024-09-11 16:10:32,780 - DEBUG - VN 78aaf584-8abd-4cc2-a550-7eaded7de34b still in use: Unable to complete operation on network 78aaf584-8abd-4cc2-a550-7eaded7de34b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-67c9fca0-d43e-4150-957d-9663b2c32179'] 2024-09-11 16:10:32,780 - WARNING - Deleting VN ctest-vn-41392017 failed..Will retry 2024-09-11 16:10:34,903 - DEBUG - Response for deleting network () 2024-09-11 16:10:35,159 - DEBUG - No XMPP flaps were noticed during the test 2024-09-11 16:10:35,159 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-09-11 16:10:35,159 - INFO - -------------------------------------------------------------------------------- 2024-09-11 16:10:35,920 - INFO - Deleted project: ctest-TestBasicVMVNx-05833236, ID : ab2b1329-0e23-48a4-9d51-f71385f1bf64