2024-10-19 13:29:12,893 - INFO - Domain Default found not creating 2024-10-19 13:29:13,070 - INFO - Project ctest-TestBasicVMVNx-75522776 not found, creating it 2024-10-19 13:29:13,798 - INFO - Created Project:ctest-TestBasicVMVNx-75522776, ID : 4f23d30d-d913-48c9-9aaa-bf089f9cf728 2024-10-19 13:29:15,534 - INFO - ================================================================================ 2024-10-19 13:29:15,534 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2024-10-19 13:29:15,534 - 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-19 13:29:16,829 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.17': '0', '10.20.0.7': '0'}, '10.0.0.37': {'10.20.0.17': '0', '10.20.0.7': '0'}} with 2024-10-19 13:29:16,829 - INFO - Initial checks done. Running the testcase now 2024-10-19 13:29:16,829 - INFO - 2024-10-19 13:29:17,644 - DEBUG - Response for create_network : {'network': {'id': 'cf383769-a87a-4851-9c4f-a1b6be8418c4', 'name': 'ctest-vn-54056915', 'tenant_id': '4f23d30dd91348c99aaabf089f9cf728', 'project_id': '4f23d30dd91348c99aaabf089f9cf728', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-75522776', 'ctest-vn-54056915'], 'port_security_enabled': True, 'description': ''}} 2024-10-19 13:29:18,015 - DEBUG - Response for create_subnet : {'subnet': {'id': '57562497-6602-4617-b1ac-bcc695d2cfd1', 'name': '', 'tenant_id': '4f23d30dd91348c99aaabf089f9cf728', 'network_id': 'cf383769-a87a-4851-9c4f-a1b6be8418c4', 'ip_version': 4, 'cidr': '20.23.234.192/26', 'allocation_pools': [{'start': '20.23.234.194', 'end': '20.23.234.254'}], 'gateway_ip': '20.23.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.23.234.194', 'tags': [], 'project_id': '4f23d30dd91348c99aaabf089f9cf728'}} 2024-10-19 13:29:18,047 - INFO - Created VN ctest-vn-54056915 2024-10-19 13:29:18,074 - DEBUG - VN ctest-vn-54056915 UUID is cf383769-a87a-4851-9c4f-a1b6be8418c4 2024-10-19 13:29:18,242 - DEBUG - Services list from nova: [, , , ] 2024-10-19 13:29:19,450 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2117-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2117-2) 2024-10-19 13:29:21,075 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-2117-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-2117-1) 2024-10-19 13:29:21,075 - INFO - Waiting for VM ctest-TestBasicVMVNx-75522776-45125299 to be up.. 2024-10-19 13:29:21,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-19 13:29:26,301 - DEBUG - VM is in ACTIVE state now 2024-10-19 13:29:26,301 - INFO - VM name : ctest-TestBasicVMVNx-75522776-45125299 2024-10-19 13:29:26,396 - DEBUG - VM ctest-TestBasicVMVNx-75522776-45125299 ID is fbdbc5c4-e605-476e-bd87-461254b635ce 2024-10-19 13:29:26,421 - DEBUG - VM ctest-TestBasicVMVNx-75522776-45125299 launched on Node an-jenkins-deploy-platform-ansible-os-2117-2 2024-10-19 13:29:26,517 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/fbdbc5c4-e605-476e-bd87-461254b635ce 2024-10-19 13:29:26,830 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/fbdbc5c4-e605-476e-bd87-461254b635ce 2024-10-19 13:29:26,873 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/abbed5eb-ca4d-4964-a2a3-e70f05cba29d 2024-10-19 13:29:30,139 - 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 1023ms') 2024-10-19 13:29:30,139 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-75522776-45125299 failed! 2024-10-19 13:29:30,212 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-75522776:ctest-vn-54056915 is 20.23.234.193 and allocation pool is NOT set 2024-10-19 13:29:32,272 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.33 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.333/6.061/9.790/3.728 ms') 2024-10-19 13:29:32,272 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-75522776-45125299 passed 2024-10-19 13:29:32,441 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 13:29:32,441 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-75522776-45125299, IP 20.23.234.195, Port 22 2024-10-19 13:29:32,507 - 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-19 13:29:32,604 - DEBUG - VM ctest-TestBasicVMVNx-75522776-45125299 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-19 13:29:37,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 13:29:37,606 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-75522776-45125299, IP 20.23.234.195, Port 22 2024-10-19 13:29:37,772 - DEBUG - VM ctest-TestBasicVMVNx-75522776-45125299 is ready for SSH connections 2024-10-19 13:29:37,772 - INFO - Waiting for VM ctest-TestBasicVMVNx-75522776-68780666 to be up.. 2024-10-19 13:29:37,877 - DEBUG - VM is in ACTIVE state now 2024-10-19 13:29:37,877 - INFO - VM name : ctest-TestBasicVMVNx-75522776-68780666 2024-10-19 13:29:37,985 - DEBUG - VM ctest-TestBasicVMVNx-75522776-68780666 ID is f6326022-a178-4ff3-8d6a-80f4ae159f21 2024-10-19 13:29:37,985 - DEBUG - VM ctest-TestBasicVMVNx-75522776-68780666 launched on Node an-jenkins-deploy-platform-ansible-os-2117-1 2024-10-19 13:29:38,090 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/f6326022-a178-4ff3-8d6a-80f4ae159f21 2024-10-19 13:29:38,105 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/25eda0a0-fbcb-4666-83eb-4dc74892463c 2024-10-19 13:29:39,339 - 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=2.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.379 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.379/1.213/2.047/0.834 ms') 2024-10-19 13:29:39,340 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-75522776-68780666 passed 2024-10-19 13:29:39,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-19 13:29:39,474 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-75522776-68780666, IP 20.23.234.196, Port 22 2024-10-19 13:29:39,635 - DEBUG - VM ctest-TestBasicVMVNx-75522776-68780666 is ready for SSH connections 2024-10-19 13:29:39,635 - DEBUG - FILE SIZE = 1303B 2024-10-19 13:29:39,635 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-75522776-45125299 to ctest-TestBasicVMVNx-75522776-68780666 using scp 2024-10-19 13:29:39,636 - INFO - scp_file_transfer_cirros not posible here 2024-10-19 13:29:39,636 - INFO - Deleting VM ctest-TestBasicVMVNx-75522776-68780666 2024-10-19 13:29:39,705 - INFO - Deleting VM ctest-TestBasicVMVNx-75522776-45125299 2024-10-19 13:29:39,783 - INFO - Deleting VN ctest-vn-54056915 2024-10-19 13:29:39,837 - DEBUG - VN cf383769-a87a-4851-9c4f-a1b6be8418c4 still in use: Unable to complete operation on network cf383769-a87a-4851-9c4f-a1b6be8418c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9cf59caf-e11a-42d2-bfba-da8e634b01d2'] 2024-10-19 13:29:39,837 - WARNING - Deleting VN ctest-vn-54056915 failed..Will retry 2024-10-19 13:29:42,085 - DEBUG - Response for deleting network () 2024-10-19 13:29:43,375 - DEBUG - No XMPP flaps were noticed during the test 2024-10-19 13:29:43,375 - INFO - 2024-10-19 13:29:43,376 - INFO - END TEST : test_vm_file_trf_scp_tests : SKIPPED[0:00:28] 2024-10-19 13:29:43,376 - INFO - -------------------------------------------------------------------------------- 2024-10-19 13:29:44,296 - INFO - Deleted project: ctest-TestBasicVMVNx-75522776, ID : 4f23d30d-d913-48c9-9aaa-bf089f9cf728