2025-11-21 18:38:41,239 - INFO - Domain Default found not creating 2025-11-21 18:38:41,429 - INFO - Project ctest-TestBasicVMVNx-05487350 not found, creating it 2025-11-21 18:38:41,939 - INFO - Created Project:ctest-TestBasicVMVNx-05487350, ID : 41bdd270-68ca-4d0f-b020-3255f3c7a4e3 2025-11-21 18:38:43,739 - INFO - ================================================================================ 2025-11-21 18:38:43,739 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-21 18:38:43,739 - 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-11-21 18:38:43,996 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.18': '0'}} with 2025-11-21 18:38:43,997 - INFO - Initial checks done. Running the testcase now 2025-11-21 18:38:43,997 - INFO - 2025-11-21 18:38:44,585 - DEBUG - Response for create_network : {'network': {'id': '8fec2277-7215-4b06-b026-78aaf060ab75', 'name': 'ctest-vn-95486946', 'tenant_id': '41bdd27068ca4d0fb0203255f3c7a4e3', 'project_id': '41bdd27068ca4d0fb0203255f3c7a4e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-05487350', 'ctest-vn-95486946'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 18:38:44,750 - DEBUG - Response for create_subnet : {'subnet': {'id': '6292bff4-3341-4fa0-811d-207bc7f59736', 'name': '', 'tenant_id': '41bdd27068ca4d0fb0203255f3c7a4e3', 'network_id': '8fec2277-7215-4b06-b026-78aaf060ab75', 'ip_version': 4, 'cidr': '66.9.117.64/26', 'allocation_pools': [{'start': '66.9.117.66', 'end': '66.9.117.126'}], 'gateway_ip': '66.9.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.9.117.66', 'tags': [], 'project_id': '41bdd27068ca4d0fb0203255f3c7a4e3'}} 2025-11-21 18:38:44,773 - INFO - Created VN ctest-vn-95486946 2025-11-21 18:38:44,828 - DEBUG - VN ctest-vn-95486946 UUID is 8fec2277-7215-4b06-b026-78aaf060ab75 2025-11-21 18:38:45,002 - DEBUG - Services list from nova: [, , ] 2025-11-21 18:38:46,254 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4793-1) 2025-11-21 18:38:47,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4793-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4793-1) 2025-11-21 18:38:47,497 - INFO - Waiting for VM ctest-TestBasicVMVNx-05487350-56001418 to be up.. 2025-11-21 18:38:47,596 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 18:38:52,678 - DEBUG - VM is in ACTIVE state now 2025-11-21 18:38:52,678 - INFO - VM name : ctest-TestBasicVMVNx-05487350-56001418 2025-11-21 18:38:52,753 - DEBUG - VM ctest-TestBasicVMVNx-05487350-56001418 ID is f4ff2dc3-eabb-4ea5-b59c-59c831522c01 2025-11-21 18:38:52,774 - DEBUG - VM ctest-TestBasicVMVNx-05487350-56001418 launched on Node cn-jenkins-deploy-platform-ansible-os-4793-1 2025-11-21 18:38:52,857 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f4ff2dc3-eabb-4ea5-b59c-59c831522c01 2025-11-21 18:38:53,190 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f4ff2dc3-eabb-4ea5-b59c-59c831522c01 2025-11-21 18:38:53,230 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e0a12b12-5360-449c-a73b-28043e59a2d9 2025-11-21 18:38:56,466 - 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 1006ms') 2025-11-21 18:38:56,466 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05487350-56001418 failed! 2025-11-21 18:38:56,520 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-05487350:ctest-vn-95486946 is 66.9.117.65 and allocation pool is NOT set 2025-11-21 18:38:58,584 - 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=4.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.983 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.983/2.953/4.924/1.970 ms') 2025-11-21 18:38:58,584 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05487350-56001418 passed 2025-11-21 18:38:58,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:38:58,744 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05487350-56001418, IP 66.9.117.67, Port 22 2025-11-21 18:38:58,811 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-21 18:38:58,894 - DEBUG - VM ctest-TestBasicVMVNx-05487350-56001418 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-21 18:39:03,895 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:39:03,895 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05487350-56001418, IP 66.9.117.67, Port 22 2025-11-21 18:39:04,066 - DEBUG - VM ctest-TestBasicVMVNx-05487350-56001418 is ready for SSH connections 2025-11-21 18:39:04,066 - INFO - Waiting for VM ctest-TestBasicVMVNx-05487350-25764887 to be up.. 2025-11-21 18:39:04,154 - DEBUG - VM is in ACTIVE state now 2025-11-21 18:39:04,154 - INFO - VM name : ctest-TestBasicVMVNx-05487350-25764887 2025-11-21 18:39:04,237 - DEBUG - VM ctest-TestBasicVMVNx-05487350-25764887 ID is fce14a3b-cca9-4dfa-bdfc-5b5669af978e 2025-11-21 18:39:04,237 - DEBUG - VM ctest-TestBasicVMVNx-05487350-25764887 launched on Node cn-jenkins-deploy-platform-ansible-os-4793-1 2025-11-21 18:39:04,319 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fce14a3b-cca9-4dfa-bdfc-5b5669af978e 2025-11-21 18:39:04,327 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fc97cd15-4635-4028-a522-03a51a35e445 2025-11-21 18:39:05,579 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.424 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.424/2.266/4.108/1.842 ms') 2025-11-21 18:39:05,579 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-05487350-25764887 passed 2025-11-21 18:39:05,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:39:05,728 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05487350-25764887, IP 66.9.117.68, Port 22 2025-11-21 18:39:05,884 - DEBUG - VM ctest-TestBasicVMVNx-05487350-25764887 is ready for SSH connections 2025-11-21 18:39:05,885 - DEBUG - FILE SIZE = 1303B 2025-11-21 18:39:05,885 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-05487350-56001418 to ctest-TestBasicVMVNx-05487350-25764887 using scp 2025-11-21 18:39:05,886 - 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.22, gateway password: c0ntrail123 2025-11-21 18:39:05,886 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-21 18:39:07,861 - DEBUG - 1+0 records in 1+0 records out 2025-11-21 18:39:08,158 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 18:39:08,510 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-21 18:39:08,510 - DEBUG - ls -l testfile 2025-11-21 18:39:10,118 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 21 11:39 testfile 2025-11-21 18:39:10,118 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-05487350-25764887 2025-11-21 18:39:10,118 - INFO - Deleting VM ctest-TestBasicVMVNx-05487350-25764887 2025-11-21 18:39:10,197 - INFO - Deleting VM ctest-TestBasicVMVNx-05487350-56001418 2025-11-21 18:39:10,269 - INFO - Deleting VN ctest-vn-95486946 2025-11-21 18:39:10,308 - DEBUG - VN 8fec2277-7215-4b06-b026-78aaf060ab75 still in use: Unable to complete operation on network 8fec2277-7215-4b06-b026-78aaf060ab75. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cabb6434-e472-4005-be5d-35331f928e64'] 2025-11-21 18:39:10,308 - WARNING - Deleting VN ctest-vn-95486946 failed..Will retry 2025-11-21 18:39:12,431 - DEBUG - Response for deleting network () 2025-11-21 18:39:12,691 - DEBUG - No XMPP flaps were noticed during the test 2025-11-21 18:39:12,691 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-11-21 18:39:12,691 - INFO - -------------------------------------------------------------------------------- 2025-11-21 18:39:13,400 - INFO - Deleted project: ctest-TestBasicVMVNx-05487350, ID : 41bdd270-68ca-4d0f-b020-3255f3c7a4e3