Skip to content

Flaky tests #42

Open
Open

Description

@rvagg

We're getting this pretty regularly in node-gyp CI: https://travis-ci.com/github/nodejs/node-gyp/jobs/339883554

The command "npm test" exited with 0.
10714.02s$ GYP_MSVS_VERSION=2015 GYP_MSVS_OVERRIDE_PATH="C:\\Dummy" python -m pytest
1072============================= test session starts ==============================
1073platform linux -- Python 3.5.6, pytest-4.6.6, py-1.7.0, pluggy-0.13.1
1074rootdir: /home/travis/build/nodejs/node-gyp
1075collected 27 items                                                             
1076
1077gyp/pylib/gyp/MSVSSettings_test.py F.F.....                              [ 29%]
...

I don't really know how to interpret the log output that follows, but it's been consistent. I can restart it in Travis and it should pass again, this shows up in maybe 50% of Travis runs and it seems to be most common on Node.js 12 + Python 3.5, but I don't have numbers to back that up.

Activity

  1. ryzokuken commented on May 26, 2020

    @ryzokuken
    Contributor

    Thanks for reporting this. @targos can you reproduce this fail locally?

  2. targos commented on May 26, 2020

    @targos
    Member

    It's probably the same problem as #7

  3. targos commented on May 26, 2020

    @targos
    Member

    I don't have python 3.5 to test locally

  4. ryzokuken commented on May 26, 2020

    @ryzokuken
    Contributor

    Good catch, it is infact that problem. It'd be a shame to not support Python 3.5. I'd try to look into it in a week or so.

  5. cclauss commented on May 26, 2020

    @cclauss
    Contributor
  6. cclauss commented on Jun 22, 2021

    @cclauss
    Contributor

    Can this issue be closed?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions