Bug#878472: jackson-datatype-guave: FTBFS: Multiple test failures
Markus Koschany
apo at debian.org
Fri Oct 13 22:30:44 UTC 2017
Source: jackson-datatype-guava
Version: 2.7.3-2
Severity: serious
Tags: buster sid
This package fails to build from source due to the recent update to
2.9.1 of several jackson components. jackson-datatype-guava is
deprecated, the last release was in June 2016. The project has moved
to
https://github.com/FasterXML/jackson-datatype-collections
The package has no reverse-dependencies and I think it doesn't make
much sense to invest time to fix the test failures. The best way
forward would be to remove it from Debian and replace it with
jackson-datatype-collections. However since we don't have any
consumers for it at the moment, we could also live with just removing
it.
Build log snippet of failed tests:
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.fasterxml.jackson.datatype.guava.ScalarTypesTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.999 s - in com.fasterxml.jackson.datatype.guava.ScalarTypesTest
[INFO] Running com.fasterxml.jackson.datatype.guava.TestVersions
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in com.fasterxml.jackson.datatype.guava.TestVersions
[INFO] Running com.fasterxml.jackson.datatype.guava.TestMultisets
[ERROR] Tests run: 10, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.117 s <<< FAILURE! - in com.fasterxml.jackson.datatype.guava.TestMultisets
[ERROR] testWithoutDeserializers(com.fasterxml.jackson.datatype.guava.TestMultisets) Time elapsed: 0.014 s <<< FAILURE!
junit.framework.AssertionFailedError:
Expected an exception with one of substrings ([can not find a deserializer]): got one with message "Cannot find a deserializer for non-concrete Collection type [collection type; class com.google.common.collect.Multiset, contains [simple type, class java.lang.String]]
at [Source: (String)"["abc","abc","foo"]"; line: 1, column: 1]"
at com.fasterxml.jackson.datatype.guava.TestMultisets.testWithoutDeserializers(TestMultisets.java:47)
[INFO] Running com.fasterxml.jackson.datatype.guava.FluentIterableTest
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.064 s - in com.fasterxml.jackson.datatype.guava.FluentIterableTest
[INFO] Running com.fasterxml.jackson.datatype.guava.TestRange
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.242 s - in com.fasterxml.jackson.datatype.guava.TestRange
[INFO] Running com.fasterxml.jackson.datatype.guava.IterablesTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in com.fasterxml.jackson.datatype.guava.IterablesTest
[INFO] Running com.fasterxml.jackson.datatype.guava.HashCodeTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in com.fasterxml.jackson.datatype.guava.HashCodeTest
[INFO] Running com.fasterxml.jackson.datatype.guava.TestImmutables
[ERROR] Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.092 s <<< FAILURE! - in com.fasterxml.jackson.datatype.guava.TestImmutables
[ERROR] testWithoutDeserializers(com.fasterxml.jackson.datatype.guava.TestImmutables) Time elapsed: 0.002 s <<< FAILURE!
junit.framework.AssertionFailedError:
Expected an exception with one of substrings ([can not find a deserializer]): got one with message "Cannot find a deserializer for non-concrete Collection type [collection type; class com.google.common.collect.ImmutableList, contains [simple type, class java.lang.Integer]]
at [Source: (String)"[1,2,3]"; line: 1, column: 1]"
at com.fasterxml.jackson.datatype.guava.TestImmutables.testWithoutDeserializers(TestImmutables.java:70)
[INFO] Running com.fasterxml.jackson.datatype.guava.TestMultimaps
[ERROR] Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.11 s <<< FAILURE! - in com.fasterxml.jackson.datatype.guava.TestMultimaps
[ERROR] testMultimapWithIgnores(com.fasterxml.jackson.datatype.guava.TestMultimaps) Time elapsed: 0.006 s <<< FAILURE!
junit.framework.ComparisonFailure: expected:<{"map":{"a":["foo"][]}}> but was:<{"map":{"a":["foo"][,"x":["bar"]]}}>
at com.fasterxml.jackson.datatype.guava.TestMultimaps.testMultimapWithIgnores(TestMultimaps.java:272)
[INFO] Running com.fasterxml.jackson.datatype.guava.HostAndPortTest
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.014 s <<< FAILURE! - in com.fasterxml.jackson.datatype.guava.HostAndPortTest
[ERROR] testDeserialization(com.fasterxml.jackson.datatype.guava.HostAndPortTest) Time elapsed: 0.008 s <<< FAILURE!
junit.framework.AssertionFailedError:
Expected an exception with one of substrings ([Can not deserialize]): got one with message "Cannot deserialize instance of com.google.common.net.HostAndPort out of START_ARRAY token
at [Source: (String)"[ ]"; line: 1, column: 1]"
at com.fasterxml.jackson.datatype.guava.HostAndPortTest.testDeserialization(HostAndPortTest.java:38)
[INFO] Running com.fasterxml.jackson.datatype.guava.optional.OptionalBasicTest
[INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.131 s - in com.fasterxml.jackson.datatype.guava.optional.OptionalBasicTest
[INFO] Running com.fasterxml.jackson.datatype.guava.optional.OptionalUnwrappedTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in com.fasterxml.jackson.datatype.guava.optional.OptionalUnwrappedTest
[INFO] Running com.fasterxml.jackson.datatype.guava.optional.TestOptionalWithPolymorphic
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.04 s - in com.fasterxml.jackson.datatype.guava.optional.TestOptionalWithPolymorphic
[INFO] Running com.fasterxml.jackson.datatype.guava.optional.OptionalSchema83Test
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.03 s - in com.fasterxml.jackson.datatype.guava.optional.OptionalSchema83Test
[INFO] Running com.fasterxml.jackson.datatype.guava.TableSerializationTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 s - in com.fasterxml.jackson.datatype.guava.TableSerializationTest
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] HostAndPortTest.testDeserialization:38->ModuleTestBase.verifyException:44 Expected an exception with one of substrings ([Can not deserialize]): got one with message "Cannot deserialize instance of com.google.common.net.HostAndPort out of START_ARRAY token
at [Source: (String)"[ ]"; line: 1, column: 1]"
[ERROR] TestImmutables.testWithoutDeserializers:70->ModuleTestBase.verifyException:44 Expected an exception with one of substrings ([can not find a deserializer]): got one with message "Cannot find a deserializer for non-concrete Collection type [collection type; class com.google.common.collect.ImmutableList, contains [simple type, class java.lang.Integer]]
at [Source: (String)"[1,2,3]"; line: 1, column: 1]"
[ERROR] TestMultimaps.testMultimapWithIgnores:272 expected:<{"map":{"a":["foo"][]}}> but was:<{"map":{"a":["foo"][,"x":["bar"]]}}>
[ERROR] TestMultisets.testWithoutDeserializers:47->ModuleTestBase.verifyException:44 Expected an exception with one of substrings ([can not find a deserializer]): got one with message "Cannot find a deserializer for non-concrete Collection type [collection type; class com.google.common.collect.Multiset, contains [simple type, class java.lang.String]]
at [Source: (String)"["abc","abc","foo"]"; line: 1, column: 1]"
[INFO]
[ERROR] Tests run: 92, Failures: 4, Errors: 0, Skipped: 0
More information about the pkg-java-maintainers
mailing list