* [PATCH] gnu: gdk-pixbuf: Disable pixbuf-scale test.
@ 2016-02-02 21:25 Jookia
2016-02-06 15:17 ` Andreas Enge
2016-02-07 20:06 ` Ludovic Courtès
0 siblings, 2 replies; 10+ messages in thread
From: Jookia @ 2016-02-02 21:25 UTC (permalink / raw)
To: guix-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1311 bytes --]
On systems with little ram (2G in my case) the pixbuf-scale test will either
freeze the system of cause excessive swapping without the test every completing.
* gnu/packages/gtk.scm (gdk-pixbuf): Don't run 'pixbuf-scale' test.
---
gnu/packages/gtk.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 916873b..021ee00 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015 Andy Wingo <wingo@igalia.com>
;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
+;;; Copyright © 2016 Jookia <166291@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -407,6 +408,8 @@ highlighting and other features typical of a source code editor.")
;; SKIP Not enough memory to load bitmap image
;; ERROR: cve-2015-4491 - too few tests run (expected 4, got 2)
(("cve-2015-4491\\$\\(EXEEXT\\) ") "")
+ ;; XXX FIXME: This test can crash systems with little RAM.
+ (("pixbuf-scale\\$\\(EXEEXT\\) ") "")
;; XXX FIXME: This test fails with:
;; ERROR:pixbuf-jpeg.c:74:test_type9_rotation_exif_tag:
;; assertion failed (error == NULL): Data differ
--
2.7.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH] gnu: gdk-pixbuf: Disable pixbuf-scale test.
2016-02-02 21:25 [PATCH] gnu: gdk-pixbuf: Disable pixbuf-scale test Jookia
@ 2016-02-06 15:17 ` Andreas Enge
2016-02-06 20:56 ` Leo Famulari
2016-02-06 21:04 ` Jookia
2016-02-07 20:06 ` Ludovic Courtès
1 sibling, 2 replies; 10+ messages in thread
From: Andreas Enge @ 2016-02-06 15:17 UTC (permalink / raw)
To: Jookia; +Cc: guix-devel
On Tue, Feb 02, 2016 at 09:25:41PM +0000, Jookia wrote:
> On systems with little ram (2G in my case) the pixbuf-scale test will either
> freeze the system of cause excessive swapping without the test every completing.
The patch looks good to me, but it would be nice to have another opinion.
In any case, it should probably be applied once we have a bit more build
power, since it causes substantial package rebuilds.
Andreas
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] gnu: gdk-pixbuf: Disable pixbuf-scale test.
2016-02-06 15:17 ` Andreas Enge
@ 2016-02-06 20:56 ` Leo Famulari
2016-02-07 11:15 ` Andreas Enge
2016-02-06 21:04 ` Jookia
1 sibling, 1 reply; 10+ messages in thread
From: Leo Famulari @ 2016-02-06 20:56 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
On Sat, Feb 06, 2016 at 04:17:49PM +0100, Andreas Enge wrote:
> On Tue, Feb 02, 2016 at 09:25:41PM +0000, Jookia wrote:
> > On systems with little ram (2G in my case) the pixbuf-scale test will either
> > freeze the system of cause excessive swapping without the test every completing.
>
> The patch looks good to me, but it would be nice to have another opinion.
I would like another option besides disabling the test unconditionally.
We already have several packages that can simply not be built on
hardware like Jookia's, and although it's an unfortunate situation, I
don't think we should start disabling tests for the substitutes we build
for this reason. Running all the tests possible allows us to provide
valuable feedback to upstream.
How about a comment in the package definition describing the RAM
requirement and how to disable the test, so that users on less powerful
hardware can make the change themselves?
>
> In any case, it should probably be applied once we have a bit more build
> power, since it causes substantial package rebuilds.
>
> Andreas
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] gnu: gdk-pixbuf: Disable pixbuf-scale test.
2016-02-06 15:17 ` Andreas Enge
2016-02-06 20:56 ` Leo Famulari
@ 2016-02-06 21:04 ` Jookia
2016-02-06 22:24 ` Leo Famulari
1 sibling, 1 reply; 10+ messages in thread
From: Jookia @ 2016-02-06 21:04 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
On Sat, Feb 06, 2016 at 04:17:49PM +0100, Andreas Enge wrote:
> On Tue, Feb 02, 2016 at 09:25:41PM +0000, Jookia wrote:
> > On systems with little ram (2G in my case) the pixbuf-scale test will either
> > freeze the system of cause excessive swapping without the test every completing.
>
> The patch looks good to me, but it would be nice to have another opinion.
>
> In any case, it should probably be applied once we have a bit more build
> power, since it causes substantial package rebuilds.
>
Perhaps substantial package rebuild patches should be grouped in to a staging
branch? This would also help those that do their own builds (I'm biased.)
> Andreas
Jookia
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] gnu: gdk-pixbuf: Disable pixbuf-scale test.
2016-02-06 21:04 ` Jookia
@ 2016-02-06 22:24 ` Leo Famulari
0 siblings, 0 replies; 10+ messages in thread
From: Leo Famulari @ 2016-02-06 22:24 UTC (permalink / raw)
To: Jookia; +Cc: guix-devel
On Sun, Feb 07, 2016 at 08:04:39AM +1100, Jookia wrote:
> On Sat, Feb 06, 2016 at 04:17:49PM +0100, Andreas Enge wrote:
> > On Tue, Feb 02, 2016 at 09:25:41PM +0000, Jookia wrote:
> > > On systems with little ram (2G in my case) the pixbuf-scale test will either
> > > freeze the system of cause excessive swapping without the test every completing.
> >
> > The patch looks good to me, but it would be nice to have another opinion.
> >
> > In any case, it should probably be applied once we have a bit more build
> > power, since it causes substantial package rebuilds.
> >
>
> Perhaps substantial package rebuild patches should be grouped in to a staging
> branch? This would also help those that do their own builds (I'm biased.)
If I understand your suggestion correctly, we already do this.
When we need to update a core package like glibc that will cause mass
rebuilds, we put the change in another branch, and build that branch.
Once it is built, we merge the branch into master. That way, the binary
substitutes are already built when users start requesting them.
Sorry if that is not totally accurate. I am sure someone will correct me
in that case :)
>
> > Andreas
>
> Jookia
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] gnu: gdk-pixbuf: Disable pixbuf-scale test.
2016-02-06 20:56 ` Leo Famulari
@ 2016-02-07 11:15 ` Andreas Enge
2016-02-07 11:27 ` Jookia
2016-02-07 21:17 ` Leo Famulari
0 siblings, 2 replies; 10+ messages in thread
From: Andreas Enge @ 2016-02-07 11:15 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel
On Sat, Feb 06, 2016 at 03:56:24PM -0500, Leo Famulari wrote:
> I would like another option besides disabling the test unconditionally.
> We already have several packages that can simply not be built on
> hardware like Jookia's, and although it's an unfortunate situation, I
> don't think we should start disabling tests for the substitutes we build
> for this reason. Running all the tests possible allows us to provide
> valuable feedback to upstream.
I basically agree with your comment, which is also in line with our policy
of following upstream as closely as possible when building packages.
On the other hand, a simple unit test that requires 2GB of memory seems a bit
excessive to me and could be considered a bug in the upstream package.
How about reporting a bug upstream, Jookia? And maybe disable the test
in the package with a comment linking to the bug report?
Andreas
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] gnu: gdk-pixbuf: Disable pixbuf-scale test.
2016-02-07 11:15 ` Andreas Enge
@ 2016-02-07 11:27 ` Jookia
2016-02-07 21:17 ` Leo Famulari
1 sibling, 0 replies; 10+ messages in thread
From: Jookia @ 2016-02-07 11:27 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
On Sun, Feb 07, 2016 at 12:15:37PM +0100, Andreas Enge wrote:
> I basically agree with your comment, which is also in line with our policy
> of following upstream as closely as possible when building packages.
> On the other hand, a simple unit test that requires 2GB of memory seems a bit
> excessive to me and could be considered a bug in the upstream package.
> How about reporting a bug upstream, Jookia? And maybe disable the test
> in the package with a comment linking to the bug report?
Sure, I'm down for this. I'll see what I can do this week if not tomorrow.
> Andreas
Jookia.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] gnu: gdk-pixbuf: Disable pixbuf-scale test.
2016-02-02 21:25 [PATCH] gnu: gdk-pixbuf: Disable pixbuf-scale test Jookia
2016-02-06 15:17 ` Andreas Enge
@ 2016-02-07 20:06 ` Ludovic Courtès
2016-02-07 21:59 ` Jookia
1 sibling, 1 reply; 10+ messages in thread
From: Ludovic Courtès @ 2016-02-07 20:06 UTC (permalink / raw)
To: Jookia; +Cc: guix-devel
Jookia <166291@gmail.com> skribis:
> On systems with little ram (2G in my case) the pixbuf-scale test will either
> freeze the system of cause excessive swapping without the test every completing.
Out of curiosity, did you check how the test manages to achieve this
level or memory greediness?
Ludo’.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] gnu: gdk-pixbuf: Disable pixbuf-scale test.
2016-02-07 11:15 ` Andreas Enge
2016-02-07 11:27 ` Jookia
@ 2016-02-07 21:17 ` Leo Famulari
1 sibling, 0 replies; 10+ messages in thread
From: Leo Famulari @ 2016-02-07 21:17 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
On Sun, Feb 07, 2016 at 12:15:37PM +0100, Andreas Enge wrote:
> On Sat, Feb 06, 2016 at 03:56:24PM -0500, Leo Famulari wrote:
> > I would like another option besides disabling the test unconditionally.
> > We already have several packages that can simply not be built on
> > hardware like Jookia's, and although it's an unfortunate situation, I
> > don't think we should start disabling tests for the substitutes we build
> > for this reason. Running all the tests possible allows us to provide
> > valuable feedback to upstream.
>
> I basically agree with your comment, which is also in line with our policy
> of following upstream as closely as possible when building packages.
> On the other hand, a simple unit test that requires 2GB of memory seems a bit
> excessive to me and could be considered a bug in the upstream package.
> How about reporting a bug upstream, Jookia? And maybe disable the test
> in the package with a comment linking to the bug report?
True, depending on the nature of the software it could be considered a
bug. There are some programs, like compression algorithm
implementations, where I think such tests can be appropriate, however.
>
> Andreas
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] gnu: gdk-pixbuf: Disable pixbuf-scale test.
2016-02-07 20:06 ` Ludovic Courtès
@ 2016-02-07 21:59 ` Jookia
0 siblings, 0 replies; 10+ messages in thread
From: Jookia @ 2016-02-07 21:59 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
On Sun, Feb 07, 2016 at 09:06:20PM +0100, Ludovic Courtès wrote:
> Jookia <166291@gmail.com> skribis:
>
> > On systems with little ram (2G in my case) the pixbuf-scale test will either
> > freeze the system of cause excessive swapping without the test every completing.
>
> Out of curiosity, did you check how the test manages to achieve this
> level or memory greediness?
I hadn't dug in to the code any further than I should've as I was unable to run
the test suite outside the automatic guix builder, meaning any change I made to
test the tests would require me rebuilding the entire package.
> Ludo’.
Jookia.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2016-02-07 22:12 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-02 21:25 [PATCH] gnu: gdk-pixbuf: Disable pixbuf-scale test Jookia
2016-02-06 15:17 ` Andreas Enge
2016-02-06 20:56 ` Leo Famulari
2016-02-07 11:15 ` Andreas Enge
2016-02-07 11:27 ` Jookia
2016-02-07 21:17 ` Leo Famulari
2016-02-06 21:04 ` Jookia
2016-02-06 22:24 ` Leo Famulari
2016-02-07 20:06 ` Ludovic Courtès
2016-02-07 21:59 ` Jookia
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.