is: {'code': 500, 'created': '2025-10-19T23:43:04Z', '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-10-19 23:43:04,778 - INFO - Deleting VN ctest-vn2_metadata-08209650
2025-10-19 23:43:05,142 - 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-10-19 23:43:05,149 - INFO -
2025-10-19 23:43:05,149 - INFO - END TEST : test_generic_link_local_service : FAILED[0:00:03]
2025-10-19 23:43:05,149 - INFO - --------------------------------------------------------------------------------
2025-10-19 23:43:05,155 - INFO - ================================================================================
2025-10-19 23:43:05,155 - INFO - STARTING TEST : test_metadata_service
2025-10-19 23:43:05,155 - 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-10-19 23:43:05,456 - INFO - Initial checks done. Running the testcase now
2025-10-19 23:43:05,456 - INFO -
2025-10-19 23:43:06,199 - INFO - Created VN ctest-vn-11035246
2025-10-19 23:43:07,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4366-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4366-1)
2025-10-19 23:43:07,440 - INFO - Waiting for VM ctest-TestBasicVMVN-57576733-60652749 to be up..
2025-10-19 23:43:07,496 - ERROR - VM in error state.
2025-10-19 23:43:07,496 - ERROR - VM is not in ACTIVE state
2025-10-19 23:43:07,569 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-19 23:43:07,571 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-57576733-60652749 in state ERROR
2025-10-19 23:43:07,571 - INFO - Deleting VM ctest-TestBasicVMVN-57576733-60652749
2025-10-19 23:43:07,571 - ERROR - VM ctest-TestBasicVMVN-57576733-60652749 has failed to come up
2025-10-19 23:43:07,571 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-19T23:43:07Z', '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-10-19 23:43:07,571 - INFO - Deleting VN ctest-vn-11035246
2025-10-19 23:43:07,914 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Sun Oct 19 23:43:07 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-10-19 23:43:07,920 - INFO -
2025-10-19 23:43:07,920 - INFO - END TEST : test_metadata_service : FAILED[0:00:02]
2025-10-19 23:43:07,920 - INFO - --------------------------------------------------------------------------------
2025-10-19 23:43:07,922 - INFO - ================================================================================
2025-10-19 23:43:07,922 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets
2025-10-19 23:43:07,922 - 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-10-19 23:43:08,211 - INFO - Initial checks done. Running the testcase now
2025-10-19 23:43:08,211 - INFO -
2025-10-19 23:43:08,994 - INFO - Created VN ctest-vn-39642105
2025-10-19 23:43:09,966 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4366-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4366-1)
2025-10-19 23:43:10,427 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4366-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4366-1)
2025-10-19 23:43:11,522 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4366-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4366-1)
2025-10-19 23:43:11,615 - INFO - Verifications in API Server for IPAM: ctest-ipam-58264904 passed
2025-10-19 23:43:11,620 - INFO - Verifications in Control node for IPAM: ctest-ipam-58264904 passed
2025-10-19 23:43:11,765 - INFO - Verified VN network id 12 for VN 82bf8b7f-643f-4614-9bd5-888a9e801bb4
2025-10-19 23:43:11,766 - INFO - Verifications in API Server for VN ctest-vn-39642105 passed
2025-10-19 23:43:11,801 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39642105 passed
2025-10-19 23:43:12,251 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-57576733:ctest-vn-39642105 is found in opserver
2025-10-19 23:43:12,264 - INFO - Waiting for VM ctest-TestBasicVMVN-57576733-01700023 to be up..
2025-10-19 23:43:12,319 - ERROR - VM in error state.
2025-10-19 23:43:12,319 - ERROR - VM is not in ACTIVE state
2025-10-19 23:43:12,390 - ERROR - Fatal Nova Exception while getting VM detail
2025-10-19 23:43:12,391 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-57576733-43105804 in state BUILD
2025-10-19 23:43:12,391 - INFO - Deleting VM ctest-TestBasicVMVN-57576733-43105804
2025-10-19 23:43:12,391 - ERROR - VM ctest-TestBasicVMVN-57576733-43105804 has failed to come up
2025-10-19 23:43:12,391 - ERROR - Nova failed to get host of the VM
2025-10-19 23:43:12,542 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-57576733-47616950 in state BUILD
2025-10-19 23:43:12,542 - INFO - Deleting VM ctest-TestBasicVMVN-57576733-47616950
2025-10-19 23:43:12,542 - ERROR - VM ctest-TestBasicVMVN-57576733-47616950 has failed to come up
2025-10-19 23:43:12,542 - ERROR - Nova failed to get host of the VM
2025-10-19 23:43:12,694 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-57576733-01700023 in state ERROR
2025-10-19 23:43:12,694 - INFO - Deleting VM ctest-TestBasicVMVN-57576733-01700023
2025-10-19 23:43:12,694 - ERROR - VM ctest-TestBasicVMVN-57576733-01700023 has failed to come up
2025-10-19 23:43:12,695 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-10-19T23:43:09Z', '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-10-19 23:43:12,695 - INFO - Deleting VN ctest-vn-39642105
2025-10-19 23:43:13,160 - INFO - Validated that VN ctest-vn-39642105 is not found in API Server
2025-10-19 23:43:13,171 - INFO - Validated that VN ctest-vn-39642105 is not in any agent
2025-10-19 23:43:13,183 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39642105 info
2025-10-19 23:43:13,258 - INFO - IPAM: ctest-ipam-58264904 is not found in API Server
2025-10-19 23:43:13,269 - INFO - IPAM:ctest-ipam-58264904 is not found in control node
2025-10-19 23:43:13,519 - ERROR - AssertionError
Python 3.9.21: /usr/bin/python3
Sun Oct 19 23:43:12 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-10-19 23:43:13,524 - INFO -
2025-10-19 23:43:13,524 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : FAILED[0:00:06]
2025-10-19 23:43:13,524 - INFO - --------------------------------------------------------------------------------
2025-10-19 23:43:14,180 - INFO - Deleted project: ctest-TestBasicVMVN-57576733, ID : 8ea471b5-5825-474e-8fc4-ac6fd2320d32
+ '[' 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_10_19_23_38_18_28020.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-10-19 23:43:21,312 - INFO - Domain Default found not creating
2025-10-19 23:43:21,806 - INFO - Project ctest-TestRbac-18867458 not found, creating it
2025-10-19 23:43:22,257 - INFO - Created Project:ctest-TestRbac-18867458, ID : 79ac2afb-52c1-4172-be39-305b2e2c6573
2025-10-19 23:43:25,798 - INFO - ================================================================================
2025-10-19 23:43:25,798 - INFO - STARTING TEST : test_perms2_global_share
2025-10-19 23:43:25,798 - 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-10-19 23:43:26,244 - INFO - Initial checks done. Running the testcase now
2025-10-19 23:43:26,244 - INFO -
2025-10-19 23:43:26,584 - INFO - Project ctest-TestRbac-69847194 not found, creating it
2025-10-19 23:43:27,004 - INFO - Created Project:ctest-TestRbac-69847194, ID : fc1399d3-97c1-4d57-a7ab-5fb55cafe7a1
2025-10-19 23:43:27,361 - INFO - Project ctest-TestRbac-18475869 not found, creating it
2025-10-19 23:43:27,823 - INFO - Created Project:ctest-TestRbac-18475869, ID : c89befd6-055f-4b32-8daf-b4b1612f2ef8
2025-10-19 23:43:30,007 - INFO - API access-list da51dd02-1a24-49c6-a859-9cf925008099 verify on api server passed
2025-10-19 23:43:30,598 - INFO - Created VN ctest-TestRbac-69847194-96184693, UUID :a67de7b3-de94-482d-9f7e-a3fc8d20ced8
2025-10-19 23:43:31,328 - INFO - API Server: Read VN a67de7b3-de94-482d-9f7e-a3fc8d20ced8
2025-10-19 23:43:31,671 - INFO - API Server: Read VN a67de7b3-de94-482d-9f7e-a3fc8d20ced8
2025-10-19 23:43:32,476 - WARNING - Unable to get the list of compute nodes
2025-10-19 23:43:33,595 - INFO - VM ([]) created on node: (None), Zone: (None)
2025-10-19 23:43:38,709 - INFO - VM name : ctest-TestRbac-18475869-06448401
2025-10-19 23:43:39,108 - INFO - VM ctest-TestRbac-18475869-06448401 verfication in all API Servers passed
2025-10-19 23:43:45,499 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRbac-18475869-06448401 passed
2025-10-19 23:43:45,499 - INFO - VM ctest-TestRbac-18475869-06448401 verifications in Compute nodes passed
2025-10-19 23:43:45,723 - INFO - Validated routes of VM ctest-TestRbac-18475869-06448401 in all vrouters
2025-10-19 23:43:46,259 - INFO - Verification in Control-nodes for VM ctest-TestRbac-18475869-06448401 passed
2025-10-19 23:44:04,245 - INFO - Verifying through opserver in 10.0.0.254
2025-10-19 23:44:04,419 - INFO - VM 2cd82a0e-d228-4496-8c56-03361f520712 is present in default-domain:ctest-TestRbac-69847194:ctest-TestRbac-69847194-96184693
2025-10-19 23:44:06,142 - INFO - tap interface default-domain:ctest-TestRbac-18475869:78af4b78-3eb3-4fe1-a46d-de41ac863f46 of vm 2cd82a0e-d228-4496-8c56-03361f520712 is present in vrouter cn-jenkins-deploy-platform-ansible-os-4366-1 uve
2025-10-19 23:44:06,257 - INFO - VM ctest-TestRbac-18475869-06448401 validations in Opserver passed
2025-10-19 23:44:06,257 - INFO - Deleting VM ctest-TestRbac-18475869-06448401
2025-10-19 23:44:08,399 - INFO - VM ctest-TestRbac-18475869-06448401 is fully removed in API-Server
2025-10-19 23:44:08,501 - INFO - Validated that all vrouters do not have VMs route for VN default-domain:ctest-TestRbac-69847194:ctest-TestRbac-69847194-96184693
2025-10-19 23:44:08,501 - INFO - VM ctest-TestRbac-18475869-06448401 is removed in Compute, and routes are removed in all compute nodes
2025-10-19 23:44:08,759 - INFO - Routes for VM ctest-TestRbac-18475869-06448401 is removed in all control-nodes
2025-10-19 23:44:34,257 - INFO - 2cd82a0e-d228-4496-8c56-03361f520712 vm uve deleted from opserver
2025-10-19 23:44:34,257 - INFO - Validated that VM 2cd82a0e-d228-4496-8c56-03361f520712 is removed from Opserver
2025-10-19 23:44:34,257 - INFO - Deleting VN ctest-TestRbac-69847194-96184693
2025-10-19 23:44:34,360 - INFO - API access-list (da51dd02-1a24-49c6-a859-9cf925008099) got deleted in api server
2025-10-19 23:44:35,262 - INFO - Deleted project: ctest-TestRbac-18475869, ID : c89befd6-055f-4b32-8daf-b4b1612f2ef8
2025-10-19 23:44:35,957 - INFO - Deleted project: ctest-TestRbac-69847194, ID : fc1399d3-97c1-4d57-a7ab-5fb55cafe7a1
2025-10-19 23:44:36,079 - INFO - END TEST : test_perms2_global_share : PASSED[0:01:11]
2025-10-19 23:44:36,079 - INFO - --------------------------------------------------------------------------------
2025-10-19 23:44:37,421 - INFO - Deleted project: ctest-TestRbac-18867458, ID : 79ac2afb-52c1-4172-be39-305b2e2c6573
2025-10-19 23:44:37,602 - INFO - Domain Default found not creating
2025-10-19 23:44:37,742 - INFO - Project ctest-TestRbacBasic-16745770 not found, creating it
2025-10-19 23:44:38,171 - INFO - Created Project:ctest-TestRbacBasic-16745770, ID : d2ce93e1-9097-4054-a8e3-d6e2328ddc44
2025-10-19 23:44:41,660 - INFO - ================================================================================
2025-10-19 23:44:41,660 - INFO - STARTING TEST : test_perms2_owner
2025-10-19 23:44:41,660 - 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-10-19 23:44:41,783 - INFO - Initial checks done. Running the testcase now
2025-10-19 23:44:41,783 - INFO -
2025-10-19 23:44:42,133 - INFO - Project ctest-TestRbacBasic-27434912 not found, creating it
2025-10-19 23:44:42,584 - INFO - Created Project:ctest-TestRbacBasic-27434912, ID : 2a64c54c-ed7e-4f11-857a-24f697ab51fa
2025-10-19 23:44:42,938 - INFO - Project ctest-TestRbacBasic-57612006 not found, creating it
2025-10-19 23:44:43,369 - INFO - Created Project:ctest-TestRbacBasic-57612006, ID : 7a65ff33-3552-4324-9829-075fd286bb33
2025-10-19 23:44:45,532 - INFO - API access-list 942af036-4b30-4c0f-979d-a6b166b8a7c0 verify on api server passed
2025-10-19 23:44:46,075 - INFO - Created VN ctest-TestRbacBasic-27434912-16399941, UUID :c5a43ace-9f47-4cfa-92f2-42b4d887069e
2025-10-19 23:44:47,010 - INFO - Created VN ctest-TestRbacBasic-57612006-20553785, UUID :b975ed71-a273-4e61-8bb0-922f4997bc42
2025-10-19 23:44:47,714 - INFO - API Server: Read VN c5a43ace-9f47-4cfa-92f2-42b4d887069e
2025-10-19 23:44:48,118 - INFO - API Server: Permission Denied to read VN c5a43ace-9f47-4cfa-92f2-42b4d887069e
2025-10-19 23:44:48,137 - INFO - API Server: Read VN c5a43ace-9f47-4cfa-92f2-42b4d887069e
2025-10-19 23:44:48,191 - INFO - API Server: List VN ['c5a43ace-9f47-4cfa-92f2-42b4d887069e']
2025-10-19 23:44:48,224 - INFO - API Server: List VN ['b975ed71-a273-4e61-8bb0-922f4997bc42']
2025-10-19 23:44:48,271 - INFO - API Server: List VN []
2025-10-19 23:44:48,290 - INFO - API Server: List VN ['c5a43ace-9f47-4cfa-92f2-42b4d887069e', 'b975ed71-a273-4e61-8bb0-922f4997bc42']
2025-10-19 23:44:48,295 - INFO - API Server: List VN ['c5a43ace-9f47-4cfa-92f2-42b4d887069e', 'b975ed71-a273-4e61-8bb0-922f4997bc42', 'b4848662-55e4-49af-bfde-a079a00855e8', 'f1929923-8b05-4a19-9dc5-b981c8a20471', '22d26012-d4e8-4592-bd74-66540c20f9c7', 'fdce445a-599c-475d-959d-afbd04d07470']
2025-10-19 23:44:48,320 - INFO - Deleting VN ctest-TestRbacBasic-57612006-20553785
2025-10-19 23:44:48,387 - INFO - Deleting VN ctest-TestRbacBasic-27434912-16399941
2025-10-19 23:44:48,484 - INFO - API access-list (942af036-4b30-4c0f-979d-a6b166b8a7c0) got deleted in api server
2025-10-19 23:44:49,346 - INFO - Deleted project: ctest-TestRbacBasic-57612006, ID : 7a65ff33-3552-4324-9829-075fd286bb33
2025-10-19 23:44:50,030 - INFO - Deleted project: ctest-TestRbacBasic-27434912, ID : 2a64c54c-ed7e-4f11-857a-24f697ab51fa
2025-10-19 23:44:50,155 - INFO - END TEST : test_perms2_owner : PASSED[0:00:09]
2025-10-19 23:44:50,156 - INFO - --------------------------------------------------------------------------------
2025-10-19 23:44:50,160 - INFO - ================================================================================
2025-10-19 23:44:50,161 - INFO - STARTING TEST : test_rbac_acl_different_roles
2025-10-19 23:44:50,161 - 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-10-19 23:44:50,320 - INFO - Initial checks done. Running the testcase now
2025-10-19 23:44:50,320 - INFO -
2025-10-19 23:44:52,475 - INFO - Permission denied to create/update VirtualNetwork
2025-10-19 23:44:52,825 - INFO - API access-list 517b215a-6b04-45b6-b3b9-656d20eda9e9 verify on api server passed
2025-10-19 23:44:53,079 - INFO - Created VN ctest-TestRbacBasic-16745770-07964442, UUID :ef8fce61-a2f0-4ff3-9904-c1a4ed07985a
2025-10-19 23:44:53,743 - INFO - Verified VN network id 12 for VN ef8fce61-a2f0-4ff3-9904-c1a4ed07985a
2025-10-19 23:44:53,743 - INFO - Verifications in API Server for VN ctest-TestRbacBasic-16745770-07964442 passed
2025-10-19 23:44:53,782 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-TestRbacBasic-16745770-07964442 passed
2025-10-19 23:44:54,273 - INFO - Validated that VN default-domain:ctest-TestRbacBasic-16745770:ctest-TestRbacBasic-16745770-07964442 is found in opserver
2025-10-19 23:44:54,577 - INFO - API access-list aae3f1e9-ef20-4a07-b971-09415906e63b verify on api server passed
2025-10-19 23:44:55,333 - INFO - API Server: Permission Denied to read VN ef8fce61-a2f0-4ff3-9904-c1a4ed07985a
2025-10-19 23:44:55,746 - INFO - API Server: Permission Denied to read ST 03f232ef-38ec-45ca-b368-42864d5c33cd
2025-10-19 23:44:55,810 - INFO - API access-list 517b215a-6b04-45b6-b3b9-656d20eda9e9 verify on api server passed
2025-10-19 23:44:55,832 - INFO - API Server: Read VN ef8fce61-a2f0-4ff3-9904-c1a4ed07985a
2025-10-19 23:44:56,342 - INFO - Permission denied to create/update VirtualNetwork
2025-10-19 23:44:56,683 - INFO - API Server: Permission Denied to read ST 03f232ef-38ec-45ca-b368-42864d5c33cd
2025-10-19 23:44:56,745 - INFO - API access-list aae3f1e9-ef20-4a07-b971-09415906e63b verify on api server passed
2025-10-19 23:44:56,760 - INFO - API Server: Read Service-Template 03f232ef-38ec-45ca-b368-42864d5c33cd
2025-10-19 23:44:57,003 - INFO - API access-list 517b215a-6b04-45b6-b3b9-656d20eda9e9 verify on api server passed
2025-10-19 23:44:57,111 - INFO - API access-list aae3f1e9-ef20-4a07-b971-09415906e63b verify on api server passed
2025-10-19 23:44:57,444 - INFO - API Server: Permission Denied to read VN ef8fce61-a2f0-4ff3-9904-c1a4ed07985a
2025-10-19 23:44:57,790 - INFO - API Server: Permission Denied to read ST 03f232ef-38ec-45ca-b368-42864d5c33cd
2025-10-19 23:44:57,866 - INFO - API Server: Read Service-Template 03f232ef-38ec-45ca-b368-42864d5c33cd
2025-10-19 23:44:57,884 - INFO - API Server: Read VN ef8fce61-a2f0-4ff3-9904-c1a4ed07985a
2025-10-19 23:44:57,910 - INFO - API access-list (517b215a-6b04-45b6-b3b9-656d20eda9e9) got deleted in api server
2025-10-19 23:44:57,933 - INFO - API access-list (aae3f1e9-ef20-4a07-b971-09415906e63b) got deleted in api server
2025-10-19 23:44:58,259 - INFO - API Server: Permission Denied to read VN ef8fce61-a2f0-4ff3-9904-c1a4ed07985a
2025-10-19 23:44:58,587 - INFO - API Server: Permission Denied to read ST 03f232ef-38ec-45ca-b368-42864d5c33cd
2025-10-19 23:44:58,663 - INFO - API Server: Read VN ef8fce61-a2f0-4ff3-9904-c1a4ed07985a
2025-10-19 23:44:58,676 - INFO - API Server: Read Service-Template 03f232ef-38ec-45ca-b368-42864d5c33cd
2025-10-19 23:44:58,766 - INFO - Service template: ['default-domain', 'ctest-TestRbacBasic-16745770-00120138'] deleted successfully.
2025-10-19 23:44:58,767 - INFO - Deleting VN ctest-TestRbacBasic-16745770-07964442
2025-10-19 23:44:59,308 - INFO - END TEST : test_rbac_acl_different_roles : PASSED[0:00:09]
2025-10-19 23:44:59,308 - INFO - --------------------------------------------------------------------------------
2025-10-19 23:45:00,615 - INFO - Deleted project: ctest-TestRbacBasic-16745770, ID : d2ce93e1-9097-4054-a8e3-d6e2328ddc44
2025-10-19 23:45:00,793 - INFO - Using existing project ['default-domain', 'admin'](0034b8f2-8e07-4bab-8a98-c91cd52e7898)
2025-10-19 23:45:00,802 - INFO - ================================================================================
2025-10-19 23:45:00,802 - INFO - STARTING TEST : test_contrail_status
2025-10-19 23:45:00,802 - INFO - TEST DESCRIPTION : Test to verify that all services are running and active
2025-10-19 23:45:00,929 - INFO - Initial checks done. Running the testcase now
2025-10-19 23:45:00,929 - INFO -
2025-10-19 23:45:01,039 - INFO - 10.0.0.254
2025-10-19 23:45:01,039 - INFO - config
2025-10-19 23:45:01,045 - INFO - config-nodemgr:active
2025-10-19 23:45:01,049 - INFO - api-server:active
2025-10-19 23:45:01,053 - INFO - schema:active
2025-10-19 23:45:01,057 - INFO - svc-monitor:active
2025-10-19 23:45:01,061 - INFO - device-manager:active
2025-10-19 23:45:01,061 - INFO - config-database
2025-10-19 23:45:01,061 - INFO - config-cassandra:active
2025-10-19 23:45:01,062 - INFO - config-zookeeper:active
2025-10-19 23:45:01,062 - INFO - config-rabbitmq:active
2025-10-19 23:45:01,062 - INFO - vrouter
2025-10-19 23:45:01,066 - INFO - vrouter-nodemgr:active
2025-10-19 23:45:01,071 - INFO - agent:active
2025-10-19 23:45:01,071 - INFO - control
2025-10-19 23:45:01,075 - INFO - control-nodemgr:active
2025-10-19 23:45:01,080 - INFO - control:active
2025-10-19 23:45:01,080 - INFO - named:active
2025-10-19 23:45:01,084 - INFO - dns:active
2025-10-19 23:45:01,084 - INFO - analytics
2025-10-19 23:45:01,088 - INFO - analytics-nodemgr:active
2025-10-19 23:45:01,092 - INFO - analytics-api:active
2025-10-19 23:45:01,097 - INFO - collector:active
2025-10-19 23:45:01,097 - INFO - analytics-database
2025-10-19 23:45:01,097 - INFO - analytics-cassandra:active
2025-10-19 23:45:01,102 - INFO - analyticsdb-nodemgr:active
2025-10-19 23:45:01,107 - INFO - query-engine:active
2025-10-19 23:45:01,107 - INFO - webui
2025-10-19 23:45:01,107 - INFO - webui:active
2025-10-19 23:45:01,107 - INFO - webui-middleware:active
2025-10-19 23:45:01,107 - INFO - redis:active
2025-10-19 23:45:01,108 - INFO - analytics_snmp
2025-10-19 23:45:01,111 - INFO - snmp-collector:active
2025-10-19 23:45:01,112 - INFO - snmp-topology:active
2025-10-19 23:45:01,112 - INFO - analytics_alarm
2025-10-19 23:45:01,112 - INFO - alarmgen:active
2025-10-19 23:45:01,112 - INFO - All the contrail services are up on all nodes
2025-10-19 23:45:01,112 - INFO - contrail-status passed
2025-10-19 23:45:01,235 - INFO - END TEST : test_contrail_status : PASSED[0:00:01]
2025-10-19 23:45:01,235 - INFO - --------------------------------------------------------------------------------
2025-10-19 23:45:01,307 - INFO - Domain Default found not creating
2025-10-19 23:45:01,451 - INFO - Project ctest-TestSriov-16370415 not found, creating it
2025-10-19 23:45:01,915 - INFO - Created Project:ctest-TestSriov-16370415, ID : b0f92607-b72e-406c-b3fa-004ad31fad47
2025-10-19 23:45:04,089 - INFO - Deleted project: ctest-TestSriov-16370415, ID : b0f92607-b72e-406c-b3fa-004ad31fad47
+ [[ -z '' ]]
+ [[ -z ci_sanity ]]
+ sleep 2
+ /usr/bin/python3 tools/report_gen.py contrail_test_input.yaml report_details_2025_10_19_23_38_18.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.254
+ echo 'Generated report_details* file: report_details_2025_10_19_23_38_18.ini'
Generated report_details* file: report_details_2025_10_19_23_38_18.ini
+ parse_results
+ /usr/bin/python3 tools/parse_result.py result_2025_10_19_23_38_18_31870.xml report_details_2025_10_19_23_38_18.ini
Traceback (most recent call last):
File "/contrail-test/tools/parse_result.py", line 81, in