Skip to content

Commit b746d22

Browse files
committed
ci: Check nipapd status
1 parent 11390c0 commit b746d22

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ jobs:
112112
# create local user for unittest and restart
113113
sudo nipap-passwd add -u unittest -p gottatest -f /etc/nipap/local_auth.db -n unittest
114114
sudo systemctl restart nipapd.service
115+
sudo systemctl status nipapd.service
115116
# add some data to the database that we can verify later
116117
nosetests3 tests/upgrade-before.py
117118
# bump version so that we know we are upgrading beyond what is installed
@@ -144,6 +145,7 @@ jobs:
144145
sudo nipap/nipap-passwd add -u readonly -p gottatest -f /etc/nipap/local_auth.db --readonly -n "Read-only user for running unit tests"
145146
sudo sed -e "s/^db_host *=.*/db_host = localhost/" -e "s/{{SYSLOG}}/true/" -e "s/^debug.\+/debug = true/" -e "s/^user/#user/" -i /etc/nipap/nipap.conf
146147
sudo systemctl restart nipapd.service
148+
sudo systemctl status nipapd.service
147149
148150
- name: "Verify pre-upgrade data"
149151
if: ${{ matrix.upgrade == true }}
@@ -163,6 +165,7 @@ jobs:
163165
- name: "Accident analysis"
164166
if: failure()
165167
run: |
168+
sudo systemctl status nipapd.service
166169
sudo cat /etc/nipap/nipap.conf
167170
sudo cat /var/log/syslog
168171
sudo cat /tmp/nipap.log || true

0 commit comments

Comments
 (0)