镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

investigate flaky test-tls-regr-gh-5108 #10966

Description

@Trott
  • Version: v8.0.0-pre
  • Platform: smartos16-64
  • Subsystem: tls

https://ci.nodejs.org/job/node-test-commit-smartos/6523/nodes=smartos16-64/consoleFull:

not ok 1230 parallel/test-tls-regr-gh-5108
  ---
  duration_ms: 60.94
  severity: fail
  stack: |-
    timeout

Activity

  1. added
    testIssues and PRs related to Node.js core tests and test infrastructure.
    tlsIssues and PRs related to the tls subsystem.
    on Jan 23, 2017
  2. Trott commented on Jan 23, 2017

    @Trott
    MemberAuthor

    Refs: aa05269
    Refs: #5108

    /cc @indutny @ChALkeR for any input/insight but not a lot of data to go on right now...

  3. Trott commented on Jan 23, 2017

    @Trott
    MemberAuthor

    (Aside: This is a really good example of why I think it's good to have console.log() and/or console.error() statements in tests sometimes. I know it's contrary to the philosophy of some folks, but in a case like this where the test times out, it's helpful to be able to narrow down where the problem might be. And tests timing out with no info like this seems to be an increasing share of our flaky tests.)

  4. joyeecheung commented on Jan 23, 2017

    @joyeecheung
    Member

    FWIW I think doing console.error only when some environment variables or something in common are present for debugging purposes would be more acceptable to people who believe it shouldn't be used in tests? (don't really have a strong opinion about it myself)

  5. gibfahn commented on Jan 23, 2017

    @gibfahn
    Member

    +1 to console.log/console.error being used (sparingly) in tests, especially console.log, as it currently is only displayed if the test fails, so it doesn't clutter up normal test output.

  6. evanlucas commented on Jan 25, 2017

    @evanlucas
    Contributor

    If we don't want to normally see them, why not add a util.debuglog to common and use something like common.log()?

  7. gibfahn commented on Jan 25, 2017

    @gibfahn
    Member

    @evanlucas how would you then allow them to be seen?

  8. evanlucas commented on Jan 25, 2017

    @evanlucas
    Contributor

    @gibfahn NODE_DEBUG=test ./node test/...

  9. gibfahn commented on Jan 25, 2017

    @gibfahn
    Member

    @evanlucas Cool, I didn't know about that. Definite +1 on having a common.log().

    Doc link: https://nodejs.org/api/util.html#util_util_debuglog_section

  10. misterdjules commented on Jan 31, 2017

    @misterdjules

    To paraphrase what I wrote in #11026:

    So far, I haven't been able to reproduce the problem described by any of the issues listed above.

    In order to be able to get more information and investigate future spurious failures, I submitted a PR that sends SIGABRT instead of SIGTERM to test processes that timeout. This will allow us to take a look at core files generated from these processes with tools such as llnode and mdb_v8, and will potentially help us root cause these issues.

    In the meantime I'll continue trying to reproduce and investigate those issues, I'll keep you posted.

  11. Trott commented on Jul 16, 2017

    @Trott
    MemberAuthor

    Haven't seen this in a while. Closing. Can re-open if it recurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testIssues and PRs related to Node.js core tests and test infrastructure.tlsIssues and PRs related to the tls subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions