2025-01-28 13:53:43,790 - INFO - Domain Default found not creating 2025-01-28 13:53:43,943 - INFO - Project ctest-TestBasicVMVNx-28032693 not found, creating it 2025-01-28 13:53:44,419 - INFO - Created Project:ctest-TestBasicVMVNx-28032693, ID : ab3bfba8-3227-4bb6-b54b-782403445460 2025-01-28 13:53:45,911 - INFO - ================================================================================ 2025-01-28 13:53:45,911 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-28 13:53:45,911 - 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-28 13:53:46,171 - DEBUG - Nothing to compare xmpp stats {'10.0.0.45': {'10.20.0.10': '0'}} with 2025-01-28 13:53:46,171 - INFO - Initial checks done. Running the testcase now 2025-01-28 13:53:46,171 - INFO - 2025-01-28 13:53:46,776 - DEBUG - Response for create_network : {'network': {'id': '9024cba5-c306-45a0-96ff-4cd8e3aad8ff', 'name': 'ctest-vn-03017578', 'tenant_id': 'ab3bfba832274bb6b54b782403445460', 'project_id': 'ab3bfba832274bb6b54b782403445460', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-28032693', 'ctest-vn-03017578'], 'port_security_enabled': True, 'description': ''}} 2025-01-28 13:53:47,001 - DEBUG - Response for create_subnet : {'subnet': {'id': '743e3219-7d32-43c4-af68-fe6aafc35726', 'name': '', 'tenant_id': 'ab3bfba832274bb6b54b782403445460', 'network_id': '9024cba5-c306-45a0-96ff-4cd8e3aad8ff', 'ip_version': 4, 'cidr': '106.16.180.0/26', 'allocation_pools': [{'start': '106.16.180.2', 'end': '106.16.180.62'}], 'gateway_ip': '106.16.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.16.180.2', 'tags': [], 'project_id': 'ab3bfba832274bb6b54b782403445460'}} 2025-01-28 13:53:47,022 - INFO - Created VN ctest-vn-03017578 2025-01-28 13:53:47,076 - DEBUG - VN ctest-vn-03017578 UUID is 9024cba5-c306-45a0-96ff-4cd8e3aad8ff 2025-01-28 13:53:47,241 - DEBUG - Services list from nova: [, , ] 2025-01-28 13:53:48,257 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2666-1) 2025-01-28 13:53:49,370 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2666-1) 2025-01-28 13:53:49,371 - INFO - Waiting for VM ctest-TestBasicVMVNx-28032693-21329051 to be up.. 2025-01-28 13:53:49,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-28 13:53:54,559 - DEBUG - VM is in ACTIVE state now 2025-01-28 13:53:54,559 - INFO - VM name : ctest-TestBasicVMVNx-28032693-21329051 2025-01-28 13:53:54,640 - DEBUG - VM ctest-TestBasicVMVNx-28032693-21329051 ID is 1df86891-b269-4143-adc3-77208cd9199e 2025-01-28 13:53:54,663 - DEBUG - VM ctest-TestBasicVMVNx-28032693-21329051 launched on Node cn-jenkins-deploy-platform-ansible-os-2666-1 2025-01-28 13:53:54,748 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/1df86891-b269-4143-adc3-77208cd9199e 2025-01-28 13:53:55,043 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/1df86891-b269-4143-adc3-77208cd9199e 2025-01-28 13:53:55,077 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/ab11f6d0-0cf4-4926-9802-68e0a6374896 2025-01-28 13:53:58,330 - 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 1005ms') 2025-01-28 13:53:58,330 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28032693-21329051 failed! 2025-01-28 13:53:58,384 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-28032693:ctest-vn-03017578 is 106.16.180.1 and allocation pool is NOT set 2025-01-28 13:54:00,444 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 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 = 1.035/2.565/4.095/1.530 ms') 2025-01-28 13:54:00,444 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-28032693-21329051 passed 2025-01-28 13:54:00,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-28 13:54:00,592 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28032693-21329051, IP 106.16.180.3, Port 22 2025-01-28 13:54:00,763 - DEBUG - VM ctest-TestBasicVMVNx-28032693-21329051 is ready for SSH connections 2025-01-28 13:54:00,763 - INFO - Waiting for VM ctest-TestBasicVMVNx-28032693-96949786 to be up.. 2025-01-28 13:54:00,837 - DEBUG - VM is in ACTIVE state now 2025-01-28 13:54:00,837 - INFO - VM name : ctest-TestBasicVMVNx-28032693-96949786 2025-01-28 13:54:00,922 - DEBUG - VM ctest-TestBasicVMVNx-28032693-96949786 ID is 20ab6d37-ca06-43f2-b2d6-4445712de09c 2025-01-28 13:54:00,922 - DEBUG - VM ctest-TestBasicVMVNx-28032693-96949786 launched on Node cn-jenkins-deploy-platform-ansible-os-2666-1 2025-01-28 13:54:00,996 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine/20ab6d37-ca06-43f2-b2d6-4445712de09c 2025-01-28 13:54:01,007 - DEBUG - Requesting: http://10.0.0.45:8082/virtual-machine-interface/eca12ba5-c0f8-48a2-830a-f1e59b5b2575 2025-01-28 13:54:02,255 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.485 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.485/1.757/3.030/1.272 ms') 2025-01-28 13:54:02,255 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-28032693-96949786 passed 2025-01-28 13:54:02,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-28 13:54:02,412 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-28032693-96949786, IP 106.16.180.4, Port 22 2025-01-28 13:54:02,572 - DEBUG - VM ctest-TestBasicVMVNx-28032693-96949786 is ready for SSH connections 2025-01-28 13:54:02,572 - DEBUG - FILE SIZE = 1303B 2025-01-28 13:54:02,572 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-28032693-21329051 to ctest-TestBasicVMVNx-28032693-96949786 using scp 2025-01-28 13:54:02,573 - 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.45, gateway password: c0ntrail123 2025-01-28 13:54:02,573 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-28 13:54:04,490 - DEBUG - 1+0 records in 1+0 records out 2025-01-28 13:54:05,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-28 13:54:05,593 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.45, gateway password: c0ntrail123 2025-01-28 13:54:05,593 - DEBUG - ls -l testfile 2025-01-28 13:54:07,193 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 28 06:54 testfile 2025-01-28 13:54:07,194 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-28032693-96949786 2025-01-28 13:54:07,194 - INFO - Deleting VM ctest-TestBasicVMVNx-28032693-96949786 2025-01-28 13:54:07,277 - INFO - Deleting VM ctest-TestBasicVMVNx-28032693-21329051 2025-01-28 13:54:07,448 - INFO - Deleting VN ctest-vn-03017578 2025-01-28 13:54:07,503 - DEBUG - VN 9024cba5-c306-45a0-96ff-4cd8e3aad8ff still in use: Unable to complete operation on network 9024cba5-c306-45a0-96ff-4cd8e3aad8ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f9b2d2bf-50c8-4e94-8b26-449e85425aaf'] 2025-01-28 13:54:07,503 - WARNING - Deleting VN ctest-vn-03017578 failed..Will retry 2025-01-28 13:54:09,611 - DEBUG - Response for deleting network () 2025-01-28 13:54:09,867 - DEBUG - No XMPP flaps were noticed during the test 2025-01-28 13:54:09,867 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-01-28 13:54:09,867 - INFO - -------------------------------------------------------------------------------- 2025-01-28 13:54:10,545 - INFO - Deleted project: ctest-TestBasicVMVNx-28032693, ID : ab3bfba8-3227-4bb6-b54b-782403445460