2024-08-27 10:04:49,609 - INFO - Domain Default found not creating 2024-08-27 10:04:49,793 - INFO - Project ctest-TestBasicVMVNx-46613625 not found, creating it 2024-08-27 10:04:50,259 - INFO - Created Project:ctest-TestBasicVMVNx-46613625, ID : 7daa371c-7216-4ffd-971c-48d3a6db65c4 2024-08-27 10:04:51,816 - INFO - ================================================================================ 2024-08-27 10:04:51,816 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-08-27 10:04:51,816 - 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-08-27 10:04:52,071 - DEBUG - Nothing to compare xmpp stats {'10.0.0.47': {'10.20.0.12': '0'}} with 2024-08-27 10:04:52,071 - INFO - Initial checks done. Running the testcase now 2024-08-27 10:04:52,072 - INFO - 2024-08-27 10:04:52,642 - DEBUG - Response for create_network : {'network': {'id': '70c42780-ab81-4b88-a2bb-1a28d4c03e30', 'name': 'ctest-vn-97672944', 'tenant_id': '7daa371c72164ffd971c48d3a6db65c4', 'project_id': '7daa371c72164ffd971c48d3a6db65c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-46613625', 'ctest-vn-97672944'], 'port_security_enabled': True, 'description': ''}} 2024-08-27 10:04:52,823 - DEBUG - Response for create_subnet : {'subnet': {'id': '93cf9732-5c27-4c7d-8363-d5081dbe10e8', 'name': '', 'tenant_id': '7daa371c72164ffd971c48d3a6db65c4', 'network_id': '70c42780-ab81-4b88-a2bb-1a28d4c03e30', 'ip_version': 4, 'cidr': '12.201.36.0/26', 'allocation_pools': [{'start': '12.201.36.2', 'end': '12.201.36.62'}], 'gateway_ip': '12.201.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.201.36.2', 'tags': [], 'project_id': '7daa371c72164ffd971c48d3a6db65c4'}} 2024-08-27 10:04:52,844 - INFO - Created VN ctest-vn-97672944 2024-08-27 10:04:52,897 - DEBUG - VN ctest-vn-97672944 UUID is 70c42780-ab81-4b88-a2bb-1a28d4c03e30 2024-08-27 10:04:53,077 - DEBUG - Services list from nova: [, , ] 2024-08-27 10:04:54,822 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1796-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1796-1) 2024-08-27 10:04:56,018 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1796-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1796-1) 2024-08-27 10:04:56,018 - INFO - Waiting for VM ctest-TestBasicVMVNx-46613625-42652964 to be up.. 2024-08-27 10:04:56,102 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-27 10:05:01,184 - DEBUG - VM is in ACTIVE state now 2024-08-27 10:05:01,184 - INFO - VM name : ctest-TestBasicVMVNx-46613625-42652964 2024-08-27 10:05:01,268 - DEBUG - VM ctest-TestBasicVMVNx-46613625-42652964 ID is b00b61c6-b15e-4130-a16a-77a4995641de 2024-08-27 10:05:01,288 - DEBUG - VM ctest-TestBasicVMVNx-46613625-42652964 launched on Node cn-jenkins-deploy-platform-ansible-os-1796-1 2024-08-27 10:05:01,377 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/b00b61c6-b15e-4130-a16a-77a4995641de 2024-08-27 10:05:01,677 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/b00b61c6-b15e-4130-a16a-77a4995641de 2024-08-27 10:05:01,714 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/fe3e8894-94cb-44ed-8b2d-ad031384b856 2024-08-27 10:05:04,968 - 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 1019ms') 2024-08-27 10:05:04,968 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46613625-42652964 failed! 2024-08-27 10:05:05,021 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-46613625:ctest-vn-97672944 is 12.201.36.1 and allocation pool is NOT set 2024-08-27 10:05:07,091 - 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=9.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.57 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 = 1.569/5.517/9.465/3.948 ms') 2024-08-27 10:05:07,091 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-46613625-42652964 passed 2024-08-27 10:05:07,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 10:05:07,246 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46613625-42652964, IP 12.201.36.3, Port 22 2024-08-27 10:05:07,305 - 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-08-27 10:05:07,406 - DEBUG - VM ctest-TestBasicVMVNx-46613625-42652964 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-27 10:05:12,406 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 10:05:12,406 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46613625-42652964, IP 12.201.36.3, Port 22 2024-08-27 10:05:12,565 - DEBUG - VM ctest-TestBasicVMVNx-46613625-42652964 is ready for SSH connections 2024-08-27 10:05:12,565 - INFO - Waiting for VM ctest-TestBasicVMVNx-46613625-36282652 to be up.. 2024-08-27 10:05:12,692 - DEBUG - VM is in ACTIVE state now 2024-08-27 10:05:12,692 - INFO - VM name : ctest-TestBasicVMVNx-46613625-36282652 2024-08-27 10:05:12,781 - DEBUG - VM ctest-TestBasicVMVNx-46613625-36282652 ID is 474bf717-181e-4cd7-86d3-b44e626cc5c3 2024-08-27 10:05:12,781 - DEBUG - VM ctest-TestBasicVMVNx-46613625-36282652 launched on Node cn-jenkins-deploy-platform-ansible-os-1796-1 2024-08-27 10:05:12,866 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine/474bf717-181e-4cd7-86d3-b44e626cc5c3 2024-08-27 10:05:12,875 - DEBUG - Requesting: http://10.0.0.47:8082/virtual-machine-interface/900d81eb-a321-4174-98a7-e722cccf8d2e 2024-08-27 10:05:14,112 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 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.360/1.488/2.617/1.128 ms') 2024-08-27 10:05:14,112 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-46613625-36282652 passed 2024-08-27 10:05:14,265 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 10:05:14,265 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-46613625-36282652, IP 12.201.36.4, Port 22 2024-08-27 10:05:14,425 - DEBUG - VM ctest-TestBasicVMVNx-46613625-36282652 is ready for SSH connections 2024-08-27 10:05:14,425 - DEBUG - FILE SIZE = 1303B 2024-08-27 10:05:14,425 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-46613625-42652964 to ctest-TestBasicVMVNx-46613625-36282652 using scp 2024-08-27 10:05:14,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 10:05:14,432 - 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.47, gateway password: c0ntrail123 2024-08-27 10:05:14,432 - DEBUG - dd bs=1303 count=1 if=/dev/zero of=testfile 2024-08-27 10:05:16,304 - DEBUG - 1+0 records in 1+0 records out 2024-08-27 10:05:17,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-27 10:05:17,403 - DEBUG - Running remote_cmd, Cmd : ls -l testfile, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.47, gateway password: c0ntrail123 2024-08-27 10:05:17,404 - DEBUG - ls -l testfile 2024-08-27 10:05:19,125 - DEBUG - -rw------- 1 cirros cirros 1303 Aug 27 04:05 testfile 2024-08-27 10:05:19,127 - INFO - File of size 1303 is trasferred successfully to ctest-TestBasicVMVNx-46613625-36282652 2024-08-27 10:05:19,127 - INFO - Deleting VM ctest-TestBasicVMVNx-46613625-36282652 2024-08-27 10:05:19,194 - INFO - Deleting VM ctest-TestBasicVMVNx-46613625-42652964 2024-08-27 10:05:19,268 - INFO - Deleting VN ctest-vn-97672944 2024-08-27 10:05:19,312 - DEBUG - VN 70c42780-ab81-4b88-a2bb-1a28d4c03e30 still in use: Unable to complete operation on network 70c42780-ab81-4b88-a2bb-1a28d4c03e30. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b7a213da-d1d9-4937-b70d-5f04ace0a50a'] 2024-08-27 10:05:19,312 - WARNING - Deleting VN ctest-vn-97672944 failed..Will retry 2024-08-27 10:05:21,465 - DEBUG - Response for deleting network () 2024-08-27 10:05:21,733 - DEBUG - No XMPP flaps were noticed during the test 2024-08-27 10:05:21,733 - INFO - END TEST : test_vm_file_trf_scp_tests : PASSED[0:00:30] 2024-08-27 10:05:21,733 - INFO - -------------------------------------------------------------------------------- 2024-08-27 10:05:22,484 - INFO - Deleted project: ctest-TestBasicVMVNx-46613625, ID : 7daa371c-7216-4ffd-971c-48d3a6db65c4