2025-01-13 16:10:03,011 - INFO - Domain Default found not creating 2025-01-13 16:10:03,176 - INFO - Project ctest-TestBasicVMVNx-41134829 not found, creating it 2025-01-13 16:10:03,679 - INFO - Created Project:ctest-TestBasicVMVNx-41134829, ID : 07139e29-8428-4272-a744-abb48ede47b5 2025-01-13 16:10:05,262 - INFO - ================================================================================ 2025-01-13 16:10:05,262 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-13 16:10:05,262 - 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-13 16:10:05,534 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.29': '0'}} with 2025-01-13 16:10:05,535 - INFO - Initial checks done. Running the testcase now 2025-01-13 16:10:05,535 - INFO - 2025-01-13 16:10:06,135 - DEBUG - Response for create_network : {'network': {'id': '11f918ae-a92c-479a-b6c1-fa581f4a08af', 'name': 'ctest-vn-88789650', 'tenant_id': '07139e2984284272a744abb48ede47b5', 'project_id': '07139e2984284272a744abb48ede47b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-41134829', 'ctest-vn-88789650'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 16:10:06,300 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cbd9fef5-ed52-452c-bedc-d0d2764d3610', 'name': '', 'tenant_id': '07139e2984284272a744abb48ede47b5', 'network_id': '11f918ae-a92c-479a-b6c1-fa581f4a08af', 'ip_version': 4, 'cidr': '163.117.153.64/26', 'allocation_pools': [{'start': '163.117.153.66', 'end': '163.117.153.126'}], 'gateway_ip': '163.117.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.117.153.66', 'tags': [], 'project_id': '07139e2984284272a744abb48ede47b5'}} 2025-01-13 16:10:06,325 - INFO - Created VN ctest-vn-88789650 2025-01-13 16:10:06,380 - DEBUG - VN ctest-vn-88789650 UUID is 11f918ae-a92c-479a-b6c1-fa581f4a08af 2025-01-13 16:10:06,565 - DEBUG - Services list from nova: [, , ] 2025-01-13 16:10:07,677 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2613-1) 2025-01-13 16:10:08,975 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2613-1) 2025-01-13 16:10:08,975 - INFO - Waiting for VM ctest-TestBasicVMVNx-41134829-04206599 to be up.. 2025-01-13 16:10:09,089 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 16:10:14,196 - DEBUG - VM is in ACTIVE state now 2025-01-13 16:10:14,196 - INFO - VM name : ctest-TestBasicVMVNx-41134829-04206599 2025-01-13 16:10:14,288 - DEBUG - VM ctest-TestBasicVMVNx-41134829-04206599 ID is 4bf2a1b2-220e-4b94-8c3e-743244e87c55 2025-01-13 16:10:14,321 - DEBUG - VM ctest-TestBasicVMVNx-41134829-04206599 launched on Node cn-jenkins-deploy-platform-ansible-os-2613-1 2025-01-13 16:10:14,417 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/4bf2a1b2-220e-4b94-8c3e-743244e87c55 2025-01-13 16:10:14,723 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/4bf2a1b2-220e-4b94-8c3e-743244e87c55 2025-01-13 16:10:14,763 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/a1ec7eb0-9a50-4790-a734-f490dee0eadc 2025-01-13 16:10:18,024 - 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') 2025-01-13 16:10:18,024 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41134829-04206599 failed! 2025-01-13 16:10:18,084 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-41134829:ctest-vn-88789650 is 163.117.153.65 and allocation pool is NOT set 2025-01-13 16:10:20,148 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.862 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 = 0.862/2.731/4.600/1.869 ms') 2025-01-13 16:10:20,149 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-41134829-04206599 passed 2025-01-13 16:10:20,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 16:10:20,308 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41134829-04206599, IP 163.117.153.67, Port 22 2025-01-13 16:10:20,475 - DEBUG - VM ctest-TestBasicVMVNx-41134829-04206599 is ready for SSH connections 2025-01-13 16:10:20,475 - INFO - Waiting for VM ctest-TestBasicVMVNx-41134829-17429893 to be up.. 2025-01-13 16:10:20,569 - DEBUG - VM is in ACTIVE state now 2025-01-13 16:10:20,569 - INFO - VM name : ctest-TestBasicVMVNx-41134829-17429893 2025-01-13 16:10:20,661 - DEBUG - VM ctest-TestBasicVMVNx-41134829-17429893 ID is 9c12e025-e5ae-483a-8a47-666b63bc0554 2025-01-13 16:10:20,661 - DEBUG - VM ctest-TestBasicVMVNx-41134829-17429893 launched on Node cn-jenkins-deploy-platform-ansible-os-2613-1 2025-01-13 16:10:20,758 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/9c12e025-e5ae-483a-8a47-666b63bc0554 2025-01-13 16:10:20,770 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/02f6ad49-6034-4498-a546-5b1b1545ac2e 2025-01-13 16:10:22,030 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.37 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.374/2.611/3.849/1.237 ms') 2025-01-13 16:10:22,030 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-41134829-17429893 passed 2025-01-13 16:10:22,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 16:10:22,184 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41134829-17429893, IP 163.117.153.68, Port 22 2025-01-13 16:10:22,250 - 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': ''} 2025-01-13 16:10:22,340 - DEBUG - VM ctest-TestBasicVMVNx-41134829-17429893 is NOT ready for SSH connections, VM status: ACTIVE 2025-01-13 16:10:27,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 16:10:27,342 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-41134829-17429893, IP 163.117.153.68, Port 22 2025-01-13 16:10:27,501 - DEBUG - VM ctest-TestBasicVMVNx-41134829-17429893 is ready for SSH connections 2025-01-13 16:10:27,501 - DEBUG - FILE SIZE = 1303B 2025-01-13 16:10:27,501 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-41134829-04206599 to ctest-TestBasicVMVNx-41134829-17429893 using scp 2025-01-13 16:10:27,502 - 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.36, gateway password: c0ntrail123 2025-01-13 16:10:27,502 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-13 16:10:29,465 - DEBUG - 1+0 records in 1+0 records out 2025-01-13 16:10:30,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 16:10:30,641 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2025-01-13 16:10:30,642 - DEBUG - ls -l testfile 2025-01-13 16:10:32,257 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 13 09:10 testfile 2025-01-13 16:10:32,257 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-41134829-17429893 2025-01-13 16:10:32,258 - INFO - Deleting VM ctest-TestBasicVMVNx-41134829-17429893 2025-01-13 16:10:32,342 - INFO - Deleting VM ctest-TestBasicVMVNx-41134829-04206599 2025-01-13 16:10:32,421 - INFO - Deleting VN ctest-vn-88789650 2025-01-13 16:10:32,468 - DEBUG - VN 11f918ae-a92c-479a-b6c1-fa581f4a08af still in use: Unable to complete operation on network 11f918ae-a92c-479a-b6c1-fa581f4a08af. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-68b4ac04-a47f-4467-8c3f-e3d730d53774'] 2025-01-13 16:10:32,468 - WARNING - Deleting VN ctest-vn-88789650 failed..Will retry 2025-01-13 16:10:34,616 - DEBUG - Response for deleting network () 2025-01-13 16:10:34,889 - DEBUG - No XMPP flaps were noticed during the test
2025-01-13 16:10:34,889 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-01-13 16:10:34,889 - INFO - -------------------------------------------------------------------------------- 2025-01-13 16:10:35,632 - INFO - Deleted project: ctest-TestBasicVMVNx-41134829, ID : 07139e29-8428-4272-a744-abb48ede47b5