Public bug reported:

Autopkgtests are consistently failing on s390x.

More specifically, the test 04-getroot-sssd is failing.

The reason is not evident because the stderr is being redirected to
/dev/null. After testing a PPA without the redirection, I was able to
see the error below:


ldap_sasl_interactive_bind: Can't contact LDAP server (-1)


The reason seems to be that the slapd daemon is not ready yet when the test 
calls ldapmodify.

Adding a simple "sleep", as already done in another place in the same
test, is enough to workaround the issue. Ideally it should try the
command again if it fails using some sort of exponential backoff.

A sleep-based workaround was proposed as part of
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/2025655

** Affects: sudo (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/2026888

Title:
  Autopkgtest failing on s390x

Status in sudo package in Ubuntu:
  New

Bug description:
  Autopkgtests are consistently failing on s390x.

  More specifically, the test 04-getroot-sssd is failing.

  The reason is not evident because the stderr is being redirected to
  /dev/null. After testing a PPA without the redirection, I was able to
  see the error below:

  
  ldap_sasl_interactive_bind: Can't contact LDAP server (-1)

  
  The reason seems to be that the slapd daemon is not ready yet when the test 
calls ldapmodify.

  Adding a simple "sleep", as already done in another place in the same
  test, is enough to workaround the issue. Ideally it should try the
  command again if it fails using some sort of exponential backoff.

  A sleep-based workaround was proposed as part of
  https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/2025655

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/2026888/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to