2e1785a61b
There were two patches which broke our gate: 1. https://review.openstack.org/#/c/80690/ This one forces Devstack installation to fail if a project has dependencies not listed in the global-requirements file. Fix description: Devstack has two functions to install a project: * setup_develop * setup_package The first one does the requirements check and fails on Murano installation. The latter one doesn't perform any checks (it is called internally from the first function right after the requirements check was performed). We will use the latter one until all Murano requirements match global-requirements. 2. https://review.openstack.org/#/c/85032/ This one introduced a nosetests plugin for MuranoPL. Somehow (I have no idea how) it breaks Tempest run in the gate. It causes our functional tests to behave wierdly, not recognise tempest config file and throw exception: "DuplicateOptError: duplicate option: use-syslog", see complete log at http://logs.openstack.org/13/85113/7/check/gate-murano-devstack-dsvm/4939248/console.html Fix description: Temporarily disable nosetests plugin until we figure out how to enable it and avoid Tempest problems in the gate. Change-Id: I369f91fdabdc887d5ff3fb6e16d85a4d12de9f03
24 lines
881 B
Bash
Executable File
24 lines
881 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
# This script is executed inside post_test_hook function in devstack gate.
|
|
|
|
cd /opt/stack/new/murano-api/functionaltests
|
|
sudo ./run_tests.sh
|
|
RETVAL=$?
|
|
|
|
# Copy tempest log files to be published among other logs upon job completion
|
|
sudo cp /opt/stack/new/murano-api/functionaltests/tempest.log /opt/stack/logs
|
|
|
|
exit $RETVAL |