unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40887: No substitutes for libreoffice / vigra
@ 2020-04-26 22:44 Leo Famulari
  2021-01-11  4:56 ` Maxim Cournoyer
  0 siblings, 1 reply; 7+ messages in thread
From: Leo Famulari @ 2020-04-26 22:44 UTC (permalink / raw)
  To: 40887

ci.guix.gnu.org is having trouble building vigra (a dependency of
libreoffice) because the build times out after 1 hour of silence [0]:

------
[ 94%] Linking CXX executable test_threadpool
cd /tmp/guix-build-vigra-1.11.1.drv-0/build/test/threadpool && /gnu/store/iz9500ssxcqlyr74hg1jq10ycrh42yq1-cmake-minimal-3.15.1/bin/cmake -E cmake_link_script CMakeFiles/test_threadpool.dir/link.txt --verbose=1
/gnu/store/x3jx25cd3q363mr7nbgzrhrv1vza6cf7-gcc-7.4.0/bin/c++  -std=c++11 -pthread -I/gnu/store/mh501jvl3hl2fja4n1iial5zjy36qrys-ilmbase-2.4.1/include/OpenEXR -ffloat-store -O2 -g -DNDEBUG  -rdynamic CMakeFiles/test_threadpool.dir/test.cxx.o CMakeFiles/test_threadpool.dir/testsuccess.cxx.o  -o test_threadpool 
Running test_threadpool
cd /tmp/guix-build-vigra-1.11.1.drv-0/build/test/threadpool && ./run_test_threadpool.sh
building of `/gnu/store/mfnzxkhj4hiayk9lbb7vp5qxa9qjm1li-vigra-1.11.1.drv' timed out after 3600 seconds of silence
@ build-failed /gnu/store/mfnzxkhj4hiayk9lbb7vp5qxa9qjm1li-vigra-1.11.1.drv - timeout
------

It takes a lot of resources to build this package and people are
reporting difficulties on the mailing lists and IRC [1]. Is there anything
we can do to make it more likely to build on the CI servers?

[0] https://ci.guix.gnu.org/build/2613103/details
[1] https://bugs.gnu.org/40789
http://logs.guix.gnu.org/guix/2020-04-27.log#002722

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#40887: No substitutes for libreoffice / vigra
  2020-04-26 22:44 bug#40887: No substitutes for libreoffice / vigra Leo Famulari
@ 2021-01-11  4:56 ` Maxim Cournoyer
  2021-01-12 22:26   ` Leo Famulari
  0 siblings, 1 reply; 7+ messages in thread
From: Maxim Cournoyer @ 2021-01-11  4:56 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 40887-done

Hi Leo,

Leo Famulari <leo@famulari.name> writes:

> ci.guix.gnu.org is having trouble building vigra (a dependency of
> libreoffice) because the build times out after 1 hour of silence [0]:
>
> ------
> [ 94%] Linking CXX executable test_threadpool
> cd /tmp/guix-build-vigra-1.11.1.drv-0/build/test/threadpool &&
> /gnu/store/iz9500ssxcqlyr74hg1jq10ycrh42yq1-cmake-minimal-3.15.1/bin/cmake
> -E cmake_link_script CMakeFiles/test_threadpool.dir/link.txt
> --verbose=1
> /gnu/store/x3jx25cd3q363mr7nbgzrhrv1vza6cf7-gcc-7.4.0/bin/c++
> -std=c++11 -pthread
> -I/gnu/store/mh501jvl3hl2fja4n1iial5zjy36qrys-ilmbase-2.4.1/include/OpenEXR
> -ffloat-store -O2 -g -DNDEBUG -rdynamic
> CMakeFiles/test_threadpool.dir/test.cxx.o
> CMakeFiles/test_threadpool.dir/testsuccess.cxx.o -o test_threadpool
> Running test_threadpool
> cd /tmp/guix-build-vigra-1.11.1.drv-0/build/test/threadpool && ./run_test_threadpool.sh
> building of
> `/gnu/store/mfnzxkhj4hiayk9lbb7vp5qxa9qjm1li-vigra-1.11.1.drv' timed
> out after 3600 seconds of silence
> @ build-failed /gnu/store/mfnzxkhj4hiayk9lbb7vp5qxa9qjm1li-vigra-1.11.1.drv - timeout
> ------
>
> It takes a lot of resources to build this package and people are
> reporting difficulties on the mailing lists and IRC [1]. Is there anything
> we can do to make it more likely to build on the CI servers?

While there are currently substitutes available for both vigra and
libreoffice, I've raised the max-silent-time timeout value from 1 h to 2
h in a25896bb7576c8232acc7a3fd4da0b1cba89569b.  Hopefully that'll help
keeping the problem at bay.

Thanks for the report!

Closing,

Maxim




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#40887: No substitutes for libreoffice / vigra
  2021-01-11  4:56 ` Maxim Cournoyer
@ 2021-01-12 22:26   ` Leo Famulari
  2021-01-13  2:32     ` Maxim Cournoyer
  0 siblings, 1 reply; 7+ messages in thread
From: Leo Famulari @ 2021-01-12 22:26 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 40887-done

On Sun, Jan 10, 2021 at 11:56:23PM -0500, Maxim Cournoyer wrote:
> While there are currently substitutes available for both vigra and
> libreoffice, I've raised the max-silent-time timeout value from 1 h to 2
> h in a25896bb7576c8232acc7a3fd4da0b1cba89569b.  Hopefully that'll help
> keeping the problem at bay.

Does Cuirass honor this property? In the past, the timeout and
max-silent-time properties were ignored by Cuirass:

https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00209.html




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#40887: No substitutes for libreoffice / vigra
  2021-01-12 22:26   ` Leo Famulari
@ 2021-01-13  2:32     ` Maxim Cournoyer
  2021-01-13  8:12       ` Mathieu Othacehe
  0 siblings, 1 reply; 7+ messages in thread
From: Maxim Cournoyer @ 2021-01-13  2:32 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 40887

Hi Leo!

Leo Famulari <leo@famulari.name> writes:

> On Sun, Jan 10, 2021 at 11:56:23PM -0500, Maxim Cournoyer wrote:
>> While there are currently substitutes available for both vigra and
>> libreoffice, I've raised the max-silent-time timeout value from 1 h to 2
>> h in a25896bb7576c8232acc7a3fd4da0b1cba89569b.  Hopefully that'll help
>> keeping the problem at bay.
>
> Does Cuirass honor this property? In the past, the timeout and
> max-silent-time properties were ignored by Cuirass:
>
> https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00209.html

Thanks for pointing me to that.  I wasn't aware Cuirass didn't honor it,
compared to Hydra.  I grepped the code base and found in (guix ci):

--8<---------------cut here---------------start------------->8---
(define* (package->alist store package system
                         #:optional (package-derivation package-derivation))
  "Convert PACKAGE to an alist suitable for Hydra."
  (parameterize ((%graft? #f))
    (let ((drv (package-derivation store package system
                                   #:graft? #f)))
      `((derivation . ,(derivation-file-name drv))
        (log . ,(log-file store (derivation-file-name drv)))
        (outputs . ,(filter-map (lambda (res)
                                  (match res
                                    ((name . path)
                                     `(,name . ,path))))
                                (derivation->output-paths drv)))
        (nix-name . ,(derivation-name drv))
        (system . ,(derivation-system drv))
        (description . ,(package-synopsis package))
        (long-description . ,(package-description package))

        ;; XXX: Hydra ignores licenses that are not a <license> structure or a
        ;; list thereof.
        (license . ,(let loop ((license (package-license package)))
                      (match license
                        ((? license?)
                         (license-name license))
                        ((lst ...)
                         (map loop license)))))

        (home-page . ,(package-home-page package))
        (maintainers . ("bug-guix@gnu.org"))
        (max-silent-time . ,(or (assoc-ref (package-properties package)
                                           'max-silent-time)
                                3600))              ;1 hour by default
        (timeout . ,(or (assoc-ref (package-properties package) 'timeout)
                        72000))))))                  ;20 hours by default
--8<---------------cut here---------------end--------------->8---

which led me to believe it was honored.  Perhaps the question of having
Cuirass do per package session should be revisited; it seems useful to
be able to configure this setting per-package rather than globally.

Thank you!

Maxim




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#40887: No substitutes for libreoffice / vigra
  2021-01-13  2:32     ` Maxim Cournoyer
@ 2021-01-13  8:12       ` Mathieu Othacehe
  2021-01-13  8:28         ` Leo Famulari
  2021-01-13 16:13         ` Maxim Cournoyer
  0 siblings, 2 replies; 7+ messages in thread
From: Mathieu Othacehe @ 2021-01-13  8:12 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 40887


Hello,

>> Does Cuirass honor this property? In the past, the timeout and
>> max-silent-time properties were ignored by Cuirass:

Until recently Cuirass didn't honor "max-silent-time" and "timeout"
properties. However, the "wip-offload" branch adds support for those two
properties between other things.

Berlin is running a Cuirass instance based on that branch, so those
properties should now be honored.

Thanks,

Mathieu




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#40887: No substitutes for libreoffice / vigra
  2021-01-13  8:12       ` Mathieu Othacehe
@ 2021-01-13  8:28         ` Leo Famulari
  2021-01-13 16:13         ` Maxim Cournoyer
  1 sibling, 0 replies; 7+ messages in thread
From: Leo Famulari @ 2021-01-13  8:28 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 40887, Maxim Cournoyer

On Wed, Jan 13, 2021 at 09:12:18AM +0100, Mathieu Othacehe wrote:
> 
> Hello,
> 
> >> Does Cuirass honor this property? In the past, the timeout and
> >> max-silent-time properties were ignored by Cuirass:
> 
> Until recently Cuirass didn't honor "max-silent-time" and "timeout"
> properties. However, the "wip-offload" branch adds support for those two
> properties between other things.
> 
> Berlin is running a Cuirass instance based on that branch, so those
> properties should now be honored.

That's great, thanks!




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#40887: No substitutes for libreoffice / vigra
  2021-01-13  8:12       ` Mathieu Othacehe
  2021-01-13  8:28         ` Leo Famulari
@ 2021-01-13 16:13         ` Maxim Cournoyer
  1 sibling, 0 replies; 7+ messages in thread
From: Maxim Cournoyer @ 2021-01-13 16:13 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 40887

Hi Mathieu,

Mathieu Othacehe <othacehe@gnu.org> writes:

> Hello,
>
>>> Does Cuirass honor this property? In the past, the timeout and
>>> max-silent-time properties were ignored by Cuirass:
>
> Until recently Cuirass didn't honor "max-silent-time" and "timeout"
> properties. However, the "wip-offload" branch adds support for those two
> properties between other things.
>
> Berlin is running a Cuirass instance based on that branch, so those
> properties should now be honored.

Thanks for the heads up, and for your work or Cuirass!

Maxim




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-01-13 16:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-26 22:44 bug#40887: No substitutes for libreoffice / vigra Leo Famulari
2021-01-11  4:56 ` Maxim Cournoyer
2021-01-12 22:26   ` Leo Famulari
2021-01-13  2:32     ` Maxim Cournoyer
2021-01-13  8:12       ` Mathieu Othacehe
2021-01-13  8:28         ` Leo Famulari
2021-01-13 16:13         ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).