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

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions