Skip to content

Conversation

@davidkyle
Copy link
Member

This was spotted in the CI failure https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+bwc-tests/241/console

org.elasticsearch.client.ResponseException: method [PUT], host [http://[::1]:45213], URI [_xpack/ml/anomaly_detectors/migration-old-cluster-open-job], status line [HTTP/1.1 400 Bad Request]
No handler found for uri [_xpack/ml/anomaly_detectors/migration-old-cluster-open-job] and method [PUT]

The error is clear from the reproduce line
REPRODUCE WITH: ./gradlew :x-pack:qa:full-cluster-restart:with-system-key:v5.0.0#oldClusterTestRunner ...

ML did not exist in v5.0.0.

This change prevents the full cluster restart tests running against versions prior to v5.5.0. ML was first introduced in v5.4.0 but we do not support opening v5.4.0 jobs

@davidkyle davidkyle added >test-failure Triaged test failures from CI :ml Machine learning v6.6.0 v6.7.0 labels Jan 4, 2019
@davidkyle davidkyle requested a review from droberts195 January 4, 2019 10:17
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

Copy link

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davidkyle davidkyle merged commit 80aea56 into elastic:6.x Jan 4, 2019
@davidkyle davidkyle deleted the bwc-tests branch January 4, 2019 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:ml Machine learning >test-failure Triaged test failures from CI v6.6.0 v6.7.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants