2025-04-28 01:54:03,204 - INFO - Reading existing Domain with UUID 603e603f-8372-4ebb-8595-56d5f17fcd53
2025-04-28 01:54:03,217 - INFO - Using existing domain ['admin_domain'](603e603f-8372-4ebb-8595-56d5f17fcd53)
2025-04-28 01:54:03,414 - INFO - Project ctest-TestBasicVMVNx-64372565 not found, creating it
2025-04-28 01:54:03,943 - INFO - Created Project:ctest-TestBasicVMVNx-64372565, ID : 7819dee9-bc83-4411-9bc9-e48c0a0f0bb0
2025-04-28 01:54:05,702 - INFO - ================================================================================
2025-04-28 01:54:05,703 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-04-28 01:54:05,703 - 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-28 01:54:06,090 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.0.0.241': '0'}} with
2025-04-28 01:54:06,090 - INFO - Initial checks done. Running the testcase now
2025-04-28 01:54:06,090 - INFO -
2025-04-28 01:54:06,893 - DEBUG - Response for create_network : {'network': {'id': 'bfc7267e-2327-4ef0-9834-639e40110079', 'name': 'ctest-vn-30873987', 'tenant_id': '7819dee9bc8344119bc9e48c0a0f0bb0', 'project_id': '7819dee9bc8344119bc9e48c0a0f0bb0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicVMVNx-64372565', 'ctest-vn-30873987'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-04-28 01:54:07,137 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a98cf03c-9fed-4b00-a5bb-e082ab368eac', 'name': '', 'tenant_id': '7819dee9bc8344119bc9e48c0a0f0bb0', 'network_id': 'bfc7267e-2327-4ef0-9834-639e40110079', 'ip_version': 4, 'cidr': '187.141.137.0/26', 'allocation_pools': [{'start': '187.141.137.2', 'end': '187.141.137.62'}], 'gateway_ip': '187.141.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-04-28T01:54:07.040430', 'updated_at': '2025-04-28T01:54:07.040430', 'dns_server_address': '187.141.137.2', 'tags': [], 'project_id': '7819dee9bc8344119bc9e48c0a0f0bb0'}}
2025-04-28 01:54:07,202 - INFO - Created VN ctest-vn-30873987
2025-04-28 01:54:07,256 - DEBUG - VN ctest-vn-30873987 UUID is bfc7267e-2327-4ef0-9834-639e40110079
2025-04-28 01:54:07,530 - DEBUG - Services list from nova: [, , ]
2025-04-28 01:54:08,778 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-532-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-532-1)
2025-04-28 01:54:10,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-532-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-532-1)
2025-04-28 01:54:10,143 - INFO - Waiting for VM ctest-TestBasicVMVNx-64372565-46889926 to be up..
2025-04-28 01:54:10,289 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-04-28 01:54:15,429 - DEBUG - VM is in ACTIVE state now
2025-04-28 01:54:15,430 - INFO - VM name : ctest-TestBasicVMVNx-64372565-46889926
2025-04-28 01:54:15,575 - DEBUG - VM ctest-TestBasicVMVNx-64372565-46889926 ID is 2f64db5e-1bdc-4392-a196-ea89daccafd3
2025-04-28 01:54:15,612 - DEBUG - VM ctest-TestBasicVMVNx-64372565-46889926 launched on Node cn-jenkins-deploy-platform-juju-os-532-1
2025-04-28 01:54:15,750 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/2f64db5e-1bdc-4392-a196-ea89daccafd3
2025-04-28 01:54:16,133 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/2f64db5e-1bdc-4392-a196-ea89daccafd3
2025-04-28 01:54:16,217 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/9b82b700-d3fa-4d20-b7bc-01e0af5f4ee8
2025-04-28 01:54:19,692 - 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-04-28 01:54:19,693 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64372565-46889926 failed!
2025-04-28 01:54:19,748 - DEBUG - Gateway for vn admin_domain:ctest-TestBasicVMVNx-64372565:ctest-vn-30873987 is 187.141.137.1 and allocation pool is NOT set
2025-04-28 01:54:21,833 - 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=8.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.386 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.386/4.407/8.429/4.021 ms')
2025-04-28 01:54:21,833 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-64372565-46889926 passed
2025-04-28 01:54:21,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-28 01:54:21,988 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64372565-46889926, IP 187.141.137.3, Port 22
2025-04-28 01:54:22,212 - DEBUG - VM ctest-TestBasicVMVNx-64372565-46889926 is ready for SSH connections
2025-04-28 01:54:22,212 - INFO - Waiting for VM ctest-TestBasicVMVNx-64372565-45673563 to be up..
2025-04-28 01:54:22,360 - DEBUG - VM is in ACTIVE state now
2025-04-28 01:54:22,360 - INFO - VM name : ctest-TestBasicVMVNx-64372565-45673563
2025-04-28 01:54:22,503 - DEBUG - VM ctest-TestBasicVMVNx-64372565-45673563 ID is d7b77e01-d2e3-4e84-a1ae-28900d9ba1d9
2025-04-28 01:54:22,504 - DEBUG - VM ctest-TestBasicVMVNx-64372565-45673563 launched on Node cn-jenkins-deploy-platform-juju-os-532-1
2025-04-28 01:54:22,646 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine/d7b77e01-d2e3-4e84-a1ae-28900d9ba1d9
2025-04-28 01:54:22,701 - DEBUG - Requesting: https://10.0.0.241:8082/virtual-machine-interface/1ce056ca-d263-4ba9-b036-25d808717946
2025-04-28 01:54:24,168 - 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=6.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.879 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.879/3.874/6.869/2.995 ms')
2025-04-28 01:54:24,168 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-64372565-45673563 passed
2025-04-28 01:54:24,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-28 01:54:24,336 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-64372565-45673563, IP 187.141.137.4, Port 22
2025-04-28 01:54:24,548 - DEBUG - VM ctest-TestBasicVMVNx-64372565-45673563 is ready for SSH connections
2025-04-28 01:54:24,548 - DEBUG - FILE SIZE = 1303B
2025-04-28 01:54:24,548 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-64372565-46889926 to ctest-TestBasicVMVNx-64372565-45673563 using scp
2025-04-28 01:54:24,555 - 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.241, gateway password: c0ntrail123
2025-04-28 01:54:24,555 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-04-28 01:54:26,553 - DEBUG - 1+0 records in
1+0 records out
2025-04-28 01:54:27,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-04-28 01:54:27,568 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123
2025-04-28 01:54:27,568 - DEBUG - ls -l testfile
2025-04-28 01:54:29,172 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 27 19:54 [0;0mtestfile[0m
2025-04-28 01:54:29,172 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-64372565-45673563
2025-04-28 01:54:29,173 - INFO - Deleting VM ctest-TestBasicVMVNx-64372565-45673563
2025-04-28 01:54:29,269 - INFO - Deleting VM ctest-TestBasicVMVNx-64372565-46889926
2025-04-28 01:54:29,375 - INFO - Deleting VN ctest-vn-30873987
2025-04-28 01:54:29,512 - DEBUG - VN bfc7267e-2327-4ef0-9834-639e40110079 still in use: Unable to complete operation on network bfc7267e-2327-4ef0-9834-639e40110079. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b551ae85-fc98-4f8d-9d55-9aa6d75f3881']
2025-04-28 01:54:29,512 - WARNING - Deleting VN ctest-vn-30873987 failed..Will retry
2025-04-28 01:54:31,679 - DEBUG - Response for deleting network ()
2025-04-28 01:54:32,066 - DEBUG - No XMPP flaps were noticed during the test
2025-04-28 01:54:32,066 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:27]
2025-04-28 01:54:32,066 - INFO - --------------------------------------------------------------------------------
2025-04-28 01:54:32,847 - INFO - Deleted project: ctest-TestBasicVMVNx-64372565, ID : 7819dee9-bc83-4411-9bc9-e48c0a0f0bb0