fuel-library build should fail if module pull fails

Bug #1588895 reported by Alex Schultz
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Critical
Alex Schultz

Bug Description

When the build process for fuel-library is running, we pull modules from a remote source. Unfortunately when we get timeouts or other connection failures, the build process of fuel-library does not stop so we end up with odd failures during deployment. We should fail if not all the modules are pulled down during the fuel-library build phase.

https://ci.fuel-infra.org/job/10.0-community.all/236/consoleFull

Steps to reproduce:
attempt to build fuel-library package, have some of the modules fail to download.

Expected results:
Build should fail if not all modules are downloaded.

Actual results:
odd failures during deployment

Reproducibility:
occasionally

Workaround:
Rebuild fuel-library

Impact:
Random CI/BVT failures

Tags: tech-debt
Andrey Maximov (maximov)
Changed in fuel:
assignee: nobody → Sergey Kulanov (skulanov)
Changed in fuel:
status: New → Confirmed
Changed in fuel:
assignee: Sergey Kulanov (skulanov) → Alex Schultz (alex-schultz)
status: Confirmed → In Progress
Revision history for this message
Alex Schultz (alex-schultz) wrote :
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

Raise to critical because it fails 10.0 bvt

Changed in fuel:
importance: High → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/325416
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=f6ea0881c9cc628a311c98070198f441741ee731
Submitter: Jenkins
Branch: master

commit f6ea0881c9cc628a311c98070198f441741ee731
Author: Alex Schultz <email address hidden>
Date: Fri Jun 3 10:58:49 2016 -0600

    Error if librarian-puppet fails

    This change checks the return code status of librarian puppet and
    stops the script execution if there is anerror. Without this change
    if librarian-puppet encounters an error, the script would continue
    and not all the modules may be available. This is problematic for
    the build systems that are using this script to pull down the modules.

    Change-Id: Ic7277deb957072abcae9a8639196938b24288cfa
    Closes-Bug: #1588895

Changed in fuel:
status: In Progress → Fix Committed
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.