is: {'code': 500, 'created': '2025-11-13T13:18:08Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'}
2025-11-13 13:18:08,903 - INFO - Deleting VN ctest-vn2_metadata-92229258
2025-11-13 13:18:09,244 - ERROR - 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_basic.py", line 290, in test_generic_link_local_service
compute_user = self.inputs.host_data[vm1_fixture.vm_node_ip]['username']
File "/contrail-test/fixtures/vm_test.py", line 386, in vm_node_ip
self.get_host_of_vm(refresh=True))
File "/contrail-test/fixtures/vm_test.py", line 400, in get_host_of_vm
assert self.wait_till_vm_is_active()
AssertionError
2025-11-13 13:18:09,252 - INFO -
2025-11-13 13:18:09,252 - INFO - END TEST : test_generic_link_local_service : FAILED[0:00:03]
2025-11-13 13:18:09,252 - INFO - --------------------------------------------------------------------------------
2025-11-13 13:18:09,255 - INFO - ================================================================================
2025-11-13 13:18:09,255 - INFO - STARTING TEST : test_metadata_service
2025-11-13 13:18:09,255 - INFO - TEST DESCRIPTION :
Description: Test to validate metadata service on VM creation.
1.Verify from global-vrouter-config if metadata configures or not - fails otherwise
2.Create a shell script which writes 'hello world ' in a file in /tmp and save the script on the nova api node
3.Create a vm with userdata pointing to that script - script should get executed during vm boot up
4.Go to the vm and verify if the file with 'hello world ' written saved in /tmp of the vm - fails otherwise
Maintainer: sandipd@juniper.net
2025-11-13 13:18:09,541 - INFO - Initial checks done. Running the testcase now
2025-11-13 13:18:09,541 - INFO -
2025-11-13 13:18:10,194 - INFO - Created VN ctest-vn-18781808
2025-11-13 13:18:11,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4722-1)
2025-11-13 13:18:11,468 - INFO - Waiting for VM ctest-TestBasicVMVN-67528212-79578784 to be up..
2025-11-13 13:18:11,516 - ERROR - VM in error state.
2025-11-13 13:18:11,516 - ERROR - VM is not in ACTIVE state
2025-11-13 13:18:11,592 - ERROR - Fatal Nova Exception while getting VM detail
2025-11-13 13:18:11,593 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-67528212-79578784 in state ERROR
2025-11-13 13:18:11,593 - INFO - Deleting VM ctest-TestBasicVMVN-67528212-79578784
2025-11-13 13:18:11,593 - ERROR - VM ctest-TestBasicVMVN-67528212-79578784 has failed to come up
2025-11-13 13:18:11,593 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-11-13T13:18:11Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'}
2025-11-13 13:18:11,593 - INFO - Deleting VN ctest-vn-18781808
2025-11-13 13:18:11,927 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Thu Nov 13 13:18:11 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_basic.py in test_metadata_service(self=)
55 image_name='cirros',
56 userdata='/tmp/metadata_script.txt')
57 assert vm1_fixture.wait_till_vm_is_up()
58
59 cmd = 'cat /tmp/output.txt'
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_basic.py", line 57, in test_metadata_service
assert vm1_fixture.wait_till_vm_is_up()
AssertionError
2025-11-13 13:18:11,933 - INFO -
2025-11-13 13:18:11,933 - INFO - END TEST : test_metadata_service : FAILED[0:00:02]
2025-11-13 13:18:11,933 - INFO - --------------------------------------------------------------------------------
2025-11-13 13:18:11,935 - INFO - ================================================================================
2025-11-13 13:18:11,935 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets
2025-11-13 13:18:11,935 - INFO - TEST DESCRIPTION :
Description: Validate Ping between 2 VMs in the same VN, 2 VMs in different VN
subnets.
Test steps:
1. Create 1 IPAM's.
2. Create 1 VN with 2 subnets and launch 2 VMs in them.
3. Ping between the VMs in the same VN should go thru fine.
4. Ping to the subnet broadcast and all-broadcast address.
Pass criteria: VM in the same subnet will respond to both the pings, while the VM in a different VN should respond only to the
all-broadcast address.
Maintainer : ganeshahv@juniper.net
2025-11-13 13:18:12,217 - INFO - Initial checks done. Running the testcase now
2025-11-13 13:18:12,217 - INFO -
2025-11-13 13:18:13,090 - INFO - Created VN ctest-vn-26764559
2025-11-13 13:18:14,047 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4722-1)
2025-11-13 13:18:14,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4722-1)
2025-11-13 13:18:15,603 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4722-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4722-1)
2025-11-13 13:18:15,701 - INFO - Verifications in API Server for IPAM: ctest-ipam-70542660 passed
2025-11-13 13:18:15,707 - INFO - Verifications in Control node for IPAM: ctest-ipam-70542660 passed
2025-11-13 13:18:15,857 - INFO - Verified VN network id 12 for VN fa7f00d4-37f6-4f83-88ef-5905e5cc791a
2025-11-13 13:18:15,857 - INFO - Verifications in API Server for VN ctest-vn-26764559 passed
2025-11-13 13:18:15,894 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26764559 passed
2025-11-13 13:18:16,330 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-67528212:ctest-vn-26764559 is found in opserver
2025-11-13 13:18:16,349 - INFO - Waiting for VM ctest-TestBasicVMVN-67528212-92398549 to be up..
2025-11-13 13:18:16,406 - ERROR - VM in error state.
2025-11-13 13:18:16,406 - ERROR - VM is not in ACTIVE state
2025-11-13 13:18:16,488 - ERROR - Fatal Nova Exception while getting VM detail
2025-11-13 13:18:16,489 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-67528212-73828390 in state BUILD
2025-11-13 13:18:16,489 - INFO - Deleting VM ctest-TestBasicVMVN-67528212-73828390
2025-11-13 13:18:16,489 - ERROR - VM ctest-TestBasicVMVN-67528212-73828390 has failed to come up
2025-11-13 13:18:16,489 - ERROR - Nova failed to get host of the VM
2025-11-13 13:18:16,637 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-67528212-01197425 in state BUILD
2025-11-13 13:18:16,637 - INFO - Deleting VM ctest-TestBasicVMVN-67528212-01197425
2025-11-13 13:18:16,637 - ERROR - VM ctest-TestBasicVMVN-67528212-01197425 has failed to come up
2025-11-13 13:18:16,637 - ERROR - Nova failed to get host of the VM
2025-11-13 13:18:16,788 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-67528212-92398549 in state ERROR
2025-11-13 13:18:16,789 - INFO - Deleting VM ctest-TestBasicVMVN-67528212-92398549
2025-11-13 13:18:16,789 - ERROR - VM ctest-TestBasicVMVN-67528212-92398549 has failed to come up
2025-11-13 13:18:16,789 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-11-13T13:18:14Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'}
2025-11-13 13:18:16,789 - INFO - Deleting VN ctest-vn-26764559
2025-11-13 13:18:17,263 - INFO - Validated that VN ctest-vn-26764559 is not found in API Server
2025-11-13 13:18:17,271 - INFO - Validated that VN ctest-vn-26764559 is not in any agent
2025-11-13 13:18:17,283 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26764559 info
2025-11-13 13:18:17,364 - INFO - IPAM: ctest-ipam-70542660 is not found in API Server
2025-11-13 13:18:17,375 - INFO - IPAM:ctest-ipam-70542660 is not found in control node
2025-11-13 13:18:17,627 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Thu Nov 13 13:18:16 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_basic.py in test_ping_within_vn_two_vms_two_different_subnets(self=)
145 assert ipam_obj.verify_on_setup()
146 assert vn1_fixture.verify_on_setup()
147 assert vm1.wait_till_vm_is_up()
148 assert vm2.wait_till_vm_is_up()
149 assert vm3.wait_till_vm_is_up()
vm1 =
vm1.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_basic.py", line 147, in test_ping_within_vn_two_vms_two_different_subnets
assert vm1.wait_till_vm_is_up()
AssertionError
2025-11-13 13:18:17,633 - INFO -
2025-11-13 13:18:17,633 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : FAILED[0:00:06]
2025-11-13 13:18:17,633 - INFO - --------------------------------------------------------------------------------
2025-11-13 13:18:18,276 - INFO - Deleted project: ctest-TestBasicVMVN-67528212, ID : 2fd8759a-e1f7-44fb-a55f-967570819390
+ '[' 0 -eq 1 ']'
+ '[' 0 -eq 0 ']'
+ run_tests_serial
+ echo in serial_run_test
in serial_run_test
+ export PYTHONPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/contrail-test:/contrail-test/fixtures:/contrail-test/serial_scripts
+ PYTHONPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/contrail-test:/contrail-test/fixtures:/contrail-test/serial_scripts
+ testr_init
+ '[' '!' -d .testrepository ']'
+ find . -type f -name '*.pyc' -delete
+ export OS_TEST_PATH=./serial_scripts/
+ OS_TEST_PATH=./serial_scripts/
+ export DO_XMPP_CHECK=0
+ DO_XMPP_CHECK=0
+ '[' '!' -d ./serial_scripts/ ']'
+ '[' 0 -eq 1 ']'
+ /usr/local/bin/testr run --subunit ci_sanity
+ /usr/local/bin/subunit2junitxml -f -o result_2025_11_13_13_13_26_4137.xml
/usr/local/lib/python3.9/site-packages/pbr/version.py:439: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
/usr/local/lib/python3.9/site-packages/pbr/version.py:439: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
/contrail-test/fixtures/contrailapi.py:2218: SyntaxWarning: "is" with a literal. Did you mean "=="?
if type(public_network_obj).__name__ is 'VirtualNetwork':
/contrail-test/tcutils/control/cn_introspect_utils.py:307: SyntaxWarning: "is" with a literal. Did you mean "=="?
if encoding is 'All':
/contrail-test/tcutils/collector/opserver_util.py:388: SyntaxWarning: "is" with a literal. Did you mean "=="?
if len(match_v) is 1:
/contrail-test/tcutils/collector/opserver_util.py:389: SyntaxWarning: "is" with a literal. Did you mean "=="?
if match_v[0][-1] is '*':
/contrail-test/serial_scripts/policy/test_policy_serial.py:1418: SyntaxWarning: "is" with a literal. Did you mean "=="?
if proto is 'udp' and\
/contrail-test/serial_scripts/policy/test_policy_serial.py:1600: SyntaxWarning: "is" with a literal. Did you mean "=="?
if proto is 'udp' and\
/contrail-test/serial_scripts/policy/test_policy_serial.py:1845: SyntaxWarning: "is" with a literal. Did you mean "=="?
if proto is 'udp' and\
/contrail-test/serial_scripts/solution/test_orange_solution.py:510: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if op is not 0:
/contrail-test/serial_scripts/solution/test_orange_solution.py:522: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if op is not 0:
/contrail-test/serial_scripts/solution/test_orange_solution.py:639: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if op is not 0:
/contrail-test/serial_scripts/solution/test_orange_solution.py:650: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if op is not 0:
/contrail-test/serial_scripts/solution/test_orange_solution.py:683: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if op is not 0:
/contrail-test/serial_scripts/solution/test_orange_solution.py:694: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if op is not 0:
/usr/local/lib/python3.9/site-packages/pbr/version.py:439: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
2025-11-13 13:18:25,332 - INFO - Domain Default found not creating
2025-11-13 13:18:25,781 - INFO - Project ctest-TestRbac-20177585 not found, creating it
2025-11-13 13:18:26,207 - INFO - Created Project:ctest-TestRbac-20177585, ID : d3eac051-9cfe-4524-9e58-5fa012a1723c
2025-11-13 13:18:29,745 - INFO - ================================================================================
2025-11-13 13:18:29,745 - INFO - STARTING TEST : test_perms2_global_share
2025-11-13 13:18:29,745 - INFO - TEST DESCRIPTION :
Test perms2 global shared property of an object
steps:
1. Add user1 as role1 in project1 and project2
2. Add *.* role1:CRUD to domain acl
3. Create a Shared virtual-network in project1
4. Verify global shared flag is set on VN's perms2
4. Using shared VN try to launch a VM in project2
2025-11-13 13:18:30,174 - INFO - Initial checks done. Running the testcase now
2025-11-13 13:18:30,174 - INFO -
2025-11-13 13:18:30,516 - INFO - Project ctest-TestRbac-83295285 not found, creating it
2025-11-13 13:18:30,941 - INFO - Created Project:ctest-TestRbac-83295285, ID : 9bd9e4f7-5988-43ad-be15-c7ae903b22ca
2025-11-13 13:18:31,276 - INFO - Project ctest-TestRbac-44976593 not found, creating it
2025-11-13 13:18:31,705 - INFO - Created Project:ctest-TestRbac-44976593, ID : 5deb56e0-2656-4f22-908b-fea7407219e9
2025-11-13 13:18:33,808 - INFO - API access-list 6ef2f96c-5e47-4b4b-ac2f-fda0275861d2 verify on api server passed
2025-11-13 13:18:34,368 - INFO - Created VN ctest-TestRbac-83295285-51288239, UUID :d6b6d14b-8c33-4659-8555-19f8173f13bf
2025-11-13 13:18:35,055 - INFO - API Server: Read VN d6b6d14b-8c33-4659-8555-19f8173f13bf
2025-11-13 13:18:35,382 - INFO - API Server: Read VN d6b6d14b-8c33-4659-8555-19f8173f13bf
2025-11-13 13:18:37,596 - WARNING - Unable to get the list of compute nodes
2025-11-13 13:18:38,703 - INFO - VM ([]) created on node: (None), Zone: (None)
2025-11-13 13:18:43,809 - INFO - VM name : ctest-TestRbac-44976593-20899565
2025-11-13 13:18:44,148 - INFO - VM ctest-TestRbac-44976593-20899565 verfication in all API Servers passed
2025-11-13 13:18:50,488 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRbac-44976593-20899565 passed
2025-11-13 13:18:50,488 - INFO - VM ctest-TestRbac-44976593-20899565 verifications in Compute nodes passed
2025-11-13 13:18:50,667 - INFO - Validated routes of VM ctest-TestRbac-44976593-20899565 in all vrouters
2025-11-13 13:18:51,189 - INFO - Verification in Control-nodes for VM ctest-TestRbac-44976593-20899565 passed
2025-11-13 13:19:08,430 - INFO - Verifying through opserver in 10.0.0.50
2025-11-13 13:19:08,605 - INFO - VM 30325c7c-6ee6-40e7-914a-1a134857eb8d is present in default-domain:ctest-TestRbac-83295285:ctest-TestRbac-83295285-51288239
2025-11-13 13:19:10,323 - INFO - tap interface default-domain:ctest-TestRbac-44976593:bf0ef2d2-3bcc-4bd3-8e31-4917b0fe2ed3 of vm 30325c7c-6ee6-40e7-914a-1a134857eb8d is present in vrouter cn-jenkins-deploy-platform-ansible-os-4722-1 uve
2025-11-13 13:19:10,438 - INFO - VM ctest-TestRbac-44976593-20899565 validations in Opserver passed
2025-11-13 13:19:10,438 - INFO - Deleting VM ctest-TestRbac-44976593-20899565
2025-11-13 13:19:12,558 - INFO - VM ctest-TestRbac-44976593-20899565 is fully removed in API-Server
2025-11-13 13:19:12,648 - INFO - Validated that all vrouters do not have VMs route for VN default-domain:ctest-TestRbac-83295285:ctest-TestRbac-83295285-51288239
2025-11-13 13:19:12,648 - INFO - VM ctest-TestRbac-44976593-20899565 is removed in Compute, and routes are removed in all compute nodes
2025-11-13 13:19:12,885 - INFO - Routes for VM ctest-TestRbac-44976593-20899565 is removed in all control-nodes
2025-11-13 13:19:38,370 - INFO - 30325c7c-6ee6-40e7-914a-1a134857eb8d vm uve deleted from opserver
2025-11-13 13:19:38,370 - INFO - Validated that VM 30325c7c-6ee6-40e7-914a-1a134857eb8d is removed from Opserver
2025-11-13 13:19:38,370 - INFO - Deleting VN ctest-TestRbac-83295285-51288239
2025-11-13 13:19:38,462 - INFO - API access-list (6ef2f96c-5e47-4b4b-ac2f-fda0275861d2) got deleted in api server
2025-11-13 13:19:39,305 - INFO - Deleted project: ctest-TestRbac-44976593, ID : 5deb56e0-2656-4f22-908b-fea7407219e9
2025-11-13 13:19:39,969 - INFO - Deleted project: ctest-TestRbac-83295285, ID : 9bd9e4f7-5988-43ad-be15-c7ae903b22ca
2025-11-13 13:19:40,088 - INFO - END TEST : test_perms2_global_share : PASSED[0:01:11]
2025-11-13 13:19:40,088 - INFO - --------------------------------------------------------------------------------
2025-11-13 13:19:41,418 - INFO - Deleted project: ctest-TestRbac-20177585, ID : d3eac051-9cfe-4524-9e58-5fa012a1723c
2025-11-13 13:19:41,593 - INFO - Domain Default found not creating
2025-11-13 13:19:41,752 - INFO - Project ctest-TestRbacBasic-30224874 not found, creating it
2025-11-13 13:19:42,180 - INFO - Created Project:ctest-TestRbacBasic-30224874, ID : fed67db1-ca11-4af5-8536-831aa95737a3
2025-11-13 13:19:45,666 - INFO - ================================================================================
2025-11-13 13:19:45,666 - INFO - STARTING TEST : test_perms2_owner
2025-11-13 13:19:45,666 - INFO - TEST DESCRIPTION :
Validate perms2 tenant ownership
steps:
1. Create Project1 and Project2
2. Add user1 as role1 under project1 and project2
3. create domain acl rule 'VirtualNetwork.* role1:CRUD'
4. create VN1 under Project1
4. create VN2 under Project2
5. user1 shouldnt be able to read VN1 using project2 creds
6. admin should be able to read VN1 though he isnt member of the project
7. Network list with respective project creds should list corresponding VNs
8. Change ownership of VN1 to Project2
9. user1 should now be able to read VN1 using Project2 creds
10. Network list with Project2 creds should list both VNs,
Project1 creds should list VN1 alone, admin should list both VNs
2025-11-13 13:19:45,789 - INFO - Initial checks done. Running the testcase now
2025-11-13 13:19:45,789 - INFO -
2025-11-13 13:19:46,131 - INFO - Project ctest-TestRbacBasic-06420361 not found, creating it
2025-11-13 13:19:46,551 - INFO - Created Project:ctest-TestRbacBasic-06420361, ID : ccc5deb2-689c-4202-ad42-03d52b6b524d
2025-11-13 13:19:46,890 - INFO - Project ctest-TestRbacBasic-10484319 not found, creating it
2025-11-13 13:19:47,328 - INFO - Created Project:ctest-TestRbacBasic-10484319, ID : b602dcf7-ecab-4905-a82d-4720c28fef48
2025-11-13 13:19:49,463 - INFO - API access-list cfc60118-1554-4cce-9198-d5beea632b93 verify on api server passed
2025-11-13 13:19:50,004 - INFO - Created VN ctest-TestRbacBasic-06420361-65561820, UUID :178df9ff-6c5a-48d3-aae4-cfa4175dc391
2025-11-13 13:19:50,884 - INFO - Created VN ctest-TestRbacBasic-10484319-64134110, UUID :7465d623-4b74-43b4-b2ba-2138281b1a24
2025-11-13 13:19:51,556 - INFO - API Server: Read VN 178df9ff-6c5a-48d3-aae4-cfa4175dc391
2025-11-13 13:19:51,873 - INFO - API Server: Permission Denied to read VN 178df9ff-6c5a-48d3-aae4-cfa4175dc391
2025-11-13 13:19:51,881 - INFO - API Server: Read VN 178df9ff-6c5a-48d3-aae4-cfa4175dc391
2025-11-13 13:19:51,898 - INFO - API Server: List VN ['178df9ff-6c5a-48d3-aae4-cfa4175dc391']
2025-11-13 13:19:51,915 - INFO - API Server: List VN ['7465d623-4b74-43b4-b2ba-2138281b1a24']
2025-11-13 13:19:53,459 - INFO - API Server: List VN []
2025-11-13 13:19:53,477 - INFO - API Server: List VN ['178df9ff-6c5a-48d3-aae4-cfa4175dc391', '7465d623-4b74-43b4-b2ba-2138281b1a24']
2025-11-13 13:19:53,482 - INFO - API Server: List VN ['178df9ff-6c5a-48d3-aae4-cfa4175dc391', '7465d623-4b74-43b4-b2ba-2138281b1a24', '8458480f-a2aa-4569-a736-fdd361ee6eb1', '463a71be-bfcc-4ba4-a302-91ee953e4d9a', '5688344f-8161-4c4e-b58d-6cbc62be5b86', '227bfbf2-d1c2-42d4-becc-96b52f306316']
2025-11-13 13:19:54,672 - INFO - Deleting VN ctest-TestRbacBasic-10484319-64134110
2025-11-13 13:19:54,833 - INFO - Deleting VN ctest-TestRbacBasic-06420361-65561820
2025-11-13 13:19:55,081 - INFO - API access-list (cfc60118-1554-4cce-9198-d5beea632b93) got deleted in api server
2025-11-13 13:19:55,949 - INFO - Deleted project: ctest-TestRbacBasic-10484319, ID : b602dcf7-ecab-4905-a82d-4720c28fef48
2025-11-13 13:19:56,633 - INFO - Deleted project: ctest-TestRbacBasic-06420361, ID : ccc5deb2-689c-4202-ad42-03d52b6b524d
2025-11-13 13:19:56,756 - INFO - END TEST : test_perms2_owner : PASSED[0:00:11]
2025-11-13 13:19:56,756 - INFO - --------------------------------------------------------------------------------
2025-11-13 13:19:56,759 - INFO - ================================================================================
2025-11-13 13:19:56,759 - INFO - STARTING TEST : test_rbac_acl_different_roles
2025-11-13 13:19:56,759 - INFO - TEST DESCRIPTION :
Validate via vnc_apis CRUD of rbac acl and objects
steps:
1. Add user1 as role1 and user2 as role2 to the project
2. Both user1 and user2 shouldnt be able to create VNs/STs
3. Create Rbac ACL under project with VN.* role1:CRUD rule
4. user1 should be able to create VN, but not Service-Template
5. Create Rbac ACL under domain with ST.* role1:CRUD rule
6. user1 should be able to create Service-Template
7. user2 shouldnt be able to read the created VN/ST or create new
8. Update the acl rule with Read perms for role2
9. user2 should be able to read created VN but not create new VNs
10. user2 should be able to read created ST but not create new STs
11. Delete the acl rule with Read perms for role2
12. user2 shouldnt be able to read the created ST/VN or create new VN/ST
13. Update global acl with role2:R for both VN and ST
14. user2 should be able to read VN and ST
13. Delete both project and domain acls
14. user1 shouldnt be able to read/delete VN/ST
15. Update global acl with role1:CRUD for both VN/ST
16. user1 should now be able to delete both VN and ST
17. Delete global acl
pass : acl creation and update should complete scucessfully.
2025-11-13 13:19:56,921 - INFO - Initial checks done. Running the testcase now
2025-11-13 13:19:56,921 - INFO -
2025-11-13 13:19:59,076 - INFO - Permission denied to create/update VirtualNetwork
2025-11-13 13:19:59,410 - INFO - API access-list 1993caae-4d66-4ebf-b47a-985682426292 verify on api server passed
2025-11-13 13:19:59,648 - INFO - Created VN ctest-TestRbacBasic-30224874-14815166, UUID :c81eff0c-fad4-4afb-8d0a-4671de83518c
2025-11-13 13:20:00,276 - INFO - Verified VN network id 12 for VN c81eff0c-fad4-4afb-8d0a-4671de83518c
2025-11-13 13:20:00,277 - INFO - Verifications in API Server for VN ctest-TestRbacBasic-30224874-14815166 passed
2025-11-13 13:20:00,316 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-TestRbacBasic-30224874-14815166 passed
2025-11-13 13:20:00,421 - INFO - Validated that VN default-domain:ctest-TestRbacBasic-30224874:ctest-TestRbacBasic-30224874-14815166 is found in opserver
2025-11-13 13:20:00,727 - INFO - API access-list 6cb8d834-be4c-4414-80e7-6c27da6e6c66 verify on api server passed
2025-11-13 13:20:01,577 - INFO - API Server: Permission Denied to read VN c81eff0c-fad4-4afb-8d0a-4671de83518c
2025-11-13 13:20:01,905 - INFO - API Server: Permission Denied to read ST e83447b8-f2ee-4e8e-8edb-917b6d44fcae
2025-11-13 13:20:02,511 - INFO - API access-list 1993caae-4d66-4ebf-b47a-985682426292 verify on api server passed
2025-11-13 13:20:02,529 - INFO - API Server: Read VN c81eff0c-fad4-4afb-8d0a-4671de83518c
2025-11-13 13:20:03,044 - INFO - Permission denied to create/update VirtualNetwork
2025-11-13 13:20:03,388 - INFO - API Server: Permission Denied to read ST e83447b8-f2ee-4e8e-8edb-917b6d44fcae
2025-11-13 13:20:03,683 - INFO - API access-list 6cb8d834-be4c-4414-80e7-6c27da6e6c66 verify on api server passed
2025-11-13 13:20:03,698 - INFO - API Server: Read Service-Template e83447b8-f2ee-4e8e-8edb-917b6d44fcae
2025-11-13 13:20:03,934 - INFO - API access-list 1993caae-4d66-4ebf-b47a-985682426292 verify on api server passed
2025-11-13 13:20:04,040 - INFO - API access-list 6cb8d834-be4c-4414-80e7-6c27da6e6c66 verify on api server passed
2025-11-13 13:20:04,373 - INFO - API Server: Permission Denied to read VN c81eff0c-fad4-4afb-8d0a-4671de83518c
2025-11-13 13:20:04,700 - INFO - API Server: Permission Denied to read ST e83447b8-f2ee-4e8e-8edb-917b6d44fcae
2025-11-13 13:20:05,418 - INFO - API Server: Read Service-Template e83447b8-f2ee-4e8e-8edb-917b6d44fcae
2025-11-13 13:20:05,438 - INFO - API Server: Read VN c81eff0c-fad4-4afb-8d0a-4671de83518c
2025-11-13 13:20:05,697 - INFO - API access-list (1993caae-4d66-4ebf-b47a-985682426292) got deleted in api server
2025-11-13 13:20:05,722 - INFO - API access-list (6cb8d834-be4c-4414-80e7-6c27da6e6c66) got deleted in api server
2025-11-13 13:20:06,041 - INFO - API Server: Permission Denied to read VN c81eff0c-fad4-4afb-8d0a-4671de83518c
2025-11-13 13:20:06,365 - INFO - API Server: Permission Denied to read ST e83447b8-f2ee-4e8e-8edb-917b6d44fcae
2025-11-13 13:20:06,967 - INFO - API Server: Read VN c81eff0c-fad4-4afb-8d0a-4671de83518c
2025-11-13 13:20:06,977 - INFO - API Server: Read Service-Template e83447b8-f2ee-4e8e-8edb-917b6d44fcae
2025-11-13 13:20:07,284 - INFO - Service template: ['default-domain', 'ctest-TestRbacBasic-30224874-48582748'] deleted successfully.
2025-11-13 13:20:07,284 - INFO - Deleting VN ctest-TestRbacBasic-30224874-14815166
2025-11-13 13:20:07,805 - INFO - END TEST : test_rbac_acl_different_roles : PASSED[0:00:11]
2025-11-13 13:20:07,805 - INFO - --------------------------------------------------------------------------------
2025-11-13 13:20:09,092 - INFO - Deleted project: ctest-TestRbacBasic-30224874, ID : fed67db1-ca11-4af5-8536-831aa95737a3
2025-11-13 13:20:09,276 - INFO - Using existing project ['default-domain', 'admin'](d19b8e22-5490-4f6b-a41f-d4f8b19a3058)
2025-11-13 13:20:09,283 - INFO - ================================================================================
2025-11-13 13:20:09,283 - INFO - STARTING TEST : test_contrail_status
2025-11-13 13:20:09,283 - INFO - TEST DESCRIPTION : Test to verify that all services are running and active
2025-11-13 13:20:09,401 - INFO - Initial checks done. Running the testcase now
2025-11-13 13:20:09,401 - INFO -
2025-11-13 13:20:09,493 - INFO - 10.0.0.50
2025-11-13 13:20:09,493 - INFO - config
2025-11-13 13:20:09,498 - INFO - config-nodemgr:active
2025-11-13 13:20:09,503 - INFO - api-server:active
2025-11-13 13:20:09,507 - INFO - schema:active
2025-11-13 13:20:09,512 - INFO - svc-monitor:active
2025-11-13 13:20:09,518 - INFO - device-manager:active
2025-11-13 13:20:09,518 - INFO - config-database
2025-11-13 13:20:09,518 - INFO - config-cassandra:active
2025-11-13 13:20:09,518 - INFO - config-zookeeper:active
2025-11-13 13:20:09,518 - INFO - config-rabbitmq:active
2025-11-13 13:20:09,518 - INFO - vrouter
2025-11-13 13:20:09,523 - INFO - vrouter-nodemgr:active
2025-11-13 13:20:09,529 - INFO - agent:active
2025-11-13 13:20:09,529 - INFO - control
2025-11-13 13:20:09,534 - INFO - control-nodemgr:active
2025-11-13 13:20:09,538 - INFO - control:active
2025-11-13 13:20:09,538 - INFO - named:active
2025-11-13 13:20:09,542 - INFO - dns:active
2025-11-13 13:20:09,542 - INFO - analytics
2025-11-13 13:20:09,546 - INFO - analytics-nodemgr:active
2025-11-13 13:20:09,550 - INFO - analytics-api:active
2025-11-13 13:20:09,558 - INFO - collector:active
2025-11-13 13:20:09,558 - INFO - analytics-database
2025-11-13 13:20:09,559 - INFO - analytics-cassandra:active
2025-11-13 13:20:09,563 - INFO - analyticsdb-nodemgr:active
2025-11-13 13:20:09,569 - INFO - query-engine:active
2025-11-13 13:20:09,569 - INFO - webui
2025-11-13 13:20:09,570 - INFO - webui:active
2025-11-13 13:20:09,570 - INFO - webui-middleware:active
2025-11-13 13:20:09,570 - INFO - redis:active
2025-11-13 13:20:09,570 - INFO - analytics_snmp
2025-11-13 13:20:09,573 - INFO - snmp-collector:active
2025-11-13 13:20:09,573 - INFO - snmp-topology:active
2025-11-13 13:20:09,574 - INFO - analytics_alarm
2025-11-13 13:20:09,574 - INFO - alarmgen:active
2025-11-13 13:20:09,574 - INFO - All the contrail services are up on all nodes
2025-11-13 13:20:09,574 - INFO - contrail-status passed
2025-11-13 13:20:09,696 - INFO - END TEST : test_contrail_status : PASSED[0:00:00]
2025-11-13 13:20:09,697 - INFO - --------------------------------------------------------------------------------
2025-11-13 13:20:09,767 - INFO - Domain Default found not creating
2025-11-13 13:20:09,903 - INFO - Project ctest-TestSriov-61667560 not found, creating it
2025-11-13 13:20:10,360 - INFO - Created Project:ctest-TestSriov-61667560, ID : b5dec93d-28de-4dab-b438-b7c9c412ab72
2025-11-13 13:20:12,411 - INFO - Deleted project: ctest-TestSriov-61667560, ID : b5dec93d-28de-4dab-b438-b7c9c412ab72
+ [[ -z '' ]]
+ [[ -z ci_sanity ]]
+ sleep 2
+ /usr/bin/python3 tools/report_gen.py contrail_test_input.yaml report_details_2025_11_13_13_13_26.ini
/usr/local/lib/python3.9/site-packages/pbr/version.py:439: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
[localhost] local: rpm -q --queryformat '%{VERSION}-' contrail-lib; rpm -q --queryformat '%{RELEASE}' contrail-lib | awk -F'.' '{print $1}'
Traceback (most recent call last):
File "/contrail-test/tools/report_gen.py", line 246, in
main(sys.argv[1], sys.argv[2])
File "/contrail-test/tools/report_gen.py", line 241, in main
obj.setUp()
File "/contrail-test/tools/report_gen.py", line 53, in setUp
self.setup_detail = '%s %s~%s' % (self.get_distro(), self.build_id,
File "/contrail-test/tools/report_gen.py", line 206, in get_distro
self.distro = self.run_cmd_on_server(self.cfgm_ips[0], cmd, container='controller')
File "/contrail-test/common/contrail_test_init.py", line 974, in run_cmd_on_server
raise Exception(msg)
Exception: Container controller is not present on host 10.0.0.50
+ echo 'Generated report_details* file: report_details_2025_11_13_13_13_26.ini'
Generated report_details* file: report_details_2025_11_13_13_13_26.ini
+ parse_results
+ /usr/bin/python3 tools/parse_result.py result_2025_11_13_13_13_26_30063.xml report_details_2025_11_13_13_13_26.ini
Traceback (most recent call last):
File "/contrail-test/tools/parse_result.py", line 81, in