build of /gnu/store/xnwy976yzkvxh2virzf2yrhr28c04075-python-matplotlib-3.5.2.drv failed

  • Done
  • quality assurance status badge
Details
2 participants
  • francismb
  • Simon Tournier
Owner
unassigned
Submitted by
francismb
Severity
normal
F
F
francismb wrote on 26 Nov 2023 20:29
(address . bug-guix@gnu.org)
058dda4d-2bbd-4cc6-8ea8-3c8646ad0736@email.de
Dear Maintainers,
On: guix describe
Generation 64 Nov 26 2023 15:12:35 (current)
guix 176440c
branch: master
commit: 176440c056fdde6da98b11720989b1ed060ec97c

An upgrade failed with message:

guix upgrade "gnu*"
The following packages will be upgraded:
gnuplot (dependencies or package changed)
gnuradio (dependencies or package changed)

The following derivations will be built:
/gnu/store/mv1rxv9l18b0dqdlxwbcgp84sbnhqkgd-gnuradio-3.10.3.0.drv
/gnu/store/a2wb5l5nl2sh5071zfwz01c268vin9d8-python-scipy-1.10.1.drv
/gnu/store/xnwy976yzkvxh2virzf2yrhr28c04075-python-matplotlib-3.5.2.drv
/gnu/store/y3jqbsjl7azac5g231qyb2lmfhjbd8hw-python-pyqtgraph-0.13.1.drv

building
/gnu/store/xnwy976yzkvxh2virzf2yrhr28c04075-python-matplotlib-3.5.2.drv...
100% 'check' ?... builder for
`/gnu/store/xnwy976yzkvxh2virzf2yrhr28c04075-python-matplotlib-3.5.2.drv'
failed with exit code 1
build of
/gnu/store/xnwy976yzkvxh2virzf2yrhr28c04075-python-matplotlib-3.5.2.drv
failed
View build log at
'/var/log/guix/drvs/xn/wy976yzkvxh2virzf2yrhr28c04075-python-matplotlib-3.5.2.drv.bz2'.
cannot build derivation
`/gnu/store/mv1rxv9l18b0dqdlxwbcgp84sbnhqkgd-gnuradio-3.10.3.0.drv': 1
dependencies couldn't be built
guix upgrade: error: build of
`/gnu/store/mv1rxv9l18b0dqdlxwbcgp84sbnhqkgd-gnuradio-3.10.3.0.drv' failed


The error seems to be on (see attachment):
[...]
=================================== FAILURES
===================================
_________________________ test_warn_big_data_best_loc
__________________________
[gw2] linux -- Python 3.10.7
/gnu/store/l6fpy0i9hlll9b6k8vy2i2a4cshwz3cv-python-wrapper-3.10.7/bin/python

def test_warn_big_data_best_loc():
fig, ax = plt.subplots()
fig.canvas.draw() # So that we can call draw_artist later.
for idx in range(1000):
ax.plot(np.arange(5000), label=idx)
with rc_context({'legend.loc': 'best'}):
legend = ax.legend()
with pytest.warns(UserWarning) as records:
fig.draw_artist(legend) # Don't bother drawing the lines
-- it's slow.
# The _find_best_position method of Legend is called twice,
duplicating
# the warning message.
> assert len(records) == 2
E assert 1 == 2
E + where 1 = len(WarningsChecker(record=True))

/gnu/store/1jv6qvrxwmh8mf6ykgs5aqrqn859b841-python-matplotlib-3.5.2/lib/python3.10/site-packages/matplotlib/tests/test_legend.py:792:
AssertionError
=========================== short test summary info
============================
FAILED tests/test_legend.py::test_warn_big_data_best_loc - assert 1 == 2
=========== 1 failed, 4977 passed, 2316 skipped, 9 xfailed in 29.09s
===========
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "pytest" arguments: ("-n" "16" "-m"
"not network" "--pyargs" "matplotlib" "-k" "not
test_lazy_auto_backend_selection and not test_getattr") exit-status: 1
term-signal: #f stop-signal: #f>
phase `check' failed after 29.3 seconds
command "pytest" "-n" "16" "-m" "not network" "--pyargs" "matplotlib"
"-k" "not test_lazy_auto_backend_selection and not test_getattr" failed
with status 1
[...]

I hope it helps. Attached the failed build log.

Thanks in advance!
Francis
Attachment: file
S
S
Simon Tournier wrote on 1 Dec 2023 14:40
875y1i9h2v.fsf@gmail.com
Hi,

Thanks for the report.

On Sun, 26 Nov 2023 at 20:29, francismb via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (3 lines)
> Generation 64 Nov 26 2023 15:12:35 (current)
> guix 176440c

[...]

Toggle quote (4 lines)
> build of
> /gnu/store/xnwy976yzkvxh2virzf2yrhr28c04075-python-matplotlib-3.5.2.drv
> failed

The substitutes is available on ci.guix.gnu.org.

Toggle snippet (30 lines)
$ guix time-machine --commit=176440c056fdde6da98b11720989b1ed060ec97c \
-- weather python-matplotlib
computing 1 package derivations for x86_64-linux...
looking for 1 store items on https://ci.guix.gnu.org...
https://ci.guix.gnu.org ?
100.0% substitutes available (1 out of 1)
at least 48.7 MiB of nars (compressed)
59.1 MiB on disk (uncompressed)
0.181 seconds per request (0.2 seconds in total)
5.5 requests per second

at least 1,000 queued builds
aarch64-linux: 992 (99.2%)
powerpc64le-linux: 5 (.5%)
x86_64-linux: 3 (.3%)
build rate: 13.47 builds per hour
x86_64-linux: 9.34 builds per hour
i686-linux: 2.11 builds per hour
powerpc64le-linux: 2.06 builds per hour
aarch64-linux: 0.49 builds per hour
looking for 1 store items on https://bordeaux.guix.gnu.org...
https://bordeaux.guix.gnu.org ?
0.0% substitutes available (0 out of 1)
unknown substitute sizes
0.0 MiB on disk (uncompressed)
0.112 seconds per request (0.1 seconds in total)
8.9 requests per second
'https://bordeaux.guix.gnu.org/api/queue?nr=1000' returned 504 ("Gateway Time-out")

And I cannot reproduce on my machine. One example of such try:

Toggle snippet (8 lines)
$ guix time-machine --commit=176440c056fdde6da98b11720989b1ed060ec97c \
-- build python-matplotlib --no-grafts -d
/gnu/store/xnwy976yzkvxh2virzf2yrhr28c04075-python-matplotlib-3.5.2.drv

$ guix build /gnu/store/xnwy976yzkvxh2virzf2yrhr28c04075-python-matplotlib-3.5.2.drv
/gnu/store/1jv6qvrxwmh8mf6ykgs5aqrqn859b841-python-matplotlib-3.5.2

And, if --check is applied, I get:

guix build: error: derivation `/gnu/store/xnwy976yzkvxh2virzf2yrhr28c04075-python-matplotlib-3.5.2.drv'
may not be deterministic: output `/gnu/store/1jv6qvrxwmh8mf6ykgs5aqrqn859b841-python-matplotlib-3.5.2' differs

which means it builds fine on my machine.

Well, I do not know where the issue could come from.

Cheers,
simon
F
F
francismb wrote on 4 Dec 2023 18:19
(address . 67461@debbugs.gnu.org)
daf4c4ce-975d-4e02-a9f4-d3374d030dd2@email.de
Hi Simon,
I'm currently on:

$ guix describe
Generation 66 Dez 04 2023 10:18:16 (current)
guix 6e2dd51
branch: master
commit: 6e2dd51df5f3f51e9056dd4f2e1b036195ab3caa

Here problem seems to have disappeared. You may want to close the issue.
(on my side I neither have time trying to trace down the cause nor where
to start to search, ... may be something to do with the
non-deterministic message below ? ....)

Thanks for your time
francismb


On 01.12.23 14:40, Simon Tournier wrote:
Toggle quote (70 lines)
> Hi,
>
> Thanks for the report.
>
> On Sun, 26 Nov 2023 at 20:29, francismb via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:
>
>> Generation 64 Nov 26 2023 15:12:35 (current)
>> guix 176440c
>
> [...]
>
>> build of
>> /gnu/store/xnwy976yzkvxh2virzf2yrhr28c04075-python-matplotlib-3.5.2.drv
>> failed
>
> The substitutes is available on ci.guix.gnu.org.
>
> --8<---------------cut here---------------start------------->8---
> $ guix time-machine --commit=176440c056fdde6da98b11720989b1ed060ec97c \
> -- weather python-matplotlib
> computing 1 package derivations for x86_64-linux...
> looking for 1 store items on https://ci.guix.gnu.org...
> https://ci.guix.gnu.org ?
> 100.0% substitutes available (1 out of 1)
> at least 48.7 MiB of nars (compressed)
> 59.1 MiB on disk (uncompressed)
> 0.181 seconds per request (0.2 seconds in total)
> 5.5 requests per second
>
> at least 1,000 queued builds
> aarch64-linux: 992 (99.2%)
> powerpc64le-linux: 5 (.5%)
> x86_64-linux: 3 (.3%)
> build rate: 13.47 builds per hour
> x86_64-linux: 9.34 builds per hour
> i686-linux: 2.11 builds per hour
> powerpc64le-linux: 2.06 builds per hour
> aarch64-linux: 0.49 builds per hour
> looking for 1 store items on https://bordeaux.guix.gnu.org...
> https://bordeaux.guix.gnu.org ?
> 0.0% substitutes available (0 out of 1)
> unknown substitute sizes
> 0.0 MiB on disk (uncompressed)
> 0.112 seconds per request (0.1 seconds in total)
> 8.9 requests per second
> 'https://bordeaux.guix.gnu.org/api/queue?nr=1000' returned 504 ("Gateway Time-out")
> --8<---------------cut here---------------end--------------->8---
>
> And I cannot reproduce on my machine. One example of such try:
>
> --8<---------------cut here---------------start------------->8---
> $ guix time-machine --commit=176440c056fdde6da98b11720989b1ed060ec97c \
> -- build python-matplotlib --no-grafts -d
> /gnu/store/xnwy976yzkvxh2virzf2yrhr28c04075-python-matplotlib-3.5.2.drv
>
> $ guix build /gnu/store/xnwy976yzkvxh2virzf2yrhr28c04075-python-matplotlib-3.5.2.drv
> /gnu/store/1jv6qvrxwmh8mf6ykgs5aqrqn859b841-python-matplotlib-3.5.2
> --8<---------------cut here---------------end--------------->8---
>
> And, if --check is applied, I get:
>
> guix build: error: derivation `/gnu/store/xnwy976yzkvxh2virzf2yrhr28c04075-python-matplotlib-3.5.2.drv'
> may not be deterministic: output `/gnu/store/1jv6qvrxwmh8mf6ykgs5aqrqn859b841-python-matplotlib-3.5.2' differs
>
> which means it builds fine on my machine.
>
> Well, I do not know where the issue could come from.
>
> Cheers,
> simon
S
S
Simon Tournier wrote on 12 Jan 17:19 +0100
87r0imv81s.fsf@gmail.com
Hi,

On Mon, 04 Dec 2023 at 18:19, francismb via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (5 lines)
> Here problem seems to have disappeared. You may want to close the issue.
> (on my side I neither have time trying to trace down the cause nor where
> to start to search, ... may be something to do with the
> non-deterministic message below ? ....)

Thanks. So I am closing. Feel free to reopen if you have more details
about the failure.

Cheers,
simon
Closed
?