2024-11-03 22:46:35,727 - INFO - Domain Default found not creating 2024-11-03 22:46:35,944 - INFO - Project ctest-TestBasicVMVNx-71967604 not found, creating it 2024-11-03 22:46:36,481 - INFO - Created Project:ctest-TestBasicVMVNx-71967604, ID : 1b3c5706-53f0-4b17-a722-1f8178b93b5c 2024-11-03 22:46:38,172 - INFO - ================================================================================ 2024-11-03 22:46:38,172 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-03 22:46:38,172 - 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-11-03 22:46:38,439 - DEBUG - Nothing to compare xmpp stats {'10.0.0.37': {'10.20.0.23': '0'}} with 2024-11-03 22:46:38,439 - INFO - Initial checks done. Running the testcase now 2024-11-03 22:46:38,439 - INFO - 2024-11-03 22:46:39,164 - DEBUG - Response for create_network : {'network': {'id': 'a09eda94-e736-4785-a42c-3440d29182d7', 'name': 'ctest-vn-07055434', 'tenant_id': '1b3c570653f04b17a7221f8178b93b5c', 'project_id': '1b3c570653f04b17a7221f8178b93b5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-71967604', 'ctest-vn-07055434'], 'port_security_enabled': True, 'description': ''}} 2024-11-03 22:46:39,365 - DEBUG - Response for create_subnet : {'subnet': {'id': '130e1b3f-affa-484a-8a3c-06659e2929e1', 'name': '', 'tenant_id': '1b3c570653f04b17a7221f8178b93b5c', 'network_id': 'a09eda94-e736-4785-a42c-3440d29182d7', 'ip_version': 4, 'cidr': '71.162.210.64/26', 'allocation_pools': [{'start': '71.162.210.66', 'end': '71.162.210.126'}], 'gateway_ip': '71.162.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.162.210.66', 'tags': [], 'project_id': '1b3c570653f04b17a7221f8178b93b5c'}} 2024-11-03 22:46:39,392 - INFO - Created VN ctest-vn-07055434 2024-11-03 22:46:39,451 - DEBUG - VN ctest-vn-07055434 UUID is a09eda94-e736-4785-a42c-3440d29182d7 2024-11-03 22:46:39,657 - DEBUG - Services list from nova: [, , ] 2024-11-03 22:46:40,834 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2192-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2192-1) 2024-11-03 22:46:42,115 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2192-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2192-1) 2024-11-03 22:46:42,115 - INFO - Waiting for VM ctest-TestBasicVMVNx-71967604-62444454 to be up.. 2024-11-03 22:46:42,320 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-03 22:46:47,406 - DEBUG - VM is in ACTIVE state now 2024-11-03 22:46:47,406 - INFO - VM name : ctest-TestBasicVMVNx-71967604-62444454 2024-11-03 22:46:47,508 - DEBUG - VM ctest-TestBasicVMVNx-71967604-62444454 ID is 929d7c58-4f01-4247-afad-a1debda1595c 2024-11-03 22:46:47,534 - DEBUG - VM ctest-TestBasicVMVNx-71967604-62444454 launched on Node cn-jenkins-deploy-platform-ansible-os-2192-1 2024-11-03 22:46:47,638 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/929d7c58-4f01-4247-afad-a1debda1595c 2024-11-03 22:46:47,959 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/929d7c58-4f01-4247-afad-a1debda1595c 2024-11-03 22:46:48,011 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/b72281e4-68db-4535-87a1-2ffcab6f93b2 2024-11-03 22:46:51,301 - 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 1010ms') 2024-11-03 22:46:51,302 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71967604-62444454 failed! 2024-11-03 22:46:51,363 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-71967604:ctest-vn-07055434 is 71.162.210.65 and allocation pool is NOT set 2024-11-03 22:46:53,421 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.13 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 = 1.130/2.941/4.752/1.811 ms') 2024-11-03 22:46:53,421 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-71967604-62444454 passed 2024-11-03 22:46:53,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 22:46:53,595 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71967604-62444454, IP 71.162.210.67, Port 22 2024-11-03 22:46:53,771 - DEBUG - VM ctest-TestBasicVMVNx-71967604-62444454 is ready for SSH connections 2024-11-03 22:46:53,771 - INFO - Waiting for VM ctest-TestBasicVMVNx-71967604-99064878 to be up.. 2024-11-03 22:46:53,865 - DEBUG - VM is in ACTIVE state now 2024-11-03 22:46:53,865 - INFO - VM name : ctest-TestBasicVMVNx-71967604-99064878 2024-11-03 22:46:53,984 - DEBUG - VM ctest-TestBasicVMVNx-71967604-99064878 ID is bd1f4fd6-03f6-48e8-b59b-7268c4a97d8c 2024-11-03 22:46:53,985 - DEBUG - VM ctest-TestBasicVMVNx-71967604-99064878 launched on Node cn-jenkins-deploy-platform-ansible-os-2192-1 2024-11-03 22:46:54,084 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine/bd1f4fd6-03f6-48e8-b59b-7268c4a97d8c 2024-11-03 22:46:54,181 - DEBUG - Requesting: http://10.0.0.37:8082/virtual-machine-interface/d7e7ad8d-6c3e-41ab-9881-d296a23d74aa 2024-11-03 22:46:55,441 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.568 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.568/2.122/3.676/1.554 ms') 2024-11-03 22:46:55,441 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-71967604-99064878 passed 2024-11-03 22:46:55,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 22:46:55,607 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-71967604-99064878, IP 71.162.210.68, Port 22 2024-11-03 22:46:55,777 - DEBUG - VM ctest-TestBasicVMVNx-71967604-99064878 is ready for SSH connections 2024-11-03 22:46:55,777 - DEBUG - FILE SIZE = 1303B 2024-11-03 22:46:55,778 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-71967604-62444454 to ctest-TestBasicVMVNx-71967604-99064878 using scp 2024-11-03 22:46:55,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 22:46:55,785 - 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.37, gateway password: c0ntrail123 2024-11-03 22:46:55,785 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-03 22:46:57,410 - DEBUG - 1+0 records in 1+0 records out 2024-11-03 22:46:58,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 22:46:58,548 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.37, gateway password: c0ntrail123 2024-11-03 22:46:58,549 - DEBUG - ls -l testfile 2024-11-03 22:47:00,164 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 3 15:46 testfile 2024-11-03 22:47:00,164 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-71967604-99064878 2024-11-03 22:47:00,165 - INFO - Deleting VM ctest-TestBasicVMVNx-71967604-99064878 2024-11-03 22:47:00,266 - INFO - Deleting VM ctest-TestBasicVMVNx-71967604-62444454 2024-11-03 22:47:00,353 - INFO - Deleting VN ctest-vn-07055434 2024-11-03 22:47:00,419 - DEBUG - VN a09eda94-e736-4785-a42c-3440d29182d7 still in use: Unable to complete operation on network a09eda94-e736-4785-a42c-3440d29182d7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d5fdc00-6013-4605-800c-2e6ad6407dc1'] 2024-11-03 22:47:00,420 - WARNING - Deleting VN ctest-vn-07055434 failed..Will retry 2024-11-03 22:47:02,606 - DEBUG - Response for deleting network () 2024-11-03 22:47:02,866 - DEBUG - No XMPP flaps were noticed during the test
2024-11-03 22:47:02,866 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2024-11-03 22:47:02,866 - INFO - -------------------------------------------------------------------------------- 2024-11-03 22:47:03,627 - INFO - Deleted project: ctest-TestBasicVMVNx-71967604, ID : 1b3c5706-53f0-4b17-a722-1f8178b93b5c