2026-02-10 18:11:22,882 - INFO - Domain Default found not creating
2026-02-10 18:11:23,080 - INFO - Project ctest-TestBasicVMVNx-79350783 not found, creating it
2026-02-10 18:11:23,551 - INFO - Created Project:ctest-TestBasicVMVNx-79350783, ID : c7cde69b-4a99-4e70-b9b3-27c3e69b251b
2026-02-10 18:11:25,022 - INFO - ================================================================================
2026-02-10 18:11:25,022 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-02-10 18:11:25,022 - 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:11:25,275 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with
2026-02-10 18:11:25,275 - INFO - Initial checks done. Running the testcase now
2026-02-10 18:11:25,275 - INFO -
2026-02-10 18:11:25,823 - DEBUG - Response for create_network : {'network': {'id': 'fb6f2206-4e7c-4151-9d3e-dec7944ee10c', 'name': 'ctest-vn-42529613', 'tenant_id': 'c7cde69b4a994e70b9b327c3e69b251b', 'project_id': 'c7cde69b4a994e70b9b327c3e69b251b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-79350783', 'ctest-vn-42529613'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 18:11:26,038 - DEBUG - Response for create_subnet : {'subnet': {'id': '47648dcb-ba62-4799-b26e-b8041339de55', 'name': '', 'tenant_id': 'c7cde69b4a994e70b9b327c3e69b251b', 'network_id': 'fb6f2206-4e7c-4151-9d3e-dec7944ee10c', 'ip_version': 4, 'cidr': '204.45.110.192/26', 'allocation_pools': [{'start': '204.45.110.194', 'end': '204.45.110.254'}], 'gateway_ip': '204.45.110.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.45.110.194', 'tags': [], 'project_id': 'c7cde69b4a994e70b9b327c3e69b251b'}}
2026-02-10 18:11:26,055 - INFO - Created VN ctest-vn-42529613
2026-02-10 18:11:26,106 - DEBUG - VN ctest-vn-42529613 UUID is fb6f2206-4e7c-4151-9d3e-dec7944ee10c
2026-02-10 18:11:26,305 - DEBUG - Services list from nova: [, , ]
2026-02-10 18:11:27,333 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5283-1)
2026-02-10 18:11:28,502 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5283-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5283-1)
2026-02-10 18:11:28,502 - INFO - Waiting for VM ctest-TestBasicVMVNx-79350783-79009353 to be up..
2026-02-10 18:11:28,577 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-10 18:11:33,665 - DEBUG - VM is in ACTIVE state now
2026-02-10 18:11:33,665 - INFO - VM name : ctest-TestBasicVMVNx-79350783-79009353
2026-02-10 18:11:33,748 - DEBUG - VM ctest-TestBasicVMVNx-79350783-79009353 ID is 4f078a32-a9ee-4b3d-b2df-0f1397066734
2026-02-10 18:11:33,766 - DEBUG - VM ctest-TestBasicVMVNx-79350783-79009353 launched on Node cn-jenkins-deploy-platform-ansible-os-5283-1
2026-02-10 18:11:33,840 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4f078a32-a9ee-4b3d-b2df-0f1397066734
2026-02-10 18:11:34,141 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4f078a32-a9ee-4b3d-b2df-0f1397066734
2026-02-10 18:11:34,172 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/25eae3c0-7487-4bc7-9e4b-4a1203604d73
2026-02-10 18:11:37,430 - 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:11:37,430 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79350783-79009353 failed!
2026-02-10 18:11:37,483 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-79350783:ctest-vn-42529613 is 204.45.110.193 and allocation pool is NOT set
2026-02-10 18:11:39,552 - 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=5.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.407 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.407/3.079/5.752/2.672 ms')
2026-02-10 18:11:39,552 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-79350783-79009353 passed
2026-02-10 18:11:39,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-10 18:11:39,698 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79350783-79009353, IP 204.45.110.195, Port 22
2026-02-10 18:11:39,858 - DEBUG - VM ctest-TestBasicVMVNx-79350783-79009353 is ready for SSH connections
2026-02-10 18:11:39,858 - INFO - Waiting for VM ctest-TestBasicVMVNx-79350783-23225809 to be up..
2026-02-10 18:11:39,930 - DEBUG - VM is in ACTIVE state now
2026-02-10 18:11:39,930 - INFO - VM name : ctest-TestBasicVMVNx-79350783-23225809
2026-02-10 18:11:40,016 - DEBUG - VM ctest-TestBasicVMVNx-79350783-23225809 ID is b4626144-e769-4235-a16b-bf7019cff1fc
2026-02-10 18:11:40,016 - DEBUG - VM ctest-TestBasicVMVNx-79350783-23225809 launched on Node cn-jenkins-deploy-platform-ansible-os-5283-1
2026-02-10 18:11:40,115 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b4626144-e769-4235-a16b-bf7019cff1fc
2026-02-10 18:11:40,123 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/192614d2-f397-45d2-98ee-421b4c8bbcda
2026-02-10 18:11:41,363 - 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=3.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.433 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.433/1.991/3.549/1.558 ms')
2026-02-10 18:11:41,363 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-79350783-23225809 passed
2026-02-10 18:11:41,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-10 18:11:41,511 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-79350783-23225809, IP 204.45.110.196, Port 22
2026-02-10 18:11:41,666 - DEBUG - VM ctest-TestBasicVMVNx-79350783-23225809 is ready for SSH connections
2026-02-10 18:11:41,666 - DEBUG - FILE SIZE = 1303B
2026-02-10 18:11:41,666 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-79350783-79009353 to ctest-TestBasicVMVNx-79350783-23225809 using scp
2026-02-10 18:11:41,672 - INFO - Deleting VM ctest-TestBasicVMVNx-79350783-23225809
2026-02-10 18:11:41,737 - INFO - Deleting VM ctest-TestBasicVMVNx-79350783-79009353
2026-02-10 18:11:41,801 - INFO - Deleting VN ctest-vn-42529613
2026-02-10 18:11:41,833 - DEBUG - VN fb6f2206-4e7c-4151-9d3e-dec7944ee10c still in use: Unable to complete operation on network fb6f2206-4e7c-4151-9d3e-dec7944ee10c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-e81a903e-451b-428b-bc12-2db72fddb518']
2026-02-10 18:11:41,833 - WARNING - Deleting VN ctest-vn-42529613 failed..Will retry
2026-02-10 18:11:43,922 - DEBUG - Response for deleting network ()
2026-02-10 18:11:44,170 - ERROR - NameError
Python 3.9.25: /usr/bin/python3
Tue Feb 10 18:11:41 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:11:44,176 - DEBUG - No XMPP flaps were noticed during the test
2026-02-10 18:11:44,176 - INFO -
2026-02-10 18:11:44,176 - INFO - END TEST : test_vm_file_trf_scp_tests : FAILED[0:00:19]
2026-02-10 18:11:44,176 - INFO - --------------------------------------------------------------------------------
2026-02-10 18:11:44,836 - INFO - Deleted project: ctest-TestBasicVMVNx-79350783, ID : c7cde69b-4a99-4e70-b9b3-27c3e69b251b