2025-01-09 07:39:47,877 - INFO - Domain Default found not creating 2025-01-09 07:39:48,040 - INFO - Project ctest-TestBasicVMVNx-74022820 not found, creating it 2025-01-09 07:39:48,508 - INFO - Created Project:ctest-TestBasicVMVNx-74022820, ID : 075dcfce-e73a-4d33-aa81-cf21d5b32ff2 2025-01-09 07:39:50,004 - INFO - ================================================================================ 2025-01-09 07:39:50,004 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-09 07:39:50,004 - 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 2025-01-09 07:39:50,265 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.26': '0'}} with 2025-01-09 07:39:50,265 - INFO - Initial checks done. Running the testcase now 2025-01-09 07:39:50,265 - INFO - 2025-01-09 07:39:50,855 - DEBUG - Response for create_network : {'network': {'id': 'e5215427-0047-4cd1-a8b9-939e38260588', 'name': 'ctest-vn-11714148', 'tenant_id': '075dcfcee73a4d33aa81cf21d5b32ff2', 'project_id': '075dcfcee73a4d33aa81cf21d5b32ff2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-74022820', 'ctest-vn-11714148'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 07:39:51,002 - DEBUG - Response for create_subnet : {'subnet': {'id': '77b8e25c-50ad-4ad8-bd4a-218c77fb9977', 'name': '', 'tenant_id': '075dcfcee73a4d33aa81cf21d5b32ff2', 'network_id': 'e5215427-0047-4cd1-a8b9-939e38260588', 'ip_version': 4, 'cidr': '201.134.1.192/26', 'allocation_pools': [{'start': '201.134.1.194', 'end': '201.134.1.254'}], 'gateway_ip': '201.134.1.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.134.1.194', 'tags': [], 'project_id': '075dcfcee73a4d33aa81cf21d5b32ff2'}} 2025-01-09 07:39:51,021 - INFO - Created VN ctest-vn-11714148 2025-01-09 07:39:51,076 - DEBUG - VN ctest-vn-11714148 UUID is e5215427-0047-4cd1-a8b9-939e38260588 2025-01-09 07:39:51,267 - DEBUG - Services list from nova: [, , ] 2025-01-09 07:39:52,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2580-1) 2025-01-09 07:39:53,581 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2580-1) 2025-01-09 07:39:53,581 - INFO - Waiting for VM ctest-TestBasicVMVNx-74022820-63493644 to be up.. 2025-01-09 07:39:53,716 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 07:39:58,802 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 07:40:03,884 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 07:40:08,972 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 07:40:14,049 - DEBUG - VM is in ACTIVE state now 2025-01-09 07:40:14,049 - INFO - VM name : ctest-TestBasicVMVNx-74022820-63493644 2025-01-09 07:40:14,140 - DEBUG - VM ctest-TestBasicVMVNx-74022820-63493644 ID is 2a2736d8-dcc4-4c31-b136-20016d1acff5 2025-01-09 07:40:14,281 - DEBUG - VM ctest-TestBasicVMVNx-74022820-63493644 launched on Node cn-jenkins-deploy-platform-ansible-os-2580-1 2025-01-09 07:40:14,383 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2a2736d8-dcc4-4c31-b136-20016d1acff5 2025-01-09 07:40:14,692 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2a2736d8-dcc4-4c31-b136-20016d1acff5 2025-01-09 07:40:14,731 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8bd3b788-9f68-412a-ac11-85ef641f902a 2025-01-09 07:40:18,016 - 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 1022ms') 2025-01-09 07:40:18,016 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74022820-63493644 failed! 2025-01-09 07:40:18,080 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-74022820:ctest-vn-11714148 is 201.134.1.193 and allocation pool is NOT set 2025-01-09 07:40:22,170 - 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=2 ttl=63 time=11.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1029ms\r\nrtt min/avg/max/mdev = 11.697/11.697/11.697/0.000 ms') 2025-01-09 07:40:22,170 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74022820-63493644 passed 2025-01-09 07:40:22,324 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:40:22,324 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74022820-63493644, IP 201.134.1.195, Port 22 2025-01-09 07:40:22,490 - DEBUG - VM ctest-TestBasicVMVNx-74022820-63493644 is ready for SSH connections 2025-01-09 07:40:22,490 - INFO - Waiting for VM ctest-TestBasicVMVNx-74022820-08818681 to be up.. 2025-01-09 07:40:22,587 - DEBUG - VM is in ACTIVE state now 2025-01-09 07:40:22,587 - INFO - VM name : ctest-TestBasicVMVNx-74022820-08818681 2025-01-09 07:40:22,674 - DEBUG - VM ctest-TestBasicVMVNx-74022820-08818681 ID is 3e8ff7ce-e949-4cc8-8b25-d6a19e805bde 2025-01-09 07:40:22,674 - DEBUG - VM ctest-TestBasicVMVNx-74022820-08818681 launched on Node cn-jenkins-deploy-platform-ansible-os-2580-1 2025-01-09 07:40:22,756 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/3e8ff7ce-e949-4cc8-8b25-d6a19e805bde 2025-01-09 07:40:22,768 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c7171448-89b7-44fa-9011-6ead8653e660 2025-01-09 07:40:24,020 - 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.748 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.748/1.816/2.884/1.068 ms') 2025-01-09 07:40:24,020 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-74022820-08818681 passed 2025-01-09 07:40:24,176 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:40:24,176 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74022820-08818681, IP 201.134.1.196, Port 22 2025-01-09 07:40:24,332 - DEBUG - VM ctest-TestBasicVMVNx-74022820-08818681 is ready for SSH connections 2025-01-09 07:40:24,333 - DEBUG - FILE SIZE = 1303B 2025-01-09 07:40:24,333 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-74022820-63493644 to ctest-TestBasicVMVNx-74022820-08818681 using scp 2025-01-09 07:40:24,334 - 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.33, gateway password: c0ntrail123 2025-01-09 07:40:24,334 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-09 07:40:25,936 - DEBUG - 1+0 records in 1+0 records out 2025-01-09 07:40:26,735 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:40:27,079 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-09 07:40:27,080 - DEBUG - ls -l testfile 2025-01-09 07:40:28,654 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 9 00:40 testfile 2025-01-09 07:40:28,655 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-74022820-08818681 2025-01-09 07:40:28,655 - INFO - Deleting VM ctest-TestBasicVMVNx-74022820-08818681 2025-01-09 07:40:28,724 - INFO - Deleting VM ctest-TestBasicVMVNx-74022820-63493644 2025-01-09 07:40:28,794 - INFO - Deleting VN ctest-vn-11714148 2025-01-09 07:40:28,837 - DEBUG - VN e5215427-0047-4cd1-a8b9-939e38260588 still in use: Unable to complete operation on network e5215427-0047-4cd1-a8b9-939e38260588. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b19167e9-7d3e-4a4e-aca2-5808c0bdf87f'] 2025-01-09 07:40:28,837 - WARNING - Deleting VN ctest-vn-11714148 failed..Will retry 2025-01-09 07:40:30,950 - DEBUG - Response for deleting network () 2025-01-09 07:40:31,210 - DEBUG - No XMPP flaps were noticed during the test
2025-01-09 07:40:31,210 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:41]
2025-01-09 07:40:31,211 - INFO - -------------------------------------------------------------------------------- 2025-01-09 07:40:31,954 - INFO - Deleted project: ctest-TestBasicVMVNx-74022820, ID : 075dcfce-e73a-4d33-aa81-cf21d5b32ff2