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

Check existence of start and stop jobs before creation #310

Open
yorugac opened this issue Oct 13, 2023 · 1 comment
Open

Check existence of start and stop jobs before creation #310

yorugac opened this issue Oct 13, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@yorugac
Copy link
Collaborator

yorugac commented Oct 13, 2023

Feature Description

It's common to see the following lines in k6-operator logs during test runs:

2023-10-13T19:32:16Z    ERROR   controllers.TestRun     Failed to launch k6 test starter        {"namespace": "default", "name": "k6-sample", "reconcileID": "a04a3862-895c-4b66-985d-f98d558c66c6", "error": "jobs.batch \"k6-sample-starter\" already exists"}

Both for start and stop job. This happens because there's no check for existence of those jobs prior to creating them and the state of TestRun hasn't caught up yet.

Suggested Solution (optional)

Unless something else comes up, it should be a straight-forward addition.

Already existing or connected issues / PRs (optional)

No response

@yorugac yorugac added enhancement New feature or request good first issue Good for newcomers hacktoberfest labels Oct 13, 2023
@Rajan-226
Copy link

Hey @yorugac , Would like to work on this. Possible to any more details or point me to code from where I can start?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants