Discussion:
Bug#866122: test060-mt-hot failing on ppc64el buildd
Add Reply
Ryan Tandy
2017-06-27 14:30:03 UTC
Reply
Permalink
Source: openldap
Version: 2.4.44+dfsg-6
Severity: important

test060-mt-hot for bdb failed twice in a row on the ppc64el buildd
(ppc64el-osuosl-01), however a binary-only upload (presumably on a
porterbox) built successfully.
Starting test060-mt-hot for bdb...
running defines.sh
Running slapadd to build slapd database...
Running slapindex to index slapd database...
Starting slapd on TCP/IP port 9011...
/<<BUILDDIR>>/openldap-2.4.44+dfsg/debian/build/tests/../servers/slapd/slapd -s0 -f /<<BUILDDIR>>/openldap-2.4.44+dfsg/debian/build/tests/testrun/slapd.1.conf -h ldap://localhost:9011/ -d stats
Testing basic monitor search...
Monitor searches
Testing basic mt-hot search: 1 threads (1 x 50000) loops...
./progs/slapd-mtread -H ldap://localhost:9011/ -D cn=Manager,dc=example,dc=com -w secret -e cn=Monitor -m 1 -L 1 -l 50000
Testing basic mt-hot search: 5 threads (1 x 10000) loops...
./progs/slapd-mtread -H ldap://localhost:9011/ -D cn=Manager,dc=example,dc=com -w secret -e cn=Monitor -m 5 -L 1 -l 10000
Testing basic mt-hot search: 100 threads (5 x 100) loops...
./progs/slapd-mtread -H ldap://localhost:9011/ -D cn=Manager,dc=example,dc=com -w secret -e cn=Monitor -m 100 -L 5 -l 100
Random searches
Testing random mt-hot search: 1 threads (1 x 50000) loops...
./progs/slapd-mtread -H ldap://localhost:9011/ -D cn=Manager,dc=example,dc=com -w secret -e dc=example,dc=com -f (objectclass=*) -m 1 -L 1 -l 50000
Testing random mt-hot search: 5 threads (1 x 10000) loops...
./progs/slapd-mtread -H ldap://localhost:9011/ -D cn=Manager,dc=example,dc=com -w secret -e dc=example,dc=com -f (objectclass=*) -m 5 -L 1 -l 10000
slapd-mtread failed (139)!
test060-mt-hot failed for bdb
(exit 139)
Makefile:296: recipe for target 'bdb-mod' failed
make[3]: *** [bdb-mod] Error 139
make[3]: Leaving directory '/<<BUILDDIR>>/openldap-2.4.44+dfsg/debian/build/tests'
Makefile:282: recipe for target 'test' failed
make[2]: *** [test] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/openldap-2.4.44+dfsg/debian/build/tests'
Makefile:294: recipe for target 'test' failed
make[1]: *** [test] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/openldap-2.4.44+dfsg/debian/build'
dh_auto_test: make -j4 test VERBOSE=1 returned exit code 2
debian/rules:68: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
Barry Arndt
2019-06-25 22:20:01 UTC
Reply
Permalink
A few things:

I verified that this problem does not recreate on buster, as Ryan
mentioned earlier, because of the disabling of lock elision in glibc.

I verified that this problem still exists on a Debian 9.8 base with
upstream kernel 5.1.0-x, which contains up-to-date TM fixes.

Our kernel team is actively debugging this problem on upstream kernel
5.2.0-rc5, and is in favor of disabling TM in Debian until this issue is
resolved.

Thanks.
Barry
Ryan Tandy
2019-10-09 22:50:01 UTC
Reply
Permalink
Thank you Barry (and Gustavo) for providing closure on this one. :)
One of the problems was introduced in 4.12, and the other in 4.15.
For posterity I should note that I first encountered the issue back in
4.9 and bisected it to dc16b553c949e81f37555777dc7bab66d78285a7. It
looks like the first commit you mentioned largely undoes that one.

In any case I confirmed that cherry-picking those two patches on to an
affected kernel does fix the issue for me. Thank you!

Loading...