2025-11-10 12:08:59,899 - INFO - Domain Default found not creating 2025-11-10 12:09:00,050 - INFO - Project ctest-TestBasicVMVNx-67755241 not found, creating it 2025-11-10 12:09:00,513 - INFO - Created Project:ctest-TestBasicVMVNx-67755241, ID : e21bdeaf-dd9f-42fb-89c6-a03abbf7920e 2025-11-10 12:09:02,139 - INFO - ================================================================================ 2025-11-10 12:09:02,140 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-10 12:09:02,140 - 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-11-10 12:09:02,393 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with 2025-11-10 12:09:02,393 - INFO - Initial checks done. Running the testcase now 2025-11-10 12:09:02,393 - INFO - 2025-11-10 12:09:02,969 - DEBUG - Response for create_network : {'network': {'id': '70cbcd53-d3a5-4501-93d4-d506576d8c46', 'name': 'ctest-vn-41668364', 'tenant_id': 'e21bdeafdd9f42fb89c6a03abbf7920e', 'project_id': 'e21bdeafdd9f42fb89c6a03abbf7920e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-67755241', 'ctest-vn-41668364'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 12:09:03,168 - DEBUG - Response for create_subnet : {'subnet': {'id': '348f5723-9aad-47a0-91b9-1ea6f87c0977', 'name': '', 'tenant_id': 'e21bdeafdd9f42fb89c6a03abbf7920e', 'network_id': '70cbcd53-d3a5-4501-93d4-d506576d8c46', 'ip_version': 4, 'cidr': '133.110.255.192/26', 'allocation_pools': [{'start': '133.110.255.194', 'end': '133.110.255.254'}], 'gateway_ip': '133.110.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.110.255.194', 'tags': [], 'project_id': 'e21bdeafdd9f42fb89c6a03abbf7920e'}} 2025-11-10 12:09:03,193 - INFO - Created VN ctest-vn-41668364 2025-11-10 12:09:03,247 - DEBUG - VN ctest-vn-41668364 UUID is 70cbcd53-d3a5-4501-93d4-d506576d8c46 2025-11-10 12:09:03,411 - DEBUG - Services list from nova: [, , ] 2025-11-10 12:09:04,485 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4680-1) 2025-11-10 12:09:05,701 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4680-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4680-1) 2025-11-10 12:09:05,701 - INFO - Waiting for VM ctest-TestBasicVMVNx-67755241-36511622 to be up.. 2025-11-10 12:09:05,784 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 12:09:10,869 - DEBUG - VM is in ACTIVE state now 2025-11-10 12:09:10,869 - INFO - VM name : ctest-TestBasicVMVNx-67755241-36511622 2025-11-10 12:09:10,952 - DEBUG - VM ctest-TestBasicVMVNx-67755241-36511622 ID is e783c4a2-4f03-4192-9b38-5f9f512fce34 2025-11-10 12:09:10,977 - DEBUG - VM ctest-TestBasicVMVNx-67755241-36511622 launched on Node cn-jenkins-deploy-platform-ansible-os-4680-1 2025-11-10 12:09:11,061 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e783c4a2-4f03-4192-9b38-5f9f512fce34 2025-11-10 12:09:11,355 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/e783c4a2-4f03-4192-9b38-5f9f512fce34 2025-11-10 12:09:11,386 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c65c03f6-e88b-4b36-8539-28089846aded 2025-11-10 12:09:14,647 - 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 1025ms') 2025-11-10 12:09:14,648 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67755241-36511622 failed! 2025-11-10 12:09:14,703 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-67755241:ctest-vn-41668364 is 133.110.255.193 and allocation pool is NOT set 2025-11-10 12:09:16,772 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.28 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 = 1.283/2.746/4.209/1.463 ms') 2025-11-10 12:09:16,772 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67755241-36511622 passed 2025-11-10 12:09:16,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 12:09:16,927 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67755241-36511622, IP 133.110.255.195, Port 22 2025-11-10 12:09:16,983 - 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': ''} 2025-11-10 12:09:17,071 - DEBUG - VM ctest-TestBasicVMVNx-67755241-36511622 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 12:09:22,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 12:09:22,072 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67755241-36511622, IP 133.110.255.195, Port 22 2025-11-10 12:09:22,237 - DEBUG - VM ctest-TestBasicVMVNx-67755241-36511622 is ready for SSH connections 2025-11-10 12:09:22,238 - INFO - Waiting for VM ctest-TestBasicVMVNx-67755241-27630736 to be up.. 2025-11-10 12:09:22,330 - DEBUG - VM is in ACTIVE state now 2025-11-10 12:09:22,330 - INFO - VM name : ctest-TestBasicVMVNx-67755241-27630736 2025-11-10 12:09:22,416 - DEBUG - VM ctest-TestBasicVMVNx-67755241-27630736 ID is 5171b03b-da98-4c08-9349-43baf5bb5f79 2025-11-10 12:09:22,416 - DEBUG - VM ctest-TestBasicVMVNx-67755241-27630736 launched on Node cn-jenkins-deploy-platform-ansible-os-4680-1 2025-11-10 12:09:22,490 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5171b03b-da98-4c08-9349-43baf5bb5f79 2025-11-10 12:09:22,504 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/fa384d9a-da9a-43c8-a789-1b4332c7448c 2025-11-10 12:09:23,771 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.490 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.490/2.317/4.145/1.827 ms') 2025-11-10 12:09:23,771 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-67755241-27630736 passed 2025-11-10 12:09:23,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 12:09:23,919 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67755241-27630736, IP 133.110.255.196, Port 22 2025-11-10 12:09:24,071 - DEBUG - VM ctest-TestBasicVMVNx-67755241-27630736 is ready for SSH connections 2025-11-10 12:09:24,071 - DEBUG - FILE SIZE = 1303B 2025-11-10 12:09:24,071 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-67755241-36511622 to ctest-TestBasicVMVNx-67755241-27630736 using scp 2025-11-10 12:09:24,073 - 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-11-10 12:09:24,073 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-10 12:09:26,100 - DEBUG - 1+0 records in 1+0 records out 2025-11-10 12:09:26,731 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 12:09:27,074 - 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-11-10 12:09:27,074 - DEBUG - ls -l testfile 2025-11-10 12:09:28,787 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 10 05:09 testfile 2025-11-10 12:09:28,787 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-67755241-27630736 2025-11-10 12:09:28,788 - INFO - Deleting VM ctest-TestBasicVMVNx-67755241-27630736 2025-11-10 12:09:28,873 - INFO - Deleting VM ctest-TestBasicVMVNx-67755241-36511622 2025-11-10 12:09:28,947 - INFO - Deleting VN ctest-vn-41668364 2025-11-10 12:09:28,986 - DEBUG - VN 70cbcd53-d3a5-4501-93d4-d506576d8c46 still in use: Unable to complete operation on network 70cbcd53-d3a5-4501-93d4-d506576d8c46. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-412ada71-eaab-4116-97b2-eadb264c906d'] 2025-11-10 12:09:28,986 - WARNING - Deleting VN ctest-vn-41668364 failed..Will retry 2025-11-10 12:09:31,101 - DEBUG - Response for deleting network () 2025-11-10 12:09:31,361 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 12:09:31,361 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-11-10 12:09:31,362 - INFO - -------------------------------------------------------------------------------- 2025-11-10 12:09:32,513 - INFO - Deleted project: ctest-TestBasicVMVNx-67755241, ID : e21bdeaf-dd9f-42fb-89c6-a03abbf7920e