Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Testing RH-Che update to Che7 GA #1607

Closed
ScrewTSW opened this issue Sep 9, 2019 · 2 comments
Closed

Testing RH-Che update to Che7 GA #1607

ScrewTSW opened this issue Sep 9, 2019 · 2 comments

Comments

@ScrewTSW
Copy link
Member

ScrewTSW commented Sep 9, 2019

We need to verify that Che7 GA update works correctly on prod-preview

@ScrewTSW
Copy link
Member Author

ScrewTSW commented Sep 10, 2019

.NET Core - WARN

  • workspace startup works
  • IDE loads
  • LSP not working correctly, even after update dependencies and build the syntax highlight underlines syntax that's correct
  • Commands:
    • update dependencies - OK
    • build - OK
    • run - OK
  • deployment successful, application works as expected

Apache Camel based on Spring Boot - WARN

  • workspace startup works
  • IDE loads
  • LSP - Takes very long time to start, is stuck at 57% for about 5 minuites
  • Commands:
    • build the project - OK
    • `run the services - OK
    • 8080/tcp - OK - opens the deployment, API works, Swagger loads, but the API testing doesn't work
TypeError: NetworkError when attempting to fetch resource.
  • run the services (debugging enabled) - OK , port 5005 is exposed

Django - FAIL

  • worksapce startup works
  • IDE loads
  • Python LSP - Stuck on Refreshing Python Interpreters - FAIL
  • Commands:
    • install dependencies - OK
    • run server - FAIL - Server is started, but the preview fails with 404
Django version 1.10.5, using settings 'conduit.settings'
Starting development server at http://0.0.0.0:7000/
Quit the server with CONTROL-C.
Not Found: /
[10/Sep/2019 11:30:23] "GET / HTTP/1.1" 404 2280
  • django - FAIL - opens the deployment successfully but 404 is given
  • migrate - OK
Operations to perform:
  Apply all migrations: admin, articles, auth, authentication, contenttypes, profiles, sessions
Running migrations:
  No migrations to apply.
  • run server in debug mode - OK

Go - OK

  • workspace startup works
  • IDE loads
  • LSP - OK
  • Commands:
    • run current file - OK
    • run outyet - OK
    • stop outyet - OK
    • test outyet - OK

Java Gradle - OK

  • workspace startup works
  • IDE loads
  • LSP - OK
  • Commands:
    • gradle build - OK
    • gradle run - OK

Java Maven - OK

  • workspace startup works
  • IDE loads
  • LSP - OK
  • Commands:
    • maven build - OK
    • maven build and run - OK

Java Spring Boot - OK

  • workspace startup works
  • IDE loads
  • LSP - OK
  • Commands:
    • maven build - OK
    • run webapp - debug is enabled by default, OK
    • 8080/tcp - OK

Java Vert.x - OK

  • workspace startup works
  • IDE loads
  • LSP - OK
  • Commands:
    • maven build - OK
    • run app - OK
    • 8080/tcp - OK

Java withj Spring Boot and MySQL - FAIL

  • workspace startup works
  • IDE loads
  • LSP - Works for a short period of time right after initialization, then freezes and stops working.
  • Commands:
    • mysql:
      • prepare database - OK
    • tools:
      • maven build - WARN - build seems to be working well, but an error message is thrown when the build is started
        image
      • run webapp - WARN - command works and the application is started successfully, but an error message is thrown when the command is called
        image
      • 8080/tcp - OK

NodeJS Angular Web Application - OK

  • workspace startup works
  • IDE loads
  • LSP - OK
  • Commands:
    • yarn install - OK
    • lint - OK
    • build - OK
    • start - OK

NodeJS Express Web Application - OK

  • workspace startup works
  • IDE loads
  • LSP - OK
  • Commands:
    • download dependencies - OK
    • run the web app - OK
    • stop the web app - OK
    • run the web app (debugging enabled) - OK
    • nodejs - OK - application is opened in new tab

NodeJS MongoDB application - FAIL

  • workspace startup works
  • IDE loads
  • LSP - OK
  • Commands:
    • mongo:
      • New terminal - OK - opens a new terminal in mongo container
    • nodejs:
      • run the web app - FAIL - build works, opening the application throws 404
{"errors":{"message":"Not Found","error":{}}}
- `create test user` - OK
{"user":{"username":"test","email":"test@test.com","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVkNzc5NjZlMTBiMDRhNDIwMGVmYmFkNSIsInVzZXJuYW1lIjoidGVzdCIsImV4cCI6MTU3MzMwMjM4MiwiaWF0IjoxNTY4MTE4MzgyfQ.rodVs0QqNX0jJ08xPrBzFjbw8_f5_1WyVUOoSLJ7KWw"}}
- `nodejs` - FAIL - opens the application in a new tab, same 404 error

NodeJS React Web Application - FAIL

  • worksapce startup works
  • IDE loads
  • LSP - OK
  • Commands:
    • install all required dependencies - OK
    • start the local server - FAIL
Starting the development server...

events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: watch /projects/react-redux-realworld-example-app/public ENOSPC
    at _errnoException (util.js:992:11)
    at FSWatcher.start (fs.js:1382:19)
    at Object.fs.watch (fs.js:1408:11)
    at createFsWatchInstance (/projects/react-redux-realworld-example-app/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:37:15)
    at setFsWatchListener (/projects/react-redux-realworld-example-app/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:80:15)
    at FSWatcher.NodeFsHandler._watchWithNodeFs (/projects/react-redux-realworld-example-app/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:228:14)
    at FSWatcher.NodeFsHandler._handleDir (/projects/react-redux-realworld-example-app/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:407:19)
    at FSWatcher.<anonymous> (/projects/react-redux-realworld-example-app/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:455:19)
    at FSWatcher.<anonymous> (/projects/react-redux-realworld-example-app/node_modules/webpack-dev-server/node_modules/chokidar/lib/nodefs-handler.js:460:16)
    at FSReqWrap.oncomplete (fs.js:153:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-redux-realworld-example-app@0.1.0 start: `cross-env PORT=4100 react-scripts start`
npm ERR! Exit status 1

2019-09-10T12_33_25_722Z-debug.log

PHP Laravel with MySQL - FAIL

  • workspace startup works
  • IDE loads
  • LSP - OK
  • Commands:
    • php:
      • Install dependencies - OK
      • Copy the example env file and make the required configuration changes in the .env file - WARN - command name is ridiculously long and is geting cut off by theia. - I've waned about this in the original issue when I was first testing the stacks
        image
        image
      • Generate new application key - OK
      • Generate new JET authentication secret key - OK
      • Run the database migrations - OK
      • Start Artisan Web Server - FAIL - application is not deployed even though the server is started.
Laravel development server started: <http://127.0.0.1:8000>

image

PHP Simple - OK

  • workspace startup works
  • IDE loads
  • LSP - OK
  • Commands:
    • Configure Apache Web Server DocumentRoot - OK
    • Start Apache Web Server - OK
    • Restart Apache Web Server - OK
    • Stop Apache Web Server - OK

PHP Symfony - WARN

  • workspace startup works
  • IDE loads
  • LSP - OK
  • Commands:
    • Install dependencies - WARN - symfony cli requires extra steps which are not automated
The Symfony CLI v4.7.0 was installed successfully!

Add this to your shell configuration file:
  export PATH="$HOME/.symfony/bin:$PATH"
Start a new shell, and then run 'symfony'

Or install it globally on your system:
  mv /home/user/.symfony/bin/symfony /usr/local/bin/symfony
and then run 'symfony'
  • Start Symfony Web Server - OK
  • Stop Symfony Web Server - OK

PHP with MySQL - OK

  • workspace startup works
  • IDE loads
  • LSP - OK
  • Commands:
    • Configure Apache Web Server DocumentRoot - OK
    • Configure database - OK
    • Start Apache Web Server - OK
    • Restart Apache Web Server - OK
    • Stop Apache Web Server - OK

Python - OK

  • workspace startup works
  • IDE loads
  • LSP - OK
  • Commands:
    • run - OK

@amisevsk
Copy link
Collaborator

amisevsk commented Sep 10, 2019

A second pair of eyes:

  • .NET Core:

  • Django:

  • Java with Spring Boot and MySQL

    • Could not reproduce LSP issue but did not stress it very much
    • I did not get the errors when running the tasks, but I believe it is a known issue.
  • NodeJS + MongoDB

    • Known issue with 404; the sample app is a backend REST service so it's nigh impossible to test with a browser
  • NodeJS React

    • install all required dependencies hangs after it looks like it should be complete; completes ~15 seconds later
    • Could not reproduce start the local server issue (maybe above task hadn't completed?)
  • PHP Laravel

    • The magic incantation of commands that makes it work:
      1. install dependencies
      2. Copy the example env file...
      3. Generate a new application key
      4. `Generate a new JWT authentication secret
      5. Run the database migrations
      6. Start artisan web server
      • Think of it as a fun puzzle
    • Port 8000 is not exposed in the devfile; the reason Application is not available appears it because it has to expose the route -- refreshing fixes the issue.
    • Known issue: php-laravel devfile sample should be simplified eclipse-che/che#14010

@ibuziuk ibuziuk added this to the Che 7 GA milestone Sep 16, 2019
@ibuziuk ibuziuk closed this as completed Sep 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants