Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PBM-1384 debug #208

Merged
merged 3 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/PBM-FULL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ jobs:
run: |
docker compose run --rm test pytest -s --junitxml=junit.xml -k ${{ matrix.test }}
working-directory: ./pbm-functional/pytest
- name: Print Azurite logs
if: failure()
run: |
docker logs azurite
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
Expand Down
3 changes: 2 additions & 1 deletion pbm-functional/pytest/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ def make_backup(self, type):
elif "resync" in start.stdout:
Cluster.log("Resync in progress, retrying: " + start.stdout)
else:
assert False, "Backup failed" + start.stdout + start.stderr
logs = n.check_output("pbm logs -sD -t0")
assert False, "Backup failed" + start.stdout + start.stderr + '\n' + logs
if time.time() > timeout:
assert False, "Timeout for backup start exceeded"
time.sleep(1)
Expand Down
2 changes: 1 addition & 1 deletion pbm-functional/pytest/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
- "10000:10000"
networks:
- test
command: azurite-blob --blobHost 0.0.0.0
command: azurite-blob --blobHost 0.0.0.0 -d /dev/stdout

minio:
image: minio/minio
Expand Down
Loading