2025-01-30 02:32:40,395 - INFO - Domain Default found not creating 2025-01-30 02:32:40,528 - INFO - Project ctest-TestBasicVMVNx-43154097 not found, creating it 2025-01-30 02:32:40,987 - INFO - Created Project:ctest-TestBasicVMVNx-43154097, ID : c90499ae-270e-40bb-b5ef-983f723fd40e 2025-01-30 02:32:42,418 - INFO - ================================================================================ 2025-01-30 02:32:42,419 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2025-01-30 02:32:42,419 - 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-01-30 02:32:42,675 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.0.0.28': '0'}} with 2025-01-30 02:32:42,675 - INFO - Initial checks done. Running the testcase now 2025-01-30 02:32:42,675 - INFO - 2025-01-30 02:32:43,322 - DEBUG - Response for create_network : {'network': {'id': 'e8a6d306-7479-42a1-b45d-c3ed00309cd7', 'name': 'ctest-vn-36950493', 'tenant_id': 'c90499ae270e40bbb5ef983f723fd40e', 'project_id': 'c90499ae270e40bbb5ef983f723fd40e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-43154097', 'ctest-vn-36950493'], 'port_security_enabled': True, 'description': ''}} 2025-01-30 02:32:43,613 - DEBUG - Response for create_subnet : {'subnet': {'id': '345192c8-2ac2-4760-84e7-917070e26fc5', 'name': '', 'tenant_id': 'c90499ae270e40bbb5ef983f723fd40e', 'network_id': 'e8a6d306-7479-42a1-b45d-c3ed00309cd7', 'ip_version': 4, 'cidr': '94.91.235.192/26', 'allocation_pools': [{'start': '94.91.235.194', 'end': '94.91.235.254'}], 'gateway_ip': '94.91.235.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.91.235.194', 'tags': [], 'project_id': 'c90499ae270e40bbb5ef983f723fd40e'}} 2025-01-30 02:32:43,636 - INFO - Created VN ctest-vn-36950493 2025-01-30 02:32:43,693 - DEBUG - VN ctest-vn-36950493 UUID is e8a6d306-7479-42a1-b45d-c3ed00309cd7 2025-01-30 02:32:43,869 - DEBUG - Services list from nova: [, , ] 2025-01-30 02:32:45,003 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2669-1) 2025-01-30 02:32:46,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2669-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2669-1) 2025-01-30 02:32:46,196 - INFO - Waiting for VM ctest-TestBasicVMVNx-43154097-75911507 to be up.. 2025-01-30 02:32:46,292 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-30 02:32:51,374 - DEBUG - VM is in ACTIVE state now 2025-01-30 02:32:51,374 - INFO - VM name : ctest-TestBasicVMVNx-43154097-75911507 2025-01-30 02:32:51,449 - DEBUG - VM ctest-TestBasicVMVNx-43154097-75911507 ID is 8795eafd-2a93-461c-a5dd-3cfb059ae224 2025-01-30 02:32:51,470 - DEBUG - VM ctest-TestBasicVMVNx-43154097-75911507 launched on Node cn-jenkins-deploy-platform-ansible-os-2669-1. 2025-01-30 02:32:51,545 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/8795eafd-2a93-461c-a5dd-3cfb059ae224 2025-01-30 02:32:51,838 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/8795eafd-2a93-461c-a5dd-3cfb059ae224 2025-01-30 02:32:51,868 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/8fadd7b0-ab18-4c30-a8fa-a3e41ab28904 2025-01-30 02:32:55,110 - 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-01-30 02:32:55,110 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43154097-75911507 failed! 2025-01-30 02:32:55,165 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-43154097:ctest-vn-36950493 is 94.91.235.193 and allocation pool is NOT set 2025-01-30 02:32:57,227 - 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=3.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.613 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.613/1.911/3.210/1.298 ms') 2025-01-30 02:32:57,227 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-43154097-75911507 passed 2025-01-30 02:32:57,385 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-30 02:32:57,385 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43154097-75911507, IP 94.91.235.195, Port 22 2025-01-30 02:32:57,541 - DEBUG - VM ctest-TestBasicVMVNx-43154097-75911507 is ready for SSH connections 2025-01-30 02:32:57,541 - INFO - Waiting for VM ctest-TestBasicVMVNx-43154097-47385304 to be up.. 2025-01-30 02:32:57,623 - DEBUG - VM is in ACTIVE state now 2025-01-30 02:32:57,623 - INFO - VM name : ctest-TestBasicVMVNx-43154097-47385304 2025-01-30 02:32:57,711 - DEBUG - VM ctest-TestBasicVMVNx-43154097-47385304 ID is 8c7aadec-7fdf-425a-a05b-4053648850a1 2025-01-30 02:32:57,711 - DEBUG - VM ctest-TestBasicVMVNx-43154097-47385304 launched on Node cn-jenkins-deploy-platform-ansible-os-2669-1. 2025-01-30 02:32:57,884 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/8c7aadec-7fdf-425a-a05b-4053648850a1 2025-01-30 02:32:57,891 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/79ef30f9-0591-427c-9a34-9222ec48cbbf 2025-01-30 02:32:59,136 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.409 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.409/1.660/2.911/1.251 ms') 2025-01-30 02:32:59,136 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-43154097-47385304 passed 2025-01-30 02:32:59,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-30 02:32:59,293 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-43154097-47385304, IP 94.91.235.196, Port 22 2025-01-30 02:32:59,470 - DEBUG - VM ctest-TestBasicVMVNx-43154097-47385304 is ready for SSH connections 2025-01-30 02:32:59,470 - DEBUG - FILE SIZE = 1303B 2025-01-30 02:32:59,470 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-43154097-75911507 to ctest-TestBasicVMVNx-43154097-47385304 using scp 2025-01-30 02:32:59,472 - 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.28, gateway password: c0ntrail123 2025-01-30 02:32:59,472 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2025-01-30 02:33:01,380 - DEBUG - 1+0 records in 1+0 records out 2025-01-30 02:33:02,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-30 02:33:02,470 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-01-30 02:33:02,470 - DEBUG - ls -l testfile 2025-01-30 02:33:04,031 - DEBUG - -rw------- 1 cirros cirros 1303 Jan 29 19:33 testfile 2025-01-30 02:33:04,031 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-43154097-47385304 2025-01-30 02:33:04,032 - INFO - Deleting VM ctest-TestBasicVMVNx-43154097-47385304 2025-01-30 02:33:04,099 - INFO - Deleting VM ctest-TestBasicVMVNx-43154097-75911507 2025-01-30 02:33:04,164 - INFO - Deleting VN ctest-vn-36950493 2025-01-30 02:33:04,203 - DEBUG - VN e8a6d306-7479-42a1-b45d-c3ed00309cd7 still in use: Unable to complete operation on network e8a6d306-7479-42a1-b45d-c3ed00309cd7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b09f1a09-906e-431a-a9cb-91edc451308e'] 2025-01-30 02:33:04,203 - WARNING - Deleting VN ctest-vn-36950493 failed..Will retry 2025-01-30 02:33:06,303 - DEBUG - Response for deleting network () 2025-01-30 02:33:06,563 - DEBUG - No XMPP flaps were noticed during the test 2025-01-30 02:33:06,563 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2025-01-30 02:33:06,564 - INFO - -------------------------------------------------------------------------------- 2025-01-30 02:33:07,247 - INFO - Deleted project: ctest-TestBasicVMVNx-43154097, ID : c90499ae-270e-40bb-b5ef-983f723fd40e