[jbosstools-issues] [JBoss JIRA] (JBIDE-24488) compilation error building Openshift Tools in master against Docker Tools 3.0 from Oxygen.0.M7

Andre Dietisheim (JIRA) issues at jboss.org
Sun May 21 16:20:00 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-24488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409332#comment-13409332 ] 

Andre Dietisheim edited comment on JBIDE-24488 at 5/21/17 4:19 PM:
-------------------------------------------------------------------

[~rob.stryker] I see the build error in jenkins. Does this happen to you locally, too?
I can't replicate this odd error on Mac, my build (with your patch) is all fine
{code}
[INFO] jbosstools-openshift ............................... SUCCESS [  0.564 s]
[INFO] openshift.plugins .................................. SUCCESS [  0.033 s]
[INFO] org.jboss.tools.openshift.egit.core ................ SUCCESS [ 27.073 s]
[INFO] org.jboss.tools.openshift.egit.ui .................. SUCCESS [  0.610 s]
[INFO] org.jboss.tools.openshift.express.client ........... SUCCESS [  1.244 s]
[INFO] org.jboss.tools.openshift.common.core .............. SUCCESS [  6.839 s]
[INFO] org.jboss.tools.openshift.express.core ............. SUCCESS [  2.019 s]
[INFO] org.jboss.tools.openshift.common.ui ................ SUCCESS [  2.628 s]
[INFO] org.jboss.tools.openshift.express.ui ............... SUCCESS [  2.355 s]
[INFO] org.jboss.tools.openshift.client ................... SUCCESS [  0.823 s]
[INFO] org.jboss.tools.openshift.core ..................... SUCCESS [  2.299 s]
[INFO] org.jboss.tools.openshift.ui ....................... SUCCESS [  7.206 s]
[INFO] org.jboss.tools.openshift.cdk.server ............... SUCCESS [  3.517 s]
[INFO] org.jboss.tools.openshift.js ....................... SUCCESS [  0.777 s]
[INFO] openshift.tests .................................... SUCCESS [  0.202 s]
[INFO] org.jboss.tools.openshift.egit.test ................ SUCCESS [ 17.570 s]
[INFO] org.jboss.tools.openshift.express.test ............. SUCCESS [ 19.863 s]
[INFO] org.jboss.tools.openshift.test ..................... SUCCESS [ 47.111 s]
[INFO] org.jboss.tools.openshift.cdk.server.test .......... SUCCESS [ 21.205 s]
[INFO] openshift.test-framework ........................... SUCCESS [  0.006 s]
[INFO] org.jboss.tools.openshift.reddeer .................. SUCCESS [  0.922 s]
[INFO] org.jboss.tools.cdk.reddeer ........................ SUCCESS [  0.598 s]
[INFO] openshift.features ................................. SUCCESS [  0.214 s]
[INFO] org.jboss.tools.openshift.feature .................. SUCCESS [  1.214 s]
[INFO] org.jboss.tools.openshift.test.feature ............. SUCCESS [  0.434 s]
[INFO] org.jboss.tools.openshift.egit.integration.feature . SUCCESS [  0.431 s]
[INFO] org.jboss.tools.openshift.egit.integration.test.feature SUCCESS [  0.444 s]
[INFO] org.jboss.tools.openshift.express.feature .......... SUCCESS [  1.150 s]
[INFO] org.jboss.tools.openshift.express.test.feature ..... SUCCESS [  0.372 s]
[INFO] org.jboss.tools.openshift.cdk.feature .............. SUCCESS [  0.920 s]
[INFO] org.jboss.tools.openshift.cdk.test.feature ......... SUCCESS [  0.419 s]
[INFO] org.jboss.tools.openshift.js.feature ............... SUCCESS [  0.363 s]
[INFO] openshift.site ..................................... SUCCESS [ 17.480 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27:20 min
[INFO] Finished at: 2017-05-20T22:14:06+02:00
[INFO] Final Memory: 175M/1651M
[INFO] ------------------------------------------------------------------------
{code}

The very same is true for running the test individually on my machine. There's no error for me.


was (Author: adietish):
I can't replicate this odd error on Mac, my build (with your patch) is all fine
{code}
[INFO] jbosstools-openshift ............................... SUCCESS [  0.564 s]
[INFO] openshift.plugins .................................. SUCCESS [  0.033 s]
[INFO] org.jboss.tools.openshift.egit.core ................ SUCCESS [ 27.073 s]
[INFO] org.jboss.tools.openshift.egit.ui .................. SUCCESS [  0.610 s]
[INFO] org.jboss.tools.openshift.express.client ........... SUCCESS [  1.244 s]
[INFO] org.jboss.tools.openshift.common.core .............. SUCCESS [  6.839 s]
[INFO] org.jboss.tools.openshift.express.core ............. SUCCESS [  2.019 s]
[INFO] org.jboss.tools.openshift.common.ui ................ SUCCESS [  2.628 s]
[INFO] org.jboss.tools.openshift.express.ui ............... SUCCESS [  2.355 s]
[INFO] org.jboss.tools.openshift.client ................... SUCCESS [  0.823 s]
[INFO] org.jboss.tools.openshift.core ..................... SUCCESS [  2.299 s]
[INFO] org.jboss.tools.openshift.ui ....................... SUCCESS [  7.206 s]
[INFO] org.jboss.tools.openshift.cdk.server ............... SUCCESS [  3.517 s]
[INFO] org.jboss.tools.openshift.js ....................... SUCCESS [  0.777 s]
[INFO] openshift.tests .................................... SUCCESS [  0.202 s]
[INFO] org.jboss.tools.openshift.egit.test ................ SUCCESS [ 17.570 s]
[INFO] org.jboss.tools.openshift.express.test ............. SUCCESS [ 19.863 s]
[INFO] org.jboss.tools.openshift.test ..................... SUCCESS [ 47.111 s]
[INFO] org.jboss.tools.openshift.cdk.server.test .......... SUCCESS [ 21.205 s]
[INFO] openshift.test-framework ........................... SUCCESS [  0.006 s]
[INFO] org.jboss.tools.openshift.reddeer .................. SUCCESS [  0.922 s]
[INFO] org.jboss.tools.cdk.reddeer ........................ SUCCESS [  0.598 s]
[INFO] openshift.features ................................. SUCCESS [  0.214 s]
[INFO] org.jboss.tools.openshift.feature .................. SUCCESS [  1.214 s]
[INFO] org.jboss.tools.openshift.test.feature ............. SUCCESS [  0.434 s]
[INFO] org.jboss.tools.openshift.egit.integration.feature . SUCCESS [  0.431 s]
[INFO] org.jboss.tools.openshift.egit.integration.test.feature SUCCESS [  0.444 s]
[INFO] org.jboss.tools.openshift.express.feature .......... SUCCESS [  1.150 s]
[INFO] org.jboss.tools.openshift.express.test.feature ..... SUCCESS [  0.372 s]
[INFO] org.jboss.tools.openshift.cdk.feature .............. SUCCESS [  0.920 s]
[INFO] org.jboss.tools.openshift.cdk.test.feature ......... SUCCESS [  0.419 s]
[INFO] org.jboss.tools.openshift.js.feature ............... SUCCESS [  0.363 s]
[INFO] openshift.site ..................................... SUCCESS [ 17.480 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 27:20 min
[INFO] Finished at: 2017-05-20T22:14:06+02:00
[INFO] Final Memory: 175M/1651M
[INFO] ------------------------------------------------------------------------
{code}

The very same is true for running the test individually on my machine. There's no error for me.

> compilation error building Openshift Tools in master against Docker Tools 3.0 from Oxygen.0.M7
> ----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-24488
>                 URL: https://issues.jboss.org/browse/JBIDE-24488
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: docker, openshift, target-platform
>    Affects Versions: 4.5.0.AM1
>            Reporter: Nick Boldt
>            Assignee: Rob Stryker
>             Fix For: 4.5.0.AM1
>
>
> Openshift Tools installation was failing with this error:
> {code}
>    [p2.dir] !MESSAGE Cannot complete the install because one or more required items could not be found.
>    [p2.dir] !MESSAGE Software being installed: JBoss OpenShift 3 Tools Developer Resources 3.4.0.v20170519-1022 (org.jboss.tools.openshift.feature.source.feature.group 3.4.0.v20170519-1022)
>    [p2.dir] !MESSAGE Missing requirement: OpenShift 3 UI 3.4.0.v20170510-2205 (org.jboss.tools.openshift.ui 3.4.0.v20170510-2205) requires 'bundle org.eclipse.linuxtools.docker.core [2.1.0,3.0.0)' but it could not be found
>    [p2.dir] !MESSAGE From: JBoss OpenShift 3 Tools 3.4.0.v20170519-1022 (org.jboss.tools.openshift.feature.feature.group 3.4.0.v20170519-1022)
> {code}
> So I pushed this PR:
> https://github.com/jbosstools/jbosstools-openshift/pull/1507
> And now it's failing with 9 compilation errors:
> {code}
> [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile (default-compile) on project org.jboss.tools.openshift.ui: Compilation failure: Compilation failure:
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-openshift/plugins/org.jboss.tools.openshift.ui/src/org/jboss/tools/openshift/internal/ui/wizard/deployimage/DeployImageWizardModel.java:[30]
> [ERROR] import org.eclipse.linuxtools.docker.core.IDockerConnectionManagerListener2;
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The import org.eclipse.linuxtools.docker.core.IDockerConnectionManagerListener2 cannot be resolved
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-openshift/plugins/org.jboss.tools.openshift.ui/src/org/jboss/tools/openshift/internal/ui/wizard/deployimage/DeployImageWizardModel.java:[58]
> [ERROR] implements IDeployImageParameters, IDockerConnectionManagerListener2, PropertyChangeListener {
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] IDockerConnectionManagerListener2 cannot be resolved to a type
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-openshift/plugins/org.jboss.tools.openshift.ui/src/org/jboss/tools/openshift/internal/ui/wizard/deployimage/DeployImageWizardModel.java:[97]
> [ERROR] DockerConnectionManager.getInstance().addConnectionManagerListener(this);
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The method addConnectionManagerListener(IDockerConnectionManagerListener) in the type DockerConnectionManager is not applicable for the arguments (DeployImageWizardModel)
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-openshift/plugins/org.jboss.tools.openshift.ui/src/org/jboss/tools/openshift/internal/ui/wizard/deployimage/DeployImageWizardModel.java:[103]
> [ERROR] DockerConnectionManager.getInstance().removeConnectionManagerListener(this);
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The method removeConnectionManagerListener(IDockerConnectionManagerListener) in the type DockerConnectionManager is not applicable for the arguments (DeployImageWizardModel)
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-openshift/plugins/org.jboss.tools.openshift.ui/src/org/jboss/tools/openshift/internal/ui/wizard/deployimage/DeployImageWizardModel.java:[667]
> [ERROR] public void changeEvent(int event) {
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The method changeEvent(int) of type DeployImageWizardModel must override or implement a supertype method
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-openshift/plugins/org.jboss.tools.openshift.ui/src/org/jboss/tools/openshift/internal/ui/wizard/deployimage/DeployImageWizardModel.java:[670]
> [ERROR] public void changeEvent(IDockerConnection connection, int event) {
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The method changeEvent(IDockerConnection, int) of type DeployImageWizardModel must override or implement a supertype method
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-openshift/plugins/org.jboss.tools.openshift.ui/src/org/jboss/tools/openshift/internal/ui/wizard/deployimage/DeployImageWizardModel.java:[671]
> [ERROR] if ((event == ADD_EVENT)
> [ERROR] ^^^^^^^^^
> [ERROR] ADD_EVENT cannot be resolved to a variable
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-openshift/plugins/org.jboss.tools.openshift.ui/src/org/jboss/tools/openshift/internal/ui/wizard/deployimage/DeployImageWizardModel.java:[672]
> [ERROR] || (event == REMOVE_EVENT)) {
> [ERROR] ^^^^^^^^^^^^
> [ERROR] REMOVE_EVENT cannot be resolved to a variable
> [ERROR] /home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-openshift/plugins/org.jboss.tools.openshift.ui/src/org/jboss/tools/openshift/internal/ui/wizard/newapp/fromimage/ApplicationSourceFromImageModel.java:[55]
> [ERROR] public class ApplicationSourceFromImageModel
> [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> [ERROR] The hierarchy of the type ApplicationSourceFromImageModel is inconsistent
> [ERROR] 9 problems (9 errors)
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list