Step does not finish
See original GitHub issueThanks for your great effort to let us run emulator via GitHub Actions!
I have such a workflow:
test:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build gplay
run: |
mkdir -p $HOME/.gradle
echo "org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError" > $HOME/.gradle/gradle.properties
./gradlew assembleGplayDebug
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script:
./gradlew gplayDebugExecuteScreenshotTests -Pandroid.testInstrumentationRunnerArguments.annotation=com.owncloud.android.utils.ScreenshotTest2
- name: upload failing results
if: ${{ failure() }}
run:
scripts/uploadReport.sh
I log I then see:
You can review the execution report here: /Users/runner/work/android/android/build/reports/shot/verification/index.html
> Task :gplayDebugExecuteScreenshotTests FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':gplayDebugExecuteScreenshotTests'.
> Screenshots comparision fail. Review the execution report to see what's broken your build.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 4m 15s
68 actionable tasks: 33 executed, 35 up-to-date
Error: The process '/bin/sh' failed with exit code 1
/Users/runner/Library/Android/sdk/platform-tools/adb -s emulator-5554 emu kill
OK: killing emulator, bye bye
OK
eglMakeCurrent failed in binding subwindow!
eglMakeCurrent failed in binding subwindow!
eglMakeCurrent failed in binding subwindow!
eglMakeCurrent failed in binding subwindow!
eglMakeCurrent failed in binding subwindow!
eglMakeCurrent failed in binding subwindow!
eglMakeCurrent failed in binding subwindow!
eglMakeCurrent failed in binding subwindow!
eglMakeCurrent failed in binding subwindow!
eglMakeCurrent failed in binding subwindow!
eglMakeCurrent failed in binding subwindow!
eglMakeCurrent failed in binding subwindow!
So gradle step failed, sh exits with 1. Emulator gets killed, but then nothing happens.
Next step “upload failing results” is not executed, nor workflow finishes.
I then manually killed it.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
When tests fail during github-action@v3 the step does not emit ...
I'm executing parallelized tests recorded to the Cypress Dashboard using github-action@v3 Functionally everything works perfectly and as expected with the ...
Read more >Spring-Batch job does not end after last step - Stack Overflow
As you can see, my job is scheduled to launch every 5 seconds. But, after first launch, it does not end; it goes...
Read more >Starting and Completing the Test - USMLE.org
If you start the examination but do not complete it for reasons other than a technical problem or expiration of time, you should...
Read more >Tips on What to Do When a Contractor Doesn't Finish the Job
This step-by-step guide will help you responsibly handle unfinished contract work. 1. Talk to Your Contractor. While it may seem like a stretch, ......
Read more >Process chain problem: Step completion not occuring
My problem involves a datastore activation step in a process chain. The step will start and the datastore is activated successfully - all...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks, indeed this was the problem: I somehow 🤷♂️ thought it would extend the options…
This now works!
Thanks!
Thanks for your help! Removing emulatorOption seems to help.
Now I need to find another way to have a specific resolution, as the pre-recorded screenshots are all in size 500x833.