8000 Pytest crash on Travis if Sudo=false · Issue #2240 · pytest-dev/pytest · GitHub
[go: up one dir, main page]

Skip to content
Pytest crash on Travis if Sudo=false #2240
@vmuriart

Description

@vmuriart

Thanks for submitting an issue!

Here's a quick checklist in what to include:

Bug Description

I'm migrating our unittests in pythonnet from unittests to pytest and I've encountered a strange behavior in doing so. Everything works as expected as long as sudo=required is enabled in travis. If I use sudo=false our tests crash with the message below if python < 3.5.

Environment

OS: Travis/Linux (crash); Appveyor/windows (no issue)
Python: 2.7, 3.3, 3.4, 3.5, 3.6, 3.7. (Crash only happens on 2,7, 3.3, 3.4)
Packages: pytest, pythonnet, pycparser.

Other comments

Any ideas as to what may be causing the strange behavior? I'm working on reducing this to a single reproducible example, but I haven't been able to isolate what part of the code is causing this. Any help would be appreciated.

============================= test session starts ==============================
platform linux -- Python 3.3.5 -- py-1.4.26 -- pytest-2.6.4
collected 359 items 
src/tests/test_array.py ........................................
src/tests/test_callback.py ..
src/tests/test_class.py ..................
src/tests/test_compat.py ................
src/tests/test_constructors.py ....
src/tests/test_conversion.py ....................
src/tests/test_delegate.py .................
src/tests/test_docstring.py ...
src/tests/test_engine.py ./home/travis/build.sh: line 59:  4678 Aborted                 (core dumped) python -m pytest
  • Include a detailed description of the bug or suggestion
  • pip list of the virtual environment you are using
  • pytest and operating system versions
  • Minimal example if possible

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

      0