2024-08-29 13:28:30,561 - INFO - Domain Default found not creating 2024-08-29 13:28:30,758 - INFO - Project ctest-TestBasicVMVNx-70184785 not found, creating it 2024-08-29 13:28:31,272 - INFO - Created Project:ctest-TestBasicVMVNx-70184785, ID : 731b303a-ccdd-4e00-8c09-bd229ad9372d 2024-08-29 13:28:32,976 - INFO - ================================================================================ 2024-08-29 13:28:32,976 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-29 13:28:32,976 - 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-29 13:28:33,241 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.13': '0'}} with 2024-08-29 13:28:33,241 - INFO - Initial checks done. Running the testcase now 2024-08-29 13:28:33,241 - INFO - 2024-08-29 13:28:33,894 - DEBUG - Response for create_network : {'network': {'id': '7d65d6a8-cce6-4dad-aea0-9fd829bea381', 'name': 'ctest-vn-46362579', 'tenant_id': '731b303accdd4e008c09bd229ad9372d', 'project_id': '731b303accdd4e008c09bd229ad9372d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-70184785', 'ctest-vn-46362579'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 13:28:34,082 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da477c92-7a26-4e22-8f96-a566405dd4b4', 'name': '', 'tenant_id': '731b303accdd4e008c09bd229ad9372d', 'network_id': '7d65d6a8-cce6-4dad-aea0-9fd829bea381', 'ip_version': 4, 'cidr': '211.100.17.192/26', 'allocation_pools': [{'start': '211.100.17.194', 'end': '211.100.17.254'}], 'gateway_ip': '211.100.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.100.17.194', 'tags': [], 'project_id': '731b303accdd4e008c09bd229ad9372d'}} 2024-08-29 13:28:34,105 - INFO - Created VN ctest-vn-46362579 2024-08-29 13:28:34,157 - DEBUG - VN ctest-vn-46362579 UUID is 7d65d6a8-cce6-4dad-aea0-9fd829bea381 2024-08-29 13:28:34,344 - DEBUG - Services list from nova: [, , ] 2024-08-29 13:28:35,522 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1808-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1808-1) 2024-08-29 13:28:36,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1808-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1808-1) 2024-08-29 13:28:36,881 - INFO - Waiting for VM ctest-TestBasicVMVNx-70184785-24159932 to be up.. 2024-08-29 13:28:36,997 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 13:28:42,100 - DEBUG - VM is in ACTIVE state now 2024-08-29 13:28:42,100 - INFO - VM name : ctest-TestBasicVMVNx-70184785-24159932 2024-08-29 13:28:42,209 - DEBUG - VM ctest-TestBasicVMVNx-70184785-24159932 ID is f04f59ce-b27c-4c2d-8b0a-d17a0785e4ff 2024-08-29 13:28:42,234 - DEBUG - VM ctest-TestBasicVMVNx-70184785-24159932 launched on Node cn-jenkins-deploy-platform-ansible-os-1808-1 2024-08-29 13:28:42,340 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/f04f59ce-b27c-4c2d-8b0a-d17a0785e4ff 2024-08-29 13:28:42,687 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/f04f59ce-b27c-4c2d-8b0a-d17a0785e4ff 2024-08-29 13:28:42,735 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/f8388dac-9f1a-4cd8-b9ad-bf3652e2ef10 2024-08-29 13:28:46,000 - 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 1026ms') 2024-08-29 13:28:46,000 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70184785-24159932 failed! 2024-08-29 13:28:46,057 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-70184785:ctest-vn-46362579 is 211.100.17.193 and allocation pool is NOT set 2024-08-29 13:28:48,123 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.02 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 = 3.022/3.290/3.559/0.268 ms') 2024-08-29 13:28:48,123 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-70184785-24159932 passed 2024-08-29 13:28:48,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 13:28:48,277 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70184785-24159932, IP 211.100.17.195, Port 22 2024-08-29 13:28:48,444 - DEBUG - VM ctest-TestBasicVMVNx-70184785-24159932 is ready for SSH connections 2024-08-29 13:28:48,444 - INFO - Waiting for VM ctest-TestBasicVMVNx-70184785-32760134 to be up.. 2024-08-29 13:28:48,539 - DEBUG - VM is in ACTIVE state now 2024-08-29 13:28:48,539 - INFO - VM name : ctest-TestBasicVMVNx-70184785-32760134 2024-08-29 13:28:48,631 - DEBUG - VM ctest-TestBasicVMVNx-70184785-32760134 ID is ec3b555e-5447-4235-9e24-1463f32e1a11 2024-08-29 13:28:48,632 - DEBUG - VM ctest-TestBasicVMVNx-70184785-32760134 launched on Node cn-jenkins-deploy-platform-ansible-os-1808-1 2024-08-29 13:28:48,720 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/ec3b555e-5447-4235-9e24-1463f32e1a11 2024-08-29 13:28:48,731 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/bf0d61d9-d574-4d1e-a112-360311e9e911 2024-08-29 13:28:49,976 - 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=4.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.934 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.934/2.792/4.650/1.858 ms') 2024-08-29 13:28:49,976 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-70184785-32760134 passed 2024-08-29 13:28:50,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 13:28:50,126 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-70184785-32760134, IP 211.100.17.196, Port 22 2024-08-29 13:28:50,285 - DEBUG - VM ctest-TestBasicVMVNx-70184785-32760134 is ready for SSH connections 2024-08-29 13:28:50,285 - DEBUG - FILE SIZE = 1303B 2024-08-29 13:28:50,285 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-70184785-24159932 to ctest-TestBasicVMVNx-70184785-32760134 using scp 2024-08-29 13:28:50,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 13:28:50,293 - 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.35, gateway password: c0ntrail123 2024-08-29 13:28:50,293 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-29 13:28:52,310 - DEBUG - 1+0 records in 1+0 records out 2024-08-29 13:28:52,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 13:28:53,347 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-08-29 13:28:53,347 - DEBUG - ls -l testfile 2024-08-29 13:28:54,969 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 29 07:28 testfile 2024-08-29 13:28:54,969 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-70184785-32760134 2024-08-29 13:28:54,969 - INFO - Deleting VM ctest-TestBasicVMVNx-70184785-32760134 2024-08-29 13:28:55,054 - INFO - Deleting VM ctest-TestBasicVMVNx-70184785-24159932 2024-08-29 13:28:55,133 - INFO - Deleting VN ctest-vn-46362579 2024-08-29 13:28:55,177 - DEBUG - VN 7d65d6a8-cce6-4dad-aea0-9fd829bea381 still in use: Unable to complete operation on network 7d65d6a8-cce6-4dad-aea0-9fd829bea381. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-441cff15-5f7f-4715-9135-7e05e16b85e0'] 2024-08-29 13:28:55,177 - WARNING - Deleting VN ctest-vn-46362579 failed..Will retry 2024-08-29 13:28:57,328 - DEBUG - Response for deleting network () 2024-08-29 13:28:57,595 - DEBUG - No XMPP flaps were noticed during the test
2024-08-29 13:28:57,595 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25]
2024-08-29 13:28:57,595 - INFO - -------------------------------------------------------------------------------- 2024-08-29 13:28:58,395 - INFO - Deleted project: ctest-TestBasicVMVNx-70184785, ID : 731b303a-ccdd-4e00-8c09-bd229ad9372d