[pkg-go] Bug#842380: gitlab-ci-multi-runner: mk-prebuilt-images.sh fails at install time
Dmitry Smirnov
onlyjob at debian.org
Mon Nov 14 01:48:04 UTC 2016
Hi Vincent,
Sorry it took so long for me to get back to this problem...
On Sunday, 30 October 2016 3:03:19 PM AEDT Vincent Danjean wrote:
> So, I will try to argue a little bit more ;-)
:)
> Do you try the cdebootstrap command itself?
Yes, through mk-prebuilt-images.sh and directly during development of mk-
prebuilt-images.sh. It actually works with cdebootstrap v0.6.4 but not with
later versions...
> Setting up gitlab-ci-multi-runner (1.7.1+dfsg-1) ...
> W: Docker is not available.
Docker is required to generate image...
> atsina:/tmp/test# cdebootstrap \
> --flavour=minimal \
> --exclude="dmsetup,e2fsprogs,init,systemd-sysv,systemd,udev" \
> --include="bash,ca-certificates,git,netcat-traditional" \
> stable ./debian-minbase |& tee /tmp/log
> P: Retrieving Release
> P: Retrieving Release.gpg
> [...]
> P: Configuring helper cdebootstrap-helper-apt
> E: Internal error: install
This may suggest an error in cdebootstrap...
I see you've already reported #842579 against cdebootstrap -- thank you.
> Do the cdebootstrap command really works on your systems?
It was working just a few days ago...
> I also tried to remove this file. mk-prebuilt-images.sh recreates
> a (not working) one.
That may give us a clue why it is happening... Do you have enough disk space
on the box? Maybe exporting/compressing image runs out of disk space and
produce invalid file as result?
Anyway I've found a bug that may result in incomplete images because bash
ignores errors in comands used with pipe even with "set -e". I've just
uploaded fix for that ("set -o pipefail").
> In this case, please remove the bad gitlab-runner-prebuilt.tar.xz
> Or ask the user to re-create it with a --force parameter to
> mk-prebuilt-images.sh if he wants to keep a probably problematic
> image.
Noted. I'll think about it. Thanks.
For now I've made some changes that should make image generation more
reliable. Hopefully "--force" won't be necessary.
Thanks again for your help, feedback and testing, Vincent.
Just uploaded 1.7.1+dfsg-2 should fix this problem.
--
Cheers,
Dmitry Smirnov.
---
What is the truth, but a lie agreed upon.
-- Friedrich Nietzsche
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20161114/21041619/attachment.sig>
More information about the Pkg-go-maintainers
mailing list