GNU bug report logs - #73741
elixir-machete 0.3.3 non-deterministic test failures

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Maxim Cournoyer <maxim.cournoyer@HIDDEN>; dated Fri, 11 Oct 2024 02:25:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Oct 2024 02:24:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 10 22:24:21 2024
Received: from localhost ([127.0.0.1]:32831 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sz5KG-0000VP-Rf
	for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 22:24:21 -0400
Received: from lists.gnu.org ([209.51.188.17]:44914)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1sz5KB-0000VB-CZ
 for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 22:24:19 -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 <maxim.cournoyer@HIDDEN>)
 id 1sz5Jy-0003Gf-OS
 for bug-guix@HIDDEN; Thu, 10 Oct 2024 22:24:02 -0400
Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1sz5Jw-0005Ye-O3
 for bug-guix@HIDDEN; Thu, 10 Oct 2024 22:24:02 -0400
Received: by mail-pl1-x62f.google.com with SMTP id
 d9443c01a7336-20b49ee353cso13626715ad.2
 for <bug-guix@HIDDEN>; Thu, 10 Oct 2024 19:24:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1728613438; x=1729218238; darn=gnu.org;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=Tjq1ycv1WjcMEiQkv/OWC2iMGEPm9giEzbcFCiNJzUE=;
 b=ZrVBRm993GHwrDY2xmnzRo3C1EX99RFTeP/W7VFekuQa+lv2iuoEfm4SV5uU7EjNch
 cJdoGGsjAyyA+dBljr0SXBmpQlr39V/iO5SlDCkUfGYwr2o1iuaTufzL056C/VetRjA3
 /ZgKWjZMavGNfZB7vYjHw62J40yqU1YEs9mfRt2sAaMagsLj0Tp8LgwF+w58PGZRBhrZ
 SkHo6BRNANNhQSINpmKf7bQ4jIOsn/iTbpGeUZgexP+oyY3UXLUBhf4QjIauSS2yDXcy
 vH1fPSeNx+OQ4k8vI78ycvT0qsh4jvcWXESfzYLk0SjHH0tmMXmEYchGXmaZOmIx3xZf
 EaBg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728613438; x=1729218238;
 h=mime-version:message-id:date:subject:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=Tjq1ycv1WjcMEiQkv/OWC2iMGEPm9giEzbcFCiNJzUE=;
 b=qyoURPp83cAnRJQNwrBfih0c5Cb4mfQlYtdiyVxQqNqJUy9i1lSNM/EFl9iykwJdtV
 ecWV6gmtOMjyBusq7IadbT8sZyXj+fMb9AlmNkxng9sD4h6YhYf36vfEDX7kH4IBnuSg
 08iIi9YlcP1R1yUP+8S/sTLXlRncrlMQyl7nOq+GtWcvHb+qEt/XJujcOK+XDauUelUY
 lrpNuNlzXPKJJLyWX8ZWAJPsYoKwCZSEwFQ33OnNo0R+12CCaYaFYEfgoCEdBXljR1wn
 VNpHWd8rdwWPafLax4PpPt5YFQIGWqBOOvfS1CeZgU8aaKR321JpMFT0ScBEiYbyCfI/
 ZqBg==
X-Gm-Message-State: AOJu0Yx+XT7Taep7aQb7YmqhQpzh/TMLIiCuoC8DrRBFXQcp1MlQY3jE
 NDyRHY/xuByHJvnx1+L6KKBLTiZ756CNlZNlnO1iBFxGJkMHav0StMIaQA==
X-Google-Smtp-Source: AGHT+IHHqFdiOvWBo7pHGzg+xtp3E/SxqnS+4IhmBiZJtgQvAgVW6snNDHKqnbiD5mlmquYtRpA2ZA==
X-Received: by 2002:a17:902:f68f:b0:20c:9821:69a0 with SMTP id
 d9443c01a7336-20ca16bdb4cmr12723515ad.45.1728613437916; 
 Thu, 10 Oct 2024 19:23:57 -0700 (PDT)
Received: from terra ([2405:6586:be0:0:c8ff:1707:9b9:af89])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-20c8c31c139sm15647915ad.232.2024.10.10.19.23.56
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 10 Oct 2024 19:23:57 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: elixir-machete 0.3.3 non-deterministic test failures
Date: Fri, 11 Oct 2024 11:23:55 +0900
Message-ID: <87jzef74xw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::62f;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-pl1-x62f.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-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi,

As seen on CI, the  MismatchTest and MapMatcherTest may fail
non-deterministically (this was marked as a new failure):

--8<---------------cut here---------------start------------->8---
starting phase `check'
Running ExUnit with seed: 188457, max_cases: 192

..............................................................................................................................................

  1) test format_mismatches formats with numbers and indents (MismatchTest)
     test/machete/mismatch_test.exs:5
     Assertion with == failed
     code:  assert Machete.Mismatch.format_mismatches(mismatches, "  ") ==
              "  1) .a: 1 is not equal to 2\n  2) .b.[0].{0}: 1 is not equal to 2\n"
     left:  "  1) .b.[0].{0}: 1 is not equal to 2\n  2) .a: 1 is not equal to 2\n"
     right: "  1) .a: 1 is not equal to 2\n  2) .b.[0].{0}: 1 is not equal to 2\n"
     stacktrace:
       test/machete/mismatch_test.exs:8: (test)

.................................................................................................................................

  2) test produces a useful mismatch for max size mismatches (MapMatcherTest)
     test/machete/matchers/map_matcher_test.exs:29
     Assertion with ~> failed

     Mismatches:

       1) .[0].message: "%{b: 1, a: 1} is greater than 1 pairs in size" is not equal to "%{a: 1, b: 1} is greater than 1 pairs in size"

     code: assert %{a: 1, b: 1} ~>> map(max: 1) ~> mismatch("%{a: 1, b: 1} is greater than 1 pairs in size")
     stacktrace:
       test/machete/matchers/map_matcher_test.exs:30: (test)

..............................................................................................................................
Finished in 1.0 seconds (1.0s async, 0.01s sync)
204 doctests, 195 tests, 2 failures
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "mix" arguments: ("do" "compile" "--no-deps-check" "--no-prune-code-paths" "+" "test" "--no-deps-check") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `check' failed after 2.3 seconds
command "mix" "do" "compile" "--no-deps-check" "--no-prune-code-paths" "+" "test" "--no-deps-check" failed with status 2
build process 18 exited with status 256
builder for `/gnu/store/vbjswnk8ml05qxjvgi0l17k8mdvlbxpa-elixir-machete-0.3.3.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---

I've reported it upstream here: https://github.com/mtrudel/machete/issues/43

-- 
Thanks,
Maxim




Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#73741; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.