2025-11-03 01:52:49,830 - INFO - Reading existing Domain with UUID 5e346e6a-000a-45ec-ad9d-44dfc9f4db48 2025-11-03 01:52:49,841 - INFO - Using existing domain ['admin_domain'](5e346e6a-000a-45ec-ad9d-44dfc9f4db48) 2025-11-03 01:52:50,035 - INFO - Project ctest-TestBasicVMVNx-89780254 not found, creating it 2025-11-03 01:52:50,575 - INFO - Created Project:ctest-TestBasicVMVNx-89780254, ID : e64bc7aa-2298-4992-823c-ae14152ad9c0 2025-11-03 01:52:52,288 - INFO - ================================================================================ 2025-11-03 01:52:52,288 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-03 01:52:52,288 - 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-03 01:52:52,683 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.0.0.22': '0'}} with 2025-11-03 01:52:52,683 - INFO - Initial checks done. Running the testcase now 2025-11-03 01:52:52,683 - INFO - 2025-11-03 01:52:53,426 - DEBUG - Response for create_network : {'network': {'id': '9f942248-7481-409c-bd22-e4f6a7e4eb50', 'name': 'ctest-vn-01831138', 'tenant_id': 'e64bc7aa22984992823cae14152ad9c0', 'project_id': 'e64bc7aa22984992823cae14152ad9c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-89780254', 'ctest-vn-01831138'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-11-03 01:52:53,666 - DEBUG - Response for create_subnet : {'subnet': {'id': '291f1fa3-47df-4558-967c-e983e5ba4126', 'name': '', 'tenant_id': 'e64bc7aa22984992823cae14152ad9c0', 'network_id': '9f942248-7481-409c-bd22-e4f6a7e4eb50', 'ip_version': 4, 'cidr': '167.184.236.0/26', 'allocation_pools': [{'start': '167.184.236.2', 'end': '167.184.236.62'}], 'gateway_ip': '167.184.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-11-03T01:52:53.573990', 'updated_at': '2025-11-03T01:52:53.573990', 'dns_server_address': '167.184.236.2', 'tags': [], 'project_id': 'e64bc7aa22984992823cae14152ad9c0'}} 2025-11-03 01:52:53,727 - INFO - Created VN ctest-vn-01831138 2025-11-03 01:52:53,785 - DEBUG - VN ctest-vn-01831138 UUID is 9f942248-7481-409c-bd22-e4f6a7e4eb50 2025-11-03 01:52:54,053 - DEBUG - Services list from nova: [, , ] 2025-11-03 01:52:55,240 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-611-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-611-1) 2025-11-03 01:52:56,552 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-611-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-611-1) 2025-11-03 01:52:56,552 - INFO - Waiting for VM ctest-TestBasicVMVNx-89780254-42938180 to be up.. 2025-11-03 01:52:56,710 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 01:53:01,848 - DEBUG - VM is in ACTIVE state now 2025-11-03 01:53:01,848 - INFO - VM name : ctest-TestBasicVMVNx-89780254-42938180 2025-11-03 01:53:01,982 - DEBUG - VM ctest-TestBasicVMVNx-89780254-42938180 ID is 255ab558-46d0-498b-aa3d-c0a1931ab762 2025-11-03 01:53:02,010 - DEBUG - VM ctest-TestBasicVMVNx-89780254-42938180 launched on Node cn-jenkins-deploy-platform-juju-os-611-1 2025-11-03 01:53:02,147 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/255ab558-46d0-498b-aa3d-c0a1931ab762 2025-11-03 01:53:02,497 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/255ab558-46d0-498b-aa3d-c0a1931ab762 2025-11-03 01:53:02,578 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/640a5cc1-fa80-4ce1-a13f-9df000d1b57b 2025-11-03 01:53:06,032 - 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 1001ms') 2025-11-03 01:53:06,032 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89780254-42938180 failed! 2025-11-03 01:53:06,090 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-89780254:ctest-vn-01831138 is 167.184.236.1 and allocation pool is NOT set 2025-11-03 01:53:08,185 - 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=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.69 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.687/6.423/10.160/3.736 ms') 2025-11-03 01:53:08,186 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-89780254-42938180 passed 2025-11-03 01:53:08,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 01:53:08,350 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89780254-42938180, IP 167.184.236.3, Port 22 2025-11-03 01:53:08,437 - 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-03 01:53:08,569 - DEBUG - VM ctest-TestBasicVMVNx-89780254-42938180 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-03 01:53:13,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 01:53:13,569 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89780254-42938180, IP 167.184.236.3, Port 22 2025-11-03 01:53:13,784 - DEBUG - VM ctest-TestBasicVMVNx-89780254-42938180 is ready for SSH connections 2025-11-03 01:53:13,784 - INFO - Waiting for VM ctest-TestBasicVMVNx-89780254-32328368 to be up.. 2025-11-03 01:53:13,921 - DEBUG - VM is in ACTIVE state now 2025-11-03 01:53:13,921 - INFO - VM name : ctest-TestBasicVMVNx-89780254-32328368 2025-11-03 01:53:14,056 - DEBUG - VM ctest-TestBasicVMVNx-89780254-32328368 ID is 359829e7-d258-459b-8fa9-a6adffbada17 2025-11-03 01:53:14,056 - DEBUG - VM ctest-TestBasicVMVNx-89780254-32328368 launched on Node cn-jenkins-deploy-platform-juju-os-611-1 2025-11-03 01:53:14,186 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine/359829e7-d258-459b-8fa9-a6adffbada17 2025-11-03 01:53:14,246 - DEBUG - Requesting: https://10.0.0.22:8082/virtual-machine-interface/b1fff605-8ea6-41f7-8ab1-09d2ca1aa63d 2025-11-03 01:53:15,700 - 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=2.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/1.707/2.990/1.283 ms') 2025-11-03 01:53:15,701 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-89780254-32328368 passed 2025-11-03 01:53:15,849 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 01:53:15,849 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-89780254-32328368, IP 167.184.236.4, Port 22 2025-11-03 01:53:16,064 - DEBUG - VM ctest-TestBasicVMVNx-89780254-32328368 is ready for SSH connections 2025-11-03 01:53:16,064 - DEBUG - FILE SIZE = 1303B 2025-11-03 01:53:16,064 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-89780254-42938180 to ctest-TestBasicVMVNx-89780254-32328368 using scp 2025-11-03 01:53:16,070 - 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-11-03 01:53:16,070 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-03 01:53:17,659 - DEBUG - 1+0 records in 1+0 records out 2025-11-03 01:53:18,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 01:53:18,790 - 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-11-03 01:53:18,790 - DEBUG - ls -l testfile 2025-11-03 01:53:20,406 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 2 18:53 testfile 2025-11-03 01:53:20,406 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-89780254-32328368 2025-11-03 01:53:20,407 - INFO - Deleting VM ctest-TestBasicVMVNx-89780254-32328368 2025-11-03 01:53:20,512 - INFO - Deleting VM ctest-TestBasicVMVNx-89780254-42938180 2025-11-03 01:53:20,614 - INFO - Deleting VN ctest-vn-01831138 2025-11-03 01:53:20,744 - DEBUG - VN 9f942248-7481-409c-bd22-e4f6a7e4eb50 still in use: Unable to complete operation on network 9f942248-7481-409c-bd22-e4f6a7e4eb50. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d028f072-3382-4188-9cae-a5b4c9d835d1'] 2025-11-03 01:53:20,745 - WARNING - Deleting VN ctest-vn-01831138 failed..Will retry 2025-11-03 01:53:23,077 - DEBUG - Response for deleting network () 2025-11-03 01:53:23,475 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 01:53:23,475 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2025-11-03 01:53:23,475 - INFO - -------------------------------------------------------------------------------- 2025-11-03 01:53:24,209 - INFO - Deleted project: ctest-TestBasicVMVNx-89780254, ID : e64bc7aa-2298-4992-823c-ae14152ad9c0