22
33{% include ' header.j2' %}
44
5+ # This script dumps some files to help understand the setup of the test scenario.
6+
57# make sure this script runs at the repo root
68cd " $( dirname " $( realpath -e " $0 " ) " ) " /../../..
79
@@ -17,33 +19,35 @@ if [[ -f $PRE_BEFORE_SCRIPT ]]; then
1719fi
1820
1921# Developers should be able to reproduce the containers with this config
20- echo " CI vars:"
22+ echo " # CI vars:"
2123tail -v -n +1 .ci/ansible/vars/main.yaml
2224
2325# Developers often want to know the final pulp config
24- echo " PULP CONFIG:"
26+ echo
27+ echo " # Pulp config:"
2528tail -v -n +1 .ci/ansible/settings/settings.* ~ /.config/pulp_smash/settings.json
2629
27- echo " Containerfile:"
30+ echo
31+ echo " # Containerfile:"
2832tail -v -n +1 .ci/ansible/Containerfile
2933
30- echo " Constraints Files:"
31- # The need not even exist.
34+ echo
35+ echo " # Constraints Files:"
36+ # They need not even exist.
3237tail -v -n +1 ../* /* constraints.txt || true
3338
34- # Needed for some functional tests
35- cmd_prefix bash -c " echo '%wheel ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/nopasswd"
36- cmd_prefix bash -c " usermod -a -G wheel pulp"
39+ echo
40+ echo " # pip list outside the container"
3741
38- if [[ " ${REDIS_DISABLED:- false} " == true ]]; then
39- cmd_prefix bash -c " s6-rc -d change redis"
40- echo " The Redis service was disabled for $TEST "
41- fi
42+ echo
43+ echo " # pip list inside the container"
44+ cmd_prefix bash -c " pip3 list"
45+
46+ echo
47+ echo " # State of the containers"
48+ docker ps -a
4249
4350if [[ -f $POST_BEFORE_SCRIPT ]]; then
4451 source $POST_BEFORE_SCRIPT
4552fi
4653
47- # Lots of plugins try to use this path, and throw warnings if they cannot access it.
48- cmd_prefix mkdir /.pytest_cache
49- cmd_prefix chown pulp:pulp /.pytest_cache
0 commit comments