2026-02-10 18:26:12,785 - INFO - Domain Default found not creating
2026-02-10 18:26:13,208 - INFO - Project ctest-TestBasicVMVNx-06970450 not found, creating it
2026-02-10 18:26:13,881 - INFO - Created Project:ctest-TestBasicVMVNx-06970450, ID : 88760cee-68fd-4819-82b0-3b066d925e6d
2026-02-10 18:26:16,545 - INFO - ================================================================================
2026-02-10 18:26:16,545 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-02-10 18:26:16,546 - 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:26:16,875 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2026-02-10 18:26:16,876 - INFO - Initial checks done. Running the testcase now
2026-02-10 18:26:16,876 - INFO -
2026-02-10 18:26:17,693 - DEBUG - Response for create_network : {'network': {'id': '4f6746a2-36e0-4d7e-82c3-6a6e9b7d8a14', 'name': 'ctest-vn-65416844', 'tenant_id': '88760cee68fd481982b03b066d925e6d', 'project_id': '88760cee68fd481982b03b066d925e6d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-06970450', 'ctest-vn-65416844'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:26:17,951 - DEBUG - Response for create_subnet : {'subnet': {'id': '051a7bcd-e3bc-45fe-bdf5-4b02bc31f9d2', 'name': '', 'tenant_id': '88760cee68fd481982b03b066d925e6d', 'network_id': '4f6746a2-36e0-4d7e-82c3-6a6e9b7d8a14', 'ip_version': 4, 'cidr': '81.105.99.0/26', 'allocation_pools': [{'start': '81.105.99.2', 'end': '81.105.99.62'}], 'gateway_ip': '81.105.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.105.99.2', 'tags': [], 'project_id': '88760cee68fd481982b03b066d925e6d'}}
2026-02-10 18:26:17,972 - INFO - Created VN ctest-vn-65416844
2026-02-10 18:26:18,025 - DEBUG - VN ctest-vn-65416844 UUID is 4f6746a2-36e0-4d7e-82c3-6a6e9b7d8a14
2026-02-10 18:26:18,307 - DEBUG - Services list from nova: [, , ]
2026-02-10 18:26:19,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5281-1)
2026-02-10 18:26:21,368 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5281-1)
2026-02-10 18:26:21,368 - INFO - Waiting for VM ctest-TestBasicVMVNx-06970450-76741013 to be up..
2026-02-10 18:26:21,447 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-10 18:26:26,581 - DEBUG - VM is in ACTIVE state now
2026-02-10 18:26:26,581 - INFO - VM name : ctest-TestBasicVMVNx-06970450-76741013
2026-02-10 18:26:26,705 - DEBUG - VM ctest-TestBasicVMVNx-06970450-76741013 ID is 7a308e0c-2cb4-47ac-b0cb-47be386c3071
2026-02-10 18:26:26,732 - DEBUG - VM ctest-TestBasicVMVNx-06970450-76741013 launched on Node cn-jenkins-deploy-platform-ansible-os-5281-1
2026-02-10 18:26:26,818 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/7a308e0c-2cb4-47ac-b0cb-47be386c3071
2026-02-10 18:26:27,138 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/7a308e0c-2cb4-47ac-b0cb-47be386c3071
2026-02-10 18:26:27,209 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c1a29b86-7928-42a6-a549-b11c1bb428e9
2026-02-10 18:26:30,535 - 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 1001ms')
2026-02-10 18:26:30,535 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06970450-76741013 failed!
2026-02-10 18:26:30,601 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-06970450:ctest-vn-65416844 is 81.105.99.1 and allocation pool is NOT set
2026-02-10 18:26:32,674 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.12 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 = 3.121/3.228/3.336/0.107 ms')
2026-02-10 18:26:32,674 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-06970450-76741013 passed
2026-02-10 18:26:32,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-10 18:26:32,845 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06970450-76741013, IP 81.105.99.3, Port 22
2026-02-10 18:26:32,927 - 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': ''}
2026-02-10 18:26:33,084 - DEBUG - VM ctest-TestBasicVMVNx-06970450-76741013 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-10 18:26:38,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-10 18:26:38,086 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06970450-76741013, IP 81.105.99.3, Port 22
2026-02-10 18:26:38,293 - DEBUG - VM ctest-TestBasicVMVNx-06970450-76741013 is ready for SSH connections
2026-02-10 18:26:38,293 - INFO - Waiting for VM ctest-TestBasicVMVNx-06970450-21826610 to be up..
2026-02-10 18:26:38,472 - DEBUG - VM is in ACTIVE state now
2026-02-10 18:26:38,473 - INFO - VM name : ctest-TestBasicVMVNx-06970450-21826610
2026-02-10 18:26:38,627 - DEBUG - VM ctest-TestBasicVMVNx-06970450-21826610 ID is 0049804a-0b40-46f9-a285-1bf4fe7e1200
2026-02-10 18:26:38,627 - DEBUG - VM ctest-TestBasicVMVNx-06970450-21826610 launched on Node cn-jenkins-deploy-platform-ansible-os-5281-1
2026-02-10 18:26:38,756 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/0049804a-0b40-46f9-a285-1bf4fe7e1200
2026-02-10 18:26:38,769 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/5fc43f87-e353-4d9c-b348-6bcc35b195a5
2026-02-10 18:26:40,054 - 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=10.0 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.664 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.664/5.345/10.027/4.681 ms')
2026-02-10 18:26:40,054 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-06970450-21826610 passed
2026-02-10 18:26:40,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-10 18:26:40,238 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-06970450-21826610, IP 81.105.99.4, Port 22
2026-02-10 18:26:40,443 - DEBUG - VM ctest-TestBasicVMVNx-06970450-21826610 is ready for SSH connections
2026-02-10 18:26:40,443 - DEBUG - FILE SIZE = 1303B
2026-02-10 18:26:40,443 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-06970450-76741013 to ctest-TestBasicVMVNx-06970450-21826610 using scp
2026-02-10 18:26:40,465 - INFO - Deleting VM ctest-TestBasicVMVNx-06970450-21826610
2026-02-10 18:26:40,627 - INFO - Deleting VM ctest-TestBasicVMVNx-06970450-76741013
2026-02-10 18:26:40,744 - INFO - Deleting VN ctest-vn-65416844
2026-02-10 18:26:40,806 - DEBUG - VN 4f6746a2-36e0-4d7e-82c3-6a6e9b7d8a14 still in use: Unable to complete operation on network 4f6746a2-36e0-4d7e-82c3-6a6e9b7d8a14. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-45da5c1b-8621-4a7b-b2be-8ac6ff351546']
2026-02-10 18:26:40,806 - WARNING - Deleting VN ctest-vn-65416844 failed..Will retry
2026-02-10 18:26:43,039 - DEBUG - Response for deleting network ()
2026-02-10 18:26:43,343 - ERROR - NameError
Python 3.9.25: /usr/bin/python3
Tue Feb 10 18:26:40 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:26:43,357 - DEBUG - No XMPP flaps were noticed during the test
2026-02-10 18:26:43,358 - INFO -
2026-02-10 18:26:43,358 - INFO - END TEST : test_vm_file_trf_scp_tests : FAILED[0:00:27]
2026-02-10 18:26:43,358 - INFO - --------------------------------------------------------------------------------
2026-02-10 18:26:44,237 - INFO - Deleted project: ctest-TestBasicVMVNx-06970450, ID : 88760cee-68fd-4819-82b0-3b066d925e6d