GNU bug report logs -
#29426
guix: "make check" test "utmpx-entries" fails
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 29426 in the body.
You can then email your comments to 29426 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#29426
; Package
guix
.
(Fri, 24 Nov 2017 17:10:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Adonay Felipe Nogueira <adfeno <at> hyperbola.info>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 24 Nov 2017 17:10:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Currently, "make check" test "utmpx-entries" fails, to reproduce, do:
--8<---------------cut here---------------start------------->8---
git clone "https://git.savannah.gnu.org/git/guix.git"
guix environment guix
./bootstrap
./configure --localstatedir="/var"
make check
--8<---------------cut here---------------end--------------->8---
The test fails in foreign system distribution (Trisquel 7, based on
Ubuntu 14.04).
Last attempt was based on commit
907ab9e8cbab10413848dfc8982cfc851e03903f.
The "test-suite.log" file is attached.
[test-suite.log (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
--
- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (não confundir com
gratis).
- "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar
instantaneamente comigo no endereço abaixo.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
(apenas sem DRM), PNG, TXT, WEBM.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#29426
; Package
guix
.
(Fri, 24 Nov 2017 20:59:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 29426 <at> debbugs.gnu.org (full text, mbox):
Hello,
Adonay Felipe Nogueira <adfeno <at> hyperbola.info> skribis:
> test-name: utmpx-entries
> location: /home/adfeno/Projetos/Software/guix/tests/syscalls.scm:522
> source:
> + (test-assert
> + "utmpx-entries"
> + (match (utmpx-entries)
> + (((? utmpx? entries) ...)
> + (every (lambda (entry)
> + (match (utmpx-user entry)
> + ((? string?)
> + (or (eqv? (login-type BOOT_TIME)
> + (utmpx-login-type entry))
> + (> (utmpx-pid entry) 0)))
> + (#f #t)))
> + entries))))
> actual-value: #f
> result: FAIL
Can you try this in a REPL?
You can run:
./pre-inst-env guile
and then:
,use (guix build syscalls)
(utmpx-entries)
TIA!
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#29426
; Package
guix
.
(Sat, 25 Nov 2017 11:31:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 29426 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I did the following:
--8<---------------cut here---------------start------------->8---
guix environment guix
./bootstrap
./configure --localstatedir="/var"
./pre-inst-env guile
--8<---------------cut here---------------end--------------->8---
And inside Guile REPL:
--8<---------------cut here---------------start------------->8---
,use (guix build syscalls)
(utmpx-entries)
--8<---------------cut here---------------end--------------->8---
And I get what is attached in "utmp-1.txt".
The same result is observed when I append `--ad-hoc guile' to `guix
environment guix' (I attempted a `diff' between the results of two
sequence of commands and it didn't report anything).
[utmpx-1.txt (text/plain, attachment)]
[Message part 3 (text/plain, inline)]
2017-11-24T21:58:36+0100 Ludovic Courtès wrote:
> Hello,
>
>
> Can you try this in a REPL?
>
> You can run:
>
> ./pre-inst-env guile
>
> and then:
>
> ,use (guix build syscalls)
> (utmpx-entries)
>
> TIA!
>
> Ludo’.
>
Reply sent
to
ludo <at> gnu.org (Ludovic Courtès)
:
You have taken responsibility.
(Sat, 25 Nov 2017 17:15:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Adonay Felipe Nogueira <adfeno <at> hyperbola.info>
:
bug acknowledged by developer.
(Sat, 25 Nov 2017 17:15:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 29426-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Adonay Felipe Nogueira <adfeno <at> hyperbola.info> skribis:
> #<<utmpx-entry> type: 8 pid: 0 line: "pts/3" id: (47 51 0 0) user: "adfeno" host: #f termination: 0 exit: 0 session: 0 time: #<time type: time-utc nanosecond: 125808000 second: 1511606671> address: (0 0 0 0)>
This is the culprit: its ‘pid’ is 0, but its type is not BOOT_TIME as
the test expects. Instead, it’s DEAD_PROCESS (8).
Fixed in commit 4aac8d059a2bec9f075ceea2a089ca029a71912c.
Thanks!
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#29426
; Package
guix
.
(Thu, 30 Nov 2017 22:52:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 29426-done <at> debbugs.gnu.org (full text, mbox):
Thank you very much. It works nicely now. ;)
2017-11-25T18:14:36+0100 Ludovic Courtès wrote:
> Hi,
>
>
> This is the culprit: its ‘pid’ is 0, but its type is not BOOT_TIME as
> the test expects. Instead, it’s DEAD_PROCESS (8).
>
> Fixed in commit 4aac8d059a2bec9f075ceea2a089ca029a71912c.
>
> Thanks!
>
> Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 29 Dec 2017 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 128 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.