Skip to content

Commit dce59a9

Browse files
committed
store all integration test logs in a container-shared location
TODO: An upstream container script would not necessarily do that, can we move to upstream container creation entirely to always do upstream testing based on it and thus add the needed shared location?
1 parent b37608b commit dce59a9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

selftests/integration/run.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,21 @@ echo "Configure locally the current plugin source and prepare to run"
1212
#pip install -e .
1313
# change default avocado settings to our preferences for an integration run
1414
cat >/etc/avocado/avocado.conf <<EOF
15+
[datadir.paths]
16+
# You may override the specific job results directory with logs_dir
17+
logs_dir = /mnt/local/results/upstream
18+
1519
[runner.output]
1620
# Whether to display colored output in terminals that support it
1721
colored = True
1822
# Whether to force colored output to non-tty outputs (e.g. log files)
1923
# Allowed values: auto, always, never
2024
color = always
2125
26+
[run.journal]
27+
# Whether to use results journal
28+
enabled = True
29+
2230
[run]
2331
# LXC and remote spawners require manual status server address
2432
status_server_uri = 192.168.254.254:8080
@@ -30,6 +38,7 @@ slots = ['c101', 'c102', 'c103', 'c104', 'c105']
3038
[spawner.remote]
3139
slots = ['c101', 'c102', 'c103', 'c104', 'c105']
3240
EOF
41+
mkdir -p /mnt/local/results/upstream
3342
mkdir -p /etc/avocado/conf.d
3443
# TODO: use VT's approach to register the plugin config
3544
if [ ! -f /etc/avocado/conf.d/i2n.conf ]; then

0 commit comments

Comments
 (0)