From patchwork Wed Mar 20 22:27:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 62058 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AF2BD27BBEB; Wed, 20 Mar 2024 22:32:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 45D3227BBE2 for ; Wed, 20 Mar 2024 22:32:09 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rn4SB-0000k9-0k; Wed, 20 Mar 2024 18:30:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rn4S9-0000gD-1t for guix-patches@gnu.org; Wed, 20 Mar 2024 18:30:33 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rn4S8-0005jK-P2; Wed, 20 Mar 2024 18:30:32 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rn4Si-0005cv-9W; Wed, 20 Mar 2024 18:31:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69924] [PATCH 12/49] gnu: python-distributed: Speed up tests. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Wed, 20 Mar 2024 22:31:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69924 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69924@debbugs.gnu.org Cc: Sharlatan Hellseher , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 69924-submit@debbugs.gnu.org id=B69924.171097385021264 (code B ref 69924); Wed, 20 Mar 2024 22:31:08 +0000 Received: (at 69924) by debbugs.gnu.org; 20 Mar 2024 22:30:50 +0000 Received: from localhost ([127.0.0.1]:36338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rn4SP-0005Wh-IZ for submit@debbugs.gnu.org; Wed, 20 Mar 2024 18:30:50 -0400 Received: from mail-wm1-f51.google.com ([209.85.128.51]:46365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rn4SB-0005Si-L5 for 69924@debbugs.gnu.org; Wed, 20 Mar 2024 18:30:36 -0400 Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4140aadfe2eso2275175e9.1 for <69924@debbugs.gnu.org>; Wed, 20 Mar 2024 15:29:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710973730; x=1711578530; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FyXEf9vKUJKg2zTfwYvKwp7sseJnQhQsswsrWJHwd2E=; b=DrLvnv9YbfzL8k/IfelygSpOkyKkT9VLKflEDCD4NmX1ByS9jD+n83xZy4H4x/lQD5 xc+mddU+U8V/Rs9J179JcuQMxPLlJraTUP14P2KWkDW0Qab2qGRCAQtWlsoTz+fl9X4O AKq4E7gyhnyvkLmphS8Egjez5v1U+XeVIx8sFhBkZO/+WLahqu5fRO3VEY/yg7n0oToE 0CHvEBd1kb6JNQFo2OFIoGS7Pq8zluDUqFe5/b5NLnqueIinRCn1bUrxRD6rnxGnqTby eVcBjOtL9BtMu7u7JuRkGYdvmbkMTsqNOVgyEw7PDtzC7Ff1kvEY++1QeWtwRHrFXX8H ZsmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710973730; x=1711578530; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FyXEf9vKUJKg2zTfwYvKwp7sseJnQhQsswsrWJHwd2E=; b=FruVOSOv2ZnNg5PpSpST03Kg6jLDgiAEa9DknOWakVFrD+u8qi5PXt9q2GpFdixs6Y 5yqHCyQ/7OyjTT65t8qaMyO2PXXVpTG83NTHnET1lb6BnFUkwwdOQeUS/CSsEwyu9vgN 1yAMgVrw3P35zfO6CKP2O4Y+mT/SaQWC8H12JAB9CSnylUl+DYhbRzU7BUvcI0GbcAwt 1CFu7nR6wuST9T4hEByOTd/wQYAeu2OJAGWVE+6idQs+BG6ODARyg81nrZ9jwTtDTfa0 ICDFnsPIeS5APAOhLXbP3aXuMR4Zj+9iQLKKd0ptAEjGiVp2kl0u8faKWTPhAUFCsmUA eiLw== X-Gm-Message-State: AOJu0Yyd+71IQiibnpxHvepMJmgVeoRBe682tjPwbBgqNBOnjO9aaj35 FAd8TPdAbBeCMnY0D4FhlVQNpdR2DWMerv8MDJ43cDJPigETeF+kQy7yfrjmtT0= X-Google-Smtp-Source: AGHT+IGwRohFOCzGtSX6Y1Xh6PTlh4f5rifuK3iIqOPmzjY/E+SUu7Kws7yk/R5l++KCrFl3DNR8rw== X-Received: by 2002:a05:600c:468d:b0:414:68fa:db72 with SMTP id p13-20020a05600c468d00b0041468fadb72mr3506890wmo.3.1710973730291; Wed, 20 Mar 2024 15:28:50 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id fm22-20020a05600c0c1600b004147266a37dsm543921wmb.30.2024.03.20.15.28.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 15:28:49 -0700 (PDT) From: Sharlatan Hellseher Date: Wed, 20 Mar 2024 22:27:42 +0000 Message-ID: <4546c2bbc8284fb32279ef5d02c3bf692ad9de7a.1710967273.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-science.scm (python-distributed) [arguments] <#:test-flags>: Add option to run tests in parallel. Disable 3 more flaky tests. [native-inputs]: Add python-pytest-xdist. Sort alphabetically. Change-Id: I588c1a1dc82e3208cc1eeeefbdc58fb080775ac0 --- gnu/packages/python-science.scm | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index b6a116f16b..a01c68cbc3 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -23,6 +23,7 @@ ;;; Copyright © 2022 Antero Mejr ;;; Copyright © 2022 jgart ;;; Copyright © 2023, 2024 Troy Figiel +;;; Copyright © 2024 Sharlatan Hellseher ;;; ;;; This file is part of GNU Guix. ;;; @@ -1688,7 +1689,8 @@ (define-public python-distributed (arguments (list #:test-flags - '(list "-x" "-m" + '(list "-n" "auto" + "-x" "-m" (string-append "not slow" " and not flaky" " and not gpu" @@ -1814,7 +1816,10 @@ (define-public python-distributed ;; These tests are rather flaky " and not test_quiet_quit_when_cluster_leaves" " and not multiple_clients_restart" - " and not test_steal_twice")) + " and not test_steal_twice" + " and not test_task_groups_update_start_stop" + " and not test_web_preload" + " and not test_web_preload_worker")) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'versioneer @@ -1889,10 +1894,11 @@ (define-public python-distributed python-urllib3 python-zict)) (native-inputs - (list python-importlib-metadata + (list python-flaky + python-importlib-metadata python-pytest python-pytest-timeout - python-flaky + python-pytest-xdist python-versioneer)) (home-page "https://distributed.dask.org") (synopsis "Distributed scheduler for Dask")