-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Delivery/BuildBuild or test infrastructureBuild or test infrastructure>test-failureTriaged test failures from CITriaged test failures from CITeam:DeliveryMeta label for Delivery teamMeta label for Delivery team
Description
Example:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.7+bwc-tests/221/console
on an immutable worker (elasticsearch-ci-immutable-ubuntu-1604-1554147007999891542)
we got
07:21:18 Suite: org.elasticsearch.upgrades.CcrRollingUpgradeIT
07:21:18 1> [2019-04-02T04:21:08,986][WARN ][o.e.b.JNANatives ] [[SUITE-CcrRollingUpgradeIT-seed#[5D7F4DF8F9F6B40A]]] Unable to lock JVM Memory: error=12, reason=Cannot allocate memory
07:21:18 1> [2019-04-02T04:21:08,990][WARN ][o.e.b.JNANatives ] [[SUITE-CcrRollingUpgradeIT-seed#[5D7F4DF8F9F6B40A]]] This can result in part of the JVM being swapped out.
07:21:18 1> [2019-04-02T04:21:08,990][WARN ][o.e.b.JNANatives ] [[SUITE-CcrRollingUpgradeIT-seed#[5D7F4DF8F9F6B40A]]] Increase RLIMIT_MEMLOCK, soft limit: 65536, hard limit: 65536
07:21:18 1> [2019-04-02T04:21:08,991][WARN ][o.e.b.JNANatives ] [[SUITE-CcrRollingUpgradeIT-seed#[5D7F4DF8F9F6B40A]]] These can be adjusted by modifying /etc/security/limits.conf, for example:
07:21:18 1> # allow user 'jenkins' mlockall
07:21:18 1> jenkins soft memlock unlimited
07:21:18 1> jenkins hard memlock unlimited
Reproduction command:
./gradlew :x-pack:qa:rolling-upgrade-multi-cluster:v6.7.0#follower#clusterTestRunner -Dtests.seed=5D7F4DF8F9F6B40A -Dtests.class=org.elasticsearch.upgrades.CcrRollingUpgradeIT -Dtests.method="testBiDirectionalIndexFollowing" -Dtests.security.manager=true -Dtests.locale=mk -Dtests.timezone=Australia/Perth -Dcompiler.java=12 -Druntime.java=8
I can reproduce this on a Linux and macOS workstation.
Metadata
Metadata
Assignees
Labels
:Delivery/BuildBuild or test infrastructureBuild or test infrastructure>test-failureTriaged test failures from CITriaged test failures from CITeam:DeliveryMeta label for Delivery teamMeta label for Delivery team