Skip to content

Firefox E2E tests are failing with "Page closed" #21355

@silverwind

Description

@silverwind
Member

https://drone.gitea.io/go-gitea/gitea/61116/4/7

Seems like a persistent failure. Maybe @kdumontnu has any ideas. Otherwise, I suggest disabling Firefox.

Activity

added a commit that references this issue on Oct 6, 2022
added a commit that references this issue on Oct 6, 2022
wxiaoguang

wxiaoguang commented on Oct 7, 2022

@wxiaoguang
Contributor

The browser object in code is not related to this problem. The problem here is firefox can not call newPage (even without the browser, the test framework still need to call newPage to open a new page for test).

Just a guess: I can see a suspicious error log Sandbox: thread-synchronized seccomp failed: Unknown error 524, so I suspect that this problem is caused by host docker's seccomp policy. Firefox needs to set seccomp+tsync, but it fails, then firefox crashes.


ref, I opened an issue in playwright:

silverwind

silverwind commented on Oct 7, 2022

@silverwind
MemberAuthor

Where do you see that error? As for playwright issues, I found microsoft/playwright#17688, but it's not really helpful.

wxiaoguang

wxiaoguang commented on Oct 7, 2022

@wxiaoguang
Contributor

Where do you see that error? As for playwright issues, I found microsoft/playwright#17688, but it's not really helpful.

I collected the logs for microsoft/playwright#17876 from our CI/CD pipeline by #20744

wxiaoguang

wxiaoguang commented on Apr 23, 2025

@wxiaoguang
Contributor

Firefox test has been disabled for long time, maybe it doesn't fail now but there seems no need for it.

locked as resolved and limited conversation to collaborators on Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @silverwind@wxiaoguang

      Issue actions

        Firefox E2E tests are failing with "Page closed" · Issue #21355 · go-gitea/gitea