build of /gnu/store/xjfs44qvk7rry6nbrbrd18irxdiycs2f-python-matplotlib-3.8.2.drv failed

  • Open
  • quality assurance status badge
Details
2 participants
  • francismb
  • Simon Tournier
Owner
unassigned
Submitted by
francismb
Severity
normal
F
F
francismb wrote on 31 May 10:33 +0200
(address . bug-guix@gnu.org)
b214f8b0-dc18-4077-ae92-4c9b6c82c554@email.de
Dear Maintainers,
guix upgrade failed with:
[...]
building
/gnu/store/xjfs44qvk7rry6nbrbrd18irxdiycs2f-python-matplotlib-3.8.2.drv...
100% 'check'
?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????builder
for
`/gnu/store/xjfs44qvk7rry6nbrbrd18irxdiycs2f-python-matplotlib-3.8.2.drv'
failed with exit code 1
build of
/gnu/store/xjfs44qvk7rry6nbrbrd18irxdiycs2f-python-matplotlib-3.8.2.drv
failed
View build log at
'/var/log/guix/drvs/xj/fs44qvk7rry6nbrbrd18irxdiycs2f-python-matplotlib-3.8.2.drv.bz2'.
guix upgrade: error: build of
`/gnu/store/xjfs44qvk7rry6nbrbrd18irxdiycs2f-python-matplotlib-3.8.2.drv'
failed
[...]
=================================== FAILURES
===================================
_________________________ test_warn_big_data_best_loc
__________________________
[gw13] linux -- Python 3.10.7
/gnu/store/jh59fh48mcffyz5wmsjj0p96xkkflbz0-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/1ngk3nn61g4p64ym7p5fd3nkgrig5iba-python-matplotlib-3.8.2/lib/python3.10/site-packages/matplotlib/tests/test_legend.py:1146:
AssertionError
=========================== short test summary info
============================
FAILED tests/test_legend.py::test_warn_big_data_best_loc - assert 1 == 2
=========== 1 failed, 5622 passed, 2644 skipped, 9 xfailed in 30.86s
===========
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "pytest" arguments: ("-n" "16"
"--pyargs" "matplotlib" "-m" "not network" "-k" "not
test_figure_legend_outside and not test_lazy_auto_backend_selection")
exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 31.1 seconds
command "pytest" "-n" "16" "--pyargs" "matplotlib" "-m" "not network"
"-k" "not test_figure_legend_outside and not
test_lazy_auto_backend_selection" failed with status 1
$ guix describe
Generation 114 Mai 31 2024 10:14:09 (current)
guix 01de171
branch: master
commit: 01de17143c4830926af6f00f5233d1ba32d7038d
I hope it helps and thanks in advance
Francis
Attachment: file
F
F
francismb wrote on 1 Jun 12:15 +0200
Re: bug#71286: Acknowledgement (build of /gnu/store/xjfs44qvk7rry6nbrbrd18irxdiycs2f-python-matplotlib-3.8.2.drv failed)
(address . 71286@debbugs.gnu.org)
62015b80-6c1e-45cf-9baa-f319d91fd9af@email.de
Dear Maintainers,
I've updated the profile and tried again:

$ guix package --upgrade python-matplotlib
The following package will be upgraded:
python-matplotlib (dependencies or package changed)

The following derivation will be built:
/gnu/store/xjfs44qvk7rry6nbrbrd18irxdiycs2f-python-matplotlib-3.8.2.drv

building
/gnu/store/xjfs44qvk7rry6nbrbrd18irxdiycs2f-python-matplotlib-3.8.2.drv...
The following derivation will be built:
/gnu/store/hjnd84f6kg8m1rk7y6ixbqkgwbshjqq3-profile.drv

applying 3 grafts for python-contourpy-1.1.1 ...
applying 6 grafts for python-matplotlib-3.8.2 ...
applying 11 grafts for python-numpy-1.23.2 ...
applying 10 grafts for python-pillow-9.2.0 ...
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
generating GdkPixbuf loaders cache...
generating GLib schema cache...
creating GTK+ icon theme cache...
building cache files for GTK+ input methods...
building directory of Info manuals...
building XDG desktop file cache...
building XDG MIME database...
building profile with 138 packages...

$ guix describe
Generation 115 Jun 01 2024 11:36:54 (current)
guix fba6896
branch: master
commit: fba6896f625dcbeef112387fc90abe83acae1720

the failure is gone (same hash, flaky test(s)?).

Thanks in advance
Francis


On 31.05.24 10:34, GNU bug Tracking System wrote:
Toggle quote (17 lines)
> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
> bug-guix@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 71286@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
S
S
Simon Tournier wrote on 4 Jun 19:42 +0200
87ed9cy593.fsf@gmail.com
Hi,

On Sat, 01 Jun 2024 at 12:15, francismb via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (2 lines)
> the failure is gone (same hash, flaky test(s)?).

Well, I do not where the issue could come from. I am not able to
reproduce.

Closing?

Cheers,
simon
F
F
francismb wrote on 10 Jun 22:10 +0200
0a46ad42-d557-4fd6-9b78-5b5c769b85e9@email.de
Hi Simon,
Toggle quote (6 lines)
>> the failure is gone (same hash, flaky test(s)?).
>
> Well, I do not where the issue could come from. I am not able to
> reproduce.
>
> Closing?
Ok, please close, it's at least documented and Time will tell.

Regards,
Francis
?
Your comment

Commenting via the web interface is currently disabled.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 71286
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