oppia / oppia

A free, online learning platform to make quality education accessible for all.
https://www.oppia.org
Apache License 2.0
5.77k stars 3.93k forks source link

[Flake]: Error: net::ERR_ABORTED at http://localhost:8181/classroom-admin #20638

Closed Akhilesh-max closed 2 months ago

Akhilesh-max commented 3 months ago

CI Test Type

Acceptance

Stacktrace

Error: net::ERR_ABORTED at http://localhost:8181/classroom-admin
Stack:
Error: net::ERR_ABORTED at http://localhost:8181/classroom-admin
    at navigate (/home/runner/work/oppia/oppia/node_modules/puppeteer/src/common/FrameManager.ts:218:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at FrameManager.navigateFrame (/home/runner/work/oppia/oppia/node_modules/puppeteer/src/common/FrameManager.ts:188:17)
    at Frame.goto (/home/runner/work/oppia/oppia/node_modules/puppeteer/src/common/FrameManager.ts:765:12)
    at Page.goto (/home/runner/work/oppia/oppia/node_modules/puppeteer/src/common/Page.ts:1766:12)
    at BaseUser.navigateToClassroomAdminPage (/home/runner/work/oppia/oppia/core/tests/puppeteer-acceptance-tests/utilities/user/curriculum-admin.ts:1055:5)
    at BaseUser.expectNumberOfClassroomsToBe (/home/runner/work/oppia/oppia/core/tests/puppeteer-acceptance-tests/utilities/user/curriculum-admin.ts:1170:5)
    at UserContext.<anonymous> (/home/runner/work/oppia/oppia/core/tests/puppeteer-acceptance-tests/specs/curriculum-admin/create-edit-and-delete-classroom.spec.ts:69:7)

Additional Information

No response

Occurrences

https://github.com/oppia/oppia/actions/runs/9815514404/job/27105082045

Debugging document link

No response

Akhilesh-max commented 3 months ago

Happened again : https://github.com/oppia/oppia/actions/runs/9815961713/job/27105958216

Akhilesh-max commented 3 months ago

Happened again: https://github.com/oppia/oppia/actions/runs/9814365039/job/27102341458

@AFZL210 its blocking merge queue.

Akhilesh-max commented 3 months ago

Happened again : https://github.com/oppia/oppia/actions/runs/9812053230/job/27096230799

AFZL210 commented 3 months ago

@Akhilesh-max Yes that's strange I have tried a fix in this PR https://github.com/oppia/oppia/pull/20612.

Before going to the classroom-admin page, we are now waiting for all the network calls to resolve. It seems to work in every run.

Wait for this PR to get merged.

Akhilesh-max commented 3 months ago

@AFZL210 Thanks for the attempted fix!

AFZL210 commented 2 months ago

Closing this as this is now fixed by this PR.