Skip to content

InferenceRestIT release builds are failing due to feature flag not being enabled #131838

@kderusso

Description

@kderusso

CI Link

https://gradle-enterprise.elastic.co/s/er4rv3krq2xkq/console-log?anchor=6413&page=7

Repro line

./gradlew ":x-pack:plugin:inference:yamlRestTest" --tests "org.elasticsearch.xpack.inference.InferenceRestIT.test {p0=inference/70_text_similarity_rank_retriever/Reranking based on snippets}" -Dtests.seed=403A23B179150994 -Dbuild.snapshot=false -Dtests.jvm.argline="-Dbuild.snapshot=false" -Dlicense.key=x-pack/license-tools/src/test/resources/public.key -Dtests.locale=en-RW -Dtests.timezone=Arctic/Longyearbyen -Druntime.java=24

Does it reproduce?

Yes

Applicable branches

main

Failure history

No response

Failure excerpt

This test is failing because of yaml tests introduced in #129369 that are behind a feature flag. I am spinning up a PR to add the feature flag to InferenceRestIT but it still fails due to -Dbuild.snapshot=false -Dtests.jvm.argline="-Dbuild.snapshot=false" because the cluster feature isn't known.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions