zuul pylint jobs failing in stx/fault

Bug #1930919 reported by Andy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Andy

Bug Description

Brief Description
-----------------
Submissions to stx/fault that invoke the zuul pylint job are randomly failing.

Task Run tox failed running on host ubuntu-focal, and it's an invocation error "ERROR: InvocationError for command /home/zuul/src/opendev.org/starlingx/fault/.tox/pylint/bin/pylint --rcfile=./pylint.rc fm-api/fm_api fm-common/sources/fm_db_sync_event_suppression.py fm-rest-api/fm/fm python-fmclient/fmclient/fmclient (exited with code 6)"

This suggests a different zuul worker node is being used.

Run pylint locally passes.

Severity
--------
Major

Steps to Reproduce
------------------
Submit a 'safe' review that will trigger a zuul pylint job in stx/fault

Expected Behavior
------------------
Zuul should pass

Actual Behavior
----------------
Zuul randomly fails

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

System Configuration
--------------------
N/A

Branch/Pull Time/Commit
-----------------------
stx latest.

Last Pass
---------
Unknown

Timestamp/Logs
--------------
Zuul log:
 Task
Run tox failed running on host ubuntu-focal

/home/zuul/.local/tox/bin/tox -epylint -vv

non-zero return code

......

-----------------------------------
Your code has been rated at 9.86/10

ERROR: InvocationError for command /home/zuul/src/opendev.org/starlingx/fault/.tox/pylint/bin/pylint --rcfile=./pylint.rc fm-api/fm_api fm-common/sources/fm_db_sync_event_suppression.py fm-rest-api/fm/fm python-fmclient/fmclient/fmclient (exited with code 6)
pylint finish: run-test after 17.82 seconds
pylint start: run-test-post
pylint finish: run-test-post after 0.00 seconds
___________________________________ summary ____________________________________
ERROR: pylint: commands failed

Test Activity
-------------
Uploading reviews

Workaround
----------
N/A

Revision history for this message
Ghada Khalil (gkhalil) wrote :

Screening: marking as stx.6.0 / high given this blocks code merges in the fault repo

Changed in starlingx:
assignee: nobody → Andy (andy.wrs)
importance: Undecided → High
status: New → Triaged
tags: added: stx.6.0 stx.fault stx.zuul
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fault (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/fault/+/795434

Changed in starlingx:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fault (master)

Reviewed: https://review.opendev.org/c/starlingx/fault/+/795434
Committed: https://opendev.org/starlingx/fault/commit/60f7cb230899f6960d57394453514a57690414ca
Submitter: "Zuul (22348)"
Branch: master

commit 60f7cb230899f6960d57394453514a57690414ca
Author: Andy Ning <email address hidden>
Date: Tue Jun 8 18:19:10 2021 -0400

    Fix zuul pylint failure on review

    For a review in stx/fault repo if pylint runs on ubuntu-focal,
    it'll fail with error "ERROR: InvocationError for command ...".
    This update fixed this by restricting pylint to run on
    the compatible ubuntu-bionic, as we do for stx/config repo.

    Closes-Bug: 1930919
    Signed-off-by: Andy Ning <email address hidden>
    Change-Id: I584e80d6286dbaf5439cbff593d0ad74da96ab77

Changed in starlingx:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fault (f/centos8)

Fix proposed to branch: f/centos8
Review: https://review.opendev.org/c/starlingx/fault/+/800519

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fault (f/centos8)

Reviewed: https://review.opendev.org/c/starlingx/fault/+/800519
Committed: https://opendev.org/starlingx/fault/commit/3106ff51a8778e95548d6bb02d23a72e609443da
Submitter: "Zuul (22348)"
Branch: f/centos8

commit 3106ff51a8778e95548d6bb02d23a72e609443da
Author: Andy Ning <email address hidden>
Date: Tue Jun 8 18:19:10 2021 -0400

    Fix zuul pylint failure on review

    For a review in stx/fault repo if pylint runs on ubuntu-focal,
    it'll fail with error "ERROR: InvocationError for command ...".
    This update fixed this by restricting pylint to run on
    the compatible ubuntu-bionic, as we do for stx/config repo.

    Closes-Bug: 1930919
    Signed-off-by: Andy Ning <email address hidden>
    Change-Id: I584e80d6286dbaf5439cbff593d0ad74da96ab77
    (cherry picked from commit 60f7cb230899f6960d57394453514a57690414ca)

tags: added: in-f-centos8
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.