zuul randomly failing tox for stx-integ

Bug #1800865 reported by Al Bailey on 2018-10-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Medium
Al Bailey

Bug Description

Title
-----
zuul randomly failing tox for stx-integ

Brief Description
-----------------
bashate sometimes passes and sometimes fails for stx-integ
The issue is E004, and only is raised when bashate processes a file with that violation as its last input.

Severity
--------
Minor: prevents or delays code submissions to stx-integ

Steps to Reproduce
------------------
Its random

Expected Behavior
------------------
Tox should pass when its clean, and fail when it is not.

Actual Behavior
----------------
Tox is often reporting a pass, when there is a bad file and does not report the issue.
Tox fails occasionally for that bad file.

Reproducibility
---------------
Intermittent

System Configuration
--------------------
Zuul

Branch/Pull Time/Commit
-----------------------
Oct 31, 2018.

Timestamp/Logs
--------------
http://logs.openstack.org/84/614384/5/check/openstack-tox-linters/70d0ace

Al Bailey (albailey1974) on 2018-10-31
Changed in starlingx:
assignee: nobody → Al Bailey (albailey1974)

Fix proposed to branch: master
Review: https://review.openstack.org/614542

Changed in starlingx:
status: New → In Progress
Ghada Khalil (gkhalil) on 2018-10-31
tags: added: stx.zuul
tags: added: stx.2019.03
Changed in starlingx:
importance: Undecided → High
importance: High → Medium

Reviewed: https://review.openstack.org/614542
Committed: https://git.openstack.org/cgit/openstack/stx-integ/commit/?id=4a248bfafd7a79f16a72b5d289effd31c013a9eb
Submitter: Zuul
Branch: master

commit 4a248bfafd7a79f16a72b5d289effd31c013a9eb
Author: Al Bailey <email address hidden>
Date: Wed Oct 31 09:55:18 2018 -0500

    Bashate was not detecting E004 in all cases

    Bashate was not always detecting:
      E004 File did not end with a newline
    unless the last file processed by bashate had the violation.

    This meant that zuul jobs would randomly fail.
    The fix is run individually (-n 1)

    Change-Id: I7934c3da82adb450fd1ba5f2630591369df8b828
    Closes-Bug: 1800865
    Signed-off-by: Al Bailey <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ken Young (kenyis) on 2019-01-18
tags: added: stx.2019.05
removed: stx.2019.03
Ken Young (kenyis) on 2019-04-05
tags: added: stx.2.0
removed: stx.2019.05
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers