-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CA clone test to check the logs
- Loading branch information
Showing
1 changed file
with
70 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -494,20 +494,77 @@ jobs: | |
docker exec primary pki securitydomain-host-find | ||
docker exec primary pkidestroy -s CA -v | ||
- name: Gather artifacts | ||
- name: Check primary DS server systemd journal | ||
if: always() | ||
run: | | ||
tests/bin/ds-artifacts-save.sh primaryds | ||
tests/bin/pki-artifacts-save.sh primary | ||
tests/bin/ds-artifacts-save.sh secondaryds | ||
tests/bin/pki-artifacts-save.sh secondary | ||
tests/bin/ds-artifacts-save.sh tertiaryds | ||
tests/bin/pki-artifacts-save.sh tertiary | ||
continue-on-error: true | ||
docker exec primaryds journalctl -x --no-pager -u [email protected] | ||
- name: Upload artifacts | ||
- name: Check primary DS container logs | ||
if: always() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ca-clone | ||
path: /tmp/artifacts | ||
run: | | ||
docker logs primaryds | ||
- name: Check primary PKI server systemd journal | ||
if: always() | ||
run: | | ||
docker exec primary journalctl -x --no-pager -u [email protected] | ||
- name: Check primary PKI server access log | ||
if: always() | ||
run: | | ||
docker exec primary find /var/log/pki/pki-tomcat -name "localhost_access_log.*" -exec cat {} \; | ||
- name: Check primary CA debug log | ||
if: always() | ||
run: | | ||
docker exec primary find /var/lib/pki/pki-tomcat/logs/ca -name "debug.*" -exec cat {} \; | ||
- name: Check secondary DS server systemd journal | ||
if: always() | ||
run: | | ||
docker exec secondaryds journalctl -x --no-pager -u [email protected] | ||
- name: Check secondary DS container logs | ||
if: always() | ||
run: | | ||
docker logs secondaryds | ||
- name: Check secondary PKI server systemd journal | ||
if: always() | ||
run: | | ||
docker exec secondary journalctl -x --no-pager -u [email protected] | ||
- name: Check secondary PKI server access log | ||
if: always() | ||
run: | | ||
docker exec secondary find /var/log/pki/pki-tomcat -name "localhost_access_log.*" -exec cat {} \; | ||
- name: Check secondary CA debug log | ||
if: always() | ||
run: | | ||
docker exec secondary find /var/lib/pki/pki-tomcat/logs/ca -name "debug.*" -exec cat {} \; | ||
- name: Check tertiary DS server systemd journal | ||
if: always() | ||
run: | | ||
docker exec tertiaryds journalctl -x --no-pager -u [email protected] | ||
- name: Check tertiary DS container logs | ||
if: always() | ||
run: | | ||
docker logs tertiaryds | ||
- name: Check tertiary PKI server systemd journal | ||
if: always() | ||
run: | | ||
docker exec tertiary journalctl -x --no-pager -u [email protected] | ||
- name: Check tertiary PKI server access log | ||
if: always() | ||
run: | | ||
docker exec tertiary find /var/log/pki/pki-tomcat -name "localhost_access_log.*" -exec cat {} \; | ||
- name: Check tertiary CA debug log | ||
if: always() | ||
run: | | ||
docker exec tertiary find /var/lib/pki/pki-tomcat/logs/ca -name "debug.*" -exec cat {} \; |