-
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
It appears as though joda time cannot handle certain timezones such as SystemV/MST7MDT, which results in test failures that reproduce locally.
Build link: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+intake/204/console
Reproduce
./gradlew :x-pack:plugin:watcher:test -Dtests.seed=4AA3D2B20D6E347A -Dtests.class=org.elasticsearch.xpack.watcher.trigger.schedule.tool.CronEvalToolTests -Dtests.method="testGetNextValidTimes" -Dtests.security.manager=true -Dtests.locale=hr-HR -Dtests.timezone=SystemV/MST7MDT -Dcompiler.java=11 -Druntime.java=8
Failure
Caused by: java.lang.IllegalArgumentException: The datetime zone id 'SystemV/MST7MDT' is not recognised
at org.joda.time.DateTimeZone.forTimeZone(DateTimeZone.java:385)
at org.elasticsearch.xpack.watcher.trigger.schedule.tool.CronEvalTool.<clinit>(CronEvalTool.java:34)
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