2026-02-10 18:16:28,276 - INFO - Domain Default found not creating 2026-02-10 18:16:28,439 - INFO - Project ctest-TestBasicVMVNx-07475705 not found, creating it 2026-02-10 18:16:28,890 - INFO - Created Project:ctest-TestBasicVMVNx-07475705, ID : 9ba11690-d5f4-46c6-9d98-58742760e26e 2026-02-10 18:16:30,336 - INFO - ================================================================================ 2026-02-10 18:16:30,336 - INFO - STARTING TEST : test_vm_file_trf_scp_tests 2026-02-10 18:16:30,336 - 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 2026-02-10 18:16:30,590 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2026-02-10 18:16:30,590 - INFO - Initial checks done. Running the testcase now 2026-02-10 18:16:30,590 - INFO - 2026-02-10 18:16:31,134 - DEBUG - Response for create_network : {'network': {'id': 'e9f233b5-b93b-4863-b486-f0cdcd516ccb', 'name': 'ctest-vn-30896115', 'tenant_id': '9ba11690d5f446c69d9858742760e26e', 'project_id': '9ba11690d5f446c69d9858742760e26e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-07475705', 'ctest-vn-30896115'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 18:16:31,317 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee321491-e7da-45d5-a38e-03f1feb36dd8', 'name': '', 'tenant_id': '9ba11690d5f446c69d9858742760e26e', 'network_id': 'e9f233b5-b93b-4863-b486-f0cdcd516ccb', 'ip_version': 4, 'cidr': '130.59.41.64/26', 'allocation_pools': [{'start': '130.59.41.66', 'end': '130.59.41.126'}], 'gateway_ip': '130.59.41.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.59.41.66', 'tags': [], 'project_id': '9ba11690d5f446c69d9858742760e26e'}} 2026-02-10 18:16:31,333 - INFO - Created VN ctest-vn-30896115 2026-02-10 18:16:31,388 - DEBUG - VN ctest-vn-30896115 UUID is e9f233b5-b93b-4863-b486-f0cdcd516ccb 2026-02-10 18:16:31,585 - DEBUG - Services list from nova: [, , ] 2026-02-10 18:16:32,570 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5282-1) 2026-02-10 18:16:33,706 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5282-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5282-1) 2026-02-10 18:16:33,707 - INFO - Waiting for VM ctest-TestBasicVMVNx-07475705-88393617 to be up.. 2026-02-10 18:16:33,782 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 18:16:38,860 - DEBUG - VM is in ACTIVE state now 2026-02-10 18:16:38,860 - INFO - VM name : ctest-TestBasicVMVNx-07475705-88393617 2026-02-10 18:16:38,948 - DEBUG - VM ctest-TestBasicVMVNx-07475705-88393617 ID is 20675619-914d-437e-861c-73360dbd0804 2026-02-10 18:16:38,966 - DEBUG - VM ctest-TestBasicVMVNx-07475705-88393617 launched on Node cn-jenkins-deploy-platform-ansible-os-5282-1 2026-02-10 18:16:39,048 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/20675619-914d-437e-861c-73360dbd0804 2026-02-10 18:16:39,339 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/20675619-914d-437e-861c-73360dbd0804 2026-02-10 18:16:39,371 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/60d997dd-7fe1-4137-a0bd-566576f13ec6 2026-02-10 18:16:42,651 - 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 1031ms') 2026-02-10 18:16:42,651 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07475705-88393617 failed! 2026-02-10 18:16:42,704 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-07475705:ctest-vn-30896115 is 130.59.41.65 and allocation pool is NOT set 2026-02-10 18:16:44,771 - 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.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.421 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 = 0.421/1.611/2.802/1.190 ms') 2026-02-10 18:16:44,772 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-07475705-88393617 passed 2026-02-10 18:16:44,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 18:16:44,920 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07475705-88393617, IP 130.59.41.67, Port 22 2026-02-10 18:16:45,080 - DEBUG - VM ctest-TestBasicVMVNx-07475705-88393617 is ready for SSH connections 2026-02-10 18:16:45,080 - INFO - Waiting for VM ctest-TestBasicVMVNx-07475705-83896210 to be up.. 2026-02-10 18:16:45,151 - DEBUG - VM is in ACTIVE state now 2026-02-10 18:16:45,151 - INFO - VM name : ctest-TestBasicVMVNx-07475705-83896210 2026-02-10 18:16:45,221 - DEBUG - VM ctest-TestBasicVMVNx-07475705-83896210 ID is b7cbb66d-39d1-4261-8946-da5c0e2b9344 2026-02-10 18:16:45,221 - DEBUG - VM ctest-TestBasicVMVNx-07475705-83896210 launched on Node cn-jenkins-deploy-platform-ansible-os-5282-1 2026-02-10 18:16:45,290 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b7cbb66d-39d1-4261-8946-da5c0e2b9344 2026-02-10 18:16:45,298 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/17cb26cc-451e-4559-ba3c-d64574746972 2026-02-10 18:16:46,527 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.619/2.800/1.180 ms') 2026-02-10 18:16:46,527 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-07475705-83896210 passed 2026-02-10 18:16:46,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 18:16:46,676 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-07475705-83896210, IP 130.59.41.68, Port 22 2026-02-10 18:16:46,832 - DEBUG - VM ctest-TestBasicVMVNx-07475705-83896210 is ready for SSH connections 2026-02-10 18:16:46,832 - DEBUG - FILE SIZE = 1303B 2026-02-10 18:16:46,832 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-07475705-88393617 to ctest-TestBasicVMVNx-07475705-83896210 using scp 2026-02-10 18:16:46,838 - INFO - Deleting VM ctest-TestBasicVMVNx-07475705-83896210 2026-02-10 18:16:46,917 - INFO - Deleting VM ctest-TestBasicVMVNx-07475705-88393617 2026-02-10 18:16:46,988 - INFO - Deleting VN ctest-vn-30896115 2026-02-10 18:16:47,025 - DEBUG - VN e9f233b5-b93b-4863-b486-f0cdcd516ccb still in use: Unable to complete operation on network e9f233b5-b93b-4863-b486-f0cdcd516ccb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e8a5a5b-66b3-4a67-b7d8-2ee4a78a678c'] 2026-02-10 18:16:47,025 - WARNING - Deleting VN ctest-vn-30896115 failed..Will retry 2026-02-10 18:16:49,125 - DEBUG - Response for deleting network () 2026-02-10 18:16:49,382 - ERROR - NameError Python 3.9.25: /usr/bin/python3 Tue Feb 10 18:16:46 2026 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={}) 78 log.info('Initial checks done. Running the testcase now') 79 log.info('') 80 result = function(self, *args, **kwargs) 81 if self.inputs.upgrade: 82 pid = os.getpid() result = None function = self = args = () kwargs = {} /contrail-test/scripts/vm_regression/test_vm.py in test_vm_file_trf_scp_tests(self=) 2874 if self.inputs.is_ci_setup() and self.inputs.get_af() == 'v4': 2875 if is_ip_mine(vm1_fixture.vm_node_ip): 2876 assert vm1_fixture.scp_file_transfer_cirros(vm2_fixture, size=size), msg 2877 else: 2878 self.skipTest('scp_file_transfer_cirros not posible here') vm1_fixture = vm1_fixture.scp_file_transfer_cirros = > vm2_fixture = size = '1303' msg = 'File of size 1303B not transferred via scp ' /contrail-test/fixtures/vm_test.py in scp_file_transfer_cirros(self=, dest_vm_fixture=, fip=None, size='1303') 2395 (distname, version, _) = platform.dist() 2396 else: 2397 distname = distro.id() 2398 2399 filename = 'testfile' distname undefined distro undefined NameError: name 'distro' is not defined __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Name not found globally.' __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = args = ("name 'distro' is not defined",) with_traceback = The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/scripts/vm_regression/test_vm.py", line 2876, in test_vm_file_trf_scp_tests assert vm1_fixture.scp_file_transfer_cirros(vm2_fixture, size=size), msg File "/contrail-test/fixtures/vm_test.py", line 2397, in scp_file_transfer_cirros distname = distro.id() NameError: name 'distro' is not defined 2026-02-10 18:16:49,399 - DEBUG - No XMPP flaps were noticed during the test 2026-02-10 18:16:49,400 - INFO - 2026-02-10 18:16:49,404 - INFO - END TEST : test_vm_file_trf_scp_tests : FAILED[0:00:19] 2026-02-10 18:16:49,404 - INFO - -------------------------------------------------------------------------------- 2026-02-10 18:16:50,115 - INFO - Deleted project: ctest-TestBasicVMVNx-07475705, ID : 9ba11690-d5f4-46c6-9d98-58742760e26e