[JBoss JIRA] (JBIDE-23567) Integration tests global refactoring
by Josef Kopriva (Jira)
[ https://issues.redhat.com/browse/JBIDE-23567?page=com.atlassian.jira.plug... ]
Josef Kopriva commented on JBIDE-23567:
---------------------------------------
[~zcervink] Please review not closed JIRAs for your components and close it. Thank you!
> Integration tests global refactoring
> ------------------------------------
>
> Key: JBIDE-23567
> URL: https://issues.redhat.com/browse/JBIDE-23567
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: integration-tests
> Reporter: Jeff MAURY
> Assignee: Josef Kopriva
> Priority: Major
> Labels: integration-test, integration_tests
> Fix For: 4.14.x
>
>
> We should done some work on integration tests so that we can rely on them to improve our code quality and reduce the technical debt.
> A sprint will be dedicated.
> Here are the tasks we should work on:
> * run tests from Maven and document how to run them if specific steps are required
> * If failure, fix the failed tests
> * Refactor / move tests to the components repository
> * Fix/make sure tests are run in PR check
> This huge task should be done component per component. Sub-tasks JIRA will be created for each component.
> You can use this document as a starting point:[https://docs.google.com/document/d/1bl8pJ2aW65UpyGpr3qxoAUREDWL26N...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-23567) Integration tests global refactoring
by Josef Kopriva (Jira)
[ https://issues.redhat.com/browse/JBIDE-23567?page=com.atlassian.jira.plug... ]
Josef Kopriva reassigned JBIDE-23567:
-------------------------------------
Assignee: Zbyněk Červinka (was: Josef Kopriva)
> Integration tests global refactoring
> ------------------------------------
>
> Key: JBIDE-23567
> URL: https://issues.redhat.com/browse/JBIDE-23567
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: integration-tests
> Reporter: Jeff MAURY
> Assignee: Zbyněk Červinka
> Priority: Major
> Labels: integration-test, integration_tests
> Fix For: 4.14.x
>
>
> We should done some work on integration tests so that we can rely on them to improve our code quality and reduce the technical debt.
> A sprint will be dedicated.
> Here are the tasks we should work on:
> * run tests from Maven and document how to run them if specific steps are required
> * If failure, fix the failed tests
> * Refactor / move tests to the components repository
> * Fix/make sure tests are run in PR check
> This huge task should be done component per component. Sub-tasks JIRA will be created for each component.
> You can use this document as a starting point:[https://docs.google.com/document/d/1bl8pJ2aW65UpyGpr3qxoAUREDWL26N...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-26917) CDK runtime detection does not work for folder with minishift.exe on windows system
by André Dietisheim (Jira)
[ https://issues.redhat.com/browse/JBIDE-26917?page=com.atlassian.jira.plug... ]
André Dietisheim edited comment on JBIDE-26917 at 2/10/20 2:57 PM:
-------------------------------------------------------------------
the file pattern that I see for windows is missing the *-windows* portion required:
http://cdk-builds.usersys.redhat.com/builds/nightly/latest-build/windows-...
{code}
minishift.exe
{code}
Assuming that the file I am referring to is the correct one, the error would be in the above regex. I checked several oc binaries in this repo and they all dont have the *-windows* portion.
On the other hand, the cdk builds that one can get from https://access.redhat.com match the pattern:
{code}
cdk-3.11.0-1-minishift-windows-amd64.exe
{code}
[~odockal], could you please verify the filename of your cdk binary on windows where detection fails?
was (Author: adietish):
the file pattern that I see for windows is missing the *-windows* portion required:
http://cdk-builds.usersys.redhat.com/builds/nightly/latest-build/windows-...
{code}
minishift.exe
{code}
Assuming that the file I am referring to is the correct one, the error would be in the above regex. I checked several oc binaries in this repo and they all dont have the *-windows* portion.
[~odockal], could you please verify the filename of your cdk binary on windows where detection fails?
> CDK runtime detection does not work for folder with minishift.exe on windows system
> -----------------------------------------------------------------------------------
>
> Key: JBIDE-26917
> URL: https://issues.redhat.com/browse/JBIDE-26917
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk, openshift, runtime-detection
> Affects Versions: 4.13.0.Final
> Environment: Windows 10
> Reporter: Ondrej Dockal
> Assignee: André Dietisheim
> Priority: Critical
> Fix For: 4.14.0.Final
>
>
> Runtime detection does not find CDK server adapter when given folder with minishift.exe binary. It does not happen on linux systems.
> Steps:
> 1. Have studio opened and CDK binary downloaded
> 2. Preferences -> JBossTools -> Jboss Runtime Detection
> 3. Add
> 4. Choose folder with cdk binary -> Open
> 5. ASSERT: Searching for runtimes dialog is shown with offered CDK 3.2+ server adapter
> Acutally: on windows it does not recognize adapter. On linux this works.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-26917) CDK runtime detection does not work for folder with minishift.exe on windows system
by André Dietisheim (Jira)
[ https://issues.redhat.com/browse/JBIDE-26917?page=com.atlassian.jira.plug... ]
André Dietisheim edited comment on JBIDE-26917 at 2/10/20 2:59 PM:
-------------------------------------------------------------------
the file pattern that I see for windows is missing the *-windows* portion required:
http://cdk-builds.usersys.redhat.com/builds/nightly/latest-build/windows-...
{code}
minishift.exe
{code}
Assuming that the file I am referring to is the correct one, the error would be in the above regex. I checked several oc binaries in this repo and they all dont have the *-windows* portion.
On the other hand, the cdk builds that one can get from https://access.redhat.com match the pattern:
{code}
cdk-3.11.0-1-minishift-windows-amd64.exe
{code}
In other words, detection should work fine when it comes to filenames. Which leaves me puzzled without being able to test it first had. [~jeffmaury] Can you test this please?
[~odockal], could you please verify the filename of your cdk binary on windows where detection fails?
was (Author: adietish):
the file pattern that I see for windows is missing the *-windows* portion required:
http://cdk-builds.usersys.redhat.com/builds/nightly/latest-build/windows-...
{code}
minishift.exe
{code}
Assuming that the file I am referring to is the correct one, the error would be in the above regex. I checked several oc binaries in this repo and they all dont have the *-windows* portion.
On the other hand, the cdk builds that one can get from https://access.redhat.com match the pattern:
{code}
cdk-3.11.0-1-minishift-windows-amd64.exe
{code}
[~odockal], could you please verify the filename of your cdk binary on windows where detection fails?
> CDK runtime detection does not work for folder with minishift.exe on windows system
> -----------------------------------------------------------------------------------
>
> Key: JBIDE-26917
> URL: https://issues.redhat.com/browse/JBIDE-26917
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk, openshift, runtime-detection
> Affects Versions: 4.13.0.Final
> Environment: Windows 10
> Reporter: Ondrej Dockal
> Assignee: André Dietisheim
> Priority: Critical
> Fix For: 4.14.0.Final
>
>
> Runtime detection does not find CDK server adapter when given folder with minishift.exe binary. It does not happen on linux systems.
> Steps:
> 1. Have studio opened and CDK binary downloaded
> 2. Preferences -> JBossTools -> Jboss Runtime Detection
> 3. Add
> 4. Choose folder with cdk binary -> Open
> 5. ASSERT: Searching for runtimes dialog is shown with offered CDK 3.2+ server adapter
> Acutally: on windows it does not recognize adapter. On linux this works.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-27019) Show in -> Web console option does not work at times
by Ondrej Dockal (Jira)
[ https://issues.redhat.com/browse/JBIDE-27019?page=com.atlassian.jira.plug... ]
Ondrej Dockal commented on JBIDE-27019:
---------------------------------------
I tried a couple of scenarios to confirm some of hypothesis that would explain this issue but I cannot reproduce for 100 percent. I am lowering the priority and we will maybe later find some cause for this.
> Show in -> Web console option does not work at times
> ----------------------------------------------------
>
> Key: JBIDE-27019
> URL: https://issues.redhat.com/browse/JBIDE-27019
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk, openshift
> Affects Versions: 4.14.0.AM1
> Reporter: Ondrej Dockal
> Assignee: André Dietisheim
> Priority: Critical
> Fix For: 4.14.0.Final
>
>
> Show in -> Web Console does not work for Openshift connection created from CRC 1.3 version as the Server's url (OS 4.2 endpoint - https://api.crc.testing:6443/) does not work for web console access. The correct one is https://console-openshift-console.apps-crc.testing/.
> I got this error stack trace, btw:
> {code}
> eclipse.buildId=12.14.0.AM1-v20200123-0055-B5802
> java.version=11.0.5
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product com.jboss.devstudio.core.product
> Command-line arguments: -data file:/home/odockal/workspace_12140AM1-0123/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
> org.eclipse.core.jobs
> Error
> Mon Jan 27 15:12:23 CET 2020
> An internal error occurred during: "Retrieving console for https://api.crc.testing:6443...".
> com.openshift.restclient.UnsupportedEndpointException: Unable to determine the api endpoint for kind 'ConfigMap'
> at com.openshift.internal.restclient.URLBuilder.buildWithNamespaceInPath(URLBuilder.java:149)
> at com.openshift.internal.restclient.URLBuilder.build(URLBuilder.java:135)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:297)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:271)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:239)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:222)
> at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:406)
> at com.openshift.internal.restclient.capability.server.Console.getOpenShift4ConsoleUrl(Console.java:93)
> at com.openshift.internal.restclient.capability.server.Console.getOpenShift4ConsoleUrl(Console.java:107)
> at com.openshift.internal.restclient.capability.server.Console.getConsoleUrl(Console.java:64)
> at org.jboss.tools.openshift.core.connection.Connection.getConsoleURL(Connection.java:381)
> at org.jboss.tools.openshift.internal.ui.handler.OpenInWebConsoleHandler.lambda$0(OpenInWebConsoleHandler.java:61)
> at org.eclipse.core.runtime.jobs.Job$1.run(Job.java:164)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-27019) Show in -> Web console option does not work at times
by Ondrej Dockal (Jira)
[ https://issues.redhat.com/browse/JBIDE-27019?page=com.atlassian.jira.plug... ]
Ondrej Dockal updated JBIDE-27019:
----------------------------------
Priority: Major (was: Critical)
> Show in -> Web console option does not work at times
> ----------------------------------------------------
>
> Key: JBIDE-27019
> URL: https://issues.redhat.com/browse/JBIDE-27019
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk, openshift
> Affects Versions: 4.14.0.AM1
> Reporter: Ondrej Dockal
> Assignee: André Dietisheim
> Priority: Major
> Fix For: 4.14.0.Final
>
>
> Show in -> Web Console does not work for Openshift connection created from CRC 1.3 version as the Server's url (OS 4.2 endpoint - https://api.crc.testing:6443/) does not work for web console access. The correct one is https://console-openshift-console.apps-crc.testing/.
> I got this error stack trace, btw:
> {code}
> eclipse.buildId=12.14.0.AM1-v20200123-0055-B5802
> java.version=11.0.5
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product com.jboss.devstudio.core.product
> Command-line arguments: -data file:/home/odockal/workspace_12140AM1-0123/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
> org.eclipse.core.jobs
> Error
> Mon Jan 27 15:12:23 CET 2020
> An internal error occurred during: "Retrieving console for https://api.crc.testing:6443...".
> com.openshift.restclient.UnsupportedEndpointException: Unable to determine the api endpoint for kind 'ConfigMap'
> at com.openshift.internal.restclient.URLBuilder.buildWithNamespaceInPath(URLBuilder.java:149)
> at com.openshift.internal.restclient.URLBuilder.build(URLBuilder.java:135)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:297)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:271)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:239)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:222)
> at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:406)
> at com.openshift.internal.restclient.capability.server.Console.getOpenShift4ConsoleUrl(Console.java:93)
> at com.openshift.internal.restclient.capability.server.Console.getOpenShift4ConsoleUrl(Console.java:107)
> at com.openshift.internal.restclient.capability.server.Console.getConsoleUrl(Console.java:64)
> at org.jboss.tools.openshift.core.connection.Connection.getConsoleURL(Connection.java:381)
> at org.jboss.tools.openshift.internal.ui.handler.OpenInWebConsoleHandler.lambda$0(OpenInWebConsoleHandler.java:61)
> at org.eclipse.core.runtime.jobs.Job$1.run(Job.java:164)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-26917) CDK runtime detection does not work for folder with minishift.exe on windows system
by André Dietisheim (Jira)
[ https://issues.redhat.com/browse/JBIDE-26917?page=com.atlassian.jira.plug... ]
André Dietisheim edited comment on JBIDE-26917 at 2/10/20 11:15 AM:
--------------------------------------------------------------------
the file pattern that I see for windows is missing the "windows" portion required:
http://cdk-builds.usersys.redhat.com/builds/nightly/latest-build/windows-...
{code}
minishift.exe
{code}
Assuming that the file I am referring to is the correct one, the error would be in the above regex. I checked several oc binaries in this repo and they all dont have the *-windows* portion.
[~odockal], could you please verify the filename of your cdk binary on windows where detection fails?
was (Author: adietish):
the file pattern that I see for windows is missing the "windows" portion required:
http://cdk-builds.usersys.redhat.com/builds/nightly/latest-build/windows-...
{code}
minishift.exe
{code}
Assuming that the file I am refering to is the correct one, [~odockal], could you please verify the filename of your cdk binary on windows where detection fails?
> CDK runtime detection does not work for folder with minishift.exe on windows system
> -----------------------------------------------------------------------------------
>
> Key: JBIDE-26917
> URL: https://issues.redhat.com/browse/JBIDE-26917
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk, openshift, runtime-detection
> Affects Versions: 4.13.0.Final
> Environment: Windows 10
> Reporter: Ondrej Dockal
> Assignee: André Dietisheim
> Priority: Critical
> Fix For: 4.14.0.Final
>
>
> Runtime detection does not find CDK server adapter when given folder with minishift.exe binary. It does not happen on linux systems.
> Steps:
> 1. Have studio opened and CDK binary downloaded
> 2. Preferences -> JBossTools -> Jboss Runtime Detection
> 3. Add
> 4. Choose folder with cdk binary -> Open
> 5. ASSERT: Searching for runtimes dialog is shown with offered CDK 3.2+ server adapter
> Acutally: on windows it does not recognize adapter. On linux this works.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month
[JBoss JIRA] (JBIDE-26917) CDK runtime detection does not work for folder with minishift.exe on windows system
by André Dietisheim (Jira)
[ https://issues.redhat.com/browse/JBIDE-26917?page=com.atlassian.jira.plug... ]
André Dietisheim edited comment on JBIDE-26917 at 2/10/20 11:15 AM:
--------------------------------------------------------------------
the file pattern that I see for windows is missing the *-windows* portion required:
http://cdk-builds.usersys.redhat.com/builds/nightly/latest-build/windows-...
{code}
minishift.exe
{code}
Assuming that the file I am referring to is the correct one, the error would be in the above regex. I checked several oc binaries in this repo and they all dont have the *-windows* portion.
[~odockal], could you please verify the filename of your cdk binary on windows where detection fails?
was (Author: adietish):
the file pattern that I see for windows is missing the "windows" portion required:
http://cdk-builds.usersys.redhat.com/builds/nightly/latest-build/windows-...
{code}
minishift.exe
{code}
Assuming that the file I am referring to is the correct one, the error would be in the above regex. I checked several oc binaries in this repo and they all dont have the *-windows* portion.
[~odockal], could you please verify the filename of your cdk binary on windows where detection fails?
> CDK runtime detection does not work for folder with minishift.exe on windows system
> -----------------------------------------------------------------------------------
>
> Key: JBIDE-26917
> URL: https://issues.redhat.com/browse/JBIDE-26917
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk, openshift, runtime-detection
> Affects Versions: 4.13.0.Final
> Environment: Windows 10
> Reporter: Ondrej Dockal
> Assignee: André Dietisheim
> Priority: Critical
> Fix For: 4.14.0.Final
>
>
> Runtime detection does not find CDK server adapter when given folder with minishift.exe binary. It does not happen on linux systems.
> Steps:
> 1. Have studio opened and CDK binary downloaded
> 2. Preferences -> JBossTools -> Jboss Runtime Detection
> 3. Add
> 4. Choose folder with cdk binary -> Open
> 5. ASSERT: Searching for runtimes dialog is shown with offered CDK 3.2+ server adapter
> Acutally: on windows it does not recognize adapter. On linux this works.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 1 month