Bug#812643: jgit: FTBFS - 2 tests fail

Michael Tautschnig mt at debian.org
Mon Jan 25 17:35:16 UTC 2016


Package: jgit
Version: 3.7.1-1
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.eclipse.jgit.pgm.LsRemoteTest
Running org.eclipse.jgit.pgm.MergeTest
Running org.eclipse.jgit.pgm.CloneTest
Running org.eclipse.jgit.pgm.AddTest
Running org.eclipse.jgit.pgm.ConfigTest
Running org.eclipse.jgit.pgm.TagTest
Running org.eclipse.jgit.pgm.DescribeTest
Running org.eclipse.jgit.pgm.ArchiveTest
Running org.eclipse.jgit.pgm.FetchTest
Running org.eclipse.jgit.pgm.CLIGitCommandTest
Running org.eclipse.jgit.pgm.BranchTest
Running org.eclipse.jgit.pgm.CommitAndLogTest
Running org.eclipse.jgit.pgm.ReflogTest
Running org.eclipse.jgit.pgm.RepoTest
Running org.eclipse.jgit.pgm.CheckoutTest
Running org.eclipse.jgit.pgm.StatusTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.274 sec - in org.eclipse.jgit.pgm.CLIGitCommandTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.723 sec - in org.eclipse.jgit.pgm.ConfigTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 1.792 sec - in org.eclipse.jgit.pgm.AddTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.07 sec - in org.eclipse.jgit.pgm.ReflogTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.06 sec <<< FAILURE! - in org.eclipse.jgit.pgm.CommitAndLogTest
testCommitAmend(org.eclipse.jgit.pgm.CommitAndLogTest)  Time elapsed: 1.691 sec  <<< ERROR!
java.lang.IllegalStateException: Cannot set value to a final field 'org.eclipse.jgit.pgm.RevWalkTextBuiltin.commits'.
	at org.kohsuke.args4j.spi.Setters.create(Setters.java:32)
	at org.kohsuke.args4j.ClassParser.parse(ClassParser.java:38)
	at org.kohsuke.args4j.CmdLineParser.<init>(CmdLineParser.java:94)
	at org.kohsuke.args4j.CmdLineParser.<init>(CmdLineParser.java:69)
	at org.eclipse.jgit.pgm.opt.CmdLineParser.<init>(CmdLineParser.java:119)
	at org.eclipse.jgit.pgm.opt.CmdLineParser.<init>(CmdLineParser.java:102)
	at org.eclipse.jgit.pgm.TextBuiltin.parseArguments(TextBuiltin.java:224)
	at org.eclipse.jgit.pgm.TextBuiltin.execute(TextBuiltin.java:208)
	at org.eclipse.jgit.pgm.CLIGitCommand.rawExecute(CLIGitCommand.java:103)
	at org.eclipse.jgit.pgm.CLIGitCommand.execute(CLIGitCommand.java:75)
	at org.eclipse.jgit.lib.CLIRepositoryTestCase.execute(CLIRepositoryTestCase.java:75)
	at org.eclipse.jgit.pgm.CommitAndLogTest.testCommitAmend(CommitAndLogTest.java:53)

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.313 sec - in org.eclipse.jgit.pgm.TagTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.325 sec - in org.eclipse.jgit.pgm.DescribeTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.399 sec - in org.eclipse.jgit.pgm.BranchTest
Updating references:    100% (1/1)
Updating references:    100% (1/1)
remote: Counting objects: 1
remote: Counting objects: 1
remote: Finding sources: 100% (1/1)
remote: Finding sources: 100% (1/1)
Receiving objects:      100% (1/1)
Receiving objects:      100% (1/1)
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.889 sec - in org.eclipse.jgit.pgm.LsRemoteTest
Updating references:     50% (1/2)
Updating references:    100% (2/2)
Updating references:    100% (2/2)
remote: Counting objects: 1, done
remote: Total 1 (delta 0), reused 0 (delta 0)
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.987 sec - in org.eclipse.jgit.pgm.CloneTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.144 sec - in org.eclipse.jgit.pgm.RepoTest
remote: Counting objects: 1
remote: Counting objects: 1
remote: Finding sources:  33% (1/3)
remote: Finding sources:  66% (2/3)
remote: Finding sources: 100% (3/3)
remote: Finding sources: 100% (3/3)
Receiving objects:       33% (1/3)
Receiving objects:       66% (2/3)
Receiving objects:      100% (3/3)
Receiving objects:      100% (3/3)
Updating references:     33% (1/3)
Updating references:     66% (2/3)
Updating references:    100% (3/3)
Updating references:    100% (3/3)
remote: Counting objects: 3, done
remote: Total 3 (delta 0), reused 0 (delta 0)
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.243 sec - in org.eclipse.jgit.pgm.FetchTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.627 sec - in org.eclipse.jgit.pgm.StatusTest
Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.825 sec <<< FAILURE! - in org.eclipse.jgit.pgm.MergeTest
testNoFastForward(org.eclipse.jgit.pgm.MergeTest)  Time elapsed: 0.199 sec  <<< ERROR!
java.lang.IllegalStateException: Cannot set value to a final field 'org.eclipse.jgit.pgm.RevWalkTextBuiltin.commits'.
	at org.kohsuke.args4j.spi.Setters.create(Setters.java:32)
	at org.kohsuke.args4j.ClassParser.parse(ClassParser.java:38)
	at org.kohsuke.args4j.CmdLineParser.<init>(CmdLineParser.java:94)
	at org.kohsuke.args4j.CmdLineParser.<init>(CmdLineParser.java:69)
	at org.eclipse.jgit.pgm.opt.CmdLineParser.<init>(CmdLineParser.java:119)
	at org.eclipse.jgit.pgm.opt.CmdLineParser.<init>(CmdLineParser.java:102)
	at org.eclipse.jgit.pgm.TextBuiltin.parseArguments(TextBuiltin.java:224)
	at org.eclipse.jgit.pgm.TextBuiltin.execute(TextBuiltin.java:208)
	at org.eclipse.jgit.pgm.CLIGitCommand.rawExecute(CLIGitCommand.java:103)
	at org.eclipse.jgit.pgm.CLIGitCommand.execute(CLIGitCommand.java:75)
	at org.eclipse.jgit.lib.CLIRepositoryTestCase.execute(CLIRepositoryTestCase.java:75)
	at org.eclipse.jgit.pgm.MergeTest.testNoFastForward(MergeTest.java:172)

Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.844 sec - in org.eclipse.jgit.pgm.CheckoutTest
Tests run: 30, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 6.022 sec - in org.eclipse.jgit.pgm.ArchiveTest

Results :

Tests in error: 
  CommitAndLogTest.testCommitAmend:53->CLIRepositoryTestCase.execute:75 ?? IllegalState
  MergeTest.testNoFastForward:172->CLIRepositoryTestCase.execute:75 ?? IllegalState

Tests run: 93, Failures: 0, Errors: 2, Skipped: 3
[...]
/usr/share/cdbs/1/class/maven.mk:127: recipe for target 'debian/stamp-maven-check' failed
make: *** [debian/stamp-maven-check] Error 1


The full build log is attached; please do let me know if the problem is
unreproducible, in which case I shall try to investigate further.

Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jgit-build-log.txt.gz
Type: application/x-gunzip
Size: 25749 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20160125/3a249c40/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20160125/3a249c40/attachment-0001.sig>


More information about the pkg-java-maintainers mailing list