From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KOhdLece6mSCWwAAauVa8A:P1 (envelope-from ) for ; Sat, 26 Aug 2023 17:48:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KOhdLece6mSCWwAAauVa8A (envelope-from ) for ; Sat, 26 Aug 2023 17:48:55 +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 4CE7E51DF2 for ; Sat, 26 Aug 2023 17:48:54 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=QnqkTfs7; 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=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693064935; a=rsa-sha256; cv=none; b=tWofCVc7qTVD8GoYjr8QNS6fE2ltbPoefBD6c3u5jcSlBqEQQQQtFfmido8Lojz80CQHeE Fj4kCsEk4yVHVIEuxXUpMqJoUi+1lgMEtn3ZTi5zLx4fidqNFiJocM84zaFIE6pMNQAYyX mXZKGsXSJcpy8fJwDjDm7iRG3W+RMoreg04x0m08d7z+nW2LjYPGZHOPUTFYLoHLGZxhRK reTvltDVRUpruLX5aTh/h+/UHsFQV95ME1h16TMMoP8CZmylaYpI7THjMY1CoFMtnsCpZP 4aET8nU+noofKm6Nv3vlfDAXwh23b8a3bpwpxeeva7ibO8Ii5QI+nBBUClF1tQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=QnqkTfs7; 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=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693064935; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=r/1pPdcs8gnzNfLufzwGUuvqsYaeHQxcelCHN0nk+2k=; b=AQ1RlEYbkE0Dli1lfbry6De173PiccBOk9NBf9PpGVv2Sdkkw4fOzCL1BJkMSWWqh3ou+D FBi0gxWJMlMOfVYqs2EP2OsyaIr/KwI5rk0W7gzNBMi2t4RWCtKSNmWhArsjlfROqLQULA TnQUMxpOdTsVpg+WzR3NFDsJq+kzzrbwkmoPVUqbxAEwQoSuAzEZgOlYF8FnTlHn7htvAd fY8epLxiH2jz04m1GpIk3V+KXfe2UUVl87P8Zh+MPxyta6ubJ9TxOflGwD43QYBpGJSEnx zRd4xUipEL2MnsWkIi/1v6ZXyUik8SX6g9EKPHh/yraf/n6QspvAQEAp4nIs/Q== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZvVv-0001xS-NM; Sat, 26 Aug 2023 11:47:51 -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 1qZvVu-0001xC-B7 for emacs-orgmode@gnu.org; Sat, 26 Aug 2023 11:47:50 -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 ) id 1qZvVs-0005bU-0i for emacs-orgmode@gnu.org; Sat, 26 Aug 2023 11:47:50 -0400 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1bf1935f6c2so12932975ad.1 for ; Sat, 26 Aug 2023 08:47:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693064866; x=1693669666; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=r/1pPdcs8gnzNfLufzwGUuvqsYaeHQxcelCHN0nk+2k=; b=QnqkTfs7WkZnAP2KTErXL8S/RweyJ3D/OplnGyoDxIaMM+9JxhDkmAN0UQp4O+nc4x t8FL1eZcut6VTvovyxuulCi2phTJqNKjL4I6BNeIa2A7cqsqa/cqWuNm2UJwe0rM/y3y scgY9RRLXzgi5vkBWzYia5QGDenrxABe3f+Vw4JNwjYAMLFi1aM4CfDXLwmizXnfj4zw 5HC704xhcj0SCdQ9oxtOyVQH9SsAisTkIYKhSm41yM+YNxlD/h//oR3SJiviRxBSZBR9 0pAct0OYrTBN+vEnQKNlV56CuQbH/mGQcJlzadqZQjnhEu7g+xfGQUO2u2xaheDTu4er dEgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693064866; x=1693669666; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=r/1pPdcs8gnzNfLufzwGUuvqsYaeHQxcelCHN0nk+2k=; b=dwcgtfdXousv9ge6CfnJP3vo+70EdaDr/5rGGXHLmHssnLcdtUxZL+eoWzSspjB3my YdqdlDTFZ5L1oMPel8jrQOUUDZwkQIC/Aq7sSCzE67HHgOF22ptQmuh2/o578E1IyVlz i7JKS5v6zbwI0OvcG0hf/cqDzBrDmtAFw+SkpY4yts1lt/a4xhTDc5nXd9mVKFnzaNR3 0YgPqI0a8EaUrefOw96/Gd8JrH6ql0y2CAxLX6C2t8qECL7A3Vynz6+VjPCFtXcNGcfN H9l881orG1mbCT02+kAK9ucy2gCUeQHsF5bNXxn/BXUWlfrAReAE35tjLuReST8w3kXR WOvg== X-Gm-Message-State: AOJu0Yx3Nri69jLyvvWp7Zwq/IRlu1LttzseM366TdLPhN08Cb7PZiuA 0Aizau2hcot19S5+Sk/MQMw= X-Google-Smtp-Source: AGHT+IEsUq9l5mpD9z6OkpmqoHmfaSSPF1WU3DnWnaqQiNRqbsp1/DGam3Yfl46e2lCdsa0e/xj1vQ== X-Received: by 2002:a17:902:f683:b0:1bc:7312:78e2 with SMTP id l3-20020a170902f68300b001bc731278e2mr35226456plg.5.1693064865978; Sat, 26 Aug 2023 08:47:45 -0700 (PDT) Received: from localhost (157-131-78-143.fiber.dynamic.sonic.net. [157.131.78.143]) by smtp.gmail.com with ESMTPSA id jh15-20020a170903328f00b001bb7a736b4csm3852839plb.77.2023.08.26.08.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Aug 2023 08:47:45 -0700 (PDT) From: Jack Kamm To: Ihor Radchenko , emacs-orgmode@gnu.org Subject: Re: [BUG] FAILED test-ob-python/session-multiline In-Reply-To: <873506j7ky.fsf@localhost> References: <873506j7ky.fsf@localhost> Date: Sat, 26 Aug 2023 08:47:44 -0700 Message-ID: <87il91ajq7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=jackkamm@gmail.com; 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-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 X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -9.56 X-Migadu-Queue-Id: 4CE7E51DF2 X-Migadu-Spam-Score: -9.56 X-TUID: 6ZUyQujNkX4G Ihor Radchenko writes: > Hi, > > We have fairly regular CI test failures for one of the ob-python tests. > The test does not fail _every_ time, but I keep seeing the problem in > various Emacs versions, including Emacs 29. > > Example log: https://builds.sr.ht/~bzg/job/1047678#task-build > > In the test the result somehow includes prompt: > > Test test-ob-python/session-multiline condition: > (ert-test-failed > ((should > (equal "20" > (org-test-with-temp-text "#+begin_src python :session :results output\n foo = 0\n for _ in range(10):\n foo += 1\n\n foo += 1\n\n print(foo)\n#+end_src" ...))) > :form > (equal "20" ">>> 20") > :value nil :explanation > > > --> (arrays-of-different-length 2 6 "20" ">>> 20" first-mismatch-at 0))) > > > FAILED 376/1256 test-ob-python/session-multiline (0.011955 sec) at ../lisp/test-ob-python.el:105 Hmmm. Do you have an idea of how long this has been happening, and how frequently it breaks? My first suspicion is the large ob-python commit I pushed on Tuesday: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=579e8c572345c42ad581d3ddf0f484567d55a787 But that commit shouldn't affect ":results output", at least not intentionally. Also, do you have any tips for searching or navigating the failing CI builds? I tried going to https://builds.sr.ht/~bzg, but it didn't include the failed build you linked to (which I guess is an "unlisted" build).