Skip to content
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

Flaky discover test: doc view should show oldest time first #13163

Closed
stacey-gammon opened this issue Jul 27, 2017 · 17 comments
Closed

Flaky discover test: doc view should show oldest time first #13163

stacey-gammon opened this issue Jul 27, 2017 · 17 comments
Labels
chore Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure test

Comments

@stacey-gammon
Copy link
Contributor

Just ran into this in #13159. The PR it's backporting passed 7 times in a row, but must not have fixed this particular one.

 └-> doc view should show oldest time first
08:00:37.893          └-> "before each" hook: global before each
08:00:37.901            │ debg  Kibana uiSettings are in elasticsearch and the server is reporting a green status
08:00:38.005          │ debg  Taking screenshot "/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-selenium/test/functional/screenshots/failure/discover app discover app field data doc view should show oldest time first.png"
08:00:38.265        └- ✖ fail: "discover app discover app field data doc view should show oldest time first"
08:00:38.265        │        Error: expected 'September 22nd 2015, 23:50:13.253\ntype:apache index:logstash-2015.09.22 @timestamp:September 22nd 2015, 23:50:13.253 ip:238.171.34.42 extension:jpg response:200 geo.coordinates:{ "lat": 38.66494528, "lon": -88.45299556 } geo.src:FR geo.dest:KH geo.srcdest:FR:KH @tags:success, info utc_time:September 22nd 2015, 23:50:13.253 referer:http://twitter.com/success/nancy-currie agent:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) clientip:238.171.34.42 bytes:7,124 host:media-for-the-masses.theacademyofperformingartsandscience.org request:/uploads/karl-henize.jpg url:https://media-for-the-masses.theacademyofperformingartsandscience.org/uploads/karl-henize.jpg @message:238.171.34.42 - - [2015-09-22T23:50:13.253Z] "GET /uploads/karl-henize.jpg HTTP/1.1" 200 7124 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" spaces:this is a thing with lots of spaces wwwwoooooo xss:<script>console.log("xss")</script> headings:<h3>alexander-viktorenko</h5>, http://nytimes.com/warning/michael-massimino links:@www.slate.com, http://www.slate.com/security/frederick-w-leslie, www.www.slate.com relatedContent:{ "url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "og:type": "article", "og:title": "Bjork at the Nokia Theatre, 12/12", "og:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "og:url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "article:published_time": "2007-12-13T12:19:35-08:00", "article:modified_time": "2014-11-27T08:28:42-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "og:image:height": "334", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "Bjork at the Nokia Theatre, 12/12", "twitter:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "twitter:site": "@laweekly" }, { "url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "og:type": "article", "og:title": "The Rapture at the Mayan, 7/25", "og:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "og:url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "article:published_time": "2007-07-26T12:42:30-07:00", "article:modified_time": "2014-11-27T08:00:51-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg", "og:image:height": "321", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "The Rapture at the Mayan, 7/25", "twitter:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg", "twitter:site": "@laweekly" } machine.os:win 7 machine.ram:7,516,192,768 _id:AU_x3_g4GFA8no6QjkYX _type:doc _index:logstash-2015.09.22 _score: - relatedContent.article:modified_time:November 26th 2014, 03:39:26.000, November 26th 2014, 04:36:10.000 relatedContent.article:published_time:October 17th 2005, 07:10:18.000, October 17th 2005, 07:10:18.000' to equal 'September 22nd 2015, 23:50:13.253\ntype:apache index:logstash-2015.09.22 @timestamp:September 22nd 2015, 23:50:13.253 ip:238.171.34.42 extension:jpg response:200 geo.coordinates:{ "lat": 38.66494528, "lon": -88.45299556 } geo.src:FR geo.dest:KH geo.srcdest:FR:KH @tags:success, info utc_time:September 22nd 2015, 23:50:13.253 referer:http://twitter.com/success/nancy-currie agent:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) clientip:238.171.34.42 bytes:7,124 host:media-for-the-masses.theacademyofperformingartsandscience.org request:/uploads/karl-henize.jpg url:https://media-for-the-masses.theacademyofperformingartsandscience.org/uploads/karl-henize.jpg @message:238.171.34.42 - - [2015-09-22T23:50:13.253Z] "GET /uploads/karl-henize.jpg HTTP/1.1" 200 7124 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" spaces:this is a thing with lots of spaces wwwwoooooo xss:<script>console.log("xss")</script> headings:<h3>alexander-viktorenko</h5>, http://nytimes.com/warning/michael-massimino links:@www.slate.com, http://www.slate.com/security/frederick-w-leslie, www.www.slate.com relatedContent:{ "url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "og:type": "article", "og:title": "Bjork at the Nokia Theatre, 12/12", "og:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "og:url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "article:published_time": "2007-12-13T12:19:35-08:00", "article:modified_time": "2014-11-27T08:28:42-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "og:image:height": "334", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "Bjork at the Nokia Theatre, 12/12", "twitter:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "twitter:site": "@laweekly" }, { "url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "og:type": "article", "og:title": "The Rapture at the Mayan, 7/25", "og:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "og:url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "article:published_time": "2007-07-26T12:42:30-07:00", "article:modified_time": "2014-11-27T08:00:51-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg", "og:image:height": "321", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "The Rapture at the Mayan, 7/25", "twitter:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg", "twitter:site": "@laweekly" } machine.os:win 7 machine.ram:7,516,192,768 _id:AU_x3_g4GFA8no6QjkYX _type:doc _index:logstash-2015.09.22 _score: - relatedContent.article:modified_time:November 27th 2014, 16:00:51.000, November 27th 2014, 16:28:42.000 relatedContent.article:published_time:July 26th 2007, 19:42:30.000, December 13th 2007, 20:19:35.000'
08:00:38.265        │         at Assertion.assert (node_modules/expect.js/index.js:96:13)

Looks like it's relatively rare but happening more often recently.

screen shot 2017-07-27 at 4 33 35 pm

Looks like most of the results are the same except a few dates at the end.

'September 22nd 2015, 23:50:13.253\ntype:apache index:logstash-2015.09.22 @timestamp:September 22nd 2015, 23:50:13.253 ip:238.171.34.42 extension:jpg response:200 geo.coordinates:{ "lat": 38.66494528, "lon": -88.45299556 } geo.src:FR geo.dest:KH geo.srcdest:FR:KH @tags:success, info utc_time:September 22nd 2015, 23:50:13.253 referer:http://twitter.com/success/nancy-currie agent:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) clientip:238.171.34.42 bytes:7,124 host:media-for-the-masses.theacademyofperformingartsandscience.org request:/uploads/karl-henize.jpg url:https://media-for-the-masses.theacademyofperformingartsandscience.org/uploads/karl-henize.jpg @message:238.171.34.42 - - [2015-09-22T23:50:13.253Z] "GET /uploads/karl-henize.jpg HTTP/1.1" 200 7124 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" spaces:this is a thing with lots of spaces wwwwoooooo xss:<script>console.log("xss")</script> headings:<h3>alexander-viktorenko</h5>, http://nytimes.com/warning/michael-massimino links:@www.slate.com, http://www.slate.com/security/frederick-w-leslie, www.www.slate.com relatedContent:{ "url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "og:type": "article", "og:title": "Bjork at the Nokia Theatre, 12/12", "og:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "og:url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "article:published_time": "2007-12-13T12:19:35-08:00", "article:modified_time": "2014-11-27T08:28:42-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "og:image:height": "334", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "Bjork at the Nokia Theatre, 12/12", "twitter:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "twitter:site": "@laweekly" }, { "url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "og:type": "article", "og:title": "The Rapture at the Mayan, 7/25", "og:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "og:url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "article:published_time": "2007-07-26T12:42:30-07:00", "article:modified_time": "2014-11-27T08:00:51-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg", "og:image:height": "321", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "The Rapture at the Mayan, 7/25", "twitter:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg", "twitter:site": "@laweekly" } machine.os:win 7 machine.ram:7,516,192,768 _id:AU_x3_g4GFA8no6QjkYX _type:doc _index:logstash-2015.09.22 _score: - relatedContent.article:modified_time:November 26th 2014, 03:39:26.000, November 26th 2014, 04:36:10.000 relatedContent.article:published_time:October 17th 2005, 07:10:18.000, October 17th 2005, 07:10:18.000'
'September 22nd 2015, 23:50:13.253\ntype:apache index:logstash-2015.09.22 @timestamp:September 22nd 2015, 23:50:13.253 ip:238.171.34.42 extension:jpg response:200 geo.coordinates:{ "lat": 38.66494528, "lon": -88.45299556 } geo.src:FR geo.dest:KH geo.srcdest:FR:KH @tags:success, info utc_time:September 22nd 2015, 23:50:13.253 referer:http://twitter.com/success/nancy-currie agent:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) clientip:238.171.34.42 bytes:7,124 host:media-for-the-masses.theacademyofperformingartsandscience.org request:/uploads/karl-henize.jpg url:https://media-for-the-masses.theacademyofperformingartsandscience.org/uploads/karl-henize.jpg @message:238.171.34.42 - - [2015-09-22T23:50:13.253Z] "GET /uploads/karl-henize.jpg HTTP/1.1" 200 7124 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" spaces:this is a thing with lots of spaces wwwwoooooo xss:<script>console.log("xss")</script> headings:<h3>alexander-viktorenko</h5>, http://nytimes.com/warning/michael-massimino links:@www.slate.com, http://www.slate.com/security/frederick-w-leslie, www.www.slate.com relatedContent:{ "url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "og:type": "article", "og:title": "Bjork at the Nokia Theatre, 12/12", "og:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "og:url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "article:published_time": "2007-12-13T12:19:35-08:00", "article:modified_time": "2014-11-27T08:28:42-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "og:image:height": "334", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "Bjork at the Nokia Theatre, 12/12", "twitter:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "twitter:site": "@laweekly" }, { "url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "og:type": "article", "og:title": "The Rapture at the Mayan, 7/25", "og:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "og:url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "article:published_time": "2007-07-26T12:42:30-07:00", "article:modified_time": "2014-11-27T08:00:51-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg", "og:image:height": "321", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "The Rapture at the Mayan, 7/25", "twitter:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg", "twitter:site": "@laweekly" } machine.os:win 7 machine.ram:7,516,192,768 _id:AU_x3_g4GFA8no6QjkYX _type:doc _index:logstash-2015.09.22 _score: - relatedContent.article:modified_time:November 27th 2014, 16:00:51.000, November 27th 2014, 16:28:42.000 relatedContent.article:published_time:July 26th 2007, 19:42:30.000, December 13th 2007, 20:19:35.000'

cc @elastic/kibana-discovery

@stacey-gammon
Copy link
Contributor Author

Ran into this again:

        │ debg  in displayedByCssSelector: [data-test-subj~="discoverQueryHits"]
16:00:42          └- ✓ pass 
16:00:42        └-> doc view should show Time and _source columns
16:00:42          └-> "before each" hook: global before each
16:00:42            │ debg  Kibana uiSettings are in elasticsearch and the server is reporting a green status
16:00:42          └- ✓ pass 
16:00:42        └-> doc view should show oldest time first
16:00:42          └-> "before each" hook: global before each
16:00:42            │ debg  Kibana uiSettings are in elasticsearch and the server is reporting a green status
16:00:42          │ debg  Taking screenshot "/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-selenium/test/functional/screenshots/failure/discover app discover app field data doc view should show oldest time first.png"
16:00:43        └- ✖ fail: "discover app discover app field data doc view should show oldest time first"
16:00:43        │        Error: expected 'September 22nd 2015, 23:50:13.253\ntype:apache index:logstash-2015.09.22 @timestamp:September 22nd 2015, 23:50:13.253 ip:238.171.34.42 extension:jpg response:200 geo.coordinates:{ "lat": 38.66494528, "lon": -88.45299556 } geo.src:FR geo.dest:KH geo.srcdest:FR:KH @tags:success, info utc_time:September 22nd 2015, 23:50:13.253 referer:http://twitter.com/success/nancy-currie agent:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) clientip:238.171.34.42 bytes:7,124 host:media-for-the-masses.theacademyofperformingartsandscience.org request:/uploads/karl-henize.jpg url:https://media-for-the-masses.theacademyofperformingartsandscience.org/uploads/karl-henize.jpg @message:238.171.34.42 - - [2015-09-22T23:50:13.253Z] "GET /uploads/karl-henize.jpg HTTP/1.1" 200 7124 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" spaces:this is a thing with lots of spaces wwwwoooooo xss:<script>console.log("xss")</script> headings:<h3>alexander-viktorenko</h5>, http://nytimes.com/warning/michael-massimino links:@www.slate.com, http://www.slate.com/security/frederick-w-leslie, www.www.slate.com relatedContent:{ "url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "og:type": "article", "og:title": "Bjork at the Nokia Theatre, 12/12", "og:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "og:url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "article:published_time": "2007-12-13T12:19:35-08:00", "article:modified_time": "2014-11-27T08:28:42-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "og:image:height": "334", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "Bjork at the Nokia Theatre, 12/12", "twitter:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "twitter:site": "@laweekly" }, { "url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "og:type": "article", "og:title": "The Rapture at the Mayan, 7/25", "og:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "og:url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "article:published_time": "2007-07-26T12:42:30-07:00", "article:modified_time": "2014-11-27T08:00:51-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg", "og:image:height": "321", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "The Rapture at the Mayan, 7/25", "twitter:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg", "twitter:site": "@laweekly" } machine.os:win 7 machine.ram:7,516,192,768 _id:AU_x3_g4GFA8no6QjkYX _type:doc _index:logstash-2015.09.22 _score: - relatedContent.article:modified_time:November 26th 2014, 03:39:26.000, November 26th 2014, 04:36:10.000 relatedContent.article:published_time:October 17th 2005, 07:10:18.000, October 17th 2005, 07:10:18.000' to equal 'September 22nd 2015, 23:50:13.253\ntype:apache index:logstash-2015.09.22 @timestamp:September 22nd 2015, 23:50:13.253 ip:238.171.34.42 extension:jpg response:200 geo.coordinates:{ "lat": 38.66494528, "lon": -88.45299556 } geo.src:FR geo.dest:KH geo.srcdest:FR:KH @tags:success, info utc_time:September 22nd 2015, 23:50:13.253 referer:http://twitter.com/success/nancy-currie agent:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) clientip:238.171.34.42 bytes:7,124 host:media-for-the-masses.theacademyofperformingartsandscience.org request:/uploads/karl-henize.jpg url:https://media-for-the-masses.theacademyofperformingartsandscience.org/uploads/karl-henize.jpg @message:238.171.34.42 - - [2015-09-22T23:50:13.253Z] "GET /uploads/karl-henize.jpg HTTP/1.1" 200 7124 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" spaces:this is a thing with lots of spaces wwwwoooooo xss:<script>console.log("xss")</script> headings:<h3>alexander-viktorenko</h5>, http://nytimes.com/warning/michael-massimino links:@www.slate.com, http://www.slate.com/security/frederick-w-leslie, www.www.slate.com relatedContent:{ "url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "og:type": "article", "og:title": "Bjork at the Nokia Theatre, 12/12", "og:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "og:url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "article:published_time": "2007-12-13T12:19:35-08:00", "article:modified_time": "2014-11-27T08:28:42-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "og:image:height": "334", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "Bjork at the Nokia Theatre, 12/12", "twitter:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "twitter:site": "@laweekly" }, { "url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "og:type": "article", "og:title": "The Rapture at the Mayan, 7/25", "og:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "og:url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "article:published_time": "2007-07-26T12:42:30-07:00", "article:modified_time": "2014-11-27T08:00:51-08:00", "article:section": "Music", "og:image":

https://kibana-ci.elastic.co/job/elastic+kibana+pull-request+multijob-selenium/7244/consoleFull

@stacey-gammon
Copy link
Contributor Author

stacey-gammon commented Nov 30, 2017

@elastic/kibana-discovery, given the recent push to get rid of known flaky tests, I wonder if we should comment this one out. While not encountered often, I still do encounter it every now and then. Actually just ran into it twice in a row in two different PRs.

@Bargs
Copy link
Contributor

Bargs commented Dec 1, 2017

Sure, if you wanna comment it out I'll add it to our roadmap to look into.

@LeeDr
Copy link

LeeDr commented Dec 7, 2017

It just failed again here;
https://kibana-ci.elastic.co/job/elastic+kibana+pull-request+multijob-selenium/9698/consoleFull

The first ~3500 chars of the actual and expected docs look identical up until this part;

relatedContent.article:modified_time:November 26th 2014, 03:39:26.000, November 26th 2014, 04:36:10.000 relatedContent.article:published_time:October 17th 2005, 07:10:18.000, October 17th 2005, 07:10:18.000'
relatedContent.article:modified_time:November 27th 2014, 16:00:51.000, November 27th 2014, 16:28:42.000 relatedContent.article:published_time:July 26th 2007, 19:42:30.000, December 13th 2007, 20:19:35.000'

@Bargs
Copy link
Contributor

Bargs commented Dec 7, 2017

@weltenwort has a PR to disable this test temporarily #15412

I'm also going to see if I can fix this tomorrow during low fruit friday

@LeeDr
Copy link

LeeDr commented Dec 7, 2017

I'm thinking that the data returned by Elasticsearch has to be wrong to produce this error. Either es_archiver loaded bad data into Elasticsearch somehow, or Elasticsearch mangled the data in the response.

The screenshot from the failed test doesn't help because the doc table in discover isn't showing this many chars on the screen to see the point of failure.

The Selenium test is getting the entire table cell of data in one shot, so it seems really unlikely the test itself is flakey.

The call here; https://github.com/elastic/kibana/blob/master/test/functional/apps/discover/_field_data.js#L116
to PageObjects.discover.getDocTableIndex(1)

Is a single getVisibleText call;

    getDocTableIndex(index) {
      return getRemote()
        .findByCssSelector('tr.discover-table-row:nth-child(' + (index) + ')')
        .getVisibleText();
    }

So I don't think that field could update in the middle of getting the text.
And I'm pretty sure we don't have multiple docs at that exact millisecond timestamp (we'd see them in that screenshot, but the second doc has a different timestamp).

@Bargs
Copy link
Contributor

Bargs commented Dec 8, 2017

I spent some time looking into this today and I don't think there's an issue with the data coming from ES but I also don't think the test itself is flaky. The dates at the end of the string are coming from doc_values. They should match the dates in the documents themselves. If you look at the dates coming from _source in the doc table they're correct, it's just the doc values that are wrong. So either ES is responding with doc_values that are out of sync with the document (which seems really unlikely to me) or we have some sort of race condition or stale state issue in our code that parses the response document. I'm going to try to investigate the latter when I've got some more time.

@LeeDr
Copy link

LeeDr commented Mar 15, 2018

Showing incorrect data seems like a very serious issue. What steps can we take to get to the bottom of this?

@Bargs
Copy link
Contributor

Bargs commented Mar 15, 2018

I submitted a PR to add debug code to troubleshoot the issue but it seems to have fallen off the radar of the reviewers. Has this test failed recently? If so I can revive the PR.

@LeeDr
Copy link

LeeDr commented Mar 15, 2018

No the test hasn't failed recently but that's because it's being skipped. #15412

@Bargs
Copy link
Contributor

Bargs commented Mar 15, 2018

K, I'll try to rebase my old branch and snag a reviewer tomorrow if I've got a spare moment

@LeeDr
Copy link

LeeDr commented Jun 5, 2018

@Bargs that Discover test failed again here, so maybe there's more debug info on it now?
https://kibana-ci.elastic.co/job/elastic+kibana+pull-request+multijob-selenium/4335/consoleFull

@liza-mae
Copy link
Contributor

liza-mae commented Jun 6, 2018

Should we skip this test until we can narrow root cause ?

@LeeDr
Copy link

LeeDr commented Jun 7, 2018

@Bargs Here's the output from that Jenkins job;

17:24:47        └-> doc view should show oldest time first
17:24:47          └-> "before each" hook: global before each
17:24:47          │ info  Attemping to get more debug info on this flaky test. Ping @bargs if you see this fail
17:24:47          │ info  Actual doc from ES ====================
17:24:47          │ info  {"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":1,"max_score":1,"hits":[{"_index":"logstash-2015.09.22","_type":"doc","_id":"AU_x3_g4GFA8no6QjkYX","_score":1,"_source":{"index":"logstash-2015.09.22","type":"apache","@timestamp":"2015-09-22T23:50:13.253Z","ip":"238.171.34.42","extension":"jpg","response":"200","geo":{"coordinates":{"lat":38.66494528,"lon":-88.45299556},"src":"FR","dest":"KH","srcdest":"FR:KH"},"@tags":["success","info"],"utc_time":"2015-09-22T23:50:13.253Z","referer":"http://twitter.com/success/nancy-currie","agent":"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)","clientip":"238.171.34.42","bytes":7124,"host":"media-for-the-masses.theacademyofperformingartsandscience.org","request":"/uploads/karl-henize.jpg","url":"https://media-for-the-masses.theacademyofperformingartsandscience.org/uploads/karl-henize.jpg","@message":"238.171.34.42 - - [2015-09-22T23:50:13.253Z] \"GET /uploads/karl-henize.jpg HTTP/1.1\" 200 7124 \"-\" \"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\"","spaces":"this   is   a   thing    with lots of     spaces       wwwwoooooo","xss":"<script>console.log(\"xss\")</script>","headings":["<h3>alexander-viktorenko</h5>","http://nytimes.com/warning/michael-massimino"],"links":["@www.slate.com","http://www.slate.com/security/frederick-w-leslie","www.www.slate.com"],"relatedContent":[{"url":"http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191","og:type":"article","og:title":"Bjork at the Nokia Theatre, 12/12","og:description":"Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...","og:url":"http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191","article:published_time":"2007-12-13T12:19:35-08:00","article:modified_time":"2014-11-27T08:28:42-08:00","article:section":"Music","og:image":"http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg","og:image:height":"334","og:image:width":"480","og:site_name":"LA Weekly","twitter:title":"Bjork at the Nokia Theatre, 12/12","twitter:description":"Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...","twitter:card":"summary","twitter:image":"http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg","twitter:site":"@laweekly"},{"url":"http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011","og:type":"article","og:title":"The Rapture at the Mayan, 7/25","og:description":"If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...","og:url":"http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011","article:published_time":"2007-07-26T12:42:30-07:00","article:modified_time":"2014-11-27T08:00:51-08:00","article:section":"Music","og:image":"http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg","og:image:height":"321","og:image:width":"480","og:site_name":"LA Weekly","twitter:title":"The Rapture at the Mayan, 7/25","twitter:description":"If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...","twitter:card":"summary","twitter:image":"http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg","twitter:site":"@laweekly"}],"machine":{"os":"win 7","ram":7516192768}},"fields":{"relatedContent.article:modified_time":["2014-11-27T16:00:51.000Z","2014-11-27T16:28:42.000Z"],"relatedContent.article:published_time":["2007-07-26T19:42:30.000Z","2007-12-13T20:19:35.000Z"]}}]}}
17:24:47          │ info  Doc from response in spy panel ========
17:24:47          │ debg  getVisualizationResponse
17:24:47          │ debg  openSpyPanel
17:24:47          │ debg  TestSubjects.exists(spyContentContainer)
17:24:47          │ debg  existsByDisplayedByCssSelector [data-test-subj~="spyContentContainer"]
17:24:48          │ debg  TestSubjects.click(spyToggleButton)
17:24:48          │ debg  TestSubjects.find(spyToggleButton)
17:24:48          │ debg  findByCssSelector [data-test-subj~="spyToggleButton"]
17:24:48          │ debg  TestSubjects.find(spyContentContainer)
17:24:48          │ debg  findByCssSelector [data-test-subj~="spyContentContainer"]
17:24:48          │ debg  TestSubjects.click(spyModeSelect-response)
17:24:48          │ debg  TestSubjects.find(spyModeSelect-response)
17:24:48          │ debg  findByCssSelector [data-test-subj~="spyModeSelect-response"]
17:24:55          │ debg  TestSubjects.find(visualizationEsResponseBody)
17:24:55          │ debg  findByCssSelector [data-test-subj~="visualizationEsResponseBody"]
17:24:56          │ info  {"_index":"logstash-2015.09.22","_type":"doc","_id":"AU_x3_g4GFA8no6QjkYX","_version":1,"_score":null,"_source":{"index":"logstash-2015.09.22","type":"apache","@timestamp":"2015-09-22T23:50:13.253Z","ip":"238.171.34.42","extension":"jpg","response":"200","geo":{"coordinates":{"lat":38.66494528,"lon":-88.45299556},"src":"FR","dest":"KH","srcdest":"FR:KH"},"@tags":["success","info"],"utc_time":"2015-09-22T23:50:13.253Z","referer":"http://twitter.com/success/nancy-currie","agent":"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)","clientip":"238.171.34.42","bytes":7124,"host":"media-for-the-masses.theacademyofperformingartsandscience.org","request":"/uploads/karl-henize.jpg","url":"https://media-for-the-masses.theacademyofperformingartsandscience.org/uploads/karl-henize.jpg","@message":"238.171.34.42 - - [2015-09-22T23:50:13.253Z] \"GET /uploads/karl-henize.jpg HTTP/1.1\" 200 7124 \"-\" \"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)\"","spaces":"this   is   a   thing    with lots of     spaces       wwwwoooooo","xss":"<script>console.log(\"xss\")</script>","headings":["<h3>alexander-viktorenko</h5>","http://nytimes.com/warning/michael-massimino"],"links":["@www.slate.com","http://www.slate.com/security/frederick-w-leslie","www.www.slate.com"],"relatedContent":[{"url":"http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191","og:type":"article","og:title":"Bjork at the Nokia Theatre, 12/12","og:description":"Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...","og:url":"http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191","article:published_time":"2007-12-13T12:19:35-08:00","article:modified_time":"2014-11-27T08:28:42-08:00","article:section":"Music","og:image":"http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg","og:image:height":"334","og:image:width":"480","og:site_name":"LA Weekly","twitter:title":"Bjork at the Nokia Theatre, 12/12","twitter:description":"Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...","twitter:card":"summary","twitter:image":"http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg","twitter:site":"@laweekly"},{"url":"http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011","og:type":"article","og:title":"The Rapture at the Mayan, 7/25","og:description":"If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...","og:url":"http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011","article:published_time":"2007-07-26T12:42:30-07:00","article:modified_time":"2014-11-27T08:00:51-08:00","article:section":"Music","og:image":"http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg","og:image:height":"321","og:image:width":"480","og:site_name":"LA Weekly","twitter:title":"The Rapture at the Mayan, 7/25","twitter:description":"If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...","twitter:card":"summary","twitter:image":"http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg","twitter:site":"@laweekly"}],"machine":{"os":"win 7","ram":7516192768}},"fields":{"relatedContent.article:modified_time":["2014-11-26T03:39:26.000Z","2014-11-26T04:36:10.000Z"],"@timestamp":["2015-09-22T23:50:13.253Z"],"relatedContent.article:published_time":["2005-10-17T07:10:18.000Z","2005-10-17T07:10:18.000Z"],"utc_time":["2015-09-22T23:50:13.253Z"]},"highlight":{"type":["@kibana-highlighted-field@apache@/kibana-highlighted-field@"]},"sort":[1442965813253]}
17:24:56          │ debg  closeSpyPanel
17:24:56          │ debg  TestSubjects.exists(spyContentContainer)
17:24:56          │ debg  existsByDisplayedByCssSelector [data-test-subj~="spyContentContainer"]
17:24:56          │ debg  TestSubjects.click(spyToggleButton)
17:24:56          │ debg  TestSubjects.find(spyToggleButton)
17:24:56          │ debg  findByCssSelector [data-test-subj~="spyToggleButton"]
17:24:56          │ debg  TestSubjects.exists(spyContentContainer)
17:24:56          │ debg  existsByDisplayedByCssSelector [data-test-subj~="spyContentContainer"]
17:24:57          │ info  Taking screenshot "/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-selenium/kibana/test/functional/screenshots/failure/discover app discover app field data doc view should show oldest time first.png"
17:24:57          │ info  Current URL is: http://localhost:5620/app/kibana#/discover?_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:%272015-09-19T06:31:44.000Z%27,mode:absolute,to:%272015-09-23T18:31:44.000Z%27))&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:lucene,query:%27type:apache%27),sort:!(%27@timestamp%27,desc),uiState:(spy:!n))
17:24:57          │ info  Saving page source to: /var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-selenium/kibana/test/functional/failure_debug/html/discover app discover app field data doc view should show oldest time first.html
17:24:57        └- ✖ fail: "discover app discover app field data doc view should show oldest time first"
17:24:57        │             Error: expected 'September 22nd 2015, 23:50:13.253\ntype:apache index:logstash-2015.09.22 @timestamp:September 22nd 2015, 23:50:13.253 ip:238.171.34.42 extension:jpg response:200 geo.coordinates:{ "lat": 38.66494528, "lon": -88.45299556 } geo.src:FR geo.dest:KH geo.srcdest:FR:KH @tags:success, info utc_time:September 22nd 2015, 23:50:13.253 referer:http://twitter.com/success/nancy-currie agent:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) clientip:238.171.34.42 bytes:7,124 host:media-for-the-masses.theacademyofperformingartsandscience.org request:/uploads/karl-henize.jpg url:https://media-for-the-masses.theacademyofperformingartsandscience.org/uploads/karl-henize.jpg @message:238.171.34.42 - - [2015-09-22T23:50:13.253Z] "GET /uploads/karl-henize.jpg HTTP/1.1" 200 7124 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" spaces:this is a thing with lots of spaces wwwwoooooo xss:<script>console.log("xss")</script> headings:<h3>alexander-viktorenko</h5>, http://nytimes.com/warning/michael-massimino links:@www.slate.com, http://www.slate.com/security/frederick-w-leslie, www.www.slate.com relatedContent:{ "url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "og:type": "article", "og:title": "Bjork at the Nokia Theatre, 12/12", "og:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "og:url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "article:published_time": "2007-12-13T12:19:35-08:00", "article:modified_time": "2014-11-27T08:28:42-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "og:image:height": "334", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "Bjork at the Nokia Theatre, 12/12", "twitter:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "twitter:site": "@laweekly" }, { "url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "og:type": "article", "og:title": "The Rapture at the Mayan, 7/25", "og:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "og:url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "article:published_time": "2007-07-26T12:42:30-07:00", "article:modified_time": "2014-11-27T08:00:51-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg", "og:image:height": "321", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "The Rapture at the Mayan, 7/25", "twitter:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg", "twitter:site": "@laweekly" } machine.os:win 7 machine.ram:7,516,192,768 _id:AU_x3_g4GFA8no6QjkYX _type:doc _index:logstash-2015.09.22 _score: - relatedContent.article:modified_time:November 26th 2014, 03:39:26.000, November 26th 2014, 04:36:10.000 relatedContent.article:published_time:October 17th 2005, 07:10:18.000, October 17th 2005, 07:10:18.000' to equal 'September 22nd 2015, 23:50:13.253\ntype:apache index:logstash-2015.09.22 @timestamp:September 22nd 2015, 23:50:13.253 ip:238.171.34.42 extension:jpg response:200 geo.coordinates:{ "lat": 38.66494528, "lon": -88.45299556 } geo.src:FR geo.dest:KH geo.srcdest:FR:KH @tags:success, info utc_time:September 22nd 2015, 23:50:13.253 referer:http://twitter.com/success/nancy-currie agent:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) clientip:238.171.34.42 bytes:7,124 host:media-for-the-masses.theacademyofperformingartsandscience.org request:/uploads/karl-henize.jpg url:https://media-for-the-masses.theacademyofperformingartsandscience.org/uploads/karl-henize.jpg @message:238.171.34.42 - - [2015-09-22T23:50:13.253Z] "GET /uploads/karl-henize.jpg HTTP/1.1" 200 7124 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" spaces:this is a thing with lots of spaces wwwwoooooo xss:<script>console.log("xss")</script> headings:<h3>alexander-viktorenko</h5>, http://nytimes.com/warning/michael-massimino links:@www.slate.com, http://www.slate.com/security/frederick-w-leslie, www.www.slate.comrelatedContent:{ "url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "og:type": "article", "og:title": "Bjork at the Nokia Theatre, 12/12", "og:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "og:url": "http://www.laweekly.com/music/bjork-at-the-nokia-theatre-12-12-2408191", "article:published_time": "2007-12-13T12:19:35-08:00", "article:modified_time": "2014-11-27T08:28:42-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "og:image:height": "334", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "Bjork at the Nokia Theatre, 12/12", "twitter:description": "Bjork at the Nokia Theater, December 12 By Randall Roberts Last night&rsquo;s Bjork show at the Dystopia &ndash; er, I mean Nokia -- Theatre downtown di...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/bjork-at-the-nokia-theatre-12-12/u/original/2470701/bjorktn003.jpg", "twitter:site": "@laweekly" }, { "url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "og:type": "article", "og:title": "The Rapture at the Mayan, 7/25", "og:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "og:url": "http://www.laweekly.com/music/the-rapture-at-the-mayan-7-25-2401011", "article:published_time": "2007-07-26T12:42:30-07:00", "article:modified_time": "2014-11-27T08:00:51-08:00", "article:section": "Music", "og:image": "http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg", "og:image:height": "321", "og:image:width": "480", "og:site_name": "LA Weekly", "twitter:title": "The Rapture at the Mayan, 7/25", "twitter:description": "If you haven&rsquo;t yet experienced the phenomenon of people walk-dancing, apparently the best place to witness this is at a Rapture show. Here&rsquo;s...", "twitter:card": "summary", "twitter:image": "http://IMAGES1.laweekly.com/imager/the-rapture-at-the-mayan-7-25/u/original/2463272/rapturetn05.jpg", "twitter:site": "@laweekly" } machine.os:win 7 machine.ram:7,516,192,768 _id:AU_x3_g4GFA8no6QjkYX _type:doc _index:logstash-2015.09.22 _score: - relatedContent.article:modified_time:November 27th 2014, 16:00:51.000, November 27th 2014, 16:28:42.000 relatedContent.article:published_time:July 26th 2007, 19:42:30.000, December 13th 2007, 20:19:35.000'
17:24:57        │         at Assertion.assert (node_modules/expect.js/index.js:96:13)
17:24:57        │         at Assertion.be.Assertion.equal (node_modules/expect.js/index.js:216:10)
17:24:57        │         at Assertion.(anonymous function) [as be] (node_modules/expect.js/index.js:69:24)
17:24:57        │         at Command.<anonymous> (test/functional/apps/discover/_field_data.js:75:47)
17:24:57        │         at runCallback (node_modules/leadfoot/Command.js:526:31)
17:24:57        │         at Command.<anonymous> (node_modules/leadfoot/Command.js:543:11)
17:24:57        │         at node_modules/dojo/Promise.js:156:41
17:24:57        │         at run (node_modules/dojo/Promise.js:51:33)
17:24:57        │         at node_modules/dojo/nextTick.js:35:17
17:24:57        │         at _combinedTickCallback (internal/process/next_tick.js:131:7)
17:24:57        │         at process._tickCallback (internal/process/next_tick.js:180:9)
17:24:57        │         
17:24:57        │         at Command.then (node_modules/leadfoot/Command.js:542:10)
17:24:57        │         at Context.<anonymous> (test/functional/apps/discover/_field_data.js:73:57)
17:24:57        │         at Object.apply (src/functional_test_runner/lib/mocha/wrap_function.js:91:30)
17:24:57        │         
17:24:57        │       
17:24:57        │       
17:24:57        └-> "after all" hook

@Bargs
Copy link
Contributor

Bargs commented Jun 12, 2018

@LeeDr thanks for grabbing the output, I was out on vacation and the build info in Jenkins was already gone by the time I got back. I'll take a look at it.

@Bargs
Copy link
Contributor

Bargs commented Jun 14, 2018

ok, there's definitely a bug here. The raw response coming back from ES looks fine. We must be modifying the response document somewhere. _source is fine, but the doc values are incorrect. This will be tricky to fix since it's not consistently reproducible, I'll have to find some more time to dig into it.

@timroes timroes added Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure and removed :Discovery labels Sep 16, 2018
@timroes timroes removed good first issue low hanging fruit labels Mar 1, 2019
@timroes
Copy link
Contributor

timroes commented Nov 4, 2020

Closing this, since this test seem to no longer exist.

@timroes timroes closed this as completed Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure test
Projects
None yet
Development

No branches or pull requests

5 participants