2025-09-03 12:05:43,646 - INFO - Domain Default found not creating 2025-09-03 12:05:43,771 - INFO - Project ctest-TestBasicVMVNx-85562548 not found, creating it 2025-09-03 12:05:44,192 - INFO - Created Project:ctest-TestBasicVMVNx-85562548, ID : b6bc7731-a076-4350-8638-df09baeab687 2025-09-03 12:05:45,570 - INFO - ================================================================================ 2025-09-03 12:05:45,571 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-09-03 12:05:45,571 - 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-09-03 12:05:45,827 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-03 12:05:45,827 - INFO - Initial checks done. Running the testcase now 2025-09-03 12:05:45,827 - INFO - 2025-09-03 12:05:46,342 - DEBUG - Response for create_network : {'network': {'id': '4c370c54-7f7e-4b3d-93f6-0bd7d89f581f', 'name': 'ctest-vn-46802332', 'tenant_id': 'b6bc7731a07643508638df09baeab687', 'project_id': 'b6bc7731a07643508638df09baeab687', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-85562548', 'ctest-vn-46802332'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 12:05:46,554 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a782f63-71fc-418d-b533-ed99720e4317', 'name': '', 'tenant_id': 'b6bc7731a07643508638df09baeab687', 'network_id': '4c370c54-7f7e-4b3d-93f6-0bd7d89f581f', 'ip_version': 4, 'cidr': '212.40.111.128/26', 'allocation_pools': [{'start': '212.40.111.130', 'end': '212.40.111.190'}], 'gateway_ip': '212.40.111.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.40.111.130', 'tags': [], 'project_id': 'b6bc7731a07643508638df09baeab687'}} 2025-09-03 12:05:46,570 - INFO - Created VN ctest-vn-46802332 2025-09-03 12:05:46,622 - DEBUG - VN ctest-vn-46802332 UUID is 4c370c54-7f7e-4b3d-93f6-0bd7d89f581f 2025-09-03 12:05:46,815 - DEBUG - Services list from nova: [, , ] 2025-09-03 12:05:47,776 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4005-1) 2025-09-03 12:05:48,806 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4005-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4005-1) 2025-09-03 12:05:48,806 - INFO - Waiting for VM ctest-TestBasicVMVNx-85562548-13098854 to be up.. 2025-09-03 12:05:48,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-03 12:05:53,956 - DEBUG - VM is in ACTIVE state now 2025-09-03 12:05:53,956 - INFO - VM name : ctest-TestBasicVMVNx-85562548-13098854 2025-09-03 12:05:54,029 - DEBUG - VM ctest-TestBasicVMVNx-85562548-13098854 ID is 2389f3d3-3492-4826-86ff-dd53dc6f79f4 2025-09-03 12:05:54,046 - DEBUG - VM ctest-TestBasicVMVNx-85562548-13098854 launched on Node cn-jenkins-deploy-platform-ansible-os-4005-1 2025-09-03 12:05:54,112 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2389f3d3-3492-4826-86ff-dd53dc6f79f4 2025-09-03 12:05:54,404 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2389f3d3-3492-4826-86ff-dd53dc6f79f4 2025-09-03 12:05:54,431 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2d61a874-407b-4f8d-8c5a-82aa48d96a1a 2025-09-03 12:05:57,671 - 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 1011ms') 2025-09-03 12:05:57,672 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-85562548-13098854 failed! 2025-09-03 12:05:57,730 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-85562548:ctest-vn-46802332 is 212.40.111.129 and allocation pool is NOT set 2025-09-03 12:05:59,789 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.514 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 = 0.514/1.606/2.699/1.092 ms') 2025-09-03 12:05:59,789 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-85562548-13098854 passed 2025-09-03 12:05:59,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:05:59,942 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-85562548-13098854, IP 212.40.111.131, Port 22 2025-09-03 12:06:00,101 - DEBUG - VM ctest-TestBasicVMVNx-85562548-13098854 is ready for SSH connections 2025-09-03 12:06:00,101 - INFO - Waiting for VM ctest-TestBasicVMVNx-85562548-72022109 to be up.. 2025-09-03 12:06:00,166 - DEBUG - VM is in ACTIVE state now 2025-09-03 12:06:00,167 - INFO - VM name : ctest-TestBasicVMVNx-85562548-72022109 2025-09-03 12:06:00,231 - DEBUG - VM ctest-TestBasicVMVNx-85562548-72022109 ID is d1bfcefb-88b0-47ce-8163-48bdc763833a 2025-09-03 12:06:00,231 - DEBUG - VM ctest-TestBasicVMVNx-85562548-72022109 launched on Node cn-jenkins-deploy-platform-ansible-os-4005-1 2025-09-03 12:06:00,296 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d1bfcefb-88b0-47ce-8163-48bdc763833a 2025-09-03 12:06:00,303 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b3116b99-ad44-4e24-a870-2dd89f0d23a5 2025-09-03 12:06:01,532 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.521 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.521/1.603/2.686/1.082 ms') 2025-09-03 12:06:01,532 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-85562548-72022109 passed 2025-09-03 12:06:01,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:06:01,686 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-85562548-72022109, IP 212.40.111.132, Port 22 2025-09-03 12:06:01,845 - DEBUG - VM ctest-TestBasicVMVNx-85562548-72022109 is ready for SSH connections 2025-09-03 12:06:01,846 - DEBUG - FILE SIZE = 1303B 2025-09-03 12:06:01,846 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-85562548-13098854 to ctest-TestBasicVMVNx-85562548-72022109 using scp 2025-09-03 12:06:01,847 - 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.254, gateway password: c0ntrail123 2025-09-03 12:06:01,847 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-09-03 12:06:03,765 - DEBUG - 1+0 records in 1+0 records out 2025-09-03 12:06:04,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 12:06:04,688 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-03 12:06:04,689 - DEBUG - ls -l testfile 2025-09-03 12:06:06,276 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 3 06:06 testfile 2025-09-03 12:06:06,276 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-85562548-72022109 2025-09-03 12:06:06,276 - INFO - Deleting VM ctest-TestBasicVMVNx-85562548-72022109 2025-09-03 12:06:06,336 - INFO - Deleting VM ctest-TestBasicVMVNx-85562548-13098854 2025-09-03 12:06:06,409 - INFO - Deleting VN ctest-vn-46802332 2025-09-03 12:06:06,443 - DEBUG - VN 4c370c54-7f7e-4b3d-93f6-0bd7d89f581f still in use: Unable to complete operation on network 4c370c54-7f7e-4b3d-93f6-0bd7d89f581f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-548b6296-7f82-41a9-938c-4aa9ed590759'] 2025-09-03 12:06:06,443 - WARNING - Deleting VN ctest-vn-46802332 failed..Will retry 2025-09-03 12:06:08,531 - DEBUG - Response for deleting network () 2025-09-03 12:06:08,786 - DEBUG - No XMPP flaps were noticed during the test
2025-09-03 12:06:08,786 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:23]
2025-09-03 12:06:08,786 - INFO - -------------------------------------------------------------------------------- 2025-09-03 12:06:09,442 - INFO - Deleted project: ctest-TestBasicVMVNx-85562548, ID : b6bc7731-a076-4350-8638-df09baeab687