[PKG-Openstack-devel] Bug#881986: python-kafka FTBFS with python-lz4 0.10.1

Adrian Bunk bunk at debian.org
Fri Nov 17 09:37:17 UTC 2017


Source: python-kafka
Version: 1.3.3-2
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-kafka.html

...
=================================== FAILURES ===================================
_________________________________ test_lz4_old _________________________________

    @pytest.mark.skipif(not has_lz4() or platform.python_implementation() == 'PyPy',
                        reason="python-lz4 crashes on old versions of pypy")
    def test_lz4_old():
        for i in xrange(1000):
            b1 = random_string(100).encode('utf-8')
>           b2 = lz4_decode_old_kafka(lz4_encode_old_kafka(b1))

test/test_codec.py:101: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

payload = 'eEHdGSeNDtPGdsFoZBWbyPtfiLuqDexMGJjalmLGbflCQlRlJSUkIOlNjprhcByztKullDShkZWcZmimcirvBRYfVAaABLjGAaPy'

    def lz4_encode_old_kafka(payload):
        """Encode payload for 0.8/0.9 brokers -- requires an incorrect header checksum."""
>       assert xxhash is not None
E       AssertionError

kafka/codec.py:229: AssertionError
============== 1 failed, 231 passed, 81 skipped in 21.66 seconds ===============
debian/rules:14: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1



More information about the Openstack-devel mailing list