2024-09-04 14:05:14,855 - INFO - Domain Default found not creating 2024-09-04 14:05:15,035 - INFO - Project ctest-TestBasicVMVNx-07255063 not found, creating it 2024-09-04 14:05:15,545 - INFO - Created Project:ctest-TestBasicVMVNx-07255063, ID : 886844d5-03c6-42df-90f7-5cd5957d120a 2024-09-04 14:05:17,052 - INFO - ================================================================================ 2024-09-04 14:05:17,052 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-04 14:05:17,052 - 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-04 14:05:17,306 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.11': '0'}} with 2024-09-04 14:05:17,306 - INFO - Initial checks done. Running the testcase now 2024-09-04 14:05:17,306 - INFO - 2024-09-04 14:05:17,864 - DEBUG - Response for create_network : {'network': {'id': 'eeb01ada-6a61-4f3e-a0c3-7d2a2f03aa23', 'name': 'ctest-vn-18179964', 'tenant_id': '886844d503c642df90f75cd5957d120a', 'project_id': '886844d503c642df90f75cd5957d120a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07255063', 'ctest-vn-18179964'], 'port_security_enabled': True, 'description': ''}} 2024-09-04 14:05:18,059 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ab333af-224d-4ec6-b88c-cccb47086c47', 'name': '', 'tenant_id': '886844d503c642df90f75cd5957d120a', 'network_id': 'eeb01ada-6a61-4f3e-a0c3-7d2a2f03aa23', 'ip_version': 4, 'cidr': '67.252.246.128/26', 'allocation_pools': [{'start': '67.252.246.130', 'end': '67.252.246.190'}], 'gateway_ip': '67.252.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '67.252.246.130', 'tags': [], 'project_id': '886844d503c642df90f75cd5957d120a'}} 2024-09-04 14:05:18,078 - INFO - Created VN ctest-vn-18179964 2024-09-04 14:05:18,127 - DEBUG - VN ctest-vn-18179964 UUID is eeb01ada-6a61-4f3e-a0c3-7d2a2f03aa23 2024-09-04 14:05:18,290 - DEBUG - Services list from nova: [, , ] 2024-09-04 14:05:19,305 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1842-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1842-1) 2024-09-04 14:05:20,462 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1842-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1842-1) 2024-09-04 14:05:20,462 - INFO - Waiting for VM ctest-TestBasicVMVNx-07255063-16175385 to be up.. 2024-09-04 14:05:20,542 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-04 14:05:25,631 - DEBUG - VM is in ACTIVE state now 2024-09-04 14:05:25,631 - INFO - VM name : ctest-TestBasicVMVNx-07255063-16175385 2024-09-04 14:05:25,729 - DEBUG - VM ctest-TestBasicVMVNx-07255063-16175385 ID is 086efff3-1299-4218-82dc-2001f11b0fb4 2024-09-04 14:05:25,751 - DEBUG - VM ctest-TestBasicVMVNx-07255063-16175385 launched on Node cn-jenkins-deploy-platform-ansible-os-1842-1 2024-09-04 14:05:25,842 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/086efff3-1299-4218-82dc-2001f11b0fb4 2024-09-04 14:05:26,148 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/086efff3-1299-4218-82dc-2001f11b0fb4 2024-09-04 14:05:26,186 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/1627d4f2-1e3c-42ad-90e7-532894342ff9 2024-09-04 14:05:29,460 - 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 1030ms') 2024-09-04 14:05:29,460 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07255063-16175385 failed! 2024-09-04 14:05:29,516 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07255063:ctest-vn-18179964 is 67.252.246.129 and allocation pool is NOT set 2024-09-04 14:05:31,577 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.442 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.442/2.312/4.182/1.870 ms') 2024-09-04 14:05:31,577 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07255063-16175385 passed 2024-09-04 14:05:31,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:05:31,728 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07255063-16175385, IP 67.252.246.131, Port 22 2024-09-04 14:05:31,883 - DEBUG - VM ctest-TestBasicVMVNx-07255063-16175385 is ready for SSH connections 2024-09-04 14:05:31,883 - INFO - Waiting for VM ctest-TestBasicVMVNx-07255063-47394387 to be up.. 2024-09-04 14:05:31,964 - DEBUG - VM is in ACTIVE state now 2024-09-04 14:05:31,964 - INFO - VM name : ctest-TestBasicVMVNx-07255063-47394387 2024-09-04 14:05:32,043 - DEBUG - VM ctest-TestBasicVMVNx-07255063-47394387 ID is 4b901c9a-41c0-406f-98a3-1106269d51f9 2024-09-04 14:05:32,043 - DEBUG - VM ctest-TestBasicVMVNx-07255063-47394387 launched on Node cn-jenkins-deploy-platform-ansible-os-1842-1 2024-09-04 14:05:32,127 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/4b901c9a-41c0-406f-98a3-1106269d51f9 2024-09-04 14:05:32,135 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/335da04c-34ea-41b5-8455-207fe1ea7bda 2024-09-04 14:05:33,368 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.529/2.624/1.095 ms') 2024-09-04 14:05:33,368 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07255063-47394387 passed 2024-09-04 14:05:33,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:05:33,524 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07255063-47394387, IP 67.252.246.132, Port 22 2024-09-04 14:05:33,682 - DEBUG - VM ctest-TestBasicVMVNx-07255063-47394387 is ready for SSH connections 2024-09-04 14:05:33,683 - DEBUG - FILE SIZE = 1303B 2024-09-04 14:05:33,683 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07255063-16175385 to ctest-TestBasicVMVNx-07255063-47394387 using scp 2024-09-04 14:05:33,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:05:33,690 - 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.31, gateway password: c0ntrail123 2024-09-04 14:05:33,690 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-04 14:05:35,663 - DEBUG - 1+0 records in 1+0 records out 2024-09-04 14:05:36,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-04 14:05:36,610 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-04 14:05:36,610 - DEBUG - ls -l testfile 2024-09-04 14:05:38,199 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 4 08:05 testfile 2024-09-04 14:05:38,199 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-07255063-47394387 2024-09-04 14:05:38,199 - INFO - Deleting VM ctest-TestBasicVMVNx-07255063-47394387 2024-09-04 14:05:38,273 - INFO - Deleting VM ctest-TestBasicVMVNx-07255063-16175385 2024-09-04 14:05:38,344 - INFO - Deleting VN ctest-vn-18179964 2024-09-04 14:05:38,388 - DEBUG - VN eeb01ada-6a61-4f3e-a0c3-7d2a2f03aa23 still in use: Unable to complete operation on network eeb01ada-6a61-4f3e-a0c3-7d2a2f03aa23. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-99937150-cc9b-420c-889d-6c9ab4af352d'] 2024-09-04 14:05:38,388 - WARNING - Deleting VN ctest-vn-18179964 failed..Will retry 2024-09-04 14:05:40,524 - DEBUG - Response for deleting network () 2024-09-04 14:05:40,785 - DEBUG - No XMPP flaps were noticed during the test 2024-09-04 14:05:40,785 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2024-09-04 14:05:40,785 - INFO - -------------------------------------------------------------------------------- 2024-09-04 14:05:41,467 - INFO - Deleted project: ctest-TestBasicVMVNx-07255063, ID : 886844d5-03c6-42df-90f7-5cd5957d120a