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

Failing test: X-Pack Reporting API Integration Tests.x-pack/test/reporting_api_integration/reporting_and_security/spaces·ts - Reporting APIs Exports and Spaces CSV saved search export should use formats from non-default spaces #77972

Closed
kibanamachine opened this issue Sep 19, 2020 · 2 comments · Fixed by #78849
Labels
failed-test A test failure on a tracked branch, potentially flaky-test

Comments

@kibanamachine
Copy link
Contributor

A test failed on a tracked branch

Error: expected '"order_date",category,"customer_first_name","customer_full_name","total_quantity","total_unique_products","taxless_total_price","taxful_total_price",currency\n"Jul 12, 2019 @ 00:00:00.000","[""Men\'s Shoes"",""Men\'s Clothing"",""Women\'s Accessories"",""Men\'s Accessories""]","Sultan Al","Sultan Al Boone",4,4,"173.96","173.96",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Women\'s Shoes"",""Women\'s Clothing""]",Pia,"Pia Richards",2,2,"41.98","41.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Women\'s Clothing""]",Brigitte,"Brigitte Meyer",2,2,"40.98","40.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Men\'s Clothing""]",Abd,"Abd Mccarthy",2,2,"41.98","41.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Men\'s Clothing""]",Robert,"Robert Banks",2,2,"36.98","36.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Men\'s Shoes"",""Men\'s Clothing""]",Jim,"Jim Hansen",2,2,"99.98","99.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Men\'s Shoes""]",Thad,"Thad Lamb",2,2,"39.98","39.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Men\'s Clothing""]",Jim,"Jim Bryant",2,2,"95.98","95.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Women\'s Clothing""]",Betty,"Betty Roberson",2,2,"57.98","57.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Men\'s Clothing"",""Men\'s Shoes""]",Robbie,"Robbie Hubbard",2,2,"74.98","74.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Women\'s Clothing"",""Women\'s Shoes""]",Abigail,"Abigail Willis",2,2,"117.98","117.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Men\'s Clothing""]",Boris,"Boris Greene",2,2,"35.98","35.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Men\'s Clothing""]",Jackson,"Jackson Conner",2,2,"93.98","93.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Men\'s Shoes"",""Men\'s Clothing""]",Yuri,"Yuri Cross",2,2,"103.98","103.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Men\'s Clothing""]",Irwin,"Irwin Ramsey",2,2,"51.98","51.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Women\'s Clothing"",""Women\'s Shoes""]",Elyssa,"Elyssa Haynes",2,2,"114.98","114.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Women\'s Clothing"",""Women\'s Shoes""]",Selena,"Selena Massey",2,2,"70.98","70.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Women\'s Clothing""]",Abigail,"Abigail Garner",2,2,"37.98","37.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Women\'s Shoes"",""Women\'s Accessories""]",Elyssa,"Elyssa Foster",2,2,"76.98","76.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Men\'s Clothing"",""Men\'s Shoes""]","Ahmed Al","Ahmed Al Underwood",2,2,"85.98","85.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Men\'s Accessories"",""Men\'s Clothing""]",Marwan,"Marwan Perkins",2,2,"96.98","96.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Men\'s Clothing"",""Men\'s Shoes""]",Irwin,"Irwin Barnes",2,2,"119.98","119.98",EUR\n"Jul 12, 2019 @ 00:00:00.000","[""Women\'s Clothing"",""Women\'s Accessories""]","Rabbia Al","Rabbia Al Barber",2,2,"28.98","28.98",EUR\n' to match /^order_date;category;customer_first_name;customer_full_name;total_quantity;total_unique_products;taxless_total_price;taxful_total_price;currency\nJul 11, 2019 @ 16:00:00.000;/
    at Assertion.assert (/dev/shm/workspace/parallel/22/kibana/packages/kbn-expect/expect.js:100:11)
    at Assertion.match (/dev/shm/workspace/parallel/22/kibana/packages/kbn-expect/expect.js:354:8)
    at Context.it (test/reporting_api_integration/reporting_and_security/spaces.ts:77:24)

First failure: Jenkins Build

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Sep 19, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-test-triage (failed-test)

@tsullivan
Copy link
Member

The error is saying that the returned data was not formatted in the user's timezone as expected.

It could be a race condition between writing the dateformat:tz Advanced Setting into the test, and expecting to have effect when the search hits are formatted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants