2025-09-22 19:44:50,798 - INFO - Domain Default found not creating
2025-09-22 19:44:50,931 - INFO - Project ctest-TestBasicVMVNx-00177322 not found, creating it
2025-09-22 19:44:51,361 - INFO - Created Project:ctest-TestBasicVMVNx-00177322, ID : 2937b5c7-c53e-4943-8623-72de8223bccd
2025-09-22 19:44:52,846 - INFO - ================================================================================
2025-09-22 19:44:52,846 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-09-22 19:44:52,846 - 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-09-22 19:44:53,104 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with
2025-09-22 19:44:53,105 - INFO - Initial checks done. Running the testcase now
2025-09-22 19:44:53,106 - INFO -
2025-09-22 19:44:53,632 - DEBUG - Response for create_network : {'network': {'id': 'f6bf3b29-72c9-4b02-8e9c-ca0e36c4505d', 'name': 'ctest-vn-48168769', 'tenant_id': '2937b5c7c53e4943862372de8223bccd', 'project_id': '2937b5c7c53e4943862372de8223bccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-00177322', 'ctest-vn-48168769'], 'port_security_enabled': True, 'description': ''}}
2025-09-22 19:44:53,776 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8776a2f-2124-48fa-9937-5c5d44c48129', 'name': '', 'tenant_id': '2937b5c7c53e4943862372de8223bccd', 'network_id': 'f6bf3b29-72c9-4b02-8e9c-ca0e36c4505d', 'ip_version': 4, 'cidr': '113.223.125.128/26', 'allocation_pools': [{'start': '113.223.125.130', 'end': '113.223.125.190'}], 'gateway_ip': '113.223.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.223.125.130', 'tags': [], 'project_id': '2937b5c7c53e4943862372de8223bccd'}}
2025-09-22 19:44:53,793 - INFO - Created VN ctest-vn-48168769
2025-09-22 19:44:53,843 - DEBUG - VN ctest-vn-48168769 UUID is f6bf3b29-72c9-4b02-8e9c-ca0e36c4505d
2025-09-22 19:44:54,044 - DEBUG - Services list from nova: [, , ]
2025-09-22 19:44:55,024 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4171-1)
2025-09-22 19:44:56,108 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4171-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4171-1)
2025-09-22 19:44:56,109 - INFO - Waiting for VM ctest-TestBasicVMVNx-00177322-49712344 to be up..
2025-09-22 19:44:56,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-22 19:45:01,272 - DEBUG - VM is in ACTIVE state now
2025-09-22 19:45:01,272 - INFO - VM name : ctest-TestBasicVMVNx-00177322-49712344
2025-09-22 19:45:01,369 - DEBUG - VM ctest-TestBasicVMVNx-00177322-49712344 ID is 9b30435b-928c-4b7c-9e0d-45d589c82a0b
2025-09-22 19:45:01,393 - DEBUG - VM ctest-TestBasicVMVNx-00177322-49712344 launched on Node cn-jenkins-deploy-platform-ansible-os-4171-1
2025-09-22 19:45:01,482 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/9b30435b-928c-4b7c-9e0d-45d589c82a0b
2025-09-22 19:45:01,784 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/9b30435b-928c-4b7c-9e0d-45d589c82a0b
2025-09-22 19:45:01,821 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/8b18a8b9-113f-4d96-9753-83083f034137
2025-09-22 19:45:05,092 - 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 1026ms')
2025-09-22 19:45:05,092 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00177322-49712344 failed!
2025-09-22 19:45:05,147 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-00177322:ctest-vn-48168769 is 113.223.125.129 and allocation pool is NOT set
2025-09-22 19:45:07,211 - 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=5.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.84 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.842/4.038/5.234/1.196 ms')
2025-09-22 19:45:07,212 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-00177322-49712344 passed
2025-09-22 19:45:07,363 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 19:45:07,364 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00177322-49712344, IP 113.223.125.131, Port 22
2025-09-22 19:45:07,537 - DEBUG - VM ctest-TestBasicVMVNx-00177322-49712344 is ready for SSH connections
2025-09-22 19:45:07,537 - INFO - Waiting for VM ctest-TestBasicVMVNx-00177322-80795456 to be up..
2025-09-22 19:45:07,616 - DEBUG - VM is in ACTIVE state now
2025-09-22 19:45:07,617 - INFO - VM name : ctest-TestBasicVMVNx-00177322-80795456
2025-09-22 19:45:07,698 - DEBUG - VM ctest-TestBasicVMVNx-00177322-80795456 ID is 20e71eec-2134-49c3-a2b6-f7f3c490b19a
2025-09-22 19:45:07,698 - DEBUG - VM ctest-TestBasicVMVNx-00177322-80795456 launched on Node cn-jenkins-deploy-platform-ansible-os-4171-1
2025-09-22 19:45:07,778 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/20e71eec-2134-49c3-a2b6-f7f3c490b19a
2025-09-22 19:45:07,788 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/e1ae3b3e-3325-4f99-95c3-ac832bedb4a9
2025-09-22 19:45:09,025 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.91 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.910/3.226/4.543/1.316 ms')
2025-09-22 19:45:09,025 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-00177322-80795456 passed
2025-09-22 19:45:09,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 19:45:09,175 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-00177322-80795456, IP 113.223.125.132, Port 22
2025-09-22 19:45:09,335 - DEBUG - VM ctest-TestBasicVMVNx-00177322-80795456 is ready for SSH connections
2025-09-22 19:45:09,335 - DEBUG - FILE SIZE = 1303B
2025-09-22 19:45:09,335 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-00177322-49712344 to ctest-TestBasicVMVNx-00177322-80795456 using scp
2025-09-22 19:45:09,337 - 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.49, gateway password: c0ntrail123
2025-09-22 19:45:09,337 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-09-22 19:45:11,253 - DEBUG - 1+0 records in
1+0 records out
2025-09-22 19:45:12,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 19:45:12,406 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-09-22 19:45:12,407 - DEBUG - ls -l testfile
2025-09-22 19:45:13,993 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 22 13:45 [0;0mtestfile[0m
2025-09-22 19:45:13,993 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-00177322-80795456
2025-09-22 19:45:13,993 - INFO - Deleting VM ctest-TestBasicVMVNx-00177322-80795456
2025-09-22 19:45:14,065 - INFO - Deleting VM ctest-TestBasicVMVNx-00177322-49712344
2025-09-22 19:45:14,146 - INFO - Deleting VN ctest-vn-48168769
2025-09-22 19:45:14,190 - DEBUG - VN f6bf3b29-72c9-4b02-8e9c-ca0e36c4505d still in use: Unable to complete operation on network f6bf3b29-72c9-4b02-8e9c-ca0e36c4505d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-ceb7b182-c371-45b9-bff3-e70375322872']
2025-09-22 19:45:14,190 - WARNING - Deleting VN ctest-vn-48168769 failed..Will retry
2025-09-22 19:45:16,292 - DEBUG - Response for deleting network ()
2025-09-22 19:45:16,552 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 19:45:16,552 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-09-22 19:45:16,553 - INFO - --------------------------------------------------------------------------------
2025-09-22 19:45:17,227 - INFO - Deleted project: ctest-TestBasicVMVNx-00177322, ID : 2937b5c7-c53e-4943-8623-72de8223bccd