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

flaky: parallel/test-http2-* on Windows #20750

Description

@Trott
  • Version: v11.0.0-pre (master)
  • Platform: win2008r2-vs2017,
  • Subsystem: test http2
not ok 251 parallel/test-http2-pipe
  ---
  duration_ms: 0.323
  severity: fail
  exitcode: 1
  stack: |-
    (node:6548) ExperimentalWarning: The http2 module is an experimental API.
    events.js:167
          throw er; // Unhandled 'error' event
          ^
    
    Error: read ECONNRESET
        at TCP.onread (net.js:658:25)
    Emitted 'error' event at:
        at emitErrorNT (internal/streams/destroy.js:82:8)
        at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
        at process._tickCallback (internal/process/next_tick.js:63:19)
  ...

@nodejs/build @nodejs/platform-windows @nodejs/testing @nodejs/http2

[refack: edited info and added link to test file]

Activity

  1. added
    windowsIssues and PRs related to the Windows platform.
    testIssues and PRs related to Node.js core tests and test infrastructure.
    flaky-testIssues and PRs involving tests that fail intermittently in CI.
    http2Issues and PRs related to the http2 subsystem.
    on May 15, 2018
  2. apapirovski commented on May 15, 2018

    @apapirovski
    Contributor

    This happens as a result of the recent change to destroy the socket properly but it might be revealing an actual bug rather than just being a flaky test. That test does a pretty basic pipe operation, it shouldn't ever trigger an ECONNRESET.

    ping @nodejs/http2

  3. apapirovski commented on May 16, 2018

    @apapirovski
    Contributor

    This also just happened in parallel/test-http2-client-upload. Same root cause. It's definitely a bug.

    https://ci.nodejs.org/job/node-test-binary-windows/17277/COMPILED_BY=vs2017,RUNNER=win2016,RUN_SUBSET=3/tapResults/

  4. Trott commented on May 16, 2018

    @Trott
    MemberAuthor

    For posterity (since the link provided by @apapirovski will eventually 404):

    not ok 231 parallel/test-http2-client-upload
      ---
      duration_ms: 0.220
      severity: fail
      exitcode: 1
      stack: |-
        (node:2492) ExperimentalWarning: The http2 module is an experimental API.
        events.js:167
              throw er; // Unhandled 'error' event
              ^
        
        Error: read ECONNRESET
            at TCP.onread (net.js:658:25)
        Emitted 'error' event at:
            at emitErrorNT (internal/streams/destroy.js:82:8)
            at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
            at process._tickCallback (internal/process/next_tick.js:63:19)
      ...

    Host: test-azure_msft-win2016-x64-2

    The fact that it's happening on both Azure and Rackspace, win2008 and win2016, seems to suggest (to me at least) a bug in Node.js or a dependency like libuv.

  5. apapirovski commented on May 16, 2018

    @apapirovski
    Contributor

    Pretty sure it's because we use setImmediate to destroy rather than having some more certain method of confirming that everything has been sent and we're truly done. Hopefully someone else from the http2 team will have a look soon. I'm not on Windows and it's not a problem on macOS as far as I can tell.

  6. mcollina commented on May 16, 2018

    @mcollina
    SponsorMember

    The bug on pipe happens on a mac too.

  7. apapirovski commented on May 16, 2018

    @apapirovski
    Contributor

    @mcollina I can't seem to replicate on mine :( This is what I run it with: tools/test.py -j 96 --repeat 960 parallel/test-http2-pipe.

  8. Trott commented on May 16, 2018

    @Trott
    MemberAuthor

    I also can't replicate on macOS nor do I see instances looking through macOS failures in Ci. It may very well be a bug on macOS too, but if so, we're definitely seeing it with much greater frequency on Windows in CI.

  9. apapirovski commented on May 16, 2018

    @apapirovski
    Contributor
  10. mcollina commented on May 16, 2018

    @mcollina
    SponsorMember
    === release test-http2-pipe ===
    Path: parallel/test-http2-pipe
    (node:37337) ExperimentalWarning: The http2 module is an experimental API.
    events.js:167
          throw er; // Unhandled 'error' event
          ^
    
    Error: read ECONNRESET
        at TCP.onread (net.js:658:25)
    Emitted 'error' event at:
        at emitErrorNT (internal/streams/destroy.js:82:8)
        at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
        at process._tickCallback (internal/process/next_tick.js:63:19)
    Command: out/Release/node /Users/matteo/Repositories/node/test/parallel/test-http2-pipe.js
    [01:05|% 100|+ 938|-  22]: Done
    

    On my system.

  11. added
    confirmed-bugIssues and PRs for confirmed bugs.
    and removed
    flaky-testIssues and PRs involving tests that fail intermittently in CI.
    on May 19, 2018
  12. 118 remaining items

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

    flaky-testIssues and PRs involving tests that fail intermittently in CI.http2Issues and PRs related to the http2 subsystem.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions