2024-08-21 09:09:05,060 - INFO - Domain Default found not creating 2024-08-21 09:09:05,233 - INFO - Project ctest-TestBasicVMVNx-48943407 not found, creating it 2024-08-21 09:09:05,684 - INFO - Created Project:ctest-TestBasicVMVNx-48943407, ID : d903f819-f320-401d-b867-de15040d20c3 2024-08-21 09:09:07,164 - INFO - ================================================================================ 2024-08-21 09:09:07,164 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-21 09:09:07,164 - 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-08-21 09:09:07,422 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.28': '0'}} with 2024-08-21 09:09:07,422 - INFO - Initial checks done. Running the testcase now 2024-08-21 09:09:07,422 - INFO - 2024-08-21 09:09:07,983 - DEBUG - Response for create_network : {'network': {'id': '118b1889-1aa5-48b0-a7da-4020d60a5b6d', 'name': 'ctest-vn-75003505', 'tenant_id': 'd903f819f320401db867de15040d20c3', 'project_id': 'd903f819f320401db867de15040d20c3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-48943407', 'ctest-vn-75003505'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 09:09:08,146 - DEBUG - Response for create_subnet : {'subnet': {'id': 'af9259fc-5b1d-4504-8cb9-2867dba4357c', 'name': '', 'tenant_id': 'd903f819f320401db867de15040d20c3', 'network_id': '118b1889-1aa5-48b0-a7da-4020d60a5b6d', 'ip_version': 4, 'cidr': '194.189.246.192/26', 'allocation_pools': [{'start': '194.189.246.194', 'end': '194.189.246.254'}], 'gateway_ip': '194.189.246.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.189.246.194', 'tags': [], 'project_id': 'd903f819f320401db867de15040d20c3'}} 2024-08-21 09:09:08,167 - INFO - Created VN ctest-vn-75003505 2024-08-21 09:09:08,217 - DEBUG - VN ctest-vn-75003505 UUID is 118b1889-1aa5-48b0-a7da-4020d60a5b6d 2024-08-21 09:09:08,391 - DEBUG - Services list from nova: [, , ] 2024-08-21 09:09:09,433 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1680-1) 2024-08-21 09:09:10,591 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1680-1) 2024-08-21 09:09:10,592 - INFO - Waiting for VM ctest-TestBasicVMVNx-48943407-32798557 to be up.. 2024-08-21 09:09:10,681 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 09:09:15,776 - DEBUG - VM is in ACTIVE state now 2024-08-21 09:09:15,776 - INFO - VM name : ctest-TestBasicVMVNx-48943407-32798557 2024-08-21 09:09:15,865 - DEBUG - VM ctest-TestBasicVMVNx-48943407-32798557 ID is 1d45e7d3-2a6f-4f71-bd30-5f31aaa5f2fc 2024-08-21 09:09:15,886 - DEBUG - VM ctest-TestBasicVMVNx-48943407-32798557 launched on Node cn-jenkins-deploy-platform-ansible-os-1680-1 2024-08-21 09:09:15,970 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/1d45e7d3-2a6f-4f71-bd30-5f31aaa5f2fc 2024-08-21 09:09:16,270 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/1d45e7d3-2a6f-4f71-bd30-5f31aaa5f2fc 2024-08-21 09:09:16,307 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/34c19785-b17b-4e4a-b1db-34167690d479 2024-08-21 09:09:19,554 - 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 1003ms') 2024-08-21 09:09:19,554 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-48943407-32798557 failed! 2024-08-21 09:09:19,609 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-48943407:ctest-vn-75003505 is 194.189.246.193 and allocation pool is NOT set 2024-08-21 09:09:21,667 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.482 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.482/1.655/2.829/1.173 ms') 2024-08-21 09:09:21,668 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-48943407-32798557 passed 2024-08-21 09:09:21,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 09:09:21,821 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-48943407-32798557, IP 194.189.246.195, Port 22 2024-08-21 09:09:21,976 - DEBUG - VM ctest-TestBasicVMVNx-48943407-32798557 is ready for SSH connections 2024-08-21 09:09:21,976 - INFO - Waiting for VM ctest-TestBasicVMVNx-48943407-72600129 to be up.. 2024-08-21 09:09:22,057 - DEBUG - VM is in ACTIVE state now 2024-08-21 09:09:22,057 - INFO - VM name : ctest-TestBasicVMVNx-48943407-72600129 2024-08-21 09:09:22,226 - DEBUG - VM ctest-TestBasicVMVNx-48943407-72600129 ID is 2bc0fe6e-f365-41a0-8f3b-258cfa964c57 2024-08-21 09:09:22,227 - DEBUG - VM ctest-TestBasicVMVNx-48943407-72600129 launched on Node cn-jenkins-deploy-platform-ansible-os-1680-1 2024-08-21 09:09:22,304 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2bc0fe6e-f365-41a0-8f3b-258cfa964c57 2024-08-21 09:09:22,313 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d91451a8-ff92-4bad-8461-8e40ea5522af 2024-08-21 09:09:23,550 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 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.477/1.648/2.819/1.171 ms') 2024-08-21 09:09:23,550 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-48943407-72600129 passed 2024-08-21 09:09:23,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 09:09:23,701 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-48943407-72600129, IP 194.189.246.196, Port 22 2024-08-21 09:09:23,852 - DEBUG - VM ctest-TestBasicVMVNx-48943407-72600129 is ready for SSH connections 2024-08-21 09:09:23,852 - DEBUG - FILE SIZE = 1303B 2024-08-21 09:09:23,853 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-48943407-32798557 to ctest-TestBasicVMVNx-48943407-72600129 using scp 2024-08-21 09:09:23,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 09:09:23,859 - 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.23, gateway password: c0ntrail123 2024-08-21 09:09:23,859 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-21 09:09:25,761 - DEBUG - 1+0 records in 1+0 records out 2024-08-21 09:09:26,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 09:09:26,677 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2024-08-21 09:09:26,677 - DEBUG - ls -l testfile 2024-08-21 09:09:28,266 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 21 03:09 testfile 2024-08-21 09:09:28,266 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-48943407-72600129 2024-08-21 09:09:28,266 - INFO - Deleting VM ctest-TestBasicVMVNx-48943407-72600129 2024-08-21 09:09:28,338 - INFO - Deleting VM ctest-TestBasicVMVNx-48943407-32798557 2024-08-21 09:09:28,419 - INFO - Deleting VN ctest-vn-75003505 2024-08-21 09:09:28,465 - DEBUG - VN 118b1889-1aa5-48b0-a7da-4020d60a5b6d still in use: Unable to complete operation on network 118b1889-1aa5-48b0-a7da-4020d60a5b6d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ed6e4886-efdc-4723-a32b-b9ccaaf031f7'] 2024-08-21 09:09:28,465 - WARNING - Deleting VN ctest-vn-75003505 failed..Will retry 2024-08-21 09:09:30,583 - DEBUG - Response for deleting network () 2024-08-21 09:09:30,840 - DEBUG - No XMPP flaps were noticed during the test
2024-08-21 09:09:30,840 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2024-08-21 09:09:30,840 - INFO - -------------------------------------------------------------------------------- 2024-08-21 09:09:31,510 - INFO - Deleted project: ctest-TestBasicVMVNx-48943407, ID : d903f819-f320-401d-b867-de15040d20c3