[Bug 1482227] Re: [MIR] python-pyeclib, liberasurecode, jerasure, gf-complete

Matthias Klose doko at ubuntu.com
Wed Sep 9 09:12:23 UTC 2015


python-pyeclib ftbfs on powerpc:

======================================================================
ERROR: test_codes (test.test_pyeclib_c.TestPyECLib)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/test_pyeclib_c.py", line 425, in test_codes
    size_str, self.iterations)
  File "/«PKGBUILDDIR»/test/test_pyeclib_c.py", line 183, in time_decode
    len(fragments[0]))
ECInvalidFragmentMetadata: pyeclib_c_decode ERROR: Fragment integrity check failed. Please inspect syslog for liberasurecode error report.

======================================================================
ERROR: test_xor_code (test.test_pyeclib_c.TestPyECLib)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/test_pyeclib_c.py", line 313, in test_xor_code
    self.iterations)
  File "/«PKGBUILDDIR»/test/test_pyeclib_c.py", line 183, in time_decode
    len(fragments[0]))
ECInvalidFragmentMetadata: pyeclib_c_decode ERROR: Fragment integrity check failed. Please inspect syslog for liberasurecode error report.

======================================================================
ERROR: test_get_metadata_formatted (test.test_pyeclib_api.TestPyECLibDriver)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/test_pyeclib_api.py", line 287, in test_get_metadata_formatted
    "inline_crc32")
  File "/«PKGBUILDDIR»/test/test_pyeclib_api.py", line 248, in check_metadata_formatted
    metadata = pyeclib_driver.get_metadata(fragment, 1)
  File "/«PKGBUILDDIR»/pyeclib/ec_iface.py", line 275, in get_metadata
    return self.ec_lib_reference.get_metadata(fragment, formatted)
  File "/«PKGBUILDDIR»/pyeclib/core.py", line 129, in get_metadata
    formatted)
ECInvalidParameter: pyeclib_c_get_metadata ERROR: Invalid arguments. Please inspect syslog for liberasurecode error report.

======================================================================
ERROR: test_liberasurecode_insufficient_frags_error (test.test_pyeclib_api.TestPyECLibDriver)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/test_pyeclib_api.py", line 531, in test_liberasurecode_insufficient_frags_error
    [fragments[0]], [1, 2, 3, 4, 5, 6])
  File "/usr/lib/python2.7/unittest/case.py", line 473, in assertRaises
    callableObj(*args, **kwargs)
  File "/«PKGBUILDDIR»/pyeclib/ec_iface.py", line 238, in reconstruct
    available_fragment_payloads, missing_fragment_indexes)
  File "/«PKGBUILDDIR»/pyeclib/core.py", line 98, in reconstruct
    "Invalid fragment payload in ECPyECLibDriver.reconstruct")
ECDriverError: Invalid fragment payload in ECPyECLibDriver.reconstruct

======================================================================
ERROR: test_rs (test.test_pyeclib_api.TestPyECLibDriver)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/test_pyeclib_api.py", line 477, in test_rs
    decoded_string = pyeclib_driver.decode(fragments[:])
  File "/«PKGBUILDDIR»/pyeclib/ec_iface.py", line 217, in decode
    force_metadata_checks)
  File "/«PKGBUILDDIR»/pyeclib/core.py", line 84, in decode
    "Invalid fragment payload in ECPyECLibDriver.decode")
ECDriverError: Invalid fragment payload in ECPyECLibDriver.decode

======================================================================
ERROR: test_small_encode (test.test_pyeclib_api.TestPyECLibDriver)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/test_pyeclib_api.py", line 165, in test_small_encode
    decoded_str = pyeclib_driver.decode(encoded_fragments)
  File "/«PKGBUILDDIR»/pyeclib/ec_iface.py", line 217, in decode
    force_metadata_checks)
  File "/«PKGBUILDDIR»/pyeclib/core.py", line 84, in decode
    "Invalid fragment payload in ECPyECLibDriver.decode")
ECDriverError: Invalid fragment payload in ECPyECLibDriver.decode

======================================================================
ERROR: test_verify_fragment_inline_chksum_fail (test.test_pyeclib_api.TestPyECLibDriver)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/test_pyeclib_api.py", line 321, in test_verify_fragment_inline_chksum_fail
    pyeclib_driver.get_metadata(fragment))
  File "/«PKGBUILDDIR»/pyeclib/ec_iface.py", line 275, in get_metadata
    return self.ec_lib_reference.get_metadata(fragment, formatted)
  File "/«PKGBUILDDIR»/pyeclib/core.py", line 129, in get_metadata
    formatted)
ECInvalidParameter: pyeclib_c_get_metadata ERROR: Invalid arguments. Please inspect syslog for liberasurecode error report.

======================================================================
ERROR: test_verify_fragment_inline_chksum_succeed (test.test_pyeclib_api.TestPyECLibDriver)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/test_pyeclib_api.py", line 345, in test_verify_fragment_inline_chksum_succeed
    pyeclib_driver.get_metadata(fragment))
  File "/«PKGBUILDDIR»/pyeclib/ec_iface.py", line 275, in get_metadata
    return self.ec_lib_reference.get_metadata(fragment, formatted)
  File "/«PKGBUILDDIR»/pyeclib/core.py", line 129, in get_metadata
    formatted)
ECInvalidParameter: pyeclib_c_get_metadata ERROR: Invalid arguments. Please inspect syslog for liberasurecode error report.

======================================================================
FAIL: test_get_segment_info (test.test_pyeclib_api.TestPyECLibDriver)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/test/test_pyeclib_api.py", line 431, in test_get_segment_info
    self.assertTrue(fragment_size == len(encoded_fragments[0]))
AssertionError: False is not true

----------------------------------------------------------------------
Ran 14 tests in 9.847s

FAILED (failures=1, errors=8)


** Changed in: python-pyeclib (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to liberasurecode in Ubuntu.
https://bugs.launchpad.net/bugs/1482227

Title:
  [MIR] python-pyeclib, liberasurecode, jerasure, gf-complete

Status in gf-complete package in Ubuntu:
  New
Status in jerasure package in Ubuntu:
  New
Status in liberasurecode package in Ubuntu:
  New
Status in python-pyeclib package in Ubuntu:
  Incomplete

Bug description:
  [Overview]

  Swift 2.3.0 has experimental support for erasure coded storage pools;
  even though this is optional, the integration is fairly well laced
  into the storage pool code, and the project are working towards making
  this production grade.

  This MIR requests that the required dependency be included in main, so
  we can move to the newer Swift versions (getting other new version
  goodness as well).

  Its also worth noting that CPU optimization is currently a build time
  feature in this dependency chain - as as a result is disable to meet
  the minimum CPU feature baseline in Debian, so the algorithms are not
  optimized in any way so won't be as performant as they should be on
  modern CPU architectures.

  >> pyeclib <<

  [Availability]
  In universe and Debian

  [Rationale]
  New dependency for OpenStack Swift to support erasure coded pools of object data.

  [Security]
  No security history.

  [Quality assurance]
  Package builds OK, unit tests executed as part of package build

  [Dependencies]
  All in main or on this MIR request.

  [Standards compliance]
  OK

  [Maintenance]
  ubuntu-server/ubuntu-openstack

  [Background information]
  pyeclib provides a python wrap around liberasurecode - versions must be exactly matched

  >> jerasure <<

  [Availability]
  In universe and Debian

  [Rationale]
  New dependency for OpenStack Swift to support erasure coded pools of object data.

  [Security]
  No security history.

  [Quality assurance]
  Package builds OK

  [Dependencies]
  All in main or on this MIR request.

  [Standards compliance]
  OK

  [Maintenance]
  ubuntu-server/ubuntu-openstack

  >> gf-complete <<

  [Availability]
  In universe and Debian

  [Rationale]
  New dependency for OpenStack Swift to support erasure coded pools of object data.

  [Security]
  No security history.

  [Quality assurance]
  Package builds OK

  [Dependencies]
  All in main or on this MIR request.

  [Standards compliance]
  OK

  [Maintenance]
  ubuntu-server/ubuntu-openstack

  >> liberasurecode <<

  [Availability]
  In universe and Debian

  [Rationale]
  New dependency for OpenStack Swift to support erasure coded pools of object data.

  [Security]
  No security history.

  [Quality assurance]
  Package builds OK, unit tests executed as part of package build.

  [Dependencies]
  All in main or on this MIR request.

  [Standards compliance]
  OK

  [Maintenance]
  ubuntu-server/ubuntu-openstack

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gf-complete/+bug/1482227/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list