Ihor Radchenko <yanta...@posteo.net> 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).