#8151 test_commands timing-out
Closed: fixed 4 months ago by frenaud. Opened a year ago by abiagion.

Issue

Test method test_commands.TestIPACommand.test_sss_ssh_authorizedkeys() is often getting stuck since it was added in 836b90f.

PR-CI times-out when executing the final steps of the test method, I've seen that happening for these two commands

2019-12-16 16:09:28,018    DEBUG  [ipatests.pytest_ipa.integration.host.Host.master.cmd230] RUN ['ssh', '-o', 'PasswordAuthentication=no', '-o', 'IdentitiesOnly=yes', '-o', 'StrictHostKeyChecking=no', '-o', 'ConnectTimeout=10', '-l', 'testsshuser', '-i', '/tmp/tmp.dYp40NVXUf', 'master.ipa.test', 'true']
2019-12-12 22:16:30,065    DEBUG  [ipatests.pytest_ipa.integration.host.Host.master.ParamikoTransport] RUN ['ipa', 'user-add-cert', 'testsshuser', '--certificate', 'MIIDDTCCAfWgAwIBAgIUKslcfVGN7sOLAxxElahjG4wKEtswDQYJKoZIhvcNAQELBQAwFjEUMBIGA1UEAwwLdGVzdHNzaHVzZXIwHhcNMTkxMjEyMjEzMjQ5WhcNMjAxMjExMjEzMjQ5WjAWMRQwEgYDVQQDDAt0ZXN0c3NodXNlcjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMaj6BE6lqrZl7ufuESvgqRm8lBOMsBTezH3V45hZaT5VYWFev2G02iB6hdukYispcnoNhUm2riMCUPHzCMKH3rpb2ls7BEABHD9GlXduwNJOc3lXWaBHskTAOortRJ9XEMKHahLtGz6ASiGoFfWq+WOMW2l2ZCQNIKVxjqgewg6y7OyQI3+2Qm00dwI4uq7FMUYK9B3kizufVwITkaZNYf1/lWxbEb4WG1kLHxM/HyXPT

Additional info:

Some failed runs:

Logs for test_sss_ssh_authorizedkeys are not collected because execution was aborted.


I thought it was fixed by: 0926cb8 but after merging that several other jobs continued to fail.

master:

  • ef1b8d0 ipatests: Skip test_sss_ssh_authorizedkeys method

ipa-4-8:

  • 0117342 ipatests: Skip test_sss_ssh_authorizedkeys method

Metadata Update from @frenaud:
- Issue tagged with: test-failure, tests

a year ago

ipa-4-7:

  • 54b14f4 ipatests: Skip test_sss_ssh_authorizedkeys method

master:

  • f7ed159 ipatests: re-enable test_sss_ssh_authorizedkeys
  • 178d809 ipatests: test_sss_ssh_authorizedkeys

ipa-4-8:

  • 59ad3ae ipatests: re-enable test_sss_ssh_authorizedkeys
  • cf6877a ipatests: test_sss_ssh_authorizedkeys

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

4 months ago

Metadata Update from @fcami:
- Custom field changelog adjusted to Re-enable test_sss_ssh_authorizedkeys ; add -v to ssh in order to get debug information if this test fails or stalls again. The test was run 16 times without a failure before re-enabling it.

3 months ago

Login to comment on this ticket.

Metadata