Page MenuHomeSoftware Heritage

conftest: Fix tests hang since elasticsearch 7.16 release
ClosedPublic

Authored by anlambert on Dec 13 2021, 4:03 PM.

Details

Summary

Since we are not using the elasticsearch startup script, we must explicitely set
the LIBFFI_TMPDIR environment variable or elasticsearch will fail to start.

See https://www.elastic.co/guide/en/elasticsearch/reference/current/executable-jna-tmpdir.html

Closes T3803

Diff Detail

Repository
rDSEA Archive search
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D6828 (id=24753)

Rebasing onto c201e3236e...

Current branch diff-target is up to date.
Changes applied before test
commit 933c7883044836c83479b7051943fe08f11caa4d
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Mon Dec 13 16:02:41 2021 +0100

    conftest: Fix tests hang since elasticsearch 7.16 release
    
    Since we are not using the elasticsearch startup script, we must explicitely set
    the LIBFFI_TMPDIR environment variable or elasticsearch will fail to start.
    
    See https://www.elastic.co/guide/en/elasticsearch/reference/current/executable-jna-tmpdir.html
    
    Closes T3803

See https://jenkins.softwareheritage.org/job/DSEA/job/tests-on-diff/300/ for more details.

This revision is now accepted and ready to land.Dec 13 2021, 4:12 PM