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

Go tasks not terminating #16141

Closed
6 of 23 tasks
ScrewTSW opened this issue Feb 26, 2020 · 3 comments
Closed
6 of 23 tasks

Go tasks not terminating #16141

ScrewTSW opened this issue Feb 26, 2020 · 3 comments
Labels
area/plugins kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@ScrewTSW
Copy link
Member

ScrewTSW commented Feb 26, 2020

Describe the bug

When you run tasks like test outyet within the golang example project, the test is executed and finished, but there is no exit code returned and the task stays in the running state indefinitely, therefore preventing us from running any other tasks.

When the test outyet is executed, it's impossible to terminate the task.

This bug also causes other tasks to not start at all.

Che version

  • latest
  • nightly
  • other: 7.8.0

Steps to reproduce

  • Chose Go example in the getting started dashboard
  • Run test outyet task
  • Wait for it to finish, but the task remains running
  • Try to run the task again and choose Terminate - nothing happens
  • Try to execute any other task - won't start

Expected behavior

  • test outyet should return an exit code and terminate
  • running a go task shouldn't prevent us from running other tasks

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version) 4.2, 4.3
  • minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Installation method

  • chectl -a operator -p openshift [--tls --self-signed-cert] <- these are optional
  • che-operator
  • minishift-addon
  • I don't know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • other: ocp42.codereadyqe.com, rhopp-ocp43.devcluster.openshift.com
@ScrewTSW ScrewTSW added the kind/bug Outline of a bug - must adhere to the bug report template. label Feb 26, 2020
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Feb 26, 2020
@benoitf benoitf added area/plugins severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Feb 26, 2020
@RomanNikitenko
Copy link
Member

@ScrewTSW
thank you for reporting the issue!

I tried it on che.openshift.io
version

and can not reproduce the issue.

I did it like:
https://youtu.be/5xBTQHh6vsg

go_bug

Maybe some additional steps?
Can you reproduce it permanently?

thanks in advance!

@ScrewTSW
Copy link
Member Author

@RomanNikitenko Hello.
Yesterday we have been trying it with @rhopp on 7.10.0 snapshot and the behavior was flaky. Sometimes the exit code was returned and the task terminated correctly, sometimes it didn't but at least in 7.10.0 it didn't prevent me from executing different tasks, or restarting the same task.

I am currently implementing a periodic test for Go devfile, so I would get back to you once we have more data collected from running the same operation on the go devfile in tests and seeing how often the issue appears.

@ericwill ericwill mentioned this issue Jul 15, 2020
38 tasks
@ericwill ericwill added this to the 7.17 milestone Jul 15, 2020
@vitaliy-guliy
Copy link
Contributor

It looks like the issue is not relevant anymore, works fine with latest Che 7.15.1.
It was tested on local minikube and on che.openshift.io.

Screenshot from 2020-07-16 16-25-51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugins kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

6 participants