File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -319,7 +319,6 @@ jobs:
319319
320320 sudo "$LXC" exec ncp -- bash -c "DBG=x ncp-update ${UPDATE_ARGS[*]}"
321321 sudo "$LXC" exec ncp -- /usr/local/bin/ncc status
322- sudo "$LXC" exec ncp -- /usr/local/bin/ncc notify_push:self-test
323322
324323 if [[ "$current_nc_version" =~ "$latest_nc_version".* ]]
325324 then
@@ -367,6 +366,7 @@ jobs:
367366 sudo "$LXC" exec ncp -- bash -c 'tail -f /var/log/ncp.log' |& awk '{ print "NCP::" $0 }' &
368367 export GECKODRIVER_PATH="$GECKODRIVER_PATH"
369368 export FF_BINARY_PATH="$(which firefox)"
369+ sudo "$LXC" exec ncp -- /usr/local/bin/ncc notify_push:self-test
370370 ../.venv/bin/python nextcloud_tests.py --no-gui "nextcloudpi.local" 443 4443 || {
371371 echo "Nextcloud test failed!"
372372 echo "Geckodriver logs:"
@@ -382,6 +382,13 @@ jobs:
382382 }
383383 USE_INCUS="$USE_INCUS" ../.venv/bin/python system_tests.py --non-interactive || {
384384 echo "System test failed!"
385+ sudo "$LXC" exec ncp -- /usr/local/bin/ncc notify_push:self-test
386+ echo "ncp.log: "
387+ sudo "$LXC" exec ncp -- bash -c "tail -n20 /var/log/ncp.log" || true
388+ echo "================"
389+ echo "nextcloud log: "
390+ datadir="$(sudo "$LXC" exec ncp -- ncc config:system:get datadirectory)"
391+ sudo "$LXC" exec ncp -- cat "$datadir/nextcloud.log" || true
385392 exit 1
386393 }
387394 sudo "$LXC" stop ncp
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments