2024-08-26 19:02:28,747 - INFO - Domain Default found not creating 2024-08-26 19:02:28,935 - INFO - Project ctest-TestBasicVMVNx-27792056 not found, creating it 2024-08-26 19:02:29,404 - INFO - Created Project:ctest-TestBasicVMVNx-27792056, ID : 2b67d5d0-6d29-4259-ab98-76ea6a6154cf 2024-08-26 19:02:30,879 - INFO - ================================================================================ 2024-08-26 19:02:30,879 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-26 19:02:30,879 - 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-26 19:02:31,133 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.26': '0'}} with 2024-08-26 19:02:31,133 - INFO - Initial checks done. Running the testcase now 2024-08-26 19:02:31,133 - INFO - 2024-08-26 19:02:31,675 - DEBUG - Response for create_network : {'network': {'id': '429b04a1-7cd2-42e7-9b26-a200187e8584', 'name': 'ctest-vn-13621336', 'tenant_id': '2b67d5d06d294259ab9876ea6a6154cf', 'project_id': '2b67d5d06d294259ab9876ea6a6154cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-27792056', 'ctest-vn-13621336'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 19:02:31,869 - DEBUG - Response for create_subnet : {'subnet': {'id': '180d9fb4-4a2e-4f46-a350-2e7bb167fa7e', 'name': '', 'tenant_id': '2b67d5d06d294259ab9876ea6a6154cf', 'network_id': '429b04a1-7cd2-42e7-9b26-a200187e8584', 'ip_version': 4, 'cidr': '199.98.68.192/26', 'allocation_pools': [{'start': '199.98.68.194', 'end': '199.98.68.254'}], 'gateway_ip': '199.98.68.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.98.68.194', 'tags': [], 'project_id': '2b67d5d06d294259ab9876ea6a6154cf'}} 2024-08-26 19:02:31,889 - INFO - Created VN ctest-vn-13621336 2024-08-26 19:02:31,942 - DEBUG - VN ctest-vn-13621336 UUID is 429b04a1-7cd2-42e7-9b26-a200187e8584 2024-08-26 19:02:32,120 - DEBUG - Services list from nova: [, , ] 2024-08-26 19:02:33,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1767-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1767-1) 2024-08-26 19:02:34,350 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1767-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1767-1) 2024-08-26 19:02:34,351 - INFO - Waiting for VM ctest-TestBasicVMVNx-27792056-07272362 to be up.. 2024-08-26 19:02:34,451 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 19:02:39,530 - DEBUG - VM is in ACTIVE state now 2024-08-26 19:02:39,530 - INFO - VM name : ctest-TestBasicVMVNx-27792056-07272362 2024-08-26 19:02:39,613 - DEBUG - VM ctest-TestBasicVMVNx-27792056-07272362 ID is d928a3d5-1910-4940-a4a1-abced4d7c677 2024-08-26 19:02:39,638 - DEBUG - VM ctest-TestBasicVMVNx-27792056-07272362 launched on Node cn-jenkins-deploy-platform-ansible-os-1767-1 2024-08-26 19:02:39,719 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/d928a3d5-1910-4940-a4a1-abced4d7c677 2024-08-26 19:02:40,013 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/d928a3d5-1910-4940-a4a1-abced4d7c677 2024-08-26 19:02:40,046 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/e49b1fff-c9ab-45d6-90a8-5e74ddabe087 2024-08-26 19:02:43,283 - 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 1008ms') 2024-08-26 19:02:43,283 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27792056-07272362 failed! 2024-08-26 19:02:43,338 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-27792056:ctest-vn-13621336 is 199.98.68.193 and allocation pool is NOT set 2024-08-26 19:02:45,402 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/1.546/2.664/1.117 ms') 2024-08-26 19:02:45,402 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-27792056-07272362 passed 2024-08-26 19:02:45,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 19:02:45,555 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27792056-07272362, IP 199.98.68.195, Port 22 2024-08-26 19:02:45,711 - DEBUG - VM ctest-TestBasicVMVNx-27792056-07272362 is ready for SSH connections 2024-08-26 19:02:45,711 - INFO - Waiting for VM ctest-TestBasicVMVNx-27792056-44423110 to be up.. 2024-08-26 19:02:45,789 - DEBUG - VM is in ACTIVE state now 2024-08-26 19:02:45,789 - INFO - VM name : ctest-TestBasicVMVNx-27792056-44423110 2024-08-26 19:02:45,866 - DEBUG - VM ctest-TestBasicVMVNx-27792056-44423110 ID is 6e689817-2eb2-4a12-a404-12043515acfe 2024-08-26 19:02:45,866 - DEBUG - VM ctest-TestBasicVMVNx-27792056-44423110 launched on Node cn-jenkins-deploy-platform-ansible-os-1767-1 2024-08-26 19:02:45,957 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/6e689817-2eb2-4a12-a404-12043515acfe 2024-08-26 19:02:45,966 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/a77ae1f4-c09b-4e66-899a-de8f4bdc69e9 2024-08-26 19:02:47,206 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.507 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.507/1.694/2.882/1.187 ms') 2024-08-26 19:02:47,206 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-27792056-44423110 passed 2024-08-26 19:02:47,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 19:02:47,362 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-27792056-44423110, IP 199.98.68.196, Port 22 2024-08-26 19:02:47,518 - DEBUG - VM ctest-TestBasicVMVNx-27792056-44423110 is ready for SSH connections 2024-08-26 19:02:47,518 - DEBUG - FILE SIZE = 1303B 2024-08-26 19:02:47,518 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-27792056-07272362 to ctest-TestBasicVMVNx-27792056-44423110 using scp 2024-08-26 19:02:47,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 19:02:47,523 - 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.28, gateway password: c0ntrail123 2024-08-26 19:02:47,523 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-26 19:02:49,424 - DEBUG - 1+0 records in 1+0 records out 2024-08-26 19:02:50,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 19:02:50,339 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-08-26 19:02:50,339 - DEBUG - ls -l testfile 2024-08-26 19:02:51,901 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 26 13:02 testfile 2024-08-26 19:02:51,902 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-27792056-44423110 2024-08-26 19:02:51,902 - INFO - Deleting VM ctest-TestBasicVMVNx-27792056-44423110 2024-08-26 19:02:51,971 - INFO - Deleting VM ctest-TestBasicVMVNx-27792056-07272362 2024-08-26 19:02:52,040 - INFO - Deleting VN ctest-vn-13621336 2024-08-26 19:02:52,082 - DEBUG - VN 429b04a1-7cd2-42e7-9b26-a200187e8584 still in use: Unable to complete operation on network 429b04a1-7cd2-42e7-9b26-a200187e8584. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7af6c49f-c915-4a49-8a93-8e18fb56218d'] 2024-08-26 19:02:52,082 - WARNING - Deleting VN ctest-vn-13621336 failed..Will retry 2024-08-26 19:02:54,219 - DEBUG - Response for deleting network () 2024-08-26 19:02:54,473 - DEBUG - No XMPP flaps were noticed during the test 2024-08-26 19:02:54,473 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-08-26 19:02:54,473 - INFO - -------------------------------------------------------------------------------- 2024-08-26 19:02:55,170 - INFO - Deleted project: ctest-TestBasicVMVNx-27792056, ID : 2b67d5d0-6d29-4259-ab98-76ea6a6154cf