Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.x BWC with v7.4.2 fails to start the testcluster due to missing gc.log file #57965

Open
ywangd opened this issue Jun 11, 2020 · 2 comments
Open
Assignees
Labels
:Core/Infra/Logging Log management and logging utilities Team:Core/Infra Meta label for core/infra team >test Issues or PRs that are addressing/adding tests

Comments

@ywangd
Copy link
Member

ywangd commented Jun 11, 2020

This is triggered while investgating a CI test failure. However, this issue is not about the CI failure, but is about that the reproduction line does not work locally.

./gradlew ':x-pack:qa:rolling-upgrade:v7.4.2#oneThirdUpgradedTest' --tests "org.elasticsearch.upgrades.IndexingIT.testIndexing" -Dtests.seed=C320303B19599520 -Dtests.security.manager=true -Dtests.locale=en-AU -Dtests.timezone=Mexico/General -Druntime.java=8

The testcluster fails with the following error message:

[0.009s][error][logging] Error opening log file 'logs/gc.log': No such file or directory
[0.009s][error][logging] Initialization of output 'file=logs/gc.log' using options 'filecount=32,filesize=64m' failed.

Build scan: https://gradle-enterprise.elastic.co/s/e5ghyqne72il2

The same test line works by replacing v7.4.2 with v7.5.0, so this is version specific.

@mark-vieira also confirmed that this is a problem when just downloading and running v7.4.2 on its own. Interestingly, this also depends on the JDK version, e.g. Oracle JDK 8.0.201 works, but 8.0.241 does not.

@ywangd ywangd added >test Issues or PRs that are addressing/adding tests :Core/Infra/Logging Log management and logging utilities labels Jun 11, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Logging)

@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Jun 11, 2020
@rjernst rjernst added the needs:triage Requires assignment of a team area label label Dec 3, 2020
@pgomulka
Copy link
Contributor

possibly related to #45673
the problem reproduce for me on "1.8.0_181" as well as 1.8.0_275

@pgomulka pgomulka removed the needs:triage Requires assignment of a team area label label Dec 10, 2020
@pgomulka pgomulka self-assigned this May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Logging Log management and logging utilities Team:Core/Infra Meta label for core/infra team >test Issues or PRs that are addressing/adding tests
Projects
None yet
Development

No branches or pull requests

4 participants