GNU bug report logs -
#47841
'tarball' jobs on ci.guix.gnu.org install the wrong profile
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47841 in the body.
You can then email your comments to 47841 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#47841
; Package
guix
.
(Sat, 17 Apr 2021 13:30:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Julien Lepiller <julien <at> lepiller.eu>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 17 Apr 2021 13:30:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Guix!
I tried using the latest tarball to install guix, by modifying the
current script. To do that, I downloaded the latest installation script
from savannah and modified it a bit:
In guix_get_bin, I removed the tar.xz extension and the download of the
signature. I also commented out the verification with gpg.
In main, I commented out the call to guix_get_bin_list and replace the
call to guix_get_bin with
guix_get_bin "https://ci.guix.gnu.org/download/" "114" "$tmp_path"
(114 being obtained by looking at the latest build of the tarball:
https://ci.guix.gnu.org/jobset/tarball).
After these changes, I was able to run:
sudo -i $HOME/guix-install.sh
which initially asked me to get the key, then managed to download the
tarball, but failed like so:
https://www.gnu.org/software/guix/
Press return to continue...
Starting installation (Sat Apr 17 08:59:36 AM EDT 2021)
[ PASS ] verification of required commands completed
[ INFO ] init system is: systemd
[ WARN ] We recommend installing and/or starting your distribution
'nscd' service
[ WARN ] Please read 'info guix "Application Setup"' about "Name
Service Switch"
[ INFO ] system is x86_64-linux
[ INFO ] Downloading Guix release archive 114
100%[===================>] 85.11M 4.27MB/s in 19s
[ PASS ] download completed.
[ PASS ] unpacked archive
[ INFO ] Installing /var/guix and /gnu...
[ INFO ] Linking the root user's profile
/home/roptat/guix-install.sh: line 317:
/root/.config/guix/current/etc/profile: No such file or directory
Indeed, the tarball only has the following in var/guix:
/var/guix/
/var/guix/db/
/var/guix/db/db.sqlite
/var/guix/gcroots/
/var/guix/gcroots/profiles
/var/guix/profiles/
/var/guix/profiles/per-user/
/var/guix/profiles/per-user/root/
/var/guix/profiles/per-user/root/guix-profile
/var/guix/profiles/per-user/root/guix-profile-1-link
whereas the release (1.2.0) tarball contains:
/var/guix/
/var/guix/db/
/var/guix/db/db.sqlite
/var/guix/gcroots/
/var/guix/gcroots/profiles
/var/guix/profiles/
/var/guix/profiles/per-user/
/var/guix/profiles/per-user/root/
/var/guix/profiles/per-user/root/current-guix
/var/guix/profiles/per-user/root/current-guix-1-link
Note guix-profile <> current-guix
The manual still suggests to create a symlink to
/var/guix/profiles/per-user/root/current-guix and source the profile
from it.
Added indication that bug 47841 blocks47297
Request was from
Leo Famulari <leo <at> famulari.name>
to
control <at> debbugs.gnu.org
.
(Sat, 17 Apr 2021 17:43:02 GMT)
Full text and
rfc822 format available.
Changed bug title to ''tarball' jobs on ci.guix.gnu.org install the wrong profile' from '[release 1.2.1] could not install on foreign distro'
Request was from
Leo Famulari <leo <at> famulari.name>
to
control <at> debbugs.gnu.org
.
(Sat, 17 Apr 2021 18:59:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47841
; Package
guix
.
(Sat, 17 Apr 2021 19:00:03 GMT)
Full text and
rfc822 format available.
Message #12 received at 47841 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sat, Apr 17, 2021 at 03:29:27PM +0200, Julien Lepiller wrote:
> (114 being obtained by looking at the latest build of the tarball:
> https://ci.guix.gnu.org/jobset/tarball).
[...]
> /root/.config/guix/current/etc/profile: No such file or directory
I built the tarball as it's done by `make release` [0]:
`./pre-inst-env guix pack -C xz --fallback -s x86_64-linux --localstatedir --profile-name=current-guix guix`
And, this tarball seems right:
------
var/guix
var/guix/db
var/guix/db/db.sqlite
var/guix/gcroots
var/guix/gcroots/profiles
var/guix/profiles
var/guix/profiles/per-user
var/guix/profiles/per-user/root
var/guix/profiles/per-user/root/current-guix
var/guix/profiles/per-user/root/current-guix-1-link
------
So, I guess that the CI job for these tarballs needs to be adjusted.
I'm going to test installing with this tarball in a Debian ISO now.
[0] https://git.savannah.gnu.org/cgit/guix.git/tree/Makefile.am?id=b18f45c21f5d697d384a7bd5c9d3ee314bba9e35#n739
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47841
; Package
guix
.
(Sat, 17 Apr 2021 19:23:01 GMT)
Full text and
rfc822 format available.
Message #15 received at 47841 <at> debbugs.gnu.org (full text, mbox):
On Sat, Apr 17, 2021 at 03:29:27PM +0200, Julien Lepiller wrote:
> I tried using the latest tarball to install guix, by modifying the
> current script. To do that, I downloaded the latest installation script
> from savannah and modified it a bit:
>
> In guix_get_bin, I removed the tar.xz extension and the download of the
> signature. I also commented out the verification with gpg.
>
> In main, I commented out the call to guix_get_bin_list and replace the
> call to guix_get_bin with
>
> guix_get_bin "https://ci.guix.gnu.org/download/" "114" "$tmp_path"
>
> (114 being obtained by looking at the latest build of the tarball:
> https://ci.guix.gnu.org/jobset/tarball).
Can you share your diff? I tried to alter guix-install.sh to download
the tarball I built from my server, but it's easier said than done.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47841
; Package
guix
.
(Sat, 17 Apr 2021 20:18:01 GMT)
Full text and
rfc822 format available.
Message #18 received at 47841 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sat, Apr 17, 2021 at 02:59:23PM -0400, Leo Famulari wrote:
> I'm going to test installing with this tarball in a Debian ISO now.
I installed "by hand" using this tarball, and it worked fine.
Since this bug is really about a broken CI job, and not the release
artifacts, I'm removing it from the list of release blockers.
[signature.asc (application/pgp-signature, inline)]
Removed indication that bug 47841 blocks
Request was from
Leo Famulari <leo <at> famulari.name>
to
control <at> debbugs.gnu.org
.
(Sat, 17 Apr 2021 20:19:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47841
; Package
guix
.
(Sat, 17 Apr 2021 21:55:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 47841 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sat, Apr 17, 2021 at 03:22:37PM -0400, Leo Famulari wrote:
> Can you share your diff? I tried to alter guix-install.sh to download
> the tarball I built from my server, but it's easier said than done.
Julien shared a diff on #guix, and I adapted it a bit, as attached.
I named the binary tarball that I built 'guix-binary-0.tar.xz', so if
you choose another name, adjust guix-install.sh appropriately.
And of course, change the URL used in the invocation of guix_get_bin().
The example.com URL will not work.
[diff (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47841
; Package
guix
.
(Sun, 18 Apr 2021 07:37:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 47841 <at> debbugs.gnu.org (full text, mbox):
Hello,
> I installed "by hand" using this tarball, and it worked fine.
>
> Since this bug is really about a broken CI job, and not the release
> artifacts, I'm removing it from the list of release blockers.
There's indeed a discrepancy between the Makefile and the (gnu ci)
release job. I'm testing this fix right now: 68a11045.
Thanks,
Mathieu
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47841
; Package
guix
.
(Sun, 18 Apr 2021 09:01:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 47841 <at> debbugs.gnu.org (full text, mbox):
Hello,
there's a few enhancements to the installer
script waiting for review, comments and/or
merge there:
https://issues.guix.gnu.org/40601
That may make the kind of testing you've
done here easier.
The separate commits should be fairly
orthogonal and cherry-pickable independently.
I can resume working on those if there's
consensus about their usefulness.
Those patches also would probably help setting
up CI testing jobs to catch problems earlier in the release cycle.
Thanks
--
Vincent Legoll
Information forwarded
to
bug-guix <at> gnu.org
:
bug#47841
; Package
guix
.
(Sun, 18 Apr 2021 17:17:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 47841 <at> debbugs.gnu.org (full text, mbox):
On Sun, Apr 18, 2021 at 09:36:29AM +0200, Mathieu Othacehe wrote:
>
> Hello,
>
> > I installed "by hand" using this tarball, and it worked fine.
> >
> > Since this bug is really about a broken CI job, and not the release
> > artifacts, I'm removing it from the list of release blockers.
>
> There's indeed a discrepancy between the Makefile and the (gnu ci)
> release job. I'm testing this fix right now: 68a11045.
Okay, thanks! By the way, what is that '68a11045'? If it's a Git commit,
I can't figure out where it is.
Reply sent
to
Mathieu Othacehe <othacehe <at> gnu.org>
:
You have taken responsibility.
(Tue, 20 Apr 2021 12:18:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Julien Lepiller <julien <at> lepiller.eu>
:
bug acknowledged by developer.
(Tue, 20 Apr 2021 12:18:02 GMT)
Full text and
rfc822 format available.
Message #37 received at 47841-done <at> debbugs.gnu.org (full text, mbox):
Hey,
> Okay, thanks! By the way, what is that '68a11045'? If it's a Git commit,
> I can't figure out where it is.
Yeah, but it disappeared when I removed the wip branch. I pushed it on
master: 2ccb715ab3ebef5ddbc53d706cbc42b3b765d613.
I tried to install a CI produced tarball
(https://ci.guix.gnu.org/build/213975/details) on a foreign distribution
VM with success.
Closing this one,
Thanks,
Mathieu
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 19 May 2021 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 314 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.