summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add CentOS 9 Stream job"HEADmasterZuul2022-08-302-10/+18
|\
| * Add CentOS 9 Stream jobTim Burke2022-08-302-10/+18
| | | | | | | | | | | | | | Go ahead and move the FIPS job to CentOS 9; there doesn't seem to be much value in having more than one FIPS job. Change-Id: I8c2c95e490ec083116f2ed7b9fb0d66918424fb7
* | Release 1.6.31.6.3Tim Burke2022-04-082-2/+11
| | | | | | | | Change-Id: I7214aeecc3c568d7b0be5db441d62ca7901ec855
* | Merge "Add build-time option to suffix library names sent to dlopen"Zuul2022-04-0610-18/+22
|\ \
| * | Add build-time option to suffix library names sent to dlopenTim Burke2021-10-2610-18/+22
| | | | | | | | | | | | | | | | | | This is useful when repacking libraries for python wheels, for example. Change-Id: Ie7b36584de5054c14a9b77d87a5c5fa5cc7a3719
* | | CI: Use https:// instead of git:// when cloning ISA-LTim Burke2022-04-051-1/+1
| | | | | | | | | | | | Change-Id: I8232a77c17b6a5ab3bd6cc7bde6510f2d038319c
* | | Merge "Make arm64 jobs voting"Zuul2021-12-101-4/+2
|\ \ \ | | |/ | |/|
| * | Make arm64 jobs votingTim Burke2021-12-081-4/+2
| | | | | | | | | | | | | | | | | | | | | Note that the job still won't trigger a +1/-1 vote, but the comment will accurately say whether the pipeline succeeded or failed. Change-Id: I3fbc109526d194e1928fec5180e97071ad082b15
* | | Include pointers to launchpad, ML, IRC in READMETim Burke2021-12-091-0/+9
|/ / | | | | | | Change-Id: I230e19615dd5de388645fc9ec46664258f042a0c
* | Move CI from CentOS 8 to CentOS 8 StreamTim Burke2021-12-081-14/+17
| | | | | | | | | | | | See also: http://lists.opendev.org/pipermail/service-announce/2021-December/000029.html Change-Id: I370ea89682a871ec60ea593639b4b9212f0471cf
* | Merge "Add FIPS jobs"Zuul2021-10-302-0/+13
|\ \
| * | Add FIPS jobsTim Burke2021-10-262-0/+13
| |/ | | | | | | Change-Id: I95c805558510459b05df6220b9e3a46407258446
* | Pin ISA-L to v2.30.0Tim Burke2021-10-261-1/+1
|/ | | | | | This is before they started having %use directives in their ASM. Change-Id: I00418c3ad31055f44c11f6cf52603fe0d7496235
* Merge "Fix underflow in flat_xor_hd code"Zuul2021-07-261-5/+7
|\
| * Fix underflow in flat_xor_hd codeTim Burke2021-06-281-5/+7
| | | | | | | | | | Change-Id: I9102f9883e979862557bd33958b2d116795b3169 Closes-Bug: #1726816
* | Add arm64 gate jobsTim Burke2021-06-081-0/+22
|/ | | | Change-Id: I9c05059a2342594598abaa965b326737de4fab45
* Release 1.6.21.6.2Tim Burke2020-10-084-3/+28
| | | | Change-Id: I733c4bcf28d845aa0413ef4af06cdab6bc25cc7b
* Add a few coverage for legacy crc codeKota Tsuyuzaki2020-10-021-11/+24
| | | | | | | | | it actually doesn't assert the value becase we now use same if statement for the assertion but hope it to be even a little better than no covarage. Change-Id: I8860a2a8227e43e02afddcbad1e108157c0872f6
* Be willing to write fragments with legacy crcTim Burke2020-09-303-4/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...if users *really* want to. They opt-in at run time by setting LIBERASURECODE_WRITE_LEGACY_CRC=1 in the environment; leaving it unset, set to an empty string, or set to the string "0" continues to write zlib crcs. UpgradeImpact ============= This option is intended to allow a smooth upgrade from liberasurecode 1.5.0 and earlier in a system with multiple readers and writers: * Before upgrade, ensure the environment variable is set on all nodes. This will be ignored by earlier versions. * Upgrade liberasurecode on each node in the system, restarting any services that use it. Every node continues writing CRCs that are still usable by nodes that have not yet upgraded. * Now that every node is capable of reading zlib CRCs, remove the environment variable from each node to start writing new CRCs. If you are already using 1.6.0 or later, just upgrade normally. Closes-Bug: #1886088 Closes-Bug: #1867937 Related-Bug: #1666320 Needed-By: https://review.opendev.org/#/c/739164/ Change-Id: I9adfbe631a2dddc592fd08f8a325f3e8331b92f1
* Merge "Reformat license file"Zuul2020-04-041-23/+22
|\
| * Reformat license fileTim Burke2020-03-101-23/+22
| | | | | | | | | | | | | | *Hopefully*, this will make it "standard" enough that GitHub will call it out as the BSD-2-Clause that it is. Change-Id: If097a3d86e1bd22cebbcbc160c6ae238663843c5
* | Use ceph's GitHub mirrors for gf-complete/jerasureTim Burke2020-03-121-2/+2
| | | | | | | | | | | | Apparently upstream now requires that you log in? Change-Id: I065ca37e5d69bb6ee3c7f00374af2e9c3da7739f
* | Merge "Do not discard a technical return value in tests"Zuul2020-02-111-4/+12
|\ \ | |/ |/|
| * Do not discard a technical return value in testsPete Zaitcev2020-02-051-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | Compilers are getting smarter, and we started getting this: libec_slap.c: In function 'test_hd_code': libec_slap.c:285:14: error: 'frags.array' may be used uninitialized in this function [-Werror=maybe-uninitialized] The fix is to consume the error code in such a way that the test proceeds further only when frags are indeed initialized. Change-Id: I54db0172a36419206d00b22608523a08818f41f6
* | Build and test on centos-8 nodeThiago da Silva2020-02-061-0/+10
|/ | | | Change-Id: I6c7a1725ba00981d45511fc3c18795737b1967cb
* Fix create_fake_frags_no_meta to use memset to fill fragsCorey Bryant2020-01-281-8/+5
| | | | | | | These aren't C strings; we shouldn't be using strncpy and friends. Change-Id: I50cd7922dfa377ea27f3c9558a8a7268120ec733 Closes-Bug: #1859710
* Update test to build on FreeBSD 12donnydavis2019-07-021-0/+1
| | | | | Change-Id: I1ab792c3c509539a73a1808b8c28c6748185ae00 Closes-Bug: 1835071
* Update .gitreview following project renameTim Burke2019-06-121-1/+1
| | | | Change-Id: Ifb497f1b65588c16a61ad59165ae10bb42bceb1b
* Merge "1.6.1 release"1.6.1Zuul2019-05-242-1/+7
|\
| * 1.6.1 releaseTim Burke2019-05-232-1/+7
| | | | | | | | Change-Id: Iaa6cc5bb06e715aafb3ecab86ae7cde6ef30413d
* | OpenDev Migration PatchOpenDev Sysadmins2019-04-191-2/+2
|/ | | | | | | | | | | | | | | This commit was bulk generated and pushed by the OpenDev sysadmins as a part of the Git hosting and code review systems migration detailed in these mailing list posts: http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html Attempts have been made to correct repository namespaces and hostnames based on simple pattern matching, but it's possible some were updated incorrectly or missed entirely. Please reach out to us via the contact information listed at https://opendev.org/ with any questions you may have.
* Install yasm in RHEL based systemsTim Burke2019-04-092-2/+9
| | | | | | | ...then switch CentOS job to be a voting gate job instead of experimental. Change-Id: I510e4da82deb779ece9ea5436b63c038a6c25b58
* Merge "Remove get_chksum to hush warnings"Zuul2019-02-142-18/+5
|\
| * Remove get_chksum to hush warningsPete Zaitcev2019-02-132-18/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This popped up because Fedora mandates warning-free builds, and get_chksum triggers a warning because it returns an unaligned pointer (it is so analigned, static analysis in the compiler can detect it). The easiest fix is to remove it altogether. We think it should be safe, because: - The function is not listed in any headers - Its counterpart is called "set_checksum", not "set_chksum" - PyECLib does not use it We also hush some doxygen warnings about wrong comments. Change-Id: Ie5bc736f912706e0ffd507765abd24e7f4761233
* | Make our alt crc32 more portablePete Zaitcev2019-02-132-3/+3
|/ | | | | | | | | | | | | | | | | | | Apparently the author of our old crc32 assumed that shifting an int to the right sign-extends, which is not always the case. Result is, building and running make test on s390x fails. The fix is to force a sign-extension using the "xor 0x80; sub 0x80" trick. N.B. This does not cause a compatibility problem, because by a miracle the "broken" crc32_alt was actually computing a stock crc32, same that zlib has. Therefore, if someone, somewhere, ran a Swift cluster on s390x with erasure coding policy, the data in it is already stored with zlib checksums, as we do it now anyway. This fix only permits the tests pass, which used the bad data sample from x86. Change-Id: Ibd5e4e6c02be00540a9648cc7e0f8efda275bf3f Related-Change: Ib5ea2a830c7c23d66bf2ca404a3eb84ad00c5bc5 Related-Bug: 1666320
* Merge "Install Jerasure and ISA-L libs"Zuul2018-10-224-13/+80
|\
| * Install Jerasure and ISA-L libsThiago da Silva2018-10-224-13/+80
| | | | | | | | | | | | Install libraries to be tested w/ liberasurecode Change-Id: Ic1cd7b61c780cf794640e4ce0d57e6126ad5756b
* | Fix building with LD_LIBRARY_PATH setOndřej Nový2018-10-011-16/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If LD_LIBRARY_PATH is set to any value, build will fail, example: Making check in doc ... /bin/bash: line 1: /usr/lib/libeatmydata: No such file or directory ... See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906480 Same is true for DYLD_LIBRARY_PATH and DYLD_FALLBACK_LIBRARY_PATH. This bug was introduced with commit 19442df2cd9a5bc8ec4deded7046ea7aca1d50a2 where Kota removed evals, but forgot to remove prepending of same env variables. Change-Id: Ib7a1d6b839d4a207ee0471b55233e1ce5d958705
* | Release 1.6.01.6.0Thiago da Silva2018-09-214-2/+12
|/ | | | Change-Id: I97b85f1b37952aaede168e274d2f4a74d3b9aaa8
* Allow reading of little-endian frags on big-endianTim Burke2018-09-113-22/+117
| | | | | | | | ... and vice-versa. We'll fix up frag header values for our output parameter from liberasurecode_get_fragment_metadata but otherwise avoid manipulating the in-memory fragment much. Change-Id: Idd6833bdea60e27c9a0148ee28b4a2c1070be148
* Import Zuul unittestsAndreas Jaeger2018-03-012-0/+40
| | | | | | | | | Add the unittests in-tree and convert them as Zuul v3 native tests so that they can be modified locally. This adds a new job running on Ubuntu and an experimental CentOS-7 one. Change-Id: Ib43e40280411623fda84f2068958b64a17cdc3dc
* Print test that's going to run *before* running testTim Burke2017-09-131-30/+30
| | | | | | Should make it easier to diagnose failures. Change-Id: I32ed3019c556706634aae91844bf57b0954af86a
* Merge "flat_xor_hd: better validate args"Jenkins2017-09-132-1/+24
|\
| * flat_xor_hd: better validate argsTim Burke2017-09-132-1/+24
| | | | | | | | | | | | Previously, we'd segfault with args like k=1, m=3, hd=3. Change-Id: I8a1d92f388c54fe4f5b357eaf85a27e6b334df11
* | Merge "Negative data or parity args are invalid"Jenkins2017-09-132-19/+19
|\ \ | |/ |/|
| * Negative data or parity args are invalidTim Burke2017-09-132-19/+19
| | | | | | | | | | | | | | While we're at it, tighten up some test_create_backend_invalid_args assertions. Change-Id: Id6c70cdb2d86580280ededc3ec6ec648c6cb7d57
* | Merge "Add dl to pkg-config metadata"Jenkins2017-09-131-1/+1
|\ \
| * | Add dl to pkg-config metadataTim Burke2017-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This simplifies compiling by allowing users to include CFLAGS += `pkg-config --cflags erasurecode-1` LDFLAGS += `pkg-config --libs erasurecode-1` in makefiles. Otherwise, trying to use pkg-config results in errors like /usr/local/lib/liberasurecode.so: undefined reference to `dlopen' /usr/local/lib/liberasurecode.so: undefined reference to `dlclose' /usr/local/lib/liberasurecode.so: undefined reference to `dlerror' /usr/local/lib/liberasurecode.so: undefined reference to `dlsym' collect2: error: ld returned 1 exit status Change-Id: I39fb137b1a3b6b2beda1d0b28faef3132229ec3b
* | | Merge "Use preprocessor to build test suites"Jenkins2017-09-131-637/+55
|\ \ \
| * | | Use preprocessor to build test suitesTim Burke2017-07-131-637/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, we're left with error-prone copy & pasting, which means we'll constantly be cleaning it up. Change-Id: I57e2cbef2c9221cffccf2e73b6af9bd003c04968 Related-Change: Ibd72ba4ae609ad77e8808aa1594b0adb62e34ef0 Related-Change: I9ee9ec3d8f86a10c4c7b5d6425a530b9c44d1156