2025-06-23 01:56:57,579 - INFO - Reading existing Domain with UUID e8d391b1-ca64-4945-8ae2-167d3ed268f0 2025-06-23 01:56:57,593 - INFO - Using existing domain ['admin_domain'](e8d391b1-ca64-4945-8ae2-167d3ed268f0) 2025-06-23 01:56:57,805 - INFO - Project ctest-TestBasicVMVNx-69785458 not found, creating it 2025-06-23 01:56:58,332 - INFO - Created Project:ctest-TestBasicVMVNx-69785458, ID : 87745c19-9994-4308-9453-3ebc2bd72d30 2025-06-23 01:57:00,161 - INFO - ================================================================================ 2025-06-23 01:57:00,161 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-23 01:57:00,161 - 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-06-23 01:57:00,567 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with 2025-06-23 01:57:00,567 - INFO - Initial checks done. Running the testcase now 2025-06-23 01:57:00,567 - INFO - 2025-06-23 01:57:01,386 - DEBUG - Response for create_network : {'network': {'id': '413edc67-43ac-455e-9664-bb618418a3af', 'name': 'ctest-vn-49493453', 'tenant_id': '87745c199994430894533ebc2bd72d30', 'project_id': '87745c199994430894533ebc2bd72d30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-69785458', 'ctest-vn-49493453'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-06-23 01:57:01,662 - DEBUG - Response for create_subnet : {'subnet': {'id': '887fba4c-3dd2-46eb-9ce8-23f68733c710', 'name': '', 'tenant_id': '87745c199994430894533ebc2bd72d30', 'network_id': '413edc67-43ac-455e-9664-bb618418a3af', 'ip_version': 4, 'cidr': '82.219.48.0/26', 'allocation_pools': [{'start': '82.219.48.2', 'end': '82.219.48.62'}], 'gateway_ip': '82.219.48.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-06-23T01:57:01.553278', 'updated_at': '2025-06-23T01:57:01.553278', 'dns_server_address': '82.219.48.2', 'tags': [], 'project_id': '87745c199994430894533ebc2bd72d30'}} 2025-06-23 01:57:01,731 - INFO - Created VN ctest-vn-49493453 2025-06-23 01:57:01,789 - DEBUG - VN ctest-vn-49493453 UUID is 413edc67-43ac-455e-9664-bb618418a3af 2025-06-23 01:57:02,081 - DEBUG - Services list from nova: [, , ] 2025-06-23 01:57:03,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-548-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-548-1) 2025-06-23 01:57:05,474 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-548-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-548-1) 2025-06-23 01:57:05,475 - INFO - Waiting for VM ctest-TestBasicVMVNx-69785458-38727392 to be up.. 2025-06-23 01:57:05,644 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-23 01:57:10,794 - DEBUG - VM is in ACTIVE state now 2025-06-23 01:57:10,794 - INFO - VM name : ctest-TestBasicVMVNx-69785458-38727392 2025-06-23 01:57:10,936 - DEBUG - VM ctest-TestBasicVMVNx-69785458-38727392 ID is 012b9cbd-e6b1-406e-a7e9-64e3a456fca1 2025-06-23 01:57:10,964 - DEBUG - VM ctest-TestBasicVMVNx-69785458-38727392 launched on Node cn-jenkins-deploy-platform-juju-os-548-1 2025-06-23 01:57:11,108 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/012b9cbd-e6b1-406e-a7e9-64e3a456fca1 2025-06-23 01:57:11,500 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/012b9cbd-e6b1-406e-a7e9-64e3a456fca1 2025-06-23 01:57:11,602 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/9fb73ad3-0516-449e-8d21-1ed256bd53c0 2025-06-23 01:57:15,097 - 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 1019ms') 2025-06-23 01:57:15,097 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-69785458-38727392 failed! 2025-06-23 01:57:15,157 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-69785458:ctest-vn-49493453 is 82.219.48.1 and allocation pool is NOT set 2025-06-23 01:57:17,250 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.24 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.240/3.388/4.537/1.148 ms') 2025-06-23 01:57:17,251 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-69785458-38727392 passed 2025-06-23 01:57:17,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 01:57:17,414 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-69785458-38727392, IP 82.219.48.3, Port 22 2025-06-23 01:57:17,640 - DEBUG - VM ctest-TestBasicVMVNx-69785458-38727392 is ready for SSH connections 2025-06-23 01:57:17,640 - INFO - Waiting for VM ctest-TestBasicVMVNx-69785458-31426358 to be up.. 2025-06-23 01:57:17,799 - DEBUG - VM is in ACTIVE state now 2025-06-23 01:57:17,799 - INFO - VM name : ctest-TestBasicVMVNx-69785458-31426358 2025-06-23 01:57:17,990 - DEBUG - VM ctest-TestBasicVMVNx-69785458-31426358 ID is 3095bca4-f4de-4562-b2df-ad55fe14bd22 2025-06-23 01:57:17,990 - DEBUG - VM ctest-TestBasicVMVNx-69785458-31426358 launched on Node cn-jenkins-deploy-platform-juju-os-548-1 2025-06-23 01:57:18,157 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/3095bca4-f4de-4562-b2df-ad55fe14bd22 2025-06-23 01:57:18,214 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/4a65c595-7d98-4c06-a098-4753a5046381 2025-06-23 01:57:19,694 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.01 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 = 1.006/2.382/3.758/1.376 ms') 2025-06-23 01:57:19,694 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-69785458-31426358 passed 2025-06-23 01:57:19,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 01:57:19,870 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-69785458-31426358, IP 82.219.48.4, Port 22 2025-06-23 01:57:19,960 - 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-06-23 01:57:20,117 - DEBUG - VM ctest-TestBasicVMVNx-69785458-31426358 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-23 01:57:25,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 01:57:25,118 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-69785458-31426358, IP 82.219.48.4, Port 22 2025-06-23 01:57:25,327 - DEBUG - VM ctest-TestBasicVMVNx-69785458-31426358 is ready for SSH connections 2025-06-23 01:57:25,328 - DEBUG - FILE SIZE = 1303B 2025-06-23 01:57:25,328 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-69785458-38727392 to ctest-TestBasicVMVNx-69785458-31426358 using scp 2025-06-23 01:57:25,333 - 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.22, gateway password: c0ntrail123 2025-06-23 01:57:25,334 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-23 01:57:27,415 - DEBUG - 1+0 records in 1+0 records out 2025-06-23 01:57:28,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-23 01:57:28,419 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-06-23 01:57:28,420 - DEBUG - ls -l testfile 2025-06-23 01:57:30,064 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 22 19:57 testfile 2025-06-23 01:57:30,064 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-69785458-31426358 2025-06-23 01:57:30,064 - INFO - Deleting VM ctest-TestBasicVMVNx-69785458-31426358 2025-06-23 01:57:30,174 - INFO - Deleting VM ctest-TestBasicVMVNx-69785458-38727392 2025-06-23 01:57:30,290 - INFO - Deleting VN ctest-vn-49493453 2025-06-23 01:57:30,437 - DEBUG - VN 413edc67-43ac-455e-9664-bb618418a3af still in use: Unable to complete operation on network 413edc67-43ac-455e-9664-bb618418a3af. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-95549135-617a-467d-b0aa-fa1bc697825d'] 2025-06-23 01:57:30,437 - WARNING - Deleting VN ctest-vn-49493453 failed..Will retry 2025-06-23 01:57:32,629 - DEBUG - Response for deleting network () 2025-06-23 01:57:33,027 - DEBUG - No XMPP flaps were noticed during the test
2025-06-23 01:57:33,027 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33]
2025-06-23 01:57:33,027 - INFO - -------------------------------------------------------------------------------- 2025-06-23 01:57:33,876 - INFO - Deleted project: ctest-TestBasicVMVNx-69785458, ID : 87745c19-9994-4308-9453-3ebc2bd72d30