che: Dogfooding instance fails to start workspace

Describe the bug

The dogfooding instance fails to start the following devfile with a timeout:

apiVersion: 1.0.0
metadata:
  name: linklessbuild2
projects:
  - name: theia
    source:
      startPoint: master
      location: 'https://github.com/eclipse-theia/theia'
      type: git
  - name: vscode-test-extension
    source:
      startPoint: master
      location: 'https://github.com/RomanNikitenko/vscode-test-extension.git'
      type: git
    clonePath: test/vscode-test-extension
  - name: che-theia
    source:
      startPoint: master
      location: 'https://github.com/eclipse-che/che-theia'
      type: git
components:
  - id: ms-vscode/node-debug2/latest
    type: chePlugin
    alias: node-debug
  - mountSources: true
    endpoints:
      - attributes:
          protocol: http
          public: 'true'
        name: theia-dev-flow
        port: 3010
    memoryLimit: 5Gi
    type: dockerimage
    alias: che-dev
    image: 'quay.io/eclipse/che-theia-dev:next'
    env:
      - value: 2504;
        name: THEIA_PLUGIN_ENDPOINT_DISCOVERY_PORT
  - mountSources: true
    memoryLimit: 1Gi
    type: dockerimage
    alias: plugin-host
    image: 'quay.io/eclipse/che-theia-dev:next'
    env:
      - value: 2504;
        name: THEIA_PLUGIN_ENDPOINT_DISCOVERY_PORT
      - value: 'local-dir:///projects/plugins1/'
        name: THEIA_PLUGINS
      - value: /projects/java-11-openjdk
        name: JAVA_HOME
  - id: eclipse/che-theia/next
    memoryLimit: 2048Mi
    registryUrl: 'https://eclipse-che.github.io/che-plugin-registry/main/v3/'
    type: cheEditor
  - id: redhat/java11/latest
    type: chePlugin
  - id: che-incubator/typescript/latest
    memoryLimit: 2Gi
    type: chePlugin
  - id: timonwong/shellcheck/latest
    type: chePlugin

Che version

Steps to reproduce

Make the new workspace with the devfile above.

Expected behavior

The workspace should run.

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • 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)

Screenshots

Installation method

  • chectl
    • provide a full command that was used to deploy Eclipse Che (including the output)
    • provide an output of chectl version command
  • OperatorHub
  • I don’t know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • Dev Sandbox (workspaces.openshift.com)
  • other: please specify

Eclipse Che Logs

Additional context

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 34 (34 by maintainers)

Most upvoted comments

Screenshot 2021-06-30 at 17 28 43

anyway I tried your devfile and it’s starting. But you’re referring to master branch that has been renamed to main (leading an error when opening the IDE)