[JBoss JIRA] (JBIDE-23814) Server Adaptor for JBoss EAP 7 on OpenShift fails with sync error
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23814?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-23814:
-------------------------------------
Fix Version/s: 4.4.4.AM2
(was: 4.4.4.AM1)
> Server Adaptor for JBoss EAP 7 on OpenShift fails with sync error
> -----------------------------------------------------------------
>
> Key: JBIDE-23814
> URL: https://issues.jboss.org/browse/JBIDE-23814
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Environment: Red Hat JBoss Developer Studio
> Version: 10.2.0.GA
> Build id: GA-v20161125-1418-B55
> Build date: 20161125-1418
> JBoss Openshift UI Plugin
> Version: 3.3.1.v20161125-0956
> OpenShift
> openshift v3.3.1.3
> Reporter: Siamak Sadeghianfar
> Assignee: Andre Dietisheim
> Priority: Critical
> Labels: openshift_v3, server_adapter
> Fix For: 4.4.4.AM2
>
> Attachments: jbds-error.png, jboss-eap70-openshift.png
>
>
> When adding a Server Adapter for an JBoss EAP 7 based deployments on OpenShift, operation fails with this error:
> {{Could not sync /private/tmp/workspace-demo/.metadata/.plugins/org.jboss.ide.eclipse.as.core/inventory-dev-ssadeghi@inventory/deploy to all pods running the service inventory
> OpenShiftBinaryCapability process exited: error: auth info "ssadeghi-redhat.com" does not exist}}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBIDE-22191) Application wizard: Support list of application creation with JSON
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22191?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-22191:
-------------------------------------
Summary: Application wizard: Support list of application creation with JSON (was: Support list of application creation with JSON)
> Application wizard: Support list of application creation with JSON
> ------------------------------------------------------------------
>
> Key: JBIDE-22191
> URL: https://issues.jboss.org/browse/JBIDE-22191
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Aurélien Pupier
> Fix For: 4.4.4.AM2
>
> Attachments: screenshot-1.png
>
>
> Currently, if we provide a Local template, which is a list of templates, there is a popup with an error.
> {noformat}
> java.lang.ClassCastException: com.openshift.internal.restclient.model.List cannot be cast to com.openshift.restclient.model.template.ITemplate
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.getLocalTemplate(NewApplicationWizardModel.java:107)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.updateSelectedTemplate(NewApplicationWizardModel.java:86)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.update(NewApplicationWizardModel.java:78)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.setLocalTemplateFileName(NewApplicationWizardModel.java:315)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.TemplateListPage.setLocalTemplate(TemplateListPage.java:511)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.TemplateListPage.access$6(TemplateListPage.java:506)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.TemplateListPage$14.widgetSelected(TemplateListPage.java:696)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:279)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:270)
> at org.jboss.tools.openshift.internal.ui.handler.NewApplicationHandler.execute(NewApplicationHandler.java:34)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> {noformat}
> You can use the template used by Fuse to reproduce: https://raw.githubusercontent.com/jboss-fuse/application-templates/master...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBIDE-22191) Support list of application creation with JSON
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22191?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-22191:
-------------------------------------
Fix Version/s: 4.4.4.AM2
(was: 4.4.4.AM1)
> Support list of application creation with JSON
> ----------------------------------------------
>
> Key: JBIDE-22191
> URL: https://issues.jboss.org/browse/JBIDE-22191
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Reporter: Aurélien Pupier
> Fix For: 4.4.4.AM2
>
> Attachments: screenshot-1.png
>
>
> Currently, if we provide a Local template, which is a list of templates, there is a popup with an error.
> {noformat}
> java.lang.ClassCastException: com.openshift.internal.restclient.model.List cannot be cast to com.openshift.restclient.model.template.ITemplate
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.getLocalTemplate(NewApplicationWizardModel.java:107)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.updateSelectedTemplate(NewApplicationWizardModel.java:86)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.update(NewApplicationWizardModel.java:78)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.setLocalTemplateFileName(NewApplicationWizardModel.java:315)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.TemplateListPage.setLocalTemplate(TemplateListPage.java:511)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.TemplateListPage.access$6(TemplateListPage.java:506)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.TemplateListPage$14.widgetSelected(TemplateListPage.java:696)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4362)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1113)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4180)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3769)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:827)
> at org.eclipse.jface.window.Window.open(Window.java:803)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:279)
> at org.jboss.tools.common.ui.WizardUtils.openWizardDialog(WizardUtils.java:270)
> at org.jboss.tools.openshift.internal.ui.handler.NewApplicationHandler.execute(NewApplicationHandler.java:34)
> at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)
> at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> {noformat}
> You can use the template used by Fuse to reproduce: https://raw.githubusercontent.com/jboss-fuse/application-templates/master...
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBIDE-23489) Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm
by Lukáš Valach (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23489?page=com.atlassian.jira.plugi... ]
Lukáš Valach edited comment on JBIDE-23489 at 3/9/17 6:07 AM:
--------------------------------------------------------------
[~nickboldt], there is the log you are asking for: [^FreeMarket_rhscl_enabled.log]
Log snippet:
{code}
(as lvalach)
scl enable rh-eclipse46 bash
mvn clean verify -DskipTests=false -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/
...
[INFO] --- tycho-surefire-plugin:1.0.0:test (default-test) @ org.jboss.tools.freemarker.ui.bot.test ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.596 s
[INFO] Finished at: 2017-03-09T11:14:08+01:00
[INFO] Final Memory: 69M/551M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test (default-test) on project org.jboss.tools.freemarker.ui.bot.test: Execution default-test of goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test failed: Exception creating test eclipse runtime: /opt/rh/rh-eclipse46/root/usr/lib64/eclipse/dev.properties (Permission denied) -> [Help 1]
{code}
By the way, when I started the build again then I got different error, because the first build overwrited MANIFEST.MF.
If you hit the same problem, try to start tests from their parent "jbosstools-integration-tests". It shouldn't override manifest.
{code}
cd path/to/jbosstools-integration-tests
git reset --hard
mvn clean verify -DskipTests=false -Dtest.module=org.jboss.tools.freemarker.ui.bot.test -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/
{code}
was (Author: lvalach):
Nick, there is the log you are asking for: [^FreeMarket_rhscl_enabled.log]
Log snippet:
{code}
(as lvalach)
scl enable rh-eclipse46 bash
mvn clean verify -DskipTests=false -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/
...
[INFO] --- tycho-surefire-plugin:1.0.0:test (default-test) @ org.jboss.tools.freemarker.ui.bot.test ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.596 s
[INFO] Finished at: 2017-03-09T11:14:08+01:00
[INFO] Final Memory: 69M/551M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test (default-test) on project org.jboss.tools.freemarker.ui.bot.test: Execution default-test of goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test failed: Exception creating test eclipse runtime: /opt/rh/rh-eclipse46/root/usr/lib64/eclipse/dev.properties (Permission denied) -> [Help 1]
{code}
By the way, when I started the build again then I got different error, because the first build overwrited MANIFEST.MF.
If you hit the same problem, try to start tests from their parent "jbosstools-integration-tests". It shouldn't override manifest.
{code}
cd path/to/jbosstools-integration-tests
git reset --hard
mvn clean verify -DskipTests=false -Dtest.module=org.jboss.tools.freemarker.ui.bot.test -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/
{code}
> Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm
> ------------------------------------------------------------------------------
>
> Key: JBIDE-23489
> URL: https://issues.jboss.org/browse/JBIDE-23489
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build
> Affects Versions: 4.4.2.AM3
> Reporter: Pavol Srna
> Fix For: 4.4.x
>
> Attachments: FreeMarket_rhscl_enabled.log
>
>
> We need to find a way how to run automated tests agains devstudio rpm.
> I've tried the following paths:
> 1) (as root) mvn clean verify -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/shareclipse/droplets/devstudio/eclipse/
> 2) (as hudson) mvn clean verify -Dtest.installBase=~/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64
> But none of the above works.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBIDE-23489) Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm
by Lukáš Valach (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23489?page=com.atlassian.jira.plugi... ]
Lukáš Valach edited comment on JBIDE-23489 at 3/9/17 6:06 AM:
--------------------------------------------------------------
Nick, there is the log you are asking for: [^FreeMarket_rhscl_enabled.log]
Log snippet:
{code}
(as lvalach)
scl enable rh-eclipse46 bash
mvn clean verify -DskipTests=false -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/
...
[INFO] --- tycho-surefire-plugin:1.0.0:test (default-test) @ org.jboss.tools.freemarker.ui.bot.test ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.596 s
[INFO] Finished at: 2017-03-09T11:14:08+01:00
[INFO] Final Memory: 69M/551M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test (default-test) on project org.jboss.tools.freemarker.ui.bot.test: Execution default-test of goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test failed: Exception creating test eclipse runtime: /opt/rh/rh-eclipse46/root/usr/lib64/eclipse/dev.properties (Permission denied) -> [Help 1]
{code}
By the way, when I started the build again then I got different error, because the first build overwrited MANIFEST.MF.
If you hit the same problem, try to start tests from their parent "jbosstools-integration-tests". It shouldn't override manifest.
{code}
cd path/to/jbosstools-integration-tests
git reset --hard
mvn clean verify -DskipTests=false -Dtest.module=org.jboss.tools.freemarker.ui.bot.test -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/
{code}
was (Author: lvalach):
Nick, there is the log you are asking for: [^FreeMarket_rhscl_enabled.log]
Log snippet:
{code}
(as lvalach)
scl enable rh-eclipse46 bash
mvn clean verify -DskipTests=false -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/
...
[INFO] --- tycho-surefire-plugin:1.0.0:test (default-test) @ org.jboss.tools.freemarker.ui.bot.test ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.596 s
[INFO] Finished at: 2017-03-09T11:14:08+01:00
[INFO] Final Memory: 69M/551M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test (default-test) on project org.jboss.tools.freemarker.ui.bot.test: Execution default-test of goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test failed: Exception creating test eclipse runtime: /opt/rh/rh-eclipse46/root/usr/lib64/eclipse/dev.properties (Permission denied) -> [Help 1]
{code}
By the way, when I started the build again then I got different error, because the first build overwrited MANIFEST.MF.
If you hit the same problem, try to start tests from their parent "jbosstools-integration-tests". It shouldn't override manifest. [^FreeMarket_rhscl_enabled.log]
{code}
cd path/to/jbosstools-integration-tests
git reset --hard
mvn clean verify -DskipTests=false -Dtest.module=org.jboss.tools.freemarker.ui.bot.test -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/
{code}
> Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm
> ------------------------------------------------------------------------------
>
> Key: JBIDE-23489
> URL: https://issues.jboss.org/browse/JBIDE-23489
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build
> Affects Versions: 4.4.2.AM3
> Reporter: Pavol Srna
> Fix For: 4.4.x
>
> Attachments: FreeMarket_rhscl_enabled.log
>
>
> We need to find a way how to run automated tests agains devstudio rpm.
> I've tried the following paths:
> 1) (as root) mvn clean verify -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/shareclipse/droplets/devstudio/eclipse/
> 2) (as hudson) mvn clean verify -Dtest.installBase=~/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64
> But none of the above works.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBIDE-23489) Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm
by Lukáš Valach (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23489?page=com.atlassian.jira.plugi... ]
Lukáš Valach commented on JBIDE-23489:
--------------------------------------
Nick, there is the log you are asking for: [^FreeMarket_rhscl_enabled.log]
Log snippet:
{code}
(as lvalach)
scl enable rh-eclipse46 bash
mvn clean verify -DskipTests=false -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/
...
[INFO] --- tycho-surefire-plugin:1.0.0:test (default-test) @ org.jboss.tools.freemarker.ui.bot.test ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.596 s
[INFO] Finished at: 2017-03-09T11:14:08+01:00
[INFO] Final Memory: 69M/551M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test (default-test) on project org.jboss.tools.freemarker.ui.bot.test: Execution default-test of goal org.eclipse.tycho:tycho-surefire-plugin:1.0.0:test failed: Exception creating test eclipse runtime: /opt/rh/rh-eclipse46/root/usr/lib64/eclipse/dev.properties (Permission denied) -> [Help 1]
{code}
By the way, when I started the build again then I got different error, because the first build overwrited MANIFEST.MF.
If you hit the same problem, try to start tests from their parent "jbosstools-integration-tests". It shouldn't override manifest. [^FreeMarket_rhscl_enabled.log]
{code}
cd path/to/jbosstools-integration-tests
git reset --hard
mvn clean verify -DskipTests=false -Dtest.module=org.jboss.tools.freemarker.ui.bot.test -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/lib64/eclipse/
{code}
> Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm
> ------------------------------------------------------------------------------
>
> Key: JBIDE-23489
> URL: https://issues.jboss.org/browse/JBIDE-23489
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build
> Affects Versions: 4.4.2.AM3
> Reporter: Pavol Srna
> Fix For: 4.4.x
>
> Attachments: FreeMarket_rhscl_enabled.log
>
>
> We need to find a way how to run automated tests agains devstudio rpm.
> I've tried the following paths:
> 1) (as root) mvn clean verify -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/shareclipse/droplets/devstudio/eclipse/
> 2) (as hudson) mvn clean verify -Dtest.installBase=~/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64
> But none of the above works.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBIDE-23489) Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm
by Lukáš Valach (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23489?page=com.atlassian.jira.plugi... ]
Lukáš Valach updated JBIDE-23489:
---------------------------------
Attachment: FreeMarket_rhscl_enabled.log
> Find out how to run mvn clean verify -Dtest.installBase=path/to/devstudio/rpm
> ------------------------------------------------------------------------------
>
> Key: JBIDE-23489
> URL: https://issues.jboss.org/browse/JBIDE-23489
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build
> Affects Versions: 4.4.2.AM3
> Reporter: Pavol Srna
> Fix For: 4.4.x
>
> Attachments: FreeMarket_rhscl_enabled.log
>
>
> We need to find a way how to run automated tests agains devstudio rpm.
> I've tried the following paths:
> 1) (as root) mvn clean verify -Dtest.installBase=/opt/rh/rh-eclipse46/root/usr/shareclipse/droplets/devstudio/eclipse/
> 2) (as hudson) mvn clean verify -Dtest.installBase=~/.eclipse/org.eclipse.platform_283378046_linux_gtk_x86_64
> But none of the above works.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years