2024-10-24 14:46:57,582 - INFO - Domain Default found not creating 2024-10-24 14:46:57,785 - INFO - Project ctest-TestBasicVMVNx-88104532 not found, creating it 2024-10-24 14:46:58,292 - INFO - Created Project:ctest-TestBasicVMVNx-88104532, ID : 431ce1c1-23e8-4829-a2ec-da2cf3fdd0de 2024-10-24 14:47:00,044 - INFO - ================================================================================ 2024-10-24 14:47:00,045 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-24 14:47:00,045 - 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-10-24 14:47:00,304 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.8': '0'}} with 2024-10-24 14:47:00,304 - INFO - Initial checks done. Running the testcase now 2024-10-24 14:47:00,304 - INFO - 2024-10-24 14:47:00,988 - DEBUG - Response for create_network : {'network': {'id': 'f527a0ab-6a1a-4901-b890-a8179cb4950b', 'name': 'ctest-vn-72380227', 'tenant_id': '431ce1c123e84829a2ecda2cf3fdd0de', 'project_id': '431ce1c123e84829a2ecda2cf3fdd0de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-88104532', 'ctest-vn-72380227'], 'port_security_enabled': True, 'description': ''}} 2024-10-24 14:47:01,218 - DEBUG - Response for create_subnet : {'subnet': {'id': '31fbe728-f3cf-44af-ae7e-aad654f95761', 'name': '', 'tenant_id': '431ce1c123e84829a2ecda2cf3fdd0de', 'network_id': 'f527a0ab-6a1a-4901-b890-a8179cb4950b', 'ip_version': 4, 'cidr': '147.17.55.128/26', 'allocation_pools': [{'start': '147.17.55.130', 'end': '147.17.55.190'}], 'gateway_ip': '147.17.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.17.55.130', 'tags': [], 'project_id': '431ce1c123e84829a2ecda2cf3fdd0de'}} 2024-10-24 14:47:01,240 - INFO - Created VN ctest-vn-72380227 2024-10-24 14:47:01,301 - DEBUG - VN ctest-vn-72380227 UUID is f527a0ab-6a1a-4901-b890-a8179cb4950b 2024-10-24 14:47:01,494 - DEBUG - Services list from nova: [, , ] 2024-10-24 14:47:02,735 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2142-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2142-1) 2024-10-24 14:47:04,110 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2142-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2142-1) 2024-10-24 14:47:04,110 - INFO - Waiting for VM ctest-TestBasicVMVNx-88104532-74085008 to be up.. 2024-10-24 14:47:04,212 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-24 14:47:09,333 - DEBUG - VM is in ACTIVE state now 2024-10-24 14:47:09,333 - INFO - VM name : ctest-TestBasicVMVNx-88104532-74085008 2024-10-24 14:47:09,430 - DEBUG - VM ctest-TestBasicVMVNx-88104532-74085008 ID is 2c92cc77-c2e5-4715-8280-32548b77a379 2024-10-24 14:47:09,459 - DEBUG - VM ctest-TestBasicVMVNx-88104532-74085008 launched on Node cn-jenkins-deploy-platform-ansible-os-2142-1 2024-10-24 14:47:09,563 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/2c92cc77-c2e5-4715-8280-32548b77a379 2024-10-24 14:47:09,907 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/2c92cc77-c2e5-4715-8280-32548b77a379 2024-10-24 14:47:09,953 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/d83e0bdb-7d88-4337-b1e3-b30cf32fa4cb 2024-10-24 14:47:13,236 - 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 1006ms') 2024-10-24 14:47:13,236 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88104532-74085008 failed! 2024-10-24 14:47:13,306 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-88104532:ctest-vn-72380227 is 147.17.55.129 and allocation pool is NOT set 2024-10-24 14:47:15,371 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.44 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 = 2.441/2.868/3.295/0.427 ms') 2024-10-24 14:47:15,371 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-88104532-74085008 passed 2024-10-24 14:47:15,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 14:47:15,533 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88104532-74085008, IP 147.17.55.131, Port 22 2024-10-24 14:47:15,701 - DEBUG - VM ctest-TestBasicVMVNx-88104532-74085008 is ready for SSH connections 2024-10-24 14:47:15,701 - INFO - Waiting for VM ctest-TestBasicVMVNx-88104532-43783958 to be up.. 2024-10-24 14:47:15,847 - DEBUG - VM is in ACTIVE state now 2024-10-24 14:47:15,847 - INFO - VM name : ctest-TestBasicVMVNx-88104532-43783958 2024-10-24 14:47:15,949 - DEBUG - VM ctest-TestBasicVMVNx-88104532-43783958 ID is d4fb9593-34e7-4995-b13c-545e6c133202 2024-10-24 14:47:15,949 - DEBUG - VM ctest-TestBasicVMVNx-88104532-43783958 launched on Node cn-jenkins-deploy-platform-ansible-os-2142-1 2024-10-24 14:47:16,044 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/d4fb9593-34e7-4995-b13c-545e6c133202 2024-10-24 14:47:16,057 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/6d371b51-990d-4ca4-9f22-6f65e3cd51ad 2024-10-24 14:47:17,321 - 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=4.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.023/2.814/4.606/1.791 ms') 2024-10-24 14:47:17,321 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-88104532-43783958 passed 2024-10-24 14:47:17,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 14:47:17,498 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88104532-43783958, IP 147.17.55.132, Port 22 2024-10-24 14:47:17,567 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-10-24 14:47:17,656 - DEBUG - VM ctest-TestBasicVMVNx-88104532-43783958 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-24 14:47:22,656 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 14:47:22,656 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-88104532-43783958, IP 147.17.55.132, Port 22 2024-10-24 14:47:22,824 - DEBUG - VM ctest-TestBasicVMVNx-88104532-43783958 is ready for SSH connections 2024-10-24 14:47:22,824 - DEBUG - FILE SIZE = 1303B 2024-10-24 14:47:22,824 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-88104532-74085008 to ctest-TestBasicVMVNx-88104532-43783958 using scp 2024-10-24 14:47:22,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 14:47:22,834 - 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.12, gateway password: c0ntrail123 2024-10-24 14:47:22,834 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-24 14:47:24,858 - DEBUG - 1+0 records in 1+0 records out 2024-10-24 14:47:25,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-24 14:47:26,144 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2024-10-24 14:47:26,144 - DEBUG - ls -l testfile 2024-10-24 14:47:27,829 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 24 08:47 testfile 2024-10-24 14:47:27,830 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-88104532-43783958 2024-10-24 14:47:27,830 - INFO - Deleting VM ctest-TestBasicVMVNx-88104532-43783958 2024-10-24 14:47:27,919 - INFO - Deleting VM ctest-TestBasicVMVNx-88104532-74085008 2024-10-24 14:47:28,009 - INFO - Deleting VN ctest-vn-72380227 2024-10-24 14:47:28,057 - DEBUG - VN f527a0ab-6a1a-4901-b890-a8179cb4950b still in use: Unable to complete operation on network f527a0ab-6a1a-4901-b890-a8179cb4950b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0d41fd28-376f-4c40-a4d2-3a7ea781ae60'] 2024-10-24 14:47:28,057 - WARNING - Deleting VN ctest-vn-72380227 failed..Will retry 2024-10-24 14:47:30,186 - DEBUG - Response for deleting network () 2024-10-24 14:47:30,446 - DEBUG - No XMPP flaps were noticed during the test 2024-10-24 14:47:30,446 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-10-24 14:47:30,446 - INFO - -------------------------------------------------------------------------------- 2024-10-24 14:47:31,254 - INFO - Deleted project: ctest-TestBasicVMVNx-88104532, ID : 431ce1c1-23e8-4829-a2ec-da2cf3fdd0de