Debug pytest password auth failing

This commit is contained in:
Matt Johnston 2021-10-19 13:30:58 +08:00
parent 742e296115
commit 27ffea3223
2 changed files with 5 additions and 0 deletions

View File

@ -117,6 +117,7 @@ jobs:
run: |
mkdir -p ~/.ssh
~/inst/bin/dropbearkey -t ecdsa -f ~/.ssh/id_dropbear | grep ^ecdsa > ~/.ssh/authorized_keys
find ~/.ssh/authorized_keys -ls
# upload config.log if something has failed
- name: config.log

View File

@ -35,6 +35,10 @@ def dropbear(request):
# Ready
yield p
p.terminate()
print("Terminated dropbear. Flushing output:")
for l in p.stderr:
print(l.rstrip())
print("Done")
def dbclient(request, *args, **kwargs):
opt = request.config.option