2024-09-11 00:07:12,424 - INFO - Domain Default found not creating 2024-09-11 00:07:12,824 - INFO - Project ctest-TestBasicVMVNx-65375580 not found, creating it 2024-09-11 00:07:13,513 - INFO - Created Project:ctest-TestBasicVMVNx-65375580, ID : 1fa056d7-a952-4ae5-918e-730eb3adb0c4 2024-09-11 00:07:15,937 - INFO - ================================================================================ 2024-09-11 00:07:15,938 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-09-11 00:07:15,938 - 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-11 00:07:16,281 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.8': '0'}} with 2024-09-11 00:07:16,281 - INFO - Initial checks done. Running the testcase now 2024-09-11 00:07:16,281 - INFO - 2024-09-11 00:07:17,149 - DEBUG - Response for create_network : {'network': {'id': '8381a395-b156-4bce-8962-00cb7bae426d', 'name': 'ctest-vn-92542076', 'tenant_id': '1fa056d7a9524ae5918e730eb3adb0c4', 'project_id': '1fa056d7a9524ae5918e730eb3adb0c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-65375580', 'ctest-vn-92542076'], 'port_security_enabled': True, 'description': ''}} 2024-09-11 00:07:17,508 - DEBUG - Response for create_subnet : {'subnet': {'id': '4583618d-55cb-4fb6-a2bf-bf7c0734acd0', 'name': '', 'tenant_id': '1fa056d7a9524ae5918e730eb3adb0c4', 'network_id': '8381a395-b156-4bce-8962-00cb7bae426d', 'ip_version': 4, 'cidr': '11.19.135.192/26', 'allocation_pools': [{'start': '11.19.135.194', 'end': '11.19.135.254'}], 'gateway_ip': '11.19.135.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.19.135.194', 'tags': [], 'project_id': '1fa056d7a9524ae5918e730eb3adb0c4'}} 2024-09-11 00:07:17,565 - INFO - Created VN ctest-vn-92542076 2024-09-11 00:07:17,642 - DEBUG - VN ctest-vn-92542076 UUID is 8381a395-b156-4bce-8962-00cb7bae426d 2024-09-11 00:07:17,948 - DEBUG - Services list from nova: [, , ] 2024-09-11 00:07:19,729 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1889-1) 2024-09-11 00:07:21,211 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1889-1) 2024-09-11 00:07:21,212 - INFO - Waiting for VM ctest-TestBasicVMVNx-65375580-74076077 to be up.. 2024-09-11 00:07:21,302 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-11 00:07:26,522 - DEBUG - VM is in ACTIVE state now 2024-09-11 00:07:26,522 - INFO - VM name : ctest-TestBasicVMVNx-65375580-74076077 2024-09-11 00:07:26,712 - DEBUG - VM ctest-TestBasicVMVNx-65375580-74076077 ID is fbb3e599-e5cc-4ccd-81aa-ffa377a47901 2024-09-11 00:07:26,738 - DEBUG - VM ctest-TestBasicVMVNx-65375580-74076077 launched on Node cn-jenkins-deploy-platform-ansible-os-1889-1 2024-09-11 00:07:26,897 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/fbb3e599-e5cc-4ccd-81aa-ffa377a47901 2024-09-11 00:07:27,251 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/fbb3e599-e5cc-4ccd-81aa-ffa377a47901 2024-09-11 00:07:27,309 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/9ac09b1b-3549-4588-b694-d3a4725af9d3 2024-09-11 00:07:30,632 - 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 1009ms') 2024-09-11 00:07:30,632 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65375580-74076077 failed! 2024-09-11 00:07:30,690 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-65375580:ctest-vn-92542076 is 11.19.135.193 and allocation pool is NOT set 2024-09-11 00:07:34,766 - 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=2 ttl=63 time=3.02 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 3.024/3.024/3.024/0.000 ms') 2024-09-11 00:07:34,767 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-65375580-74076077 passed 2024-09-11 00:07:34,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 00:07:34,954 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65375580-74076077, IP 11.19.135.195, Port 22 2024-09-11 00:07:35,036 - 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-09-11 00:07:35,239 - DEBUG - VM ctest-TestBasicVMVNx-65375580-74076077 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-11 00:07:40,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 00:07:40,240 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65375580-74076077, IP 11.19.135.195, Port 22 2024-09-11 00:07:40,428 - DEBUG - VM ctest-TestBasicVMVNx-65375580-74076077 is ready for SSH connections 2024-09-11 00:07:40,428 - INFO - Waiting for VM ctest-TestBasicVMVNx-65375580-98692606 to be up.. 2024-09-11 00:07:40,614 - DEBUG - VM is in ACTIVE state now 2024-09-11 00:07:40,614 - INFO - VM name : ctest-TestBasicVMVNx-65375580-98692606 2024-09-11 00:07:40,792 - DEBUG - VM ctest-TestBasicVMVNx-65375580-98692606 ID is 9020d898-05a8-4934-a39a-037ad386e355 2024-09-11 00:07:40,792 - DEBUG - VM ctest-TestBasicVMVNx-65375580-98692606 launched on Node cn-jenkins-deploy-platform-ansible-os-1889-1 2024-09-11 00:07:41,013 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/9020d898-05a8-4934-a39a-037ad386e355 2024-09-11 00:07:41,039 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/e2a728e5-2923-4447-892d-698c7e1f41f0 2024-09-11 00:07:42,411 - 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=10.8 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.770 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.770/5.791/10.812/5.021 ms') 2024-09-11 00:07:42,411 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-65375580-98692606 passed 2024-09-11 00:07:42,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 00:07:42,606 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-65375580-98692606, IP 11.19.135.196, Port 22 2024-09-11 00:07:42,810 - DEBUG - VM ctest-TestBasicVMVNx-65375580-98692606 is ready for SSH connections 2024-09-11 00:07:42,810 - DEBUG - FILE SIZE = 1303B 2024-09-11 00:07:42,810 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-65375580-74076077 to ctest-TestBasicVMVNx-65375580-98692606 using scp 2024-09-11 00:07:42,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 00:07:42,821 - 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.31, gateway password: c0ntrail123 2024-09-11 00:07:42,821 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-09-11 00:07:45,146 - DEBUG - 1+0 records in 1+0 records out 2024-09-11 00:07:45,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-11 00:07:46,337 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2024-09-11 00:07:46,337 - DEBUG - ls -l testfile 2024-09-11 00:07:48,304 - DEBUG - -rw------- 1 cirros cirros 1303 Sep 10 18:07 testfile 2024-09-11 00:07:48,305 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-65375580-98692606 2024-09-11 00:07:48,306 - INFO - Deleting VM ctest-TestBasicVMVNx-65375580-98692606 2024-09-11 00:07:48,486 - INFO - Deleting VM ctest-TestBasicVMVNx-65375580-74076077 2024-09-11 00:07:48,627 - INFO - Deleting VN ctest-vn-92542076 2024-09-11 00:07:48,719 - DEBUG - VN 8381a395-b156-4bce-8962-00cb7bae426d still in use: Unable to complete operation on network 8381a395-b156-4bce-8962-00cb7bae426d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d69ee8b2-fee1-4940-9408-96e7c49a73a0'] 2024-09-11 00:07:48,719 - WARNING - Deleting VN ctest-vn-92542076 failed..Will retry 2024-09-11 00:07:50,908 - DEBUG - Response for deleting network () 2024-09-11 00:07:51,238 - DEBUG - No XMPP flaps were noticed during the test 2024-09-11 00:07:51,238 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:36] 2024-09-11 00:07:51,238 - INFO - -------------------------------------------------------------------------------- 2024-09-11 00:07:52,195 - INFO - Deleted project: ctest-TestBasicVMVNx-65375580, ID : 1fa056d7-a952-4ae5-918e-730eb3adb0c4