From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cBJPLoDiuGMiCgEAbAwnHQ (envelope-from ) for ; Sat, 07 Jan 2023 04:09:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oAh/LYDiuGMoNAAAG6o9tA (envelope-from ) for ; Sat, 07 Jan 2023 04:09:52 +0100 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 71C579452 for ; Sat, 7 Jan 2023 04:09:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDzZw-0003VX-AZ; Fri, 06 Jan 2023 22:09:08 -0500 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 1pDzZh-0003Q4-LV for emacs-orgmode@gnu.org; Fri, 06 Jan 2023 22:08:53 -0500 Received: from mail-yt3can01on2103.outbound.protection.outlook.com ([40.107.115.103] helo=CAN01-YT3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pDzZf-0006Ns-E3 for emacs-orgmode@gnu.org; Fri, 06 Jan 2023 22:08:49 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ET8qENybpDK44T6xLnF6VZ7mjstTPJ+252D3kYHuW5neRvN4pUhcCBtkV2rPhnyKFzZ0Qgu98XupVpWVJPiJ9BDr0LgpmKmHBmtJRI1kYbtihzYW64EqtkpV2WOuxDj7DHizPB9lLl+NWDSsGW80dcn/Z5r67WBmBARU/I6F+luzBOC5kwcsS21m5QnN5AWkveNZjOffNCpgqsi4DnX7rxhc0CYjzOlruV/Hj4fAfcHHiEpZcTPl5lWZI/Xo43M/onkEawDrXWyon/GoWRY81p3SNpiuhlP29xXmYtetYkoCgS2z+uS8i+BQsRfzpVyyItaH6ZQBzUV8hniSFp6PNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Crq0DcLIA0i2K6BiKDM8rvXfNzLQFJujyXnHS1wbM4w=; b=Q1If+aEA2uh/lbYzBmoYzv+FbnqhdBHiIEKdWsN3yaTez546MaUgj7EzH/KjTTbBNi2kUBNy0Yzij2OgVN5H20Ab/7mnAbYdYjwXyQk+d4I3kaa+vZ5rT8boc7i+cWj7g20X/vVkWwrj/rOH4ogVwEr5zr0APrk2QkJIptL9eLA3dwLFkg+nGsc72BiIX464FmbtuOHnfhcz+Y0G4vidq8MH+e34HblRZQ6SQFDSBHgVZgJpaTYJ0032ROePHv+Q51ovrfIc0ki14Pwe4G09grfxAVTPS2W89xlVN1X/7a3FNPLPWlWLF29V+NGL1MeyuXybfNUPTVfRVx5HSVh7Ww== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=umanitoba.ca; dmarc=pass action=none header.from=umanitoba.ca; dkim=pass header.d=umanitoba.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umanitoba.onmicrosoft.com; s=selector2-umanitoba-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Crq0DcLIA0i2K6BiKDM8rvXfNzLQFJujyXnHS1wbM4w=; b=F93ooPjnK1NFwlx9EuIQW1zufoSeAF/68brHKrM9mr2BPSIxZd5VVIK7SkkwO6L08S/Fxc1PEjfGBYo9jwPAeJ1E9OgSAi2kSI5YARbc0JnZkjH3ckNgqilN2wvH4n76BKtHWMQR1Buda1EOAW2lwojfkUnJrcpelTTqjCD1aQE= Received: from YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:90::5) by YT3PR01MB8500.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:79::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Sat, 7 Jan 2023 03:08:43 +0000 Received: from YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM ([fe80::ee0c:56b6:8f8b:2d1]) by YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM ([fe80::ee0c:56b6:8f8b:2d1%9]) with mapi id 15.20.5944.019; Sat, 7 Jan 2023 03:08:43 +0000 From: Leo Butler To: Ihor Radchenko CC: Org Mode Mailing List Subject: Re: [PATCH] lisp/ob-octave.el, was [PATCH] rfc: using ert-deftest with side-effects Thread-Topic: [PATCH] lisp/ob-octave.el, was [PATCH] rfc: using ert-deftest with side-effects Thread-Index: AQHY8srL9HYY78NwOki4MB+cHbDIhw== Date: Sat, 7 Jan 2023 03:08:43 +0000 Message-ID: <87lemfqbwl.fsf@t14.reltub.ca> References: <87mt92elyy.fsf@t14.reltub.ca> <87mt9128sz.fsf@localhost> <87zgd1b4rn.fsf_-_@t14.reltub.ca> <8735asbtfe.fsf@localhost> <87pmdvamwf.fsf@t14.reltub.ca> <87bkpaguy3.fsf@localhost> <87leocuhpg.fsf@t14.reltub.ca> <87359esah2.fsf@localhost> <87cz8ifioa.fsf@localhost> <87sfh9vukl.fsf@localhost> <87fsd7wolt.fsf@t14.reltub.ca> <87r0wk29dz.fsf@localhost> <87358ywn5g.fsf@localhost> <87bknh5nva.fsf@localhost> <87358ovj53.fsf@t14.reltub.ca> <87a62vitpu.fsf@localhost> In-Reply-To: <87a62vitpu.fsf@localhost> (Ihor Radchenko's message of "Fri, 06 Jan 2023 15:11:09 +0000") Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) x-ms-publictraffictype: Email x-ms-traffictypediagnostic: YT3PR01MB9964:EE_|YT3PR01MB8500:EE_ x-ms-office365-filtering-correlation-id: e4241b69-e646-41dc-22c7-08daf05c7bdd x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UBMXADns/Qa+hlQSkWV3Jr3KaQmegTTjmO4CO/aPghfIHd4Y/4EM/kbrfSMOWaY0PpW1b0bw2JO3TS10E12Wto8tkIDghIz6mM+AlhZFIYqxj6CNuTHWhGyQEWTSlQz/rrVOaOKW/O4ibZjTRdBOne3z4VhA7nb1jaojX2qpBJ7jwiHcsAMzunMFrSDFJGOf2g/35ON8wVbQIbFrNcoSyKNMSa9bCaA/8aYLc74JYoGTQ85W3LPewq5p0KSsa92QcZvuKsrN2P7nJai55zf63fefsNhnn7f1gP28AEhT6xHlBBQqhzOUP3Ge4pO+iiH5/iWKAf7oWsYg0GXqJs+Ws7NonFUoU+xxJqXRwJzA0ZT6+X2T2CSLMOiRBVpV6Iiv92FFeohLUEJOrBVOj+85Z5BTylUmtaE26J2jGIkiZEGvVaajjOgcgVNip8mGIVccGDgPRWXaKc5ceBFFK7uuZKqvWM92iIvNHvctXM6/ziOjYj6aDRO5bFqBeShOuT6ftHXI0ph8xFKE/DlHxIG8QhiW3VhUCpl5VK5Z5kG6yD74FOgiFW1hsE1wuMLKEnFt7CaByXE+mqdapHTdzxmKAMR53OxGamvJgptXpolDyqBdMo0JiYvmKWJVXHKUWfhlxbenDSFSb3pZcdu7VV5+SrlpLXNp91wO2IbbsYj4OximsHkHGqFYgATvl5ZBh/OGLgVqCOONRSaAz6Xo7DBnwtpUesnmoMeFVCIip0XAA3w= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230022)(346002)(396003)(366004)(136003)(376002)(39860400002)(451199015)(6512007)(9686003)(41320700001)(6486002)(966005)(122000001)(38100700002)(5660300002)(71200400001)(8936002)(41300700001)(38070700005)(8676002)(66556008)(66476007)(66946007)(4326008)(6506007)(66446008)(76116006)(91956017)(64756008)(478600001)(786003)(316002)(6916009)(26005)(86362001)(83380400001)(2906002)(186003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?E8AnOIe96zGwPD2yITDLjCXWjgQMplFLLjwk5t3YgzQZeUwFT9U+yJ8OCw?= =?iso-8859-1?Q?OkdjA1b+N7x+lU2ZagpYvVGmxNxgCKQKmJ6tvTcwcVEbkJ54pmD+Aux5hM?= =?iso-8859-1?Q?psab+RBAwMsOQlxNcUfu5G0+FOxGkMHxzenp+CtQaJ0o0c4K4reksvQlb5?= =?iso-8859-1?Q?mjiDFwNYxeBT81wytzjuwPSmqye1LSW2haol0FEAwdErpa23GbElMFAGF+?= =?iso-8859-1?Q?tNbT6oViO3xBa3Bh1EqTTmTiN08POO/yqzOY8dFO8C5VScKsV6fu49wyFL?= =?iso-8859-1?Q?jmSKU3na54Uasz8U5A+8prWrLr4puFYGcjGUHUy0X4nEoLAH3DotcREt5Z?= =?iso-8859-1?Q?nwtsN9I/5RUHjJ92qMRRZUi+Lr/6of4s4O4R8FAEFyWeJlvnBrhgcCEJaK?= =?iso-8859-1?Q?uZnWjRrx1w7nmu5PTMC5UqFIP9ehMH71342yvWqciP6BtzvkGfBJEOBnOI?= =?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d9WNXDkhUbwiHnuc8C?= =?iso-8859-1?Q?QQk7w2gKDJUnxlDsUR6YUvZ9CU7RrCFIsCbu4gmlgpvFYTL9fD5Ldc8W4G?= =?iso-8859-1?Q?jj9QIiCEiFT+g5YCXC+wEnZ5WTjCTy/+oRM7T+I+PYoP2iJkbL30VvySC7?= =?iso-8859-1?Q?ZyF0O6DrZTKJ76YwBiute96Pz5MOLGpqz2nLb7P2saKBa6WpIMEcTh+J3K?= =?iso-8859-1?Q?UfHgjX3NCLug5HGzSNccTQnuBbKfz0GFtXsjWEFercfSRYG5xs27Lk4oRt?= =?iso-8859-1?Q?iWDHLXnuCSlM8yZxFhQEImO6+vGDJ//shl4GUWD8B1uwR+RgHqNgdD4Q?= =?iso-8859-1?Q?=3D=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: umanitoba.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: YT3PR01MB9964.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: e4241b69-e646-41dc-22c7-08daf05c7bdd X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2023 03:08:43.1781 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4f80dd0b-338c-4e4c-8a14-90446962f7b8 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /lKlb/2ZZM97fQYdVN/Vd6DmiuQi69Q93qCHHMuMOtJYgIJhh/PgJTULe5dw56ys3jl++MKXlbNNrvU15sHe/g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT3PR01MB8500 Received-SPF: pass client-ip=40.107.115.103; envelope-from=Leo.Butler@umanitoba.ca; helo=CAN01-YT3-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=2; s=key1; d=yhetil.org; t=1673060992; a=rsa-sha256; cv=pass; b=EXDdVtiiqL0pkDxvh6NU4fTcbMLCLvGii0r98MJ+BgKLoNyZ233bg7e5VVymixMAjLhvBH 7iFNhKTrtmJMkaIcpLOQbl0VLpzxbi0n2lOm2TbXwhgQo7g0M3yc/5yBpVM7t0JsBcl9e9 cPvQlceYDCLHeSdNsM5a202zwbnanMIokBWac2ZzlBNj6nhNhOs5H5aALZUvb/667tkF69 fIRR351o2BEHjhY0ODe+TG10EuztHUCJ7EIePxH5z/5q+h0xCev9jTD4VKMHIrb5gC2SMa F5duT5yAo9KV2CclzPCxoHVo0j3WttN9RDknunpdxC64IisqrQIko/PWAtpHUw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=umanitoba.onmicrosoft.com header.s=selector2-umanitoba-onmicrosoft-com header.b=F93ooPjn; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673060992; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Crq0DcLIA0i2K6BiKDM8rvXfNzLQFJujyXnHS1wbM4w=; b=EPfsyF7EpIoEdoY4pZA1gcHKy3qW7S+duclmhukGMCXyG1rTkBD85zRkLXp/2iwboK4PQZ thJuxs5SHdlnjtylEOggmzGOKcmsyPKOZAyzah+j0drdH51+GuV2/qy+SCkJuLq8cntcBD /h/S8N9P0qSAWl9/vC03jtE0i6vMpI2PmIhYeQwb6sDxMXJdQ1fca3lTuWtZPlv67Dnhe4 lN9A4UUGbe2e4ezch3+njD0O1TyvlX3z9OAu96kutflHO25E6TL9vISjcDXsrT7oCdlllz YKRJh2J7HgOeXFTi1VaOJwinr17kNGnerTgYtifme1FmVlRFGhuAqiheyM/56Q== X-Spam-Score: -11.25 X-Migadu-Queue-Id: 71C579452 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=umanitoba.onmicrosoft.com header.s=selector2-umanitoba-onmicrosoft-com header.b=F93ooPjn; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none; arc=pass ("microsoft.com:s=arcselector9901:i=1") X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -11.25 X-TUID: Do3VBaR2GyDC On Fri, Jan 06 2023, Ihor Radchenko wrote: > ******************************************************** > Caution: This message was sent from outside the University of Manitoba. > ******************************************************** > > Leo Butler writes: > >>> Apparently, `sleep-for' 1 second was not enough, and I decided to remov= e >>> checking file size completely. >> >> Hello Ihor, >> >> Is there an environment variable that could be used to determine is the >> tests are being run on sourcehut? This would let us cut out that test on >> sourcehut, while still keeping it elsewhere. > > No, we have nothing like this. > > In theory, we can bind something in > https://git.sr.ht/~bzg/org-mode-tests/tree/master/item/.builds/init.el, > but I am not sure if it is a good idea. > > The tests are failing not because something wrong in the CI machine, but > simply because CI machine is slow. You can get similar issue when > running Org tests on an actual proper old PC or simply when someone is > running CPU-heavy process alongside with Org tests. > > So, I do not think that creating exceptions for CI is a good idea. Ok. > >>> https://builds.sr.ht/~bzg/job/914954 >>> 2 unexpected results: >>> FAILED ob-octave/graphics-file ((should-not (get-buffer "*Org-Babe= l >>> Error Output*")) :form (get-buffer "*Org-Babel Error Output*") :valu= e >>> #)=20 >>> FAILED ob-octave/graphics-file-space ((should-not (get-buffer >>> "*Org-Babel Error Output*")) :form (get-buffer "*Org-Babel Error >>> Output*") :value #)=20 >>> >>> As you can see *Org-Babel Error Output* buffer does not exist when >>> running the test. >>> >>> Leo, could you please take a look? >> >> An earlier test is creating that *Org Babel Error Output* buffer. I will try to look into improving the tests so that we can trap the test(s) that is(are) creating that error buffer. >> That is killed on the first test, before the test is actually >> run. But GET-BUFFER behaves in an undocumented way: it returns a >> non-nil value, #. To remedy that, I have wrapped the >> calls in BUFFER-LIVE-P. > > This is not undocumented. The killed buffers still exists as Elisp > objects: Thanks, for pointing that out. I was relying on the docstring for GET-BUFFER. I see that I should have looked at the Elisp manual. Apologies. >> See the attached patch. > > Thanks! > Installed onto bugfix. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D41ebc2e= 40 Regards, Leo=