2025-04-14 18:58:57,774 - INFO - Domain Default found not creating 2025-04-14 18:58:57,969 - INFO - Project ctest-TestBasicVMVNx-55736380 not found, creating it 2025-04-14 18:58:58,479 - INFO - Created Project:ctest-TestBasicVMVNx-55736380, ID : 3475b4ad-0319-4af1-aa7f-8a0dd76bbe1c 2025-04-14 18:59:00,112 - INFO - ================================================================================ 2025-04-14 18:59:00,113 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-14 18:59:00,113 - 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-04-14 18:59:00,393 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-04-14 18:59:00,393 - INFO - Initial checks done. Running the testcase now 2025-04-14 18:59:00,393 - INFO - 2025-04-14 18:59:01,082 - DEBUG - Response for create_network : {'network': {'id': '6cbc6d3c-eb7f-407b-9843-11f5b3515cdc', 'name': 'ctest-vn-87087863', 'tenant_id': '3475b4ad03194af1aa7f8a0dd76bbe1c', 'project_id': '3475b4ad03194af1aa7f8a0dd76bbe1c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-55736380', 'ctest-vn-87087863'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 18:59:01,284 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cbf53a39-50f5-4660-86b3-eb33b041c3c2', 'name': '', 'tenant_id': '3475b4ad03194af1aa7f8a0dd76bbe1c', 'network_id': '6cbc6d3c-eb7f-407b-9843-11f5b3515cdc', 'ip_version': 4, 'cidr': '194.108.99.0/26', 'allocation_pools': [{'start': '194.108.99.2', 'end': '194.108.99.62'}], 'gateway_ip': '194.108.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.108.99.2', 'tags': [], 'project_id': '3475b4ad03194af1aa7f8a0dd76bbe1c'}} 2025-04-14 18:59:01,306 - INFO - Created VN ctest-vn-87087863 2025-04-14 18:59:01,363 - DEBUG - VN ctest-vn-87087863 UUID is 6cbc6d3c-eb7f-407b-9843-11f5b3515cdc 2025-04-14 18:59:01,550 - DEBUG - Services list from nova: [, , ] 2025-04-14 18:59:02,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3107-1) 2025-04-14 18:59:03,975 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3107-1) 2025-04-14 18:59:03,976 - INFO - Waiting for VM ctest-TestBasicVMVNx-55736380-76101517 to be up.. 2025-04-14 18:59:04,069 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-14 18:59:09,170 - DEBUG - VM is in ACTIVE state now 2025-04-14 18:59:09,170 - INFO - VM name : ctest-TestBasicVMVNx-55736380-76101517 2025-04-14 18:59:09,266 - DEBUG - VM ctest-TestBasicVMVNx-55736380-76101517 ID is 1626d380-5686-47ef-b733-94fc150618a3 2025-04-14 18:59:09,298 - DEBUG - VM ctest-TestBasicVMVNx-55736380-76101517 launched on Node cn-jenkins-deploy-platform-ansible-os-3107-1 2025-04-14 18:59:09,402 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1626d380-5686-47ef-b733-94fc150618a3 2025-04-14 18:59:09,719 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1626d380-5686-47ef-b733-94fc150618a3 2025-04-14 18:59:09,768 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/04db7a6c-a0d5-4196-8f84-e4cb8c4d3107 2025-04-14 18:59:13,046 - 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-04-14 18:59:13,047 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55736380-76101517 failed! 2025-04-14 18:59:13,103 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-55736380:ctest-vn-87087863 is 194.108.99.1 and allocation pool is NOT set 2025-04-14 18:59:15,169 - 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=12.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.98 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.979/7.433/12.887/5.454 ms') 2025-04-14 18:59:15,169 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-55736380-76101517 passed 2025-04-14 18:59:15,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 18:59:15,336 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55736380-76101517, IP 194.108.99.3, Port 22 2025-04-14 18:59:15,401 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-04-14 18:59:15,500 - DEBUG - VM ctest-TestBasicVMVNx-55736380-76101517 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-14 18:59:20,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 18:59:20,501 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55736380-76101517, IP 194.108.99.3, Port 22 2025-04-14 18:59:20,675 - DEBUG - VM ctest-TestBasicVMVNx-55736380-76101517 is ready for SSH connections 2025-04-14 18:59:20,675 - INFO - Waiting for VM ctest-TestBasicVMVNx-55736380-89857515 to be up.. 2025-04-14 18:59:20,807 - DEBUG - VM is in ACTIVE state now 2025-04-14 18:59:20,807 - INFO - VM name : ctest-TestBasicVMVNx-55736380-89857515 2025-04-14 18:59:20,904 - DEBUG - VM ctest-TestBasicVMVNx-55736380-89857515 ID is ada710e7-32b9-44f4-b7f4-1e3889c9ead1 2025-04-14 18:59:20,904 - DEBUG - VM ctest-TestBasicVMVNx-55736380-89857515 launched on Node cn-jenkins-deploy-platform-ansible-os-3107-1 2025-04-14 18:59:20,999 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ada710e7-32b9-44f4-b7f4-1e3889c9ead1 2025-04-14 18:59:21,010 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/33d119b8-0e3e-42c9-aabf-b7f8259c5747 2025-04-14 18:59:22,259 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.750 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.750/2.235/3.721/1.485 ms') 2025-04-14 18:59:22,259 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-55736380-89857515 passed 2025-04-14 18:59:22,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 18:59:22,420 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-55736380-89857515, IP 194.108.99.4, Port 22 2025-04-14 18:59:22,576 - DEBUG - VM ctest-TestBasicVMVNx-55736380-89857515 is ready for SSH connections 2025-04-14 18:59:22,576 - DEBUG - FILE SIZE = 1303B 2025-04-14 18:59:22,576 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-55736380-76101517 to ctest-TestBasicVMVNx-55736380-89857515 using scp 2025-04-14 18:59:22,576 - 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.50, gateway password: c0ntrail123 2025-04-14 18:59:22,577 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-14 18:59:24,565 - DEBUG - 1+0 records in 1+0 records out 2025-04-14 18:59:25,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 18:59:25,782 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-14 18:59:25,782 - DEBUG - ls -l testfile 2025-04-14 18:59:27,393 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 14 12:59 testfile 2025-04-14 18:59:27,394 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-55736380-89857515 2025-04-14 18:59:27,394 - INFO - Deleting VM ctest-TestBasicVMVNx-55736380-89857515 2025-04-14 18:59:27,614 - INFO - Deleting VM ctest-TestBasicVMVNx-55736380-76101517 2025-04-14 18:59:27,708 - INFO - Deleting VN ctest-vn-87087863 2025-04-14 18:59:27,752 - DEBUG - VN 6cbc6d3c-eb7f-407b-9843-11f5b3515cdc still in use: Unable to complete operation on network 6cbc6d3c-eb7f-407b-9843-11f5b3515cdc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9950516c-6e73-484c-954e-56910f58aaf3'] 2025-04-14 18:59:27,753 - WARNING - Deleting VN ctest-vn-87087863 failed..Will retry 2025-04-14 18:59:29,917 - DEBUG - Response for deleting network () 2025-04-14 18:59:30,185 - DEBUG - No XMPP flaps were noticed during the test 2025-04-14 18:59:30,186 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2025-04-14 18:59:30,186 - INFO - -------------------------------------------------------------------------------- 2025-04-14 18:59:30,956 - INFO - Deleted project: ctest-TestBasicVMVNx-55736380, ID : 3475b4ad-0319-4af1-aa7f-8a0dd76bbe1c