2024-11-14 20:35:10,993 - INFO - Domain Default found not creating 2024-11-14 20:35:11,167 - INFO - Project ctest-TestBasicVMVNx-56352138 not found, creating it 2024-11-14 20:35:11,689 - INFO - Created Project:ctest-TestBasicVMVNx-56352138, ID : e75ebb5c-b735-432a-9c75-48184b882afc 2024-11-14 20:35:13,261 - INFO - ================================================================================ 2024-11-14 20:35:13,261 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-14 20:35:13,262 - 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-11-14 20:35:13,522 - DEBUG - Nothing to compare xmpp stats {'10.0.0.58': {'10.20.0.6': '0'}} with 2024-11-14 20:35:13,522 - INFO - Initial checks done. Running the testcase now 2024-11-14 20:35:13,522 - INFO - 2024-11-14 20:35:14,095 - DEBUG - Response for create_network : {'network': {'id': 'b49d9bbf-516d-4f0d-bb18-eccb1d471a41', 'name': 'ctest-vn-11614458', 'tenant_id': 'e75ebb5cb735432a9c7548184b882afc', 'project_id': 'e75ebb5cb735432a9c7548184b882afc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-56352138', 'ctest-vn-11614458'], 'port_security_enabled': True, 'description': ''}} 2024-11-14 20:35:14,270 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd41c9374-5b2e-4d5a-98a2-f8b64aadcecd', 'name': '', 'tenant_id': 'e75ebb5cb735432a9c7548184b882afc', 'network_id': 'b49d9bbf-516d-4f0d-bb18-eccb1d471a41', 'ip_version': 4, 'cidr': '15.226.7.128/26', 'allocation_pools': [{'start': '15.226.7.130', 'end': '15.226.7.190'}], 'gateway_ip': '15.226.7.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.226.7.130', 'tags': [], 'project_id': 'e75ebb5cb735432a9c7548184b882afc'}} 2024-11-14 20:35:14,287 - INFO - Created VN ctest-vn-11614458 2024-11-14 20:35:14,342 - DEBUG - VN ctest-vn-11614458 UUID is b49d9bbf-516d-4f0d-bb18-eccb1d471a41 2024-11-14 20:35:14,508 - DEBUG - Services list from nova: [, , ] 2024-11-14 20:35:15,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2304-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2304-1) 2024-11-14 20:35:16,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2304-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2304-1) 2024-11-14 20:35:16,757 - INFO - Waiting for VM ctest-TestBasicVMVNx-56352138-17414402 to be up.. 2024-11-14 20:35:16,865 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-14 20:35:21,949 - DEBUG - VM is in ACTIVE state now 2024-11-14 20:35:21,949 - INFO - VM name : ctest-TestBasicVMVNx-56352138-17414402 2024-11-14 20:35:22,031 - DEBUG - VM ctest-TestBasicVMVNx-56352138-17414402 ID is 6c10fa53-ec97-46a5-906f-e6621e996690 2024-11-14 20:35:22,050 - DEBUG - VM ctest-TestBasicVMVNx-56352138-17414402 launched on Node cn-jenkins-deploy-platform-ansible-os-2304-1 2024-11-14 20:35:22,162 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine/6c10fa53-ec97-46a5-906f-e6621e996690 2024-11-14 20:35:22,473 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine/6c10fa53-ec97-46a5-906f-e6621e996690 2024-11-14 20:35:22,509 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine-interface/c0f9bbf7-375c-47c0-9124-068920c632c3 2024-11-14 20:35:25,785 - 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') 2024-11-14 20:35:25,785 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56352138-17414402 failed! 2024-11-14 20:35:25,846 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-56352138:ctest-vn-11614458 is 15.226.7.129 and allocation pool is NOT set 2024-11-14 20:35:27,912 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.522 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.522/1.816/3.111/1.294 ms') 2024-11-14 20:35:27,912 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-56352138-17414402 passed 2024-11-14 20:35:28,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-14 20:35:28,074 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56352138-17414402, IP 15.226.7.131, Port 22 2024-11-14 20:35:28,234 - DEBUG - VM ctest-TestBasicVMVNx-56352138-17414402 is ready for SSH connections 2024-11-14 20:35:28,234 - INFO - Waiting for VM ctest-TestBasicVMVNx-56352138-40551330 to be up.. 2024-11-14 20:35:28,321 - DEBUG - VM is in ACTIVE state now 2024-11-14 20:35:28,321 - INFO - VM name : ctest-TestBasicVMVNx-56352138-40551330 2024-11-14 20:35:28,410 - DEBUG - VM ctest-TestBasicVMVNx-56352138-40551330 ID is 8cef28db-0066-4ddf-9066-54cd7f534251 2024-11-14 20:35:28,410 - DEBUG - VM ctest-TestBasicVMVNx-56352138-40551330 launched on Node cn-jenkins-deploy-platform-ansible-os-2304-1 2024-11-14 20:35:28,496 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine/8cef28db-0066-4ddf-9066-54cd7f534251 2024-11-14 20:35:28,507 - DEBUG - Requesting: http://10.0.0.58:8082/virtual-machine-interface/4d0f2e36-f3b9-446f-b3f8-52ca50488fdc 2024-11-14 20:35:29,798 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 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.495/1.608/2.722/1.113 ms') 2024-11-14 20:35:29,799 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-56352138-40551330 passed 2024-11-14 20:35:29,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-14 20:35:29,998 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-56352138-40551330, IP 15.226.7.132, Port 22 2024-11-14 20:35:30,158 - DEBUG - VM ctest-TestBasicVMVNx-56352138-40551330 is ready for SSH connections 2024-11-14 20:35:30,158 - DEBUG - FILE SIZE = 1303B 2024-11-14 20:35:30,158 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-56352138-17414402 to ctest-TestBasicVMVNx-56352138-40551330 using scp 2024-11-14 20:35:30,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-14 20:35:30,164 - 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.58, gateway password: c0ntrail123 2024-11-14 20:35:30,164 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-14 20:35:32,053 - DEBUG - 1+0 records in 1+0 records out 2024-11-14 20:35:32,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-14 20:35:33,165 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.58, gateway password: c0ntrail123 2024-11-14 20:35:33,166 - DEBUG - ls -l testfile 2024-11-14 20:35:34,738 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 14 13:35 testfile 2024-11-14 20:35:34,738 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-56352138-40551330 2024-11-14 20:35:34,739 - INFO - Deleting VM ctest-TestBasicVMVNx-56352138-40551330 2024-11-14 20:35:34,827 - INFO - Deleting VM ctest-TestBasicVMVNx-56352138-17414402 2024-11-14 20:35:34,898 - INFO - Deleting VN ctest-vn-11614458 2024-11-14 20:35:34,936 - DEBUG - VN b49d9bbf-516d-4f0d-bb18-eccb1d471a41 still in use: Unable to complete operation on network b49d9bbf-516d-4f0d-bb18-eccb1d471a41. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d511e431-6a24-471c-9edb-ef0aec547e7f'] 2024-11-14 20:35:34,936 - WARNING - Deleting VN ctest-vn-11614458 failed..Will retry 2024-11-14 20:35:37,041 - DEBUG - Response for deleting network () 2024-11-14 20:35:37,303 - DEBUG - No XMPP flaps were noticed during the test 2024-11-14 20:35:37,303 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:24] 2024-11-14 20:35:37,303 - INFO - -------------------------------------------------------------------------------- 2024-11-14 20:35:38,046 - INFO - Deleted project: ctest-TestBasicVMVNx-56352138, ID : e75ebb5c-b735-432a-9c75-48184b882afc