2024-10-28 13:27:32,369 - INFO - Domain Default found not creating 2024-10-28 13:27:32,551 - INFO - Project ctest-TestBasicVMVNx-93054741 not found, creating it 2024-10-28 13:27:33,015 - INFO - Created Project:ctest-TestBasicVMVNx-93054741, ID : 0d086b0e-fb99-4b84-99da-6213c729bced 2024-10-28 13:27:34,612 - INFO - ================================================================================ 2024-10-28 13:27:34,612 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-28 13:27:34,612 - 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-28 13:27:34,871 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.8': '0'}} with 2024-10-28 13:27:34,871 - INFO - Initial checks done. Running the testcase now 2024-10-28 13:27:34,872 - INFO - 2024-10-28 13:27:35,542 - DEBUG - Response for create_network : {'network': {'id': 'a6286dbc-38f4-48a2-901b-1be77f5e067c', 'name': 'ctest-vn-42804548', 'tenant_id': '0d086b0efb994b8499da6213c729bced', 'project_id': '0d086b0efb994b8499da6213c729bced', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-93054741', 'ctest-vn-42804548'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 13:27:35,732 - DEBUG - Response for create_subnet : {'subnet': {'id': '13de738a-18b3-4883-b5f2-7fe918440ab5', 'name': '', 'tenant_id': '0d086b0efb994b8499da6213c729bced', 'network_id': 'a6286dbc-38f4-48a2-901b-1be77f5e067c', 'ip_version': 4, 'cidr': '209.240.76.128/26', 'allocation_pools': [{'start': '209.240.76.130', 'end': '209.240.76.190'}], 'gateway_ip': '209.240.76.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.240.76.130', 'tags': [], 'project_id': '0d086b0efb994b8499da6213c729bced'}} 2024-10-28 13:27:35,752 - INFO - Created VN ctest-vn-42804548 2024-10-28 13:27:35,810 - DEBUG - VN ctest-vn-42804548 UUID is a6286dbc-38f4-48a2-901b-1be77f5e067c 2024-10-28 13:27:36,022 - DEBUG - Services list from nova: [, , ] 2024-10-28 13:27:37,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2160-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2160-1) 2024-10-28 13:27:38,324 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2160-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2160-1) 2024-10-28 13:27:38,324 - INFO - Waiting for VM ctest-TestBasicVMVNx-93054741-72008435 to be up.. 2024-10-28 13:27:38,420 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 13:27:43,517 - DEBUG - VM is in ACTIVE state now 2024-10-28 13:27:43,517 - INFO - VM name : ctest-TestBasicVMVNx-93054741-72008435 2024-10-28 13:27:43,623 - DEBUG - VM ctest-TestBasicVMVNx-93054741-72008435 ID is 4f59623a-7b28-42c8-9b4f-c463fce9fd7c 2024-10-28 13:27:43,646 - DEBUG - VM ctest-TestBasicVMVNx-93054741-72008435 launched on Node cn-jenkins-deploy-platform-ansible-os-2160-1 2024-10-28 13:27:43,736 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/4f59623a-7b28-42c8-9b4f-c463fce9fd7c 2024-10-28 13:27:44,032 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/4f59623a-7b28-42c8-9b4f-c463fce9fd7c 2024-10-28 13:27:44,071 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/a9860966-b348-4125-bc69-e41f5d25ce74 2024-10-28 13:27:47,357 - 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 1031ms') 2024-10-28 13:27:47,357 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93054741-72008435 failed! 2024-10-28 13:27:47,422 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-93054741:ctest-vn-42804548 is 209.240.76.129 and allocation pool is NOT set 2024-10-28 13:27:49,485 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.83 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.834/3.353/4.873/1.519 ms') 2024-10-28 13:27:49,485 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-93054741-72008435 passed 2024-10-28 13:27:49,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 13:27:49,646 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93054741-72008435, IP 209.240.76.131, Port 22 2024-10-28 13:27:49,701 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-10-28 13:27:49,782 - DEBUG - VM ctest-TestBasicVMVNx-93054741-72008435 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-28 13:27:54,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 13:27:54,784 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93054741-72008435, IP 209.240.76.131, Port 22 2024-10-28 13:27:54,959 - DEBUG - VM ctest-TestBasicVMVNx-93054741-72008435 is ready for SSH connections 2024-10-28 13:27:54,959 - INFO - Waiting for VM ctest-TestBasicVMVNx-93054741-42575454 to be up.. 2024-10-28 13:27:55,050 - DEBUG - VM is in ACTIVE state now 2024-10-28 13:27:55,050 - INFO - VM name : ctest-TestBasicVMVNx-93054741-42575454 2024-10-28 13:27:55,141 - DEBUG - VM ctest-TestBasicVMVNx-93054741-42575454 ID is 200abda7-8aeb-4592-aaa1-5d63f9146716 2024-10-28 13:27:55,141 - DEBUG - VM ctest-TestBasicVMVNx-93054741-42575454 launched on Node cn-jenkins-deploy-platform-ansible-os-2160-1 2024-10-28 13:27:55,224 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/200abda7-8aeb-4592-aaa1-5d63f9146716 2024-10-28 13:27:55,235 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/b4e633ff-2a13-4e52-9b2e-a55204560c3e 2024-10-28 13:27:56,489 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/2.014/3.581/1.566 ms') 2024-10-28 13:27:56,489 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-93054741-42575454 passed 2024-10-28 13:27:56,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 13:27:56,646 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-93054741-42575454, IP 209.240.76.132, Port 22 2024-10-28 13:27:56,815 - DEBUG - VM ctest-TestBasicVMVNx-93054741-42575454 is ready for SSH connections 2024-10-28 13:27:56,816 - DEBUG - FILE SIZE = 1303B 2024-10-28 13:27:56,816 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-93054741-72008435 to ctest-TestBasicVMVNx-93054741-42575454 using scp 2024-10-28 13:27:56,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 13:27:56,825 - 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.52, gateway password: c0ntrail123 2024-10-28 13:27:56,825 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-28 13:27:58,728 - DEBUG - 1+0 records in 1+0 records out 2024-10-28 13:27:59,514 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 13:27:59,864 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.52, gateway password: c0ntrail123 2024-10-28 13:27:59,864 - DEBUG - ls -l testfile 2024-10-28 13:28:01,455 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 28 07:27 testfile 2024-10-28 13:28:01,455 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-93054741-42575454 2024-10-28 13:28:01,455 - INFO - Deleting VM ctest-TestBasicVMVNx-93054741-42575454 2024-10-28 13:28:01,546 - INFO - Deleting VM ctest-TestBasicVMVNx-93054741-72008435 2024-10-28 13:28:01,653 - INFO - Deleting VN ctest-vn-42804548 2024-10-28 13:28:01,703 - DEBUG - VN a6286dbc-38f4-48a2-901b-1be77f5e067c still in use: Unable to complete operation on network a6286dbc-38f4-48a2-901b-1be77f5e067c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7c11f0e8-be9a-4740-bfe4-ea30405341b1'] 2024-10-28 13:28:01,703 - WARNING - Deleting VN ctest-vn-42804548 failed..Will retry 2024-10-28 13:28:03,859 - DEBUG - Response for deleting network () 2024-10-28 13:28:04,116 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 13:28:04,116 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30]
2024-10-28 13:28:04,117 - INFO - -------------------------------------------------------------------------------- 2024-10-28 13:28:04,877 - INFO - Deleted project: ctest-TestBasicVMVNx-93054741, ID : 0d086b0e-fb99-4b84-99da-6213c729bced