-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Failing ES Promotion: discover app discover tab field data search php should show the correct hit count #104466
Comments
Pinging @elastic/kibana-app-services (Team:AppServices) |
@thelink2012, I bisected the changes, and looks like this might have been caused by elastic/elasticsearch@1fc09f9 Mind taking a look? |
Sure @tylersmalley, I can take a look at this by the weekend. Is this number that's coming up wrong ( |
@thelink2012, I believe it's actually the hit count - @elastic/kibana-app-services should be able to provide more insights. Here is a screenshot of the failure - looks like it's also raising an |
@tylersmalley the link is expired FYI |
I ran the test locally using the latest master of Elasticsearch: Started server:
Ran the test:
I saw the test was failing on this URL: I stopped the test runner and opened that URL in a new window. Looks like when the test runs, there is a hit count in Discover showing I'm not seeing any errors in the console, or any contextual info shown in the error toast. I searched in the code to find where this error gets formatted, and I found:
I added a console.log(e) on line 414 of that file, and refreshed the browser. I could see the error stringified in the console. I clicked on the originator file of that console log, and added a breakpoint, and hit Refresh again. This lets me inspect the error in the browser console: Here is the text of the error:
Here is the request causing the error:
|
Hi, who should take assignment of this issue? It's not clear if the UI is responsible for causing this error, but it doesn't look like it. |
Hey. I also think this is probably not a UI/Kibana issue. It's probably some characteristic of the indexed data that's triggering a corner case that went unnoticed in the highlighting change in Elasticsearch. Like I said, I can look further in the weekend (your step by step guide will be invaluable, thank you), but I'd support whoever wishes to look this up full-time. |
This comment has been minimized.
This comment has been minimized.
Hey. I had a bit of trouble in setting up Kibana, so instead I tried to find a clue in the Elasticsearch request @tsullivan sent. I guess this is the culprit: Could you try applying this patch and see if the issue persists? |
This reverts commit a0b36c7.
@thelink2012, I have tested your patch against this singular test locally and it worked. I am running all of CI against it here as there were multiple tests affected. 🤞 |
@thelink2012, there are still quite a few tests failing. I really think we should consider reverting your PR to unblock all the downstream teams relying on ES being up-to-date with Kibana while we work these failures out. |
Sure thing, sounds good to me.
…On Tue, Jul 13, 2021, 1:26 AM Tyler Smalley ***@***.***> wrote:
@thelink2012 <https://github.com/thelink2012>, there are still quite a
few tests failing. I really think we should consider reverting your PR to
unblock all the downstream teams relying on ES being up-to-date with Kibana
while we work these failures out.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#104466 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNGVTOFKR3VO4MYOPTIRT3TXO565ANCNFSM474WB2DQ>
.
|
* temp use unverified snapshot Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> * Revert "skip failing es promotion suite (#104469)" This reverts commit 87971e7. * Revert "skip failing es promotion suite (#104467)" This reverts commit c72ad3e. * Revert "skip failing es promotion suite (#104466)" This reverts commit a0b36c7. * Revert "skip failing es promotion suite (#104413)" This reverts commit 9773e3f. * Revert "skip failing es promotion suite (#104409)" This reverts commit 79608dc. * Revert "skip failing es promotion suite (#104366)" This reverts commit dfc5dbb. * Revert "skip failing es promotion suite (#104365)" This reverts commit 2695777. * Revert "skip failing es promotion suite (#104364)" This reverts commit 16f69d2. * Revert "skip failing es promotion suite (#104362)" This reverts commit 2e492c2. * Revert another commit to promote ES snapshot Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* temp use unverified snapshot Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> * Revert "skip failing es promotion suite (elastic#104469)" This reverts commit 87971e7. * Revert "skip failing es promotion suite (elastic#104467)" This reverts commit c72ad3e. * Revert "skip failing es promotion suite (elastic#104466)" This reverts commit a0b36c7. * Revert "skip failing es promotion suite (elastic#104413)" This reverts commit 9773e3f. * Revert "skip failing es promotion suite (elastic#104409)" This reverts commit 79608dc. * Revert "skip failing es promotion suite (elastic#104366)" This reverts commit dfc5dbb. * Revert "skip failing es promotion suite (elastic#104365)" This reverts commit 2695777. * Revert "skip failing es promotion suite (elastic#104364)" This reverts commit 16f69d2. * Revert "skip failing es promotion suite (elastic#104362)" This reverts commit 2e492c2. * Revert another commit to promote ES snapshot Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* temp use unverified snapshot Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> * Revert "skip failing es promotion suite (#104469)" This reverts commit 87971e7. * Revert "skip failing es promotion suite (#104467)" This reverts commit c72ad3e. * Revert "skip failing es promotion suite (#104466)" This reverts commit a0b36c7. * Revert "skip failing es promotion suite (#104413)" This reverts commit 9773e3f. * Revert "skip failing es promotion suite (#104409)" This reverts commit 79608dc. * Revert "skip failing es promotion suite (#104366)" This reverts commit dfc5dbb. * Revert "skip failing es promotion suite (#104365)" This reverts commit 2695777. * Revert "skip failing es promotion suite (#104364)" This reverts commit 16f69d2. * Revert "skip failing es promotion suite (#104362)" This reverts commit 2e492c2. * Revert another commit to promote ES snapshot Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
Hi. Could someone help me validate that my patch no longer breaks Kibana? Since this PR is 1 year old, let me summarize this thread. No need to re-read again at all. I have submitted/merged PR elastic/elasticsearch#73785 (old!) into Elasticsearch, but a few days later this issue here was opened because Kibana's tests were failing, and bisecting Elastic the reason found was the PR I submitted. After some discussion, I could fix a out of bounds access in my PR and some of the functional tests in Kibana that were failing started passing, but some didn't. I couldn't take a look at it at the time, so we ended up reverting the Elasticsearch PR. I'm resuming my activity at that Elasticsearch patch at this moment (i.e. let's fix the failing tests in KIbana), and to my surprise, all functional tests in Kibana were passing. No changes to my patch. Just rebased to Could someone help me validate this? The patch we are talking about (with the OoB fix) is elastic/elasticsearch#75306. I would greatly appreciate anyone's help here. Even giving me instructions on how to test a particular Elasticsearch patch in Kibana CI (like @tylersmalley did in #104571 I think?) would be great. Tests are passing locally but I would like to confirm in CI, such that we do not encounter further problems if we merge that PR again into Elasticsearch. |
Other observations I have thus far is that reverting to Kibana's commit at the time of this issue (i.e. to 434568a) makes the functional tests fail again. That is, something happened in Kibana from 1 year ago to today that makes my patch work with Kibana. Anyone have any idea what could it be? In any case, I'm investigating the issue at Kibana's commit 434568a just to be sure that there is no issue with my patch. |
@tylersmalley hm. is it possible that the tests in #104571 were against a nightly build which didn't include the patch I mentioned in #104466 (comment)? Do note that in that comment I didn't have that fix merged in Elasticsearch. Why I think this is a possibility? Because the test failing in Firefox smoke test at https://github.com/elastic/kibana/runs/3051098270 is "discover tab field data search php should show the correct hit count" which we have definitely fixed during the discussion in here as you have checked locally yourself here. Do you think we can merge that PR into Elasticsearch again and check the results in Kibana when it gets the nightly snapshot? |
Ok, it also fails without the patch, so it's unrelated to the patch. So I think we should do as I commented above. Merge the patch back into ES. |
This failure is preventing the promotion of the current Elasticsearch nightly snapshot.
For more information on the Elasticsearch snapshot promotion process including how to reproduce using the unverified nightly ES build: https://www.elastic.co/guide/en/kibana/master/development-es-snapshots.html
CI failure logs: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/3032/testReport/junit/Chrome%20UI%20Functional%20Tests/test_functional_apps_discover__field_data%C2%B7ts/Kibana_Pipeline___discover_app_discover_tab_field_data_search_php_should_show_the_correct_hit_count_2/
The text was updated successfully, but these errors were encountered: