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

The task crashes while the Tower job is successful #18

Open
jeremydelmotte opened this issue Oct 26, 2022 · 0 comments
Open

The task crashes while the Tower job is successful #18

jeremydelmotte opened this issue Oct 26, 2022 · 0 comments

Comments

@jeremydelmotte
Copy link

jeremydelmotte commented Oct 26, 2022

Hi guys,

I use the "Launch Job" task in several of my Release templates, and sometimes I have a few tasks that crash with Java errors, including:

Exception during execution: javax.script.ScriptException: tower_cli.exceptions.AuthError: Invalid Tower authentication credentials. in <script> at line number 82

Or

Exception during execution: javax.script.ScriptException: java.util.concurrent.RejectedExecutionException: java.util.concurrent.RejectedExecutionException: event executor terminated in <script> at line number 82

What is strange is that in Tower, the job starts well, runs well and ends well.

Another use case with the same scenario:

  • I launch a Tower job by unchecking the "waitTillComplete" property
  • The Tower job launches and runs correctly; however the Release task crashes with the error:

Exception during execution: javax.script.ScriptException: Exception: Failed with status pending in <script> at line number 82

In this case, I had to force the value of "monitor" to "True" instead of "task_vars['waitTillComplete']

Would there be a problem when Tower hands over to Release?

Regards,

Jeremy

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

1 participant