From: Tanguy Le Carrour <tanguy@bioneland.org>
To: Guix <guix-devel@gnu.org>
Subject: Building vdirsyncer.drv fails randomly (problem with Hypothesis test framework)
Date: Wed, 29 May 2019 17:48:45 +0200 [thread overview]
Message-ID: <20190529154845.lbbch5nkdshxiqzi@melmoth> (raw)
Dear Guix,
When I run `guix package -i vdirsyncer` or `guix package -u` (if vdirsyncer is
in my profile), it randomly fails. This has happened to me several times already.
Here is a part of the log:
============================= test session starts ==============================
platform linux -- Python 3.7.0, pytest-3.8.0, py-1.5.4, pluggy-0.7.1
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/guix-build-vdirsyncer-0.16.7.drv-0/vdirs
yncer-0.16.7/.hypothesis/examples')
rootdir: /tmp/guix-build-vdirsyncer-0.16.7.drv-0/vdirsyncer-0.16.7, inifile: setup.cfg
plugins: hypothesis-3.70.3, localserver-0.5.0, subtesthack-0.1.1
collected 486 items
tests/storage/test_filesystem.py ....................................... [ 8%]
.......sss......ss....... [ 13%]
tests/storage/test_http.py ..... [ 14%]
tests/storage/test_http_with_singlefile.py ............................. [ 20%]
.........sssssss....sssss.ss [ 25%]
tests/storage/test_memory.py ......................................sssss [ 34%]
ss....sss...ss [ 37%]
tests/storage/test_singlefile.py ....................................... [ 45%]
.............ss.ss [ 49%]
tests/storage/dav/test_caldav.py sssssssssssssssssssssssssssssssssssssss [ 57%]
sssssssssssssss [ 60%]
tests/storage/dav/test_carddav.py ssssssssssssssssssssssssss [ 65%]
tests/storage/dav/test_main.py ................................. [ 72%]
tests/system/cli/test_config.py ......... [ 74%]
tests/system/cli/test_discover.py ..... [ 75%]
tests/system/cli/test_fetchparams.py . [ 75%]
tests/system/cli/test_repair.py ..... [ 76%]
tests/system/cli/test_sync.py .................... [ 80%]
tests/system/cli/test_utils.py .. [ 81%]
tests/system/utils/test_main.py ..... [ 82%]
tests/unit/test_exceptions.py . [ 82%]
tests/unit/test_metasync.py ........F [ 84%]
tests/unit/test_repair.py .......... [ 86%]
tests/unit/cli/test_config.py . [ 86%]
tests/unit/cli/test_discover.py ...... [ 87%]
tests/unit/cli/test_fetchparams.py ......... [ 89%]
tests/unit/sync/test_status.py . [ 89%]
tests/unit/sync/test_sync.py ............................... [ 96%]
tests/unit/utils/test_vobject.py .................. [100%]
=================================== FAILURES ===================================
_________________________________ test_fuzzing _________________________________
tests/unit/test_metasync.py:129: in test_fuzzing
a=metadata, b=metadata,
E hypothesis.errors.FailedHealthCheck: Data generation is extremely slow:
Only produced 9 valid examples in 1.08 seconds (4 invalid ones and
0 exceeded maximum size). Try decreasing size of the data you're generating
(with e.g.max_size or max_leaves parameters).
E See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for
more information about this. If you want to disable just this health check,
add HealthCheck.too_slow to the suppress_health_check settings for this test.
I guess a solution would be to do as they say and deactivate part of the
tests!
What do you guys think?!
--
Tanguy
reply other threads:[~2019-05-29 15:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190529154845.lbbch5nkdshxiqzi@melmoth \
--to=tanguy@bioneland.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.