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

[6.4.x] CI failures on 6.4.x branch #6319

Open
1 of 3 tasks
echarles opened this issue Mar 20, 2022 · 7 comments
Open
1 of 3 tasks

[6.4.x] CI failures on 6.4.x branch #6319

echarles opened this issue Mar 20, 2022 · 7 comments
Milestone

Comments

@echarles
Copy link
Member

echarles commented Mar 20, 2022

After reviewing the open PRs on the 6.4.x branch, the selenium and javascript tests all fail. This is probably coming from the CI, and not from the respective PRs.

I am not sure what the status was before the creation of that 6.4.x branch. @Zsailer or @jtpio any thoughts on this?

So far we have the following recurring failures:

@jtpio
Copy link
Member

jtpio commented Mar 20, 2022

@echarles the CI on this repo has been failing for many weeks / months. See this comment for reference: #6213 (comment)

There hasn't been that much effort put into fixing it because:

@echarles
Copy link
Member Author

Thx @jtpio for the info. I have updated the initial comment to track the issues and their fixes.

cc/ @kevin-bates

@echarles
Copy link
Member Author

echarles commented Mar 21, 2022

For the Linux JS Tests, an issue is related to the waitForPopup which does not anymore do the expected job

this.waitForPopup('');
this.withPopup('', function () {this.waitForSelector('.CodeMirror-code');});
this.then(function () {
this.open(this.popups[0].url);
});

I have tried to force the popup url without luck. This may come from the webkit evolution, and how the tab opening are handled and recognized by casperjs. I have tried with slimerjs option, downgrading my firefox to version 59 as documented on https://github.com/laurentj/slimerjs, but got segmentation fault while running the test.

@echarles
Copy link
Member Author

Unless a solution can be found to let webpack generate phantomjs friendly javascript (#6354 (comment)), a workaround solution would be to change the sanitizer index.js when running the CI.

@echarles
Copy link
Member Author

echarles commented Apr 12, 2022

Progressing well on js-test:

 type: assertEquals
#    file: /Users/runner/work/notebook/notebook/notebook/tests/notebook/roundtrip.js
#    subject: "stream"
#    expected: "display_data"

@blink1073
Copy link
Contributor

@echarles
Copy link
Member Author

For now, terminals tests are failing on windows.

A few remaining javascript tests are still failing (base as successfull, 3/94 are failing for service, 1/522 for notebook although they all succeed on my macbook laptop)

 service
 https://github.com/jupyter/notebook/runs/5988174768?check_suite_focus=true
 FAIL 94 tests executed in 91.399s, 91 passed, 3 failed, 0 dubious, 0 skipped.   
 /Users/runner/work/notebook/notebook/notebook/tests/services/kernel.js
  Untitled suite in /Users/runner/work/notebook/notebook/notebook/tests/services/kernel.js
    uncaughtError: "function () {
        return this.evaluate(function (events) {
            return IPython._events_triggered.length >= events.length;
        }, [events]);
    }" did not evaluate to something truthy in 20000ms
In /Users/runner/work/notebook/notebook/notebook/tests/services/kernel.js
  Untitled suite in /Users/runner/work/notebook/notebook/notebook/tests/services/kernel.js
    assertEquals: failed_restart: 3 events were triggered
In /Users/runner/work/notebook/notebook/notebook/tests/services/session.js
  Untitled suite in /Users/runner/work/notebook/notebook/notebook/tests/services/session.js
    uncaughtError: "function () {
        return this.evaluate(function (events) {
            return IPython._events_triggered.length >= events.length;
        }, [events]);
    }" did not evaluate to something truthy in 20000ms

 notebook
 https://github.com/jupyter/notebook/runs/5988174549?check_suite_focus=true
 /Users/runner/work/notebook/notebook/notebook/tests/notebook/roundtrip.js
 FAIL 523 tests executed in 156.874s, 522 passed, 1 failed, 0 dubious, 0 skipped.
    this.then(function ( ) {
        check_output_area.apply(this, ['execute_result', ['text', 'svg']]);
    });
```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants