2026-02-15 20:56:32,215 - INFO - Domain Default found not creating
2026-02-15 20:56:32,390 - INFO - Project ctest-TestBasicVMVNx-68790575 not found, creating it
2026-02-15 20:56:32,869 - INFO - Created Project:ctest-TestBasicVMVNx-68790575, ID : 67e2e2b9-5362-449d-b52a-a836ba86d52f
2026-02-15 20:56:34,951 - INFO - ================================================================================
2026-02-15 20:56:34,951 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-02-15 20:56:34,951 - 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-15 20:56:35,206 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-02-15 20:56:35,206 - INFO - Initial checks done. Running the testcase now
2026-02-15 20:56:35,206 - INFO -
2026-02-15 20:56:35,760 - DEBUG - Response for create_network : {'network': {'id': '912e679f-0568-41d5-ac4b-021e96b859c5', 'name': 'ctest-vn-68052701', 'tenant_id': '67e2e2b95362449db52aa836ba86d52f', 'project_id': '67e2e2b95362449db52aa836ba86d52f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-68790575', 'ctest-vn-68052701'], 'port_security_enabled': True, 'description': ''}}
2026-02-15 20:56:35,951 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e262f480-f9a3-4d17-a492-cbd1215dc030', 'name': '', 'tenant_id': '67e2e2b95362449db52aa836ba86d52f', 'network_id': '912e679f-0568-41d5-ac4b-021e96b859c5', 'ip_version': 4, 'cidr': '91.244.230.0/26', 'allocation_pools': [{'start': '91.244.230.2', 'end': '91.244.230.62'}], 'gateway_ip': '91.244.230.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.244.230.2', 'tags': [], 'project_id': '67e2e2b95362449db52aa836ba86d52f'}}
2026-02-15 20:56:35,968 - INFO - Created VN ctest-vn-68052701
2026-02-15 20:56:36,023 - DEBUG - VN ctest-vn-68052701 UUID is 912e679f-0568-41d5-ac4b-021e96b859c5
2026-02-15 20:56:36,226 - DEBUG - Services list from nova: [, , ]
2026-02-15 20:56:37,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5325-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5325-1)
2026-02-15 20:56:38,420 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5325-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5325-1)
2026-02-15 20:56:38,420 - INFO - Waiting for VM ctest-TestBasicVMVNx-68790575-42497459 to be up..
2026-02-15 20:56:38,508 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-15 20:56:43,585 - DEBUG - VM is in ACTIVE state now
2026-02-15 20:56:43,585 - INFO - VM name : ctest-TestBasicVMVNx-68790575-42497459
2026-02-15 20:56:43,658 - DEBUG - VM ctest-TestBasicVMVNx-68790575-42497459 ID is 4792d15c-992c-41cc-b153-1002b3cafbb9
2026-02-15 20:56:43,677 - DEBUG - VM ctest-TestBasicVMVNx-68790575-42497459 launched on Node cn-jenkins-deploy-platform-ansible-os-5325-1
2026-02-15 20:56:43,768 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4792d15c-992c-41cc-b153-1002b3cafbb9
2026-02-15 20:56:44,075 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4792d15c-992c-41cc-b153-1002b3cafbb9
2026-02-15 20:56:44,109 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ab8398bd-3bac-483e-aa08-e2c2f45dff54
2026-02-15 20:56:47,375 - 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 1030ms')
2026-02-15 20:56:47,375 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-68790575-42497459 failed!
2026-02-15 20:56:47,431 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-68790575:ctest-vn-68052701 is 91.244.230.1 and allocation pool is NOT set
2026-02-15 20:56:49,498 - 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=4.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.33 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 = 1.330/2.812/4.294/1.482 ms')
2026-02-15 20:56:49,498 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-68790575-42497459 passed
2026-02-15 20:56:49,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-15 20:56:49,647 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-68790575-42497459, IP 91.244.230.3, Port 22
2026-02-15 20:56:49,702 - 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-15 20:56:49,782 - DEBUG - VM ctest-TestBasicVMVNx-68790575-42497459 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-15 20:56:54,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-15 20:56:54,784 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-68790575-42497459, IP 91.244.230.3, Port 22
2026-02-15 20:56:54,942 - DEBUG - VM ctest-TestBasicVMVNx-68790575-42497459 is ready for SSH connections
2026-02-15 20:56:54,943 - INFO - Waiting for VM ctest-TestBasicVMVNx-68790575-31088954 to be up..
2026-02-15 20:56:55,017 - DEBUG - VM is in ACTIVE state now
2026-02-15 20:56:55,017 - INFO - VM name : ctest-TestBasicVMVNx-68790575-31088954
2026-02-15 20:56:55,089 - DEBUG - VM ctest-TestBasicVMVNx-68790575-31088954 ID is 282547fb-a999-45e0-8f2e-feb63df6bfa4
2026-02-15 20:56:55,089 - DEBUG - VM ctest-TestBasicVMVNx-68790575-31088954 launched on Node cn-jenkins-deploy-platform-ansible-os-5325-1
2026-02-15 20:56:55,162 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/282547fb-a999-45e0-8f2e-feb63df6bfa4
2026-02-15 20:56:55,170 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ed9a01c5-89ef-40e1-9ab1-358351882986
2026-02-15 20:56:56,405 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.368 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.368/1.665/2.963/1.297 ms')
2026-02-15 20:56:56,405 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-68790575-31088954 passed
2026-02-15 20:56:56,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-15 20:56:56,559 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-68790575-31088954, IP 91.244.230.4, Port 22
2026-02-15 20:56:56,714 - DEBUG - VM ctest-TestBasicVMVNx-68790575-31088954 is ready for SSH connections
2026-02-15 20:56:56,714 - DEBUG - FILE SIZE = 1303B
2026-02-15 20:56:56,714 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-68790575-42497459 to ctest-TestBasicVMVNx-68790575-31088954 using scp
2026-02-15 20:56:56,721 - INFO - Deleting VM ctest-TestBasicVMVNx-68790575-31088954
2026-02-15 20:56:56,795 - INFO - Deleting VM ctest-TestBasicVMVNx-68790575-42497459
2026-02-15 20:56:56,865 - INFO - Deleting VN ctest-vn-68052701
2026-02-15 20:56:56,905 - DEBUG - VN 912e679f-0568-41d5-ac4b-021e96b859c5 still in use: Unable to complete operation on network 912e679f-0568-41d5-ac4b-021e96b859c5. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-2f44255d-af14-4963-8b0a-f833967ce72d']
2026-02-15 20:56:56,905 - WARNING - Deleting VN ctest-vn-68052701 failed..Will retry
2026-02-15 20:56:59,007 - DEBUG - Response for deleting network ()
2026-02-15 20:56:59,263 - ERROR - NameError
Python 3.9.25: /usr/bin/python3
Sun Feb 15 20:56:56 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-15 20:56:59,268 - DEBUG - No XMPP flaps were noticed during the test
2026-02-15 20:56:59,268 - INFO -
2026-02-15 20:56:59,268 - INFO - END TEST : test_vm_file_trf_scp_tests : FAILED[0:00:25]
2026-02-15 20:56:59,269 - INFO - --------------------------------------------------------------------------------
2026-02-15 20:56:59,932 - INFO - Deleted project: ctest-TestBasicVMVNx-68790575, ID : 67e2e2b9-5362-449d-b52a-a836ba86d52f