You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2022/09/18 22:13:33 UTC

[GitHub] [druid] paul-rogers opened a new issue, #13115: Flaky Test: web console end-to-end test for MSQ

paul-rogers opened a new issue, #13115:
URL: https://github.com/apache/druid/issues/13115

   The web console end-to-end test failed in [this build](https://app.travis-ci.com/github/apache/druid/jobs/583131132) with a timeout in the MSQ tests:
   
   ```text
    FAIL  e2e-tests/reindexing.spec.ts (56.929 s)
     ● Reindexing from Druid › Reindex datasource from dynamic to range partitions
       page.waitForSelector: Timeout 30000ms exceeded.
       =========================== logs ===========================
       waiting for selector ".raw-lines" to be visible
       ============================================================
         73 |   private async validateConnect(validator: (preview: string) => void) {
         74 |     const previewSelector = '.raw-lines';
       > 75 |     await this.page.waitForSelector(previewSelector);
            |                     ^
         76 |     const preview = await this.page.$eval(previewSelector, el => (el as HTMLTextAreaElement).value);
         77 |     validator(preview);
         78 |   }
         at DataLoader.<anonymous> (e2e-tests/component/load-data/data-loader.ts:75:21)
         at node_modules/tslib/tslib.js:117:75
         at __awaiter (node_modules/tslib/tslib.js:113:16)
         at DataLoader.validateConnect (e2e-tests/component/load-data/data-loader.ts:51:38)
         at DataLoader.<anonymous> (e2e-tests/component/load-data/data-loader.ts:68:16)
         at fulfilled (node_modules/tslib/tslib.js:114:62)
   ```
   
   And:
   
   ```text
    FAIL  e2e-tests/multi-stage-query.spec.ts (302.319 s)
     ● Multi-stage query › runs a query that reads external data
       thrown: "Exceeded timeout of 300000 ms for a test.
       Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."
         44 |   });
         45 |
       > 46 |   it('runs a query that reads external data', async () => {
            |   ^
         47 |     await saveScreenshotIfError('multi-stage-query', page, async () => {
         48 |       const workbench = new WorkbenchOverview(page, UNIFIED_CONSOLE_URL);
         49 |       const results = await workbench.runQuery(`WITH ext AS (SELECT *
         at e2e-tests/multi-stage-query.spec.ts:46:3
         at Object.<anonymous> (e2e-tests/multi-stage-query.spec.ts:29:1)
   ```
   
   It is possible that the failure is related to a bug in the branch, or the timeout may be due to some other issue. If the timeout is due to a failed query, then the tests should handle query failures. The commit in question did have a bug in a scan query. If that caused a query to fail, it would have failed immediately, not hang forever. Perhaps these tests do not detect query failure and instead wait for a success that never comes?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] Flaky IT: web console end-to-end test for MSQ (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13115:
URL: https://github.com/apache/druid/issues/13115#issuecomment-1883994913

   This issue has been marked as stale due to 280 days of inactivity.
   It will be closed in 4 weeks if no further activity occurs. If this issue is still
   relevant, please simply write any comment. Even if closed, you can still revive the
   issue at any time or discuss it on the dev@druid.apache.org list.
   Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] Flaky IT: web console end-to-end test for MSQ (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13115:
URL: https://github.com/apache/druid/issues/13115#issuecomment-1933154468

   This issue has been closed due to lack of activity. If you think that
   is incorrect, or the issue requires additional review, you can revive the issue at
   any time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] Flaky IT: web console end-to-end test for MSQ (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #13115: Flaky IT: web console end-to-end test for MSQ
URL: https://github.com/apache/druid/issues/13115


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org