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

Error during retry #40

Closed
utf opened this issue Dec 8, 2023 · 4 comments
Closed

Error during retry #40

utf opened this issue Dec 8, 2023 · 4 comments

Comments

@utf
Copy link
Collaborator

utf commented Dec 8, 2023

I had a job that errored during checkout.

I retried the job with

> jf job retry 1
The selected project is val from config file /home/alex/.jfremote/val.yaml
Operation completed: 1 jobs modified

However, when I then checked the status of the job I see:

> jf job info 1
The selected project is val from config file /home/alex/.jfremote/val.yaml
An Error occurred during the command execution: KeyError 'retry_time_limit'

A few seconds later I tried again, and this error disappeared and the job state appeared like normal.

@gpetretto
Copy link
Contributor

Likely a bug here. I will try to reproduce it.
Just to clarify, do you maybe remember if the error was during checkout, or the job was CHECKED_OUT, so the error was in the subsequent step (i.e. upload)?

@utf
Copy link
Collaborator Author

utf commented Dec 8, 2023

I think you can reproduce it by specifying a worker for which the configuration doesn't exist. The job state is REMOTE_ERROR. The error has actually came back after a second retry and hasn't gone away.

@gpetretto
Copy link
Contributor

I should have fixed it. I introduced it in one of the latest updates.
Can you please pull the latest commits to confirm it?

@utf
Copy link
Collaborator Author

utf commented Dec 8, 2023

That fixed it! Thank you

@utf utf closed this as completed Dec 8, 2023
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