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

Also available in: Atom PDF