2025-04-08 16:40:17,595 - INFO - Domain Default found not creating 2025-04-08 16:40:17,826 - INFO - Project ctest-TestBasicVMVNx-09822930 not found, creating it 2025-04-08 16:40:18,502 - INFO - Created Project:ctest-TestBasicVMVNx-09822930, ID : d58dd745-7011-4f9f-afdd-a95339cd7b8e 2025-04-08 16:40:20,679 - INFO - ================================================================================ 2025-04-08 16:40:20,679 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-04-08 16:40:20,679 - 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-08 16:40:21,010 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.35': '0'}} with 2025-04-08 16:40:21,011 - INFO - Initial checks done. Running the testcase now 2025-04-08 16:40:21,011 - INFO - 2025-04-08 16:40:21,847 - DEBUG - Response for create_network : {'network': {'id': '0d35b5ea-3e5a-451a-95ac-7be86411f1e7', 'name': 'ctest-vn-66036392', 'tenant_id': 'd58dd74570114f9fafdda95339cd7b8e', 'project_id': 'd58dd74570114f9fafdda95339cd7b8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-09822930', 'ctest-vn-66036392'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 16:40:22,134 - DEBUG - Response for create_subnet : {'subnet': {'id': '39586897-3e58-48a1-a013-bdbc11fd178f', 'name': '', 'tenant_id': 'd58dd74570114f9fafdda95339cd7b8e', 'network_id': '0d35b5ea-3e5a-451a-95ac-7be86411f1e7', 'ip_version': 4, 'cidr': '95.90.157.192/26', 'allocation_pools': [{'start': '95.90.157.194', 'end': '95.90.157.254'}], 'gateway_ip': '95.90.157.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.90.157.194', 'tags': [], 'project_id': 'd58dd74570114f9fafdda95339cd7b8e'}} 2025-04-08 16:40:22,169 - INFO - Created VN ctest-vn-66036392 2025-04-08 16:40:22,231 - DEBUG - VN ctest-vn-66036392 UUID is 0d35b5ea-3e5a-451a-95ac-7be86411f1e7 2025-04-08 16:40:22,507 - DEBUG - Services list from nova: [, , ] 2025-04-08 16:40:24,160 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3056-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3056-1) 2025-04-08 16:40:25,607 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3056-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3056-1) 2025-04-08 16:40:25,608 - INFO - Waiting for VM ctest-TestBasicVMVNx-09822930-99465340 to be up.. 2025-04-08 16:40:25,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-08 16:40:30,875 - DEBUG - VM is in ACTIVE state now 2025-04-08 16:40:30,875 - INFO - VM name : ctest-TestBasicVMVNx-09822930-99465340 2025-04-08 16:40:30,978 - DEBUG - VM ctest-TestBasicVMVNx-09822930-99465340 ID is d448ba81-fff3-4332-9c28-d07d48584cdd 2025-04-08 16:40:31,009 - DEBUG - VM ctest-TestBasicVMVNx-09822930-99465340 launched on Node cn-jenkins-deploy-platform-ansible-os-3056-1 2025-04-08 16:40:31,161 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/d448ba81-fff3-4332-9c28-d07d48584cdd 2025-04-08 16:40:31,506 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/d448ba81-fff3-4332-9c28-d07d48584cdd 2025-04-08 16:40:31,555 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/bc48a02e-60a2-4e7d-a6b6-56b5de5045bf 2025-04-08 16:40:34,885 - 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 1031ms') 2025-04-08 16:40:34,886 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09822930-99465340 failed! 2025-04-08 16:40:34,978 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-09822930:ctest-vn-66036392 is 95.90.157.193 and allocation pool is NOT set 2025-04-08 16:40:37,062 - 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=11.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.60 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.601/7.319/11.037/3.718 ms') 2025-04-08 16:40:37,062 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-09822930-99465340 passed 2025-04-08 16:40:37,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 16:40:37,238 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09822930-99465340, IP 95.90.157.195, Port 22 2025-04-08 16:40:37,314 - 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-08 16:40:37,517 - DEBUG - VM ctest-TestBasicVMVNx-09822930-99465340 is NOT ready for SSH connections, VM status: ACTIVE 2025-04-08 16:40:42,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 16:40:42,519 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09822930-99465340, IP 95.90.157.195, Port 22 2025-04-08 16:40:42,720 - DEBUG - VM ctest-TestBasicVMVNx-09822930-99465340 is ready for SSH connections 2025-04-08 16:40:42,720 - INFO - Waiting for VM ctest-TestBasicVMVNx-09822930-84069209 to be up.. 2025-04-08 16:40:42,895 - DEBUG - VM is in ACTIVE state now 2025-04-08 16:40:42,895 - INFO - VM name : ctest-TestBasicVMVNx-09822930-84069209 2025-04-08 16:40:43,046 - DEBUG - VM ctest-TestBasicVMVNx-09822930-84069209 ID is 71a9094a-710a-47fe-b800-5e1a12ea0c77 2025-04-08 16:40:43,047 - DEBUG - VM ctest-TestBasicVMVNx-09822930-84069209 launched on Node cn-jenkins-deploy-platform-ansible-os-3056-1 2025-04-08 16:40:43,200 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/71a9094a-710a-47fe-b800-5e1a12ea0c77 2025-04-08 16:40:43,216 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/fa495384-0c68-40b3-bb7f-fd9b53b9d172 2025-04-08 16:40:44,517 - 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=6.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.764 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.764/3.473/6.183/2.709 ms') 2025-04-08 16:40:44,517 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-09822930-84069209 passed 2025-04-08 16:40:44,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 16:40:44,711 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-09822930-84069209, IP 95.90.157.196, Port 22 2025-04-08 16:40:44,876 - DEBUG - VM ctest-TestBasicVMVNx-09822930-84069209 is ready for SSH connections 2025-04-08 16:40:44,876 - DEBUG - FILE SIZE = 1303B 2025-04-08 16:40:44,876 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-09822930-99465340 to ctest-TestBasicVMVNx-09822930-84069209 using scp 2025-04-08 16:40:44,877 - 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-04-08 16:40:44,878 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-04-08 16:40:46,996 - DEBUG - 1+0 records in 1+0 records out 2025-04-08 16:40:47,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 16:40:48,295 - 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-04-08 16:40:48,295 - DEBUG - ls -l testfile 2025-04-08 16:40:50,234 - DEBUG - -rw------- 1 cirros cirros 1303 Apr 8 10:40 testfile 2025-04-08 16:40:50,234 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-09822930-84069209 2025-04-08 16:40:50,235 - INFO - Deleting VM ctest-TestBasicVMVNx-09822930-84069209 2025-04-08 16:40:50,425 - INFO - Deleting VM ctest-TestBasicVMVNx-09822930-99465340 2025-04-08 16:40:50,581 - INFO - Deleting VN ctest-vn-66036392 2025-04-08 16:40:50,669 - DEBUG - VN 0d35b5ea-3e5a-451a-95ac-7be86411f1e7 still in use: Unable to complete operation on network 0d35b5ea-3e5a-451a-95ac-7be86411f1e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2f7df877-18d8-41c7-aa29-8b8ae717fa69'] 2025-04-08 16:40:50,669 - WARNING - Deleting VN ctest-vn-66036392 failed..Will retry 2025-04-08 16:40:52,827 - DEBUG - Response for deleting network () 2025-04-08 16:40:53,122 - DEBUG - No XMPP flaps were noticed during the test 2025-04-08 16:40:53,122 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:33] 2025-04-08 16:40:53,122 - INFO - -------------------------------------------------------------------------------- 2025-04-08 16:40:54,070 - INFO - Deleted project: ctest-TestBasicVMVNx-09822930, ID : d58dd745-7011-4f9f-afdd-a95339cd7b8e