This Will help in troubleshooting failures related to high memory or cpu usage. Related-Bug: #1966394 Change-Id: I74b0d53bfc54b71d3e8b2d46739a944e5f5a6b6f (cherry picked from commit9bc447077b
) (cherry picked from commit969a0db8b9
) Conflicts: roles/configure_functional_tests/tasks/main.yaml zuul.d/base.yaml
41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
- shell:
|
|
cmd: |
|
|
set -e
|
|
set -x
|
|
GATE_STACK_USER={{ ansible_user }}
|
|
IS_GATE=True
|
|
|
|
BASE_DIR={{ base_dir }}
|
|
GATE_DEST={{ gate_dest_dir }}
|
|
PROJECT_NAME={{ project_name }}
|
|
NEUTRON_DIR={{ neutron_dir }}
|
|
DEVSTACK_PATH={{ devstack_dir }}
|
|
TOP_DIR={{ devstack_dir }}
|
|
VENV={{ tests_venv }}
|
|
STACK_USER=stack
|
|
OVS_BRANCH={{ OVS_BRANCH }}
|
|
OVN_BRANCH={{ OVN_BRANCH }}
|
|
Q_BUILD_OVS_FROM_GIT={{ Q_BUILD_OVS_FROM_GIT }}
|
|
MEMORY_TRACKER={{ MEMORY_TRACKER }}
|
|
# This is DB USER used in e.g. pgsql db
|
|
DATABASE_USER=openstack_citest
|
|
|
|
source $DEVSTACK_PATH/functions
|
|
source $DEVSTACK_PATH/lib/neutron_plugins/ovn_agent
|
|
source $NEUTRON_DIR/tools/configure_for_func_testing.sh
|
|
|
|
if is_fedora; then
|
|
# NOTE(slqweq) Running functional job e.g. on Centos requires to
|
|
# have repo with rabbitmq-server and some other packages available
|
|
install_package centos-release-openstack-victoria
|
|
install_package iproute-tc haproxy keepalived
|
|
|
|
# NOTE(slaweq) On Fedora/CentOS systems make sure that SELinux is
|
|
# not in enforcing mode
|
|
sudo setenforce 0
|
|
fi
|
|
|
|
configure_host_for_func_testing
|
|
|
|
executable: /bin/bash
|