The errors are occuring because some testCases are leaving an item in
the registry.
If the next test is one that checks for an empty registry at the end,
it will fail.

It's very easy to check that the registry is always left empty by
adding an @After method - I tried this and the code then fails for me
on WinXP/Eclipse.

I don't know if this is a bug in some test cases or a bug in the code
- should the registry always be left clean, no matter what call
sequence is used?
Or are callers required to call toString() or whatever else it is that
cleans up the registry?

If so, should the main code be changed to clear the registry when
creating a StringBuilder (just in case the previous user fails to
clear up)?

On 6 March 2012 03:34, Gump <iss...@commons.apache.org> wrote:
> To whom it may engage...
>
> This is an automated request, but not an unsolicited one. For
> more information please visit http://gump.apache.org/nagged.html,
> and/or contact the folk at gene...@gump.apache.org.
>
> Project commons-lang3-test has an issue affecting its community integration.
> This issue affects 1 projects,
>  and has been outstanding for 21 runs.
> The current state of this project is 'Failed', with reason 'Build Failed'.
> For reference only, the following projects are affected by this:
>    - commons-lang3-test :  Apache Commons
>
>
> Full details are available at:
>    
> http://vmgump.apache.org/gump/public/apache-commons/commons-lang3-test/index.html
>
> That said, some information snippets are provided here.
>
> The following annotations (debug/informational/warning/error messages) were 
> provided:
>  -WARNING- Overriding Maven settings: 
> [/srv/gump/public/workspace/apache-commons/lang/gump_mvn_settings.xml]
>  -DEBUG- (Apache Gump generated) Apache Maven Settings in: 
> /srv/gump/public/workspace/apache-commons/lang/gump_mvn_settings.xml
>  -INFO- Failed with reason build failed
>  -DEBUG- Maven POM in: /srv/gump/public/workspace/apache-commons/lang/pom.xml
>  -INFO- Project Reports in: 
> /srv/gump/public/workspace/apache-commons/lang/target/surefire-reports
>
>
>
> The following work was performed:
> http://vmgump.apache.org/gump/public/apache-commons/commons-lang3-test/gump_work/build_apache-commons_commons-lang3-test.html
> Work Name: build_apache-commons_commons-lang3-test (Type: Build)
> Work ended in a state of : Failed
> Elapsed: 1 min 23 secs
> Command Line: /opt/maven2/bin/mvn --batch-mode --settings 
> /srv/gump/public/workspace/apache-commons/lang/gump_mvn_settings.xml test
> [Working Directory: /srv/gump/public/workspace/apache-commons/lang]
> M2_HOME: /opt/maven2
> ---------------------------------------------
> Running org.apache.commons.lang3.text.translate.LookupTranslatorTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
> Running org.apache.commons.lang3.text.ExtendedMessageFormatTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.151 sec
> Running org.apache.commons.lang3.text.StrSubstitutorTest
> Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec
> Running org.apache.commons.lang3.text.CompositeFormatTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
> Running org.apache.commons.lang3.text.StrTokenizerTest
> Tests run: 55, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec
> Running org.apache.commons.lang3.text.StrBuilderTest
> Tests run: 77, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec
> Running org.apache.commons.lang3.text.FormattableUtilsTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
> Running org.apache.commons.lang3.StringUtilsStartsEndsWithTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec
> Running org.apache.commons.lang3.ArrayUtilsRemoveMultipleTest
> Tests run: 55, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
> Running org.apache.commons.lang3.RandomStringUtilsTest
> Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec
> Running org.apache.commons.lang3.StringUtilsTest
> Tests run: 83, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.297 sec
>
> Results :
>
> Failed tests:   
> testReflectionObjectCycle(org.apache.commons.lang3.builder.ToStringBuilderTest):
>  Expected null, actual: {5=null}
>  testSimpleReflectionObjectCycle(org.apache.commons.lang3.builder.ToStringBuilderTest):
>  Expected null, actual: {5=null}
>  testReflectionByteArrayArray(org.apache.commons.lang3.builder.ToStringBuilderTest):
>  Expected null, actual: {5=null}
>  testReflectionCharArrayArray(org.apache.commons.lang3.builder.ToStringBuilderTest):
>  Expected null, actual: {5=null}
>  testReflectionShortArray(org.apache.commons.lang3.builder.ToStringBuilderTest):
>  Expected null, actual: {5=null}
>  testSelfInstanceVarReflectionObjectCycle(org.apache.commons.lang3.builder.ToStringBuilderTest):
>  Expected null, actual: {5=null}
>  testReflectionIntArray(org.apache.commons.lang3.builder.ToStringBuilderTest):
>  Expected null, actual: {5=null}
>  testReflectionCharArray(org.apache.commons.lang3.builder.ToStringBuilderTest):
>  Expected null, actual: {5=null}
>  testObjectCycle(org.apache.commons.lang3.builder.ToStringBuilderTest): 
> Expected null, actual: {5=null}
>
> Tests run: 2139, Failures: 9, Errors: 0, Skipped: 4
>
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to 
> /srv/gump/public/workspace/apache-commons/lang/target/surefire-reports for 
> the individual test results.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 22 seconds
> [INFO] Finished at: Tue Mar 06 03:34:15 UTC 2012
> [INFO] Final Memory: 32M/78M
> [INFO] 
> ------------------------------------------------------------------------
> ---------------------------------------------
>
> To subscribe to this information via syndicated feeds:
> - RSS: 
> http://vmgump.apache.org/gump/public/apache-commons/commons-lang3-test/rss.xml
> - Atom: 
> http://vmgump.apache.org/gump/public/apache-commons/commons-lang3-test/atom.xml
>
> ============================== Gump Tracking Only ===
> Produced by Apache Gump(TM) version 2.3.
> Gump Run 12000006032012, vmgump.apache.org:vmgump:12000006032012
> Gump E-mail Identifier (unique within run) #19.
>
> --
> Apache Gump
> http://gump.apache.org/ [Instance: vmgump]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to