Skip to content

Tests hang forever #694

Closed
Closed

Description

@DavidGOrtega

This happens due to tbLink implementation.
This is due to a weird Jest condition with promises and setInterval.

Activity

  1. added
    cml-tensorboard
    p0-critical
    technical-debt
    testing
    on Aug 16, 2021
  2. 0x2b3bfa0 commented on Aug 16, 2021

    @0x2b3bfa0
    Member

    Is this related to #674?

  3. self-assigned this
    on Aug 16, 2021
  4. DavidGOrtega commented on Aug 16, 2021

    @DavidGOrtega
    ContributorAuthor
  5. DavidGOrtega commented on Aug 16, 2021

    @DavidGOrtega
    ContributorAuthor

    What is happening is that jest is hang forever.
    I thought it was a combination of both, but seems that the issue is other and has appeared for every single PR??

  6. 0x2b3bfa0 commented on Aug 16, 2021

    @0x2b3bfa0
    Member

    What is happening is that jest is hang forever.

    Exactly! And it's getting killed by GitHub-hosted Actions' timeout. 🙃

  7. 0x2b3bfa0 commented on Aug 16, 2021

    @0x2b3bfa0
  8. DavidGOrtega commented on Aug 16, 2021

    @DavidGOrtega
    ContributorAuthor

    I thought it was a combination of both, but seems that the issue is other and has appeared for every single PR??

    That would be the only missing thing to render me completely insane. 🤔

    Yea, I can reproduce it without the proxy setup and teardown, you can see it happening also in the jest PR

  9. linked a pull request that will close this issueJest global timeout and fixes #693on Aug 16, 2021
  10. changed the title [-]Tests hangs forever.[/-] [+]Tests hang forever[/+] on Aug 16, 2021
  11. 0x2b3bfa0 commented on Aug 31, 2021

    @0x2b3bfa0
    Member
  12. self-assigned this
    on Aug 31, 2021
  13. 0x2b3bfa0 commented on Sep 1, 2021

    @0x2b3bfa0
    Member

    🔔 @DavidGOrtega, continuing the Jest conversation from #703 (comment)

    In the case of #703, tests were being blocked by an infinite loop with synchronous calls on read-pipe.js; not sure about #674 and #689, but they're probably creative variations of blocked event loop.

  14. DavidGOrtega commented on Sep 1, 2021

    @DavidGOrtega
    ContributorAuthor

    The issue is happening for await and setTimeout...

    jestjs/jest#7339

    among others

  15. 0x2b3bfa0 commented on Sep 4, 2021

    @0x2b3bfa0
    Member

    In the case of #674, it can't be reproduced outside GitHub Actions. 🤔

  16. DavidGOrtega commented on Sep 9, 2021

    @DavidGOrtega
    ContributorAuthor

    @0x2b3bfa0 I know!!! I said this in our CML meetings. The PR works in GL but not in GH.
    It has to be an issue with GA combined with Jest

  17. removed their assignment
    on Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cml-tensorboardp0-criticaltechnical-debttesting

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions