Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823822 - net-nds/openldap-2.4.58-r2 fails tests
Summary: net-nds/openldap-2.4.58-r2 fails tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: Normal normal (vote)
Assignee: Mikle Kolyada
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 818739
  Show dependency tree
 
Reported: 2021-11-15 09:49 UTC by Agostino Sarubbo
Modified: 2022-09-01 23:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,898.48 KB, text/plain)
2021-11-15 09:49 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-11-15 09:49:10 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-nds/openldap-2.4.58-r2 fails tests.
Discovered on: sparc (internal ref: sparc_at)
Comment 1 Agostino Sarubbo gentoo-dev 2021-11-15 09:49:12 UTC
Created attachment 751230 [details]
build.log

build log and emerge --info
Comment 2 Rolf Eike Beer archtester 2021-11-24 15:33:11 UTC
ago has:

waiting 7 seconds for syncrepl to receive changes...
/var/tmp/portage/net-nds/openldap-2.4.58-r2/work/openldap-2.4.58/tests/scripts/test045-syncreplication-proxied: line 668: 50334 Segmentation fault      (core dumped) $SLAPD -f $CONF2 -h $URI2 -d $LVL $TIMING >> $LOG2 2>&1

I have:

Waiting 15 seconds for syncrepl to receive changes...                                                                                                                                                                                                                    
/var/tmp/portage/net-nds/openldap-2.4.58-r2/work/openldap-2.4.58/tests/scripts/test019-syncreplication-cascade: line 340: 24949 Segmentation fault      $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2021-11-24 17:51:37 UTC
ago, rolf: I'm going to get the 2.5 & 2.6 series into the tree shortly, after that, can you please test:
2.4.59
2.5.9
2.6.0
Comment 4 Rolf Eike Beer archtester 2021-11-25 14:59:36 UTC
/var/tmp/portage/net-nds/openldap-2.4.59-r2/work/openldap-2.4.59/tests/scripts/test019-syncreplication-cascade: line 227:  5321 Segmentation fault      $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING > $LOG1 2>&1
Comment 5 Rolf Eike Beer archtester 2022-01-18 17:33:21 UTC
Sometimes I also see this in 2.4.58-r2:

Waiting 15 seconds for syncrepl to receive changes...
/var/tmp/portage/net-nds/openldap-2.4.58-r2/work/openldap-2.4.58/tests/scripts/test048-syncrepl-multiproxy: line 458: 11323 Segmentation fault      $SLAPD -f $CONF1 -h $URI1 -d $LVL $TIMING >> $LOG1 2>&1
ldapsearch failed at provider (255)!
/var/tmp/portage/net-nds/openldap-2.4.58-r2/work/openldap-2.4.58/tests/scripts/test048-syncrepl-multiproxy: line 467: kill: (11323) - No such process
>>>>> test048-syncrepl-multiproxy failed for bdb
(exit 255)
Comment 6 matoro archtester 2022-05-04 14:56:39 UTC
This does not replicate for me on sparc, even with aggressive CFLAGS.  All of the following tests pass for me:

=net-nds/openldap-2.4.58-r2
=net-nds/openldap-2.4.59-r2
=net-nds/openldap-2.6.1-r1

Can I get a test to see if this is still an issue?
Comment 7 Rolf Eike Beer archtester 2022-05-06 15:17:40 UTC
I see the same errors with 2.4.58-r2 and 2.4.59-r2. With 2.6.1-r1 I get:

>>>>> Starting test018-syncreplication-persist for mdb...
>>>>> Failed   test018-syncreplication-persist for mdb after 42 seconds
make[1]: *** [Makefile:321: mdb-yes] Error 255

But I don't see a way to get the error details.
Comment 8 matoro archtester 2022-05-06 18:01:43 UTC
(In reply to Rolf Eike Beer from comment #7)
> I see the same errors with 2.4.58-r2 and 2.4.59-r2. With 2.6.1-r1 I get:
> 
> >>>>> Starting test018-syncreplication-persist for mdb...
> >>>>> Failed   test018-syncreplication-persist for mdb after 42 seconds
> make[1]: *** [Makefile:321: mdb-yes] Error 255
> 
> But I don't see a way to get the error details.

That is weird.  Can I get an emerge --info on the package so I can see if there's a USE or FLAGS difference?
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-01 04:10:46 UTC
You can get some more details if you look at (in my case): /var/tmp/portage/net-nds/openldap-2.6.2/work/openldap-OPENLDAP_REL_ENG_2_6_2-abi_x86_64.amd64/tests/testout.*.
Comment 10 Rolf Eike Beer archtester 2022-06-08 13:40:02 UTC
I have tested and the failures are spurious, and the backtraces end somewhere in poll() or friends. This all sounds like too short timeouts for a slow or busy machine.
Comment 11 matoro archtester 2022-06-08 17:29:35 UTC
(In reply to Rolf Eike Beer from comment #10)
> I have tested and the failures are spurious, and the backtraces end
> somewhere in poll() or friends. This all sounds like too short timeouts for
> a slow or busy machine.

Can you try upping the timeouts and see if it helps?  I believe these should respect the environment variables SLEEP0, SLEEP1, SLEEP2, and TIMEOUT depending on the test: https://github.com/openldap/openldap/blob/master/tests/scripts/defines.sh#L72