2024-09-19 02:44:16,258 - INFO - Domain Default found not creating 2024-09-19 02:44:16,437 - INFO - Project ctest-TestBasicVMVNx-90957057 not found, creating it 2024-09-19 02:44:16,968 - INFO - Created Project:ctest-TestBasicVMVNx-90957057, ID : 5a915e5d-a754-402f-baac-6d482a98ad71 2024-09-19 02:44:18,634 - INFO - ================================================================================ 2024-09-19 02:44:18,634 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-19 02:44:18,634 - 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-19 02:44:18,900 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.12': '0'}} with 2024-09-19 02:44:18,900 - INFO - Initial checks done. Running the testcase now 2024-09-19 02:44:18,900 - INFO - 2024-09-19 02:44:19,568 - DEBUG - Response for create_network : {'network': {'id': '182dbb6b-6048-4d3d-9e76-2d2d30a8ab1c', 'name': 'ctest-vn-17177367', 'tenant_id': '5a915e5da754402fbaac6d482a98ad71', 'project_id': '5a915e5da754402fbaac6d482a98ad71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-90957057', 'ctest-vn-17177367'], 'port_security_enabled': True, 'description': ''}} 2024-09-19 02:44:19,759 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b80c740-18bb-4b78-bfc3-ed04fe173861', 'name': '', 'tenant_id': '5a915e5da754402fbaac6d482a98ad71', 'network_id': '182dbb6b-6048-4d3d-9e76-2d2d30a8ab1c', 'ip_version': 4, 'cidr': '129.27.213.64/26', 'allocation_pools': [{'start': '129.27.213.66', 'end': '129.27.213.126'}], 'gateway_ip': '129.27.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.27.213.66', 'tags': [], 'project_id': '5a915e5da754402fbaac6d482a98ad71'}} 2024-09-19 02:44:19,780 - INFO - Created VN ctest-vn-17177367 2024-09-19 02:44:19,844 - DEBUG - VN ctest-vn-17177367 UUID is 182dbb6b-6048-4d3d-9e76-2d2d30a8ab1c 2024-09-19 02:44:20,037 - DEBUG - Services list from nova: [, , ] 2024-09-19 02:44:21,205 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1997-1) 2024-09-19 02:44:22,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1997-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1997-1) 2024-09-19 02:44:22,473 - INFO - Waiting for VM ctest-TestBasicVMVNx-90957057-96638545 to be up.. 2024-09-19 02:44:22,579 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-19 02:44:27,679 - DEBUG - VM is in ACTIVE state now 2024-09-19 02:44:27,679 - INFO - VM name : ctest-TestBasicVMVNx-90957057-96638545 2024-09-19 02:44:27,776 - DEBUG - VM ctest-TestBasicVMVNx-90957057-96638545 ID is 27216d46-5c6d-4a2e-a6f4-095526740bd2 2024-09-19 02:44:27,801 - DEBUG - VM ctest-TestBasicVMVNx-90957057-96638545 launched on Node cn-jenkins-deploy-platform-ansible-os-1997-1 2024-09-19 02:44:27,899 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/27216d46-5c6d-4a2e-a6f4-095526740bd2 2024-09-19 02:44:28,239 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/27216d46-5c6d-4a2e-a6f4-095526740bd2 2024-09-19 02:44:28,280 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/29ebc590-0231-4484-85f8-22b628ab8510 2024-09-19 02:44:31,563 - 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-19 02:44:31,563 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90957057-96638545 failed! 2024-09-19 02:44:31,628 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-90957057:ctest-vn-17177367 is 129.27.213.65 and allocation pool is NOT set 2024-09-19 02:44:33,691 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.36 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 = 2.356/3.286/4.217/0.930 ms') 2024-09-19 02:44:33,691 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-90957057-96638545 passed 2024-09-19 02:44:33,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 02:44:33,853 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90957057-96638545, IP 129.27.213.67, Port 22 2024-09-19 02:44:34,008 - DEBUG - VM ctest-TestBasicVMVNx-90957057-96638545 is ready for SSH connections 2024-09-19 02:44:34,008 - INFO - Waiting for VM ctest-TestBasicVMVNx-90957057-65308099 to be up.. 2024-09-19 02:44:34,141 - DEBUG - VM is in ACTIVE state now 2024-09-19 02:44:34,141 - INFO - VM name : ctest-TestBasicVMVNx-90957057-65308099 2024-09-19 02:44:34,238 - DEBUG - VM ctest-TestBasicVMVNx-90957057-65308099 ID is 24756dc9-807f-461c-955a-14ad32ec8d6a 2024-09-19 02:44:34,238 - DEBUG - VM ctest-TestBasicVMVNx-90957057-65308099 launched on Node cn-jenkins-deploy-platform-ansible-os-1997-1 2024-09-19 02:44:34,331 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/24756dc9-807f-461c-955a-14ad32ec8d6a 2024-09-19 02:44:34,343 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/89887175-2b98-4d63-aea9-06d30caf9d6d 2024-09-19 02:44:35,600 - 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=3.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.523 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.523/2.148/3.774/1.625 ms') 2024-09-19 02:44:35,601 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-90957057-65308099 passed 2024-09-19 02:44:35,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 02:44:35,764 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-90957057-65308099, IP 129.27.213.68, Port 22 2024-09-19 02:44:35,931 - DEBUG - VM ctest-TestBasicVMVNx-90957057-65308099 is ready for SSH connections 2024-09-19 02:44:35,931 - DEBUG - FILE SIZE = 1303B 2024-09-19 02:44:35,931 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-90957057-96638545 to ctest-TestBasicVMVNx-90957057-65308099 using scp 2024-09-19 02:44:35,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 02:44:35,938 - 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.24, gateway password: c0ntrail123 2024-09-19 02:44:35,938 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-19 02:44:37,935 - DEBUG - 1+0 records in 1+0 records out 2024-09-19 02:44:38,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-19 02:44:38,960 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2024-09-19 02:44:38,961 - DEBUG - ls -l testfile 2024-09-19 02:44:40,576 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 18 20:44 testfile 2024-09-19 02:44:40,576 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-90957057-65308099 2024-09-19 02:44:40,576 - INFO - Deleting VM ctest-TestBasicVMVNx-90957057-65308099 2024-09-19 02:44:40,654 - INFO - Deleting VM ctest-TestBasicVMVNx-90957057-96638545 2024-09-19 02:44:40,734 - INFO - Deleting VN ctest-vn-17177367 2024-09-19 02:44:40,782 - DEBUG - VN 182dbb6b-6048-4d3d-9e76-2d2d30a8ab1c still in use: Unable to complete operation on network 182dbb6b-6048-4d3d-9e76-2d2d30a8ab1c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-339bb7ee-c5ee-45a8-a0f3-d7a1cdce478b'] 2024-09-19 02:44:40,782 - WARNING - Deleting VN ctest-vn-17177367 failed..Will retry 2024-09-19 02:44:42,965 - DEBUG - Response for deleting network () 2024-09-19 02:44:43,223 - DEBUG - No XMPP flaps were noticed during the test 2024-09-19 02:44:43,223 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-09-19 02:44:43,223 - INFO - -------------------------------------------------------------------------------- 2024-09-19 02:44:44,005 - INFO - Deleted project: ctest-TestBasicVMVNx-90957057, ID : 5a915e5d-a754-402f-baac-6d482a98ad71