time-machine v1.0.0

  • Done
  • quality assurance status badge
Details
2 participants
  • Théo Maxime Tyburn
  • Simon Tournier
Owner
unassigned
Submitted by
Théo Maxime Tyburn
Severity
normal
T
T
Théo Maxime Tyburn wrote on 19 Aug 2023 10:59
(address . bug-guix@gnu.org)
874jkvh0db.fsf@gmail.com
I found a bug using time machine for version 1.0.0 and was told to report:

352 tests OK.
4 tests failed:
test_ftplib test_httplib test_ssl test_urllib2_localnet
40 tests skipped:
test_aepack test_al test_applesingle test_bsddb test_bsddb185
test_bsddb3 test_cd test_cl test_codecmaps_cn test_codecmaps_hk
test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses
test_dl test_gdb test_gl test_imageop test_imgfile test_ioctl
test_kqueue test_linuxaudiodev test_macos test_macostools
test_msilib test_nis test_ossaudiodev test_scriptpackages
test_smtpnet test_socketserver test_startfile test_sunaudiodev
test_timeout test_tk test_ttk_guionly test_urllib2net
test_urllibnet test_winreg test_winsound test_zipfile64
4 skips unexpected on linux2:
test_bsddb test_bsddb3 test_gdb test_ioctl

Total duration: 5 min 10 sec
Tests result: FAILURE
@ build-log 29802 39
make: *** [Makefile:878: test] Error 2
@ build-log 29802 34

Test suite failed, dumping logs.
@ build-log 29802 11
Backtrace:
@ build-log 29802 74
4 (primitive-load "/gnu/store/dahcrjl9q0cn87a7l7pryma5jvx?")
@ build-log 29802 19
In ice-9/eval.scm:
@ build-log 29802 19
191:35 3 (_ _)
@ build-log 29802 20
In srfi/srfi-1.scm:
@ build-log 29802 77
863:16 2 (every1 #<procedure 80b780 at /gnu/store/gfprsx2m62cvq?> ?)
@ build-log 29802 94
In /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/gnu-build-system.scm:
@ build-log 29802 19
799:28 1 (_ _)
@ build-log 29802 70
369:6 0 (check #:target _ #:make-flags _ #:tests? _ # _ # _ # _)
@ build-log 29802 1

@ build-log 29802 117
/gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/gnu-build-system.scm:369:6: In procedure check@ build-log 29802 166
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("test" "-j" "6") exit-staus: 2 term-signal: #f stop-signal: #f] 9b8900>)'.
builder for `/gnu/store/sp947xhp8dqfzn3zd2m0aq4ia5qvklbl-python2-2.7.15.drv' failed with exit code 1
@ build-failed /gnu/store/sp947xhp8dqfzn3zd2m0aq4ia5qvklbl-python2-2.7.15.drv - 1 builder for `/gnu/store/sp947xhp8qfzn3zd2m0aq4ia5qvklbl-python2-2.7.15.drv' failed with exit code 1
Backtrace:
In ./guix/gexp.scm:
573:13 19 (_ _)
In ./guix/store.scm:
1667:8 18 (_ _)
1667:8 17 (_ _)
In ./guix/gexp.scm:
708:2 16 (_ _)
In ./guix/monads.scm:
482:9 15 (_ _)
In ./guix/gexp.scm:
573:13 14 (_ _)
In ./guix/store.scm:
1667:8 13 (_ _)
In ./guix/gexp.scm:
708:2 12 (_ _)
In ./guix/monads.scm:
482:9 11 (_ _)
In ./guix/gexp.scm:
573:13 10 (_ _)
In ./guix/store.scm:
1667:8 9 (_ _)
In ./guix/gexp.scm:
708:2 8 (_ _)
In ./guix/monads.scm:
482:9 7 (_ _)
In ./guix/gexp.scm:
573:13 6 (_ _)
In ./guix/store.scm:
1667:8 5 (_ _)
1690:38 4 (_ #<store-connection 256.99 7f5cc57b49c0>)
In ./guix/packages.scm:
936:16 3 (cache! #<weak-table 404/883> #<package guile-gcrypt@0?> ?)
1255:22 2 (thunk)
1188:25 1 (bag->derivation #<store-connection 256.99 7f5cc57b49c0> ?)
In srfi/srfi-1.scm:
592:17 0 (map1 (("source" #<origin #<<git-reference> url: "?>) ?))

srfi/srfi-1.scm:592:17: In procedure map1:
Throw to key `srfi-34' with args `(#<condition &store-protocol-error [message: "build of `/gnu/store/sp947xhp8dqfznzd2m0aq4ia5qvklbl-python2-2.7.15.drv' failed" status: 100] 7f5cc6830cf0>)'.
guix time-machine: error: You found a bug: the program '/gnu/store/d12x45lz2dv3mgp594kzjv0d121g0ncs-compute-guix-deivation'
failed to compute the derivation for Guix (version: "6298c3ffd9654d3231a6f25390b056483e8f407c"; system: "x86_64-linx";
host version: "4547bc6fa3142dca77f7fc912368aeff31bd6e53"; pull-version: 1).
S
S
Simon Tournier wrote on 24 Aug 2023 11:44
86a5ugzseh.fsf@gmail.com
Hi,

Thanks for the report.

On Sat, 19 Aug 2023 at 10:59, Théo Maxime Tyburn <theo.tyburn@gmail.com> wrote:

Toggle quote (3 lines)
> 4 tests failed:
> test_ftplib test_httplib test_ssl test_urllib2_localnet

[...]

Toggle quote (6 lines)
> srfi/srfi-1.scm:592:17: In procedure map1:
> Throw to key `srfi-34' with args `(#<condition &store-protocol-error [message: "build of `/gnu/store/sp947xhp8dqfznzd2m0aq4ia5qvklbl-python2-2.7.15.drv' failed" status: 100] 7f5cc6830cf0>)'.
> guix time-machine: error: You found a bug: the program '/gnu/store/d12x45lz2dv3mgp594kzjv0d121g0ncs-compute-guix-deivation'
> failed to compute the derivation for Guix (version: "6298c3ffd9654d3231a6f25390b056483e8f407c"; system: "x86_64-linx";
> host version: "4547bc6fa3142dca77f7fc912368aeff31bd6e53"; pull-version: 1).

That’s a known bug. It’s a time-bomb in the test suite of some packages
(here Python 2). Other said, the bug is from upstream. ;-)

This failure cannot be fixed and the only way is to set the hardware
clock to some past date (pick 2019 or 2020).

Well, one thing we could do is to set a future date when building with
the CI in order to detect potential problems. It also would help with
the 2038 bug [1]. ;-)

From my point of view, I do not know if it is worth to keep this bug
open since it will not be fixed. And, it is documented in the manual,
see the second note of [2].

What do you think about closing?



Cheers,
simon
S
S
Simon Tournier wrote on 24 Aug 2023 18:12
CAJ3okZ3Fouj6Fxq4fwTPQ06bik1im9GsurCgOn5iLjvCgM4AHw@mail.gmail.com
Hi Théo,

On Thu, 24 Aug 2023 at 14:04, Théo Tyburn <theo.tyburn@gmail.com> wrote:

Toggle quote (2 lines)
> Thank you for your explaination. We can close this.

I am closing.

Thanks,
simon
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 65378@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 65378
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch