Bug 15445

Summary: AB-INT PTEST: SSH Test failed: Permission denied
Product: [QA/Testing] Package Testing (ptest) Reporter: João Marcos Costa <joaomarcos.costa>
Component: ptestAssignee: Unassigned <unassigned>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Undecided CC: alexandre.belloni, randy.macleod
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description João Marcos Costa 2024-03-15 15:35:51 UTC
These error traces are repeated multiple times in the same build, with different IP addresses:

Test case parselogs.ParseLogsTest.test_parselogs depends on ssh.SSHTest.test_ssh but it didn't pass/run.
Test case ptest.PtestRunnerTest.test_ptestrunner_expectfail depends on ssh.SSHTest.test_ssh but it didn't pass/run.
Test case ptest.PtestRunnerTest.test_ptestrunner_expectsuccess depends on ssh.SSHTest.test_ssh but it didn't pass/run.
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemux86-64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemux86-64-ptest/build/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemux86-64-ptest/build/meta/lib/oeqa/runtime/cases/ssh.py", line 20, in test_ssh
    self.assertEqual(status, 0, msg='SSH Test failed: %s' % output)
AssertionError: 255 != 0 : SSH Test failed: Permission denied, please try again.
Permission denied, please try again.
root@192.168.7.24: Permission denied (publickey,password).

https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6193/steps/13/logs/stdio
qemuarm64-ptest ubuntu1804-arm-1


https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6390/steps/12/logs/stdio
qemux86-64-ptest alma9-ty-1
Comment 1 João Marcos Costa 2024-03-15 15:38:36 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/6389/steps/12/logs/stdio

qemux86-64-ptest fedora38-ty-4
Comment 2 João Marcos Costa 2024-03-15 15:40:45 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/6192/steps/12/logs/stdio

qemuarm64-ptest ubuntu2204-arm-1
Comment 3 Randy MacLeod 2024-03-21 14:36:22 UTC
There was a problem in master-next that we think is now resolved. 
YP bug review.
Comment 4 Randy MacLeod 2024-03-21 14:37:10 UTC
Caused by openssh config fragments patch which was not merged and will not be merged.