2025-06-30 15:10:42,634 - INFO - Domain Default found not creating 2025-06-30 15:10:42,802 - INFO - Project ctest-TestBasicVMVNx-43877385 not found, creating it 2025-06-30 15:10:43,288 - INFO - Created Project:ctest-TestBasicVMVNx-43877385, ID : e0304ff3-e7e3-4450-b701-5a07828bdad6 2025-06-30 15:10:44,768 - INFO - ================================================================================ 2025-06-30 15:10:44,768 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-30 15:10:44,769 - 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-06-30 15:10:45,026 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2025-06-30 15:10:45,026 - INFO - Initial checks done. Running the testcase now 2025-06-30 15:10:45,026 - INFO - 2025-06-30 15:10:45,595 - DEBUG - Response for create_network : {'network': {'id': '05773775-d9af-4f2c-8fc8-041df0ecdc41', 'name': 'ctest-vn-96452931', 'tenant_id': 'e0304ff3e7e34450b7015a07828bdad6', 'project_id': 'e0304ff3e7e34450b7015a07828bdad6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-43877385', 'ctest-vn-96452931'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 15:10:45,806 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4f067cf-9895-4683-baba-5ab247bb6ac5', 'name': '', 'tenant_id': 'e0304ff3e7e34450b7015a07828bdad6', 'network_id': '05773775-d9af-4f2c-8fc8-041df0ecdc41', 'ip_version': 4, 'cidr': '61.121.123.64/26', 'allocation_pools': [{'start': '61.121.123.66', 'end': '61.121.123.126'}], 'gateway_ip': '61.121.123.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.121.123.66', 'tags': [], 'project_id': 'e0304ff3e7e34450b7015a07828bdad6'}} 2025-06-30 15:10:45,825 - INFO - Created VN ctest-vn-96452931 2025-06-30 15:10:45,881 - DEBUG - VN ctest-vn-96452931 UUID is 05773775-d9af-4f2c-8fc8-041df0ecdc41 2025-06-30 15:10:46,062 - DEBUG - Services list from nova: [, , ] 2025-06-30 15:10:47,093 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3579-1) 2025-06-30 15:10:48,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3579-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3579-1) 2025-06-30 15:10:48,269 - INFO - Waiting for VM ctest-TestBasicVMVNx-43877385-96291173 to be up.. 2025-06-30 15:10:48,358 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 15:10:53,447 - DEBUG - VM is in ACTIVE state now 2025-06-30 15:10:53,447 - INFO - VM name : ctest-TestBasicVMVNx-43877385-96291173 2025-06-30 15:10:53,547 - DEBUG - VM ctest-TestBasicVMVNx-43877385-96291173 ID is 0ae99a48-64f4-4d75-a6a9-352a098c616b 2025-06-30 15:10:53,687 - DEBUG - VM ctest-TestBasicVMVNx-43877385-96291173 launched on Node cn-jenkins-deploy-platform-ansible-os-3579-1 2025-06-30 15:10:53,794 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/0ae99a48-64f4-4d75-a6a9-352a098c616b 2025-06-30 15:10:54,097 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/0ae99a48-64f4-4d75-a6a9-352a098c616b 2025-06-30 15:10:54,132 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/2d50fb85-2b28-4782-9f29-f467399e6b86 2025-06-30 15:10:57,385 - 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 1002ms') 2025-06-30 15:10:57,385 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43877385-96291173 failed! 2025-06-30 15:10:57,441 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-43877385:ctest-vn-96452931 is 61.121.123.65 and allocation pool is NOT set 2025-06-30 15:10:59,508 - 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=2.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.68 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.679/2.751/2.824/0.072 ms') 2025-06-30 15:10:59,508 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43877385-96291173 passed 2025-06-30 15:10:59,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:10:59,657 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43877385-96291173, IP 61.121.123.67, Port 22 2025-06-30 15:10:59,712 - 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-06-30 15:10:59,789 - DEBUG - VM ctest-TestBasicVMVNx-43877385-96291173 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-30 15:11:04,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:11:04,790 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43877385-96291173, IP 61.121.123.67, Port 22 2025-06-30 15:11:04,948 - DEBUG - VM ctest-TestBasicVMVNx-43877385-96291173 is ready for SSH connections 2025-06-30 15:11:04,948 - INFO - Waiting for VM ctest-TestBasicVMVNx-43877385-76057736 to be up.. 2025-06-30 15:11:05,024 - DEBUG - VM is in ACTIVE state now 2025-06-30 15:11:05,024 - INFO - VM name : ctest-TestBasicVMVNx-43877385-76057736 2025-06-30 15:11:05,100 - DEBUG - VM ctest-TestBasicVMVNx-43877385-76057736 ID is a0d52d81-9847-40ae-b3cb-dcbe2cb7dbe0 2025-06-30 15:11:05,100 - DEBUG - VM ctest-TestBasicVMVNx-43877385-76057736 launched on Node cn-jenkins-deploy-platform-ansible-os-3579-1 2025-06-30 15:11:05,176 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/a0d52d81-9847-40ae-b3cb-dcbe2cb7dbe0 2025-06-30 15:11:05,186 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/ca548a26-f888-4741-9d24-700ef013e415 2025-06-30 15:11:06,431 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.451 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.451/1.689/2.927/1.238 ms') 2025-06-30 15:11:06,431 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-43877385-76057736 passed 2025-06-30 15:11:06,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:11:06,589 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43877385-76057736, IP 61.121.123.68, Port 22 2025-06-30 15:11:06,745 - DEBUG - VM ctest-TestBasicVMVNx-43877385-76057736 is ready for SSH connections 2025-06-30 15:11:06,745 - DEBUG - FILE SIZE = 1303B 2025-06-30 15:11:06,745 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-43877385-96291173 to ctest-TestBasicVMVNx-43877385-76057736 using scp 2025-06-30 15:11:06,745 - 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.161, gateway password: c0ntrail123 2025-06-30 15:11:06,746 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-30 15:11:08,403 - DEBUG - 1+0 records in 1+0 records out 2025-06-30 15:11:09,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 15:11:09,354 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2025-06-30 15:11:09,354 - DEBUG - ls -l testfile 2025-06-30 15:11:10,939 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 30 09:11 testfile 2025-06-30 15:11:10,939 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-43877385-76057736 2025-06-30 15:11:10,939 - INFO - Deleting VM ctest-TestBasicVMVNx-43877385-76057736 2025-06-30 15:11:11,006 - INFO - Deleting VM ctest-TestBasicVMVNx-43877385-96291173 2025-06-30 15:11:11,089 - INFO - Deleting VN ctest-vn-96452931 2025-06-30 15:11:11,129 - DEBUG - VN 05773775-d9af-4f2c-8fc8-041df0ecdc41 still in use: Unable to complete operation on network 05773775-d9af-4f2c-8fc8-041df0ecdc41. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d63eb3a-9350-46ff-ab99-a5d5e65f571f'] 2025-06-30 15:11:11,129 - WARNING - Deleting VN ctest-vn-96452931 failed..Will retry 2025-06-30 15:11:13,257 - DEBUG - Response for deleting network () 2025-06-30 15:11:13,512 - DEBUG - No XMPP flaps were noticed during the test 2025-06-30 15:11:13,512 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29] 2025-06-30 15:11:13,512 - INFO - -------------------------------------------------------------------------------- 2025-06-30 15:11:14,199 - INFO - Deleted project: ctest-TestBasicVMVNx-43877385, ID : e0304ff3-e7e3-4450-b701-5a07828bdad6