Skip to content

[CI] GC logging JVM flags cause failures on Java 9 #27646

@dakrone

Description

@dakrone

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+java9-periodic/1565/console

When our integration tests try to start up ES, they fail due to the PrintGCDateStamps flag

Node 0 output:
|-----------------------------------------
|  failure marker exists: true
|  pid file exists: false
|  http ports file exists: false
|  transport ports file exists: false
|
|  [ant output]
|
|  [log]
|    warning: ignoring JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
|    Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
|    Unrecognized VM option 'PrintGCDateStamps'
|    Error: Could not create the Java Virtual Machine.
|    Error: A fatal exception has occurred. Program will exit.
|-----------------------------------------

Relates to #27610

Metadata

Metadata

Assignees

Labels

:Delivery/PackagingRPM and deb packaging, tar and zip archives, shell and batch scripts>test-failureTriaged test failures from CITeam:DeliveryMeta label for Delivery team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions