Your message dated Sun, 23 Dec 2018 01:05:04 +0000
with message-id <[email protected]>
and subject line Bug#910093: fixed in maven-compiler-plugin 3.8.0-2
has caused the Debian Bug report #910093,
regarding maven-compiler-plugin: tests fail due to hardcoded junit jar path and 
missing JAVA_HOME
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
910093: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910093
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: maven-compiler-plugin
Version: 3.8.0-1
Severity: minor

Dear Maintainer,

Currently maven-compiler-plugin tests are failing due to 2 different
reasons:
1. Some tests depend on JAVA_HOME being set
2. The junit jar file is hardcoded to version 3.8.1

Excerpt of the buildlog with the test failures:
[ERROR] Tests run: 12, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 8.983 
s <<< FAILURE! - in org.apache.maven.plugin.compiler.CompilerMojoTestCase
[ERROR] 
testCompilerBasic(org.apache.maven.plugin.compiler.CompilerMojoTestCase)  Time 
elapsed: 5.642 s  <<< ERROR!
org.apache.maven.plugin.compiler.CompilationFailureException: Compilation 
failure
        at 
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompilerBasic(CompilerMojoTestCase.java:99)

[ERROR] 
testCompilerIncludesExcludes(org.apache.maven.plugin.compiler.CompilerMojoTestCase)
  Time elapsed: 0.784 s  <<< ERROR!
org.apache.maven.plugin.compiler.CompilationFailureException: Compilation 
failure
        at 
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompilerIncludesExcludes(CompilerMojoTestCase.java:190)

[ERROR] 
testCompileSkipMain(org.apache.maven.plugin.compiler.CompilerMojoTestCase)  
Time elapsed: 0.369 s  <<< ERROR!
org.apache.maven.plugin.compiler.CompilationFailureException: Compilation 
failure
        at 
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompileSkipMain(CompilerMojoTestCase.java:359)

[ERROR] testCompilerFork(org.apache.maven.plugin.compiler.CompilerMojoTestCase) 
 Time elapsed: 0.163 s  <<< ERROR!
org.apache.maven.plugin.MojoExecutionException: Fatal error compiling
        at 
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompilerFork(CompilerMojoTestCase.java:215)
Caused by: org.codehaus.plexus.compiler.CompilerException: Error while 
executing the external compiler.
        at 
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompilerFork(CompilerMojoTestCase.java:215)
Caused by: org.codehaus.plexus.util.cli.CommandLineException: Error while 
executing process.
        at 
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompilerFork(CompilerMojoTestCase.java:215)
Caused by: java.io.IOException: Cannot run program "bin/javac" (in directory 
"/<<PKGBUILDDIR>>"): error=2, No such file or directory
        at 
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompilerFork(CompilerMojoTestCase.java:215)
Caused by: java.io.IOException: error=2, No such file or directory
        at 
org.apache.maven.plugin.compiler.CompilerMojoTestCase.testCompilerFork(CompilerMojoTestCase.java:215)

[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   CompilerMojoTestCase.testCompileSkipMain:359 ? CompilationFailure 
Compilation ...
[ERROR]   CompilerMojoTestCase.testCompilerBasic:99 ? CompilationFailure 
Compilation fai...
[ERROR]   CompilerMojoTestCase.testCompilerFork:215 ? MojoExecution Fatal error 
compilin...
[ERROR]   CompilerMojoTestCase.testCompilerIncludesExcludes:190 ? 
CompilationFailure Com...
[INFO]
[ERROR] Tests run: 12, Failures: 0, Errors: 4, Skipped: 0
[INFO]
[ERROR] There are test failures.


Expected result with passing tests:
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.216 
s - in org.apache.maven.plugin.compiler.CompilerMojoTestCase
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0


I will be attaching the debdiff with a fix as soon as I have a bug
number to reference to in the changelog.

Regards,
Tiago

-- System Information:
Debian Release: buster/sid
  APT prefers cosmic
  APT policy: (500, 'cosmic'), (400, 'cosmic-proposed')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-7-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: maven-compiler-plugin
Source-Version: 3.8.0-2

We believe that the bug you reported is fixed in the latest version of
maven-compiler-plugin, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <[email protected]> (supplier of updated maven-compiler-plugin 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 20 Nov 2018 21:13:36 -0800
Source: maven-compiler-plugin
Binary: libmaven-compiler-plugin-java
Architecture: source
Version: 3.8.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: tony mancill <[email protected]>
Description:
 libmaven-compiler-plugin-java - Maven Compiler plugin
Closes: 910093
Changes:
 maven-compiler-plugin (3.8.0-2) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Tiago Stürmer Daitx ]
   * Fix tests: (Closes: #910093)
     - debian/rules: set JAVA_HOME to prevent compiler test failure.
     - debian/patches/01-fix-wrong-junit-path.patch: patch wrong junit path in
       compiler test.
 .
   [ tony mancill ]
   * Update Homepage URL to use https
   * Bump Standards-Version to 4.2.1
Checksums-Sha1:
 643beed0132dc56bacb98b58db753f892fce9a23 2479 maven-compiler-plugin_3.8.0-2.dsc
 607e3301b5406dfa132a6c7c432e35e41d69bed3 4792 
maven-compiler-plugin_3.8.0-2.debian.tar.xz
 6a39239715fcbd0e4f5a0a05f5a821192bcd7b09 14588 
maven-compiler-plugin_3.8.0-2_amd64.buildinfo
Checksums-Sha256:
 6143b1dc9c61812965725d1551d47f5a50aebad5d1f1abea6d33160095df425c 2479 
maven-compiler-plugin_3.8.0-2.dsc
 1b94f03bac7f800a5de09415d3c8b01164e60a14803f5c0f8a25ba6139c50be3 4792 
maven-compiler-plugin_3.8.0-2.debian.tar.xz
 bc59a11684b64ee9b74b1502b4cc6016d23e60deffb37a92b6efad0da4fbae43 14588 
maven-compiler-plugin_3.8.0-2_amd64.buildinfo
Files:
 16af64ae4fdc37500a361da86fdc17fd 2479 java optional 
maven-compiler-plugin_3.8.0-2.dsc
 e7e23679dbc44506a217847214998904 4792 java optional 
maven-compiler-plugin_3.8.0-2.debian.tar.xz
 ee538d4b96ce00c801d42988de4e5025 14588 java optional 
maven-compiler-plugin_3.8.0-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAlwe2wsUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpZp2Q//Z56cA4vmJdJBPa0Tp4q5gFUbZZla
Ppthi/zj81do0I5pYy9wCRZFNMFF1Mx0QdIdRaKYJYuvFiTOgEr4S2lhewusskXG
ZH6FkVufshJbNRoPFNKE3TFZ2hfxPwtK+r/Kh/OoOxjZFeGckPzEF+GyYXrXPHFv
JGXpLFB20W71l/XbognTkRs0t281+FcBIChUOOGTe/NfLpvQRid5hRVxPQ2BQg7t
TBpbXJNRHJ4OR0bv/lqbeeULOmM23sB/GP4DPLwl/lmKZe2o7nMTH2wRByM2vyIA
aA4i1snNT0qdaMSOSt9O9aFVLQur53yXUdlRpqgAI+yMJs+kjNoC0AOtltaDXgKi
XOKQu3tvl9Z0nO3gBKuvq5qNiwMOZgNqrbZgVIv+/GhBDRx43wQcNrI3mvv8dLtA
LheE2VUM04CdPYQZ7GczzuSeoQaXvd6PdxcMAyGkX+bsOgzfm5iAWR7ErSQrdOFQ
8UvITjgNkxOrJOy5njL5O0KWD5inAuZiQ8ngLYgC4PFKlytC/D5+QgpVSQbR8SqV
f0u8LYgK0M+vwplgcXqfzB8e+110DuCsbR29gVt/sJ4RhRiXKyYzQgonV8vJiuUK
Xfrz+mO6lbSHj2KzBAvUmd3BDvOAswF3GI7cOXjhB+TIxrDXsMvVSynUCkQ5Ewuq
yVAOH0/dBL6AF/M=
=Gloi
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to