https://bugs.openldap.org/show_bug.cgi?id=9631
Issue ID: 9631 Summary: slapd-wt tests often fail/timeout Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: backends Assignee: bugs@openldap.org Reporter: ondra@mistotebe.net Target Milestone: ---
Since merging wt into master, tests started to fail ~80-90% of the time, partly due to bugs in wt (https://git.openldap.org/openldap/openldap/-/jobs/8458) or timeouts in CI.
I am about to remove the backend from make test for now (keeping it in alltests), opening this issue to discuss further.
https://bugs.openldap.org/show_bug.cgi?id=9631
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • ee7a87b0 by Ondřej Kuzník at 2021-08-12T16:54:18+01:00 ITS#9631 move slapd-wt tests to alltests
https://bugs.openldap.org/show_bug.cgi?id=9631
Ondřej Kuzník ondra@mistotebe.net changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.openldap.org/s | |how_bug.cgi?id=9463
https://bugs.openldap.org/show_bug.cgi?id=9631
--- Comment #2 from HAMANO Tsukasa hamano@osstech.co.jp --- Our environment use static linked slapd with backend and libwiredtiger, so we were not aware the issue.
The reason is obvious: dlclose() makes crash when shared code is running in the other thread. I had omitted the cache DB closing, so the module unload was called while the shared code was still running. This fix will ensure terminating all threads when module unload. https://git.openldap.org/openldap/openldap/-/merge_requests/395
https://bugs.openldap.org/show_bug.cgi?id=9631
--- Comment #3 from HAMANO Tsukasa hamano@osstech.co.jp --- I propose splitting the CI job. 2h job is too long. We can split the job into a build job and each tests. Upload the built binaries as artifacts and use them in the test job.
https://bugs.openldap.org/show_bug.cgi?id=9631
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |IN_PROGRESS Target Milestone|--- |2.6.0 Assignee|bugs@openldap.org |hamano@osstech.co.jp Ever confirmed|0 |1
https://bugs.openldap.org/show_bug.cgi?id=9631
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • c66c9f87 by HAMANO Tsukasa at 2021-09-06T15:19:25+00:00 ITS#9631 back-wt: closing cache db politely
https://bugs.openldap.org/show_bug.cgi?id=9631
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED
--- Comment #5 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
Commits: • da0a060e by HAMANO Tsukasa at 2021-09-06T17:45:47+00:00 ITS#9631 back-wt: closing cache db politely
https://bugs.openldap.org/show_bug.cgi?id=9631
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.6.0 |2.5.8
--- Comment #6 from Quanah Gibson-Mount quanah@openldap.org --- RE25:
• 5c9012e5 by HAMANO Tsukasa at 2021-09-23T18:53:57+00:00 ITS#9631 back-wt: closing cache db politely
https://bugs.openldap.org/show_bug.cgi?id=9631
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED