2025-06-09 17:23:19,951 - INFO - Domain Default found not creating
2025-06-09 17:23:20,091 - INFO - Project ctest-TestBasicVMVNx-56965561 not found, creating it
2025-06-09 17:23:20,557 - INFO - Created Project:ctest-TestBasicVMVNx-56965561, ID : 28a10c9d-59c3-41da-bb22-49b7c3f43616
2025-06-09 17:23:22,015 - INFO - ================================================================================
2025-06-09 17:23:22,015 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-06-09 17:23:22,015 - 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-06-09 17:23:22,268 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with
2025-06-09 17:23:22,268 - INFO - Initial checks done. Running the testcase now
2025-06-09 17:23:22,268 - INFO -
2025-06-09 17:23:22,794 - DEBUG - Response for create_network : {'network': {'id': '0910a42e-6845-4de2-99c4-19db418425ac', 'name': 'ctest-vn-77357069', 'tenant_id': '28a10c9d59c341dabb2249b7c3f43616', 'project_id': '28a10c9d59c341dabb2249b7c3f43616', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-56965561', 'ctest-vn-77357069'], 'port_security_enabled': True, 'description': ''}}
2025-06-09 17:23:22,980 - DEBUG - Response for create_subnet : {'subnet': {'id': '2611f371-5000-4e18-b686-a161e6fb47d7', 'name': '', 'tenant_id': '28a10c9d59c341dabb2249b7c3f43616', 'network_id': '0910a42e-6845-4de2-99c4-19db418425ac', 'ip_version': 4, 'cidr': '188.74.248.0/26', 'allocation_pools': [{'start': '188.74.248.2', 'end': '188.74.248.62'}], 'gateway_ip': '188.74.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.74.248.2', 'tags': [], 'project_id': '28a10c9d59c341dabb2249b7c3f43616'}}
2025-06-09 17:23:22,999 - INFO - Created VN ctest-vn-77357069
2025-06-09 17:23:23,051 - DEBUG - VN ctest-vn-77357069 UUID is 0910a42e-6845-4de2-99c4-19db418425ac
2025-06-09 17:23:23,245 - DEBUG - Services list from nova: [, , ]
2025-06-09 17:23:24,227 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3427-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3427-1)
2025-06-09 17:23:25,284 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3427-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3427-1)
2025-06-09 17:23:25,284 - INFO - Waiting for VM ctest-TestBasicVMVNx-56965561-11991564 to be up..
2025-06-09 17:23:25,454 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-06-09 17:23:30,539 - DEBUG - VM is in ACTIVE state now
2025-06-09 17:23:30,539 - INFO - VM name : ctest-TestBasicVMVNx-56965561-11991564
2025-06-09 17:23:30,640 - DEBUG - VM ctest-TestBasicVMVNx-56965561-11991564 ID is 1f3f10c7-d11c-4837-8c34-1f28e77c75b2
2025-06-09 17:23:30,664 - DEBUG - VM ctest-TestBasicVMVNx-56965561-11991564 launched on Node cn-jenkins-deploy-platform-ansible-os-3427-1
2025-06-09 17:23:30,771 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1f3f10c7-d11c-4837-8c34-1f28e77c75b2
2025-06-09 17:23:31,071 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1f3f10c7-d11c-4837-8c34-1f28e77c75b2
2025-06-09 17:23:31,109 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/2c2d9e46-a5a5-4427-a269-0cc0c4e51e01
2025-06-09 17:23:34,375 - 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 1015ms')
2025-06-09 17:23:34,375 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56965561-11991564 failed!
2025-06-09 17:23:34,431 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56965561:ctest-vn-77357069 is 188.74.248.1 and allocation pool is NOT set
2025-06-09 17:23:36,493 - 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=3.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.525 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.525/1.806/3.088/1.281 ms')
2025-06-09 17:23:36,493 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56965561-11991564 passed
2025-06-09 17:23:36,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-09 17:23:36,651 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56965561-11991564, IP 188.74.248.3, Port 22
2025-06-09 17:23:36,806 - DEBUG - VM ctest-TestBasicVMVNx-56965561-11991564 is ready for SSH connections
2025-06-09 17:23:36,807 - INFO - Waiting for VM ctest-TestBasicVMVNx-56965561-74234121 to be up..
2025-06-09 17:23:36,892 - DEBUG - VM is in ACTIVE state now
2025-06-09 17:23:36,892 - INFO - VM name : ctest-TestBasicVMVNx-56965561-74234121
2025-06-09 17:23:36,985 - DEBUG - VM ctest-TestBasicVMVNx-56965561-74234121 ID is 18a676b9-cf4a-4be0-8fcf-45be295c86d3
2025-06-09 17:23:36,985 - DEBUG - VM ctest-TestBasicVMVNx-56965561-74234121 launched on Node cn-jenkins-deploy-platform-ansible-os-3427-1
2025-06-09 17:23:37,067 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/18a676b9-cf4a-4be0-8fcf-45be295c86d3
2025-06-09 17:23:37,077 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f47287d2-e373-40f9-a3f9-90d7994ee36f
2025-06-09 17:23:38,322 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 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.400/1.751/3.102/1.351 ms')
2025-06-09 17:23:38,322 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56965561-74234121 passed
2025-06-09 17:23:38,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-09 17:23:38,483 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56965561-74234121, IP 188.74.248.4, Port 22
2025-06-09 17:23:38,648 - DEBUG - VM ctest-TestBasicVMVNx-56965561-74234121 is ready for SSH connections
2025-06-09 17:23:38,648 - DEBUG - FILE SIZE = 1303B
2025-06-09 17:23:38,648 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-56965561-11991564 to ctest-TestBasicVMVNx-56965561-74234121 using scp
2025-06-09 17:23:38,649 - 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-06-09 17:23:38,649 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile
2025-06-09 17:23:40,610 - DEBUG - 1+0 records in
1+0 records out
2025-06-09 17:23:41,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-06-09 17:23:41,701 - 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-06-09 17:23:41,701 - DEBUG - ls -l testfile
2025-06-09 17:23:43,293 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 9 11:23 [0;0mtestfile[0m
2025-06-09 17:23:43,293 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-56965561-74234121
2025-06-09 17:23:43,293 - INFO - Deleting VM ctest-TestBasicVMVNx-56965561-74234121
2025-06-09 17:23:43,355 - INFO - Deleting VM ctest-TestBasicVMVNx-56965561-11991564
2025-06-09 17:23:43,417 - INFO - Deleting VN ctest-vn-77357069
2025-06-09 17:23:43,456 - DEBUG - VN 0910a42e-6845-4de2-99c4-19db418425ac still in use: Unable to complete operation on network 0910a42e-6845-4de2-99c4-19db418425ac. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2de834e7-044f-4968-84aa-f5a789b7c2ee']
2025-06-09 17:23:43,456 - WARNING - Deleting VN ctest-vn-77357069 failed..Will retry
2025-06-09 17:23:45,566 - DEBUG - Response for deleting network ()
2025-06-09 17:23:45,820 - DEBUG - No XMPP flaps were noticed during the test
2025-06-09 17:23:45,820 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-06-09 17:23:45,820 - INFO - --------------------------------------------------------------------------------
2025-06-09 17:23:46,492 - INFO - Deleted project: ctest-TestBasicVMVNx-56965561, ID : 28a10c9d-59c3-41da-bb22-49b7c3f43616