2025-10-11 16:58:00,093 - INFO - Domain Default found not creating
2025-10-11 16:58:00,239 - INFO - Project ctest-TestBasicVMVNx-04585175 not found, creating it
2025-10-11 16:58:00,682 - INFO - Created Project:ctest-TestBasicVMVNx-04585175, ID : 00e1d4fe-68d7-4e72-951c-a26de35478d7
2025-10-11 16:58:02,137 - INFO - ================================================================================
2025-10-11 16:58:02,137 - INFO - STARTING TEST : test_vm_file_trf_scp_tests
2025-10-11 16:58:02,137 - 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
2025-10-11 16:58:02,264 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-11 16:58:02,264 - INFO - Initial checks done. Running the testcase now
2025-10-11 16:58:02,265 - INFO -
2025-10-11 16:58:02,815 - DEBUG - Response for create_network : {'network': {'id': '0e10090b-aa84-4c97-9e73-617b6405f58b', 'name': 'ctest-vn-49741746', 'tenant_id': '00e1d4fe68d74e72951ca26de35478d7', 'project_id': '00e1d4fe68d74e72951ca26de35478d7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVNx-04585175', 'ctest-vn-49741746'], 'port_security_enabled': True, 'description': ''}}
2025-10-11 16:58:03,019 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c452aba5-f145-4361-bee3-042f8bdc7800', 'name': '', 'tenant_id': '00e1d4fe68d74e72951ca26de35478d7', 'network_id': '0e10090b-aa84-4c97-9e73-617b6405f58b', 'ip_version': 4, 'cidr': '139.95.147.64/26', 'allocation_pools': [{'start': '139.95.147.66', 'end': '139.95.147.126'}], 'gateway_ip': '139.95.147.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.95.147.66', 'tags': [], 'project_id': '00e1d4fe68d74e72951ca26de35478d7'}}
2025-10-11 16:58:03,037 - INFO - Created VN ctest-vn-49741746
2025-10-11 16:58:03,090 - DEBUG - VN ctest-vn-49741746 UUID is 0e10090b-aa84-4c97-9e73-617b6405f58b
2025-10-11 16:58:03,365 - DEBUG - Services list from nova: [, , ]
2025-10-11 16:58:04,461 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4287-1)
2025-10-11 16:58:05,700 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4287-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4287-1)
2025-10-11 16:58:05,700 - INFO - Waiting for VM ctest-TestBasicVMVNx-04585175-84245146 to be up..
2025-10-11 16:58:05,797 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-11 16:58:10,859 - DEBUG - VM is in ERROR state now
2025-10-11 16:58:10,859 - ERROR - VM in error state.
2025-10-11 16:58:10,859 - ERROR - VM is not in ACTIVE state
2025-10-11 16:58:10,942 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-11 16:58:10,942 - DEBUG - None
2025-10-11 16:58:10,943 - INFO - Skip interface_detach for VM ctest-TestBasicVMVNx-04585175-57258698 in state BUILD
2025-10-11 16:58:10,944 - INFO - Deleting VM ctest-TestBasicVMVNx-04585175-57258698
2025-10-11 16:58:10,964 - ERROR - VM ctest-TestBasicVMVNx-04585175-57258698 has failed to come up
2025-10-11 16:58:10,964 - ERROR - Nova failed to get host of the VM
2025-10-11 16:58:11,131 - INFO - Skip interface_detach for VM ctest-TestBasicVMVNx-04585175-84245146 in state ERROR
2025-10-11 16:58:11,131 - INFO - Deleting VM ctest-TestBasicVMVNx-04585175-84245146
2025-10-11 16:58:11,131 - ERROR - VM ctest-TestBasicVMVNx-04585175-84245146 has failed to come up
2025-10-11 16:58:11,131 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-11T16:58:05Z', 'message': "Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:d9:9a:11:8a:b6,has_traffic_filtering=True,id=d99a118a-b664-4db1-acbb-ec770fc49559,network=Network(0e10090b-aa84-4c97-9e73-617b6405f58b),plugin='vrouter',port_p", 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/os_vif/__init__.py", line 77, in plug\n plugin.plug(vif, instance_info)\n File "/opt/plugin/site-packages/vif_plug_vrouter/vrouter.py", line 271, in plug\n self._vrouter_port_add(instance_info, vif)\n File "/opt/plugin/site-packages/vif_plug_vrouter/vrouter.py", line 263, in _vrouter_port_add\n vhostuser_socket, vhostuser_mode)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_privsep/priv_context.py", line 272, in _wrap\n r_call_timeout)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_privsep/daemon.py", line 215, in remote_call\n raise exc_type(*result[2])\nvif_plug_vrouter.exception.VrouterPortControlError: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=d99a118a-b664-4db1-acbb-ec770fc49559\', \'--instance_uuid=d3977f4d-5a18-452b-ac9b-a2689508d853\', \'--vn_uuid=0e10090b-aa84-4c97-9e73-617b6405f58b\', \'--vm_project_uuid=00e1d4fe68d74e72951ca26de35478d7\', \'--ip_address=139.95.147.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVNx-04585175-84245146\', \'--mac=02:d9:9a:11:8a:b6\', \'--tap_name=tapd99a118a-b6\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 699, in _plug_os_vif\n os_vif.plug(vif, instance_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/os_vif/__init__.py", line 82, in plug\n raise os_vif.exception.PlugException(vif=vif, err=err)\nos_vif.exception.PlugException: Failed to plug VIF VIFGeneric(active=True,address=02:d9:9a:11:8a:b6,has_traffic_filtering=True,id=d99a118a-b664-4db1-acbb-ec770fc49559,network=Network(0e10090b-aa84-4c97-9e73-617b6405f58b),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapd99a118a-b6\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=d99a118a-b664-4db1-acbb-ec770fc49559\', \'--instance_uuid=d3977f4d-5a18-452b-ac9b-a2689508d853\', \'--vn_uuid=0e10090b-aa84-4c97-9e73-617b6405f58b\', \'--vm_project_uuid=00e1d4fe68d74e72951ca26de35478d7\', \'--ip_address=139.95.147.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVNx-04585175-84245146\', \'--mac=02:d9:9a:11:8a:b6\', \'--tap_name=tapd99a118a-b6\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2521, in _build_and_run_instance\n accel_info=accel_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 4339, in spawn\n cleanup_instance_disks=created_disks)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7523, in _create_guest_with_network\n cleanup_instance_disks=cleanup_instance_disks)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 227, in __exit__\n self.force_reraise()\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 200, in force_reraise\n raise self.value\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7492, in _create_guest_with_network\n self.plug_vifs(instance, network_info)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 1386, in plug_vifs\n self.vif_driver.plug(instance, vif)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 723, in plug\n self._plug_os_vif(instance, vif_obj)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/vif.py", line 703, in _plug_os_vif\n raise exception.InternalError(msg)\nnova.exception.InternalError: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:d9:9a:11:8a:b6,has_traffic_filtering=True,id=d99a118a-b664-4db1-acbb-ec770fc49559,network=Network(0e10090b-aa84-4c97-9e73-617b6405f58b),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapd99a118a-b6\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=d99a118a-b664-4db1-acbb-ec770fc49559\', \'--instance_uuid=d3977f4d-5a18-452b-ac9b-a2689508d853\', \'--vn_uuid=0e10090b-aa84-4c97-9e73-617b6405f58b\', \'--vm_project_uuid=00e1d4fe68d74e72951ca26de35478d7\', \'--ip_address=139.95.147.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVNx-04585175-84245146\', \'--mac=02:d9:9a:11:8a:b6\', \'--tap_name=tapd99a118a-b6\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2337, in _do_build_and_run_instance\n filter_properties, request_spec, accel_uuids)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 2625, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=str(e))\nnova.exception.RescheduledException: Build of instance d3977f4d-5a18-452b-ac9b-a2689508d853 was re-scheduled: Failure running os_vif plugin plug method: Failed to plug VIF VIFGeneric(active=True,address=02:d9:9a:11:8a:b6,has_traffic_filtering=True,id=d99a118a-b664-4db1-acbb-ec770fc49559,network=Network(0e10090b-aa84-4c97-9e73-617b6405f58b),plugin=\'vrouter\',port_profile=>,preserve_on_delete=False,vif_name=\'tapd99a118a-b6\'). Got error: Error during the call to vrouter-port-control: (\'vrouter-port-control\', \'--oper=add\', \'--uuid=d99a118a-b664-4db1-acbb-ec770fc49559\', \'--instance_uuid=d3977f4d-5a18-452b-ac9b-a2689508d853\', \'--vn_uuid=0e10090b-aa84-4c97-9e73-617b6405f58b\', \'--vm_project_uuid=00e1d4fe68d74e72951ca26de35478d7\', \'--ip_address=139.95.147.67\', \'--ipv6_address=None\', \'--vm_name=ctest-TestBasicVMVNx-04585175-84245146\', \'--mac=02:d9:9a:11:8a:b6\', \'--tap_name=tapd99a118a-b6\', \'--port_type=NovaVMPort\', \'--tx_vlan_id=-1\', \'--rx_vlan_id=-1\')\n'}
2025-10-11 16:58:11,132 - INFO - Deleting VN ctest-vn-49741746
2025-10-11 16:58:11,250 - DEBUG - Response for deleting network ()
2025-10-11 16:58:11,375 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Sat Oct 11 16:58:10 2025
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=)
2865 vm2_fixture = self.create_vm(vn_fixture=vn_fixture,
2866 image_name='ubuntu-sshpass')
2867 assert vm1_fixture.wait_till_vm_is_up()
2868 assert vm2_fixture.wait_till_vm_is_up()
2869 for size in scp_test_file_sizes:
vm1_fixture =
vm1_fixture.wait_till_vm_is_up = >
AssertionError:
__cause__ = None
__class__ =
__context__ = None
__delattr__ =
__dict__ = {}
__dir__ =
__doc__ = 'Assertion failed.'
__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 = ()
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 2867, in test_vm_file_trf_scp_tests
assert vm1_fixture.wait_till_vm_is_up()
AssertionError
2025-10-11 16:58:11,381 - DEBUG - No XMPP flaps were noticed during the test
2025-10-11 16:58:11,381 - INFO -
2025-10-11 16:58:11,381 - INFO - END TEST : test_vm_file_trf_scp_tests : FAILED[0:00:09]
2025-10-11 16:58:11,381 - INFO - --------------------------------------------------------------------------------
2025-10-11 16:58:12,067 - INFO - Deleted project: ctest-TestBasicVMVNx-04585175, ID : 00e1d4fe-68d7-4e72-951c-a26de35478d7