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

Transform FunctionFactoryTests. testCreateLatestFunction fails #66292

Closed
benwtrent opened this issue Dec 14, 2020 · 1 comment · Fixed by #66293
Closed

Transform FunctionFactoryTests. testCreateLatestFunction fails #66292

benwtrent opened this issue Dec 14, 2020 · 1 comment · Fixed by #66293
Labels
:ml/Transform Transform >test-failure Triaged test failures from CI

Comments

@benwtrent
Copy link
Member

Build scan:
https://gradle-enterprise.elastic.co/s/jpxhkvlcqq3ze
Repro line:

./gradlew ':x-pack:plugin:transform:test' --tests "org.elasticsearch.xpack.transform.transforms.FunctionFactoryTests.testCreateLatestFunction" -Dtests.seed=98F3DDD081D6BC00 -Dtests.security.manager=true -Dtests.locale=ko-KR -Dtests.timezone=Europe/Ljubljana -Druntime.java=11

Reproduces locally?:
Yes
Applicable branches:
master

Failure excerpt:


org.elasticsearch.xpack.transform.transforms.FunctionFactoryTests > testCreateLatestFunction FAILED |  
-- | --
  | java.lang.IllegalArgumentException: Composite source names must be unique, found duplicates: [O] |  
  | at __randomizedtesting.SeedInfo.seed([98F3DDD081D6BC00:A0E95A82E5AC2FFF]:0) |  
  | at org.elasticsearch.search.aggregations.bucket.composite.CompositeAggregationBuilder.validateSources(CompositeAggregationBuilder.java:202) |  
  | at org.elasticsearch.search.aggregations.bucket.composite.CompositeAggregationBuilder.<init>(CompositeAggregationBuilder.java:79) |  
  | at org.elasticsearch.search.aggregations.AggregationBuilders.composite(AggregationBuilders.java:379) |  
  | at org.elasticsearch.xpack.transform.transforms.latest.Latest.createCompositeAggregation(Latest.java:80) |  
  | at org.elasticsearch.xpack.transform.transforms.latest.Latest.<init>(Latest.java:68) |  
  | at org.elasticsearch.xpack.transform.transforms.FunctionFactory.create(FunctionFactory.java:30) |  
  | at org.elasticsearch.xpack.transform.transforms.FunctionFactoryTests.testCreateLatestFunction(FunctionFactoryTests.java:38)
@benwtrent benwtrent added >test-failure Triaged test failures from CI :ml/Transform Transform labels Dec 14, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml/Transform)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:ml/Transform Transform >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants