2024-10-23 11:11:31,730 - INFO - Domain Default found not creating 2024-10-23 11:11:31,924 - INFO - Project ctest-TestBasicVMVNx-05522525 not found, creating it 2024-10-23 11:11:32,493 - INFO - Created Project:ctest-TestBasicVMVNx-05522525, ID : b5ec93b8-c792-443f-a441-1763a2dd244b 2024-10-23 11:11:34,253 - INFO - ================================================================================ 2024-10-23 11:11:34,254 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-23 11:11:34,254 - 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-10-23 11:11:34,516 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.11': '0'}} with 2024-10-23 11:11:34,516 - INFO - Initial checks done. Running the testcase now 2024-10-23 11:11:34,516 - INFO - 2024-10-23 11:11:35,174 - DEBUG - Response for create_network : {'network': {'id': 'f0b720c2-1f35-4a7c-a451-24811714b352', 'name': 'ctest-vn-29167699', 'tenant_id': 'b5ec93b8c792443fa4411763a2dd244b', 'project_id': 'b5ec93b8c792443fa4411763a2dd244b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-05522525', 'ctest-vn-29167699'], 'port_security_enabled': True, 'description': ''}} 2024-10-23 11:11:35,392 - DEBUG - Response for create_subnet : {'subnet': {'id': '536dd9c7-b06f-4d18-a4d1-f93758d5f6fb', 'name': '', 'tenant_id': 'b5ec93b8c792443fa4411763a2dd244b', 'network_id': 'f0b720c2-1f35-4a7c-a451-24811714b352', 'ip_version': 4, 'cidr': '179.206.84.128/26', 'allocation_pools': [{'start': '179.206.84.130', 'end': '179.206.84.190'}], 'gateway_ip': '179.206.84.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.206.84.130', 'tags': [], 'project_id': 'b5ec93b8c792443fa4411763a2dd244b'}} 2024-10-23 11:11:35,419 - INFO - Created VN ctest-vn-29167699 2024-10-23 11:11:35,480 - DEBUG - VN ctest-vn-29167699 UUID is f0b720c2-1f35-4a7c-a451-24811714b352 2024-10-23 11:11:35,695 - DEBUG - Services list from nova: [, , ] 2024-10-23 11:11:36,889 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2128-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2128-1) 2024-10-23 11:11:38,227 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2128-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2128-1) 2024-10-23 11:11:38,227 - INFO - Waiting for VM ctest-TestBasicVMVNx-05522525-55356706 to be up.. 2024-10-23 11:11:38,338 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-23 11:11:43,452 - DEBUG - VM is in ACTIVE state now 2024-10-23 11:11:43,453 - INFO - VM name : ctest-TestBasicVMVNx-05522525-55356706 2024-10-23 11:11:43,551 - DEBUG - VM ctest-TestBasicVMVNx-05522525-55356706 ID is c1acebaf-2193-4ac2-904b-d56d26e1105a 2024-10-23 11:11:43,577 - DEBUG - VM ctest-TestBasicVMVNx-05522525-55356706 launched on Node cn-jenkins-deploy-platform-ansible-os-2128-1 2024-10-23 11:11:43,692 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/c1acebaf-2193-4ac2-904b-d56d26e1105a 2024-10-23 11:11:44,038 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/c1acebaf-2193-4ac2-904b-d56d26e1105a 2024-10-23 11:11:44,082 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/2b5f320f-b603-4246-91e8-b001df21b2a3 2024-10-23 11:11:47,369 - 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 1026ms') 2024-10-23 11:11:47,369 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05522525-55356706 failed! 2024-10-23 11:11:47,432 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-05522525:ctest-vn-29167699 is 179.206.84.129 and allocation pool is NOT set 2024-10-23 11:11:49,500 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.49 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 = 3.486/3.841/4.196/0.355 ms') 2024-10-23 11:11:49,501 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05522525-55356706 passed 2024-10-23 11:11:49,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 11:11:49,661 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05522525-55356706, IP 179.206.84.131, Port 22 2024-10-23 11:11:49,727 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-10-23 11:11:49,828 - DEBUG - VM ctest-TestBasicVMVNx-05522525-55356706 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-23 11:11:54,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 11:11:54,829 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05522525-55356706, IP 179.206.84.131, Port 22 2024-10-23 11:11:54,988 - DEBUG - VM ctest-TestBasicVMVNx-05522525-55356706 is ready for SSH connections 2024-10-23 11:11:54,988 - INFO - Waiting for VM ctest-TestBasicVMVNx-05522525-26953705 to be up.. 2024-10-23 11:11:55,129 - DEBUG - VM is in ACTIVE state now 2024-10-23 11:11:55,129 - INFO - VM name : ctest-TestBasicVMVNx-05522525-26953705 2024-10-23 11:11:55,224 - DEBUG - VM ctest-TestBasicVMVNx-05522525-26953705 ID is b64e499e-7839-4eec-89df-9b497c9b60f5 2024-10-23 11:11:55,224 - DEBUG - VM ctest-TestBasicVMVNx-05522525-26953705 launched on Node cn-jenkins-deploy-platform-ansible-os-2128-1 2024-10-23 11:11:55,320 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/b64e499e-7839-4eec-89df-9b497c9b60f5 2024-10-23 11:11:55,333 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/2f4709dd-df52-4dab-8997-f037ad5ee0bb 2024-10-23 11:11:56,595 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 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.494/2.113/3.732/1.619 ms') 2024-10-23 11:11:56,595 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-05522525-26953705 passed 2024-10-23 11:11:56,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 11:11:56,761 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05522525-26953705, IP 179.206.84.132, Port 22 2024-10-23 11:11:56,920 - DEBUG - VM ctest-TestBasicVMVNx-05522525-26953705 is ready for SSH connections 2024-10-23 11:11:56,921 - DEBUG - FILE SIZE = 1303B 2024-10-23 11:11:56,921 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-05522525-55356706 to ctest-TestBasicVMVNx-05522525-26953705 using scp 2024-10-23 11:11:56,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 11:11:56,928 - 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.35, gateway password: c0ntrail123 2024-10-23 11:11:56,928 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-23 11:11:58,973 - DEBUG - 1+0 records in 1+0 records out 2024-10-23 11:11:59,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-23 11:12:00,012 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-10-23 11:12:00,013 - DEBUG - ls -l testfile 2024-10-23 11:12:01,703 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 23 05:11 testfile 2024-10-23 11:12:01,703 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-05522525-26953705 2024-10-23 11:12:01,703 - INFO - Deleting VM ctest-TestBasicVMVNx-05522525-26953705 2024-10-23 11:12:01,791 - INFO - Deleting VM ctest-TestBasicVMVNx-05522525-55356706 2024-10-23 11:12:01,874 - INFO - Deleting VN ctest-vn-29167699 2024-10-23 11:12:01,932 - DEBUG - VN f0b720c2-1f35-4a7c-a451-24811714b352 still in use: Unable to complete operation on network f0b720c2-1f35-4a7c-a451-24811714b352. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ec25e472-c42d-4344-be36-dddad5e21166'] 2024-10-23 11:12:01,932 - WARNING - Deleting VN ctest-vn-29167699 failed..Will retry 2024-10-23 11:12:04,108 - DEBUG - Response for deleting network () 2024-10-23 11:12:04,363 - DEBUG - No XMPP flaps were noticed during the test 2024-10-23 11:12:04,364 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-10-23 11:12:04,364 - INFO - -------------------------------------------------------------------------------- 2024-10-23 11:12:05,156 - INFO - Deleted project: ctest-TestBasicVMVNx-05522525, ID : b5ec93b8-c792-443f-a441-1763a2dd244b