[jbosstools-issues] [JBoss JIRA] (JBIDE-26355) Fuse on openshift project does not work on CDK CDK v3.6.0-alpha.2-1

Josef Kopriva (JIRA) issues at jboss.org
Mon Sep 10 08:41:02 EDT 2018


     [ https://issues.jboss.org/browse/JBIDE-26355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josef Kopriva updated JBIDE-26355:
----------------------------------
    Description: 
I have tried to reproduce JIRA https://issues.jboss.org/browse/JBIDE-25303 , but during deploy to OpenShift on CDK I get an error.

Full log of build:

{code:java}
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.mycompany:camel-ose-springboot-xml:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.springframework.boot:spring-boot-maven-plugin @ line 172, column 15
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
[INFO] 
[INFO] ---------------< org.mycompany:camel-ose-springboot-xml >---------------
[INFO] Building Fabric8 :: Quickstarts :: Spring-Boot :: Camel XML 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ camel-ose-springboot-xml ---
[INFO] Deleting /home/jkopriva/fuse-on-openshift/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ camel-ose-springboot-xml ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] 
[INFO] --- fabric8-maven-plugin:3.1.80.redhat-000019:resource (default) @ camel-ose-springboot-xml ---
[INFO] F8: Running in OpenShift mode
[INFO] F8: Using docker image name of namespace: myproject
[INFO] F8: spring-boot: Using fat jar packaging as the spring boot plugin is using `repackage` goal execution
[INFO] F8: Running generator spring-boot
[INFO] F8: spring-boot: Using Docker image fabric8/s2i-java as base / builder
[INFO] F8: Using resource templates from /home/jkopriva/fuse-on-openshift/src/main/fabric8
2018-09-10 14:36:03 INFO  Version:30 - HV000001: Hibernate Validator 5.2.4.Final
[INFO] F8: fmp-service: Adding a default Service with ports [8080]
[INFO] F8: spring-boot-health-check: Adding readiness probe on port 8081, path='/health', with initial delay 10 seconds
[INFO] F8: spring-boot-health-check: Adding liveness probe on port 8081, path='/health', with initial delay 180 seconds
[WARNING] F8: fmp-git: No .git/config file could be found so cannot annotate kubernetes resources with git commit SHA and branch
[WARNING] F8: fmp-git: No .git/config file could be found so cannot annotate kubernetes resources with git commit SHA and branch
[WARNING] F8: fmp-git: No .git/config file could be found so cannot annotate kubernetes resources with git commit SHA and branch
[WARNING] F8: fmp-git: No .git/config file could be found so cannot annotate kubernetes resources with git commit SHA and branch
[WARNING] F8: fmp-git: No .git/config file could be found so cannot annotate kubernetes resources with git commit SHA and branch
[WARNING] F8: fmp-git: No .git/config file could be found so cannot annotate kubernetes resources with git commit SHA and branch
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ camel-ose-springboot-xml ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /home/jkopriva/fuse-on-openshift/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ camel-ose-springboot-xml ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jkopriva/fuse-on-openshift/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ camel-ose-springboot-xml ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ camel-ose-springboot-xml ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ camel-ose-springboot-xml ---
[INFO] Building jar: /home/jkopriva/fuse-on-openshift/target/camel-ose-springboot-xml-1.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- spring-boot-maven-plugin:1.4.1.RELEASE:repackage (default) @ camel-ose-springboot-xml ---
[INFO] 
[INFO] >>> fabric8-maven-plugin:3.1.80.redhat-000019:build (default) > initialize @ camel-ose-springboot-xml >>>
[INFO] 
[INFO] <<< fabric8-maven-plugin:3.1.80.redhat-000019:build (default) < initialize @ camel-ose-springboot-xml <<<
[INFO] 
[INFO] 
[INFO] --- fabric8-maven-plugin:3.1.80.redhat-000019:build (default) @ camel-ose-springboot-xml ---
[INFO] F8: Using OpenShift build with strategy S2I
[INFO] F8: spring-boot: Using fat jar packaging as the spring boot plugin is using `repackage` goal execution
[INFO] F8: Running generator spring-boot
[INFO] F8: spring-boot: Using Docker image fabric8/s2i-java as base / builder
[INFO] Copying files to /home/jkopriva/fuse-on-openshift/target/docker/camel-ose-springboot-xml/latest/build/maven
[INFO] Building tar: /home/jkopriva/fuse-on-openshift/target/docker/camel-ose-springboot-xml/latest/tmp/docker-build.tar
[INFO] F8: [camel-ose-springboot-xml:latest] "spring-boot": Created docker source tar /home/jkopriva/fuse-on-openshift/target/docker/camel-ose-springboot-xml/latest/tmp/docker-build.tar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.250 s
[INFO] Finished at: 2018-09-10T14:36:19+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1.80.redhat-000019:build (default) on project camel-ose-springboot-xml: Execution default of goal io.fabric8:fabric8-maven-plugin:3.1.80.redhat-000019:build failed: An error has occurred. timeout: Socket closed -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

{code}

I have also tried this project with oc cluster up(version 3.9.0) and it went without errors.


  was:
I have tried to reproduce JIRA https://issues.jboss.org/browse/JBIDE-25303 , but during deploy to OpenShift on CDK I get an error.

Full log of build:

{code:java}
https://issues.jboss.org/browse/JBIDE-25303
{code}




> Fuse on openshift project does not work on CDK CDK v3.6.0-alpha.2-1
> -------------------------------------------------------------------
>
>                 Key: JBIDE-26355
>                 URL: https://issues.jboss.org/browse/JBIDE-26355
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk, openshift
>    Affects Versions: 4.9.0.AM3
>         Environment: F28
> CDK v3.6.0-alpha.2-1
> Red Hat Developer Studio
> Version: 12.9.0.AM3
> Build id: AM3-v20180906-1322-B3331
> Build date: 20180906-1322
>            Reporter: Josef Kopriva
>
> I have tried to reproduce JIRA https://issues.jboss.org/browse/JBIDE-25303 , but during deploy to OpenShift on CDK I get an error.
> Full log of build:
> {code:java}
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.mycompany:camel-ose-springboot-xml:jar:1.0.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.springframework.boot:spring-boot-maven-plugin @ line 172, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> [INFO] 
> [INFO] ---------------< org.mycompany:camel-ose-springboot-xml >---------------
> [INFO] Building Fabric8 :: Quickstarts :: Spring-Boot :: Camel XML 1.0.0-SNAPSHOT
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ camel-ose-springboot-xml ---
> [INFO] Deleting /home/jkopriva/fuse-on-openshift/target
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ camel-ose-springboot-xml ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO] 
> [INFO] --- fabric8-maven-plugin:3.1.80.redhat-000019:resource (default) @ camel-ose-springboot-xml ---
> [INFO] F8: Running in OpenShift mode
> [INFO] F8: Using docker image name of namespace: myproject
> [INFO] F8: spring-boot: Using fat jar packaging as the spring boot plugin is using `repackage` goal execution
> [INFO] F8: Running generator spring-boot
> [INFO] F8: spring-boot: Using Docker image fabric8/s2i-java as base / builder
> [INFO] F8: Using resource templates from /home/jkopriva/fuse-on-openshift/src/main/fabric8
> 2018-09-10 14:36:03 INFO  Version:30 - HV000001: Hibernate Validator 5.2.4.Final
> [INFO] F8: fmp-service: Adding a default Service with ports [8080]
> [INFO] F8: spring-boot-health-check: Adding readiness probe on port 8081, path='/health', with initial delay 10 seconds
> [INFO] F8: spring-boot-health-check: Adding liveness probe on port 8081, path='/health', with initial delay 180 seconds
> [WARNING] F8: fmp-git: No .git/config file could be found so cannot annotate kubernetes resources with git commit SHA and branch
> [WARNING] F8: fmp-git: No .git/config file could be found so cannot annotate kubernetes resources with git commit SHA and branch
> [WARNING] F8: fmp-git: No .git/config file could be found so cannot annotate kubernetes resources with git commit SHA and branch
> [WARNING] F8: fmp-git: No .git/config file could be found so cannot annotate kubernetes resources with git commit SHA and branch
> [WARNING] F8: fmp-git: No .git/config file could be found so cannot annotate kubernetes resources with git commit SHA and branch
> [WARNING] F8: fmp-git: No .git/config file could be found so cannot annotate kubernetes resources with git commit SHA and branch
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ camel-ose-springboot-xml ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 2 source files to /home/jkopriva/fuse-on-openshift/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ camel-ose-springboot-xml ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /home/jkopriva/fuse-on-openshift/src/test/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.0:testCompile (default-testCompile) @ camel-ose-springboot-xml ---
> [INFO] No sources to compile
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ camel-ose-springboot-xml ---
> [INFO] No tests to run.
> [INFO] 
> [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ camel-ose-springboot-xml ---
> [INFO] Building jar: /home/jkopriva/fuse-on-openshift/target/camel-ose-springboot-xml-1.0.0-SNAPSHOT.jar
> [INFO] 
> [INFO] --- spring-boot-maven-plugin:1.4.1.RELEASE:repackage (default) @ camel-ose-springboot-xml ---
> [INFO] 
> [INFO] >>> fabric8-maven-plugin:3.1.80.redhat-000019:build (default) > initialize @ camel-ose-springboot-xml >>>
> [INFO] 
> [INFO] <<< fabric8-maven-plugin:3.1.80.redhat-000019:build (default) < initialize @ camel-ose-springboot-xml <<<
> [INFO] 
> [INFO] 
> [INFO] --- fabric8-maven-plugin:3.1.80.redhat-000019:build (default) @ camel-ose-springboot-xml ---
> [INFO] F8: Using OpenShift build with strategy S2I
> [INFO] F8: spring-boot: Using fat jar packaging as the spring boot plugin is using `repackage` goal execution
> [INFO] F8: Running generator spring-boot
> [INFO] F8: spring-boot: Using Docker image fabric8/s2i-java as base / builder
> [INFO] Copying files to /home/jkopriva/fuse-on-openshift/target/docker/camel-ose-springboot-xml/latest/build/maven
> [INFO] Building tar: /home/jkopriva/fuse-on-openshift/target/docker/camel-ose-springboot-xml/latest/tmp/docker-build.tar
> [INFO] F8: [camel-ose-springboot-xml:latest] "spring-boot": Created docker source tar /home/jkopriva/fuse-on-openshift/target/docker/camel-ose-springboot-xml/latest/tmp/docker-build.tar
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 18.250 s
> [INFO] Finished at: 2018-09-10T14:36:19+02:00
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:3.1.80.redhat-000019:build (default) on project camel-ose-springboot-xml: Execution default of goal io.fabric8:fabric8-maven-plugin:3.1.80.redhat-000019:build failed: An error has occurred. timeout: Socket closed -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
> {code}
> I have also tried this project with oc cluster up(version 3.9.0) and it went without errors.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list