Flake8 errors get suppressed when run_tests.sh is used

Bug #1747420 reported by Sourav Banerjee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
quark
Fix Released
Undecided
Unassigned

Bug Description

This task intends to fix a defect where flake8 errors fail to show when tests are run using run_tests.sh . This file is used by Jenkins to run tests when a PR is raised, which fail if there are flake8 errors without showing any flake8 related errors in the job log.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quark (master)

Reviewed: https://review.openstack.org/540896
Committed: https://git.openstack.org/cgit/openstack/quark/commit/?id=38528ca4d6c440887940000ac527f23f03dcf02e
Submitter: Zuul
Branch: master

commit 38528ca4d6c440887940000ac527f23f03dcf02e
Author: Sourav Banerjee <email address hidden>
Date: Mon Oct 30 20:02:45 2017 +0530

    Prevent flake8 errors from getting suppressed

    Flake8 errors, if present, do not show up if run_tests.sh is used. It is
    used by Jenkins on creation of a pull request, upon which the tests fail
    without flake8 specific information showing up in the log.
    Adding PYTHONUNBUFFERED=1 before the flake8 command in run_tests.sh solves
    this problem.

    Change-Id: I040873b859cca7c0500bd7d600d8de6121cc70a5
    Closes-Bug: #1747420

Changed in neutron-quark:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.