is: {'code': 500, 'created': '2024-11-11T11:41:45Z', '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-11-11 11:41:51,127 - INFO - Deleting VN ctest-vn2_metadata-80941970
2024-11-11 11:41:51,500 - 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-11-11 11:41:51,506 - INFO -
2024-11-11 11:41:51,506 - INFO - END TEST : test_generic_link_local_service : FAILED[0:00:08]
2024-11-11 11:41:51,506 - INFO - --------------------------------------------------------------------------------
2024-11-11 11:41:51,509 - INFO - ================================================================================
2024-11-11 11:41:51,509 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets
2024-11-11 11:41:51,509 - 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-11-11 11:41:51,793 - INFO - Initial checks done. Running the testcase now
2024-11-11 11:41:51,793 - INFO -
2024-11-11 11:41:52,698 - INFO - Created VN ctest-vn-62204755
2024-11-11 11:41:53,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2276-1)
2024-11-11 11:41:54,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2276-1)
2024-11-11 11:41:55,407 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2276-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2276-1)
2024-11-11 11:41:55,847 - INFO - Verifications in API Server for IPAM: ctest-ipam-45047374 passed
2024-11-11 11:41:55,853 - INFO - Verifications in Control node for IPAM: ctest-ipam-45047374 passed
2024-11-11 11:41:56,048 - INFO - Verified VN network id 8 for VN 51c73b62-2a3c-4b7d-b7fd-4c6587432d2f
2024-11-11 11:41:56,049 - INFO - Verifications in API Server for VN ctest-vn-62204755 passed
2024-11-11 11:41:56,108 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62204755 passed
2024-11-11 11:41:56,588 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-82713435:ctest-vn-62204755 is found in opserver
2024-11-11 11:41:56,606 - INFO - Waiting for VM ctest-TestBasicVMVN-82713435-38435132 to be up..
2024-11-11 11:41:56,663 - ERROR - VM in error state.
2024-11-11 11:41:56,663 - ERROR - VM is not in ACTIVE state
2024-11-11 11:41:56,768 - ERROR - Fatal Nova Exception while getting VM detail
2024-11-11 11:41:56,769 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-82713435-55764707 in state BUILD
2024-11-11 11:41:56,770 - INFO - Deleting VM ctest-TestBasicVMVN-82713435-55764707
2024-11-11 11:41:56,770 - ERROR - VM ctest-TestBasicVMVN-82713435-55764707 has failed to come up
2024-11-11 11:41:56,770 - ERROR - Nova failed to get host of the VM
2024-11-11 11:41:56,971 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-82713435-90713021 in state BUILD
2024-11-11 11:41:56,971 - INFO - Deleting VM ctest-TestBasicVMVN-82713435-90713021
2024-11-11 11:41:56,971 - ERROR - VM ctest-TestBasicVMVN-82713435-90713021 has failed to come up
2024-11-11 11:41:56,971 - ERROR - Nova failed to get host of the VM
2024-11-11 11:41:57,132 - INFO - Skip interface_detach for VM ctest-TestBasicVMVN-82713435-38435132 in state ERROR
2024-11-11 11:41:57,132 - INFO - Deleting VM ctest-TestBasicVMVN-82713435-38435132
2024-11-11 11:41:57,132 - ERROR - VM ctest-TestBasicVMVN-82713435-38435132 has failed to come up
2024-11-11 11:41:57,132 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2024-11-11T11:41:54Z', '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-11-11 11:41:57,133 - INFO - Deleting VN ctest-vn-62204755
2024-11-11 11:41:57,636 - INFO - Validated that VN ctest-vn-62204755 is not found in API Server
2024-11-11 11:41:57,647 - INFO - Validated that VN ctest-vn-62204755 is not in any agent
2024-11-11 11:41:57,661 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62204755 info
2024-11-11 11:41:57,736 - INFO - IPAM: ctest-ipam-45047374 is not found in API Server
2024-11-11 11:41:57,748 - INFO - IPAM:ctest-ipam-45047374 is not found in control node
2024-11-11 11:41:57,996 - ERROR - AssertionError
Python 3.6.8: /usr/bin/python3
Mon Nov 11 11:41:56 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-11-11 11:41:58,003 - INFO -
2024-11-11 11:41:58,003 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : FAILED[0:00:07]
2024-11-11 11:41:58,003 - INFO - --------------------------------------------------------------------------------
2024-11-11 11:41:58,682 - INFO - Deleted project: ctest-TestBasicVMVN-82713435, ID : ca97f131-0154-44fc-8148-f80d391ab03a
+ '[' 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_11_11_11_36_14_9880.xml
/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py:119: PkgResourcesDeprecationWarning: master.1.1.5.2.3 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.1.5.2.3 is an invalid version and will not be supported in a future release
PkgResourcesDeprecationWarning,
2024-11-11 11:42:07,576 - INFO - Using existing project ['default-domain', 'admin'](665c0d9a-7273-425a-a7de-0c75962bf722)
2024-11-11 11:42:07,821 - INFO - ================================================================================
2024-11-11 11:42:07,822 - INFO - STARTING TEST : test_contrail_status
2024-11-11 11:42:07,822 - INFO - TEST DESCRIPTION : Test to verify that all services are running and active
2024-11-11 11:42:07,944 - INFO - Initial checks done. Running the testcase now
2024-11-11 11:42:07,944 - INFO -
2024-11-11 11:42:08,096 - INFO - 10.0.0.42
2024-11-11 11:42:08,097 - INFO - config
2024-11-11 11:42:08,104 - INFO - config-nodemgr:active
2024-11-11 11:42:08,117 - INFO - api-server:active
2024-11-11 11:42:08,135 - INFO - schema:active
2024-11-11 11:42:08,140 - INFO - svc-monitor:active
2024-11-11 11:42:08,145 - INFO - device-manager:backup
2024-11-11 11:42:08,145 - INFO - config-database
2024-11-11 11:42:08,145 - INFO - config-cassandra:active
2024-11-11 11:42:08,145 - INFO - config-zookeeper:active
2024-11-11 11:42:08,145 - INFO - config-rabbitmq:active
2024-11-11 11:42:08,145 - INFO - vrouter
2024-11-11 11:42:08,151 - INFO - vrouter-nodemgr:active
2024-11-11 11:42:08,158 - INFO - agent:active
2024-11-11 11:42:08,158 - INFO - control
2024-11-11 11:42:08,164 - INFO - control-nodemgr:active
2024-11-11 11:42:08,171 - INFO - control:active
2024-11-11 11:42:08,171 - INFO - named:active
2024-11-11 11:42:08,178 - INFO - dns:active
2024-11-11 11:42:08,179 - INFO - analytics
2024-11-11 11:42:08,185 - INFO - analytics-nodemgr:active
2024-11-11 11:42:08,190 - INFO - analytics-api:active
2024-11-11 11:42:08,195 - INFO - collector:active
2024-11-11 11:42:08,195 - INFO - analytics-database
2024-11-11 11:42:08,195 - INFO - analytics-cassandra:active
2024-11-11 11:42:08,201 - INFO - analyticsdb-nodemgr:active
2024-11-11 11:42:08,207 - INFO - query-engine:active
2024-11-11 11:42:08,207 - INFO - webui
2024-11-11 11:42:08,207 - INFO - webui:active
2024-11-11 11:42:08,207 - INFO - webui-middleware:active
2024-11-11 11:42:08,208 - INFO - redis:active
2024-11-11 11:42:08,208 - INFO - analytics_snmp
2024-11-11 11:42:08,212 - INFO - snmp-collector:initializing (Database:RabbitMQ[] connection down)
2024-11-11 11:42:08,212 - INFO - snmp-topology:active
2024-11-11 11:42:08,212 - INFO - analytics_alarm
2024-11-11 11:42:08,212 - INFO - alarmgen:active
2024-11-11 11:42:18,303 - INFO - 10.0.0.42
2024-11-11 11:42:18,303 - INFO - config
2024-11-11 11:42:18,309 - INFO - config-nodemgr:active
2024-11-11 11:42:18,313 - INFO - api-server:active
2024-11-11 11:42:18,318 - INFO - schema:active
2024-11-11 11:42:18,324 - INFO - svc-monitor:active
2024-11-11 11:42:18,328 - INFO - device-manager:backup
2024-11-11 11:42:18,328 - INFO - config-database
2024-11-11 11:42:18,328 - INFO - config-cassandra:active
2024-11-11 11:42:18,328 - INFO - config-zookeeper:active
2024-11-11 11:42:18,328 - INFO - config-rabbitmq:active
2024-11-11 11:42:18,328 - INFO - vrouter
2024-11-11 11:42:18,333 - INFO - vrouter-nodemgr:active
2024-11-11 11:42:18,339 - INFO - agent:active
2024-11-11 11:42:18,339 - INFO - control
2024-11-11 11:42:18,345 - INFO - control-nodemgr:active
2024-11-11 11:42:18,352 - INFO - control:active
2024-11-11 11:42:18,352 - INFO - named:active
2024-11-11 11:42:18,357 - INFO - dns:active
2024-11-11 11:42:18,357 - INFO - analytics
2024-11-11 11:42:18,363 - INFO - analytics-nodemgr:active
2024-11-11 11:42:18,368 - INFO - analytics-api:active
2024-11-11 11:42:18,375 - INFO - collector:active
2024-11-11 11:42:18,376 - INFO - analytics-database
2024-11-11 11:42:18,376 - INFO - analytics-cassandra:active
2024-11-11 11:42:18,384 - INFO - analyticsdb-nodemgr:active
2024-11-11 11:42:18,390 - INFO - query-engine:active
2024-11-11 11:42:18,390 - INFO - webui
2024-11-11 11:42:18,390 - INFO - webui:active
2024-11-11 11:42:18,390 - INFO - webui-middleware:active
2024-11-11 11:42:18,390 - INFO - redis:active
2024-11-11 11:42:18,390 - INFO - analytics_snmp
2024-11-11 11:42:18,395 - INFO - snmp-collector:active
2024-11-11 11:42:18,395 - INFO - snmp-topology:active
2024-11-11 11:42:18,395 - INFO - analytics_alarm
2024-11-11 11:42:18,395 - INFO - alarmgen:active
2024-11-11 11:42:18,395 - INFO - All the contrail services are up on all nodes
2024-11-11 11:42:18,395 - INFO - contrail-status passed
2024-11-11 11:42:18,528 - INFO - END TEST : test_contrail_status : PASSED[0:00:11]
2024-11-11 11:42:18,528 - INFO - --------------------------------------------------------------------------------
2024-11-11 11:42:18,589 - INFO - Domain Default found not creating
2024-11-11 11:42:18,771 - INFO - Project ctest-TestSriov-88508791 not found, creating it
2024-11-11 11:42:19,268 - INFO - Created Project:ctest-TestSriov-88508791, ID : 66c382a6-957f-4249-a58b-fe7969ba9017
2024-11-11 11:42:21,575 - INFO - Deleted project: ctest-TestSriov-88508791, ID : 66c382a6-957f-4249-a58b-fe7969ba9017
+ [[ -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.1.5.2.3 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_11_11_11_36_14.ini
/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py:119: PkgResourcesDeprecationWarning: master.1.1.5.2.3 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_11_11_11_36_14.ini'
Generated report_details* file: report_details_2024_11_11_11_36_14.ini
+ parse_results
+ /usr/bin/python3 tools/parse_result.py result_2024_11_11_11_36_14_29105.xml report_details_2024_11_11_11_36_14.ini
+ /usr/bin/python3 tools/parse_result.py result_2024_11_11_11_36_14_9880.xml report_details_2024_11_11_11_36_14.ini
+ generate_html
+ '[' -f result_2024_11_11_11_36_14_29105.xml ']'
+ /usr/bin/python3 tools/update_testsuite_properties.py report_details_2024_11_11_11_36_14.ini result_2024_11_11_11_36_14_29105.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: 197ms
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.1.5.2.3 is an invalid version and will not be supported in a future release
PkgResourcesDeprecationWarning,
[ubuntu@10.0.0.42] 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_11_11_11_36_14.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_11_11_11_36_14 ~
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 Mon Nov 11 11:44:44 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.42' (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