is: {'code': 500, 'created': '2024-10-25T15:25:46Z', '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'}
2024-10-25 15:25:46,785 - INFO - Deleting VN ctest-vn2_metadata-08487650
2024-10-25 15:25:47,156 - ERROR - Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 81, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/tcutils/util.py", line 1167, in wrapper
return f(self, *func_args, **func_kwargs)
File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 308, 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 408, in vm_node_ip
self.get_host_of_vm(refresh=True))
File "/contrail-test/fixtures/vm_test.py", line 422, in get_host_of_vm
assert self.wait_till_vm_is_active()
AssertionError
2024-10-25 15:25:47,165 - INFO -
2024-10-25 15:25:47,165 - INFO - END TEST : test_generic_link_local_service : FAILED[0:00:04]
2024-10-25 15:25:47,165 - INFO - --------------------------------------------------------------------------------
2024-10-25 15:25:47,169 - INFO - ================================================================================
2024-10-25 15:25:47,169 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets
2024-10-25 15:25:47,169 - 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
2024-10-25 15:25:47,477 - INFO - Initial checks done. Running the testcase now
2024-10-25 15:25:47,477 - INFO -
2024-10-25 15:25:48,511 - INFO - Created VN ctest-vn-28459925
2024-10-25 15:25:49,854 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2145-1)
2024-10-25 15:25:50,519 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2145-1)
2024-10-25 15:25:51,880 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2145-1)
2024-10-25 15:25:52,393 - INFO - Verifications in API Server for IPAM: ctest-ipam-87372049 passed
2024-10-25 15:25:52,400 - INFO - Verifications in Control node for IPAM: ctest-ipam-87372049 passed
2024-10-25 15:25:52,629 - INFO - Verified VN network id 8 for VN fee11f09-1e2b-43e9-8dbd-3892359e3237
2024-10-25 15:25:52,629 - INFO - Verifications in API Server for VN ctest-vn-28459925 passed
2024-10-25 15:25:52,696 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28459925 passed
2024-10-25 15:25:53,258 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-48150298:ctest-vn-28459925 is found in opserver
2024-10-25 15:25:53,278 - INFO - Waiting for VM ctest-TestBasicVMVN-48150298-55783018 to be up..
2024-10-25 15:25:53,347 - ERROR - VM in error state.
2024-10-25 15:25:53,347 - ERROR - VM is not in ACTIVE state
2024-10-25 15:25:53,464 - ERROR - Fatal Nova Exception while getting VM detail
2024-10-25 15:25:53,466 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-48150298-14456345 in state BUILD
2024-10-25 15:25:53,466 - INFO - Deleting VM ctest-TestBasicVMVN-48150298-14456345
2024-10-25 15:25:53,466 - ERROR - VM ctest-TestBasicVMVN-48150298-14456345 has failed to come up
2024-10-25 15:25:53,466 - ERROR - Nova failed to get host of the VM
2024-10-25 15:25:53,667 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-48150298-31426838 in state BUILD
2024-10-25 15:25:53,667 - INFO - Deleting VM ctest-TestBasicVMVN-48150298-31426838
2024-10-25 15:25:53,667 - ERROR - VM ctest-TestBasicVMVN-48150298-31426838 has failed to come up
2024-10-25 15:25:53,667 - ERROR - Nova failed to get host of the VM
2024-10-25 15:25:53,853 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-48150298-55783018 in state ERROR
2024-10-25 15:25:53,853 - INFO - Deleting VM ctest-TestBasicVMVN-48150298-55783018
2024-10-25 15:25:53,853 - ERROR - VM ctest-TestBasicVMVN-48150298-55783018 has failed to come up
2024-10-25 15:25:53,853 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2024-10-25T15:25: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'}
2024-10-25 15:25:53,854 - INFO - Deleting VN ctest-vn-28459925
2024-10-25 15:25:54,478 - INFO - Validated that VN ctest-vn-28459925 is not found in API Server
2024-10-25 15:25:54,493 - INFO - Validated that VN ctest-vn-28459925 is not in any agent
2024-10-25 15:25:54,516 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28459925 info
2024-10-25 15:25:54,609 - INFO - IPAM: ctest-ipam-87372049 is not found in API Server
2024-10-25 15:25:54,626 - INFO - IPAM:ctest-ipam-87372049 is not found in control node
2024-10-25 15:25:54,890 - ERROR - AssertionError
Python 3.6.8: /usr/bin/python3
Fri Oct 25 15:25:53 2024
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={})
79 log.info('Initial checks done. Running the testcase now')
80 log.info('')
81 result = function(self, *args, **kwargs)
82 if self.inputs.upgrade:
83 pid = os.getpid()
result = None
function =
self =
args = ()
kwargs = {}
/contrail-test/tcutils/util.py in wrapper(self=, *func_args=(), **func_kwargs={})
1165 raise testtools.TestCase.skipException(msg)
1166
1167 return f(self, *func_args, **func_kwargs)
1168 return wrapper
1169 return decorator
f =
self =
func_args = ()
func_kwargs = {}
/contrail-test/scripts/vm_regression/test_vm_basic.py in test_ping_within_vn_two_vms_two_different_subnets(self=)
162 assert ipam_obj.verify_on_setup()
163 assert vn1_fixture.verify_on_setup()
164 assert vm1.wait_till_vm_is_up()
165 assert vm2.wait_till_vm_is_up()
166 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 81, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/tcutils/util.py", line 1167, in wrapper
return f(self, *func_args, **func_kwargs)
File "/contrail-test/scripts/vm_regression/test_vm_basic.py", line 164, in test_ping_within_vn_two_vms_two_different_subnets
assert vm1.wait_till_vm_is_up()
AssertionError
2024-10-25 15:25:54,900 - INFO -
2024-10-25 15:25:54,900 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : FAILED[0:00:07]
2024-10-25 15:25:54,900 - INFO - --------------------------------------------------------------------------------
2024-10-25 15:25:55,731 - INFO - Deleted project: ctest-TestBasicVMVN-48150298, ID : 1caf08a1-b772-40af-988a-7c125aff283e
+ '[' 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_2024_10_25_15_17_40_13851.xml
/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py:119: PkgResourcesDeprecationWarning: master.1.0.8.3.3.8 is an invalid version and will not be supported in a future release
PkgResourcesDeprecationWarning,
/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py:119: PkgResourcesDeprecationWarning: master.1.0.8.3.3.8 is an invalid version and will not be supported in a future release
PkgResourcesDeprecationWarning,
2024-10-25 15:26:06,176 - INFO - Using existing project ['default-domain', 'admin'](471f485c-cd62-499a-bba7-ef8b3bb50025)
2024-10-25 15:26:06,380 - INFO - ================================================================================
2024-10-25 15:26:06,381 - INFO - STARTING TEST : test_contrail_status
2024-10-25 15:26:06,381 - INFO - TEST DESCRIPTION : Test to verify that all services are running and active
2024-10-25 15:26:06,506 - INFO - Initial checks done. Running the testcase now
2024-10-25 15:26:06,506 - INFO -
2024-10-25 15:26:06,659 - INFO - 10.0.0.31
2024-10-25 15:26:06,660 - INFO - config
2024-10-25 15:26:06,667 - INFO - config-nodemgr:active
2024-10-25 15:26:06,673 - INFO - api-server:active
2024-10-25 15:26:06,678 - INFO - schema:active
2024-10-25 15:26:06,679 - INFO - svc-monitor:inactive
2024-10-25 15:26:06,684 - INFO - device-manager:active
2024-10-25 15:26:06,685 - INFO - config-database
2024-10-25 15:26:06,685 - INFO - config-cassandra:active
2024-10-25 15:26:06,685 - INFO - config-zookeeper:active
2024-10-25 15:26:06,685 - INFO - config-rabbitmq:active
2024-10-25 15:26:06,685 - INFO - vrouter
2024-10-25 15:26:06,691 - INFO - vrouter-nodemgr:active
2024-10-25 15:26:06,697 - INFO - agent:active
2024-10-25 15:26:06,697 - INFO - control
2024-10-25 15:26:06,704 - INFO - control-nodemgr:active
2024-10-25 15:26:06,710 - INFO - control:active
2024-10-25 15:26:06,710 - INFO - named:active
2024-10-25 15:26:06,716 - INFO - dns:active
2024-10-25 15:26:06,716 - INFO - analytics
2024-10-25 15:26:06,723 - INFO - analytics-nodemgr:active
2024-10-25 15:26:06,728 - INFO - analytics-api:active
2024-10-25 15:26:06,735 - INFO - collector:active
2024-10-25 15:26:06,735 - INFO - analytics-database
2024-10-25 15:26:06,736 - INFO - analytics-cassandra:active
2024-10-25 15:26:06,742 - INFO - analyticsdb-nodemgr:active
2024-10-25 15:26:06,749 - INFO - query-engine:active
2024-10-25 15:26:06,749 - INFO - webui
2024-10-25 15:26:06,749 - INFO - webui:active
2024-10-25 15:26:06,749 - INFO - webui-middleware:active
2024-10-25 15:26:06,749 - INFO - redis:active
2024-10-25 15:26:06,749 - INFO - analytics_snmp
2024-10-25 15:26:06,755 - INFO - snmp-collector:active
2024-10-25 15:26:06,755 - INFO - snmp-topology:active
2024-10-25 15:26:06,755 - INFO - analytics_alarm
2024-10-25 15:26:06,755 - INFO - alarmgen:active
2024-10-25 15:26:16,849 - INFO - 10.0.0.31
2024-10-25 15:26:16,849 - INFO - config
2024-10-25 15:26:16,856 - INFO - config-nodemgr:active
2024-10-25 15:26:16,862 - INFO - api-server:active
2024-10-25 15:26:16,868 - INFO - schema:active
2024-10-25 15:26:16,868 - INFO - svc-monitor:inactive
2024-10-25 15:26:16,873 - INFO - device-manager:active
2024-10-25 15:26:16,873 - INFO - config-database
2024-10-25 15:26:16,873 - INFO - config-cassandra:active
2024-10-25 15:26:16,873 - INFO - config-zookeeper:active
2024-10-25 15:26:16,873 - INFO - config-rabbitmq:active
2024-10-25 15:26:16,873 - INFO - vrouter
2024-10-25 15:26:16,879 - INFO - vrouter-nodemgr:active
2024-10-25 15:26:16,885 - INFO - agent:active
2024-10-25 15:26:16,885 - INFO - control
2024-10-25 15:26:16,891 - INFO - control-nodemgr:active
2024-10-25 15:26:16,897 - INFO - control:active
2024-10-25 15:26:16,897 - INFO - named:active
2024-10-25 15:26:16,904 - INFO - dns:active
2024-10-25 15:26:16,904 - INFO - analytics
2024-10-25 15:26:16,910 - INFO - analytics-nodemgr:active
2024-10-25 15:26:16,916 - INFO - analytics-api:active
2024-10-25 15:26:16,923 - INFO - collector:active
2024-10-25 15:26:16,923 - INFO - analytics-database
2024-10-25 15:26:16,923 - INFO - analytics-cassandra:active
2024-10-25 15:26:16,929 - INFO - analyticsdb-nodemgr:active
2024-10-25 15:26:16,935 - INFO - query-engine:active
2024-10-25 15:26:16,935 - INFO - webui
2024-10-25 15:26:16,936 - INFO - webui:active
2024-10-25 15:26:16,936 - INFO - webui-middleware:active
2024-10-25 15:26:16,936 - INFO - redis:active
2024-10-25 15:26:16,936 - INFO - analytics_snmp
2024-10-25 15:26:16,941 - INFO - snmp-collector:active
2024-10-25 15:26:16,941 - INFO - snmp-topology:active
2024-10-25 15:26:16,941 - INFO - analytics_alarm
2024-10-25 15:26:16,941 - INFO - alarmgen:active
2024-10-25 15:26:27,036 - INFO - 10.0.0.31
2024-10-25 15:26:27,036 - INFO - config
2024-10-25 15:26:27,043 - INFO - config-nodemgr:active
2024-10-25 15:26:27,048 - INFO - api-server:active
2024-10-25 15:26:27,053 - INFO - schema:active
2024-10-25 15:26:27,053 - INFO - svc-monitor:inactive
2024-10-25 15:26:27,058 - INFO - device-manager:active
2024-10-25 15:26:27,058 - INFO - config-database
2024-10-25 15:26:27,058 - INFO - config-cassandra:active
2024-10-25 15:26:27,059 - INFO - config-zookeeper:active
2024-10-25 15:26:27,059 - INFO - config-rabbitmq:active
2024-10-25 15:26:27,059 - INFO - vrouter
2024-10-25 15:26:27,065 - INFO - vrouter-nodemgr:active
2024-10-25 15:26:27,071 - INFO - agent:active
2024-10-25 15:26:27,071 - INFO - control
2024-10-25 15:26:27,077 - INFO - control-nodemgr:active
2024-10-25 15:26:27,083 - INFO - control:active
2024-10-25 15:26:27,083 - INFO - named:active
2024-10-25 15:26:27,090 - INFO - dns:active
2024-10-25 15:26:27,090 - INFO - analytics
2024-10-25 15:26:27,097 - INFO - analytics-nodemgr:active
2024-10-25 15:26:27,102 - INFO - analytics-api:active
2024-10-25 15:26:27,109 - INFO - collector:active
2024-10-25 15:26:27,109 - INFO - analytics-database
2024-10-25 15:26:27,109 - INFO - analytics-cassandra:active
2024-10-25 15:26:27,116 - INFO - analyticsdb-nodemgr:active
2024-10-25 15:26:27,123 - INFO - query-engine:active
2024-10-25 15:26:27,123 - INFO - webui
2024-10-25 15:26:27,123 - INFO - webui:active
2024-10-25 15:26:27,123 - INFO - webui-middleware:active
2024-10-25 15:26:27,123 - INFO - redis:active
2024-10-25 15:26:27,123 - INFO - analytics_snmp
2024-10-25 15:26:27,128 - INFO - snmp-collector:active
2024-10-25 15:26:27,129 - INFO - snmp-topology:active
2024-10-25 15:26:27,129 - INFO - analytics_alarm
2024-10-25 15:26:27,129 - INFO - alarmgen:active
2024-10-25 15:26:37,227 - INFO - 10.0.0.31
2024-10-25 15:26:37,227 - INFO - config
2024-10-25 15:26:37,234 - INFO - config-nodemgr:active
2024-10-25 15:26:37,239 - INFO - api-server:active
2024-10-25 15:26:37,246 - INFO - schema:active
2024-10-25 15:26:37,246 - INFO - svc-monitor:inactive
2024-10-25 15:26:37,251 - INFO - device-manager:active
2024-10-25 15:26:37,251 - INFO - config-database
2024-10-25 15:26:37,251 - INFO - config-cassandra:active
2024-10-25 15:26:37,251 - INFO - config-zookeeper:active
2024-10-25 15:26:37,251 - INFO - config-rabbitmq:active
2024-10-25 15:26:37,251 - INFO - vrouter
2024-10-25 15:26:37,257 - INFO - vrouter-nodemgr:active
2024-10-25 15:26:37,262 - INFO - agent:active
2024-10-25 15:26:37,262 - INFO - control
2024-10-25 15:26:37,268 - INFO - control-nodemgr:active
2024-10-25 15:26:37,275 - INFO - control:active
2024-10-25 15:26:37,275 - INFO - named:active
2024-10-25 15:26:37,282 - INFO - dns:active
2024-10-25 15:26:37,282 - INFO - analytics
2024-10-25 15:26:37,289 - INFO - analytics-nodemgr:active
2024-10-25 15:26:37,295 - INFO - analytics-api:active
2024-10-25 15:26:37,301 - INFO - collector:active
2024-10-25 15:26:37,302 - INFO - analytics-database
2024-10-25 15:26:37,302 - INFO - analytics-cassandra:active
2024-10-25 15:26:37,308 - INFO - analyticsdb-nodemgr:active
2024-10-25 15:26:37,315 - INFO - query-engine:active
2024-10-25 15:26:37,315 - INFO - webui
2024-10-25 15:26:37,315 - INFO - webui:active
2024-10-25 15:26:37,315 - INFO - webui-middleware:active
2024-10-25 15:26:37,315 - INFO - redis:active
2024-10-25 15:26:37,315 - INFO - analytics_snmp
2024-10-25 15:26:37,321 - INFO - snmp-collector:active
2024-10-25 15:26:37,321 - INFO - snmp-topology:active
2024-10-25 15:26:37,321 - INFO - analytics_alarm
2024-10-25 15:26:37,321 - INFO - alarmgen:active
2024-10-25 15:26:47,408 - INFO - 10.0.0.31
2024-10-25 15:26:47,408 - INFO - config
2024-10-25 15:26:47,415 - INFO - config-nodemgr:active
2024-10-25 15:26:47,420 - INFO - api-server:active
2024-10-25 15:26:47,425 - INFO - schema:active
2024-10-25 15:26:47,430 - INFO - svc-monitor:backup
2024-10-25 15:26:47,434 - INFO - device-manager:active
2024-10-25 15:26:47,435 - INFO - config-database
2024-10-25 15:26:47,435 - INFO - config-cassandra:active
2024-10-25 15:26:47,435 - INFO - config-zookeeper:active
2024-10-25 15:26:47,435 - INFO - config-rabbitmq:active
2024-10-25 15:26:47,435 - INFO - vrouter
2024-10-25 15:26:47,440 - INFO - vrouter-nodemgr:active
2024-10-25 15:26:47,446 - INFO - agent:active
2024-10-25 15:26:47,446 - INFO - control
2024-10-25 15:26:47,452 - INFO - control-nodemgr:active
2024-10-25 15:26:47,459 - INFO - control:active
2024-10-25 15:26:47,459 - INFO - named:active
2024-10-25 15:26:47,465 - INFO - dns:active
2024-10-25 15:26:47,465 - INFO - analytics
2024-10-25 15:26:47,471 - INFO - analytics-nodemgr:active
2024-10-25 15:26:47,477 - INFO - analytics-api:active
2024-10-25 15:26:47,484 - INFO - collector:active
2024-10-25 15:26:47,485 - INFO - analytics-database
2024-10-25 15:26:47,485 - INFO - analytics-cassandra:active
2024-10-25 15:26:47,491 - INFO - analyticsdb-nodemgr:active
2024-10-25 15:26:47,498 - INFO - query-engine:active
2024-10-25 15:26:47,498 - INFO - webui
2024-10-25 15:26:47,498 - INFO - webui:active
2024-10-25 15:26:47,498 - INFO - webui-middleware:active
2024-10-25 15:26:47,498 - INFO - redis:active
2024-10-25 15:26:47,498 - INFO - analytics_snmp
2024-10-25 15:26:47,504 - INFO - snmp-collector:active
2024-10-25 15:26:47,504 - INFO - snmp-topology:active
2024-10-25 15:26:47,504 - INFO - analytics_alarm
2024-10-25 15:26:47,504 - INFO - alarmgen:active
2024-10-25 15:26:47,504 - INFO - All the contrail services are up on all nodes
2024-10-25 15:26:47,504 - INFO - contrail-status passed
2024-10-25 15:26:47,630 - INFO - END TEST : test_contrail_status : PASSED[0:00:41]
2024-10-25 15:26:47,630 - INFO - --------------------------------------------------------------------------------
2024-10-25 15:26:47,694 - INFO - Domain Default found not creating
2024-10-25 15:26:47,895 - INFO - Project ctest-TestSriov-43513945 not found, creating it
2024-10-25 15:26:48,796 - INFO - Created Project:ctest-TestSriov-43513945, ID : d859484e-6e6b-4633-aea5-156c834093a6
2024-10-25 15:26:51,396 - INFO - Deleted project: ctest-TestSriov-43513945, ID : d859484e-6e6b-4633-aea5-156c834093a6
+ [[ -z '' ]]
+ [[ -z ci_sanity ]]
+ sleep 2
+ delete_vcenter_nas_datastore
+ export PYTHONPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/contrail-test:/contrail-test/fixtures
+ PYTHONPATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/contrail-test:/contrail-test/fixtures
+ /usr/bin/python3 tools/vcenter/manage_vcenter_datastore.py contrail_test_input.yaml delete
/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py:119: PkgResourcesDeprecationWarning: master.1.0.8.3.3.8 is an invalid version and will not be supported in a future release
PkgResourcesDeprecationWarning,
+ /usr/bin/python3 tools/report_gen.py contrail_test_input.yaml report_details_2024_10_25_15_17_40.ini
/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py:119: PkgResourcesDeprecationWarning: master.1.0.8.3.3.8 is an invalid version and will not be supported in a future release
PkgResourcesDeprecationWarning,
[localhost] local: rpm -q --queryformat '%{VERSION}-' python3-contrail; rpm -q --queryformat '%{RELEASE}' python3-contrail | awk -F'.' '{print $1}'
+ echo 'Generated report_details* file: report_details_2024_10_25_15_17_40.ini'
Generated report_details* file: report_details_2024_10_25_15_17_40.ini
+ parse_results
+ /usr/bin/python3 tools/parse_result.py result_2024_10_25_15_17_40_23728.xml report_details_2024_10_25_15_17_40.ini
+ /usr/bin/python3 tools/parse_result.py result_2024_10_25_15_17_40_13851.xml report_details_2024_10_25_15_17_40.ini
+ generate_html
+ '[' -f result_2024_10_25_15_17_40_23728.xml ']'
+ /usr/bin/python3 tools/update_testsuite_properties.py report_details_2024_10_25_15_17_40.ini result_2024_10_25_15_17_40_23728.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: 238ms
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
/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py:119: PkgResourcesDeprecationWarning: master.1.0.8.3.3.8 is an invalid version and will not be supported in a future release
PkgResourcesDeprecationWarning,
[ubuntu@10.0.0.31] put: tools/search-bt.py -> /tmp/search-bt.py
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/paramiko/channel.py", line 699, in recv
out = self.in_buffer.read(nbytes, self.timeout)
File "/usr/local/lib/python3.6/site-packages/paramiko/buffered_pipe.py", line 164, in read
raise PipeTimeout()
paramiko.buffered_pipe.PipeTimeout
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/fabric/io.py", line 83, in loop
bytelist = self.read_func(self.read_size)
File "/usr/local/lib/python3.6/site-packages/paramiko/channel.py", line 701, in recv
raise socket.timeout()
socket.timeout
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/collect_bts.py", line 55, in
output = init_obj.run_cmd_on_server(host_ip, cmd)
File "/contrail-test/common/contrail_test_init.py", line 1056, in run_cmd_on_server
shell_prefix=shell_prefix)
File "/contrail-test/tcutils/util.py", line 809, in run_cmd_on_server
output = _run(updated_cmd, pty=pty)
File "/usr/local/lib/python3.6/site-packages/fabric/network.py", line 692, in host_prompting_wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/fabric/operations.py", line 1153, in sudo
capture_buffer_size=capture_buffer_size,
File "/usr/local/lib/python3.6/site-packages/fabric/operations.py", line 938, in _run_command
capture_buffer_size=capture_buffer_size)
File "/usr/local/lib/python3.6/site-packages/fabric/operations.py", line 820, in _execute
worker.raise_if_needed()
File "/usr/local/lib/python3.6/site-packages/fabric/thread_handling.py", line 26, in raise_if_needed
six.reraise(e[0], e[1], e[2])
File "/usr/local/lib/python3.6/site-packages/six.py", line 703, in reraise
raise value
File "/usr/local/lib/python3.6/site-packages/fabric/thread_handling.py", line 13, in wrapper
callable(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/fabric/io.py", line 31, in output_loop
OutputLooper(*args, **kwargs).loop()
File "/usr/local/lib/python3.6/site-packages/fabric/io.py", line 87, in loop
raise CommandTimeout(timeout=self.timeout)
fabric.exceptions.CommandTimeout: Command failed to finish in 120 seconds
+ upload_to_web_server
+ '[' 0 -eq 1 ']'
+ echo 'Uploaded reports'
Uploaded reports
+ sleep 2
+ send_mail contrail_test_input.yaml report/junit-noframes.html report_details_2024_10_25_15_17_40.ini
+ '[' 0 -eq 1 ']'
+ echo 'Sent mail to interested parties'
Sent mail to interested parties
+ 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/2024_10_25_15_17_40 ~
logs/
logs/testbasicpolicyipv4v6.log
logs/tcutils.util.log
logs/testbasicvmvn.html
logs/common.html
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/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/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 Oct 25 15:29:10 UTC 2024
+ 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.31' (ECDSA) to the list of known hosts.
logs/
logs/testbasicpolicyipv4v6.log
logs/tcutils.util.log
logs/testbasicvmvn.html
logs/common.html
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/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/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