Skip to content

Investigate flaky test-http-agent #6133

Description

@mscdex

Example failure on pi2-raspbian-wheezy #1
Example failure on pi2-raspbian-wheezy #2

Similar issue here as in #5938?

Output:

# TIMEOUT
#0 200
#1 200
#2 200
#3 200
#4 200
#5 200
#6 200
#7 200
#8 200
#9 200
#10 200
#11 200
#12 200
#13 200
#14 200

Activity

  1. added
    httpIssues and PRs related to the http subsystem.
    testIssues and PRs related to Node.js core tests and test infrastructure.
    armIssues and PRs related to the ARM architecture.
    on Apr 9, 2016
  2. mscdex commented on Apr 9, 2016

    @mscdex
    ContributorAuthor

    Ref: #5346

  3. Trott commented on Apr 10, 2016

    @Trott
    Member

    While looking at this test being flaky in February, it was discovered to fail always on a connection in the low 20s. In other words, if it failed, it failed on connection 22 or 23 or 24, but never on 16 or 36 or 46 or 59 or...

    Which was very odd...

    And now it seems that we're seeing that number creep lower resulting in increased flakiness on Pi 2 devices. I have no explanation. It's really weird.

    /cc @nodejs/build @rvagg

  4. Trott commented on Apr 11, 2016

    @Trott
    Member

    Again: https://ci.nodejs.org/job/node-test-binary-arm/1681/RUN_SUBSET=3,nodes=pi2-raspbian-wheezy/tapTestReport/test.tap-53/

    Ugh. Not sure what to do. Bringing it down to 12 or so would probably fix it, but it would seem that in another month, we'd likely be facing the same issue again.

  5. Trott commented on Apr 11, 2016

    @Trott
    Member

    cc @nodejs/testing

  6. santigimeno commented on Apr 15, 2016

    @santigimeno
    Member

    While looking at this test being flaky in February, it was discovered to fail always on a connection in the low 20s. In other words, if it failed, it failed on connection 22 or 23 or 24, but never on 16 or 36 or 46 or 59 or...

    @Trott Would it be worth stress testing the test with the source code we had in February, just to check whether it's a problem in the code or in the raspberry bots?

  7. Trott commented on Apr 15, 2016

    @Trott
    Member
  8. Trott commented on Apr 15, 2016

    @Trott
    Member

    And another: https://ci.nodejs.org/job/node-test-binary-arm/1723/RUN_SUBSET=2,nodes=pi2-raspbian-wheezy/console

    I suppose it's superfluous to document them all here as the test is now failing so often.

  9. Trott commented on Apr 15, 2016

    @Trott
    Member
  10. Trott commented on Apr 15, 2016

    @Trott
    Member

    Confounding results: Previous version of the test (that used 100 connections) failed, of course.

    But no failures on any of the other stress tests, including current master.

    Maybe its flakiness is dependent on other things going on on the network or something? I mean, it shouldn't be, right? Maybe confirm that the test is using localhost and not something odd like the machine's networked IP or (would this next one even work?) a broadcast address or something...

  11. Trott commented on Apr 16, 2016

    @Trott
    Member

    Continues to fail with alarming frequency. Running CI stress test against master. https://ci.nodejs.org/job/node-stress-single-test/596/nodes=pi2-raspbian-wheezy/console

  12. 22 remaining items

  13. Trott commented on Apr 17, 2016

    @Trott
    Member

    Tests confirm that 757fbac is the last good commit and b85a50b is the first bad one. Now the questions are:

    • Is the problem one of configuration with the Pi2 devices?
    • Or is the problem with the code change running on Pi2 (which is just Linux, right? and not that different from other Pi devices on which we're not seeing problems, right?)
    • Or is the problem in the test somehow?

    /cc @rvagg @cjihrig

  14. cjihrig commented on Apr 18, 2016

    @cjihrig
    Contributor

    Does this only happen on a specific subset of the Pi2s?

    I'd think that the change in b85a50b would cause something to break completely, not in a flaky manner. That test also doesn't have a great track record.

  15. santigimeno commented on Apr 18, 2016

    @santigimeno
    Member
  16. Trott commented on Apr 19, 2016

    @Trott
    Member

    @cjihrig asked:

    Does this only happen on a specific subset of the Pi2s?

    Nope, I'm afraid not, at least not as far as I've been able to tell.

  17. cjihrig commented on Apr 19, 2016

    @cjihrig
    Contributor

    Trying a partial revert of b85a50b. Stress test at https://ci.nodejs.org/job/node-stress-single-test/655/ with the ADDRCONFIG flag added back.

  18. santigimeno commented on Apr 19, 2016

    @santigimeno
    Member

    @cjihrig, it might be worth running multiple smaller (~100 times) jobs so it picks different pi2's, just to be sure it's fixed, as we have seen runs without failures before and maybe it's somehow dependent on the bot its running on.

  19. Trott commented on Apr 20, 2016

    @Trott
    Member

    They all came back green!

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

    armIssues and PRs related to the ARM architecture.httpIssues and PRs related to the http subsystem.testIssues and PRs related to Node.js core tests and test infrastructure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions