Bug #10839
unittest_erasure_code_shec fails
% Done:
0%
Source:
other
Tags:
Backport:
hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
[ RUN ] ErasureCodeShec.get_chunk_count_2 test/erasure-code/TestErasureCodeShec.cc:3236: Failure Value of: shec->get_chunk_count() Actual: 2795939494 Expected: 10u Which is: 10 [ FAILED ] ErasureCodeShec.get_chunk_count_2 (0 ms) [ RUN ] ErasureCodeShec.get_data_chunk_count_1 [ OK ] ErasureCodeShec.get_data_chunk_count_1 (0 ms) [ RUN ] ErasureCodeShec.get_data_chunk_count_2 test/erasure-code/TestErasureCodeShec.cc:3284: Failure Value of: shec->get_data_chunk_count() Actual: 1397969747 Expected: 6u Which is: 6 [ FAILED ] ErasureCodeShec.get_data_chunk_count_2 (0 ms) [ RUN ] ErasureCodeShec.get_chunk_size_1_2 [ OK ] ErasureCodeShec.get_chunk_size_1_2 (0 ms) [----------] 77 tests from ErasureCodeShec (5013 ms total) [----------] Global test environment tear-down [==========] 77 tests from 1 test case ran. (5013 ms total) [ PASSED ] 75 tests. [ FAILED ] 2 tests, listed below: [ FAILED ] ErasureCodeShec.get_chunk_count_2 [ FAILED ] ErasureCodeShec.get_data_chunk_count_2
on current master
Associated revisions
erasure-code: fix uninitialized data members on SHEC
Also fix the tests that verify the result when init is not called and
factorize the two tests that were almost identical for simplicity.
http://tracker.ceph.com/issues/10839 Fixes: #10839
Backport: hammer
Signed-off-by: Loic Dachary <ldachary@redhat.com>
History
#1 Updated by Loïc Dachary about 9 years ago
Reproduced it on Ubuntu 14.04 compiling from aa03d6a84c5f92a78ca1a54f2107be2027cbb2c2
[ OK ] ErasureCodeShec.create_ruleset2_3 (1001 ms) [ RUN ] ErasureCodeShec.get_chunk_count_1 [ OK ] ErasureCodeShec.get_chunk_count_1 (0 ms) [ RUN ] ErasureCodeShec.get_chunk_count_2 test/erasure-code/TestErasureCodeShec.cc:3236: Failure Value of: shec->get_chunk_count() Actual: 83 Expected: 10u Which is: 10 [ FAILED ] ErasureCodeShec.get_chunk_count_2 (0 ms) [ RUN ] ErasureCodeShec.get_data_chunk_count_1 [ OK ] ErasureCodeShec.get_data_chunk_count_1 (0 ms) [ RUN ] ErasureCodeShec.get_data_chunk_count_2 test/erasure-code/TestErasureCodeShec.cc:3284: Failure Value of: shec->get_data_chunk_count() Actual: 82 Expected: 6u Which is: 6 [ FAILED ] ErasureCodeShec.get_data_chunk_count_2 (0 ms) [ RUN ] ErasureCodeShec.get_chunk_size_1_2 [ OK ] ErasureCodeShec.get_chunk_size_1_2 (0 ms) [----------] 77 tests from ErasureCodeShec (5012 ms total) [----------] Global test environment tear-down [==========] 77 tests from 1 test case ran. (5012 ms total) [ PASSED ] 75 tests. [ FAILED ] 2 tests, listed below: [ FAILED ] ErasureCodeShec.get_chunk_count_2 [ FAILED ] ErasureCodeShec.get_data_chunk_count_2 2 FAILED TESTS
#2 Updated by Loïc Dachary about 9 years ago
- Status changed from New to 12
#3 Updated by Loïc Dachary about 9 years ago
- Status changed from 12 to Fix Under Review
#4 Updated by Loïc Dachary about 9 years ago
- Backport set to hammer
#5 Updated by Sage Weil about 9 years ago
- Status changed from Fix Under Review to Resolved