Skip to content

Commit 16ef6b6

Browse files
committed
chore(tests): add etcd log output to integration tests
1 parent d1cdd57 commit 16ef6b6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tests/bin/test-setup.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,14 @@ function dump_logs {
134134
get_logs deis-router@3 deis-store-volume deis-store-volume-3
135135
get_logs deis-store-gateway
136136

137+
# get debug-etcd logs
138+
fleetctl -strict-host-key-checking=false ssh deis-router@1 journalctl --no-pager -u etcd \
139+
> $FAILED_LOGS_DIR/debug-etcd-1.log
140+
fleetctl -strict-host-key-checking=false ssh deis-router@2 journalctl --no-pager -u etcd \
141+
> $FAILED_LOGS_DIR/debug-etcd-2.log
142+
fleetctl -strict-host-key-checking=false ssh deis-router@3 journalctl --no-pager -u etcd \
143+
> $FAILED_LOGS_DIR/debug-etcd-3.log
144+
137145
# tarball logs
138146
BUCKET=jenkins-failure-logs
139147
FILENAME=deis-test-failure-$TIMESTAMP.tar.gz

0 commit comments

Comments
 (0)