From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#36694: 27.0.50; Test secrets-test03-items is failing Date: Tue, 16 Jul 2019 18:24:33 +0100 Message-ID: <87k1ch28q6.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="58496"; mail-complaints-to="usenet@blaine.gmane.org" Cc: michael albinus To: 36694@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 16 19:25:07 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hnRCN-000F5h-Pq for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Jul 2019 19:25:07 +0200 Original-Received: from localhost ([::1]:51410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnRCM-0008JR-R2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Jul 2019 13:25:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40431) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnRCJ-0008Hn-TM for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2019 13:25:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnRCI-0000W1-Mo for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2019 13:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42270) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnRCI-0000Vu-If for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2019 13:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hnRCI-0007W9-BG; Tue, 16 Jul 2019 13:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: michael.albinus@gmx.de, bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Jul 2019 17:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36694 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: michael albinus Original-Received: via spool by submit@debbugs.gnu.org id=B.156329788628861 (code B ref -1); Tue, 16 Jul 2019 17:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Jul 2019 17:24:46 +0000 Original-Received: from localhost ([127.0.0.1]:51090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnRC2-0007VR-97 for submit@debbugs.gnu.org; Tue, 16 Jul 2019 13:24:46 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:51584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnRBy-0007VE-KV for submit@debbugs.gnu.org; Tue, 16 Jul 2019 13:24:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40296) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnRBx-0008Ee-FY for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2019 13:24:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnRBw-0000Ia-BQ for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2019 13:24:41 -0400 Original-Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:45948) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnRBv-0000Ga-Lq for bug-gnu-emacs@gnu.org; Tue, 16 Jul 2019 13:24:40 -0400 Original-Received: by mail-wr1-x442.google.com with SMTP id f9so21798776wre.12 for ; Tue, 16 Jul 2019 10:24:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=z5vxWhfLj2g5e2Mbn2eWUazBQ9Bx0tNexZIBtQDtL/o=; b=sOyQ6Hou7QAZ0vh5qVUJiAcbTm35OnqW0/n5ixGnzmPqGFlXBWdbFtAL/CAgo9ald8 vWVW05nopryeP4FJGRfm/EEjUc9JnDclgNTK6gFQdkLJFO7H7DAm2bGwzHZ6g5ELy61v pqOIVR/xDOQdLOlEmfUxln260/bsJnZIcqVBpiVcwhn0/Jvt0wyPzPpu6PYfJYmGGGmi OrxLL4jEc8xR+LjIaDT7wV9DeQMt8AZ798Mjfylh6HgSrj+L33YmZEHNRXo7YHwWys3q YPN4z7omoEr8LZCLNFUYaseaYqfPHJbmsh4es3pgQ22auG6SYdz+MAW6WS6sJYMN4KYE 6zMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=z5vxWhfLj2g5e2Mbn2eWUazBQ9Bx0tNexZIBtQDtL/o=; b=A5heGXqRNGK3zy+ylU7Cz1Hhq6sD5PPpr8ENp99l8vVdCU/nKK5kD0Y3Wb+u4rTCLf 2UprASf2qcTycldWfWFvXpgaoC9voWNdhH5BddZBZswc07ZdcpUEElowNavziNAEwaeO ZWqFDN08/Z+64M1upWFYvi92t2uNSQfQ2l/RMUTMTRxa/eVgpu3xDlEko2J1WBZQ3/TY s4TjRsMLUKa0JPUkhVu05xhJcJWw23t8G4lMn0gx/LkCR1DjCKkVWSXXDQ1hTmuHCCjy 629+WfTyXxMIz37q2eBsGAuz26G8DLHo1MH88RMPTgY98yNs3jYBQVYEKqDmWJIi5rm9 rbtw== X-Gm-Message-State: APjAAAVvxqSHwEeeRQz8MrJPeVoC0slgQY4931cVooIo9tq3YI39Nk80 W3YzCZVrHAKbgHMldis+nyyIX5IRgxg= X-Google-Smtp-Source: APXvYqxUfRsf27pgkzPe0YZYriligdmR9RcMtpi+foY7GAr1qWCJU1ZAUsb//4xR2VnjoOKsepN36Q== X-Received: by 2002:a05:6000:12c8:: with SMTP id l8mr38472124wrx.72.1563297875544; Tue, 16 Jul 2019 10:24:35 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:92bd:1bfd:38fc:fae2]) by smtp.gmail.com with ESMTPSA id x17sm16123910wrq.64.2019.07.16.10.24.34 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 16 Jul 2019 10:24:34 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163199 Archived-At: --=-=-= Content-Type: text/plain X-Debbugs-Cc: Michael Albinus Severity: minor On current master on my machine, 'make check' reports one file containing unexpected results: --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=secrets-tests.log Running 5 tests (2019-07-16 18:13:46+0100, selector `(not (or (tag :expensive-test) (tag :unstable)))') passed 1/5 secrets-test00-availability (0.007341 sec) passed 2/5 secrets-test01-sessions (0.011786 sec) passed 3/5 secrets-test02-collections (0.007273 sec) Test secrets-test03-items backtrace: signal(ert-test-failed (((should (equal (secrets-get-attributes "ses ert-fail(((should (equal (secrets-get-attributes "session" item) '(( #f(compiled-function () #)() ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name secrets-test03-items :documentation " ert-run-or-rerun-test(#s(ert--stats :selector (not (or ... ...)) :te ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable))) ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) ( command-line-1(("-L" ":." "-l" "ert" "-l" "lisp/net/secrets-tests" " command-line() normal-top-level() Test secrets-test03-items condition: (ert-test-failed ((should (equal (secrets-get-attributes "session" item) '...)) :form (equal ((:host . "remote-host") (:method . "sudo") (:user . "joe") (:xdg:schema . "org.freedesktop.Secret.Generic")) ((:xdg:schema . "org.freedesktop.Secret.Generic") (:host . "remote-host") (:user . "joe") (:method . "sudo"))) :value nil :explanation (list-elt 0 (car (different-atoms :host :xdg:schema))))) FAILED 4/5 secrets-test03-items (0.080947 sec) passed 5/5 secrets-test04-search (0.075937 sec) Ran 5 tests, 4 results as expected, 1 unexpected (2019-07-16 18:13:46+0100, 0.423667 sec) 1 unexpected results: FAILED secrets-test03-items --=-=-= Content-Type: text/plain For some reason, the test secrets-test03-items expects secrets-get-attributes to silently put the attribute :xdg:schema at the beginning of the returned alist, but on my system that attribute is placed at the end. Is the precise ordering of attributes significant? If so, why? If not, the test should stop assuming any particular ordering and use seq-set-equal-p in place of equal. Patch to this effect to follow. Thanks, -- Basil In GNU Emacs 27.0.50 (build 3, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2019-07-16 built on thunk Repository revision: a87840fffbf471d53eba17ea683728125d2d4767 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux bullseye/sid Configured using: 'configure 'CC=ccache gcc' 'CFLAGS=-O2 -march=native' --config-cache --prefix=/home/blc/.local --with-mailutils --with-x-toolkit=lucid --with-modules --with-file-notification=yes --with-x' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_IE.UTF-8 locale-coding-system: utf-8-unix --=-=-=--