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

initStacksTest.sh failed after switching to Eclipse Che 7.14.x typescript selenium tests codebase

XMLWordPrintable

    • Icon: QE Task QE Task
    • Resolution: Done
    • Icon: Blocker Blocker
    • 2.2.0.GA
    • 2.2.0.GA
    • testing
    • None

      initStacksTest.sh failed being run on Eclipse Che 7.14.x typescript selenium tests codebase:
      https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/CRW-2-testing/view/basic/job/typescript-tests/6746/console:

      Launching the "CakePhp" userstory
      
      tests/default-stacks-tests/ApacheCamelK.spec.ts(52,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/CakePhp.spec.ts(11,71): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'NewWorkspace'. Did you mean 'Workspaces'?
      tests/default-stacks-tests/CakePhp.spec.ts(53,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/Cpp.spec.ts(11,71): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'NewWorkspace'. Did you mean 'Workspaces'?
      tests/default-stacks-tests/Cpp.spec.ts(54,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/DotNet.spec.ts(11,71): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'NewWorkspace'. Did you mean 'Workspaces'?
      tests/default-stacks-tests/DotNet.spec.ts(57,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/Go.spec.ts(11,71): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'NewWorkspace'. Did you mean 'Workspaces'?
      tests/default-stacks-tests/Go.spec.ts(11,212): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'RightToolbarButton'. Did you mean 'LeftToolbarButton'?
      tests/default-stacks-tests/Go.spec.ts(62,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/Go.spec.ts(114,19): error TS2551: Property 'waitRightToolbarButton' does not exist on type 'Ide'. Did you mean 'waitLeftToolbarButton'?
      tests/default-stacks-tests/JavaEapMaven.spec.ts(11,71): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'NewWorkspace'. Did you mean 'Workspaces'?
      tests/default-stacks-tests/JavaEapMaven.spec.ts(11,149): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'RightToolbarButton'. Did you mean 'LeftToolbarButton'?
      tests/default-stacks-tests/JavaEapMaven.spec.ts(63,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/JavaEapMaven.spec.ts(118,19): error TS2551: Property 'waitRightToolbarButton' does not exist on type 'Ide'. Did you mean 'waitLeftToolbarButton'?
      tests/default-stacks-tests/JavaGradle.spec.ts(10,187): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'RightToolbarButton'. Did you mean 'LeftToolbarButton'?
      tests/default-stacks-tests/JavaGradle.spec.ts(58,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/JavaGradle.spec.ts(112,19): error TS2551: Property 'waitRightToolbarButton' does not exist on type 'Ide'. Did you mean 'waitLeftToolbarButton'?
      tests/default-stacks-tests/JavaMaven.spec.ts(11,71): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'NewWorkspace'. Did you mean 'Workspaces'?
      tests/default-stacks-tests/JavaMaven.spec.ts(11,159): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'RightToolbarButton'. Did you mean 'LeftToolbarButton'?
      tests/default-stacks-tests/JavaMaven.spec.ts(60,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/JavaMaven.spec.ts(122,19): error TS2551: Property 'waitRightToolbarButton' does not exist on type 'Ide'. Did you mean 'waitLeftToolbarButton'?
      tests/default-stacks-tests/JavaSpringBoot.spec.ts(11,71): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'NewWorkspace'. Did you mean 'Workspaces'?
      tests/default-stacks-tests/JavaSpringBoot.spec.ts(11,159): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'RightToolbarButton'. Did you mean 'LeftToolbarButton'?
      tests/default-stacks-tests/JavaSpringBoot.spec.ts(59,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/JavaSpringBoot.spec.ts(117,19): error TS2551: Property 'waitRightToolbarButton' does not exist on type 'Ide'. Did you mean 'waitLeftToolbarButton'?
      tests/default-stacks-tests/JavaVertx.spec.ts(11,71): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'NewWorkspace'. Did you mean 'Workspaces'?
      tests/default-stacks-tests/JavaVertx.spec.ts(11,159): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'RightToolbarButton'. Did you mean 'LeftToolbarButton'?
      tests/default-stacks-tests/JavaVertx.spec.ts(60,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/JavaVertx.spec.ts(126,19): error TS2551: Property 'waitRightToolbarButton' does not exist on type 'Ide'. Did you mean 'waitLeftToolbarButton'?
      tests/default-stacks-tests/NodeJsExpressWebApplication.spec.ts(11,71): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'NewWorkspace'. Did you mean 'Workspaces'?
      tests/default-stacks-tests/NodeJsExpressWebApplication.spec.ts(59,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/NodeJsMongoDbWebApplication.spec.ts(11,71): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'NewWorkspace'. Did you mean 'Workspaces'?
      tests/default-stacks-tests/NodeJsMongoDbWebApplication.spec.ts(11,201): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'RightToolbarButton'. Did you mean 'LeftToolbarButton'?
      tests/default-stacks-tests/NodeJsMongoDbWebApplication.spec.ts(62,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/NodeJsMongoDbWebApplication.spec.ts(106,19): error TS2551: Property 'waitRightToolbarButton' does not exist on type 'Ide'. Did you mean 'waitLeftToolbarButton'?
      tests/default-stacks-tests/PhpSimple.spec.ts(11,71): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'NewWorkspace'. Did you mean 'Workspaces'?
      tests/default-stacks-tests/PhpSimple.spec.ts(57,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/Python.spec.ts(11,71): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'NewWorkspace'. Did you mean 'Workspaces'?
      tests/default-stacks-tests/Python.spec.ts(11,172): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'RightToolbarButton'. Did you mean 'LeftToolbarButton'?
      tests/default-stacks-tests/Python.spec.ts(54,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/Python.spec.ts(88,19): error TS2551: Property 'waitRightToolbarButton' does not exist on type 'Ide'. Did you mean 'waitLeftToolbarButton'?
      tests/default-stacks-tests/Quarkus.spec.ts(10,145): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'RightToolbarButton'. Did you mean 'LeftToolbarButton'?
      tests/default-stacks-tests/Quarkus.spec.ts(59,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/Quarkus.spec.ts(112,19): error TS2551: Property 'waitRightToolbarButton' does not exist on type 'Ide'. Did you mean 'waitLeftToolbarButton'?
      tests/default-stacks-tests/RedHatFuse.spec.ts(11,71): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'NewWorkspace'. Did you mean 'Workspaces'?
      tests/default-stacks-tests/RedHatFuse.spec.ts(11,159): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'RightToolbarButton'. Did you mean 'LeftToolbarButton'?
      tests/default-stacks-tests/RedHatFuse.spec.ts(63,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/RedHatFuse.spec.ts(127,19): error TS2551: Property 'waitRightToolbarButton' does not exist on type 'Ide'. Did you mean 'waitLeftToolbarButton'?
      tests/default-stacks-tests/Thorntail.spec.ts(11,71): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'NewWorkspace'. Did you mean 'Workspaces'?
      tests/default-stacks-tests/Thorntail.spec.ts(11,159): error TS2724: Module '"../../node_modules/e2e"' has no exported member 'RightToolbarButton'. Did you mean 'LeftToolbarButton'?
      tests/default-stacks-tests/Thorntail.spec.ts(60,26): error TS2339: Property 'selectSample' does not exist on type 'GetStarted'.
      tests/default-stacks-tests/Thorntail.spec.ts(123,19): error TS2551: Property 'waitRightToolbarButton' does not exist on type 'Ide'. Did you mean 'waitLeftToolbarButton'?
      
      npm ERR! Linux 3.10.0-957.el7.x86_64
      npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "test-stacks"
      npm ERR! node v8.10.0
      npm ERR! npm  v3.5.2
      npm ERR! code ELIFECYCLE
      npm ERR! e2e-codeready@1.0.0 test-stacks: `./initStacksTest.sh`
      npm ERR! Exit status 2
      npm ERR! 
      npm ERR! Failed at the e2e-codeready@1.0.0 test-stacks script './initStacksTest.sh'.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, this is most likely a problem with the e2e-codeready package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     ./initStacksTest.sh
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs e2e-codeready
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR!     npm owner ls e2e-codeready
      npm ERR! There is likely additional logging output above.
      
      npm ERR! Please include the following file with any support request:
      npm ERR!     /tmp/e2e-codeready/npm-debug.log
      Killing ffmpeg with PID=56
      

      Command to run the tests:

      docker run --shm-size=4096m -p 5920:5920 \\ 
       -e TS_SELENIUM_HEADLESS=true \\ 
       -e TS_SELENIUM_LOAD_PAGE_TIMEOUT=420000 \\ 
       -e TS_SELENIUM_WORKSPACE_STATUS_POLLING=20000 \\ 
       -e TS_SELENIUM_BASE_URL=https://codeready-crw-operatorhub-tls-oauth.apps.ocp44.crw-qe.com \\ 
       -e TS_SELENIUM_LOG_LEVEL=DEBUG \\ 
       -e TS_SELENIUM_USERNAME=admin \\ 
       -e TS_SELENIUM_PASSWORD=admin \\ 
       -e TS_SELENIUM_MULTIUSER=true \\ 
       -e DELETE_WORKSPACE_ON_FAILED_TEST=true \\ 
       -e TS_SELENIUM_START_WORKSPACE_TIMEOUT=900000 \\ 
       -e NODE_TLS_REJECT_UNAUTHORIZED=0 \\
       -v /mnt/hudson_workspace/workspace/typescript-tests/test-repo/:/tmp/e2e-codeready:Z \\ 
       -e USERSTORY=CakePhp \\ 
       -e TS_SELENIUM_VALUE_OPENSHIFT_OAUTH=true \\ 
       -e TS_OCP_LOGIN_PAGE_PROVIDER_TITLE=htpasswd \\ 
       -e TS_SELENIUM_OCP_USERNAME=admin \\ 
       -e 'TS_SELENIUM_OCP_PASSWORD=*****' quay.io/crw/e2e-tests
      

            oshmarai Shmaraiev Oleksandr
            dnochevn Dmytro Nochevnov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: