2025-01-27 02:39:37,961 - INFO - Domain Default found not creating 2025-01-27 02:39:38,101 - INFO - Project ctest-TestBasicVMVNx-67202220 not found, creating it 2025-01-27 02:39:38,564 - INFO - Created Project:ctest-TestBasicVMVNx-67202220, ID : 10043253-c48d-4031-b3ae-ce555e203d7c 2025-01-27 02:39:40,039 - INFO - ================================================================================ 2025-01-27 02:39:40,039 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-27 02:39:40,039 - 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-01-27 02:39:40,296 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.17': '0'}} with 2025-01-27 02:39:40,296 - INFO - Initial checks done. Running the testcase now 2025-01-27 02:39:40,296 - INFO - 2025-01-27 02:39:40,875 - DEBUG - Response for create_network : {'network': {'id': '43c532e3-6d24-4d8f-82ec-253174938dc3', 'name': 'ctest-vn-21860337', 'tenant_id': '10043253c48d4031b3aece555e203d7c', 'project_id': '10043253c48d4031b3aece555e203d7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-67202220', 'ctest-vn-21860337'], 'port_security_enabled': True, 'description': ''}} 2025-01-27 02:39:41,050 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca876a0d-a5a9-4b31-82bc-4818516ece45', 'name': '', 'tenant_id': '10043253c48d4031b3aece555e203d7c', 'network_id': '43c532e3-6d24-4d8f-82ec-253174938dc3', 'ip_version': 4, 'cidr': '97.143.246.192/26', 'allocation_pools': [{'start': '97.143.246.194', 'end': '97.143.246.254'}], 'gateway_ip': '97.143.246.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.143.246.194', 'tags': [], 'project_id': '10043253c48d4031b3aece555e203d7c'}} 2025-01-27 02:39:41,069 - INFO - Created VN ctest-vn-21860337 2025-01-27 02:39:41,123 - DEBUG - VN ctest-vn-21860337 UUID is 43c532e3-6d24-4d8f-82ec-253174938dc3 2025-01-27 02:39:41,300 - DEBUG - Services list from nova: [, , ] 2025-01-27 02:39:42,305 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2664-1) 2025-01-27 02:39:43,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2664-1) 2025-01-27 02:39:43,453 - INFO - Waiting for VM ctest-TestBasicVMVNx-67202220-74657560 to be up.. 2025-01-27 02:39:43,543 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-27 02:39:48,615 - DEBUG - VM is in ACTIVE state now 2025-01-27 02:39:48,615 - INFO - VM name : ctest-TestBasicVMVNx-67202220-74657560 2025-01-27 02:39:48,686 - DEBUG - VM ctest-TestBasicVMVNx-67202220-74657560 ID is ec12efa5-82ec-4bb5-bc7b-819e6946ab2f 2025-01-27 02:39:48,705 - DEBUG - VM ctest-TestBasicVMVNx-67202220-74657560 launched on Node cn-jenkins-deploy-platform-ansible-os-2664-1 2025-01-27 02:39:48,779 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/ec12efa5-82ec-4bb5-bc7b-819e6946ab2f 2025-01-27 02:39:49,080 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/ec12efa5-82ec-4bb5-bc7b-819e6946ab2f 2025-01-27 02:39:49,112 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/938e95b1-e6fe-4de4-9f8b-89eff6afc321 2025-01-27 02:39:52,367 - 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 1018ms') 2025-01-27 02:39:52,367 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67202220-74657560 failed! 2025-01-27 02:39:52,423 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-67202220:ctest-vn-21860337 is 97.143.246.193 and allocation pool is NOT set 2025-01-27 02:39:54,484 - 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=6.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.645 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.645/3.371/6.098/2.726 ms') 2025-01-27 02:39:54,484 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67202220-74657560 passed 2025-01-27 02:39:54,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:39:54,635 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67202220-74657560, IP 97.143.246.195, Port 22 2025-01-27 02:39:54,790 - DEBUG - VM ctest-TestBasicVMVNx-67202220-74657560 is ready for SSH connections 2025-01-27 02:39:54,790 - INFO - Waiting for VM ctest-TestBasicVMVNx-67202220-15111646 to be up.. 2025-01-27 02:39:54,867 - DEBUG - VM is in ACTIVE state now 2025-01-27 02:39:54,867 - INFO - VM name : ctest-TestBasicVMVNx-67202220-15111646 2025-01-27 02:39:54,945 - DEBUG - VM ctest-TestBasicVMVNx-67202220-15111646 ID is f30eb65f-4d92-4f20-a55b-de4762342363 2025-01-27 02:39:54,945 - DEBUG - VM ctest-TestBasicVMVNx-67202220-15111646 launched on Node cn-jenkins-deploy-platform-ansible-os-2664-1 2025-01-27 02:39:55,018 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/f30eb65f-4d92-4f20-a55b-de4762342363 2025-01-27 02:39:55,027 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/8f1fdd74-fa70-475f-a234-f2291ab7d57b 2025-01-27 02:39:56,263 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 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.464/2.080/3.697/1.616 ms') 2025-01-27 02:39:56,264 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-67202220-15111646 passed 2025-01-27 02:39:56,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:39:56,415 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67202220-15111646, IP 97.143.246.196, Port 22 2025-01-27 02:39:56,570 - DEBUG - VM ctest-TestBasicVMVNx-67202220-15111646 is ready for SSH connections 2025-01-27 02:39:56,570 - DEBUG - FILE SIZE = 1303B 2025-01-27 02:39:56,570 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-67202220-74657560 to ctest-TestBasicVMVNx-67202220-15111646 using scp 2025-01-27 02:39:56,571 - 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.28, gateway password: c0ntrail123 2025-01-27 02:39:56,571 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-27 02:39:58,443 - DEBUG - 1+0 records in 1+0 records out 2025-01-27 02:39:59,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-27 02:39:59,512 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-01-27 02:39:59,512 - DEBUG - ls -l testfile 2025-01-27 02:40:01,114 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 26 19:39 testfile 2025-01-27 02:40:01,114 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-67202220-15111646 2025-01-27 02:40:01,114 - INFO - Deleting VM ctest-TestBasicVMVNx-67202220-15111646 2025-01-27 02:40:01,190 - INFO - Deleting VM ctest-TestBasicVMVNx-67202220-74657560 2025-01-27 02:40:01,259 - INFO - Deleting VN ctest-vn-21860337 2025-01-27 02:40:01,292 - DEBUG - VN 43c532e3-6d24-4d8f-82ec-253174938dc3 still in use: Unable to complete operation on network 43c532e3-6d24-4d8f-82ec-253174938dc3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2fa92fdd-ca4c-4f96-8cd9-7eb30bdd1685'] 2025-01-27 02:40:01,292 - WARNING - Deleting VN ctest-vn-21860337 failed..Will retry 2025-01-27 02:40:03,406 - DEBUG - Response for deleting network () 2025-01-27 02:40:03,661 - DEBUG - No XMPP flaps were noticed during the test
2025-01-27 02:40:03,661 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-01-27 02:40:03,661 - INFO - -------------------------------------------------------------------------------- 2025-01-27 02:40:04,327 - INFO - Deleted project: ctest-TestBasicVMVNx-67202220, ID : 10043253-c48d-4031-b3ae-ce555e203d7c