From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tanguy Le Carrour Subject: Building vdirsyncer.drv fails randomly (problem with Hypothesis test framework) Date: Wed, 29 May 2019 17:48:45 +0200 Message-ID: <20190529154845.lbbch5nkdshxiqzi@melmoth> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([209.51.188.92]:55479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW0pE-0005yl-LS for guix-devel@gnu.org; Wed, 29 May 2019 11:49:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hW0pD-0006Rn-Go for guix-devel@gnu.org; Wed, 29 May 2019 11:49:12 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:42145) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hW0pB-0006C4-HT for guix-devel@gnu.org; Wed, 29 May 2019 11:49:11 -0400 Received: from localhost (89-92-229-106.hfc.dyn.abo.bbox.fr [89.92.229.106]) (Authenticated sender: tanguy@bioneland.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id C1ABA24000D for ; Wed, 29 May 2019 15:48:45 +0000 (UTC) Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Guix 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