2026-02-10 18:14:01,648 - INFO - Domain Default found not creating
2026-02-10 18:14:01,811 - INFO - Project ctest-TestBasicVMVNx-95961218 not found, creating it
2026-02-10 18:14:02,280 - INFO - Created Project:ctest-TestBasicVMVNx-95961218, ID : 66fcf298-d40c-41a3-b144-7a6ee7c850df
2026-02-10 18:14:03,777 - INFO - ================================================================================
2026-02-10 18:14:03,777 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-02-10 18:14:03,777 - 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:14:04,032 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.18': '0'}} with
2026-02-10 18:14:04,032 - INFO - Initial checks done. Running the testcase now
2026-02-10 18:14:04,032 - INFO -
2026-02-10 18:14:04,586 - DEBUG - Response for create_network : {'network': {'id': '37d2e2af-3ef2-4c5b-adef-0b11dcac7d52', 'name': 'ctest-vn-92284956', 'tenant_id': '66fcf298d40c41a3b1447a6ee7c850df', 'project_id': '66fcf298d40c41a3b1447a6ee7c850df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-95961218', 'ctest-vn-92284956'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:14:04,807 - DEBUG - Response for create_subnet : {'subnet': {'id': '498c8009-6c38-44b8-8388-9c43496e6ca8', 'name': '', 'tenant_id': '66fcf298d40c41a3b1447a6ee7c850df', 'network_id': '37d2e2af-3ef2-4c5b-adef-0b11dcac7d52', 'ip_version': 4, 'cidr': '211.84.241.128/26', 'allocation_pools': [{'start': '211.84.241.130', 'end': '211.84.241.190'}], 'gateway_ip': '211.84.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.84.241.130', 'tags': [], 'project_id': '66fcf298d40c41a3b1447a6ee7c850df'}}
2026-02-10 18:14:04,827 - INFO - Created VN ctest-vn-92284956
2026-02-10 18:14:04,882 - DEBUG - VN ctest-vn-92284956 UUID is 37d2e2af-3ef2-4c5b-adef-0b11dcac7d52
2026-02-10 18:14:05,061 - DEBUG - Services list from nova: [, , ]
2026-02-10 18:14:06,112 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5286-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5286-1)
2026-02-10 18:14:07,377 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5286-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5286-1)
2026-02-10 18:14:07,377 - INFO - Waiting for VM ctest-TestBasicVMVNx-95961218-44121668 to be up..
2026-02-10 18:14:07,460 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-10 18:14:12,535 - DEBUG - VM is in ACTIVE state now
2026-02-10 18:14:12,536 - INFO - VM name : ctest-TestBasicVMVNx-95961218-44121668
2026-02-10 18:14:12,610 - DEBUG - VM ctest-TestBasicVMVNx-95961218-44121668 ID is 5dec1565-f1b2-4d22-811e-629b1d4febc4
2026-02-10 18:14:12,629 - DEBUG - VM ctest-TestBasicVMVNx-95961218-44121668 launched on Node cn-jenkins-deploy-platform-ansible-os-5286-1
2026-02-10 18:14:12,704 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5dec1565-f1b2-4d22-811e-629b1d4febc4
2026-02-10 18:14:13,002 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5dec1565-f1b2-4d22-811e-629b1d4febc4
2026-02-10 18:14:13,037 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/946d96c8-cbd5-4277-918c-34c1feb62c1a
2026-02-10 18:14:16,279 - 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 1007ms')
2026-02-10 18:14:16,280 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95961218-44121668 failed!
2026-02-10 18:14:16,334 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-95961218:ctest-vn-92284956 is 211.84.241.129 and allocation pool is NOT set
2026-02-10 18:14:18,398 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.766 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.766/1.914/3.063/1.148 ms')
2026-02-10 18:14:18,398 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-95961218-44121668 passed
2026-02-10 18:14:18,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-10 18:14:18,550 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95961218-44121668, IP 211.84.241.131, Port 22
2026-02-10 18:14:18,706 - DEBUG - VM ctest-TestBasicVMVNx-95961218-44121668 is ready for SSH connections
2026-02-10 18:14:18,706 - INFO - Waiting for VM ctest-TestBasicVMVNx-95961218-31377085 to be up..
2026-02-10 18:14:18,780 - DEBUG - VM is in ACTIVE state now
2026-02-10 18:14:18,780 - INFO - VM name : ctest-TestBasicVMVNx-95961218-31377085
2026-02-10 18:14:18,861 - DEBUG - VM ctest-TestBasicVMVNx-95961218-31377085 ID is 9fc13d4f-13b9-44df-bec8-7b319651c1f9
2026-02-10 18:14:18,861 - DEBUG - VM ctest-TestBasicVMVNx-95961218-31377085 launched on Node cn-jenkins-deploy-platform-ansible-os-5286-1
2026-02-10 18:14:18,936 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9fc13d4f-13b9-44df-bec8-7b319651c1f9
2026-02-10 18:14:18,945 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c0ad3406-4c6a-413c-8b23-6cf8e05d3704
2026-02-10 18:14:20,169 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.468 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.468/1.705/2.943/1.237 ms')
2026-02-10 18:14:20,169 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-95961218-31377085 passed
2026-02-10 18:14:20,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-10 18:14:20,314 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-95961218-31377085, IP 211.84.241.132, Port 22
2026-02-10 18:14:20,469 - DEBUG - VM ctest-TestBasicVMVNx-95961218-31377085 is ready for SSH connections
2026-02-10 18:14:20,470 - DEBUG - FILE SIZE = 1303B
2026-02-10 18:14:20,470 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-95961218-44121668 to ctest-TestBasicVMVNx-95961218-31377085 using scp
2026-02-10 18:14:20,476 - INFO - Deleting VM ctest-TestBasicVMVNx-95961218-31377085
2026-02-10 18:14:20,542 - INFO - Deleting VM ctest-TestBasicVMVNx-95961218-44121668
2026-02-10 18:14:20,605 - INFO - Deleting VN ctest-vn-92284956
2026-02-10 18:14:20,640 - DEBUG - VN 37d2e2af-3ef2-4c5b-adef-0b11dcac7d52 still in use: Unable to complete operation on network 37d2e2af-3ef2-4c5b-adef-0b11dcac7d52. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-b6d05200-9bdf-4e1b-b26f-edbf0d9ed566']
2026-02-10 18:14:20,640 - WARNING - Deleting VN ctest-vn-92284956 failed..Will retry
2026-02-10 18:14:22,732 - DEBUG - Response for deleting network ()
2026-02-10 18:14:22,982 - ERROR - NameError
Python 3.9.25: /usr/bin/python3
Tue Feb 10 18:14:20 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:14:22,988 - DEBUG - No XMPP flaps were noticed during the test
2026-02-10 18:14:22,988 - INFO -
2026-02-10 18:14:22,988 - INFO - END TEST : test_vm_file_trf_scp_tests : FAILED[0:00:19]
2026-02-10 18:14:22,988 - INFO - --------------------------------------------------------------------------------
2026-02-10 18:14:23,672 - INFO - Deleted project: ctest-TestBasicVMVNx-95961218, ID : 66fcf298-d40c-41a3-b144-7a6ee7c850df