2025-07-30 20:27:43,287 - INFO - Domain Default found not creating 2025-07-30 20:27:43,412 - INFO - Project ctest-TestBasicVMVNx-17948499 not found, creating it 2025-07-30 20:27:43,845 - INFO - Created Project:ctest-TestBasicVMVNx-17948499, ID : d66c1601-e167-433b-a892-6e9c01af1d5d 2025-07-30 20:27:45,221 - INFO - ================================================================================ 2025-07-30 20:27:45,221 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-07-30 20:27:45,221 - 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-07-30 20:27:45,479 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-07-30 20:27:45,479 - INFO - Initial checks done. Running the testcase now 2025-07-30 20:27:45,479 - INFO - 2025-07-30 20:27:46,015 - DEBUG - Response for create_network : {'network': {'id': '0425eef0-2956-4afe-ace9-ea6c7759d244', 'name': 'ctest-vn-05786883', 'tenant_id': 'd66c1601e167433ba8926e9c01af1d5d', 'project_id': 'd66c1601e167433ba8926e9c01af1d5d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-17948499', 'ctest-vn-05786883'], 'port_security_enabled': True, 'description': ''}} 2025-07-30 20:27:46,209 - DEBUG - Response for create_subnet : {'subnet': {'id': '5293a52a-94ed-43b5-9e64-c16c19feba0c', 'name': '', 'tenant_id': 'd66c1601e167433ba8926e9c01af1d5d', 'network_id': '0425eef0-2956-4afe-ace9-ea6c7759d244', 'ip_version': 4, 'cidr': '205.46.230.64/26', 'allocation_pools': [{'start': '205.46.230.66', 'end': '205.46.230.126'}], 'gateway_ip': '205.46.230.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.46.230.66', 'tags': [], 'project_id': 'd66c1601e167433ba8926e9c01af1d5d'}} 2025-07-30 20:27:46,226 - INFO - Created VN ctest-vn-05786883 2025-07-30 20:27:46,277 - DEBUG - VN ctest-vn-05786883 UUID is 0425eef0-2956-4afe-ace9-ea6c7759d244 2025-07-30 20:27:46,477 - DEBUG - Services list from nova: [, , ] 2025-07-30 20:27:47,462 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3727-1) 2025-07-30 20:27:48,535 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3727-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3727-1) 2025-07-30 20:27:48,535 - INFO - Waiting for VM ctest-TestBasicVMVNx-17948499-24356239 to be up.. 2025-07-30 20:27:48,610 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-30 20:27:53,678 - DEBUG - VM is in ACTIVE state now 2025-07-30 20:27:53,678 - INFO - VM name : ctest-TestBasicVMVNx-17948499-24356239 2025-07-30 20:27:53,743 - DEBUG - VM ctest-TestBasicVMVNx-17948499-24356239 ID is 26f4f76b-432d-433f-b88c-509dda4d318e 2025-07-30 20:27:53,762 - DEBUG - VM ctest-TestBasicVMVNx-17948499-24356239 launched on Node cn-jenkins-deploy-platform-ansible-os-3727-1 2025-07-30 20:27:53,828 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/26f4f76b-432d-433f-b88c-509dda4d318e 2025-07-30 20:27:54,118 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/26f4f76b-432d-433f-b88c-509dda4d318e 2025-07-30 20:27:54,146 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/23a87ab6-ed6f-4c07-b68f-ce8a5253fc6e 2025-07-30 20:27:57,395 - 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 1016ms') 2025-07-30 20:27:57,395 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17948499-24356239 failed! 2025-07-30 20:27:57,449 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-17948499:ctest-vn-05786883 is 205.46.230.65 and allocation pool is NOT set 2025-07-30 20:27:59,520 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.26 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 = 2.256/2.642/3.029/0.386 ms') 2025-07-30 20:27:59,520 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-17948499-24356239 passed 2025-07-30 20:27:59,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:27:59,701 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17948499-24356239, IP 205.46.230.67, Port 22 2025-07-30 20:27:59,857 - DEBUG - VM ctest-TestBasicVMVNx-17948499-24356239 is ready for SSH connections 2025-07-30 20:27:59,857 - INFO - Waiting for VM ctest-TestBasicVMVNx-17948499-05202668 to be up.. 2025-07-30 20:27:59,942 - DEBUG - VM is in ACTIVE state now 2025-07-30 20:27:59,942 - INFO - VM name : ctest-TestBasicVMVNx-17948499-05202668 2025-07-30 20:28:00,017 - DEBUG - VM ctest-TestBasicVMVNx-17948499-05202668 ID is 68e65e52-15a3-4abe-beaf-8dbf15845c18 2025-07-30 20:28:00,017 - DEBUG - VM ctest-TestBasicVMVNx-17948499-05202668 launched on Node cn-jenkins-deploy-platform-ansible-os-3727-1 2025-07-30 20:28:00,089 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/68e65e52-15a3-4abe-beaf-8dbf15845c18 2025-07-30 20:28:00,097 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ae244289-a2bc-423c-8d20-dfb0a59846f4 2025-07-30 20:28:01,335 - 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=2.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.449 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.449/1.536/2.624/1.087 ms') 2025-07-30 20:28:01,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-17948499-05202668 passed 2025-07-30 20:28:01,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:28:01,481 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-17948499-05202668, IP 205.46.230.68, Port 22 2025-07-30 20:28:01,636 - DEBUG - VM ctest-TestBasicVMVNx-17948499-05202668 is ready for SSH connections 2025-07-30 20:28:01,636 - DEBUG - FILE SIZE = 1303B 2025-07-30 20:28:01,636 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-17948499-24356239 to ctest-TestBasicVMVNx-17948499-05202668 using scp 2025-07-30 20:28:01,637 - 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-07-30 20:28:01,637 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-07-30 20:28:03,533 - DEBUG - 1+0 records in 1+0 records out 2025-07-30 20:28:04,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-30 20:28:04,445 - 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-07-30 20:28:04,445 - DEBUG - ls -l testfile 2025-07-30 20:28:06,036 - DEBUG - -rw------- 1 cirros cirros 1303 Jul 30 14:28 testfile 2025-07-30 20:28:06,036 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-17948499-05202668 2025-07-30 20:28:06,036 - INFO - Deleting VM ctest-TestBasicVMVNx-17948499-05202668 2025-07-30 20:28:06,106 - INFO - Deleting VM ctest-TestBasicVMVNx-17948499-24356239 2025-07-30 20:28:06,168 - INFO - Deleting VN ctest-vn-05786883 2025-07-30 20:28:06,204 - DEBUG - VN 0425eef0-2956-4afe-ace9-ea6c7759d244 still in use: Unable to complete operation on network 0425eef0-2956-4afe-ace9-ea6c7759d244. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5a16210e-5273-4484-adf2-7105e13e878e'] 2025-07-30 20:28:06,205 - WARNING - Deleting VN ctest-vn-05786883 failed..Will retry 2025-07-30 20:28:08,299 - DEBUG - Response for deleting network () 2025-07-30 20:28:08,554 - DEBUG - No XMPP flaps were noticed during the test
2025-07-30 20:28:08,554 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-07-30 20:28:08,554 - INFO - -------------------------------------------------------------------------------- 2025-07-30 20:28:09,221 - INFO - Deleted project: ctest-TestBasicVMVNx-17948499, ID : d66c1601-e167-433b-a892-6e9c01af1d5d