Fuel/mitaka ISO build crashes

Bug #1641606 reported by BHa-77
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Vladimir Kozhukalov

Bug Description

Detailed bug description:
mitaka ISO build crashes on ubuntu 14.04.5 fresh install
(see below)

Steps to reproduce:
Boot a fresh image from ubuntu 14.04
# apt update
# apt dist-upgrade
# git clone -b stable/mitaka https://github.com/openstack/fuel-main.git
# ./prepare-build-env.sh
# make iso
...... Build processes 10 minutes and crashes leaving stuff mounted
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.m8CJr0 (%prep)
make: *** [/home/ubuntu/fuelbuild/mitaka/fuel-main/build/packages/rpm/fuel-ui.done] Error 1

Expected results:
 no error and fuel-9.iso build in artifacts

Actual result:
# make iso
...... Build processes 10 minutes and crashes leaving stuff mounted
output tail :

test -f /home/ubuntu/fuelbuild/mitaka/fuel-main/build/packages/rpm/SANDBOX/fuel-ui/tmp/SOURCES/version && sudo chroot /home/ubuntu/fuelbuild/mitaka/fuel-main/build/packages/rpm/SANDBOX/fuel-ui rpmbuild --nodeps --define "_topdir /tmp" --define "release `awk -F'=' '/RPMRELEASE/ {print $2}' /home/ubuntu/fuelbuild/mitaka/fuel-main/build/packages/rpm/SANDBOX/fuel-ui/tmp/SOURCES/version`" -ba /tmp/fuel-ui.spec || sudo chroot /home/ubuntu/fuelbuild/mitaka/fuel-main/build/packages/rpm/SANDBOX/fuel-ui rpmbuild --nodeps --define "_topdir /tmp" -ba /tmp/fuel-ui.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GLKGwW
+ umask 022
+ cd /tmp/BUILD
+ cd /tmp/BUILD
+ rm -rf fuel-ui-9.0.0
+ /usr/bin/mkdir -p fuel-ui-9.0.0
+ cd fuel-ui-9.0.0
+ /usr/bin/gzip -dc /tmp/SOURCES/fuel-ui-9.0.0.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp -pr /opt/nodejs-nailgun/lib/node_modules /tmp/BUILD/fuel-ui-9.0.0/node_modules
cp: cannot stat '/opt/nodejs-nailgun/lib/node_modules': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.GLKGwW (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.GLKGwW (%prep)
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.m8CJr0
+ umask 022
+ cd /tmp/BUILD
+ cd /tmp/BUILD
+ rm -rf fuel-ui-9.0.0
+ /usr/bin/mkdir -p fuel-ui-9.0.0
+ cd fuel-ui-9.0.0
+ /usr/bin/gzip -dc /tmp/SOURCES/fuel-ui-9.0.0.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp -pr /opt/nodejs-nailgun/lib/node_modules /tmp/BUILD/fuel-ui-9.0.0/node_modules
cp: cannot stat '/opt/nodejs-nailgun/lib/node_modules': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.m8CJr0 (%prep)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.m8CJr0 (%prep)
make: *** [/home/ubuntu/fuelbuild/mitaka/fuel-main/build/packages/rpm/fuel-ui.done] Error 1

Reproducibility:
 Fresh boot your VM, nova instance, etc... with ubuntu server 14.04 as stated in quickstart
 See "steps to reproduce"
Workaround:
 working on it... looks like the issue is fixed on newton branch...

Impact:
 can't update mitaka

 Description of the environment:
 Operation system: ubuntu 14.04.5 64bits
 Versions of components: stable/mitaka
 Reference architecture: N/A
 Network model: N/A
 Related projects installed: None

Additional information:
 none yet

Changed in fuel:
milestone: none → 9.2
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
importance: Undecided → Medium
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Fuel build team (fuel-build)
Roman Vyalov (r0mikiam)
Changed in fuel:
assignee: Fuel build team (fuel-build) → Vladimir Kozhukalov (kozhukalov)
Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/398223

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/mitaka)

Reviewed: https://review.openstack.org/398223
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=cbb8fa306ca62f3c6e23bc7811e58e1464ee711b
Submitter: Jenkins
Branch: stable/mitaka

commit cbb8fa306ca62f3c6e23bc7811e58e1464ee711b
Author: Vladimir Kozhukalov <email address hidden>
Date: Wed Nov 16 12:35:48 2016 +0300

    Set default EXTRA_RPM_REPOS to use proposed repo

    Change-Id: I6b2b64af6f0608afb3d4769142b715d71b4a509c
    Closes-Bug: #1641606

tags: added: in-stable-mitaka
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
status: New → Fix Committed
Revision history for this message
Nastya Urlapova (aurlapova) wrote :
Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/426798

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/newton)

Reviewed: https://review.openstack.org/426798
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=92091ead048209cbedb256eabca55ac5b1dfd05b
Submitter: Jenkins
Branch: stable/newton

commit 92091ead048209cbedb256eabca55ac5b1dfd05b
Author: Vladimir Kozhukalov <email address hidden>
Date: Wed Nov 16 12:35:48 2016 +0300

    Set default EXTRA_RPM_REPOS to use proposed repo

    Change-Id: I6b2b64af6f0608afb3d4769142b715d71b4a509c
    Closes-Bug: #1641606

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/426799
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=320260646bee6d2eebafc7ac3168cd19b8687d4c
Submitter: Jenkins
Branch: master

commit 320260646bee6d2eebafc7ac3168cd19b8687d4c
Author: Vladimir Kozhukalov <email address hidden>
Date: Wed Nov 16 12:35:48 2016 +0300

    Set default EXTRA_RPM_REPOS to use proposed repo

    Change-Id: I6b2b64af6f0608afb3d4769142b715d71b4a509c
    Closes-Bug: #1641606

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-main 11.0.0.0rc1

This issue was fixed in the openstack/fuel-main 11.0.0.0rc1 release candidate.

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.