mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
vm-tests.yml: Fix installer tests
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
parent
8538bfe631
commit
94dd609fab
2
.github/workflows/build-sd-images.yml
vendored
2
.github/workflows/build-sd-images.yml
vendored
@ -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
|
||||
}
|
||||
|
||||
2
.github/workflows/vm-tests.yml
vendored
2
.github/workflows/vm-tests.yml
vendored
@ -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:
|
||||
|
||||
@ -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}")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user