is: {'code': 500, 'created': '2025-03-28T20:17:47Z', '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-03-28 20:17:47,623 - INFO - Deleting VN ctest-vn2_metadata-86363636
2025-03-28 20:17:47,981 - 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 381, in vm_node_ip
self.get_host_of_vm(refresh=True))
File "/contrail-test/fixtures/vm_test.py", line 395, in get_host_of_vm
assert self.wait_till_vm_is_active()
AssertionError
2025-03-28 20:17:47,989 - INFO -
2025-03-28 20:17:47,989 - INFO - END TEST : test_generic_link_local_service : FAILED[0:00:03]
2025-03-28 20:17:47,989 - INFO - --------------------------------------------------------------------------------
2025-03-28 20:17:47,994 - INFO - ================================================================================
2025-03-28 20:17:47,995 - INFO - STARTING TEST : test_metadata_service
2025-03-28 20:17:47,995 - 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-03-28 20:17:48,275 - INFO - Initial checks done. Running the testcase now
2025-03-28 20:17:48,275 - INFO -
2025-03-28 20:17:49,028 - INFO - Created VN ctest-vn-29477839
2025-03-28 20:17:50,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2995-1)
2025-03-28 20:17:50,401 - INFO - Waiting for VM ctest-TestBasicVMVN-74567713-45700951 to be up..
2025-03-28 20:17:50,460 - ERROR - VM in error state.
2025-03-28 20:17:50,460 - ERROR - VM is not in ACTIVE state
2025-03-28 20:17:50,547 - ERROR - Fatal Nova Exception while getting VM detail
2025-03-28 20:17:50,549 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-74567713-45700951 in state ERROR
2025-03-28 20:17:50,549 - INFO - Deleting VM ctest-TestBasicVMVN-74567713-45700951
2025-03-28 20:17:50,549 - ERROR - VM ctest-TestBasicVMVN-74567713-45700951 has failed to come up
2025-03-28 20:17:50,549 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-03-28T20:17:50Z', '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-03-28 20:17:50,549 - INFO - Deleting VN ctest-vn-29477839
2025-03-28 20:17:50,921 - ERROR - AssertionError
Python 3.6.8: /usr/bin/python3
Fri Mar 28 20:17:50 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-03-28 20:17:50,927 - INFO -
2025-03-28 20:17:50,927 - INFO - END TEST : test_metadata_service : FAILED[0:00:03]
2025-03-28 20:17:50,928 - INFO - --------------------------------------------------------------------------------
2025-03-28 20:17:50,931 - INFO - ================================================================================
2025-03-28 20:17:50,931 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets
2025-03-28 20:17:50,931 - 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-03-28 20:17:51,235 - INFO - Initial checks done. Running the testcase now
2025-03-28 20:17:51,235 - INFO -
2025-03-28 20:17:52,146 - INFO - Created VN ctest-vn-59409557
2025-03-28 20:17:53,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2995-1)
2025-03-28 20:17:53,719 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2995-1)
2025-03-28 20:17:54,964 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2995-1)
2025-03-28 20:17:55,080 - INFO - Verifications in API Server for IPAM: ctest-ipam-83447683 passed
2025-03-28 20:17:55,087 - INFO - Verifications in Control node for IPAM: ctest-ipam-83447683 passed
2025-03-28 20:17:55,267 - INFO - Verified VN network id 8 for VN 2dd443a5-854b-426c-bad7-7be904511e91
2025-03-28 20:17:55,267 - INFO - Verifications in API Server for VN ctest-vn-59409557 passed
2025-03-28 20:17:55,323 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59409557 passed
2025-03-28 20:17:55,844 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-74567713:ctest-vn-59409557 is found in opserver
2025-03-28 20:17:55,863 - INFO - Waiting for VM ctest-TestBasicVMVN-74567713-43125072 to be up..
2025-03-28 20:17:55,925 - ERROR - VM in error state.
2025-03-28 20:17:55,925 - ERROR - VM is not in ACTIVE state
2025-03-28 20:17:56,013 - ERROR - Fatal Nova Exception while getting VM detail
2025-03-28 20:17:56,015 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-74567713-20956231 in state BUILD
2025-03-28 20:17:56,015 - INFO - Deleting VM ctest-TestBasicVMVN-74567713-20956231
2025-03-28 20:17:56,015 - ERROR - VM ctest-TestBasicVMVN-74567713-20956231 has failed to come up
2025-03-28 20:17:56,015 - ERROR - Nova failed to get host of the VM
2025-03-28 20:17:56,177 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-74567713-91407766 in state BUILD
2025-03-28 20:17:56,177 - INFO - Deleting VM ctest-TestBasicVMVN-74567713-91407766
2025-03-28 20:17:56,177 - ERROR - VM ctest-TestBasicVMVN-74567713-91407766 has failed to come up
2025-03-28 20:17:56,177 - ERROR - Nova failed to get host of the VM
2025-03-28 20:17:56,344 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-74567713-43125072 in state ERROR
2025-03-28 20:17:56,345 - INFO - Deleting VM ctest-TestBasicVMVN-74567713-43125072
2025-03-28 20:17:56,345 - ERROR - VM ctest-TestBasicVMVN-74567713-43125072 has failed to come up
2025-03-28 20:17:56,345 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-03-28T20:17:53Z', '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-03-28 20:17:56,345 - INFO - Deleting VN ctest-vn-59409557
2025-03-28 20:17:56,852 - INFO - Validated that VN ctest-vn-59409557 is not found in API Server
2025-03-28 20:17:56,865 - INFO - Validated that VN ctest-vn-59409557 is not in any agent
2025-03-28 20:17:56,882 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59409557 info
2025-03-28 20:17:56,965 - INFO - IPAM: ctest-ipam-83447683 is not found in API Server
2025-03-28 20:17:56,977 - INFO - IPAM:ctest-ipam-83447683 is not found in control node
2025-03-28 20:17:57,225 - ERROR - AssertionError
Python 3.6.8: /usr/bin/python3
Fri Mar 28 20:17:56 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-03-28 20:17:57,233 - INFO -
2025-03-28 20:17:57,233 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : FAILED[0:00:07]
2025-03-28 20:17:57,233 - INFO - --------------------------------------------------------------------------------
2025-03-28 20:17:57,955 - INFO - Deleted project: ctest-TestBasicVMVN-74567713, ID : 30878a27-30b4-4af0-a3d0-f409f3d2bb56
+ '[' 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_03_28_20_12_38_21020.xml
2025-03-28 20:18:07,470 - INFO - Using existing project ['default-domain', 'admin'](1974de39-9869-4b5b-9e1d-79e69f64bce6)
2025-03-28 20:18:07,696 - INFO - ================================================================================
2025-03-28 20:18:07,696 - INFO - STARTING TEST : test_contrail_status
2025-03-28 20:18:07,697 - INFO - TEST DESCRIPTION : Test to verify that all services are running and active
2025-03-28 20:18:07,822 - INFO - Initial checks done. Running the testcase now
2025-03-28 20:18:07,822 - INFO -
2025-03-28 20:18:07,933 - INFO - 10.0.0.40
2025-03-28 20:18:07,933 - INFO - config
2025-03-28 20:18:07,941 - INFO - config-nodemgr:active
2025-03-28 20:18:07,946 - INFO - api-server:active
2025-03-28 20:18:07,951 - INFO - schema:active
2025-03-28 20:18:07,955 - INFO - svc-monitor:active
2025-03-28 20:18:07,960 - INFO - device-manager:active
2025-03-28 20:18:07,960 - INFO - config-database
2025-03-28 20:18:07,960 - INFO - config-cassandra:active
2025-03-28 20:18:07,960 - INFO - config-zookeeper:active
2025-03-28 20:18:07,960 - INFO - config-rabbitmq:active
2025-03-28 20:18:07,960 - INFO - vrouter
2025-03-28 20:18:07,967 - INFO - vrouter-nodemgr:active
2025-03-28 20:18:07,973 - INFO - agent:active
2025-03-28 20:18:07,973 - INFO - control
2025-03-28 20:18:07,979 - INFO - control-nodemgr:active
2025-03-28 20:18:07,985 - INFO - control:active
2025-03-28 20:18:07,985 - INFO - named:active
2025-03-28 20:18:07,992 - INFO - dns:active
2025-03-28 20:18:07,992 - INFO - analytics
2025-03-28 20:18:07,998 - INFO - analytics-nodemgr:active
2025-03-28 20:18:08,003 - INFO - analytics-api:active
2025-03-28 20:18:08,009 - INFO - collector:active
2025-03-28 20:18:08,009 - INFO - analytics-database
2025-03-28 20:18:08,010 - INFO - analytics-cassandra:active
2025-03-28 20:18:08,016 - INFO - analyticsdb-nodemgr:active
2025-03-28 20:18:08,021 - INFO - query-engine:active
2025-03-28 20:18:08,022 - INFO - webui
2025-03-28 20:18:08,022 - INFO - webui:active
2025-03-28 20:18:08,022 - INFO - webui-middleware:active
2025-03-28 20:18:08,022 - INFO - redis:active
2025-03-28 20:18:08,022 - INFO - analytics_snmp
2025-03-28 20:18:08,026 - INFO - snmp-collector:active
2025-03-28 20:18:08,026 - INFO - snmp-topology:active
2025-03-28 20:18:08,027 - INFO - analytics_alarm
2025-03-28 20:18:08,027 - INFO - alarmgen:active
2025-03-28 20:18:08,027 - INFO - All the contrail services are up on all nodes
2025-03-28 20:18:08,027 - INFO - contrail-status passed
2025-03-28 20:18:08,150 - INFO - END TEST : test_contrail_status : PASSED[0:00:01]
2025-03-28 20:18:08,150 - INFO - --------------------------------------------------------------------------------
2025-03-28 20:18:08,201 - INFO - Domain Default found not creating
2025-03-28 20:18:08,345 - INFO - Project ctest-TestSriov-20412239 not found, creating it
2025-03-28 20:18:08,822 - INFO - Created Project:ctest-TestSriov-20412239, ID : 1d19ff8c-7d74-4696-a635-21ec706968ef
2025-03-28 20:18:11,230 - INFO - Deleted project: ctest-TestSriov-20412239, ID : 1d19ff8c-7d74-4696-a635-21ec706968ef
+ [[ -z '' ]]
+ [[ -z ci_sanity ]]
+ sleep 2
+ /usr/bin/python3 tools/report_gen.py contrail_test_input.yaml report_details_2025_03_28_20_12_38.ini
[localhost] local: rpm -q --queryformat '%{VERSION}-' contrail-lib; rpm -q --queryformat '%{RELEASE}' contrail-lib | awk -F'.' '{print $1}'
+ echo 'Generated report_details* file: report_details_2025_03_28_20_12_38.ini'
Generated report_details* file: report_details_2025_03_28_20_12_38.ini
+ parse_results
+ /usr/bin/python3 tools/parse_result.py result_2025_03_28_20_12_38_1388.xml report_details_2025_03_28_20_12_38.ini
+ /usr/bin/python3 tools/parse_result.py result_2025_03_28_20_12_38_21020.xml report_details_2025_03_28_20_12_38.ini
+ generate_html
+ '[' -f result_2025_03_28_20_12_38_1388.xml ']'
+ /usr/bin/python3 tools/update_testsuite_properties.py report_details_2025_03_28_20_12_38.ini result_2025_03_28_20_12_38_1388.xml
+ ant
Buildfile: /contrail-test/build.xml
junit-report:
[delete] Deleting directory /contrail-test/report
[junitreport] Processing /contrail-test/report/TESTS-TestSuites.xml to /contrail-test/report/junit-noframes.html
[junitreport] Loading stylesheet /contrail-test/junit-noframes.xsl
[junitreport] Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
[junitreport] Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
[junitreport] Transform time: 227ms
BUILD SUCCESSFUL
Total time: 0 seconds
+ echo 'Generate HTML reports in report/ folder : report/junit-noframes.html'
Generate HTML reports in report/ folder : report/junit-noframes.html
+ convert_logs_to_html
+ /usr/bin/python3 tools/convert_logs_to_html.py logs/
logs/testbasicpolicyipv4v6.log
logs/tcutils.util.log
logs/testsvcregr.log
logs/auth.log
logs/testvdnsbasic0.log
logs/testbasicpolicy.log
logs/testbasicvmvnx.log
logs/testbasicvmvn.log
logs/testroutersbasic.log
logs/analyticsbasictestsanity.log
logs/analyticstestsanity.log
logs/testheat.log
logs/testsriov.log
logs/floatingipbasictestsanity.log
logs/introspect.log
logs/__main__.log
logs/tcutils.collector.opserver_results.log
logs/common.contrail_test_init.log
+ echo 'Converted log files to html files'
Converted log files to html files
+ collect_tracebacks
+ export PYTHONPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/contrail-test:/contrail-test/fixtures:/contrail-test/serial_scripts:/contrail-test:/contrail-test/fixtures
+ PYTHONPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/contrail-test:/contrail-test/fixtures:/contrail-test/serial_scripts:/contrail-test:/contrail-test/fixtures
+ /usr/bin/python3 tools/collect_bts.py contrail_test_input.yaml
[ubuntu@10.0.0.40] put: tools/search-bt.py -> /tmp/search-bt.py
Traceback details will be in /tmp/cn-jenkins-deploy-platform-ansible-os-2995-1-tracebacks.log
Ignored Traceback details will be in /tmp/cn-jenkins-deploy-platform-ansible-os-2995-1-ignored_tracebacks.log
Traceback parse errors will be in /tmp/cn-jenkins-deploy-platform-ansible-os-2995-1-traceback_parse_failures.log
Done looking for tracebacks
[ubuntu@10.0.0.40] download: /contrail-test/logs/cn-jenkins-deploy-platform-ansible-os-2995-1-tracebacks.log <- /tmp/cn-jenkins-deploy-platform-ansible-os-2995-1-tracebacks.log
Warning: get() encountered an exception while downloading '/tmp/cn-jenkins-deploy-platform-ansible-os-2995-1-tracebacks.log'
Underlying exception:
No such file
[ubuntu@10.0.0.40] download: /contrail-test/logs/cn-jenkins-deploy-platform-ansible-os-2995-1-ignored_tracebacks.log <- /tmp/cn-jenkins-deploy-platform-ansible-os-2995-1-ignored_tracebacks.log
Warning: get() encountered an exception while downloading '/tmp/cn-jenkins-deploy-platform-ansible-os-2995-1-ignored_tracebacks.log'
Underlying exception:
No such file
[ubuntu@10.0.0.40] download: /contrail-test/logs/cn-jenkins-deploy-platform-ansible-os-2995-1-traceback_parse_failures.log <- /tmp/cn-jenkins-deploy-platform-ansible-os-2995-1-traceback_parse_failures.log
+ sleep 2
+ retval=0
+ '[' 0 -lt 101 ']'
+ exit 100
+ rv_run_test=100
+ '[' -d /contrail-test.save ']'
+ cp -f /opt/contrail/utils/fabfile/testbeds/testbed.py /contrail-test.save/
cp: cannot stat ‘/opt/contrail/utils/fabfile/testbeds/testbed.py’: No such file or directory
+ rsync -L -a --exclude logs/ --exclude report/ /contrail-test /contrail-test.save/
+ exit 100
tput: No value for $TERM and no -T specified
ERROR: there were failures during the test.
See detailed logs in /home/ubuntu/contrail-test-runs
INFO: collect logs
~/contrail-test-runs/2025_03_28_20_12_37 ~
logs/
logs/testbasicpolicyipv4v6.log
logs/tcutils.util.log
logs/testbasicvmvn.html
logs/common.html
logs/cn-jenkins-deploy-platform-ansible-os-2995-1-ignored_tracebacks.log
logs/testsvcregr.log
logs/testsvcregr.html
logs/testsriov.html
logs/auth.log
logs/analyticstestsanity.html
logs/testvdnsbasic0.log
logs/testroutersbasic.html
logs/tcutils.html
logs/testbasicpolicy.log
logs/testbasicvmvnx.log
logs/testheat.html
logs/testbasicvmvn.log
logs/testvdnsbasic0.html
logs/cn-jenkins-deploy-platform-ansible-os-2995-1-traceback_parse_failures.log
logs/floatingipbasictestsanity.html
logs/testroutersbasic.log
logs/testbasicpolicy.html
logs/analyticsbasictestsanity.log
logs/analyticstestsanity.log
logs/testheat.log
logs/testsriov.log
logs/floatingipbasictestsanity.log
logs/testbasicpolicyipv4v6.html
logs/__main__.html
logs/cn-jenkins-deploy-platform-ansible-os-2995-1-tracebacks.log
logs/txtsyle.css
logs/auth.html
logs/introspect.log
logs/__main__.log
logs/tcutils.collector.opserver_results.log
logs/introspect.html
logs/common.contrail_test_init.log
logs/testbasicvmvnx.html
logs/analyticsbasictestsanity.html
TESTS-TestSuites.xml
junit-noframes.html
~
INFO: Test sanity finished Fri Mar 28 20:18:28 UTC 2025
+ res=1
+ ./src/opensdn-io/tf-jenkins/jobs/test/functional/collect_logs.sh
~/workspace/test-sanity/logs ~/workspace/test-sanity
Warning: Permanently added '10.0.0.40' (ECDSA) to the list of known hosts.
logs/
logs/testbasicpolicyipv4v6.log
logs/tcutils.util.log
logs/testbasicvmvn.html
logs/common.html
logs/cn-jenkins-deploy-platform-ansible-os-2995-1-ignored_tracebacks.log
logs/testsvcregr.log
logs/testsvcregr.html
logs/testsriov.html
logs/auth.log
logs/analyticstestsanity.html
logs/testvdnsbasic0.log
logs/testroutersbasic.html
logs/tcutils.html
logs/testbasicpolicy.log
logs/testbasicvmvnx.log
logs/testheat.html
logs/testbasicvmvn.log
logs/testvdnsbasic0.html
logs/cn-jenkins-deploy-platform-ansible-os-2995-1-traceback_parse_failures.log
logs/floatingipbasictestsanity.html
logs/testroutersbasic.log
logs/testbasicpolicy.html
logs/analyticsbasictestsanity.log
logs/analyticstestsanity.log
logs/testheat.log
logs/testsriov.log
logs/floatingipbasictestsanity.log
logs/testbasicpolicyipv4v6.html
logs/__main__.html
logs/cn-jenkins-deploy-platform-ansible-os-2995-1-tracebacks.log
logs/txtsyle.css
logs/auth.html
logs/introspect.log
logs/__main__.log
logs/tcutils.collector.opserver_results.log
logs/introspect.html
logs/common.contrail_test_init.log
logs/testbasicvmvnx.html
logs/analyticsbasictestsanity.html
TESTS-TestSuites.xml
junit-noframes.html
~/workspace/test-sanity
Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts.
Warning: Permanently added 'nexus.gz1.opensdn.io,212.233.90.199' (ECDSA) to the list of known hosts.
INFO: logs saved
+ exit 1
Build step 'Execute shell' marked build as failure
Archiving artifacts
Finished: FAILURE