2024-10-31 02:38:13,129 - INFO - Domain Default found not creating 2024-10-31 02:38:13,366 - INFO - Project ctest-TestBasicVMVNx-20628312 not found, creating it 2024-10-31 02:38:13,941 - INFO - Created Project:ctest-TestBasicVMVNx-20628312, ID : e8628a72-888d-4e84-b371-5792ae3c3bb6 2024-10-31 02:38:15,756 - INFO - ================================================================================ 2024-10-31 02:38:15,757 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-31 02:38:15,757 - 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-31 02:38:16,036 - DEBUG - Nothing to compare xmpp stats {'10.0.0.34': {'10.20.0.5': '0'}} with 2024-10-31 02:38:16,036 - INFO - Initial checks done. Running the testcase now 2024-10-31 02:38:16,036 - INFO - 2024-10-31 02:38:16,758 - DEBUG - Response for create_network : {'network': {'id': '8299cfef-aeb1-4788-9dda-fd33a39bd055', 'name': 'ctest-vn-63828887', 'tenant_id': 'e8628a72888d4e84b3715792ae3c3bb6', 'project_id': 'e8628a72888d4e84b3715792ae3c3bb6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-20628312', 'ctest-vn-63828887'], 'port_security_enabled': True, 'description': ''}} 2024-10-31 02:38:16,977 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae2d38d7-0f3b-46b5-9472-55b2d011a529', 'name': '', 'tenant_id': 'e8628a72888d4e84b3715792ae3c3bb6', 'network_id': '8299cfef-aeb1-4788-9dda-fd33a39bd055', 'ip_version': 4, 'cidr': '73.236.23.192/26', 'allocation_pools': [{'start': '73.236.23.194', 'end': '73.236.23.254'}], 'gateway_ip': '73.236.23.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.236.23.194', 'tags': [], 'project_id': 'e8628a72888d4e84b3715792ae3c3bb6'}} 2024-10-31 02:38:17,005 - INFO - Created VN ctest-vn-63828887 2024-10-31 02:38:17,069 - DEBUG - VN ctest-vn-63828887 UUID is 8299cfef-aeb1-4788-9dda-fd33a39bd055 2024-10-31 02:38:17,305 - DEBUG - Services list from nova: [, , ] 2024-10-31 02:38:18,661 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2182-1) 2024-10-31 02:38:20,181 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2182-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2182-1) 2024-10-31 02:38:20,181 - INFO - Waiting for VM ctest-TestBasicVMVNx-20628312-07477126 to be up.. 2024-10-31 02:38:20,321 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-31 02:38:25,441 - DEBUG - VM is in ACTIVE state now 2024-10-31 02:38:25,441 - INFO - VM name : ctest-TestBasicVMVNx-20628312-07477126 2024-10-31 02:38:25,633 - DEBUG - VM ctest-TestBasicVMVNx-20628312-07477126 ID is 402dfe6a-2314-4294-bdff-82a810187dcb 2024-10-31 02:38:25,657 - DEBUG - VM ctest-TestBasicVMVNx-20628312-07477126 launched on Node cn-jenkins-deploy-platform-ansible-os-2182-1 2024-10-31 02:38:25,768 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/402dfe6a-2314-4294-bdff-82a810187dcb 2024-10-31 02:38:26,117 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/402dfe6a-2314-4294-bdff-82a810187dcb 2024-10-31 02:38:26,167 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/480c7264-6f15-40f1-b126-9540251ed597 2024-10-31 02:38:29,464 - 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 1010ms') 2024-10-31 02:38:29,464 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-20628312-07477126 failed! 2024-10-31 02:38:29,532 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-20628312:ctest-vn-63828887 is 73.236.23.193 and allocation pool is NOT set 2024-10-31 02:38:31,601 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.897 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.897/2.272/3.648/1.375 ms') 2024-10-31 02:38:31,601 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-20628312-07477126 passed 2024-10-31 02:38:31,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 02:38:31,771 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-20628312-07477126, IP 73.236.23.195, Port 22 2024-10-31 02:38:31,842 - 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-31 02:38:31,963 - DEBUG - VM ctest-TestBasicVMVNx-20628312-07477126 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-31 02:38:36,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 02:38:36,964 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-20628312-07477126, IP 73.236.23.195, Port 22 2024-10-31 02:38:37,139 - DEBUG - VM ctest-TestBasicVMVNx-20628312-07477126 is ready for SSH connections 2024-10-31 02:38:37,139 - INFO - Waiting for VM ctest-TestBasicVMVNx-20628312-99997093 to be up.. 2024-10-31 02:38:37,254 - DEBUG - VM is in ACTIVE state now 2024-10-31 02:38:37,254 - INFO - VM name : ctest-TestBasicVMVNx-20628312-99997093 2024-10-31 02:38:37,371 - DEBUG - VM ctest-TestBasicVMVNx-20628312-99997093 ID is 8f1dc79e-7053-4e74-9001-ee075ef691e5 2024-10-31 02:38:37,371 - DEBUG - VM ctest-TestBasicVMVNx-20628312-99997093 launched on Node cn-jenkins-deploy-platform-ansible-os-2182-1 2024-10-31 02:38:37,487 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine/8f1dc79e-7053-4e74-9001-ee075ef691e5 2024-10-31 02:38:37,503 - DEBUG - Requesting: http://10.0.0.34:8082/virtual-machine-interface/1615960e-a0cb-4086-bf07-9a508b3e6c28 2024-10-31 02:38:38,783 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.570 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.570/2.115/3.661/1.545 ms') 2024-10-31 02:38:38,783 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-20628312-99997093 passed 2024-10-31 02:38:38,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 02:38:38,948 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-20628312-99997093, IP 73.236.23.196, Port 22 2024-10-31 02:38:39,126 - DEBUG - VM ctest-TestBasicVMVNx-20628312-99997093 is ready for SSH connections 2024-10-31 02:38:39,126 - DEBUG - FILE SIZE = 1303B 2024-10-31 02:38:39,126 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-20628312-07477126 to ctest-TestBasicVMVNx-20628312-99997093 using scp 2024-10-31 02:38:39,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 02:38:39,134 - 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.34, gateway password: c0ntrail123 2024-10-31 02:38:39,134 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-10-31 02:38:41,195 - DEBUG - 1+0 records in 1+0 records out 2024-10-31 02:38:42,165 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-31 02:38:42,528 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.34, gateway password: c0ntrail123 2024-10-31 02:38:42,528 - DEBUG - ls -l testfile 2024-10-31 02:38:44,193 - DEBUG - -rw------- 1 cirros cirros 1303 Oct 30 20:38 testfile 2024-10-31 02:38:44,193 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-20628312-99997093 2024-10-31 02:38:44,193 - INFO - Deleting VM ctest-TestBasicVMVNx-20628312-99997093 2024-10-31 02:38:44,281 - INFO - Deleting VM ctest-TestBasicVMVNx-20628312-07477126 2024-10-31 02:38:44,376 - INFO - Deleting VN ctest-vn-63828887 2024-10-31 02:38:44,440 - DEBUG - VN 8299cfef-aeb1-4788-9dda-fd33a39bd055 still in use: Unable to complete operation on network 8299cfef-aeb1-4788-9dda-fd33a39bd055. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f2672ea8-0316-4959-98be-7437bbc1a943'] 2024-10-31 02:38:44,440 - WARNING - Deleting VN ctest-vn-63828887 failed..Will retry 2024-10-31 02:38:46,597 - DEBUG - Response for deleting network () 2024-10-31 02:38:46,872 - DEBUG - No XMPP flaps were noticed during the test
2024-10-31 02:38:46,872 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:31]
2024-10-31 02:38:46,872 - INFO - -------------------------------------------------------------------------------- 2024-10-31 02:38:47,703 - INFO - Deleted project: ctest-TestBasicVMVNx-20628312, ID : e8628a72-888d-4e84-b371-5792ae3c3bb6