It currently timeouts [1].
[1] https://jenkins.softwareheritage.org/view/swh-draft/job/DSEA/job/tests/1153/console
It currently timeouts [1].
[1] https://jenkins.softwareheritage.org/view/swh-draft/job/DSEA/job/tests/1153/console
rDSEA Archive search | |||
D7631 | rDSEA88a04c542f4c Add new supported visit type 'maven' | ||
D7640 | rDSEA377ba2c8c194 conftest: Fix tests hang with elasticsearch 7.17.3 |
Looks like it is related to recent elasticsearch 7.17.3 release, downgrading to 7.17.2 makes the tests hang go away.
When using 7.17.3 version, the following error appears when executing tests.
(swh) ✘-INT ~/swh/swh-environment/swh-search [master|⚑ 4] 11:39 $ pytest -sv --log-cli-level=debug ================================================================================================================================== test session starts ================================================================================================================================== platform linux -- Python 3.9.2, pytest-7.1.1, pluggy-1.0.0 -- /home/anlambert/.virtualenvs/swh/bin/python cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/anlambert/swh/swh-environment/swh-search/.hypothesis/examples') rootdir: /home/anlambert/swh/swh-environment/swh-search, configfile: pytest.ini plugins: redis-2.4.0, postgresql-3.1.3, forked-1.4.0, mock-3.7.0, flask-1.2.0, xdist-2.5.0, cov-3.0.0, hypothesis-6.43.3, requests-mock-1.9.3, django-test-migrations-1.2.0, django-4.5.2, rabbitmq-2.2.1, dash-2.3.1, mongodb-2.2.0, asyncio-0.18.3, swh.journal-1.0.1.dev3+g3771edb asyncio: mode=legacy collected 186 items swh/search/tests/test_api_client.py::TestRemoteSearch::test_filter_keyword_in_filter Exception in thread "main" java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release at java.base/java.lang.System.setSecurityManager(System.java:416) at org.elasticsearch.bootstrap.Security.setSecurityManager(Security.java:99) at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:70)