Skip to content

browser_2gb.test_mainScriptUrlOrBlob_blob failing fairly consistently in CI #26882

Open

Description

@sbc100

I can't reproduce locally.

If I log into the bot I can reproduce, but only if I run the entire test suite.

It seems to be something that recently change, maybe with a new version of chrome-beta shipping?

I can't see why that one test would fail consistently though.

Activity

  1. sbc100 commented on May 7, 2026

    @sbc100
    CollaboratorAuthor

    test_mainScriptUrlOrBlob_blob_es6 is also sometimes failing.

  2. juj commented on May 7, 2026

    @juj
    Collaborator

    I noticed this on CircleCI as well. Searching my own bot CI logs, I can't find any failures on this test, not even as a flake.

    Here are summary views to recent failures:

    Windows has regressed out of order, the harness is in a bad state there, so I don't have good data from that.

    My CI does not have Chrome running on it though, only Firefox and Safari.

    (The test browser.test_fs_idbfs_sync_autopersist is flaky-failing a lot for me, which I've been trying to understand more)

  3. brendandahl commented on May 8, 2026

    @brendandahl
    Collaborator

    I noticed this test doesn't use a PTHREAD_POOL_SIZE. Should we use one PTHREAD_POOL_SIZE=1, to ensure that's not the source of the flakiness?

  4. sbc100 commented on May 8, 2026

    @sbc100
    CollaboratorAuthor

    I notices we are also seeing some flakiness with test_pthread_hello_thread and test_minimal_runtime_hello_thread which are basically using the same test (test/pthread/hello_thread.c).

    We could try PTHREAD_POOL_SIZE yes, but I think maybe this is another insidence of the same issue with have had for while now around race conditions during shutdown when the exit is coming from a pthread: #26502

  5. brendandahl commented on May 8, 2026

    @brendandahl
    Collaborator

    When you reproduced the failure, did you see hello from thread!? I reproduced a hang once locally and it seemed like hello from thread! was never printed leading me to think it wasn't a shutdown issue, but it's hard to tell with all the interleaved test output.

  6. sbc100 commented on May 8, 2026

    @sbc100
    CollaboratorAuthor

    It could be some kind of race between the printing of the hello from thread! and the shutdown. i.e. I think even console.log itself is somehow proxied back the main thread internally.

  7. sbc100 commented on May 8, 2026

    @sbc100
    CollaboratorAuthor

    I was only ever able to repro on the CI machines, never locally. And never in isolation.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions