2024-08-21 20:29:03,574 - INFO - Domain Default found not creating 2024-08-21 20:29:03,767 - INFO - Project ctest-TestBasicVMVNx-56024181 not found, creating it 2024-08-21 20:29:04,305 - INFO - Created Project:ctest-TestBasicVMVNx-56024181, ID : e6e312ac-447e-41a6-930f-2b2c879d2172 2024-08-21 20:29:06,030 - INFO - ================================================================================ 2024-08-21 20:29:06,030 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-21 20:29:06,031 - 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 20:29:06,295 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.17': '0'}} with 2024-08-21 20:29:06,295 - INFO - Initial checks done. Running the testcase now 2024-08-21 20:29:06,295 - INFO - 2024-08-21 20:29:06,918 - DEBUG - Response for create_network : {'network': {'id': 'e056090b-c54c-4a13-97e8-93b686e6c975', 'name': 'ctest-vn-65106613', 'tenant_id': 'e6e312ac447e41a6930f2b2c879d2172', 'project_id': 'e6e312ac447e41a6930f2b2c879d2172', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-56024181', 'ctest-vn-65106613'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 20:29:07,148 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b95efc0-8d25-4d53-8375-fc9dbbdc9801', 'name': '', 'tenant_id': 'e6e312ac447e41a6930f2b2c879d2172', 'network_id': 'e056090b-c54c-4a13-97e8-93b686e6c975', 'ip_version': 4, 'cidr': '14.157.1.64/26', 'allocation_pools': [{'start': '14.157.1.66', 'end': '14.157.1.126'}], 'gateway_ip': '14.157.1.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.157.1.66', 'tags': [], 'project_id': 'e6e312ac447e41a6930f2b2c879d2172'}} 2024-08-21 20:29:07,177 - INFO - Created VN ctest-vn-65106613 2024-08-21 20:29:07,237 - DEBUG - VN ctest-vn-65106613 UUID is e056090b-c54c-4a13-97e8-93b686e6c975 2024-08-21 20:29:07,444 - DEBUG - Services list from nova: [, , ] 2024-08-21 20:29:08,801 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1699-1) 2024-08-21 20:29:10,156 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1699-1) 2024-08-21 20:29:10,156 - INFO - Waiting for VM ctest-TestBasicVMVNx-56024181-40770718 to be up.. 2024-08-21 20:29:10,403 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 20:29:15,519 - DEBUG - VM is in ACTIVE state now 2024-08-21 20:29:15,519 - INFO - VM name : ctest-TestBasicVMVNx-56024181-40770718 2024-08-21 20:29:15,634 - DEBUG - VM ctest-TestBasicVMVNx-56024181-40770718 ID is 68959f54-d625-4d5f-8493-37f8bd73078b 2024-08-21 20:29:15,659 - DEBUG - VM ctest-TestBasicVMVNx-56024181-40770718 launched on Node cn-jenkins-deploy-platform-ansible-os-1699-1 2024-08-21 20:29:15,758 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/68959f54-d625-4d5f-8493-37f8bd73078b 2024-08-21 20:29:16,086 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/68959f54-d625-4d5f-8493-37f8bd73078b 2024-08-21 20:29:16,138 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/bb2f8a01-c318-4801-9ed7-abf156c537c7 2024-08-21 20:29:19,393 - 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 1002ms') 2024-08-21 20:29:19,393 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56024181-40770718 failed! 2024-08-21 20:29:19,449 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56024181:ctest-vn-65106613 is 14.157.1.65 and allocation pool is NOT set 2024-08-21 20:29:23,521 - 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 20:29:23,521 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56024181-40770718 failed! 2024-08-21 20:29:23,585 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56024181:ctest-vn-65106613 is 14.157.1.65 and allocation pool is NOT set 2024-08-21 20:29:25,655 - 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.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 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.480/1.937/3.394/1.457 ms') 2024-08-21 20:29:25,655 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56024181-40770718 passed 2024-08-21 20:29:25,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 20:29:25,805 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56024181-40770718, IP 14.157.1.67, Port 22 2024-08-21 20:29:25,972 - DEBUG - VM ctest-TestBasicVMVNx-56024181-40770718 is ready for SSH connections 2024-08-21 20:29:25,972 - INFO - Waiting for VM ctest-TestBasicVMVNx-56024181-25104421 to be up.. 2024-08-21 20:29:26,064 - DEBUG - VM is in ACTIVE state now 2024-08-21 20:29:26,064 - INFO - VM name : ctest-TestBasicVMVNx-56024181-25104421 2024-08-21 20:29:26,150 - DEBUG - VM ctest-TestBasicVMVNx-56024181-25104421 ID is 861f4966-0c4a-4725-a6d4-332da6c10596 2024-08-21 20:29:26,150 - DEBUG - VM ctest-TestBasicVMVNx-56024181-25104421 launched on Node cn-jenkins-deploy-platform-ansible-os-1699-1 2024-08-21 20:29:26,254 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/861f4966-0c4a-4725-a6d4-332da6c10596 2024-08-21 20:29:26,270 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/0bcc833c-533f-47b4-b898-8183e8ff0dd0 2024-08-21 20:29:27,542 - 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.473 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.473/2.119/3.766/1.646 ms') 2024-08-21 20:29:27,543 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56024181-25104421 passed 2024-08-21 20:29:27,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 20:29:27,697 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56024181-25104421, IP 14.157.1.68, Port 22 2024-08-21 20:29:27,856 - DEBUG - VM ctest-TestBasicVMVNx-56024181-25104421 is ready for SSH connections 2024-08-21 20:29:27,856 - DEBUG - FILE SIZE = 1303B 2024-08-21 20:29:27,856 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-56024181-40770718 to ctest-TestBasicVMVNx-56024181-25104421 using scp 2024-08-21 20:29:27,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 20:29:27,862 - 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-08-21 20:29:27,862 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-21 20:29:29,818 - DEBUG - 1+0 records in 1+0 records out 2024-08-21 20:29:30,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 20:29:30,966 - 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-08-21 20:29:30,967 - DEBUG - ls -l testfile 2024-08-21 20:29:32,583 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 21 14:29 testfile 2024-08-21 20:29:32,584 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-56024181-25104421 2024-08-21 20:29:32,584 - INFO - Deleting VM ctest-TestBasicVMVNx-56024181-25104421 2024-08-21 20:29:32,690 - INFO - Deleting VM ctest-TestBasicVMVNx-56024181-40770718 2024-08-21 20:29:32,778 - INFO - Deleting VN ctest-vn-65106613 2024-08-21 20:29:32,829 - DEBUG - VN e056090b-c54c-4a13-97e8-93b686e6c975 still in use: Unable to complete operation on network e056090b-c54c-4a13-97e8-93b686e6c975. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef33e24d-2d5b-4379-8600-cf43225b8a45'] 2024-08-21 20:29:32,829 - WARNING - Deleting VN ctest-vn-65106613 failed..Will retry 2024-08-21 20:29:34,976 - DEBUG - Response for deleting network () 2024-08-21 20:29:35,254 - DEBUG - No XMPP flaps were noticed during the test 2024-08-21 20:29:35,254 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2024-08-21 20:29:35,254 - INFO - -------------------------------------------------------------------------------- 2024-08-21 20:29:36,012 - INFO - Deleted project: ctest-TestBasicVMVNx-56024181, ID : e6e312ac-447e-41a6-930f-2b2c879d2172