Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Flake]: [Docker] Library Page does not have any explorations in E2E playVoiceovers test (in Docker environment) #20234

Open
jayam04 opened this issue Apr 28, 2024 · 0 comments
Labels
bug Label to indicate an issue is a regression CI breakage This bug breaks CI workflows.

Comments

@jayam04
Copy link
Collaborator

jayam04 commented Apr 28, 2024

CI Test Type

E2E

Stacktrace

» /core/tests/webdriverio_desktop/playVoiceovers.js
 Voiceover player
[0-0] 2024-04-28T07:20:40.454Z WARN webdriver: Request encountered a stale element - terminating request
[0-0] 2024-04-28T07:20:42.594Z WARN webdriver: Request encountered a stale element - terminating request
[0-0] 2024-04-28T07:20:51.546Z WARN webdriver: Request encountered a stale element - terminating request
[0-0] 2024-04-28T07:20:52.098Z WARN webdriver: Request encountered a stale element - terminating request
[0-0] 2024-04-28T07:20:53.588Z WARN webdriver: Request encountered a stale element - terminating request
[0-0] 2024-04-28T07:20:54.338Z WARN webdriver: Request encountered a stale element - terminating request
[0-0] Error in ""before all" hook"
Unknown error.
 Hook executed : "before all" hook
[0-0] Test name: Voiceover player should play voiceovers for multiple languages has video path /home/runner/work/oppia/webdriverio-video/os37i7.mp4
[0-0] Error in "Voiceover player should play voiceovers for multiple languages"
Error: Library Page does not have any explorations
Error: 
    at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:132:39)
    at Generator.next (<anonymous>)
    at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
    at Object.visibilityOf (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
    at LibraryPage.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LibraryPage.js:208:19)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LibraryPage.js:17:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    ✖ should play voiceovers for multiple languages » [ /core/tests/webdriverio_desktop/playVoiceovers.js ]
[0-0] ffmpeg exited with code 255
[0-0] Error in ""after all" hook"
Error: Library Page does not have any explorations
Error: 
    at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:132:39)
    at Generator.next (<anonymous>)
    at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
    at Object.visibilityOf (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
    at LibraryPage.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LibraryPage.js:208:19)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LibraryPage.js:17:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
 Hook executed : "after all" hook
[0-0] FAILED in chrome - /core/tests/webdriverio_desktop/playVoiceovers.js

 "spec" Reporter:
------------------------------------------------------------------
Running: chrome (v102.0.5005.61) on LINUX
Session ID: a4ad1bf5eddadcf22bd726d40a8142df

» /core/tests/webdriverio_desktop/playVoiceovers.js
Voiceover player
   ✖ "before all" hook
   ✖ should play voiceovers for multiple languages
   ✖ "after all" hook

3 failing (1m 23.7s)

1) Voiceover player "before all" hook
Option with text "हिन्दी (Hindi)" not found.
Error: Option with text "हिन्दी (Hindi)" not found.
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

2) Voiceover player should play voiceovers for multiple languages
Error: Library Page does not have any explorations
Error: 
    at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:132:39)
    at Generator.next (<anonymous>)
    at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
    at Object.visibilityOf (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
    at LibraryPage.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LibraryPage.js:208:19)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LibraryPage.js:17:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Error: Library Page does not have any explorations
Error: 
    at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:132:39)
    at Generator.next (<anonymous>)
    at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
    at Object.visibilityOf (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
    at LibraryPage.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LibraryPage.js:208:19)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LibraryPage.js:17:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

3) Voiceover player "after all" hook
Error: Library Page does not have any explorations
Error: 
    at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:132:39)
    at Generator.next (<anonymous>)
    at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
    at Object.visibilityOf (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
    at LibraryPage.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LibraryPage.js:208:19)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LibraryPage.js:17:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Error: Library Page does not have any explorations
Error: 
    at Object.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:132:39)
    at Generator.next (<anonymous>)
    at /home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:20:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:16:12)
    at Object.visibilityOf (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/waitFor.js:138:12)
    at LibraryPage.<anonymous> (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LibraryPage.js:208:19)
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/work/oppia/oppia/core/tests/webdriverio_utils/LibraryPage.js:17:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)


Spec Files:	 0 passed, 1 failed, 1 total (100% completed) in 00:01:32 

make: *** [Makefile:218: run_tests.e2e] Error 1
Attempt #1 failed with exit code 2
Output doesn't contain flaky indicators, considering it a failure

Additional Information

e2e test is failing in Docker environment as Docker is slower.

Occurrences

Occurred in #19962 PR here

Debugging document link

No response

@jayam04 jayam04 added triage needed bug Label to indicate an issue is a regression CI breakage This bug breaks CI workflows. labels Apr 28, 2024
@jayam04 jayam04 changed the title [Flake]: [Docker] E2E test playVoiceovers failing in Docker environment [Flake]: [Docker] Library Page does not have any explorations in E2E playVoiceovers test (in Docker environment) May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Label to indicate an issue is a regression CI breakage This bug breaks CI workflows.
Projects
Status: Todo
Development

No branches or pull requests

2 participants