2024-09-10 11:30:54,071 - INFO - Domain Default found not creating 2024-09-10 11:30:54,239 - INFO - Project ctest-TestBasicVMVNx-08247865 not found, creating it 2024-09-10 11:30:54,750 - INFO - Created Project:ctest-TestBasicVMVNx-08247865, ID : 4e03e4c7-ac9d-4652-89f4-239501b20f12 2024-09-10 11:30:56,344 - INFO - ================================================================================ 2024-09-10 11:30:56,344 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-10 11:30:56,344 - 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 2024-09-10 11:30:56,603 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.8': '0'}} with 2024-09-10 11:30:56,604 - INFO - Initial checks done. Running the testcase now 2024-09-10 11:30:56,604 - INFO - 2024-09-10 11:30:57,200 - DEBUG - Response for create_network : {'network': {'id': '61e0ab82-7da1-48fd-82e1-97d5429759c5', 'name': 'ctest-vn-73032060', 'tenant_id': '4e03e4c7ac9d465289f4239501b20f12', 'project_id': '4e03e4c7ac9d465289f4239501b20f12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-08247865', 'ctest-vn-73032060'], 'port_security_enabled': True, 'description': ''}} 2024-09-10 11:30:57,427 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3e7aacf-d320-425a-ac01-ff4e4fedbd13', 'name': '', 'tenant_id': '4e03e4c7ac9d465289f4239501b20f12', 'network_id': '61e0ab82-7da1-48fd-82e1-97d5429759c5', 'ip_version': 4, 'cidr': '211.234.83.64/26', 'allocation_pools': [{'start': '211.234.83.66', 'end': '211.234.83.126'}], 'gateway_ip': '211.234.83.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.234.83.66', 'tags': [], 'project_id': '4e03e4c7ac9d465289f4239501b20f12'}} 2024-09-10 11:30:57,450 - INFO - Created VN ctest-vn-73032060 2024-09-10 11:30:57,505 - DEBUG - VN ctest-vn-73032060 UUID is 61e0ab82-7da1-48fd-82e1-97d5429759c5 2024-09-10 11:30:57,686 - DEBUG - Services list from nova: [, , ] 2024-09-10 11:30:58,784 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1882-1) 2024-09-10 11:31:00,011 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1882-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1882-1) 2024-09-10 11:31:00,011 - INFO - Waiting for VM ctest-TestBasicVMVNx-08247865-99782229 to be up.. 2024-09-10 11:31:00,123 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-10 11:31:05,231 - DEBUG - VM is in ACTIVE state now 2024-09-10 11:31:05,231 - INFO - VM name : ctest-TestBasicVMVNx-08247865-99782229 2024-09-10 11:31:05,337 - DEBUG - VM ctest-TestBasicVMVNx-08247865-99782229 ID is 77c78c06-d010-4937-a1cb-39ee00cda7fc 2024-09-10 11:31:05,361 - DEBUG - VM ctest-TestBasicVMVNx-08247865-99782229 launched on Node cn-jenkins-deploy-platform-ansible-os-1882-1 2024-09-10 11:31:05,455 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/77c78c06-d010-4937-a1cb-39ee00cda7fc 2024-09-10 11:31:05,757 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/77c78c06-d010-4937-a1cb-39ee00cda7fc 2024-09-10 11:31:05,802 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/c1769a4b-0713-43a9-8d16-697c7a9399d7 2024-09-10 11:31:09,053 - 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 1006ms') 2024-09-10 11:31:09,054 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08247865-99782229 failed! 2024-09-10 11:31:09,117 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-08247865:ctest-vn-73032060 is 211.234.83.65 and allocation pool is NOT set 2024-09-10 11:31:11,179 - 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=5.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.15 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.150/3.349/5.548/2.199 ms') 2024-09-10 11:31:11,179 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-08247865-99782229 passed 2024-09-10 11:31:11,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 11:31:11,341 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08247865-99782229, IP 211.234.83.67, Port 22 2024-09-10 11:31:11,515 - DEBUG - VM ctest-TestBasicVMVNx-08247865-99782229 is ready for SSH connections 2024-09-10 11:31:11,515 - INFO - Waiting for VM ctest-TestBasicVMVNx-08247865-61196238 to be up.. 2024-09-10 11:31:11,623 - DEBUG - VM is in ACTIVE state now 2024-09-10 11:31:11,623 - INFO - VM name : ctest-TestBasicVMVNx-08247865-61196238 2024-09-10 11:31:11,736 - DEBUG - VM ctest-TestBasicVMVNx-08247865-61196238 ID is 930dbbd3-87d8-43c8-9ad1-e3245088f226 2024-09-10 11:31:11,736 - DEBUG - VM ctest-TestBasicVMVNx-08247865-61196238 launched on Node cn-jenkins-deploy-platform-ansible-os-1882-1 2024-09-10 11:31:11,845 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/930dbbd3-87d8-43c8-9ad1-e3245088f226 2024-09-10 11:31:11,870 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/a74fe163-c649-4266-b587-0784277389d4 2024-09-10 11:31:13,135 - 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=3.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.742 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.742/2.320/3.899/1.578 ms') 2024-09-10 11:31:13,136 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-08247865-61196238 passed 2024-09-10 11:31:13,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 11:31:13,305 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-08247865-61196238, IP 211.234.83.68, Port 22 2024-09-10 11:31:13,472 - DEBUG - VM ctest-TestBasicVMVNx-08247865-61196238 is ready for SSH connections 2024-09-10 11:31:13,472 - DEBUG - FILE SIZE = 1303B 2024-09-10 11:31:13,473 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-08247865-99782229 to ctest-TestBasicVMVNx-08247865-61196238 using scp 2024-09-10 11:31:13,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 11:31:13,482 - 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.30, gateway password: c0ntrail123 2024-09-10 11:31:13,483 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-10 11:31:15,531 - DEBUG - 1+0 records in 1+0 records out 2024-09-10 11:31:16,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-10 11:31:16,678 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2024-09-10 11:31:16,678 - DEBUG - ls -l testfile 2024-09-10 11:31:18,306 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 10 05:31 testfile 2024-09-10 11:31:18,306 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-08247865-61196238 2024-09-10 11:31:18,307 - INFO - Deleting VM ctest-TestBasicVMVNx-08247865-61196238 2024-09-10 11:31:18,395 - INFO - Deleting VM ctest-TestBasicVMVNx-08247865-99782229 2024-09-10 11:31:18,502 - INFO - Deleting VN ctest-vn-73032060 2024-09-10 11:31:18,560 - DEBUG - VN 61e0ab82-7da1-48fd-82e1-97d5429759c5 still in use: Unable to complete operation on network 61e0ab82-7da1-48fd-82e1-97d5429759c5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-25160ecd-a519-4b1e-9e5f-e8c8338909fa'] 2024-09-10 11:31:18,560 - WARNING - Deleting VN ctest-vn-73032060 failed..Will retry 2024-09-10 11:31:20,755 - DEBUG - Response for deleting network () 2024-09-10 11:31:21,017 - DEBUG - No XMPP flaps were noticed during the test 2024-09-10 11:31:21,017 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:25] 2024-09-10 11:31:21,017 - INFO - -------------------------------------------------------------------------------- 2024-09-10 11:31:21,816 - INFO - Deleted project: ctest-TestBasicVMVNx-08247865, ID : 4e03e4c7-ac9d-4652-89f4-239501b20f12