-
Notifications
You must be signed in to change notification settings - Fork 25.2k
oss-distro-docs build doesn't test docs for OSS #51678
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
Comments
Pinging @elastic/es-core-infra (:Core/Infra/Build) |
Looks like it's a settings problem:
|
This looks to be the bit it doesn't like. My question is, based on the message above, why doesn't this break with the default distribution as well? Also that looks to be a warning. Is that what is actually stopping the node from starting? |
This adds the required ``` [role="xpack"] [testenv="basic"] ``` To the top of the SLM documentation Relates to elastic#51678
The node not starting was fixed in #51711. I agree it seems like the node should have failed with the default distribution as well; I don't have an explanation there. Aside from SLM docs files needing annotations (#51711), there are 2 failures left to investigate:
|
This adds the required ``` [role="xpack"] [testenv="basic"] ``` To the top of the SLM documentation Relates to #51678
I'll open a PR to add the missing testenv attribute to categories.asciidoc |
With respect to the restart-cluster failure, I suspect it's because one of the optional steps in https://www.elastic.co/guide/en/elasticsearch/reference/master/restart-cluster.html involves a machine learning API. Is it possible to skip this page from the OSS-only tests without marking the entire page as "role=xpack" (since I think that would be misleading)? |
@lcawl I don't think that is possible within a single file. However, could the ML part be split out to a separate file that is included, and the other file has the xpack role? |
Sorry I'm coming back to this issue late. I'd like to understand what we are trying to test here. I assume, the purpose of this is to ensure that all the snippets in https://gradle-enterprise.elastic.co/s/knsgu5iwoh3yi/tests/failed So then my question is this? What's the "error" here? Is it that those docs should actually be under |
Docs for pages that require xpack should be marked with some attribute at
the top of the file. That attribute skips the tests if xpack isn't
available and adds a little bug at the top of the page saying the feature
is part of xpack.
The goal is to make sure all pages have the bug that should and that pages
that don't have it do indeed work with the Apache licensed distro.
…On Wed, Apr 15, 2020, 18:12 Mark Vieira ***@***.***> wrote:
Sorry I'm coming back to this issue late. I'd like to understand what we
are trying to test here. I assume, the purpose of this is to ensure that
all the snippets in /docs work against an OSS distribution. Well...
that's simply not the case. Running locally we get a number of failures,
primarily related to CCR, which I assume is because this is an x-pack only
feature.
https://gradle-enterprise.elastic.co/s/knsgu5iwoh3yi/tests/failed
So then my question is this? What's the "error" here? Is it that those
docs should actually be under /x-pack or should we be ignoring these
tests, or some other misconfiguration? Did the CCR docs simply "sneak" in
because we weren't actually properly testing against an OSS distro?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#51678 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABUXIQIQ32AJV4HAWDYUKTRMYWNBANCNFSM4KNWYUBQ>
.
|
The original comment mentioned issue elastic#48583, but issue elastic#48941 is specifically open for this mute. However, this is inappropriate, as the underlying reason the test cannot be unmuted is the same as for all the other tests skipped with the comment "Kibana sample data": issues elastic#51572, elastic#51576 and elastic#51678. Closes elastic#48941
The original comment mentioned issue #48583, but issue #48941 is specifically open for this mute. However, this is inappropriate, as the underlying reason the test cannot be unmuted is the same as for all the other tests skipped with the comment "Kibana sample data": issues #51572, #51576 and #51678. Closes #48941
The original comment mentioned issue #48583, but issue #48941 is specifically open for this mute. However, this is inappropriate, as the underlying reason the test cannot be unmuted is the same as for all the other tests skipped with the comment "Kibana sample data": issues #51572, #51576 and #51678. Closes #48941
OSS is going away so.... 👋 |
@lcawl opened #51570 which I thought should fail the oss-docs tests. It didn't. It turns out that the build runs:
The important bit here is:
Which is backwards. This should be:
When I run:
The node doesn't even come up.
The text was updated successfully, but these errors were encountered: