2024-11-04 06:54:10,670 - INFO - Domain Default found not creating 2024-11-04 06:54:10,870 - INFO - Project ctest-TestBasicVMVNx-06992312 not found, creating it 2024-11-04 06:54:11,419 - INFO - Created Project:ctest-TestBasicVMVNx-06992312, ID : b038cf6f-c411-467b-92bb-28831f89127f 2024-11-04 06:54:13,080 - INFO - ================================================================================ 2024-11-04 06:54:13,081 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-11-04 06:54:13,081 - 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-04 06:54:13,344 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.5': '0'}} with 2024-11-04 06:54:13,344 - INFO - Initial checks done. Running the testcase now 2024-11-04 06:54:13,344 - INFO - 2024-11-04 06:54:13,984 - DEBUG - Response for create_network : {'network': {'id': '02f6192b-8a08-46f8-bb61-3ce8ebe3742e', 'name': 'ctest-vn-26773600', 'tenant_id': 'b038cf6fc411467b92bb28831f89127f', 'project_id': 'b038cf6fc411467b92bb28831f89127f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-06992312', 'ctest-vn-26773600'], 'port_security_enabled': True, 'description': ''}} 2024-11-04 06:54:14,240 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3e047f9-9d6c-4430-a6a2-f84af1542360', 'name': '', 'tenant_id': 'b038cf6fc411467b92bb28831f89127f', 'network_id': '02f6192b-8a08-46f8-bb61-3ce8ebe3742e', 'ip_version': 4, 'cidr': '30.222.20.128/26', 'allocation_pools': [{'start': '30.222.20.130', 'end': '30.222.20.190'}], 'gateway_ip': '30.222.20.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.222.20.130', 'tags': [], 'project_id': 'b038cf6fc411467b92bb28831f89127f'}} 2024-11-04 06:54:14,266 - INFO - Created VN ctest-vn-26773600 2024-11-04 06:54:14,323 - DEBUG - VN ctest-vn-26773600 UUID is 02f6192b-8a08-46f8-bb61-3ce8ebe3742e 2024-11-04 06:54:14,513 - DEBUG - Services list from nova: [, , ] 2024-11-04 06:54:15,660 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2196-1) 2024-11-04 06:54:16,961 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2196-1) 2024-11-04 06:54:16,961 - INFO - Waiting for VM ctest-TestBasicVMVNx-06992312-56572242 to be up.. 2024-11-04 06:54:17,072 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-04 06:54:22,221 - DEBUG - VM is in ACTIVE state now 2024-11-04 06:54:22,221 - INFO - VM name : ctest-TestBasicVMVNx-06992312-56572242 2024-11-04 06:54:22,423 - DEBUG - VM ctest-TestBasicVMVNx-06992312-56572242 ID is 1ad698f1-27d1-415b-8ed8-bf139caa41f0 2024-11-04 06:54:22,444 - DEBUG - VM ctest-TestBasicVMVNx-06992312-56572242 launched on Node cn-jenkins-deploy-platform-ansible-os-2196-1 2024-11-04 06:54:22,538 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/1ad698f1-27d1-415b-8ed8-bf139caa41f0 2024-11-04 06:54:22,843 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/1ad698f1-27d1-415b-8ed8-bf139caa41f0 2024-11-04 06:54:22,890 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/4fba8a5e-51de-418f-b57f-b7f8e4fb35f2 2024-11-04 06:54:26,190 - 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 1017ms') 2024-11-04 06:54:26,190 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06992312-56572242 failed! 2024-11-04 06:54:26,251 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-06992312:ctest-vn-26773600 is 30.222.20.129 and allocation pool is NOT set 2024-11-04 06:54:28,308 - 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=6.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.18 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.184/4.421/6.658/2.237 ms') 2024-11-04 06:54:28,309 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06992312-56572242 passed 2024-11-04 06:54:28,475 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 06:54:28,475 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06992312-56572242, IP 30.222.20.131, Port 22 2024-11-04 06:54:28,541 - 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-11-04 06:54:28,645 - DEBUG - VM ctest-TestBasicVMVNx-06992312-56572242 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-04 06:54:33,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 06:54:33,646 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06992312-56572242, IP 30.222.20.131, Port 22 2024-11-04 06:54:33,803 - DEBUG - VM ctest-TestBasicVMVNx-06992312-56572242 is ready for SSH connections 2024-11-04 06:54:33,803 - INFO - Waiting for VM ctest-TestBasicVMVNx-06992312-21648374 to be up.. 2024-11-04 06:54:33,891 - DEBUG - VM is in ACTIVE state now 2024-11-04 06:54:33,891 - INFO - VM name : ctest-TestBasicVMVNx-06992312-21648374 2024-11-04 06:54:33,988 - DEBUG - VM ctest-TestBasicVMVNx-06992312-21648374 ID is 0dfe96fe-cb20-49de-a39a-c6b9dcf0f686 2024-11-04 06:54:33,989 - DEBUG - VM ctest-TestBasicVMVNx-06992312-21648374 launched on Node cn-jenkins-deploy-platform-ansible-os-2196-1 2024-11-04 06:54:34,077 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/0dfe96fe-cb20-49de-a39a-c6b9dcf0f686 2024-11-04 06:54:34,088 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/635cbcb9-880b-4f19-8304-f4e666bcbda0 2024-11-04 06:54:35,352 - 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=4.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.469 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.469/2.349/4.230/1.880 ms') 2024-11-04 06:54:35,352 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-06992312-21648374 passed 2024-11-04 06:54:35,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 06:54:35,511 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06992312-21648374, IP 30.222.20.132, Port 22 2024-11-04 06:54:35,666 - DEBUG - VM ctest-TestBasicVMVNx-06992312-21648374 is ready for SSH connections 2024-11-04 06:54:35,666 - DEBUG - FILE SIZE = 1303B 2024-11-04 06:54:35,667 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-06992312-56572242 to ctest-TestBasicVMVNx-06992312-21648374 using scp 2024-11-04 06:54:35,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 06:54:35,673 - 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-11-04 06:54:35,673 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-11-04 06:54:37,633 - DEBUG - 1+0 records in 1+0 records out 2024-11-04 06:54:38,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-04 06:54:38,790 - 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-11-04 06:54:38,790 - DEBUG - ls -l testfile 2024-11-04 06:54:40,403 - DEBUG - -rw------- 1 cirros cirros 1303 Nov 3 23:54 testfile 2024-11-04 06:54:40,403 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-06992312-21648374 2024-11-04 06:54:40,403 - INFO - Deleting VM ctest-TestBasicVMVNx-06992312-21648374 2024-11-04 06:54:40,502 - INFO - Deleting VM ctest-TestBasicVMVNx-06992312-56572242 2024-11-04 06:54:40,580 - INFO - Deleting VN ctest-vn-26773600 2024-11-04 06:54:40,632 - DEBUG - VN 02f6192b-8a08-46f8-bb61-3ce8ebe3742e still in use: Unable to complete operation on network 02f6192b-8a08-46f8-bb61-3ce8ebe3742e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-03bf1cc0-5a57-4e49-9c0a-87e01143e297'] 2024-11-04 06:54:40,632 - WARNING - Deleting VN ctest-vn-26773600 failed..Will retry 2024-11-04 06:54:42,756 - DEBUG - Response for deleting network () 2024-11-04 06:54:43,017 - DEBUG - No XMPP flaps were noticed during the test 2024-11-04 06:54:43,018 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-11-04 06:54:43,019 - INFO - -------------------------------------------------------------------------------- 2024-11-04 06:54:43,774 - INFO - Deleted project: ctest-TestBasicVMVNx-06992312, ID : b038cf6f-c411-467b-92bb-28831f89127f