2025-06-30 17:31:18,959 - INFO - Domain Default found not creating 2025-06-30 17:31:19,425 - INFO - Project ctest-TestBasicVMVNx-60899782 not found, creating it 2025-06-30 17:31:20,012 - INFO - Created Project:ctest-TestBasicVMVNx-60899782, ID : a21056a8-57a4-4eae-ba08-c0972085c085 2025-06-30 17:31:21,985 - INFO - ================================================================================ 2025-06-30 17:31:21,985 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-06-30 17:31:21,985 - 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 17:31:22,322 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-30 17:31:22,322 - INFO - Initial checks done. Running the testcase now 2025-06-30 17:31:22,323 - INFO - 2025-06-30 17:31:23,136 - DEBUG - Response for create_network : {'network': {'id': '4adc05e1-559f-4c78-9237-3c6265509fd1', 'name': 'ctest-vn-71544663', 'tenant_id': 'a21056a857a44eaeba08c0972085c085', 'project_id': 'a21056a857a44eaeba08c0972085c085', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-60899782', 'ctest-vn-71544663'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 17:31:23,330 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bd4b5b4-2251-4737-ae50-d2a1a3160e4e', 'name': '', 'tenant_id': 'a21056a857a44eaeba08c0972085c085', 'network_id': '4adc05e1-559f-4c78-9237-3c6265509fd1', 'ip_version': 4, 'cidr': '49.0.148.0/26', 'allocation_pools': [{'start': '49.0.148.2', 'end': '49.0.148.62'}], 'gateway_ip': '49.0.148.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.0.148.2', 'tags': [], 'project_id': 'a21056a857a44eaeba08c0972085c085'}} 2025-06-30 17:31:23,354 - INFO - Created VN ctest-vn-71544663 2025-06-30 17:31:23,410 - DEBUG - VN ctest-vn-71544663 UUID is 4adc05e1-559f-4c78-9237-3c6265509fd1 2025-06-30 17:31:23,670 - DEBUG - Services list from nova: [, , ] 2025-06-30 17:31:25,408 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3583-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3583-1) 2025-06-30 17:31:26,817 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3583-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3583-1) 2025-06-30 17:31:26,817 - INFO - Waiting for VM ctest-TestBasicVMVNx-60899782-67193497 to be up.. 2025-06-30 17:31:26,912 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 17:31:32,101 - DEBUG - VM is in ACTIVE state now 2025-06-30 17:31:32,101 - INFO - VM name : ctest-TestBasicVMVNx-60899782-67193497 2025-06-30 17:31:32,241 - DEBUG - VM ctest-TestBasicVMVNx-60899782-67193497 ID is 352435b1-b162-4168-af91-a987d52dc089 2025-06-30 17:31:32,271 - DEBUG - VM ctest-TestBasicVMVNx-60899782-67193497 launched on Node cn-jenkins-deploy-platform-ansible-os-3583-1 2025-06-30 17:31:32,434 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/352435b1-b162-4168-af91-a987d52dc089 2025-06-30 17:31:32,784 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/352435b1-b162-4168-af91-a987d52dc089 2025-06-30 17:31:32,851 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6d074301-5ec9-46ff-84b3-8e6fe8cf1684 2025-06-30 17:31:36,187 - 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 1009ms') 2025-06-30 17:31:36,187 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60899782-67193497 failed! 2025-06-30 17:31:36,262 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-60899782:ctest-vn-71544663 is 49.0.148.1 and allocation pool is NOT set 2025-06-30 17:31:38,338 - 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=10.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.87 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.868/6.110/10.353/4.242 ms') 2025-06-30 17:31:38,338 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-60899782-67193497 passed 2025-06-30 17:31:38,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 17:31:38,531 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60899782-67193497, IP 49.0.148.3, Port 22 2025-06-30 17:31:38,599 - 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 17:31:38,727 - DEBUG - VM ctest-TestBasicVMVNx-60899782-67193497 is NOT ready for SSH connections, VM status: ACTIVE 2025-06-30 17:31:43,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 17:31:43,729 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60899782-67193497, IP 49.0.148.3, Port 22 2025-06-30 17:31:43,940 - DEBUG - VM ctest-TestBasicVMVNx-60899782-67193497 is ready for SSH connections 2025-06-30 17:31:43,941 - INFO - Waiting for VM ctest-TestBasicVMVNx-60899782-51094007 to be up.. 2025-06-30 17:31:44,102 - DEBUG - VM is in ACTIVE state now 2025-06-30 17:31:44,103 - INFO - VM name : ctest-TestBasicVMVNx-60899782-51094007 2025-06-30 17:31:44,300 - DEBUG - VM ctest-TestBasicVMVNx-60899782-51094007 ID is 8dc1241d-7d53-4ea3-9478-0fd2d5d42fb5 2025-06-30 17:31:44,300 - DEBUG - VM ctest-TestBasicVMVNx-60899782-51094007 launched on Node cn-jenkins-deploy-platform-ansible-os-3583-1 2025-06-30 17:31:44,505 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8dc1241d-7d53-4ea3-9478-0fd2d5d42fb5 2025-06-30 17:31:44,531 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c47f6467-2373-4aba-9aa3-76c9c17724f7 2025-06-30 17:31:45,881 - 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=9.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.13 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 = 1.131/5.478/9.826/4.347 ms') 2025-06-30 17:31:45,881 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-60899782-51094007 passed 2025-06-30 17:31:46,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 17:31:46,078 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-60899782-51094007, IP 49.0.148.4, Port 22 2025-06-30 17:31:46,278 - DEBUG - VM ctest-TestBasicVMVNx-60899782-51094007 is ready for SSH connections 2025-06-30 17:31:46,279 - DEBUG - FILE SIZE = 1303B 2025-06-30 17:31:46,279 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-60899782-67193497 to ctest-TestBasicVMVNx-60899782-51094007 using scp 2025-06-30 17:31:46,281 - 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.38, gateway password: c0ntrail123 2025-06-30 17:31:46,281 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-06-30 17:31:48,728 - DEBUG - 1+0 records in 1+0 records out 2025-06-30 17:31:49,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 17:31:49,933 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-30 17:31:49,934 - DEBUG - ls -l testfile 2025-06-30 17:31:51,690 - DEBUG - -rw------- 1 cirros cirros 1303 Jun 30 11:31 testfile 2025-06-30 17:31:51,691 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-60899782-51094007 2025-06-30 17:31:51,691 - INFO - Deleting VM ctest-TestBasicVMVNx-60899782-51094007 2025-06-30 17:31:51,840 - INFO - Deleting VM ctest-TestBasicVMVNx-60899782-67193497 2025-06-30 17:31:51,956 - INFO - Deleting VN ctest-vn-71544663 2025-06-30 17:31:52,000 - DEBUG - VN 4adc05e1-559f-4c78-9237-3c6265509fd1 still in use: Unable to complete operation on network 4adc05e1-559f-4c78-9237-3c6265509fd1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-af95414d-1df6-434a-85be-e17517b37772'] 2025-06-30 17:31:52,000 - WARNING - Deleting VN ctest-vn-71544663 failed..Will retry 2025-06-30 17:31:54,215 - DEBUG - Response for deleting network () 2025-06-30 17:31:54,523 - DEBUG - No XMPP flaps were noticed during the test 2025-06-30 17:31:54,524 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33] 2025-06-30 17:31:54,524 - INFO - -------------------------------------------------------------------------------- 2025-06-30 17:31:55,461 - INFO - Deleted project: ctest-TestBasicVMVNx-60899782, ID : a21056a8-57a4-4eae-ba08-c0972085c085