2026-02-16 14:21:41,846 - INFO - Domain Default found not creating
2026-02-16 14:21:41,991 - INFO - Project ctest-TestBasicVMVNx-05017784 not found, creating it
2026-02-16 14:21:42,420 - INFO - Created Project:ctest-TestBasicVMVNx-05017784, ID : 0a73331a-ccd6-48ba-9c24-3d704067ec20
2026-02-16 14:21:43,933 - INFO - ================================================================================
2026-02-16 14:21:43,933 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2026-02-16 14:21:43,933 - 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-16 14:21:44,188 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2026-02-16 14:21:44,188 - INFO - Initial checks done. Running the testcase now
2026-02-16 14:21:44,188 - INFO -
2026-02-16 14:21:44,717 - DEBUG - Response for create_network : {'network': {'id': '39329b2d-ec2e-4e51-ad72-f25ce4a4d4ce', 'name': 'ctest-vn-97599361', 'tenant_id': '0a73331accd648ba9c243d704067ec20', 'project_id': '0a73331accd648ba9c243d704067ec20', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-05017784', 'ctest-vn-97599361'], 'port_security_enabled': True, 'description': ''}}
2026-02-16 14:21:44,866 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0e8047f-006a-4eaa-8af7-1943fc5513a2', 'name': '', 'tenant_id': '0a73331accd648ba9c243d704067ec20', 'network_id': '39329b2d-ec2e-4e51-ad72-f25ce4a4d4ce', 'ip_version': 4, 'cidr': '96.18.153.128/26', 'allocation_pools': [{'start': '96.18.153.130', 'end': '96.18.153.190'}], 'gateway_ip': '96.18.153.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.18.153.130', 'tags': [], 'project_id': '0a73331accd648ba9c243d704067ec20'}}
2026-02-16 14:21:44,882 - INFO - Created VN ctest-vn-97599361
2026-02-16 14:21:44,935 - DEBUG - VN ctest-vn-97599361 UUID is 39329b2d-ec2e-4e51-ad72-f25ce4a4d4ce
2026-02-16 14:21:45,132 - DEBUG - Services list from nova: [, , ]
2026-02-16 14:21:46,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5334-1)
2026-02-16 14:21:47,213 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5334-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5334-1)
2026-02-16 14:21:47,213 - INFO - Waiting for VM ctest-TestBasicVMVNx-05017784-73463690 to be up..
2026-02-16 14:21:47,291 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-16 14:21:52,362 - DEBUG - VM is in ACTIVE state now
2026-02-16 14:21:52,363 - INFO - VM name : ctest-TestBasicVMVNx-05017784-73463690
2026-02-16 14:21:52,441 - DEBUG - VM ctest-TestBasicVMVNx-05017784-73463690 ID is 7f07e9f6-3ff6-4e43-aae9-75985f6a6009
2026-02-16 14:21:52,459 - DEBUG - VM ctest-TestBasicVMVNx-05017784-73463690 launched on Node cn-jenkins-deploy-platform-ansible-os-5334-1
2026-02-16 14:21:52,532 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/7f07e9f6-3ff6-4e43-aae9-75985f6a6009
2026-02-16 14:21:52,822 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/7f07e9f6-3ff6-4e43-aae9-75985f6a6009
2026-02-16 14:21:52,854 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d9be7a87-71f3-4397-867d-d5ec49cb9c8f
2026-02-16 14:21:56,102 - 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 1015ms')
2026-02-16 14:21:56,102 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05017784-73463690 failed!
2026-02-16 14:21:56,155 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVNx-05017784:ctest-vn-97599361 is 96.18.153.129 and allocation pool is NOT set
2026-02-16 14:21:58,219 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.480 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.480/1.660/2.841/1.180 ms')
2026-02-16 14:21:58,219 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVNx-05017784-73463690 passed
2026-02-16 14:21:58,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 14:21:58,367 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05017784-73463690, IP 96.18.153.131, Port 22
2026-02-16 14:21:58,522 - DEBUG - VM ctest-TestBasicVMVNx-05017784-73463690 is ready for SSH connections
2026-02-16 14:21:58,522 - INFO - Waiting for VM ctest-TestBasicVMVNx-05017784-90706777 to be up..
2026-02-16 14:21:58,593 - DEBUG - VM is in ACTIVE state now
2026-02-16 14:21:58,594 - INFO - VM name : ctest-TestBasicVMVNx-05017784-90706777
2026-02-16 14:21:58,661 - DEBUG - VM ctest-TestBasicVMVNx-05017784-90706777 ID is ae47a0c0-dd0a-4c64-bfa5-43d9581ee185
2026-02-16 14:21:58,662 - DEBUG - VM ctest-TestBasicVMVNx-05017784-90706777 launched on Node cn-jenkins-deploy-platform-ansible-os-5334-1
2026-02-16 14:21:58,729 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ae47a0c0-dd0a-4c64-bfa5-43d9581ee185
2026-02-16 14:21:58,736 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/e66b3bc0-5c30-4a59-ac23-d0861f393e07
2026-02-16 14:21:59,965 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.557/2.701/1.143 ms')
2026-02-16 14:21:59,965 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVNx-05017784-90706777 passed
2026-02-16 14:22:00,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-16 14:22:00,111 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVNx-05017784-90706777, IP 96.18.153.132, Port 22
2026-02-16 14:22:00,266 - DEBUG - VM ctest-TestBasicVMVNx-05017784-90706777 is ready for SSH connections
2026-02-16 14:22:00,266 - DEBUG - FILE SIZE = 1303B
2026-02-16 14:22:00,266 - DEBUG - Transferring the file from ctest-TestBasicVMVNx-05017784-73463690 to ctest-TestBasicVMVNx-05017784-90706777 using scp
2026-02-16 14:22:00,272 - INFO - Deleting VM ctest-TestBasicVMVNx-05017784-90706777
2026-02-16 14:22:00,335 - INFO - Deleting VM ctest-TestBasicVMVNx-05017784-73463690
2026-02-16 14:22:00,397 - INFO - Deleting VN ctest-vn-97599361
2026-02-16 14:22:00,428 - DEBUG - VN 39329b2d-ec2e-4e51-ad72-f25ce4a4d4ce still in use: Unable to complete operation on network 39329b2d-ec2e-4e51-ad72-f25ce4a4d4ce. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7cd0b362-90f5-429b-8d31-abfd95f82ec1']
2026-02-16 14:22:00,428 - WARNING - Deleting VN ctest-vn-97599361 failed..Will retry
2026-02-16 14:22:02,515 - DEBUG - Response for deleting network ()
2026-02-16 14:22:02,762 - ERROR - NameError
Python 3.9.25: /usr/bin/python3
Mon Feb 16 14:22:00 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-16 14:22:02,767 - DEBUG - No XMPP flaps were noticed during the test
2026-02-16 14:22:02,768 - INFO -
2026-02-16 14:22:02,768 - INFO - END TEST : test_vm_file_trf_scp_tests : FAILED[0:00:19]
2026-02-16 14:22:02,768 - INFO - --------------------------------------------------------------------------------
2026-02-16 14:22:03,433 - INFO - Deleted project: ctest-TestBasicVMVNx-05017784, ID : 0a73331a-ccd6-48ba-9c24-3d704067ec20