#8151 test_commands timing-out
Closed: fixed by frenaud. Opened by abiagion.

Issue

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

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:

  • http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/0dbcd0b6-2016-11ea-8a90-fa163ef3ea43/
  • http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/448cc15c-1d1c-11ea-8f0e-fa163e260f71/
  • http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/aa3f7474-1d24-11ea-97bb-fa163e1c6062/

Logs for test_sss_ssh_authorizedkeys are not collected because execution was aborted.


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

Skipping this test temporarily: https://github.com/freeipa/freeipa/pull/4046

master:

  • ef1b8d0f49d729e0a04d839916772406a9b222f0 ipatests: Skip test_sss_ssh_authorizedkeys method

ipa-4-8:

  • 011734279c37ca1e9a013694525563b4e77ace78 ipatests: Skip test_sss_ssh_authorizedkeys method

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

ipa-4-7:

  • 54b14f4cb3e65571be54b94ab5f42d471b92a23d ipatests: Skip test_sss_ssh_authorizedkeys method

master:

  • f7ed159769de26b24a0df86786eecdd07fe5e224 ipatests: re-enable test_sss_ssh_authorizedkeys
  • 178d80969c52fbd0c6de28729d9c5281e9ca2578 ipatests: test_sss_ssh_authorizedkeys

ipa-4-8:

  • 59ad3ae4227fa20f0cd0e76b446bb4cfdc08debf ipatests: re-enable test_sss_ssh_authorizedkeys
  • cf6877a4864cebc15833b1b6638dcd53cc643712 ipatests: test_sss_ssh_authorizedkeys

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

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.

Metadata