Skip to content

Pytest failing with Travis Cl python 3 environments  #5567

@abhiTronix

Description

@abhiTronix

Hello everyone, while performing Travis Cl jobs on my vidgear python library I discovered this weird behavior with the latest pytest (5.0.1).

Bug Description:

In this latest pytest, weirdly the Python 2.7 (https://travis-ci.com/abhiTronix/vidgear/jobs/213695559) environment is passing tests successfully whereas all the python3 environments(i.e Python-3.5, Python-3.6 and Python-3.7) failing with the error The command "pytest -s -vvv" exited with 1. even if all test passed without any whatsoever significant error or warning .

Travis Cl System Details

Distributor ID: Ubuntu
Description: Ubuntu 16.04.6 LTS
Release: 16.04
Codename: xenial
pytest-5.0.1, py-1.7.0, pluggy-0.12.0

Here is my Travis.yml configuration file: https://github.com/abhiTronix/vidgear/blob/c86385748c216ecd5f056fbeff1c3afc330a64ec/.travis.yml

Temporary Workaround:

Downgrading to pytest-4.6.4 seems to works and all test are passing on both python 2 and 3 environments.

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