vm-tests.yml: Fix installer tests

Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias Knöppler 2024-09-05 14:52:16 +02:00
parent 8538bfe631
commit 94dd609fab
No known key found for this signature in database
GPG Key ID: 44FD368932E645C1
3 changed files with 4 additions and 2 deletions

View File

@ -296,7 +296,7 @@ jobs:
echo "${LOG_DIAG} Nextcloud log: "
"${CONTAINER_CMD[@]}" -q ncp /bin/bash -c 'ls -l /opt/ncdata/data/nextcloud.log' |& awk "{ print \"${LOG_DIAG} \" \$0 }" || true
"${CONTAINER_CMD[@]}" -q ncp /bin/bash -c 'cat /opt/ncdata/data/nextcloud.log' |& awk "{ print \"${LOG_DIAG} \" \$0 }" || true
cat ./raspbian_root/opt/ncdata/data/nextcloud.log |& awk "{ print \"${LOG_DIAG} \" \$0 }"
sudo cat ./raspbian_root/opt/ncdata/data/nextcloud.log |& awk "{ print \"${LOG_DIAG} \" \$0 }"
sleep 12
continue
}

View File

@ -57,6 +57,7 @@ jobs:
name: "${{ env.SSH_ARTIFACT_NAME }}"
path: /__w/nextcloudpi/nextcloudpi/.ssh
if-no-files-found: error
include-hidden-files: true
- id: create-test-instance
uses: ./.github/actions/create-test-instance
with:
@ -306,6 +307,7 @@ jobs:
name: "${{ env.SSH_ARTIFACT_NAME }}"
path: /__w/nextcloudpi/nextcloudpi/.ssh
if-no-files-found: error
include-hidden-files: true
- id: create-test-instance
uses: ./.github/actions/create-test-instance-bullseye
with:

View File

@ -198,7 +198,7 @@ def test_nextcloud(IP: str, nc_port: str, driver: WebDriver, skip_release_check:
elif re.match(r'.*Could not check for JavaScript support.*', warning.text):
continue
# TODO: Solve redis error logs at the source
elif re.match(r'.*\d+ errors in the logs since.*', warning.text):
elif re.match(r'.*\d+ errors? in the logs since.*', warning.text):
continue
else:
raise ConfigTestFailure(f"WARN: {warning.text}")