2024-08-27 04:20:31,709 - INFO - Domain Default found not creating 2024-08-27 04:20:31,886 - INFO - Project ctest-TestBasicVMVNx-37926718 not found, creating it 2024-08-27 04:20:32,367 - INFO - Created Project:ctest-TestBasicVMVNx-37926718, ID : dfb20ece-c604-4c58-b3f2-4133fa90dd6d 2024-08-27 04:20:33,909 - INFO - ================================================================================ 2024-08-27 04:20:33,909 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-27 04:20:33,909 - 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-27 04:20:34,162 - DEBUG - Nothing to compare xmpp stats {'10.0.0.59': {'10.20.0.10': '0'}} with 2024-08-27 04:20:34,162 - INFO - Initial checks done. Running the testcase now 2024-08-27 04:20:34,162 - INFO - 2024-08-27 04:20:34,735 - DEBUG - Response for create_network : {'network': {'id': 'ff82e010-56c8-4122-b4ff-f70ca66dd1c7', 'name': 'ctest-vn-70975367', 'tenant_id': 'dfb20ecec6044c58b3f24133fa90dd6d', 'project_id': 'dfb20ecec6044c58b3f24133fa90dd6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-37926718', 'ctest-vn-70975367'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 04:20:34,987 - DEBUG - Response for create_subnet : {'subnet': {'id': '07ed1dc5-f3b3-47ba-a5c3-54f3671a3845', 'name': '', 'tenant_id': 'dfb20ecec6044c58b3f24133fa90dd6d', 'network_id': 'ff82e010-56c8-4122-b4ff-f70ca66dd1c7', 'ip_version': 4, 'cidr': '135.67.247.192/26', 'allocation_pools': [{'start': '135.67.247.194', 'end': '135.67.247.254'}], 'gateway_ip': '135.67.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.67.247.194', 'tags': [], 'project_id': 'dfb20ecec6044c58b3f24133fa90dd6d'}} 2024-08-27 04:20:35,007 - INFO - Created VN ctest-vn-70975367 2024-08-27 04:20:35,060 - DEBUG - VN ctest-vn-70975367 UUID is ff82e010-56c8-4122-b4ff-f70ca66dd1c7 2024-08-27 04:20:35,235 - DEBUG - Services list from nova: [, , ] 2024-08-27 04:20:36,296 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1788-1) 2024-08-27 04:20:40,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1788-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1788-1) 2024-08-27 04:20:40,504 - INFO - Waiting for VM ctest-TestBasicVMVNx-37926718-49455578 to be up.. 2024-08-27 04:20:40,585 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 04:20:45,668 - DEBUG - VM is in ACTIVE state now 2024-08-27 04:20:45,668 - INFO - VM name : ctest-TestBasicVMVNx-37926718-49455578 2024-08-27 04:20:45,754 - DEBUG - VM ctest-TestBasicVMVNx-37926718-49455578 ID is b460a620-4224-4eb2-aed6-bd580514aaaf 2024-08-27 04:20:45,776 - DEBUG - VM ctest-TestBasicVMVNx-37926718-49455578 launched on Node cn-jenkins-deploy-platform-ansible-os-1788-1 2024-08-27 04:20:45,859 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine/b460a620-4224-4eb2-aed6-bd580514aaaf 2024-08-27 04:20:46,158 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine/b460a620-4224-4eb2-aed6-bd580514aaaf 2024-08-27 04:20:46,196 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine-interface/9ee96e03-cf38-4b4f-81b7-ff07b8cf2e76 2024-08-27 04:20:49,469 - 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-08-27 04:20:49,469 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-37926718-49455578 failed! 2024-08-27 04:20:49,524 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-37926718:ctest-vn-70975367 is 135.67.247.193 and allocation pool is NOT set 2024-08-27 04:20:51,589 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.545 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.545/1.768/2.992/1.223 ms') 2024-08-27 04:20:51,589 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-37926718-49455578 passed 2024-08-27 04:20:51,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:20:51,744 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37926718-49455578, IP 135.67.247.195, Port 22 2024-08-27 04:20:51,900 - DEBUG - VM ctest-TestBasicVMVNx-37926718-49455578 is ready for SSH connections 2024-08-27 04:20:51,900 - INFO - Waiting for VM ctest-TestBasicVMVNx-37926718-57001387 to be up.. 2024-08-27 04:20:52,109 - DEBUG - VM is in ACTIVE state now 2024-08-27 04:20:52,109 - INFO - VM name : ctest-TestBasicVMVNx-37926718-57001387 2024-08-27 04:20:52,189 - DEBUG - VM ctest-TestBasicVMVNx-37926718-57001387 ID is a712676b-28a8-41ea-8ea3-ef0ee0366ecc 2024-08-27 04:20:52,190 - DEBUG - VM ctest-TestBasicVMVNx-37926718-57001387 launched on Node cn-jenkins-deploy-platform-ansible-os-1788-1 2024-08-27 04:20:52,274 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine/a712676b-28a8-41ea-8ea3-ef0ee0366ecc 2024-08-27 04:20:52,285 - DEBUG - Requesting: http://10.0.0.59:8082/virtual-machine-interface/dbaab27a-b752-40fa-8db8-f6ec556d74ba 2024-08-27 04:20:53,533 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/1.737/2.978/1.241 ms') 2024-08-27 04:20:53,533 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-37926718-57001387 passed 2024-08-27 04:20:53,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:20:53,688 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-37926718-57001387, IP 135.67.247.196, Port 22 2024-08-27 04:20:53,843 - DEBUG - VM ctest-TestBasicVMVNx-37926718-57001387 is ready for SSH connections 2024-08-27 04:20:53,843 - DEBUG - FILE SIZE = 1303B 2024-08-27 04:20:53,843 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-37926718-49455578 to ctest-TestBasicVMVNx-37926718-57001387 using scp 2024-08-27 04:20:53,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:20:53,849 - 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.59, gateway password: c0ntrail123 2024-08-27 04:20:53,850 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-27 04:20:55,437 - DEBUG - 1+0 records in 1+0 records out 2024-08-27 04:20:56,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 04:20:56,330 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.59, gateway password: c0ntrail123 2024-08-27 04:20:56,330 - DEBUG - ls -l testfile 2024-08-27 04:20:57,911 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 22:20 testfile 2024-08-27 04:20:57,912 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-37926718-57001387 2024-08-27 04:20:57,912 - INFO - Deleting VM ctest-TestBasicVMVNx-37926718-57001387 2024-08-27 04:20:57,987 - INFO - Deleting VM ctest-TestBasicVMVNx-37926718-49455578 2024-08-27 04:21:00,099 - INFO - Deleting VN ctest-vn-70975367 2024-08-27 04:21:00,152 - DEBUG - VN ff82e010-56c8-4122-b4ff-f70ca66dd1c7 still in use: Unable to complete operation on network ff82e010-56c8-4122-b4ff-f70ca66dd1c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f179e44b-9c88-4535-a061-370c84d877fc'] 2024-08-27 04:21:00,153 - WARNING - Deleting VN ctest-vn-70975367 failed..Will retry 2024-08-27 04:21:03,480 - DEBUG - Response for deleting network () 2024-08-27 04:21:03,751 - DEBUG - No XMPP flaps were noticed during the test 2024-08-27 04:21:03,751 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-08-27 04:21:03,751 - INFO - -------------------------------------------------------------------------------- 2024-08-27 04:21:04,447 - INFO - Deleted project: ctest-TestBasicVMVNx-37926718, ID : dfb20ece-c604-4c58-b3f2-4133fa90dd6d