2025-11-12 03:17:50,292 - INFO - Domain Default found not creating 2025-11-12 03:17:50,462 - INFO - Project ctest-TestBasicVMVNx-42552463 not found, creating it 2025-11-12 03:17:50,920 - INFO - Created Project:ctest-TestBasicVMVNx-42552463, ID : 833fa94e-7a04-45ce-bdf5-66a3f8fe7b3b 2025-11-12 03:17:52,600 - INFO - ================================================================================ 2025-11-12 03:17:52,600 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-11-12 03:17:52,600 - 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-11-12 03:17:52,856 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-11-12 03:17:52,856 - INFO - Initial checks done. Running the testcase now 2025-11-12 03:17:52,856 - INFO - 2025-11-12 03:17:53,438 - DEBUG - Response for create_network : {'network': {'id': '93d7ca6c-960d-4ce5-935c-da07ef9f2a8b', 'name': 'ctest-vn-82941447', 'tenant_id': '833fa94e7a0445cebdf566a3f8fe7b3b', 'project_id': '833fa94e7a0445cebdf566a3f8fe7b3b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-42552463', 'ctest-vn-82941447'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 03:17:53,622 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9ef551a-6688-44ce-9c04-3703e3066914', 'name': '', 'tenant_id': '833fa94e7a0445cebdf566a3f8fe7b3b', 'network_id': '93d7ca6c-960d-4ce5-935c-da07ef9f2a8b', 'ip_version': 4, 'cidr': '89.255.185.128/26', 'allocation_pools': [{'start': '89.255.185.130', 'end': '89.255.185.190'}], 'gateway_ip': '89.255.185.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.255.185.130', 'tags': [], 'project_id': '833fa94e7a0445cebdf566a3f8fe7b3b'}} 2025-11-12 03:17:53,644 - INFO - Created VN ctest-vn-82941447 2025-11-12 03:17:53,698 - DEBUG - VN ctest-vn-82941447 UUID is 93d7ca6c-960d-4ce5-935c-da07ef9f2a8b 2025-11-12 03:17:53,870 - DEBUG - Services list from nova: [, , ] 2025-11-12 03:17:54,977 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4697-1) 2025-11-12 03:17:56,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4697-1) 2025-11-12 03:17:56,238 - INFO - Waiting for VM ctest-TestBasicVMVNx-42552463-67306293 to be up.. 2025-11-12 03:17:56,317 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 03:18:01,401 - DEBUG - VM is in ACTIVE state now 2025-11-12 03:18:01,401 - INFO - VM name : ctest-TestBasicVMVNx-42552463-67306293 2025-11-12 03:18:01,483 - DEBUG - VM ctest-TestBasicVMVNx-42552463-67306293 ID is 46fcda10-266d-45ce-8a56-7731c23c6547 2025-11-12 03:18:01,508 - DEBUG - VM ctest-TestBasicVMVNx-42552463-67306293 launched on Node cn-jenkins-deploy-platform-ansible-os-4697-1 2025-11-12 03:18:01,599 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/46fcda10-266d-45ce-8a56-7731c23c6547 2025-11-12 03:18:01,970 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/46fcda10-266d-45ce-8a56-7731c23c6547 2025-11-12 03:18:02,014 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/977027f7-6588-4f56-85f4-08751f6581d4 2025-11-12 03:18:05,299 - 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 1020ms') 2025-11-12 03:18:05,299 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42552463-67306293 failed! 2025-11-12 03:18:05,354 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-42552463:ctest-vn-82941447 is 89.255.185.129 and allocation pool is NOT set 2025-11-12 03:18:07,421 - 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=4.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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 = 1.065/2.844/4.624/1.779 ms') 2025-11-12 03:18:07,421 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-42552463-67306293 passed 2025-11-12 03:18:07,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:18:07,574 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42552463-67306293, IP 89.255.185.131, Port 22 2025-11-12 03:18:07,729 - DEBUG - VM ctest-TestBasicVMVNx-42552463-67306293 is ready for SSH connections 2025-11-12 03:18:07,730 - INFO - Waiting for VM ctest-TestBasicVMVNx-42552463-51077423 to be up.. 2025-11-12 03:18:07,808 - DEBUG - VM is in ACTIVE state now 2025-11-12 03:18:07,809 - INFO - VM name : ctest-TestBasicVMVNx-42552463-51077423 2025-11-12 03:18:07,888 - DEBUG - VM ctest-TestBasicVMVNx-42552463-51077423 ID is bf89c5b4-cc4b-4668-ae44-197340c4de8f 2025-11-12 03:18:07,888 - DEBUG - VM ctest-TestBasicVMVNx-42552463-51077423 launched on Node cn-jenkins-deploy-platform-ansible-os-4697-1 2025-11-12 03:18:07,966 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/bf89c5b4-cc4b-4668-ae44-197340c4de8f 2025-11-12 03:18:07,975 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ca35c2f0-c6fc-4127-8b12-98e0c14cb31a 2025-11-12 03:18:09,215 - 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=5.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.45 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 = 2.450/4.104/5.758/1.654 ms') 2025-11-12 03:18:09,216 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-42552463-51077423 passed 2025-11-12 03:18:09,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:18:09,366 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42552463-51077423, IP 89.255.185.132, Port 22 2025-11-12 03:18:09,422 - 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-11-12 03:18:09,499 - DEBUG - VM ctest-TestBasicVMVNx-42552463-51077423 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-12 03:18:14,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:18:14,500 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-42552463-51077423, IP 89.255.185.132, Port 22 2025-11-12 03:18:14,672 - DEBUG - VM ctest-TestBasicVMVNx-42552463-51077423 is ready for SSH connections 2025-11-12 03:18:14,672 - DEBUG - FILE SIZE = 1303B 2025-11-12 03:18:14,672 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-42552463-67306293 to ctest-TestBasicVMVNx-42552463-51077423 using scp 2025-11-12 03:18:14,674 - 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.249, gateway password: c0ntrail123 2025-11-12 03:18:14,674 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-11-12 03:18:16,688 - DEBUG - 1+0 records in 1+0 records out 2025-11-12 03:18:16,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 03:18:17,354 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-12 03:18:17,354 - DEBUG - ls -l testfile 2025-11-12 03:18:19,162 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 11 20:18 testfile 2025-11-12 03:18:19,162 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-42552463-51077423 2025-11-12 03:18:19,163 - INFO - Deleting VM ctest-TestBasicVMVNx-42552463-51077423 2025-11-12 03:18:19,237 - INFO - Deleting VM ctest-TestBasicVMVNx-42552463-67306293 2025-11-12 03:18:19,317 - INFO - Deleting VN ctest-vn-82941447 2025-11-12 03:18:19,363 - DEBUG - VN 93d7ca6c-960d-4ce5-935c-da07ef9f2a8b still in use: Unable to complete operation on network 93d7ca6c-960d-4ce5-935c-da07ef9f2a8b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fec59b57-3799-4ca9-b3d0-385c3e57946b'] 2025-11-12 03:18:19,363 - WARNING - Deleting VN ctest-vn-82941447 failed..Will retry 2025-11-12 03:18:21,462 - DEBUG - Response for deleting network () 2025-11-12 03:18:21,720 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 03:18:21,720 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:29]
2025-11-12 03:18:21,720 - INFO - -------------------------------------------------------------------------------- 2025-11-12 03:18:22,449 - INFO - Deleted project: ctest-TestBasicVMVNx-42552463, ID : 833fa94e-7a04-45ce-bdf5-66a3f8fe7b3b