Project

General

Profile

Actions

action #57227

closed

[sle][functional][u][sporadic] ldapadd failure, test_abort 'Failed to prepare LDAP server'

Added by michel_mno over 4 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 30
Start date:
2019-09-23
Due date:
% Done:

0%

Estimated time:
42.00 h
Difficulty:

Description

ldapadd failure, test_abort 'Failed to prepare LDAP server' for ppc64le as per autoinst-log (1)

+ ../junit.sh testsuite -t 'Use SSSD with Kerberos and LDAP backend'
###junit testsuite time="2019-09-22T01:56:09.368" text="Use SSSD with Kerberos and LDAP backend"
+ echo '127.0.0.1 krb.ldapdom.net'
+ mkdir -p /tmp/ldap-sssdtest
+ cp ldap.crt /tmp/ldap-sssdtest.cacrt
+ cp ldap.crt /tmp/ldap-sssdtest.crt
+ cp ldap.key /tmp/ldap-sssdtest.key
+ /usr/sbin/slapd -h ldap:/// -f slapd.conf
+ ldapadd -x -D cn=root,dc=ldapdom,dc=net -wpass -f db.ldif
+ test_abort 'Failed to prepare LDAP server' 
+ ../junit.sh error -T 'Failed to prepare LDAP server'
###junit error time="2019-09-22T01:56:09.412" type="Failed to prepare LDAP server"
+ exit 1

(1) https://openqa.opensuse.org/tests/1038010/file/autoinst-log.txt

openQA do not capture any data for related sssd module, because of exit 1 in called test_abort()
Is it the correct function to be called for this ldapadd failure ?

Observation

openQA test in scenario opensuse-Tumbleweed-DVD-ppc64le-extra_tests_in_textmode@ppc64le fails in
sssd

Test suite description

Maintainer: okurz@suse.de

Mainly console extratest.

Reproducible

Fails since (at least) Build 20180813

Expected result

Last good: https://openqa.opensuse.org/tests/1016627#step/sssd

Further details

Always latest result in this scenario: latest

Tasks

  • Make the test provide logs on failure
  • compare with https://openqa.opensuse.org/tests/1016627#step/sssd/77 and report issue or file a bug against junit.sh:

    ldappasswd -x -D cn=root,dc=ldapdom,dc=net -wpass -spass cn=krbkdc,dc=ldapdom,dc=net
    ldappasswd -x -D cn=root,dc=ldapdom,dc=net -wpass -spass cn=krbadm,dc=ldapdom,dc=net

are not executed.


Related issues 1 (0 open1 closed)

Related to openQA Tests - action #57101: [qam][functional][u] test fails in gdb - Missing module development toolsResolvedSLindoMansilla2019-09-19

Actions
Actions #1

Updated by zluo over 4 years ago

  • Subject changed from ldapadd failure, test_abort 'Failed to prepare LDAP server' to [sle][functional][u] ldapadd failure, test_abort 'Failed to prepare LDAP server'
  • Description updated (diff)
  • Assignee set to zluo
Actions #2

Updated by SLindoMansilla over 4 years ago

Waiting for maintainer's answer.

Actions #3

Updated by SLindoMansilla over 4 years ago

Howard answered me. He will not be able to keep maintaining the module. We need to find another module maintainer. Volunteers?

Actions #4

Updated by SLindoMansilla over 4 years ago

  • Priority changed from Normal to High
Actions #5

Updated by zluo over 4 years ago

  • Assignee deleted (zluo)

unassign myself since grooming session is done with this ticket.

Actions #6

Updated by SLindoMansilla over 4 years ago

  • Related to action #57101: [qam][functional][u] test fails in gdb - Missing module development tools added
Actions #7

Updated by SLindoMansilla over 4 years ago

  • Subject changed from [sle][functional][u] ldapadd failure, test_abort 'Failed to prepare LDAP server' to [sle][functional][u][sporadic] ldapadd failure, test_abort 'Failed to prepare LDAP server'
  • Description updated (diff)
  • Status changed from New to Workable
  • Priority changed from High to Normal
  • Target version set to Milestone 28
  • Estimated time set to 42.00 h

The test may be moved to extra_tests_package_hub #57101

Actions #8

Updated by mgriessmeier over 4 years ago

  • Target version changed from Milestone 28 to Milestone 30

to be discussed offline

Actions #9

Updated by michel_mno over 4 years ago

new occurence on Leap15.2 ppc64le Build 80.2:
https://openqa.opensuse.org/tests/1150357#step/sssd/99

extract of reported stdout:
+ cp ldap.crt /tmp/ldap-sssdtest.cacrt
+ cp ldap.crt /tmp/ldap-sssdtest.crt
+ cp ldap.key /tmp/ldap-sssdtest.key
+ /usr/sbin/slapd -h ldap:/// -f slapd.conf
+ ldapadd -x -D cn=root,dc=ldapdom,dc=net -wpass -f db.ldif
+ test_abort 'Failed to prepare LDAP server'
+ ../junit.sh error -T 'Failed to prepare LDAP server'
###junit error time="2020-01-21T08:19:44.050" type="Failed to prepare LDAP server"
+ exit 1

I did not failed on previous build 76.3
https://openqa.opensuse.org/tests/1148569#step/sssd/97

Actions #10

Updated by zluo about 4 years ago

  • Status changed from Workable to Rejected
  • Assignee set to zluo
Actions

Also available in: Atom PDF