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

Deploy Che step is failing for the Smoke test of Che-Code #23029

Closed
RomanNikitenko opened this issue Jul 5, 2024 · 6 comments
Closed

Deploy Che step is failing for the Smoke test of Che-Code #23029

RomanNikitenko opened this issue Jul 5, 2024 · 6 comments
Assignees
Labels
area/chectl Issues related to chectl, the CLI of Che area/qe kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.

Comments

@RomanNikitenko
Copy link
Member

RomanNikitenko commented Jul 5, 2024

Describe the bug

The error is:

[18:07:14] Wait for Dev Workspace operator ready [started]
[18:09:35] Wait for Dev Workspace operator ready [failed]
[18:09:35] → ERR_TIMEOUT: Timeout set to pod ready timeout 120000
[18:09:35] Install Dev Workspace operator [failed]
[18:09:35] → ERR_TIMEOUT: Timeout set to pod ready timeout 120000
[18:09:35] Deploy Eclipse Che operator [failed]
[18:09:35] → ERR_TIMEOUT: Timeout set to pod ready timeout 120000
Error: Command server:deploy failed with the error: ERR_TIMEOUT: Timeout set to pod ready timeout 120000 See details: /home/runner/.cache/chectl/error.log. Eclipse Che logs: /tmp/chectl-logs/1720202774722.
    at newError (/usr/local/lib/chectl/lib/utils/utls.js:39:19)
    at wrapCommandError (/usr/local/lib/chectl/lib/utils/command-utils.js:54:32)
    at Deploy.<anonymous> (/usr/local/lib/chectl/lib/commands/server/deploy.js:82:65)
    at Generator.throw (<anonymous>)
    at rejected (/usr/local/lib/chectl/node_modules/tslib/tslib.js:167:69)
Cause: Error: ERR_TIMEOUT: Timeout set to pod ready timeout 120000
    at KubeClient.<anonymous> (/usr/local/lib/chectl/lib/api/kube-client.js:826:19)
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/lib/chectl/node_modules/tslib/tslib.js:166:62)
Error: Process completed with exit code 2.

Che version

7.88@latest

Steps to reproduce

Please see https://github.com/che-incubator/che-code/actions/runs/9811560435/job/27093908922?pr=380

Expected behavior

Deploy Che step is successful for the Smoke test of the Che-Code

@RomanNikitenko RomanNikitenko added the kind/bug Outline of a bug - must adhere to the bug report template. label Jul 5, 2024
@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 Jul 5, 2024
@RomanNikitenko RomanNikitenko added severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. severity/P1 Has a major impact to usage or development of the system. and removed severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. labels Jul 5, 2024
@svor
Copy link
Contributor

svor commented Jul 8, 2024

I have similar problem as a result of chectl server:deploy -p openshift

      ✖ Wait for Dev Workspace operator ready
        → ERR_TIMEOUT: Timeout set to pod ready timeout 60000
      Create Subscription eclipse-che
      Eclipse Che Operator pod bootstrap
      Fetch CheCluster sample from a CSV
      Create CheCluster Custom Resource
Error: Command server:deploy failed with the error: ERR_TIMEOUT: Timeout set to pod ready timeout 60000 See details: /home/vsvydenko/.cache/chectl/error.log. Eclipse Che logs: /tmp/chectl-logs/1720444057431.
    at newError (/home/vsvydenko/.local/share/chectl/client/0.0.20240702-next.8e77812/lib/utils/utls.js:39:19)
    at wrapCommandError (/home/vsvydenko/.local/share/chectl/client/0.0.20240702-next.8e77812/lib/utils/command-utils.js:54:32)
    at Deploy.<anonymous> (/home/vsvydenko/.local/share/chectl/client/0.0.20240702-next.8e77812/lib/commands/server/deploy.js:82:65)
    at Generator.throw (<anonymous>)
    at rejected (/home/vsvydenko/.local/share/chectl/client/0.0.20240702-next.8e77812/node_modules/tslib/tslib.js:167:69)
Cause: Error: ERR_TIMEOUT: Timeout set to pod ready timeout 60000
    at KubeClient.<anonymous> (/home/vsvydenko/.local/share/chectl/client/0.0.20240702-next.8e77812/lib/api/kube-client.js:826:19)
    at Generator.next (<anonymous>)
    at fulfilled (/home/vsvydenko/.local/share/chectl/client/0.0.20240702-next.8e77812/node_modules/tslib/tslib.js:166:62)

@vitaliy-guliy
Copy link
Contributor

I have similar problem as a result of chectl server:deploy -p openshift

Could you share chectl version?

@svor
Copy link
Contributor

svor commented Jul 8, 2024

I have similar problem as a result of chectl server:deploy -p openshift

Could you share chectl version?

chectl/0.0.20240702-next.8e77812 linux-x64 node-v18.18.0

@ibuziuk ibuziuk added area/qe and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jul 8, 2024
@RomanNikitenko
Copy link
Member Author

I see that @svor can reproduce the problem locally on his machine #23029 (comment)

So, probably it's not smoke test specific and the cause of the problem on the chectl or Dev Workspace operator side.

@RomanNikitenko RomanNikitenko changed the title Smoke test for Che-Code is failing on the Deploy Che step Deploy Che step is failing for the Smoke test of Che-Code Jul 11, 2024
@ibuziuk ibuziuk added severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. and removed severity/P1 Has a major impact to usage or development of the system. labels Jul 11, 2024
@dkwon17
Copy link
Contributor

dkwon17 commented Jul 15, 2024

After investigation, it is a problem specific to chectl and DWO.

With this PR devfile/devworkspace-operator#1281 the default number of pods for DWO webserver is 2. However, this check in chectl only expects one pod: https://github.com/che-incubator/chectl/blob/8e778128554f032331a6f3719b6fb6caba94a756/src/tasks/installers/dev-workspace/dev-workspace-tasks.ts#L136

@dkwon17 dkwon17 added the area/chectl Issues related to chectl, the CLI of Che label Jul 15, 2024
@dkwon17
Copy link
Contributor

dkwon17 commented Jul 15, 2024

I have an untested fix here: che-incubator/chectl#2895

It's ready for review che-incubator/chectl#2895

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chectl Issues related to chectl, the CLI of Che area/qe kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
Projects
Status: ✅ Done
Development

No branches or pull requests

6 participants