2025-09-25 22:24:58,677 - INFO - Domain Default found not creating 2025-09-25 22:24:58,822 - INFO - Project ctest-TestBasicVMVNx-52618686 not found, creating it 2025-09-25 22:24:59,230 - INFO - Created Project:ctest-TestBasicVMVNx-52618686, ID : 31c075be-2bd4-4673-aa01-fe61d0b31396 2025-09-25 22:25:00,633 - INFO - ================================================================================ 2025-09-25 22:25:00,634 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-25 22:25:00,634 - 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-25 22:25:00,888 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-25 22:25:00,888 - INFO - Initial checks done. Running the testcase now 2025-09-25 22:25:00,888 - INFO - 2025-09-25 22:25:01,404 - DEBUG - Response for create_network : {'network': {'id': 'beef1c68-8aef-4a8a-9f31-14eecc087c27', 'name': 'ctest-vn-66045903', 'tenant_id': '31c075be2bd44673aa01fe61d0b31396', 'project_id': '31c075be2bd44673aa01fe61d0b31396', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-52618686', 'ctest-vn-66045903'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 22:25:01,625 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b4ee6d2-534f-4c02-9325-6dd8fe26e036', 'name': '', 'tenant_id': '31c075be2bd44673aa01fe61d0b31396', 'network_id': 'beef1c68-8aef-4a8a-9f31-14eecc087c27', 'ip_version': 4, 'cidr': '169.63.83.64/26', 'allocation_pools': [{'start': '169.63.83.66', 'end': '169.63.83.126'}], 'gateway_ip': '169.63.83.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.63.83.66', 'tags': [], 'project_id': '31c075be2bd44673aa01fe61d0b31396'}} 2025-09-25 22:25:01,640 - INFO - Created VN ctest-vn-66045903 2025-09-25 22:25:01,691 - DEBUG - VN ctest-vn-66045903 UUID is beef1c68-8aef-4a8a-9f31-14eecc087c27 2025-09-25 22:25:01,875 - DEBUG - Services list from nova: [, , ] 2025-09-25 22:25:02,821 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4195-1) 2025-09-25 22:25:03,878 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4195-1) 2025-09-25 22:25:03,878 - INFO - Waiting for VM ctest-TestBasicVMVNx-52618686-52920023 to be up.. 2025-09-25 22:25:03,943 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 22:25:09,010 - DEBUG - VM is in ACTIVE state now 2025-09-25 22:25:09,010 - INFO - VM name : ctest-TestBasicVMVNx-52618686-52920023 2025-09-25 22:25:09,073 - DEBUG - VM ctest-TestBasicVMVNx-52618686-52920023 ID is 4af1875f-64f1-437c-8655-0403756c81e2 2025-09-25 22:25:09,091 - DEBUG - VM ctest-TestBasicVMVNx-52618686-52920023 launched on Node cn-jenkins-deploy-platform-ansible-os-4195-1 2025-09-25 22:25:09,150 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4af1875f-64f1-437c-8655-0403756c81e2 2025-09-25 22:25:09,439 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4af1875f-64f1-437c-8655-0403756c81e2 2025-09-25 22:25:09,465 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cd883711-2b6c-4bb0-8f52-801d04052299 2025-09-25 22:25:12,706 - 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-09-25 22:25:12,706 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52618686-52920023 failed! 2025-09-25 22:25:12,767 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-52618686:ctest-vn-66045903 is 169.63.83.65 and allocation pool is NOT set 2025-09-25 22:25:14,828 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.406 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.406/1.963/3.521/1.557 ms') 2025-09-25 22:25:14,828 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-52618686-52920023 passed 2025-09-25 22:25:14,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:25:14,976 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52618686-52920023, IP 169.63.83.67, Port 22 2025-09-25 22:25:15,135 - DEBUG - VM ctest-TestBasicVMVNx-52618686-52920023 is ready for SSH connections 2025-09-25 22:25:15,135 - INFO - Waiting for VM ctest-TestBasicVMVNx-52618686-97711347 to be up.. 2025-09-25 22:25:15,198 - DEBUG - VM is in ACTIVE state now 2025-09-25 22:25:15,198 - INFO - VM name : ctest-TestBasicVMVNx-52618686-97711347 2025-09-25 22:25:15,264 - DEBUG - VM ctest-TestBasicVMVNx-52618686-97711347 ID is a226ae5b-9ff3-4426-95ae-3af8ce33ae1d 2025-09-25 22:25:15,264 - DEBUG - VM ctest-TestBasicVMVNx-52618686-97711347 launched on Node cn-jenkins-deploy-platform-ansible-os-4195-1 2025-09-25 22:25:15,326 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a226ae5b-9ff3-4426-95ae-3af8ce33ae1d 2025-09-25 22:25:15,332 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/285d46b0-ca76-483f-ae0b-a15a23d1f714 2025-09-25 22:25:16,563 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.64 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 = 2.644/3.314/3.984/0.670 ms') 2025-09-25 22:25:16,563 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-52618686-97711347 passed 2025-09-25 22:25:16,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:25:16,711 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-52618686-97711347, IP 169.63.83.68, Port 22 2025-09-25 22:25:16,862 - DEBUG - VM ctest-TestBasicVMVNx-52618686-97711347 is ready for SSH connections 2025-09-25 22:25:16,863 - DEBUG - FILE SIZE = 1303B 2025-09-25 22:25:16,863 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-52618686-52920023 to ctest-TestBasicVMVNx-52618686-97711347 using scp 2025-09-25 22:25:16,864 - 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.38, gateway password: c0ntrail123 2025-09-25 22:25:16,864 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-25 22:25:18,739 - DEBUG - 1+0 records in 1+0 records out 2025-09-25 22:25:19,346 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:25:19,664 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-25 22:25:19,665 - DEBUG - ls -l testfile 2025-09-25 22:25:21,249 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 25 16:25 testfile 2025-09-25 22:25:21,250 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-52618686-97711347 2025-09-25 22:25:21,250 - INFO - Deleting VM ctest-TestBasicVMVNx-52618686-97711347 2025-09-25 22:25:21,323 - INFO - Deleting VM ctest-TestBasicVMVNx-52618686-52920023 2025-09-25 22:25:21,389 - INFO - Deleting VN ctest-vn-66045903 2025-09-25 22:25:21,420 - DEBUG - VN beef1c68-8aef-4a8a-9f31-14eecc087c27 still in use: Unable to complete operation on network beef1c68-8aef-4a8a-9f31-14eecc087c27. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-126e43d1-2aaa-432f-a2be-c3f23a465620'] 2025-09-25 22:25:21,420 - WARNING - Deleting VN ctest-vn-66045903 failed..Will retry 2025-09-25 22:25:23,515 - DEBUG - Response for deleting network () 2025-09-25 22:25:23,764 - DEBUG - No XMPP flaps were noticed during the test
2025-09-25 22:25:23,764 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-09-25 22:25:23,764 - INFO - -------------------------------------------------------------------------------- 2025-09-25 22:25:24,401 - INFO - Deleted project: ctest-TestBasicVMVNx-52618686, ID : 31c075be-2bd4-4673-aa01-fe61d0b31396