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

Sporadic Failures #265

Open
sdoward opened this issue Apr 7, 2022 · 2 comments
Open

Sporadic Failures #265

sdoward opened this issue Apr 7, 2022 · 2 comments

Comments

@sdoward
Copy link

sdoward commented Apr 7, 2022

Sometimes I am seeing the following error, sometimes not. I believe this happens when I am running multiple steps in parallel. How would I go about fixing this?

Run android-actions/setup-android@v[2](https://github.com/ShareTheMeal/app-android/runs/5864050026?check_suite_focus=true#step:4:2)
  env:
    JAVA_HOME: /home/actions-runner/_work/_tool/Java_Zulu_jdk/11.0.14-9/x64
(node:[3](https://github.com/ShareTheMeal/app-android/runs/5864050026?check_suite_focus=true#step:4:3)061[4](https://github.com/ShareTheMeal/app-android/runs/5864050026?check_suite_focus=true#step:4:4)) UnhandledPromiseRejectionWarning: Error: Unable to locate executable file: unzip. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
    at Object.<anonymous> (/home/actions-runner/_work/_actions/android-actions/setup-android/v2/dist/index.js:2117:27)
    at Generator.next (<anonymous>)
    at fulfilled (/home/actions-runner/_work/_actions/android-actions/setup-android/v2/dist/index.js:1942:[5](https://github.com/ShareTheMeal/app-android/runs/5864050026?check_suite_focus=true#step:4:5)8)
(node:30[6](https://github.com/ShareTheMeal/app-android/runs/5864050026?check_suite_focus=true#step:4:6)14) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:30614) [DEP001[8](https://github.com/ShareTheMeal/app-android/runs/5864050026?check_suite_focus=true#step:4:8)] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Also it looks like this action is not terminating correctly so it looks like the steps after this one fail.

Screenshot 2022-04-07 at 09 20 42

@ViliusSutkus89
Copy link
Collaborator

@sdoward , I don't know why it's sporadic, but the error message tells me that unzip tool is missing. Error: Unable to locate executable file: unzip. Please verify either the file path exists.

Could we make sure that the tool exists by running unzip -v in the console?

@ViliusSutkus89
Copy link
Collaborator

I should add detection for missing unzip tool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants