2024-09-17 10:40:42,647 - INFO - Domain Default found not creating 2024-09-17 10:40:42,826 - INFO - Project ctest-TestBasicVMVNx-91188682 not found, creating it 2024-09-17 10:40:43,325 - INFO - Created Project:ctest-TestBasicVMVNx-91188682, ID : e991d32d-db31-4403-af3b-66f10c2b4434 2024-09-17 10:40:44,868 - INFO - ================================================================================ 2024-09-17 10:40:44,868 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-17 10:40:44,868 - 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-17 10:40:45,125 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.21': '0'}} with 2024-09-17 10:40:45,125 - INFO - Initial checks done. Running the testcase now 2024-09-17 10:40:45,125 - INFO - 2024-09-17 10:40:45,726 - DEBUG - Response for create_network : {'network': {'id': '9804d68a-22de-4f09-996f-225e35456a25', 'name': 'ctest-vn-41275185', 'tenant_id': 'e991d32ddb314403af3b66f10c2b4434', 'project_id': 'e991d32ddb314403af3b66f10c2b4434', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-91188682', 'ctest-vn-41275185'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 10:40:45,916 - DEBUG - Response for create_subnet : {'subnet': {'id': '49885c76-e4df-46df-9bc6-c9af289e7aa3', 'name': '', 'tenant_id': 'e991d32ddb314403af3b66f10c2b4434', 'network_id': '9804d68a-22de-4f09-996f-225e35456a25', 'ip_version': 4, 'cidr': '155.191.130.64/26', 'allocation_pools': [{'start': '155.191.130.66', 'end': '155.191.130.126'}], 'gateway_ip': '155.191.130.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.191.130.66', 'tags': [], 'project_id': 'e991d32ddb314403af3b66f10c2b4434'}} 2024-09-17 10:40:45,937 - INFO - Created VN ctest-vn-41275185 2024-09-17 10:40:45,997 - DEBUG - VN ctest-vn-41275185 UUID is 9804d68a-22de-4f09-996f-225e35456a25 2024-09-17 10:40:46,188 - DEBUG - Services list from nova: [, , ] 2024-09-17 10:40:47,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1960-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1960-1) 2024-09-17 10:40:48,433 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1960-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1960-1) 2024-09-17 10:40:48,433 - INFO - Waiting for VM ctest-TestBasicVMVNx-91188682-73048996 to be up.. 2024-09-17 10:40:48,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 10:40:53,607 - DEBUG - VM is in ACTIVE state now 2024-09-17 10:40:53,607 - INFO - VM name : ctest-TestBasicVMVNx-91188682-73048996 2024-09-17 10:40:53,699 - DEBUG - VM ctest-TestBasicVMVNx-91188682-73048996 ID is 350b5080-3ad8-4407-bd70-a10863f96e3b 2024-09-17 10:40:53,722 - DEBUG - VM ctest-TestBasicVMVNx-91188682-73048996 launched on Node cn-jenkins-deploy-platform-ansible-os-1960-1 2024-09-17 10:40:53,806 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/350b5080-3ad8-4407-bd70-a10863f96e3b 2024-09-17 10:40:54,107 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/350b5080-3ad8-4407-bd70-a10863f96e3b 2024-09-17 10:40:54,147 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d3516630-11d6-4125-b817-c881a93f7500 2024-09-17 10:40:57,431 - 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-17 10:40:57,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91188682-73048996 failed! 2024-09-17 10:40:57,493 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-91188682:ctest-vn-41275185 is 155.191.130.65 and allocation pool is NOT set 2024-09-17 10:40:59,561 - 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=3.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.483 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.483/2.124/3.766/1.641 ms') 2024-09-17 10:40:59,561 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-91188682-73048996 passed 2024-09-17 10:40:59,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 10:40:59,721 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91188682-73048996, IP 155.191.130.67, Port 22 2024-09-17 10:40:59,880 - DEBUG - VM ctest-TestBasicVMVNx-91188682-73048996 is ready for SSH connections 2024-09-17 10:40:59,881 - INFO - Waiting for VM ctest-TestBasicVMVNx-91188682-97955927 to be up.. 2024-09-17 10:41:00,003 - DEBUG - VM is in ACTIVE state now 2024-09-17 10:41:00,003 - INFO - VM name : ctest-TestBasicVMVNx-91188682-97955927 2024-09-17 10:41:00,124 - DEBUG - VM ctest-TestBasicVMVNx-91188682-97955927 ID is 99c38cdf-3798-4fad-a0b9-75c96affaca7 2024-09-17 10:41:00,124 - DEBUG - VM ctest-TestBasicVMVNx-91188682-97955927 launched on Node cn-jenkins-deploy-platform-ansible-os-1960-1 2024-09-17 10:41:00,219 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/99c38cdf-3798-4fad-a0b9-75c96affaca7 2024-09-17 10:41:00,230 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c35c21fc-c043-4d15-be73-cc4426ffd4ee 2024-09-17 10:41:01,488 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 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.520/1.750/2.981/1.230 ms') 2024-09-17 10:41:01,488 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-91188682-97955927 passed 2024-09-17 10:41:01,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 10:41:01,649 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-91188682-97955927, IP 155.191.130.68, Port 22 2024-09-17 10:41:01,821 - DEBUG - VM ctest-TestBasicVMVNx-91188682-97955927 is ready for SSH connections 2024-09-17 10:41:01,821 - DEBUG - FILE SIZE = 1303B 2024-09-17 10:41:01,821 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-91188682-73048996 to ctest-TestBasicVMVNx-91188682-97955927 using scp 2024-09-17 10:41:01,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 10:41:01,829 - 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.33, gateway password: c0ntrail123 2024-09-17 10:41:01,829 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-17 10:41:03,801 - DEBUG - 1+0 records in 1+0 records out 2024-09-17 10:41:04,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 10:41:04,979 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2024-09-17 10:41:04,980 - DEBUG - ls -l testfile 2024-09-17 10:41:06,562 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 17 04:41 testfile 2024-09-17 10:41:06,562 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-91188682-97955927 2024-09-17 10:41:06,562 - INFO - Deleting VM ctest-TestBasicVMVNx-91188682-97955927 2024-09-17 10:41:06,633 - INFO - Deleting VM ctest-TestBasicVMVNx-91188682-73048996 2024-09-17 10:41:06,704 - INFO - Deleting VN ctest-vn-41275185 2024-09-17 10:41:06,746 - DEBUG - VN 9804d68a-22de-4f09-996f-225e35456a25 still in use: Unable to complete operation on network 9804d68a-22de-4f09-996f-225e35456a25. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e5802dfb-f585-4105-8232-2e4b98a6e4da'] 2024-09-17 10:41:06,746 - WARNING - Deleting VN ctest-vn-41275185 failed..Will retry 2024-09-17 10:41:08,895 - DEBUG - Response for deleting network () 2024-09-17 10:41:09,157 - DEBUG - No XMPP flaps were noticed during the test 2024-09-17 10:41:09,157 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-09-17 10:41:09,158 - INFO - -------------------------------------------------------------------------------- 2024-09-17 10:41:09,916 - INFO - Deleted project: ctest-TestBasicVMVNx-91188682, ID : e991d32d-db31-4403-af3b-66f10c2b4434