2025-09-08 16:07:19,926 - INFO - Domain Default found not creating 2025-09-08 16:07:20,076 - INFO - Project ctest-TestBasicVMVNx-74152676 not found, creating it 2025-09-08 16:07:20,543 - INFO - Created Project:ctest-TestBasicVMVNx-74152676, ID : f596b9ec-a5c5-4569-bc16-63e8345e8e09 2025-09-08 16:07:22,086 - INFO - ================================================================================ 2025-09-08 16:07:22,086 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-08 16:07:22,086 - 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-08 16:07:22,340 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-08 16:07:22,340 - INFO - Initial checks done. Running the testcase now 2025-09-08 16:07:22,340 - INFO - 2025-09-08 16:07:22,875 - DEBUG - Response for create_network : {'network': {'id': 'd2a66977-3775-4cb6-9960-364cbdb99950', 'name': 'ctest-vn-91690313', 'tenant_id': 'f596b9eca5c54569bc1663e8345e8e09', 'project_id': 'f596b9eca5c54569bc1663e8345e8e09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-74152676', 'ctest-vn-91690313'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 16:07:23,031 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f6567f8-517f-49c7-bf92-2e262d2a65fe', 'name': '', 'tenant_id': 'f596b9eca5c54569bc1663e8345e8e09', 'network_id': 'd2a66977-3775-4cb6-9960-364cbdb99950', 'ip_version': 4, 'cidr': '216.156.228.0/26', 'allocation_pools': [{'start': '216.156.228.2', 'end': '216.156.228.62'}], 'gateway_ip': '216.156.228.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.156.228.2', 'tags': [], 'project_id': 'f596b9eca5c54569bc1663e8345e8e09'}} 2025-09-08 16:07:23,049 - INFO - Created VN ctest-vn-91690313 2025-09-08 16:07:23,107 - DEBUG - VN ctest-vn-91690313 UUID is d2a66977-3775-4cb6-9960-364cbdb99950 2025-09-08 16:07:23,306 - DEBUG - Services list from nova: [, , ] 2025-09-08 16:07:24,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4054-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4054-1) 2025-09-08 16:07:25,500 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4054-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4054-1) 2025-09-08 16:07:25,501 - INFO - Waiting for VM ctest-TestBasicVMVNx-74152676-28108090 to be up.. 2025-09-08 16:07:25,609 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 16:07:30,685 - DEBUG - VM is in ACTIVE state now 2025-09-08 16:07:30,685 - INFO - VM name : ctest-TestBasicVMVNx-74152676-28108090 2025-09-08 16:07:30,757 - DEBUG - VM ctest-TestBasicVMVNx-74152676-28108090 ID is dc50873d-7d1d-4122-ba43-8000b6a2bdbc 2025-09-08 16:07:30,776 - DEBUG - VM ctest-TestBasicVMVNx-74152676-28108090 launched on Node cn-jenkins-deploy-platform-ansible-os-4054-1 2025-09-08 16:07:30,854 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dc50873d-7d1d-4122-ba43-8000b6a2bdbc 2025-09-08 16:07:31,148 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/dc50873d-7d1d-4122-ba43-8000b6a2bdbc 2025-09-08 16:07:31,186 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b4f6cbde-5d1e-4646-81c6-6b5061af71f0 2025-09-08 16:07:34,442 - 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 1026ms') 2025-09-08 16:07:34,442 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74152676-28108090 failed! 2025-09-08 16:07:34,499 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-74152676:ctest-vn-91690313 is 216.156.228.1 and allocation pool is NOT set 2025-09-08 16:07:36,567 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.476 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.476/1.763/3.051/1.287 ms') 2025-09-08 16:07:36,568 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-74152676-28108090 passed 2025-09-08 16:07:36,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:07:36,715 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74152676-28108090, IP 216.156.228.3, Port 22 2025-09-08 16:07:36,871 - DEBUG - VM ctest-TestBasicVMVNx-74152676-28108090 is ready for SSH connections 2025-09-08 16:07:36,871 - INFO - Waiting for VM ctest-TestBasicVMVNx-74152676-93545736 to be up.. 2025-09-08 16:07:36,959 - DEBUG - VM is in ACTIVE state now 2025-09-08 16:07:36,959 - INFO - VM name : ctest-TestBasicVMVNx-74152676-93545736 2025-09-08 16:07:37,040 - DEBUG - VM ctest-TestBasicVMVNx-74152676-93545736 ID is 67b8c7c7-0180-4716-855d-1a42df2db6c6 2025-09-08 16:07:37,041 - DEBUG - VM ctest-TestBasicVMVNx-74152676-93545736 launched on Node cn-jenkins-deploy-platform-ansible-os-4054-1 2025-09-08 16:07:37,128 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/67b8c7c7-0180-4716-855d-1a42df2db6c6 2025-09-08 16:07:37,137 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3bc49aea-5c94-46d1-a54f-de79e4cb6123 2025-09-08 16:07:38,366 - 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=5.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.497 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.497/2.964/5.432/2.467 ms') 2025-09-08 16:07:38,367 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-74152676-93545736 passed 2025-09-08 16:07:38,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:07:38,515 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-74152676-93545736, IP 216.156.228.4, Port 22 2025-09-08 16:07:38,671 - DEBUG - VM ctest-TestBasicVMVNx-74152676-93545736 is ready for SSH connections 2025-09-08 16:07:38,671 - DEBUG - FILE SIZE = 1303B 2025-09-08 16:07:38,671 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-74152676-28108090 to ctest-TestBasicVMVNx-74152676-93545736 using scp 2025-09-08 16:07:38,673 - 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-08 16:07:38,673 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-08 16:07:40,582 - DEBUG - 1+0 records in 1+0 records out 2025-09-08 16:07:41,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:07:41,524 - 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-08 16:07:41,524 - DEBUG - ls -l testfile 2025-09-08 16:07:43,105 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 8 10:07 testfile 2025-09-08 16:07:43,106 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-74152676-93545736 2025-09-08 16:07:43,106 - INFO - Deleting VM ctest-TestBasicVMVNx-74152676-93545736 2025-09-08 16:07:43,178 - INFO - Deleting VM ctest-TestBasicVMVNx-74152676-28108090 2025-09-08 16:07:43,265 - INFO - Deleting VN ctest-vn-91690313 2025-09-08 16:07:43,301 - DEBUG - VN d2a66977-3775-4cb6-9960-364cbdb99950 still in use: Unable to complete operation on network d2a66977-3775-4cb6-9960-364cbdb99950. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e803a995-826d-4830-8341-e6301c2c4aaa'] 2025-09-08 16:07:43,301 - WARNING - Deleting VN ctest-vn-91690313 failed..Will retry 2025-09-08 16:07:45,407 - DEBUG - Response for deleting network () 2025-09-08 16:07:45,665 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 16:07:45,665 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23] 2025-09-08 16:07:45,665 - INFO - -------------------------------------------------------------------------------- 2025-09-08 16:07:46,341 - INFO - Deleted project: ctest-TestBasicVMVNx-74152676, ID : f596b9ec-a5c5-4569-bc16-63e8345e8e09