2024-08-21 03:26:21,543 - INFO - Domain Default found not creating 2024-08-21 03:26:21,746 - INFO - Project ctest-TestBasicVMVNx-07568830 not found, creating it 2024-08-21 03:26:22,273 - INFO - Created Project:ctest-TestBasicVMVNx-07568830, ID : 113a3881-417e-4db8-9288-457137de5e42 2024-08-21 03:26:24,012 - INFO - ================================================================================ 2024-08-21 03:26:24,013 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-21 03:26:24,013 - 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 03:26:24,280 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.26': '0'}} with 2024-08-21 03:26:24,280 - INFO - Initial checks done. Running the testcase now 2024-08-21 03:26:24,280 - INFO - 2024-08-21 03:26:24,924 - DEBUG - Response for create_network : {'network': {'id': 'fe9b400b-ed0e-4bc0-ac4f-c53631cf457c', 'name': 'ctest-vn-08587100', 'tenant_id': '113a3881417e4db89288457137de5e42', 'project_id': '113a3881417e4db89288457137de5e42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07568830', 'ctest-vn-08587100'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 03:26:25,150 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5b9f56d-f9f0-4b67-b62c-c73b906044b5', 'name': '', 'tenant_id': '113a3881417e4db89288457137de5e42', 'network_id': 'fe9b400b-ed0e-4bc0-ac4f-c53631cf457c', 'ip_version': 4, 'cidr': '179.215.143.192/26', 'allocation_pools': [{'start': '179.215.143.194', 'end': '179.215.143.254'}], 'gateway_ip': '179.215.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.215.143.194', 'tags': [], 'project_id': '113a3881417e4db89288457137de5e42'}} 2024-08-21 03:26:25,174 - INFO - Created VN ctest-vn-08587100 2024-08-21 03:26:25,228 - DEBUG - VN ctest-vn-08587100 UUID is fe9b400b-ed0e-4bc0-ac4f-c53631cf457c 2024-08-21 03:26:25,412 - DEBUG - Services list from nova: [, , ] 2024-08-21 03:26:26,615 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1679-1) 2024-08-21 03:26:27,989 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1679-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1679-1) 2024-08-21 03:26:27,990 - INFO - Waiting for VM ctest-TestBasicVMVNx-07568830-03743323 to be up.. 2024-08-21 03:26:28,088 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 03:26:33,187 - DEBUG - VM is in ACTIVE state now 2024-08-21 03:26:33,187 - INFO - VM name : ctest-TestBasicVMVNx-07568830-03743323 2024-08-21 03:26:33,289 - DEBUG - VM ctest-TestBasicVMVNx-07568830-03743323 ID is 818d94d9-7796-4e2f-b553-47d770e576e3 2024-08-21 03:26:33,311 - DEBUG - VM ctest-TestBasicVMVNx-07568830-03743323 launched on Node cn-jenkins-deploy-platform-ansible-os-1679-1 2024-08-21 03:26:33,397 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/818d94d9-7796-4e2f-b553-47d770e576e3 2024-08-21 03:26:33,753 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/818d94d9-7796-4e2f-b553-47d770e576e3 2024-08-21 03:26:33,798 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/2335ad85-1a09-40ca-97db-32724b48643f 2024-08-21 03:26:37,048 - 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 1005ms') 2024-08-21 03:26:37,048 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07568830-03743323 failed! 2024-08-21 03:26:37,104 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07568830:ctest-vn-08587100 is 179.215.143.193 and allocation pool is NOT set 2024-08-21 03:26:39,174 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.427 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.427/2.622/4.818/2.195 ms') 2024-08-21 03:26:39,174 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07568830-03743323 passed 2024-08-21 03:26:39,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 03:26:39,336 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07568830-03743323, IP 179.215.143.195, Port 22 2024-08-21 03:26:39,495 - DEBUG - VM ctest-TestBasicVMVNx-07568830-03743323 is ready for SSH connections 2024-08-21 03:26:39,496 - INFO - Waiting for VM ctest-TestBasicVMVNx-07568830-31066715 to be up.. 2024-08-21 03:26:39,593 - DEBUG - VM is in ACTIVE state now 2024-08-21 03:26:39,593 - INFO - VM name : ctest-TestBasicVMVNx-07568830-31066715 2024-08-21 03:26:39,787 - DEBUG - VM ctest-TestBasicVMVNx-07568830-31066715 ID is 3fdedfcc-49ab-487d-96f2-61446f9698c3 2024-08-21 03:26:39,787 - DEBUG - VM ctest-TestBasicVMVNx-07568830-31066715 launched on Node cn-jenkins-deploy-platform-ansible-os-1679-1 2024-08-21 03:26:39,878 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/3fdedfcc-49ab-487d-96f2-61446f9698c3 2024-08-21 03:26:39,888 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/52aa4be0-8a4e-4c58-91e6-31c04400cd7a 2024-08-21 03:26:41,131 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.57 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 = 1.566/3.220/4.875/1.654 ms') 2024-08-21 03:26:41,131 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07568830-31066715 passed 2024-08-21 03:26:41,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 03:26:41,284 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07568830-31066715, IP 179.215.143.196, Port 22 2024-08-21 03:26:41,448 - DEBUG - VM ctest-TestBasicVMVNx-07568830-31066715 is ready for SSH connections 2024-08-21 03:26:41,448 - DEBUG - FILE SIZE = 1303B 2024-08-21 03:26:41,448 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07568830-03743323 to ctest-TestBasicVMVNx-07568830-31066715 using scp 2024-08-21 03:26:41,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 03:26:41,455 - 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.17, gateway password: c0ntrail123 2024-08-21 03:26:41,455 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-21 03:26:43,453 - DEBUG - 1+0 records in 1+0 records out 2024-08-21 03:26:44,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 03:26:44,696 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2024-08-21 03:26:44,696 - DEBUG - ls -l testfile 2024-08-21 03:26:46,341 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 20 21:26 testfile 2024-08-21 03:26:46,341 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-07568830-31066715 2024-08-21 03:26:46,341 - INFO - Deleting VM ctest-TestBasicVMVNx-07568830-31066715 2024-08-21 03:26:46,419 - INFO - Deleting VM ctest-TestBasicVMVNx-07568830-03743323 2024-08-21 03:26:46,490 - INFO - Deleting VN ctest-vn-08587100 2024-08-21 03:26:46,534 - DEBUG - VN fe9b400b-ed0e-4bc0-ac4f-c53631cf457c still in use: Unable to complete operation on network fe9b400b-ed0e-4bc0-ac4f-c53631cf457c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a50310ac-b277-4cb9-a0f5-1b132c152d27'] 2024-08-21 03:26:46,534 - WARNING - Deleting VN ctest-vn-08587100 failed..Will retry 2024-08-21 03:26:48,684 - DEBUG - Response for deleting network () 2024-08-21 03:26:48,947 - DEBUG - No XMPP flaps were noticed during the test 2024-08-21 03:26:48,947 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-08-21 03:26:48,947 - INFO - -------------------------------------------------------------------------------- 2024-08-21 03:26:49,734 - INFO - Deleted project: ctest-TestBasicVMVNx-07568830, ID : 113a3881-417e-4db8-9288-457137de5e42