[JIRA] (JENKINS-12858) With Maven3 when build fails does not show exceptions

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12858) With Maven3 when build fails does not show exceptions

JIRA noreply@jenkins-ci.org
Marco Tizzoni created JENKINS-12858:
---------------------------------------

             Summary: With Maven3 when build fails does not show exceptions
                 Key: JENKINS-12858
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12858
             Project: Jenkins
          Issue Type: Bug
          Components: console-column
    Affects Versions: current
         Environment:  * Linux  2.6.18-238.1.1.el5xen #1 SMP Tue Jan 4 13:52:39 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
 * java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)


            Reporter: Marco Tizzoni
            Assignee: jieryn
            Priority: Minor


Console does not display the full stack trace when building using maven3 if the build fails.

*** MAVEN 3 BUILD CONSOLE ON JENKINS ***
[INFO] ------------------------------------------------------------------------
[INFO] Building ConnectionPool-sportello-jar 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
[INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.376s
[INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
cause : Compilation failure
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[..]
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 27 more
channel stopped
Finished: FAILURE
*** END MAVEN 3 BUILD CONSOLE ON JENKINS ***

Real console output

*** MAVEN 3 REAL OUTPUT ***
[INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
[INFO] Final Memory: 5M/88M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
[ERROR]
*** END MAVEN 2 SAMPLE OUTPUT ***

Every line tagged with '[ERROR]' is not logged.

Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12858) With Maven3 when build fails does not show exceptions

JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Tizzoni updated JENKINS-12858:
------------------------------------

    Environment:
- Linux  2.6.18-238.1.1.el5xen #1 SMP Tue Jan 4 13:52:39 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
- java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)



  was:
 * Linux  2.6.18-238.1.1.el5xen #1 SMP Tue Jan 4 13:52:39 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
 * java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)



    Description:
Console does not display the full stack trace when building using maven3 if the build fails.

### MAVEN 3 BUILD CONSOLE ON JENKINS ###
[INFO] ------------------------------------------------------------------------
[INFO] Building ConnectionPool-sportello-jar 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
[INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.376s
[INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
cause : Compilation failure
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[..]
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 27 more
channel stopped
Finished: FAILURE
### END MAVEN 3 BUILD CONSOLE ON JENKINS ###

Real console output

### MAVEN 3 REAL OUTPUT ###
[INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
[INFO] Final Memory: 5M/88M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
[ERROR]
### END MAVEN 2 SAMPLE OUTPUT ###

Every line tagged with '[ERROR]' is not logged.

Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

  was:
Console does not display the full stack trace when building using maven3 if the build fails.

*** MAVEN 3 BUILD CONSOLE ON JENKINS ***
[INFO] ------------------------------------------------------------------------
[INFO] Building ConnectionPool-sportello-jar 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
[INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.376s
[INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
cause : Compilation failure
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[..]
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 27 more
channel stopped
Finished: FAILURE
*** END MAVEN 3 BUILD CONSOLE ON JENKINS ***

Real console output

*** MAVEN 3 REAL OUTPUT ***
[INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
[INFO] Final Memory: 5M/88M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
[ERROR]
*** END MAVEN 2 SAMPLE OUTPUT ***

Every line tagged with '[ERROR]' is not logged.

Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

   

> With Maven3 when build fails does not show exceptions
> -----------------------------------------------------
>
>                 Key: JENKINS-12858
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12858
>             Project: Jenkins
>          Issue Type: Bug
>          Components: console-column
>    Affects Versions: current
>         Environment: - Linux  2.6.18-238.1.1.el5xen #1 SMP Tue Jan 4 13:52:39 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
> - java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
>            Reporter: Marco Tizzoni
>            Assignee: jieryn
>            Priority: Minor
>              Labels: console, maven
>
> Console does not display the full stack trace when building using maven3 if the build fails.
> ### MAVEN 3 BUILD CONSOLE ON JENKINS ###
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ConnectionPool-sportello-jar 1.0.0
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
> [INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 9.376s
> [INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
> [INFO] Final Memory: 7M/81M
> [INFO] ------------------------------------------------------------------------
> mavenExecutionResult exceptions not empty
> message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
> cause : Compilation failure
> Stack trace :
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> [..]
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
> at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
> at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> ... 27 more
> channel stopped
> Finished: FAILURE
> ### END MAVEN 3 BUILD CONSOLE ON JENKINS ###
> Real console output
> ### MAVEN 3 REAL OUTPUT ###
> [INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
> [INFO] Final Memory: 5M/88M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
> [ERROR]
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
> [ERROR]
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
> [ERROR]
> ### END MAVEN 2 SAMPLE OUTPUT ###
> Every line tagged with '[ERROR]' is not logged.
> Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12858) With Maven3 when build fails does not show exceptions

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Tizzoni updated JENKINS-12858:
------------------------------------

    Description:
Console does not display the full stack trace when building using maven3 if the build fails.

{quote}
*** MAVEN 3 BUILD CONSOLE ON JENKINS ***
[INFO] ------------------------------------------------------------------------
[INFO] Building ConnectionPool-sportello-jar 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
[INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.376s
[INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
cause : Compilation failure
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[..]
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 27 more
channel stopped
Finished: FAILURE
*** END MAVEN 3 BUILD CONSOLE ON JENKINS ***
{quote}

Real console output

{quote}
*** MAVEN 3 REAL OUTPUT ***
[INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
[INFO] Final Memory: 5M/88M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
[ERROR]
*** END MAVEN 2 SAMPLE OUTPUT ***
{quote}

Every line tagged with '[ERROR]' is not logged.

Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

  was:
Console does not display the full stack trace when building using maven3 if the build fails.

{{
*** MAVEN 3 BUILD CONSOLE ON JENKINS ***
[INFO] ------------------------------------------------------------------------
[INFO] Building ConnectionPool-sportello-jar 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
[INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.376s
[INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
cause : Compilation failure
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[..]
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 27 more
channel stopped
Finished: FAILURE
*** END MAVEN 3 BUILD CONSOLE ON JENKINS ***
}

Real console output

{
*** MAVEN 3 REAL OUTPUT ***
[INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
[INFO] Final Memory: 5M/88M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
[ERROR]
*** END MAVEN 2 SAMPLE OUTPUT *** }}

Every line tagged with '[ERROR]' is not logged.

Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

   

> With Maven3 when build fails does not show exceptions
> -----------------------------------------------------
>
>                 Key: JENKINS-12858
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12858
>             Project: Jenkins
>          Issue Type: Bug
>          Components: console-column
>    Affects Versions: current
>         Environment: - Linux  2.6.18-238.1.1.el5xen #1 SMP Tue Jan 4 13:52:39 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
> - java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
>            Reporter: Marco Tizzoni
>            Assignee: jieryn
>            Priority: Minor
>              Labels: console, maven
>
> Console does not display the full stack trace when building using maven3 if the build fails.
> {quote}
> *** MAVEN 3 BUILD CONSOLE ON JENKINS ***
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ConnectionPool-sportello-jar 1.0.0
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
> [INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 9.376s
> [INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
> [INFO] Final Memory: 7M/81M
> [INFO] ------------------------------------------------------------------------
> mavenExecutionResult exceptions not empty
> message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
> cause : Compilation failure
> Stack trace :
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> [..]
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
> at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
> at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> ... 27 more
> channel stopped
> Finished: FAILURE
> *** END MAVEN 3 BUILD CONSOLE ON JENKINS ***
> {quote}
> Real console output
> {quote}
> *** MAVEN 3 REAL OUTPUT ***
> [INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
> [INFO] Final Memory: 5M/88M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
> [ERROR]
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
> [ERROR]
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
> [ERROR]
> *** END MAVEN 2 SAMPLE OUTPUT ***
> {quote}
> Every line tagged with '[ERROR]' is not logged.
> Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12858) With Maven3 when build fails does not show exceptions

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Tizzoni updated JENKINS-12858:
------------------------------------

    Description:
Console does not display the full stack trace when building using maven3 if the build fails.

{{
*** MAVEN 3 BUILD CONSOLE ON JENKINS ***
[INFO] ------------------------------------------------------------------------
[INFO] Building ConnectionPool-sportello-jar 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
[INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.376s
[INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
cause : Compilation failure
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[..]
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 27 more
channel stopped
Finished: FAILURE
*** END MAVEN 3 BUILD CONSOLE ON JENKINS ***
}

Real console output

{
*** MAVEN 3 REAL OUTPUT ***
[INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
[INFO] Final Memory: 5M/88M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
[ERROR]
*** END MAVEN 2 SAMPLE OUTPUT *** }}

Every line tagged with '[ERROR]' is not logged.

Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

  was:
Console does not display the full stack trace when building using maven3 if the build fails.

### MAVEN 3 BUILD CONSOLE ON JENKINS ###
[INFO] ------------------------------------------------------------------------
[INFO] Building ConnectionPool-sportello-jar 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
[INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.376s
[INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
cause : Compilation failure
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[..]
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 27 more
channel stopped
Finished: FAILURE
### END MAVEN 3 BUILD CONSOLE ON JENKINS ###

Real console output

### MAVEN 3 REAL OUTPUT ###
[INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
[INFO] Final Memory: 5M/88M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
[ERROR]
### END MAVEN 2 SAMPLE OUTPUT ###

Every line tagged with '[ERROR]' is not logged.

Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

   

> With Maven3 when build fails does not show exceptions
> -----------------------------------------------------
>
>                 Key: JENKINS-12858
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12858
>             Project: Jenkins
>          Issue Type: Bug
>          Components: console-column
>    Affects Versions: current
>         Environment: - Linux  2.6.18-238.1.1.el5xen #1 SMP Tue Jan 4 13:52:39 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
> - java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
>            Reporter: Marco Tizzoni
>            Assignee: jieryn
>            Priority: Minor
>              Labels: console, maven
>
> Console does not display the full stack trace when building using maven3 if the build fails.
> {{
> *** MAVEN 3 BUILD CONSOLE ON JENKINS ***
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ConnectionPool-sportello-jar 1.0.0
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
> [INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 9.376s
> [INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
> [INFO] Final Memory: 7M/81M
> [INFO] ------------------------------------------------------------------------
> mavenExecutionResult exceptions not empty
> message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
> cause : Compilation failure
> Stack trace :
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> [..]
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
> at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
> at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> ... 27 more
> channel stopped
> Finished: FAILURE
> *** END MAVEN 3 BUILD CONSOLE ON JENKINS ***
> }
> Real console output
> {
> *** MAVEN 3 REAL OUTPUT ***
> [INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
> [INFO] Final Memory: 5M/88M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
> [ERROR]
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
> [ERROR]
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
> [ERROR]
> *** END MAVEN 2 SAMPLE OUTPUT *** }}
> Every line tagged with '[ERROR]' is not logged.
> Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12858) With Maven3 when build fails does not show exceptions

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Tizzoni updated JENKINS-12858:
------------------------------------

    Description:
Console does not display the full stack trace when building using maven3 if the build fails.

{code:title=MAVEN 3 BUILD CONSOLE ON JENKINS|borderStyle=solid}
[INFO] ------------------------------------------------------------------------
[INFO] Building ConnectionPool-sportello-jar 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
[INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.376s
[INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
cause : Compilation failure
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[..]
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 27 more
channel stopped
Finished: FAILURE
*** END MAVEN 3 BUILD CONSOLE ON JENKINS ***
{code}

Real console output

{code:title=MAVEN 3 REAL OUTPUT|borderStyle=solid}
[INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
[INFO] Final Memory: 5M/88M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
[ERROR]
*** END MAVEN 2 SAMPLE OUTPUT ***
{code}

Every line tagged with '[ERROR]' is not logged.

Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

  was:
Console does not display the full stack trace when building using maven3 if the build fails.

{code:title=MAVEN 3 BUILD CONSOLE ON JENKINS|borderStyle=solid}
[INFO] ------------------------------------------------------------------------
[INFO] Building ConnectionPool-sportello-jar 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
[INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.376s
[INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
cause : Compilation failure
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[..]
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 27 more
channel stopped
Finished: FAILURE
*** END MAVEN 3 BUILD CONSOLE ON JENKINS ***
{code}

Real console output

{quote}
*** MAVEN 3 REAL OUTPUT ***
[INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
[INFO] Final Memory: 5M/88M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
[ERROR]
*** END MAVEN 2 SAMPLE OUTPUT ***
{quote}

Every line tagged with '[ERROR]' is not logged.

Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

   

> With Maven3 when build fails does not show exceptions
> -----------------------------------------------------
>
>                 Key: JENKINS-12858
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12858
>             Project: Jenkins
>          Issue Type: Bug
>          Components: console-column
>    Affects Versions: current
>         Environment: - Linux  2.6.18-238.1.1.el5xen #1 SMP Tue Jan 4 13:52:39 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
> - java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
>            Reporter: Marco Tizzoni
>            Assignee: jieryn
>            Priority: Minor
>              Labels: console, maven
>
> Console does not display the full stack trace when building using maven3 if the build fails.
> {code:title=MAVEN 3 BUILD CONSOLE ON JENKINS|borderStyle=solid}
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ConnectionPool-sportello-jar 1.0.0
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
> [INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 9.376s
> [INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
> [INFO] Final Memory: 7M/81M
> [INFO] ------------------------------------------------------------------------
> mavenExecutionResult exceptions not empty
> message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
> cause : Compilation failure
> Stack trace :
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> [..]
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
> at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
> at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> ... 27 more
> channel stopped
> Finished: FAILURE
> *** END MAVEN 3 BUILD CONSOLE ON JENKINS ***
> {code}
> Real console output
> {code:title=MAVEN 3 REAL OUTPUT|borderStyle=solid}
> [INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
> [INFO] Final Memory: 5M/88M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
> [ERROR]
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
> [ERROR]
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
> [ERROR]
> *** END MAVEN 2 SAMPLE OUTPUT ***
> {code}
> Every line tagged with '[ERROR]' is not logged.
> Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12858) With Maven3 when build fails does not show exceptions

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Tizzoni updated JENKINS-12858:
------------------------------------

    Description:
Console does not display the full stack trace when building using maven3 if the build fails.

{code:title=MAVEN 3 BUILD CONSOLE ON JENKINS|borderStyle=solid}
[INFO] ------------------------------------------------------------------------
[INFO] Building ConnectionPool-sportello-jar 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
[INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.376s
[INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
cause : Compilation failure
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[..]
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 27 more
channel stopped
Finished: FAILURE
*** END MAVEN 3 BUILD CONSOLE ON JENKINS ***
{code}

Real console output

{quote}
*** MAVEN 3 REAL OUTPUT ***
[INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
[INFO] Final Memory: 5M/88M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
[ERROR]
*** END MAVEN 2 SAMPLE OUTPUT ***
{quote}

Every line tagged with '[ERROR]' is not logged.

Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

  was:
Console does not display the full stack trace when building using maven3 if the build fails.

{quote}
*** MAVEN 3 BUILD CONSOLE ON JENKINS ***
[INFO] ------------------------------------------------------------------------
[INFO] Building ConnectionPool-sportello-jar 1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
[INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.376s
[INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
cause : Compilation failure
Stack trace :
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
[..]
        at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
        at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
        at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 27 more
channel stopped
Finished: FAILURE
*** END MAVEN 3 BUILD CONSOLE ON JENKINS ***
{quote}

Real console output

{quote}
*** MAVEN 3 REAL OUTPUT ***
[INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
[INFO] Final Memory: 5M/88M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
[ERROR]
[ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
[ERROR]
*** END MAVEN 2 SAMPLE OUTPUT ***
{quote}

Every line tagged with '[ERROR]' is not logged.

Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

   

> With Maven3 when build fails does not show exceptions
> -----------------------------------------------------
>
>                 Key: JENKINS-12858
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12858
>             Project: Jenkins
>          Issue Type: Bug
>          Components: console-column
>    Affects Versions: current
>         Environment: - Linux  2.6.18-238.1.1.el5xen #1 SMP Tue Jan 4 13:52:39 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
> - java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
>            Reporter: Marco Tizzoni
>            Assignee: jieryn
>            Priority: Minor
>              Labels: console, maven
>
> Console does not display the full stack trace when building using maven3 if the build fails.
> {code:title=MAVEN 3 BUILD CONSOLE ON JENKINS|borderStyle=solid}
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ConnectionPool-sportello-jar 1.0.0
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
> [INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 9.376s
> [INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
> [INFO] Final Memory: 7M/81M
> [INFO] ------------------------------------------------------------------------
> mavenExecutionResult exceptions not empty
> message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
> cause : Compilation failure
> Stack trace :
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> [..]
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
> at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
> at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> ... 27 more
> channel stopped
> Finished: FAILURE
> *** END MAVEN 3 BUILD CONSOLE ON JENKINS ***
> {code}
> Real console output
> {quote}
> *** MAVEN 3 REAL OUTPUT ***
> [INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
> [INFO] Final Memory: 5M/88M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
> [ERROR]
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
> [ERROR]
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
> [ERROR]
> *** END MAVEN 2 SAMPLE OUTPUT ***
> {quote}
> Every line tagged with '[ERROR]' is not logged.
> Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12858) With Maven3 when build fails does not show exceptions

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

     [ https://issues.jenkins-ci.org/browse/JENKINS-12858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jieryn updated JENKINS-12858:
-----------------------------

       Assignee:     (was: jieryn)
    Component/s: maven
                     (was: console-column)
   

> With Maven3 when build fails does not show exceptions
> -----------------------------------------------------
>
>                 Key: JENKINS-12858
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12858
>             Project: Jenkins
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: current
>         Environment: - Linux  2.6.18-238.1.1.el5xen #1 SMP Tue Jan 4 13:52:39 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
> - java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
>            Reporter: Marco Tizzoni
>            Priority: Minor
>              Labels: console, maven
>
> Console does not display the full stack trace when building using maven3 if the build fails.
> {code:title=MAVEN 3 BUILD CONSOLE ON JENKINS|borderStyle=solid}
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ConnectionPool-sportello-jar 1.0.0
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
> [INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 9.376s
> [INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
> [INFO] Final Memory: 7M/81M
> [INFO] ------------------------------------------------------------------------
> mavenExecutionResult exceptions not empty
> message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
> cause : Compilation failure
> Stack trace :
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> [..]
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
> at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
> at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> ... 27 more
> channel stopped
> Finished: FAILURE
> *** END MAVEN 3 BUILD CONSOLE ON JENKINS ***
> {code}
> Real console output
> {code:title=MAVEN 3 REAL OUTPUT|borderStyle=solid}
> [INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
> [INFO] Final Memory: 5M/88M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
> [ERROR]
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
> [ERROR]
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
> [ERROR]
> *** END MAVEN 2 SAMPLE OUTPUT ***
> {code}
> Every line tagged with '[ERROR]' is not logged.
> Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-12858) With Maven3 when build fails does not show exceptions

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159418#comment-159418 ]

Marco Tizzoni commented on JENKINS-12858:
-----------------------------------------

Works using maven2 and compiler plugin 2.3.2 (not 2.0.2)

Probably this issue can be closed.
               

> With Maven3 when build fails does not show exceptions
> -----------------------------------------------------
>
>                 Key: JENKINS-12858
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12858
>             Project: Jenkins
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: current
>         Environment: - Linux  2.6.18-238.1.1.el5xen #1 SMP Tue Jan 4 13:52:39 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
> - java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
>            Reporter: Marco Tizzoni
>            Priority: Minor
>              Labels: console, maven
>
> Console does not display the full stack trace when building using maven3 if the build fails.
> {code:title=MAVEN 3 BUILD CONSOLE ON JENKINS|borderStyle=solid}
> [INFO] ------------------------------------------------------------------------
> [INFO] Building ConnectionPool-sportello-jar 1.0.0
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ConnectionPool-sportello-jar ---
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ ConnectionPool-sportello-jar ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ ConnectionPool-sportello-jar ---
> [INFO] Compiling 5 source files to /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/target/classes
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 9.376s
> [INFO] Finished at: Wed Feb 22 19:05:08 CET 2012
> [INFO] Final Memory: 7M/81M
> [INFO] ------------------------------------------------------------------------
> mavenExecutionResult exceptions not empty
> message : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
> cause : Compilation failure
> Stack trace :
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> [..]
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
> at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
> at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
> at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> ... 27 more
> channel stopped
> Finished: FAILURE
> *** END MAVEN 3 BUILD CONSOLE ON JENKINS ***
> {code}
> Real console output
> {code:title=MAVEN 3 REAL OUTPUT|borderStyle=solid}
> [INFO] Finished at: Wed Feb 22 19:21:51 CET 2012
> [INFO] Final Memory: 5M/88M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project ConnectionPool-sportello-jar: Compilation failure: Compilation failure:
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[62,17] unmappable character for encoding UTF8
> [ERROR]
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[68,56] unmappable character for encoding UTF8
> [ERROR]
> [ERROR] /var/lib/jenkins/workspace/sisi.dsvai.sportello.ConnectionPool-sportello/ConnectionPool-sportello-jar/src/main/java/it/bankit/sportello/connectionPool/SockIOPool.java:[125,13] unmappable character for encoding UTF8
> [ERROR]
> *** END MAVEN 2 SAMPLE OUTPUT ***
> {code}
> Every line tagged with '[ERROR]' is not logged.
> Everything works using Maven2 that does not tag each line with '[ERROR]', probably a different output classification.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Loading...