From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KYNcE52XPWR3cgAASxT56A (envelope-from ) for ; Mon, 17 Apr 2023 21:01:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aEvXEJ2XPWQlUAEAG6o9tA (envelope-from ) for ; Mon, 17 Apr 2023 21:01:49 +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 D538018BBB for ; Mon, 17 Apr 2023 21:01:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poTob-0005Bp-9j; Mon, 17 Apr 2023 14:43:01 -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 ) id 1poToZ-0005Bg-Qp for emacs-orgmode@gnu.org; Mon, 17 Apr 2023 14:42:59 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1poToT-0008UM-PW for emacs-orgmode@gnu.org; Mon, 17 Apr 2023 14:42:59 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E0B422401E3 for ; Mon, 17 Apr 2023 20:42:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681756969; bh=PuaF2MZwrJdpxK8IrafwYaPjSoTzKdYrrZeCvk5w5/Y=; h=From:To:Subject:Date:From; b=BC9mbnagGlOgXtfJoX4g9kcGgtOhf2KwZtj1/VStNRThwCcLE5y4dN5I8k5XGEn5X KGjRJi/Fx5NCZjkrGLwi2y+XL0+UO3wiywHii2oiAsdZTiyopDJnpaFv1RaGS3MRXJ F+DtRCYh4ChuFlVkOiv+t6k4dl0LE9Ni7CkAUgqNuHcGQpy3QMIhv4L2K2aDosFASH 1KB1IoO3xBQiyNSUKYmXTPKKRXZ3b2hRLiTeGPqlHyDEa0CqYGAIjOjF4RAYZRq0UX UJqggBFUMVzUOscP95qkegD/3uf0p+1ga9c7Uj3OMf3PNMxa5zjooXlAjkLAWDfZ2H ++IB+udQ/eaoQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q0bX93RtZz6tsg; Mon, 17 Apr 2023 20:42:49 +0200 (CEST) From: Ihor Radchenko To: emacs-orgmode@gnu.org, ESS-core@r-project.org, lionel.hry@gmail.com Subject: [BUG] ob-R tests fail on Emacs 27 since ESS commit 536b5b914a7 [9.7-pre (release_9.6.4-318-gcfe5e0.dirty @ /home/yantar92/.emacs.d/straight/build/org/)] Date: Mon, 17 Apr 2023 18:45:21 +0000 Message-ID: <87ilduqrem.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=BC9mbnag; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681758108; a=rsa-sha256; cv=none; b=MfYlG3rG1W3PYDUVAS/wbR2qusEKywPBzOxCUbry1im7yYojTdxf0ikfdlKKGm9OPwgwTN I3cLS3+CKaYDztl3PSy4sMFhbI7lfUStdNCt6+vPxGijctveMwLKtUaqdB3cF1RysX4TcY q+4XZAPyk8FD2NNMRIbVvroOfo+iSGwjt/cj4mdLaIHuohnQv7J3byqS7NzNgy2T8WJfl3 FB3+dEMAovHzvBYzEhFjTxENLoj29INevssi4O3H1Mp127gYU5PiOOMCFErDpZajRodWNO XSEM8zgIQjsrvUBvXLkJusbnptqBfJt3xR0ygTKkxqhbk2WmbVWuaQO4U7zJOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681758108; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=BzuMO+nUM7+gwHVfEkoeK2xkXGLpERotEGgoAVEb/vM=; b=K9v/G/lK2xZX6AfwZQbX0La8nQiMIQhwsvXmgr0XTclIoa4SuNXWAQhN7NwxxFlc6jyYa0 he8HgAnNegzep/8J/0bL2iuNf3xDwHwfRJViCop0LPz7qWXsisfEB4mVUu0pi9ayMpKLUz Qs8MuoMNYRdUfykT1LLR42IQ+G+BKzb9KFFLqS0i06D7nEYlK3L6gw4mm0ZmL1y2YxGQq6 jKVQ7YQ5PXLeuzpLkDLspS+eL2skk5ZFJ1IEjYeHmzAGzsplU6uA/9+sZTDT5KTqDfD2Uv zgL/yP4jsW0thAmW42SNRcsjCa4L++BdwuAYLar4Vr1cX2p6aGTWAUfmQbJryA== X-Migadu-Spam-Score: -9.70 X-Spam-Score: -9.70 X-Migadu-Queue-Id: D538018BBB Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=BC9mbnag; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Scanner: scn0.migadu.com X-TUID: WNRLZ6Q0kmPF Steps to reproduce: 1. cd /path/to/org/git/repo 2. make test EMACS=emacs-27 BTEST_POST="-L /path/to/ESS/lisp -l ob-R -l ess -l ess-r-mode" BTEST_RE="async" 3 unexpected results: FAILED ob-session-async-R-named-output FAILED ob-session-async-R-output-drawer FAILED ob-session-async-R-simple-session-async-output The tests started failing since 2023/04/04. https://builds.sr.ht/~bzg/job/968099 I bisected the failure down to the following ESS commit: 536b5b914a75afa37ee05aa8ba0aecd0f9c9eb33 Author: Lionel Henry AuthorDate: Mon Apr 3 13:01:11 2023 +0200 Commit: Lionel Henry CommitDate: Mon Apr 3 13:01:11 2023 +0200 Parent: fef059c3 Wait for process after `ess-r-post-run-hook` Contained: master Follows: ESSRv1.8 (21) Move `ess-r` startup commands out of `ess-r-post-run-hook` They are blocking commands and the user might have added streaming commands to the hook. Also document why users should be careful when mixing blocking and streaming commands. ------ I am not sure what is going on as ob-R does not really use the changed hooks. The suspects are (ess-execute-screen-options t) (ess-set-working-directory default-directory))) In particular, I think that `ess-execute-screen-options' is doing something funny because one of the tests fails with "1:5" outputting 1 2 3 4 5 split into two lines, which looks like some text filling problem. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at