2025-09-22 15:51:25,241 - INFO - Domain Default found not creating
2025-09-22 15:51:25,403 - INFO - Project ctest-TestBasicVMVNx-62858092 not found, creating it
2025-09-22 15:51:25,857 - INFO - Created Project:ctest-TestBasicVMVNx-62858092, ID : 10218046-00fd-4e01-b1ee-bd654cffd985
2025-09-22 15:51:27,399 - INFO - ================================================================================
2025-09-22 15:51:27,399 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-09-22 15:51:27,399 - 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 15:51:27,657 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with
2025-09-22 15:51:27,657 - INFO - Initial checks done. Running the testcase now
2025-09-22 15:51:27,657 - INFO -
2025-09-22 15:51:28,189 - DEBUG - Response for create_network : {'network': {'id': '9aecd2bb-794a-4095-8bb6-9ad9fdf22373', 'name': 'ctest-vn-22110295', 'tenant_id': '1021804600fd4e01b1eebd654cffd985', 'project_id': '1021804600fd4e01b1eebd654cffd985', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-62858092', 'ctest-vn-22110295'], 'port_security_enabled': True, 'description': ''}}
2025-09-22 15:51:28,397 - DEBUG - Response for create_subnet : {'subnet': {'id': '633b930f-ff46-4cf9-b007-5d3610ce0dec', 'name': '', 'tenant_id': '1021804600fd4e01b1eebd654cffd985', 'network_id': '9aecd2bb-794a-4095-8bb6-9ad9fdf22373', 'ip_version': 4, 'cidr': '17.219.210.64/26', 'allocation_pools': [{'start': '17.219.210.66', 'end': '17.219.210.126'}], 'gateway_ip': '17.219.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.219.210.66', 'tags': [], 'project_id': '1021804600fd4e01b1eebd654cffd985'}}
2025-09-22 15:51:28,414 - INFO - Created VN ctest-vn-22110295
2025-09-22 15:51:28,465 - DEBUG - VN ctest-vn-22110295 UUID is 9aecd2bb-794a-4095-8bb6-9ad9fdf22373
2025-09-22 15:51:28,669 - DEBUG - Services list from nova: [, , ]
2025-09-22 15:51:29,718 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4170-1)
2025-09-22 15:51:30,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4170-1)
2025-09-22 15:51:30,902 - INFO - Waiting for VM ctest-TestBasicVMVNx-62858092-40799384 to be up..
2025-09-22 15:51:30,986 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-22 15:51:36,060 - DEBUG - VM is in ACTIVE state now
2025-09-22 15:51:36,061 - INFO - VM name : ctest-TestBasicVMVNx-62858092-40799384
2025-09-22 15:51:36,139 - DEBUG - VM ctest-TestBasicVMVNx-62858092-40799384 ID is 948d66c6-63a3-48f6-a693-ffa2bc9e934f
2025-09-22 15:51:36,159 - DEBUG - VM ctest-TestBasicVMVNx-62858092-40799384 launched on Node cn-jenkins-deploy-platform-ansible-os-4170-1
2025-09-22 15:51:36,233 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/948d66c6-63a3-48f6-a693-ffa2bc9e934f
2025-09-22 15:51:36,531 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/948d66c6-63a3-48f6-a693-ffa2bc9e934f
2025-09-22 15:51:36,565 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c69aad24-1c3a-4b6e-94a5-0db19d7810ff
2025-09-22 15:51:39,815 - 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 1014ms')
2025-09-22 15:51:39,815 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62858092-40799384 failed!
2025-09-22 15:51:39,869 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-62858092:ctest-vn-22110295 is 17.219.210.65 and allocation pool is NOT set
2025-09-22 15:51:41,949 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.523 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.523/1.746/2.970/1.223 ms')
2025-09-22 15:51:41,949 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-62858092-40799384 passed
2025-09-22 15:51:42,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 15:51:42,101 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62858092-40799384, IP 17.219.210.67, Port 22
2025-09-22 15:51:42,260 - DEBUG - VM ctest-TestBasicVMVNx-62858092-40799384 is ready for SSH connections
2025-09-22 15:51:42,260 - INFO - Waiting for VM ctest-TestBasicVMVNx-62858092-33263265 to be up..
2025-09-22 15:51:42,344 - DEBUG - VM is in ACTIVE state now
2025-09-22 15:51:42,344 - INFO - VM name : ctest-TestBasicVMVNx-62858092-33263265
2025-09-22 15:51:42,420 - DEBUG - VM ctest-TestBasicVMVNx-62858092-33263265 ID is 66529c3a-e693-490f-be95-d6f5985cf67c
2025-09-22 15:51:42,420 - DEBUG - VM ctest-TestBasicVMVNx-62858092-33263265 launched on Node cn-jenkins-deploy-platform-ansible-os-4170-1
2025-09-22 15:51:42,492 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/66529c3a-e693-490f-be95-d6f5985cf67c
2025-09-22 15:51:42,500 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/06da17cb-94d8-4b5e-967f-06439e94dd49
2025-09-22 15:51:43,738 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.493 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.493/1.836/3.180/1.343 ms')
2025-09-22 15:51:43,738 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-62858092-33263265 passed
2025-09-22 15:51:43,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 15:51:43,893 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-62858092-33263265, IP 17.219.210.68, Port 22
2025-09-22 15:51:44,050 - DEBUG - VM ctest-TestBasicVMVNx-62858092-33263265 is ready for SSH connections
2025-09-22 15:51:44,050 - DEBUG - FILE SIZE = 1303B
2025-09-22 15:51:44,050 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-62858092-40799384 to ctest-TestBasicVMVNx-62858092-33263265 using scp
2025-09-22 15:51:44,052 - 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.254, gateway password: c0ntrail123
2025-09-22 15:51:44,052 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-09-22 15:51:46,030 - DEBUG - 1+0 records in
1+0 records out
2025-09-22 15:51:46,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 15:51:47,180 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-22 15:51:47,180 - DEBUG - ls -l testfile
2025-09-22 15:51:48,758 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 22 09:51 [0;0mtestfile[0m
2025-09-22 15:51:48,759 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-62858092-33263265
2025-09-22 15:51:48,759 - INFO - Deleting VM ctest-TestBasicVMVNx-62858092-33263265
2025-09-22 15:51:48,828 - INFO - Deleting VM ctest-TestBasicVMVNx-62858092-40799384
2025-09-22 15:51:48,909 - INFO - Deleting VN ctest-vn-22110295
2025-09-22 15:51:48,950 - DEBUG - VN 9aecd2bb-794a-4095-8bb6-9ad9fdf22373 still in use: Unable to complete operation on network 9aecd2bb-794a-4095-8bb6-9ad9fdf22373. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-3366e1f5-67f9-46ed-9bf9-5de3e0a48f78']
2025-09-22 15:51:48,950 - WARNING - Deleting VN ctest-vn-22110295 failed..Will retry
2025-09-22 15:51:51,043 - DEBUG - Response for deleting network ()
2025-09-22 15:51:51,299 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 15:51:51,299 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24]
2025-09-22 15:51:51,299 - INFO - --------------------------------------------------------------------------------
2025-09-22 15:51:51,979 - INFO - Deleted project: ctest-TestBasicVMVNx-62858092, ID : 10218046-00fd-4e01-b1ee-bd654cffd985