2025-04-16 11:11:34,937 - INFO - Reading existing Domain with UUID b01b56ed-3042-44ba-b42d-383118ee132c 2025-04-16 11:11:34,951 - INFO - Using existing domain ['admin_domain'](b01b56ed-3042-44ba-b42d-383118ee132c) 2025-04-16 11:11:35,183 - INFO - Project ctest-TestBasicVMVNx-50829673 not found, creating it 2025-04-16 11:11:35,744 - INFO - Created Project:ctest-TestBasicVMVNx-50829673, ID : 323e9166-fe91-4099-abb0-6b32b3c8b766 2025-04-16 11:11:37,576 - INFO - ================================================================================ 2025-04-16 11:11:37,576 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-16 11:11:37,576 - 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-04-16 11:11:37,962 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.0.0.19': '0'}} with 2025-04-16 11:11:37,962 - INFO - Initial checks done. Running the testcase now 2025-04-16 11:11:37,962 - INFO - 2025-04-16 11:11:38,818 - DEBUG - Response for create_network : {'network': {'id': 'fcd19f51-7db8-451b-bc20-76f51aeb1383', 'name': 'ctest-vn-37958477', 'tenant_id': '323e9166fe914099abb06b32b3c8b766', 'project_id': '323e9166fe914099abb06b32b3c8b766', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-50829673', 'ctest-vn-37958477'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-04-16 11:11:39,114 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3480b4f-e51a-4768-b255-f9061843c8c9', 'name': '', 'tenant_id': '323e9166fe914099abb06b32b3c8b766', 'network_id': 'fcd19f51-7db8-451b-bc20-76f51aeb1383', 'ip_version': 4, 'cidr': '50.23.185.64/26', 'allocation_pools': [{'start': '50.23.185.66', 'end': '50.23.185.126'}], 'gateway_ip': '50.23.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-16T11:11:39.004964', 'updated_at': '2025-04-16T11:11:39.004964', 'dns_server_address': '50.23.185.66', 'tags': [], 'project_id': '323e9166fe914099abb06b32b3c8b766'}} 2025-04-16 11:11:39,183 - INFO - Created VN ctest-vn-37958477 2025-04-16 11:11:39,244 - DEBUG - VN ctest-vn-37958477 UUID is fcd19f51-7db8-451b-bc20-76f51aeb1383 2025-04-16 11:11:39,539 - DEBUG - Services list from nova: [, , ] 2025-04-16 11:11:40,704 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-514-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-514-1) 2025-04-16 11:11:42,172 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-514-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-514-1) 2025-04-16 11:11:42,172 - INFO - Waiting for VM ctest-TestBasicVMVNx-50829673-07784755 to be up.. 2025-04-16 11:11:42,332 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-16 11:11:47,505 - DEBUG - VM is in ACTIVE state now 2025-04-16 11:11:47,505 - INFO - VM name : ctest-TestBasicVMVNx-50829673-07784755 2025-04-16 11:11:47,818 - DEBUG - VM ctest-TestBasicVMVNx-50829673-07784755 ID is 0423c54b-1b1c-4783-a4b8-e98fd9ee40e4 2025-04-16 11:11:47,857 - DEBUG - VM ctest-TestBasicVMVNx-50829673-07784755 launched on Node cn-jenkins-deploy-platform-juju-os-514-1 2025-04-16 11:11:48,011 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-machine/0423c54b-1b1c-4783-a4b8-e98fd9ee40e4 2025-04-16 11:11:48,364 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-machine/0423c54b-1b1c-4783-a4b8-e98fd9ee40e4 2025-04-16 11:11:48,462 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-machine-interface/41885040-416f-4bc7-96cb-579a365d20e4 2025-04-16 11:11:51,963 - 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 1033ms') 2025-04-16 11:11:51,963 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-50829673-07784755 failed! 2025-04-16 11:11:52,029 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-50829673:ctest-vn-37958477 is 50.23.185.65 and allocation pool is NOT set 2025-04-16 11:11:54,131 - 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=12.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.644 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.644/6.304/11.964/5.660 ms') 2025-04-16 11:11:54,131 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-50829673-07784755 passed 2025-04-16 11:11:54,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 11:11:54,300 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-50829673-07784755, IP 50.23.185.67, Port 22 2025-04-16 11:11:54,387 - 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-04-16 11:11:54,552 - DEBUG - VM ctest-TestBasicVMVNx-50829673-07784755 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-16 11:11:59,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 11:11:59,553 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-50829673-07784755, IP 50.23.185.67, Port 22 2025-04-16 11:11:59,768 - DEBUG - VM ctest-TestBasicVMVNx-50829673-07784755 is ready for SSH connections 2025-04-16 11:11:59,768 - INFO - Waiting for VM ctest-TestBasicVMVNx-50829673-57650973 to be up.. 2025-04-16 11:11:59,930 - DEBUG - VM is in ACTIVE state now 2025-04-16 11:11:59,930 - INFO - VM name : ctest-TestBasicVMVNx-50829673-57650973 2025-04-16 11:12:00,110 - DEBUG - VM ctest-TestBasicVMVNx-50829673-57650973 ID is 4bdc4ad9-b77f-4073-8092-24a811066f07 2025-04-16 11:12:00,111 - DEBUG - VM ctest-TestBasicVMVNx-50829673-57650973 launched on Node cn-jenkins-deploy-platform-juju-os-514-1 2025-04-16 11:12:00,273 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-machine/4bdc4ad9-b77f-4073-8092-24a811066f07 2025-04-16 11:12:00,330 - DEBUG - Requesting: https://10.0.0.19:8082/virtual-machine-interface/f3d95470-55a0-4b7b-bddf-6c3cf99aadce 2025-04-16 11:12:01,802 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.573 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.573/1.874/3.175/1.301 ms') 2025-04-16 11:12:01,802 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-50829673-57650973 passed 2025-04-16 11:12:01,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 11:12:01,973 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-50829673-57650973, IP 50.23.185.68, Port 22 2025-04-16 11:12:02,196 - DEBUG - VM ctest-TestBasicVMVNx-50829673-57650973 is ready for SSH connections 2025-04-16 11:12:02,196 - DEBUG - FILE SIZE = 1303B 2025-04-16 11:12:02,196 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-50829673-07784755 to ctest-TestBasicVMVNx-50829673-57650973 using scp 2025-04-16 11:12:02,202 - 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.19, gateway password: c0ntrail123 2025-04-16 11:12:02,203 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-16 11:12:03,864 - DEBUG - 1+0 records in 1+0 records out 2025-04-16 11:12:04,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-16 11:12:04,869 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-04-16 11:12:04,869 - DEBUG - ls -l testfile 2025-04-16 11:12:06,467 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 16 05:12 testfile 2025-04-16 11:12:06,467 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-50829673-57650973 2025-04-16 11:12:06,468 - INFO - Deleting VM ctest-TestBasicVMVNx-50829673-57650973 2025-04-16 11:12:06,596 - INFO - Deleting VM ctest-TestBasicVMVNx-50829673-07784755 2025-04-16 11:12:06,735 - INFO - Deleting VN ctest-vn-37958477 2025-04-16 11:12:06,889 - DEBUG - VN fcd19f51-7db8-451b-bc20-76f51aeb1383 still in use: Unable to complete operation on network fcd19f51-7db8-451b-bc20-76f51aeb1383. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7b98c1a4-37ae-477b-892b-9b2d83a2463e'] 2025-04-16 11:12:06,889 - WARNING - Deleting VN ctest-vn-37958477 failed..Will retry 2025-04-16 11:12:09,094 - DEBUG - Response for deleting network () 2025-04-16 11:12:09,482 - DEBUG - No XMPP flaps were noticed during the test
2025-04-16 11:12:09,482 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:32]
2025-04-16 11:12:09,482 - INFO - -------------------------------------------------------------------------------- 2025-04-16 11:12:10,327 - INFO - Deleted project: ctest-TestBasicVMVNx-50829673, ID : 323e9166-fe91-4099-abb0-6b32b3c8b766