From patchwork Sat May 22 20:40:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 29509 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 821BA27BC81; Sat, 22 May 2021 21:42:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0015F27BC78 for ; Sat, 22 May 2021 21:42:13 +0100 (BST) Received: from localhost ([::1]:46444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkYRo-0008OH-6F for patchwork@mira.cbaines.net; Sat, 22 May 2021 16:42:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkYRe-0008O8-JL for guix-patches@gnu.org; Sat, 22 May 2021 16:42:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56832) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lkYRe-0004ox-9G for guix-patches@gnu.org; Sat, 22 May 2021 16:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lkYRe-0002nD-7B for guix-patches@gnu.org; Sat, 22 May 2021 16:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48593] [PATCH]: gnu: cl-portable-threads: Enable tests Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 22 May 2021 20:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48593 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48593@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162171606110653 (code B ref -1); Sat, 22 May 2021 20:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 May 2021 20:41:01 +0000 Received: from localhost ([127.0.0.1]:40145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lkYQf-0002lX-71 for submit@debbugs.gnu.org; Sat, 22 May 2021 16:41:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:33948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lkYQc-0002lP-Gb for submit@debbugs.gnu.org; Sat, 22 May 2021 16:41:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkYQc-0008Lb-98 for guix-patches@gnu.org; Sat, 22 May 2021 16:40:58 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:37792) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lkYQa-0004Sh-03 for guix-patches@gnu.org; Sat, 22 May 2021 16:40:58 -0400 Received: by mail-wr1-x429.google.com with SMTP id q5so24377815wrs.4 for ; Sat, 22 May 2021 13:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=CBfRyoeVQatXMrujQ28SM6UVPBBsqxJLzo8g6GkZAX4=; b=mrDbw+gKlpQdi6f393Fll1/lf3IhW3OKph0TMoqsBNi4uZjbuZzc5RaEdxBdKA6+0o dM2bA/TaRltWn/a6e0rF4j4jTpYyieTOHadvZTDRK0oGH1/2tPJQTh1loYDqs3pjIygX LNr9ItqQl5S5xL5R5IZCAHzNvy74DR/ne1/TDickU6qRSAfqgnOdRzNgDRzgJOGlKTtD Z/e6t8tMemSDUxhJySUcRlK+ua/xQAnFrBEvGuczl+BCihEuVMA1Q+PbnwZfJFnCXCyi 4DUeXDYb7cmhK28mf/mWhivDZTa75WeNjp6RPYPGZyLKA3xu0XUG9RlGVtKVjT7YaiUR xIyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=CBfRyoeVQatXMrujQ28SM6UVPBBsqxJLzo8g6GkZAX4=; b=C2CY4GeaV8iTQmi5MhujFO6xx/PKnV1dhERQ9PJT2Yv2q4k0dSP00fbjRjq4iRsVa8 uMQQIASaYAczYG58YAkr1TvlvRSTXiLglJNCKZFLw5DlhXzvE02WA8qSE1K2oc11c9HD SOTaUB7YdHQY1C93ALfYvKdLnuGxg3/BqMi/FCT20USHE6VM2YzldYdMmohHtXISgRWK 94z4yArTx62DozsF8MTOo6EURZVkqPeTsHhaJcF6EiU2FaLkKA/TDeuVnCB4HSH8Yy6m lyZG38qcBsPW4a1sPn6Iemp4//i/4SO0b5fNlMOS2ebY0d5eKwVB7R2CDCaFKaoDpK3C vMtA== X-Gm-Message-State: AOAM5301QY3ff049Go7tHQnODnEtbDHw9FwXLw8nNIRFcxAwzy2Hp6BB 41Afo9GJp6JTautsElVgngSRx0YAvYaZstBFgVKB4cMv X-Google-Smtp-Source: ABdhPJya+WfqmJH9cBJim85/rdUSrNaMK2BgnxV21oKqlI2jAQphg0qsa/4uZEsrJ+iytHvFeF4bpVxDxZNMhdwbuqk= X-Received: by 2002:adf:f50e:: with SMTP id q14mr15353932wro.408.1621716054363; Sat, 22 May 2021 13:40:54 -0700 (PDT) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Sat, 22 May 2021 20:40:42 +0000 Message-ID: Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-getmail-retrieved-from-mailbox: Patches Hi Guix team! I've enabled test and build the package and it looks ok for me, I am not sure of the reason why it was disabled --8<---------------cut here---------------start------------->8--- ;; Starting portable threads tests... ;; Performing basic lock tests... ;; Timing 1,000,000 nonrecursive-lock acquisitions... 0.04 seconds ;; Timing 1,000,000 recursive-lock acquisitions... 0.05 seconds ;; Timing 1,000,000 condition-variable lock acquisitions... 0.05 seconds ;; Timing 1,000,000 nested nonrecursive-lock acquisitions... 0.08 seconds ;; Timing 1,000,000 nested recursive-lock acquisitions... 0.06 seconds ;; Checking with a non-lock object... ;; Testing recursive locking with a recursive lock... ;; Checking recursive locking with a non-recursive lock... ;; Testing WITH-LOCK-HELD returned values... ;; Testing WITH/WITHOUT-LOCK-HELD forms and throws... ;; Completed basic lock tests (0.29 seconds real time). ;; Testing atomic-incf/decf... ;; Completed atomic-incf/decf test ;; Testing atomic-incf&/decf&... ;; Completed atomic-incf&/decf& test ;; Performing WITH-TIMEOUT tests... ;; Completed WITH-TIMEOUT tests ;; Performing basic thread tests... ;; Timing (sleep 0), run time should be close to zero seconds... 0.00 seconds ;; Timing (sleep 10), run time should also be close to zero seconds... 0.00 seconds ;; Timing 100,000 (sleep 0)s... 0.09 seconds ;; Timing 100,000 throwable (sleep 0)s... 0.10 seconds ;; Completed basic thread tests (20.76 seconds real time). ;; Performing nonrecursive lock contention tests... ;; Completed nonrecursive lock contention tests ;; Performing recursive lock contention tests... ;; Completed recursive lock contention tests ;; Performing nonrecursive-lock WITHOUT-LOCK-HELD contention tests... ;; Completed nonrecursive-lock WITHOUT-LOCK-HELD contention tests ;; Performing recursive-lock WITHOUT-LOCK-HELD contention tests... ;; Completed recursive-lock WITHOUT-LOCK-HELD contention tests ;; Performing condition-variable wait & signal tests... ;; Also waiting on CV... ;; Waiting on CV... ;; Signaling CV... ;; Also continuing on CV... ;; Re-signaling CV... ;; Continuing on CV... ;; Completed condition-variable wait & signal tests ;; Performing condition-variable wait & broadcast tests... ;; Waiting on broadcast CV... ;; Also waiting on broadcast CV... ;; Signaling CV to all... ;; Also continuing on broadcast CV... ;; Completed condition-variable wait & broadcast tests ;; Performing condition-variable-wait-with-timeout (non-timeout) tests... ;; Continuing on broadcast CV... ;; Also waiting-with-timeout on CV... ;; Also waiting-with-timeout on CV... ;; Waiting-with-timeout on CV... ;; Signaling waiting-with-timeout CV... ;; Continuing on waiting-with-timout CV... ;; Completed condition-variable wait-with-timeout (non-timeout) tests ;; Performing condition-variable wait-with-timeout (timeout) tests... ;; Waiting-with-timeout (forever) on CV... ;; Re-signaling waiting-with-timeout CV... ;; Also continuing on waiting-with-timeout CV... ;; ************************************************************************* ;; *** PORTABLE-THREADS:CONDITION-VARIABLE-WAIT-WITH-TIMEOUT did not return nil on timeout ;; ************************************************************************* ;; Continuing without CV... ;; Completed condition-variable wait-with-timeout (timeout) tests ;; Performing hibernate/awaken thread tests... ;; Hibernate ready signal received. ;; Hibernating... ;; Awakening thread... ;; Awakened ;; Waiting on proceed message... ;; Awake signal received, signaling proceed. ;; Waiting for rehibernate signal... ;; Proceed signal received, signaling rehibernate. ;; Rehibernating... ;; Rehibernate ready signal received. ;; Trying symbol-value-in-thread on hibernating thread... ;; Re-awakening thread... ;; Re-awakened ;; Trying WITH-TIMEOUT on a hibernating thread... ;; Completed hibernate/awaken thread tests ;; Performing symbol-value-in-thread tests... ;; Binding thread hibernating... ;; Binding thread awakened. ;; Completed symbol-value-in-thread tests ;; Checking for unreclaimed threads... ;; Performing thread timing tests... ;; Timing 10,000 spawn-threads... 0.18 seconds ;; Timing 10,000 spawn and die threads... 0.18 seconds ;; Completed thread timing tests (0.65 seconds real time). ;; Performing condition-variable timing tests... ;; Timing 10,000 condition-variable wait & signals... 0.03 seconds ;; Completed condition-variable wait & signal timing test ;; (0.02 seconds real time). ;; Timing 10,000 condition-variable wait & broadcasts... 0.02 seconds ;; Completed condition-variable wait & broadcast timing test ;; (0.02 seconds real time). ;; Completed condition-variable timing tests ;; Completed portable threads tests (33.16 seconds real time). ; ; compilation unit finished ; printed 1 note --8<---------------cut here---------------start------------->8--- There is only one reported issue upstream, which is resolved https://github.com/binghe/portable-threads/issues/2 From 118b36be60187b02d1b90b67a0104b3322a0471e Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 22 May 2021 21:34:52 +0100 Subject: [PATCH] gnu: cl-portable-threads: Enable tests --- gnu/packages/lisp-xyz.scm | 3 --- 1 file changed, 3 deletions(-) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 5355c21678..f85693886c 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -3665,9 +3665,6 @@ portability, and boilerplate reduction in CSS.") (sha256 (base32 "058ksi07vfdmhrf5mdlc833s82m1rcqfja2266520m3r8bzs8bvs")))) (build-system asdf-build-system/sbcl) - (arguments - `(;; Tests seem broken. - #:tests? #f)) (home-page "https://github.com/binghe/portable-threads") (synopsis "Portable threads API for Common Lisp") (description -- 2.31.1