2025-08-13 16:22:43,491 - INFO - Domain Default found not creating
2025-08-13 16:22:43,612 - INFO - Project ctest-TestBasicVMVNx-22022967 not found, creating it
2025-08-13 16:22:44,036 - INFO - Created Project:ctest-TestBasicVMVNx-22022967, ID : 9cbe7673-cf0e-4235-918c-1bdd89ceb95a
2025-08-13 16:22:45,346 - INFO - ================================================================================
2025-08-13 16:22:45,346 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-08-13 16:22:45,346 - 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-08-13 16:22:45,598 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with
2025-08-13 16:22:45,598 - INFO - Initial checks done. Running the testcase now
2025-08-13 16:22:45,598 - INFO -
2025-08-13 16:22:46,113 - DEBUG - Response for create_network : {'network': {'id': 'f0289491-340d-44f9-b196-a57440f3c210', 'name': 'ctest-vn-33861338', 'tenant_id': '9cbe7673cf0e4235918c1bdd89ceb95a', 'project_id': '9cbe7673cf0e4235918c1bdd89ceb95a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-22022967', 'ctest-vn-33861338'], 'port_security_enabled': True, 'description': ''}}
2025-08-13 16:22:46,296 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f69e0f9e-f143-483e-a7e9-412bf1a9705e', 'name': '', 'tenant_id': '9cbe7673cf0e4235918c1bdd89ceb95a', 'network_id': 'f0289491-340d-44f9-b196-a57440f3c210', 'ip_version': 4, 'cidr': '212.146.234.64/26', 'allocation_pools': [{'start': '212.146.234.66', 'end': '212.146.234.126'}], 'gateway_ip': '212.146.234.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.146.234.66', 'tags': [], 'project_id': '9cbe7673cf0e4235918c1bdd89ceb95a'}}
2025-08-13 16:22:46,314 - INFO - Created VN ctest-vn-33861338
2025-08-13 16:22:46,368 - DEBUG - VN ctest-vn-33861338 UUID is f0289491-340d-44f9-b196-a57440f3c210
2025-08-13 16:22:46,562 - DEBUG - Services list from nova: [, , ]
2025-08-13 16:22:47,512 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3842-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3842-1)
2025-08-13 16:22:48,561 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3842-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3842-1)
2025-08-13 16:22:48,562 - INFO - Waiting for VM ctest-TestBasicVMVNx-22022967-20490308 to be up..
2025-08-13 16:22:48,635 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-13 16:22:53,700 - DEBUG - VM is in ACTIVE state now
2025-08-13 16:22:53,701 - INFO - VM name : ctest-TestBasicVMVNx-22022967-20490308
2025-08-13 16:22:53,764 - DEBUG - VM ctest-TestBasicVMVNx-22022967-20490308 ID is 2e03eebc-453a-4885-b13f-93c8df32ba89
2025-08-13 16:22:53,780 - DEBUG - VM ctest-TestBasicVMVNx-22022967-20490308 launched on Node cn-jenkins-deploy-platform-ansible-os-3842-1
2025-08-13 16:22:53,842 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2e03eebc-453a-4885-b13f-93c8df32ba89
2025-08-13 16:22:54,130 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/2e03eebc-453a-4885-b13f-93c8df32ba89
2025-08-13 16:22:54,158 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/1402347d-a2e3-43e5-b650-f7d34774d2b5
2025-08-13 16:22:57,401 - 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 1012ms')
2025-08-13 16:22:57,402 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-22022967-20490308 failed!
2025-08-13 16:22:57,456 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-22022967:ctest-vn-33861338 is 212.146.234.65 and allocation pool is NOT set
2025-08-13 16:22:59,519 - 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=2.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.393 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.393/1.471/2.550/1.078 ms')
2025-08-13 16:22:59,519 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-22022967-20490308 passed
2025-08-13 16:22:59,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 16:22:59,668 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-22022967-20490308, IP 212.146.234.67, Port 22
2025-08-13 16:22:59,820 - DEBUG - VM ctest-TestBasicVMVNx-22022967-20490308 is ready for SSH connections
2025-08-13 16:22:59,820 - INFO - Waiting for VM ctest-TestBasicVMVNx-22022967-23578291 to be up..
2025-08-13 16:22:59,887 - DEBUG - VM is in ACTIVE state now
2025-08-13 16:22:59,887 - INFO - VM name : ctest-TestBasicVMVNx-22022967-23578291
2025-08-13 16:22:59,948 - DEBUG - VM ctest-TestBasicVMVNx-22022967-23578291 ID is 11ee3696-6482-42ab-964d-5c86a5142743
2025-08-13 16:22:59,948 - DEBUG - VM ctest-TestBasicVMVNx-22022967-23578291 launched on Node cn-jenkins-deploy-platform-ansible-os-3842-1
2025-08-13 16:23:00,010 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/11ee3696-6482-42ab-964d-5c86a5142743
2025-08-13 16:23:00,018 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a98e70fc-9d86-4ed5-aaea-ba9eb1eb42a9
2025-08-13 16:23:01,250 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.385/1.696/3.008/1.311 ms')
2025-08-13 16:23:01,251 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-22022967-23578291 passed
2025-08-13 16:23:01,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 16:23:01,400 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-22022967-23578291, IP 212.146.234.68, Port 22
2025-08-13 16:23:01,551 - DEBUG - VM ctest-TestBasicVMVNx-22022967-23578291 is ready for SSH connections
2025-08-13 16:23:01,551 - DEBUG - FILE SIZE = 1303B
2025-08-13 16:23:01,551 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-22022967-20490308 to ctest-TestBasicVMVNx-22022967-23578291 using scp
2025-08-13 16:23:01,552 - 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.27, gateway password: c0ntrail123
2025-08-13 16:23:01,552 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-08-13 16:23:03,387 - DEBUG - 1+0 records in
1+0 records out
2025-08-13 16:23:04,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-13 16:23:04,313 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123
2025-08-13 16:23:04,314 - DEBUG - ls -l testfile
2025-08-13 16:23:05,871 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 13 10:23 [0;0mtestfile[0m
2025-08-13 16:23:05,871 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-22022967-23578291
2025-08-13 16:23:05,871 - INFO - Deleting VM ctest-TestBasicVMVNx-22022967-23578291
2025-08-13 16:23:05,930 - INFO - Deleting VM ctest-TestBasicVMVNx-22022967-20490308
2025-08-13 16:23:05,995 - INFO - Deleting VN ctest-vn-33861338
2025-08-13 16:23:06,027 - DEBUG - VN f0289491-340d-44f9-b196-a57440f3c210 still in use: Unable to complete operation on network f0289491-340d-44f9-b196-a57440f3c210. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-458d2dc6-384d-4b79-bec9-275522ba8473']
2025-08-13 16:23:06,027 - WARNING - Deleting VN ctest-vn-33861338 failed..Will retry
2025-08-13 16:23:08,116 - DEBUG - Response for deleting network ()
2025-08-13 16:23:08,377 - DEBUG - No XMPP flaps were noticed during the test
2025-08-13 16:23:08,377 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-08-13 16:23:08,378 - INFO - --------------------------------------------------------------------------------
2025-08-13 16:23:09,053 - INFO - Deleted project: ctest-TestBasicVMVNx-22022967, ID : 9cbe7673-cf0e-4235-918c-1bdd89ceb95a