Bug#652232: checkstyle: FTBFS: Tests run: 676, Failures: 372, Errors: 0, Skipped: 0

Mònica Ramírez Arceda monica at probeta.net
Thu Dec 15 12:08:55 UTC 2011


Source: checkstyle
Version: 5.4-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20111210 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> 
> Results :
> 
> Failed tests:   com.puppycrawl.tools.checkstyle.UtilsTest.testBadRegex(): Failed to initialise regexp expression [
>   com.puppycrawl.tools.checkstyle.XMLLoggerTest.testNoCloseStream(): length. expected:<3> but was:<6>
>   com.puppycrawl.tools.checkstyle.XMLLoggerTest.testFileStarted(): length. expected:<4> but was:<10>
>   com.puppycrawl.tools.checkstyle.XMLLoggerTest.testFileFinished(): length. expected:<4> but was:<14>
>   com.puppycrawl.tools.checkstyle.XMLLoggerTest.testAddError(): length. expected:<4> but was:<18>
>   com.puppycrawl.tools.checkstyle.XMLLoggerTest.testAddException(): length. expected:<8> but was:<26>
>   com.puppycrawl.tools.checkstyle.api.AbstractViolationReporterTest.testCustomMessageWithParametersNegative(): Unmatched braces in the pattern.
>   com.puppycrawl.tools.checkstyle.api.SeverityLevelTest.testMisc(): No enum const class com.puppycrawl.tools.checkstyle.api.SeverityLevel.UNKNOWN
>   com.puppycrawl.tools.checkstyle.api.ScopeTest.testMisc(): No enum const class com.puppycrawl.tools.checkstyle.api.Scope.UNKNOWN
>   com.puppycrawl.tools.checkstyle.api.FastStackTest.testPeek(): FastStack is empty
>   com.puppycrawl.tools.checkstyle.api.FastStackTest.testPop(): FastStack is empty
>   com.puppycrawl.tools.checkstyle.api.AutomaticBeanTest.testNoSuchAttribute(): Property 'NonExisting' in module testConf does not exist, please check the documentation
>   com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilterTest.testNone(): error message 0 expected:<...yCommentFilter.java:[14:17: Name 'A]1' must match patter...> but was:<...yCommentFilter.java:[22:17: Name 'C]1' must match patter...>
>   com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilterTest.testCheckC(): error message 0 expected:<...yCommentFilter.java:[15:17: Name 'A2]' must match pattern...> but was:<...yCommentFilter.java:[22:17: Name 'C1]' must match pattern...>
>   com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilterTest.testCheckCPP(): error message 0 expected:<...yCommentFilter.java:[14:17: Name 'A]1' must match patter...> but was:<...yCommentFilter.java:[22:17: Name 'C]1' must match patter...>
>   com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilterTest.testUsingAVariableMessage(): error message 0 expected:<...yCommentFilter.java:[14:17: Name 'A]1' must match patter...> but was:<...yCommentFilter.java:[22:17: Name 'C]1' must match patter...>
>   com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilterTest.testUsingAVariableCheckOnNextLine(): error message 0 expected:<...yCommentFilter.java:[14:17: Name 'A]1' must match patter...> but was:<...yCommentFilter.java:[22:17: Name 'C]1' must match patter...>
>   com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilterTest.testUsingAVariableCheckOnPreviousLine(): error message 0 expected:<...yCommentFilter.java:[14:17: Name 'A]1' must match patter...> but was:<...yCommentFilter.java:[22:17: Name 'C]1' must match patter...>
>   com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilterTest.testVariableCheckOnVariableNumberOfLines(): error message 0 expected:<...yCommentFilter.java:[14:17: Name 'A]1' must match patter...> but was:<...yCommentFilter.java:[22:17: Name 'C]1' must match patter...>
>   com.puppycrawl.tools.checkstyle.filters.FilterSetTest.testEmptyChain()
>   com.puppycrawl.tools.checkstyle.filters.FilterSetTest.testOneFilter()
>   com.puppycrawl.tools.checkstyle.filters.FilterSetTest.testMultipleFilter()
>   com.puppycrawl.tools.checkstyle.filters.SuppressElementTest.testEquals(): filter, filter2 expected:<null> but was:<SupressElement[files=Test,checks=Test,lines=null,columns=null]>

...

>   com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheckTest.testSpecified(): error message 0 expected:<[/build/checkstyle-ESKTmU/checkstyle-5.4/src/testinputs/com/puppycrawl/tools/checkstyle/InputSimple.java:6:42: Name 'com.puppycrawl.tools.checkstyle' must match pattern '[A-Z]+'].> but was:<[Audit done].>
>   com.puppycrawl.tools.checkstyle.checks.naming.AbstractClassNameCheckTest.testIllegalClassType(): error message 0 expected:<...tractClassName.java:[26:1: Class 'AbstractClass' must be declared as 'abstract]'.> but was:<...tractClassName.java:[3:1: Name 'InputAbstractClassName' must match pattern '^Abstract.*$|^.*Factory$]'.>
>   com.puppycrawl.tools.checkstyle.checks.naming.AbstractClassNameCheckTest.testAllVariants(): error message 4 expected:<[/build/checkstyle-ESKTmU/checkstyle-5.4/src/testinputs/com/puppycrawl/tools/checkstyle/naming/InputAbstractClassName.java:26:1: Class 'AbstractClass' must be declared as 'abstract'].> but was:<[Audit done].>
>   com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheckTest.testInnerClass(): error message 0 expected:<...wl/tools/checkstyle/[InputInner.java:56:25: Name 'ABC]' must match pattern...> but was:<...wl/tools/checkstyle/[naming/InputMemberName.java:8:16: Name '_public]' must match pattern...>
>   com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheckTest.testSpecified(): error message 0 expected:<...wl/tools/checkstyle/[InputSimple.java:35:17: Name 'badMember' must match pattern '^m[A-Z]][a-zA-Z0-9]*$'.> but was:<...wl/tools/checkstyle/[naming/InputMemberName.java:8:16: Name '_public' must match pattern '^[a-z]][a-zA-Z0-9]*$'.>
>   com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheckTest.testUnderlined(): error message 0 expected:<...nputMemberName.java:[3:16: Name 'mPublic' must match pattern '^_[a-z]]*$'.> but was:<...nputMemberName.java:[8:16: Name '_public' must match pattern '^[a-z][a-zA-Z0-9]]*$'.>
>   com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheckTest.testPublicOnly(): error message 0 expected:<...nputMemberName.java:[3:16: Name 'mPublic' must match pattern '^_[a-z]]*$'.> but was:<...nputMemberName.java:[8:16: Name '_public' must match pattern '^[a-z][a-zA-Z0-9]]*$'.>
>   com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheckTest.testProtectedOnly(): error message 0 expected:<...nputMemberName.java:[4:19: Name 'mProtected' must match pattern '^_[a-z]]*$'.> but was:<...nputMemberName.java:[8:16: Name '_public' must match pattern '^[a-z][a-zA-Z0-9]]*$'.>
>   com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheckTest.testPackageOnly(): error message 0 expected:<...nputMemberName.java:[5:9: Name 'mPackage' must match pattern '^_[a-z]]*$'.> but was:<...nputMemberName.java:[8:16: Name '_public' must match pattern '^[a-z][a-zA-Z0-9]]*$'.>
>   com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheckTest.testPrivateOnly(): error message 0 expected:<...nputMemberName.java:[6:17: Name 'mPrivate' must match pattern '^_[a-z]]*$'.> but was:<...nputMemberName.java:[8:16: Name '_public' must match pattern '^[a-z][a-zA-Z0-9]]*$'.>
>   com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheckTest.testAccessTuning(): error message 0 expected:<...ols/checkstyle/Input[MethNameEqualClsName.java:12:16: Name 'InputMethNameEqualClsName]' must match pattern...> but was:<...ols/checkstyle/Input[Simple.java:137:10: Name 'ALL_UPPERCASE_METHOD]' must match pattern...>
>   com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheckTest.testMethodEqClass(): error message 0 expected:<...ols/checkstyle/Input[MethNameEqualClsName.java:12:16: Method Name 'InputMethNameEqualClsName' must not equal the enclosing class name].> but was:<...ols/checkstyle/Input[Simple.java:137:10: Name 'ALL_UPPERCASE_METHOD' must match pattern '^[a-z][a-zA-Z0-9]*$'].>
>   com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheckTest.testMethodEqClassAllow(): error message 0 expected:<...ols/checkstyle/Input[MethNameEqualClsName.java:12:16: Name 'InputMethNameEqualClsName]' must match pattern...> but was:<...ols/checkstyle/Input[Simple.java:137:10: Name 'ALL_UPPERCASE_METHOD]' must match pattern...>
> 
> Tests run: 676, Failures: 372, Errors: 0, Skipped: 0
> 
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] There are test failures.
> 
> Please refer to /build/checkstyle-ESKTmU/checkstyle-5.4/target/surefire-reports for the individual test results.
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 11 seconds
> [INFO] Finished at: Sat Dec 10 19:05:15 CET 2011
> [INFO] Final Memory: 29M/646M
> [INFO] ------------------------------------------------------------------------
> make: *** [mvn-build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/12/10/checkstyle_5.4-1_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the pkg-java-maintainers mailing list