2025-02-05 18:17:23,645 - INFO - Domain Default found not creating 2025-02-05 18:17:23,877 - INFO - Project ctest-TestBasicVMVNx-67323515 not found, creating it 2025-02-05 18:17:24,522 - INFO - Created Project:ctest-TestBasicVMVNx-67323515, ID : a64394ad-a9b2-4fe2-9afd-a5e780c89979 2025-02-05 18:17:26,875 - INFO - ================================================================================ 2025-02-05 18:17:26,876 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-02-05 18:17:26,876 - 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-02-05 18:17:27,216 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.13': '0'}} with 2025-02-05 18:17:27,216 - INFO - Initial checks done. Running the testcase now 2025-02-05 18:17:27,216 - INFO - 2025-02-05 18:17:27,966 - DEBUG - Response for create_network : {'network': {'id': '3a7d1af6-69c8-471b-a278-01885c67a213', 'name': 'ctest-vn-01991600', 'tenant_id': 'a64394ada9b24fe29afda5e780c89979', 'project_id': 'a64394ada9b24fe29afda5e780c89979', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-67323515', 'ctest-vn-01991600'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 18:17:28,184 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd663077d-df81-4cf3-9a56-f16c597fb4f5', 'name': '', 'tenant_id': 'a64394ada9b24fe29afda5e780c89979', 'network_id': '3a7d1af6-69c8-471b-a278-01885c67a213', 'ip_version': 4, 'cidr': '178.254.116.0/26', 'allocation_pools': [{'start': '178.254.116.2', 'end': '178.254.116.62'}], 'gateway_ip': '178.254.116.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.254.116.2', 'tags': [], 'project_id': 'a64394ada9b24fe29afda5e780c89979'}} 2025-02-05 18:17:28,210 - INFO - Created VN ctest-vn-01991600 2025-02-05 18:17:28,278 - DEBUG - VN ctest-vn-01991600 UUID is 3a7d1af6-69c8-471b-a278-01885c67a213 2025-02-05 18:17:28,647 - DEBUG - Services list from nova: [, , ] 2025-02-05 18:17:29,931 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2695-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2695-1) 2025-02-05 18:17:31,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2695-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2695-1) 2025-02-05 18:17:31,238 - INFO - Waiting for VM ctest-TestBasicVMVNx-67323515-95369348 to be up.. 2025-02-05 18:17:31,355 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-05 18:17:36,515 - DEBUG - VM is in ACTIVE state now 2025-02-05 18:17:36,515 - INFO - VM name : ctest-TestBasicVMVNx-67323515-95369348 2025-02-05 18:17:36,682 - DEBUG - VM ctest-TestBasicVMVNx-67323515-95369348 ID is 1a826c49-01ca-4953-ad8d-774d86302a60 2025-02-05 18:17:36,713 - DEBUG - VM ctest-TestBasicVMVNx-67323515-95369348 launched on Node cn-jenkins-deploy-platform-ansible-os-2695-1 2025-02-05 18:17:36,858 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/1a826c49-01ca-4953-ad8d-774d86302a60 2025-02-05 18:17:37,168 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/1a826c49-01ca-4953-ad8d-774d86302a60 2025-02-05 18:17:37,249 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/35e3a27a-e7c2-4660-8a5a-7ce60bd73ca7 2025-02-05 18:17:40,570 - 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-02-05 18:17:40,570 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67323515-95369348 failed! 2025-02-05 18:17:40,642 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-67323515:ctest-vn-01991600 is 178.254.116.1 and allocation pool is NOT set 2025-02-05 18:17:44,729 - 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=2 ttl=63 time=4.06 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 4.057/4.057/4.057/0.000 ms') 2025-02-05 18:17:44,730 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-67323515-95369348 passed 2025-02-05 18:17:44,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 18:17:44,934 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67323515-95369348, IP 178.254.116.3, Port 22 2025-02-05 18:17:45,130 - DEBUG - VM ctest-TestBasicVMVNx-67323515-95369348 is ready for SSH connections 2025-02-05 18:17:45,130 - INFO - Waiting for VM ctest-TestBasicVMVNx-67323515-78817541 to be up.. 2025-02-05 18:17:45,327 - DEBUG - VM is in ACTIVE state now 2025-02-05 18:17:45,327 - INFO - VM name : ctest-TestBasicVMVNx-67323515-78817541 2025-02-05 18:17:45,520 - DEBUG - VM ctest-TestBasicVMVNx-67323515-78817541 ID is 653acad6-9727-458d-adac-7afd2421dd42 2025-02-05 18:17:45,520 - DEBUG - VM ctest-TestBasicVMVNx-67323515-78817541 launched on Node cn-jenkins-deploy-platform-ansible-os-2695-1 2025-02-05 18:17:45,686 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/653acad6-9727-458d-adac-7afd2421dd42 2025-02-05 18:17:45,706 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/c3145e17-4381-48a4-8586-5ded8d5959ef 2025-02-05 18:17:47,028 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.78 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 = 1.781/3.326/4.871/1.545 ms') 2025-02-05 18:17:47,028 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-67323515-78817541 passed 2025-02-05 18:17:47,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 18:17:47,206 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67323515-78817541, IP 178.254.116.4, Port 22 2025-02-05 18:17:47,274 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-02-05 18:17:47,408 - DEBUG - VM ctest-TestBasicVMVNx-67323515-78817541 is NOT ready for SSH connections, VM status: ACTIVE 2025-02-05 18:17:52,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 18:17:52,409 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-67323515-78817541, IP 178.254.116.4, Port 22 2025-02-05 18:17:52,606 - DEBUG - VM ctest-TestBasicVMVNx-67323515-78817541 is ready for SSH connections 2025-02-05 18:17:52,607 - DEBUG - FILE SIZE = 1303B 2025-02-05 18:17:52,607 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-67323515-95369348 to ctest-TestBasicVMVNx-67323515-78817541 using scp 2025-02-05 18:17:52,609 - 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.12, gateway password: c0ntrail123 2025-02-05 18:17:52,610 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-02-05 18:17:54,611 - DEBUG - 1+0 records in 1+0 records out 2025-02-05 18:17:55,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 18:17:55,895 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-02-05 18:17:55,896 - DEBUG - ls -l testfile 2025-02-05 18:17:57,746 - DEBUG - -rw------- 1 cirros cirros 1303 Feb 5 11:17 testfile 2025-02-05 18:17:57,747 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-67323515-78817541 2025-02-05 18:17:57,747 - INFO - Deleting VM ctest-TestBasicVMVNx-67323515-78817541 2025-02-05 18:17:57,881 - INFO - Deleting VM ctest-TestBasicVMVNx-67323515-95369348 2025-02-05 18:17:58,000 - INFO - Deleting VN ctest-vn-01991600 2025-02-05 18:17:58,087 - DEBUG - VN 3a7d1af6-69c8-471b-a278-01885c67a213 still in use: Unable to complete operation on network 3a7d1af6-69c8-471b-a278-01885c67a213. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-912bf72b-1e12-4617-b624-0dfda7ea31f9'] 2025-02-05 18:17:58,088 - WARNING - Deleting VN ctest-vn-01991600 failed..Will retry 2025-02-05 18:18:00,286 - DEBUG - Response for deleting network () 2025-02-05 18:18:00,564 - DEBUG - No XMPP flaps were noticed during the test
2025-02-05 18:18:00,565 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:34]
2025-02-05 18:18:00,565 - INFO - -------------------------------------------------------------------------------- 2025-02-05 18:18:01,411 - INFO - Deleted project: ctest-TestBasicVMVNx-67323515, ID : a64394ad-a9b2-4fe2-9afd-a5e780c89979