Skip to content

WASM Emscripten buildbot: "PyRepl in Chrome smoke test" fails #153600

Description

@vstinner

WASM Emscripten 3.x: https://buildbot.python.org/#/builders/1810/builds/3186

  1) [chromium] › index.spec.ts:3:5 › has title ────────────────────────────────────────────────────

    Error: expect(locator).toHaveText(expected) failed

    Locator: locator('#terminal')
    Expected pattern: /Python.*on emscripten.*Type.*for more information/
    Received string:  "                                 "
    Timeout: 5000ms

    Call log:
      - Expect "toHaveText" with timeout 5000ms
      - waiting for locator('#terminal')
        9 × locator resolved to <div id="terminal">…</div>
          - unexpected value "                                 "


       6 |   await expect(page).toHaveTitle("Emscripten PyRepl Example");
       7 |   const xterm = await page.locator('css=#terminal');
    >  8 |   await expect(xterm).toHaveText(/Python.*on emscripten.*Type.*for more information/);
         |                       ^
       9 |   const xtermInput = await page.getByRole('textbox');
      10 |   await xtermInput.pressSequentially(`def f():\nprint("hello", "emscripten repl!")\n\n`);
      11 |   await xtermInput.pressSequentially(`f()\n`);
        at /home/emscripten/buildarea/3.x.rkm-emscripten.emscripten/build/Platforms/emscripten/browser_test/index.spec.ts:8:23

    Error Context: test-results/index-has-title-chromium/error-context.md

The first failed build was 4 days ago: https://buildbot.python.org/#/builders/1810/builds/3149. On the changes of this build mentions Emscripten: gh-145177: Update Emscripten to 6.0.2.

cc @hoodmane

Activity

  1. vstinner commented on Jul 11, 2026

    @vstinner
    MemberAuthor

    cc @freakboy3742

    Oh wait, it seems like I created a duplicate of issue gh-153313. I'm not sure, so I leave this issue open for now.

  2. hoodmane commented on Jul 11, 2026

    @hoodmane
    Contributor

    I'll try to fix this tomorrow hopefully.

  3. freakboy3742 commented on Jul 12, 2026

    @freakboy3742
    Contributor

    Yeah - I think this is a duplicate. Thanks for the report though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-emscriptenpendingThe issue will be closed if no feedback is providedtestsTests in the Lib/test dir

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions