Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1053

Che task doesn't finish execution in CRW IDE deployed to OCP on AWS

    XMLWordPrintable

Details

    Description

      Che tasks inside the theia IDE of CRW 2.2.0.RC1-0626 deployed to QE OCP 4.4 on AWS:
      1) doesn't finish execution after it has actually ended
      2) it was impossible terminate and to run the same task again

      For example, build task in RH Fuse devfile workspace:

      expected finished build task tab:

       
      actually build showed "in progress" state:

       

      browser log error
      VM200 bundle.js:64 Uncaught (in promise) Error: Request 'check' failed
          at Proxy.<anonymous> (VM200 bundle.js:1)
          at n.<anonymous> (VM200 bundle.js:1)
          at VM200 bundle.js:1
          at Object.next (VM200 bundle.js:1)
          at VM200 bundle.js:1
          at new Promise (<anonymous>)
          at s (VM200 bundle.js:1)
          at n.reconnectTerminalProcess (VM200 bundle.js:1)
          at n.<anonymous> (VM200 bundle.js:1)
          at VM200 bundle.js:1 
      
      

      Then it's impossible to terminate/restart the task:

      browser log error
      Uncaught (in promise) Error: Failed to terminate Che command: build: the corresponging executor is not found
          at CheTaskImpl.<anonymous> (/remote-endpoint/node_modules/@eclipse-che/theia-plugin-ext/lib/plugin/che-task-impl.js:112)
          at step (/remote-endpoint/node_modules/@eclipse-che/theia-plugin-ext/lib/plugin/che-task-impl.js:33)
          at Object.next (/remote-endpoint/node_modules/@eclipse-che/theia-plugin-ext/lib/plugin/che-task-impl.js:14)
          at /remote-endpoint/node_modules/@eclipse-che/theia-plugin-ext/lib/plugin/che-task-impl.js:8
          at new Promise (<anonymous>)
          at __awaiter (/remote-endpoint/node_modules/@eclipse-che/theia-plugin-ext/lib/plugin/che-task-impl.js:4)
          at CheTaskImpl.$killTask (/remote-endpoint/node_modules/@eclipse-che/theia-plugin-ext/lib/plugin/che-task-impl.js:105)
          at RPCProtocolImpl.doInvokeHandler (/remote-endpoint/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:270)
          at RPCProtocolImpl.invokeHandler (/remote-endpoint/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:255)
          at RPCProtocolImpl.receiveRequest (/remote-endpoint/node_modules/@theia/plugin-ext/lib/common/rpc-protocol.js:219)
       

      When close the task tab manually, it shows error popup:

      Task 'build (projects)' has exited with code 130.

      The task is finishing correctly on QE OCP 4.4 deployed on OpenStack.

      Attachments

        1. expected-build-tab.png
          97 kB
          Dmytro Nochevnov
        2. Screenshot from 2020-07-02 19-45-51.png
          218 kB
          Dmytro Nochevnov
        3. Screenshot from 2020-07-06 17-56-27.png
          382 kB
          Dmytro Nochevnov
        4. task_is_already_active.png
          8 kB
          Dmytro Nochevnov

        Issue Links

          Activity

            People

              azatsary Artem Zatsarynnyi
              dnochevn Dmytro Nochevnov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: