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

    Labels

    :Core/Infra/CoreCore issues without another label:SearchOrg/RelevanceLabel for the Search (solution/org) Relevance team>test-failureTriaged test failures from CITeam:Core/InfraMeta label for core/infra teamTeam:Search - RelevanceThe Search organization Search Relevance teamTeam:SearchOrgMeta label for the Search Org (Enterprise Search)needs:riskRequires assignment of a risk label (low, medium, blocker)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions