[fuel-main] Unable to build iso in isolated env

Bug #1541871 reported by Aleksey Zvyagintsev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Sergey Kulanov
8.0.x
Fix Released
High
Sergey Kulanov
Mitaka
Fix Committed
High
Sergey Kulanov
Newton
Fix Committed
High
Fuel build team

Bug Description

fuel-main stable/8.0

sh -c "${SANDBOX_UP}"
Starting SANDBOX up
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
warning: /home/jenkins/workspace/tmp/custom_8.0_iso/local_mirror/centos/os/x86_64/Packages/centos-release-7-2.1511.el7.centos.2.10.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Loaded plugins: priorities
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 7 - "Failed to connect to mirrorlist.centos.org port 80: Connection timed out"
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
removed �/home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/buildd/etc/yum.repos.d/CentOS-Base.repo
removed �/home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/buildd/etc/yum.repos.d/CentOS-CR.repo
removed �/home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/buildd/etc/yum.repos.d/CentOS-Debuginfo.repo
removed �/home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/buildd/etc/yum.repos.d/CentOS-Media.repo
removed �/home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/buildd/etc/yum.repos.d/CentOS-Sources.repo
removed �/home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/buildd/etc/yum.repos.d/CentOS-Vault.repo
removed �/home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/buildd/etc/yum.repos.d/CentOS-fasttrack.repo
Rebuilding RPM DB
Installing packages for Sandbox
mount: mount point /home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/buildd/proc does not exist
mount: mount point /home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/buildd/dev does not exist
chroot: failed to run command �yum�: No such file or directory
sh -c "${SANDBOX_DOWN}"
umount: /home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/buildd/proc: not found
umount: /home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/buildd/dev: not found
sudo tar czf /home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/buildd.tar.gz.tmp -C /home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/buildd .
mv /home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/buildd.tar.gz.tmp /home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/buildd.tar.gz
mkdir -p /home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/RPMS/x86_64
mkdir -p /home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/astute && sudo tar xzf /home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/buildd.tar.gz -C /home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/astute && sudo chroot /home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/SANDBOX/astute bash -c "(mkdir -p '${TEMP}'; mkdir -p /tmp/user/0)"
chroot: failed to run command �bash�: No such file or directory
make: *** [/home/jenkins/workspace/tmp/custom_8.0_iso/build/packages/rpm/astute.done] Error 127

Changed in fuel:
assignee: nobody → Sergey Kulanov (skulanov)
importance: Undecided → High
Changed in fuel:
milestone: none → 9.0
tags: added: area-build
Changed in fuel:
status: New → In Progress
tags: added: customer-found
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/276272

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

Reviewed: https://review.openstack.org/276272
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=135894c9f3fd423fd0e653acde01ea81a4d4c179
Submitter: Jenkins
Branch: master

commit 135894c9f3fd423fd0e653acde01ea81a4d4c179
Author: Sergey Kulanov <email address hidden>
Date: Thu Feb 4 16:38:43 2016 +0200

    Remove CentOS upstream repos from rpm sandbox

    We need to remove CentOS upstream sandbox repos, which comes with
    centos-release package before any yum operations.

    Change-Id: I6322ab90c6aca744820446021432a78a2ba5f37a
    Closes-bug: #1541871

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/276733

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

Reviewed: https://review.openstack.org/276733
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=87dfb6bc25d4650264f09c338ed77c21a3d6fe87
Submitter: Jenkins
Branch: stable/8.0

commit 87dfb6bc25d4650264f09c338ed77c21a3d6fe87
Author: Sergey Kulanov <email address hidden>
Date: Thu Feb 4 16:38:43 2016 +0200

    Remove CentOS upstream repos from rpm sandbox

    We need to remove CentOS upstream sandbox repos, which comes with
    centos-release package before any yum operations.

    Change-Id: I6322ab90c6aca744820446021432a78a2ba5f37a
    Closes-bug: #1541871
    (cherry picked from commit 135894c9f3fd423fd0e653acde01ea81a4d4c179)

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

Related fix proposed to branch: master
Review: https://review.openstack.org/277865

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/277865
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=2e7b44e1d88df34cd2aca1c6fa7c6df10454d176
Submitter: Jenkins
Branch: master

commit 2e7b44e1d88df34cd2aca1c6fa7c6df10454d176
Author: Sergey Kulanov <email address hidden>
Date: Tue Feb 9 16:54:30 2016 +0200

    Clean Upstream CentOS repos which comes with centos-release pkg

    We need to clean RPM chroot each time on installing packages from
    $(SANDBOX_PACKAGES), since some of them can "bring" centos-release
    as dependency

    Change-Id: I274f3e3675d327c700262058682200d7781ff1b9
    Related-bug: #1541871

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-main (stable/8.0)

Related fix proposed to branch: stable/8.0
Review: https://review.openstack.org/291699

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

Reviewed: https://review.openstack.org/291699
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=fd99f5051471e30b019a382008843c959d26c2f5
Submitter: Jenkins
Branch: stable/8.0

commit fd99f5051471e30b019a382008843c959d26c2f5
Author: Sergey Kulanov <email address hidden>
Date: Tue Feb 9 16:54:30 2016 +0200

    Clean Upstream CentOS repos which comes with centos-release pkg

    We need to clean RPM chroot each time on installing packages from
    $(SANDBOX_PACKAGES), since some of them can "bring" centos-release
    as dependency

    Change-Id: I274f3e3675d327c700262058682200d7781ff1b9
    Related-bug: #1541871
    (cherry picked from commit 2e7b44e1d88df34cd2aca1c6fa7c6df10454d176)

Dmitry (dtsapikov)
tags: added: on-verification
Dmitry (dtsapikov)
tags: removed: on-verification
Revision history for this message
Damian Szeluga (dszeluga) wrote :

Change has been tested on isolated environment and basicaly works.

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.