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

Cron is created and running fine, but once I stop the cron through UI not able to create any new cron for any test #3751

Closed
naveenreddymanukonda opened this issue May 3, 2023 · 11 comments
Assignees
Labels
bug 🐛 Something is not working as should be service:dashboard 🎡 Testkube Web Dashboard

Comments

@naveenreddymanukonda
Copy link

Cron is created and running fine, but once I stop the cron through UI not able to create any new cron for any test

To Reproduce
Steps to reproduce the behavior:

  1. Create a job from UI and schedule it, cron will be created.
  2. Now remove the scheduling from UI

image

3. From now we will not be able to create any test with cron functionality

Expected behavior
Cron should stop working when we request from UI and should be able to create a new cron

@naveenreddymanukonda naveenreddymanukonda added the bug 🐛 Something is not working as should be label May 3, 2023
@vsukhin
Copy link
Collaborator

vsukhin commented May 3, 2023

thank you @naveenreddymanukonda do you see the same issue for CLI or it's UI only?

@vsukhin vsukhin added this to Testkube May 3, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Testkube May 3, 2023
@naveenreddymanukonda
Copy link
Author

naveenreddymanukonda commented May 3, 2023

@vsukhin I didn't try with CLI, I tried from API and from UI both results are on same line

@vsukhin
Copy link
Collaborator

vsukhin commented May 3, 2023

This works for me:
kubectl testkube create test --git-branch main --git-uri https://github.com/kubeshop/testkube-example-cypress-project.git --git-path "cypress" --name cj-test --type cypress/project --schedule "*/5 * * * "
kubectl get cronjobs -n testkube
kubectl testkube delete test cj-test
kubectl testkube create test --git-branch main --git-uri https://github.com/kubeshop/testkube-example-cypress-project.git --git-path "cypress" --name new-test --type cypress/project --schedule "
/5 * * * *"
kubectl get cronjobs -n testkube
kubectl testkube delete test new-test

@naveenreddymanukonda
Copy link
Author

@vsukhin I want to create this through API, but will try with CLI as well

@vsukhin
Copy link
Collaborator

vsukhin commented May 3, 2023

sure thing. but cli is an api client in general

@naveenreddymanukonda
Copy link
Author

naveenreddymanukonda commented May 3, 2023

@vsukhin Please check the below Screenshots and please suggest how can I move further

In the below image, I am hitting through the API

image

The test is created on the testkube

image

I am able to see the schedular

image

But when I see the command prompt it is not shown

image

@vsukhin
Copy link
Collaborator

vsukhin commented May 3, 2023

needs to ask our front end devs to check @rangoo94 @pavloburchak it out

@rangoo94 rangoo94 moved this from 🆕 New to 🏗 In progress in Testkube May 8, 2023
@rangoo94 rangoo94 moved this from 🏗 In progress to 👀 In review in Testkube May 8, 2023
@rangoo94 rangoo94 assigned rangoo94 and unassigned pavloburchak May 8, 2023
@rangoo94 rangoo94 added the service:dashboard 🎡 Testkube Web Dashboard label May 10, 2023
@naveenreddymanukonda
Copy link
Author

@vsukhin any update on this issue, if it is merged what are the changes I need to do from my end

@rangoo94
Copy link
Member

Hi @naveenreddymanukonda!

The fix is merged to the develop branch, so we will release it soon, in the next stable version. I will inform you there when it will be packaged.

@rangoo94
Copy link
Member

rangoo94 commented May 16, 2023

Hi @naveenreddymanukonda! Sorry, that it took so long, but unfortunately this release was pretty heavy, and we had to test it precisely.

The fix has been released with the latest Helm chart (1.11.213). It should work fine after updating Testkube to the latest version.

@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Testkube May 16, 2023
@naveenreddymanukonda
Copy link
Author

@rangoo94 thanks for the update
Great job guys
will check and let you know with the latest helm chart cheers :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something is not working as should be service:dashboard 🎡 Testkube Web Dashboard
Projects
Status: Done
Development

No branches or pull requests

4 participants