From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EOtKCsjxzGITWQEAbAwnHQ (envelope-from ) for ; Tue, 12 Jul 2022 06:00:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uL44CsjxzGKNBQAA9RJhRA (envelope-from ) for ; Tue, 12 Jul 2022 06:00:08 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 26B2626712 for ; Tue, 12 Jul 2022 06:00:07 +0200 (CEST) Received: from localhost ([::1]:59586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oB749-0001uJ-Uc for larch@yhetil.org; Tue, 12 Jul 2022 00:00:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oB738-0001et-PF for bug-guix@gnu.org; Mon, 11 Jul 2022 23:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47503) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oB738-0007Pc-Fh for bug-guix@gnu.org; Mon, 11 Jul 2022 23:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oB738-0005Jh-A3 for bug-guix@gnu.org; Mon, 11 Jul 2022 23:59:02 -0400 Subject: bug#51498: onionshare build is broken Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Tue, 12 Jul 2022 03:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: raid5atemyhomework Cc: Efraim Flashner , "51498@debbugs.gnu.org" <51498-done@debbugs.gnu.org> Mail-Followup-To: 51498@debbugs.gnu.org, maxim.cournoyer@gmail.com, raid5atemyhomework@protonmail.com Received: via spool by 51498-done@debbugs.gnu.org id=D51498.165759829220360 (code D ref 51498); Tue, 12 Jul 2022 03:59:02 +0000 Received: (at 51498-done) by debbugs.gnu.org; 12 Jul 2022 03:58:12 +0000 Received: from localhost ([127.0.0.1]:41398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oB72J-0005IJ-Cz for submit@debbugs.gnu.org; Mon, 11 Jul 2022 23:58:12 -0400 Received: from mail-qt1-f178.google.com ([209.85.160.178]:39739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oB72H-0005I2-G3 for 51498-done@debbugs.gnu.org; Mon, 11 Jul 2022 23:58:10 -0400 Received: by mail-qt1-f178.google.com with SMTP id r17so5982640qtx.6 for <51498-done@debbugs.gnu.org>; Mon, 11 Jul 2022 20:58:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=9VVbu+YkHOXROPIwP4s2u0ULVjtt1SLtgI8MDjJMxyU=; b=q4kLxtfUC1ChfXALiwvATf8hQzskf2FgDx+xV8f3hD/W/piZmsrvhAEeTMCIWTOlIH TdYdbGnZPEA8k25xn8ObDWt3zHSNkVZ1iu5q4SymKzLQzv7JYKgri+BQox7BRAUOe7Is T462Ab68v+CwymMtflIRD8B37i7Tay7iLUg/TFtahL4qlZQ+QxeWT3S3a3xpO/ckVJLL w18VZIlehLHyDMm0o2xBIag8xaHxG62VhSuRx2ljrUYIb+rEqgiPx/Jord042aNvqhiz /FMU8ZiCsXMXI1t4vqk55SeDVg/Zc03hYdCCedrCdmafPNRuPvulIvk/sP2na2dxsjW8 vWfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=9VVbu+YkHOXROPIwP4s2u0ULVjtt1SLtgI8MDjJMxyU=; b=Nr3ny31hALrOwbnnAzydD76B2jBS1tda7EFabL7CaH+AInFaco0u2QXH3lJUwqeuht r1vvTnLvhyUmUp2vyFQUSe7pbb2J89jGBGK0Py6nWYYv6W1dXiD0PNyOO7RFvXvgcTts SZs9xMAvHMg+WI0tub+COOdLH+mnd5lOAJDUp6Vry94D9QyYKXGa8lXV8IkHQfs1zZVz Z88hNcsAMkTG08zdKM5LtITkz0d3+rqHlQa/v333dLGSNsVKLURrAxz1umeIZJe4Lv/c voShEiyzuKxzFFY02hRIrRH/ikGuITmg5XuhV/rWBXinrH+I2Po2uPTFC3vWllDweE21 9g0w== X-Gm-Message-State: AJIora9z6N698JY7EKeMckCj1KvpbMWkYEeUylWZ1wKbqiyLXFYHCnl7 nmLXjFfzsyUymKkpEwUIrF+ppzpvtsG/0ZR2 X-Google-Smtp-Source: AGRyM1s20QUc0/iIQMi9k6KTn7Bqh9IV5KGNZKZppAEFr86qJujsEaDW4CCn+PYkqJZHMrP51GZ8iw== X-Received: by 2002:ac8:5c47:0:b0:31e:a9b9:822a with SMTP id j7-20020ac85c47000000b0031ea9b9822amr13393521qtj.250.1657598283428; Mon, 11 Jul 2022 20:58:03 -0700 (PDT) Received: from hurd (dsl-155-226.b2b2c.ca. [66.158.155.226]) by smtp.gmail.com with ESMTPSA id br15-20020a05620a460f00b006af290182c8sm8067728qkb.86.2022.07.11.20.58.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 20:58:02 -0700 (PDT) From: Maxim Cournoyer References: <92qiop_y9j0qwdLooBRmFS2c4LIcTWyH12TZ7li1isQfez4ntpPdkLmBdH5p0dtF0T4xgUB6D0FIdbGDOXVWz5HHdFlxHgxXMZ2TxUPxU7I=@protonmail.com> <71NrR9CIatwqC45LYY-6AWdyugCrijO3vc409GY_eDSCIg9wnzFAE3CerYB3r0zkY16fwraexVge-RKIQPquf0cDHrFRfnXHMGrEdfKAqh0=@protonmail.com> Date: Mon, 11 Jul 2022 23:58:01 -0400 In-Reply-To: <71NrR9CIatwqC45LYY-6AWdyugCrijO3vc409GY_eDSCIg9wnzFAE3CerYB3r0zkY16fwraexVge-RKIQPquf0cDHrFRfnXHMGrEdfKAqh0=@protonmail.com> (raid5atemyhomework@protonmail.com's message of "Fri, 05 Nov 2021 01:31:24 +0000") Message-ID: <87k08j9e46.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657598407; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=9VVbu+YkHOXROPIwP4s2u0ULVjtt1SLtgI8MDjJMxyU=; b=isHxj4221y0I1m+FThZv73j6fDyZ/MegEzr/GeAN1UXNXkwuJgoP/9a5Uyvxmk/Z8ShUc7 SC94LpNKlHAeGzdjgULk0CQuQpVwISH/8BwmlLOdcj0QW+yGRjmZGciWtNeM4zi50Lc9Yj GWKqBQiuWDnQKn5oRTAoCs3mt3i4X637gB1BSDlEXQNqNsOdeGWUlKOj7RzoZ0uR53nFJa U8CFOThTOEr2B93zUT5IaFff0xwAcJ6fShBbTSFlaB2ax3TkO0ABxHKcL+THPD78Ys8etu sawGBgsjjjsVS1C7quUbu2lopm9naOZ5afLaIwBxFee/Sqj60/sBRKSF0xyrgQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657598407; a=rsa-sha256; cv=none; b=tP2RRNXkPHaKcTWAc04geBd9JYQXbQQeofSaQxggASQXEuOKiwvJTlvyGCCS8UTIdPcrfG C5yav9plxg/9j7iQRkqci8fo+3+rd8phHcAeJrnsyn4sVQ2SOrqq5G5bzxChoobOsX5uWY sgdkJCWGjkKONOo91r4lEPmBRfyWg19ssjVJqOTCvsMr8BWIZStqLoj46rDnw7T6MG3XEN 5EYbuz8AoIs2ZQbxPwl/7qZHmZF2ue2SsdmlkkleGLiAXgZDpKbLiHqoLMBepO//CNRfWL 05w3tNuxlQhf+jacChifMwZyXwQg39HtyKlNG8ysEIYWpgCwA0I00fklplHoVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=q4kLxtfU; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.05 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=q4kLxtfU; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 26B2626712 X-Spam-Score: 5.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: iNoZ9xEU+DVn Hi, raid5atemyhomework writes: >> > Can you test it again? I was able to build it just now with commit >> > c0c974ad96767a1e207fe2823cd5479605485415. I was also able to build it >> > with your provided commit above. >> >> Having diverging results suggests a nondeterministic build, which is >> bad, right? I'm running on a Guix System machine running directly on >> the metal. > > On a Guix on top of a foreign distro, I got: > > * good: `guix time-machine --commit=ebc274063716a3a9471f51abb526d693c06b9f63 -- build onionshare` > * result: `/gnu/store/ynkjlqh9sjr72blfvvxrj86cgjpa270l-onionshare-2.3.2` > > Looks like nondeterminism? > > On the machine where the build is failing, this is the stanza where the tests start going wrong: > > ``` > tests/test_gui_share.py::TestShare::test_401_public_skips_ratelimit PASSED [ 5%] > tests/test_gui_share.py::TestShare::test_401_triggers_ratelimit PASSED [ 10%] > tests/test_gui_share.py::TestShare::test_405_page_returned_for_invalid_methods PASSED [ 15%] > tests/test_gui_share.py::TestShare::test_autostart_and_autostop_timer_mismatch SKIPPED [ 21%] > tests/test_gui_share.py::TestShare::test_autostart_timer SKIPPED [ 26%] > tests/test_gui_share.py::TestShare::test_autostart_timer_cancel PASSED [ 31%] > tests/test_gui_share.py::TestShare::test_autostart_timer_too_short SKIPPED [ 36%] > tests/test_gui_share.py::TestShare::test_autostop_timer SKIPPED [ 42%] > tests/test_gui_share.py::TestShare::test_autostop_timer_too_short SKIPPED [ 47%] > tests/test_gui_share.py::TestShare::test_clear_all_history_button PASSED [ 52%] > tests/test_gui_share.py::TestShare::test_download PASSED [ 57%] > tests/test_gui_share.py::TestShare::test_individual_files PASSED [ 63%] > tests/test_gui_share.py::TestShare::test_individual_files_without_autostop_sharing PASSED [ 68%] > tests/test_gui_share.py::TestShare::test_large_download FAILED [ 73%] > tests/test_gui_share.py::TestShare::test_persistent_password FAILED [ 78%] > tests/test_gui_share.py::TestShare::test_public_mode FAILED [ 84%] > tests/test_gui_share.py::TestShare::test_remove_all_file_selection_button FAILED [ 89%] > tests/test_gui_share.py::TestShare::test_unreadable_file FAILED [ 94%] > tests/test_gui_share.py::TestShare::test_without_autostop_sharing FAILED [100%] > ``` I was able to reproduce the nondeterministic failure; on my system it gave: --8<---------------cut here---------------start------------->8--- =================================== FAILURES =================================== ________________________ TestShare.test_large_download _________________________ self = def test_large_download(self): """ Test a large download """ tab = self.new_share_tab() self.run_all_common_setup_tests() self.run_all_share_mode_setup_tests(tab) tab.get_mode().server_status.file_selection.file_list.add_file( self.tmpfile_large ) > self.run_all_share_mode_started_tests(tab, startup_time=15000) tests/test_gui_share.py:432: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_gui_share.py:183: in run_all_share_mode_started_tests self.server_is_started(tab, startup_time) tests/gui_base_test.py:249: in server_is_started self.assertEqual(tab.get_mode().server_status.status, 2) E AssertionError: 1 != 2 ----------------------------- Captured stdout call ----------------------------- [Jul 11 2022 10:05:58 PM] Tab.share_mode_clicked [Jul 11 2022 10:05:58 PM] Web.__init__: is_gui=True, mode=share [Jul 11 2022 10:05:58 PM] Common.get_resource_path: filename=static [Jul 11 2022 10:05:58 PM] Common.get_resource_path: filename=static, path=/gnu/store/dg59r5qmksn2llkbqxbzj4zw3xvcfppp-onionshare-cli-2.4/lib/python3.9/site-packages/onionshare_cli/resources/static [Jul 11 2022 10:05:58 PM] Common.get_resource_path: filename=templates [Jul 11 2022 10:05:58 PM] Common.get_resource_path: filename=templates, path=/gnu/store/dg59r5qmksn2llkbqxbzj4zw3xvcfppp-onionshare-cli-2.4/lib/python3.9/site-packages/onionshare_cli/resources/templates [Jul 11 2022 10:05:58 PM] Web.generate_static_url_path: new static_url_path is /static_uosd2rkf6txcyiop4jrurdpxtu [Jul 11 2022 10:05:58 PM] ShareModeWeb.init [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = [] [Jul 11 2022 10:05:58 PM] ServerStatus.update [Jul 11 2022 10:05:58 PM] ServerStatus.update [Jul 11 2022 10:05:58 PM] ShareMode.update_primary_action [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ServerStatus.update [Jul 11 2022 10:05:58 PM] ShareMode.update_primary_action [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/640bf8a6.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ServerStatus.update [Jul 11 2022 10:05:58 PM] ShareMode.update_primary_action [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/640bf8a6.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/c31c4eeb.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ServerStatus.update [Jul 11 2022 10:05:58 PM] ShareMode.update_primary_action [Jul 11 2022 10:05:58 PM] ToggleHistory.toggle_clicked [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/640bf8a6.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/c31c4eeb.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/640bf8a6.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/c31c4eeb.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/c31c4eeb.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ServerStatus.update [Jul 11 2022 10:05:58 PM] ShareMode.update_primary_action [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/c31c4eeb.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/c31c4eeb.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/c31c4eeb.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ServerStatus.update [Jul 11 2022 10:05:58 PM] ShareMode.update_primary_action [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/640bf8a6.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ServerStatus.update [Jul 11 2022 10:05:58 PM] ShareMode.update_primary_action [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ServerStatus.update [Jul 11 2022 10:05:58 PM] ShareMode.update_primary_action [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/640bf8a6.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ServerStatus.update [Jul 11 2022 10:05:58 PM] ShareMode.update_primary_action [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/640bf8a6.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/c31c4eeb.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ServerStatus.update [Jul 11 2022 10:05:58 PM] ShareMode.update_primary_action [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/640bf8a6.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/c31c4eeb.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/large_file', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'] [Jul 11 2022 10:05:58 PM] ServerStatus.update [Jul 11 2022 10:05:58 PM] ShareMode.update_primary_action [Jul 11 2022 10:05:58 PM] ServerStatus.update [Jul 11 2022 10:05:58 PM] Mode.start_server [Jul 11 2022 10:05:58 PM] Mode.start_server: Starting an onion thread [Jul 11 2022 10:05:58 PM] OnionThread.__init__ [Jul 11 2022 10:05:58 PM] ModeSettings.set: updating undress-coyness-anime: share.filenames = ['/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/640bf8a6.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/c31c4eeb.txt', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/large_file', '/tmp/guix-build-onionshare-2.4.drv-0/tmpx624akaf/test.txt'][Jul 11 2022 10:05:58 PM] OnionThread.run [Jul 11 2022 10:05:58 PM] Web.generate_static_url_path: new static_url_path is /static_76kyy3l57efdgiew6xhqlusxca [Jul 11 2022 10:05:58 PM] OnionShare.start_onion_service [Jul 11 2022 10:05:59 PM] WebThread.__init__ [Jul 11 2022 10:05:59 PM] WebThread.run[Jul 11 2022 10:05:59 PM] Mode.start_server_step2 [Jul 11 2022 10:05:59 PM] Web.start: port=17618 [Jul 11 2022 10:05:59 PM] CompressThread.__init__ [Jul 11 2022 10:05:59 PM] CompressThread.run [Jul 11 2022 10:05:59 PM] ShareModeWeb.init [Jul 11 2022 10:05:59 PM] ShareModeWeb.set_file_info_custom [Jul 11 2022 10:05:59 PM] ShareModeWeb.build_zipfile_list ----------------------------- Captured stderr call ----------------------------- This plugin does not support setParent! ------------------------------ Captured log call ------------------------------- INFO werkzeug:_internal.py:225 * Running on http://127.0.0.1:17618/ (Press CTRL+C to quit) __________________________ TestShare.test_public_mode __________________________ self = def test_public_mode(self): """ Public mode shouldn't have a password """ > tab = self.new_share_tab() tests/test_gui_share.py:367: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gui_base_test.py:88: in new_share_tab self.verify_new_tab(tab) tests/gui_base_test.py:80: in verify_new_tab self.assertTrue(tab.new_tab.isVisible()) E AssertionError: False is not true ----------------------------- Captured stdout call ----------------------------- [Jul 11 2022 10:06:14 PM] Mode.start_server_step3 [Jul 11 2022 10:06:14 PM] ServerStatus.update [Jul 11 2022 10:06:14 PM] Settings.load _______________ TestShare.test_remove_all_file_selection_button ________________ self = def test_remove_all_file_selection_button(self): """ Test remove all file items at once """ > tab = self.new_share_tab() tests/test_gui_share.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gui_base_test.py:88: in new_share_tab self.verify_new_tab(tab) tests/gui_base_test.py:80: in verify_new_tab self.assertTrue(tab.new_tab.isVisible()) E AssertionError: False is not true ________________________ TestShare.test_unreadable_file ________________________ self = def test_unreadable_file(self): """ Sharing an unreadable file should throw a warning """ > tab = self.new_share_tab() tests/test_gui_share.py:489: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gui_base_test.py:88: in new_share_tab self.verify_new_tab(tab) tests/gui_base_test.py:80: in verify_new_tab self.assertTrue(tab.new_tab.isVisible()) E AssertionError: False is not true ___________________ TestShare.test_without_autostop_sharing ____________________ self = def test_without_autostop_sharing(self): """ Disable autostop sharing after first download """ > tab = self.new_share_tab() tests/test_gui_share.py:379: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/gui_base_test.py:88: in new_share_tab self.verify_new_tab(tab) tests/gui_base_test.py:80: in verify_new_tab self.assertTrue(tab.new_tab.isVisible()) E AssertionError: False is not true --------------------------- Captured stdout teardown --------------------------- [Jul 11 2022 10:06:18 PM] MainWindow.closeEvent [Jul 11 2022 10:06:18 PM] MainWindow.closeEvent, opening warning dialog [Jul 11 2022 10:06:18 PM] MainWindow.cleanup [Jul 11 2022 10:06:18 PM] TabWidget.cleanup [Jul 11 2022 10:06:18 PM] Tab.cleanup: tab_id=8 [Jul 11 2022 10:06:18 PM] Web.stop: stopping server [Jul 11 2022 10:06:19 PM] Web.cleanup [Jul 11 2022 10:06:19 PM] Alert.__init__ [Jul 11 2022 10:06:19 PM] OnionCleanupThread.__init__ [Jul 11 2022 10:06:19 PM] OnionCleanupThread.run [Jul 11 2022 10:06:19 PM] Onion.cleanup --------------------------- Captured stderr teardown --------------------------- This plugin does not support propagateSizeHints() This plugin does not support propagateSizeHints() ---------------------------- Captured log teardown ----------------------------- INFO werkzeug:_internal.py:225 127.0.0.1 - - [11/Jul/2022 22:06:18] "GET /xwpum3u67ltpl525lvd3tgghce/shutdown HTTP/1.1" 200 - =============================== warnings summary =============================== tests/conftest.py:75 /tmp/guix-build-onionshare-2.4.drv-0/source/desktop/tests/conftest.py:75: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def temp_dir_1024_delete(temp_dir): tests/conftest.py:99 /tmp/guix-build-onionshare-2.4.drv-0/source/desktop/tests/conftest.py:99: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. def temp_file_1024_delete(temp_dir): tests/conftest.py:113 /tmp/guix-build-onionshare-2.4.drv-0/source/desktop/tests/conftest.py:113: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(scope="session") tests/conftest.py:126 /tmp/guix-build-onionshare-2.4.drv-0/source/desktop/tests/conftest.py:126: PytestDeprecationWarning: @pytest.yield_fixture is deprecated. Use @pytest.fixture instead; they are the same. @pytest.yield_fixture(scope="session") tests/test_gui_share.py::TestShare::test_405_page_returned_for_invalid_methods tests/test_gui_share.py::TestShare::test_clear_all_history_button tests/test_gui_share.py::TestShare::test_client_auth tests/test_gui_share.py::TestShare::test_individual_files_without_autostop_sharing tests/test_gui_share.py::TestShare::test_without_autostop_sharing /gnu/store/dg59r5qmksn2llkbqxbzj4zw3xvcfppp-onionshare-cli-2.4/lib/python3.9/site-packages/onionshare_cli/web/web.py:317: UserWarning: The 'environ['werkzeug.server.shutdown']' function is deprecated and will be removed in Werkzeug 2.1. func() tests/test_gui_share.py::TestShare::test_download tests/test_gui_share.py::TestShare::test_individual_files /gnu/store/dg59r5qmksn2llkbqxbzj4zw3xvcfppp-onionshare-cli-2.4/lib/python3.9/site-packages/onionshare_cli/web/share_mode.py:387: UserWarning: The 'environ['werkzeug.server.shutdown']' function is deprecated and will be removed in Werkzeug 2.1. shutdown_func() -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED tests/test_gui_share.py::TestShare::test_large_download - AssertionErr... FAILED tests/test_gui_share.py::TestShare::test_public_mode - AssertionError:... FAILED tests/test_gui_share.py::TestShare::test_remove_all_file_selection_button FAILED tests/test_gui_share.py::TestShare::test_unreadable_file - AssertionEr... FAILED tests/test_gui_share.py::TestShare::test_without_autostop_sharing - As... ======== 5 failed, 7 passed, 5 skipped, 11 warnings in 73.66s (0:01:13) ======== error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "./tests/run.sh" arguments: () exit-status: 1 term-signal: #f stop-signal: #f> phase `check' failed after 97.3 seconds command "./tests/run.sh" failed with status 1 --8<---------------cut here---------------end--------------->8--- So the first thing I tried was updating onionshare to 2.5; unfortunately the tests got even more problematic to run, so I asked guidance upstream and disabled the test suite for now, after trying to make things work for a good while (see commit aedd7dc8e085788fbaf066754eb3387edb719335). At least it won't fail nondeterministically! Thanks for the report. Closing. Maxim