Also IMO the build instructions need to be correct since that is what we
advertise on how users can build Celix and which is included in the
release.
=====================Snippet of test logs (in case you are interested)
=======================
==================test_utils_with_ei test=====================
9/59 Test #9: test_utils_with_ei
.....................................***Failed 0.00 sec
Running main() from
/home/rlenferink/Downloads/celix-2.4.0/build/_deps/googletest-src/googletest/src/gtest_main.cc
[==========] Running 11 tests from 6 test suites.
[----------] Global test environment set-up.
[----------] 3 tests from FileUtilsWithErrorInjectionTestSuite
[ RUN ] FileUtilsWithErrorInjectionTestSuite.ExtractZipFileTest
Using test zip location
/home/rlenferink/Downloads/celix-2.4.0/build/libs/utils/gtest/test.zip
[ OK ] FileUtilsWithErrorInjectionTestSuite.ExtractZipFileTest (0
ms)
[ RUN ] FileUtilsWithErrorInjectionTestSuite.CreateDirectory
[ OK ] FileUtilsWithErrorInjectionTestSuite.CreateDirectory (0 ms)
[ RUN ] FileUtilsWithErrorInjectionTestSuite.DeleteDirectory
[ OK ] FileUtilsWithErrorInjectionTestSuite.DeleteDirectory (0 ms)
[----------] 3 tests from FileUtilsWithErrorInjectionTestSuite (0 ms
total)
[----------] 2 tests from ConvertUtilsWithErrorInjectionTestSuite
[ RUN ] ConvertUtilsWithErrorInjectionTestSuite.CovertToBoolTest
[ OK ] ConvertUtilsWithErrorInjectionTestSuite.CovertToBoolTest (0
ms)
[ RUN ] ConvertUtilsWithErrorInjectionTestSuite.ConvertToVersionTest
[ OK ] ConvertUtilsWithErrorInjectionTestSuite.ConvertToVersionTest
(0 ms)
[----------] 2 tests from ConvertUtilsWithErrorInjectionTestSuite (0 ms
total)
[----------] 2 tests from IpUtilsWithErrorInjectionTestSuite
[ RUN ]
IpUtilsWithErrorInjectionTestSuite.failToGetInterfaceAddresses
[ OK ]
IpUtilsWithErrorInjectionTestSuite.failToGetInterfaceAddresses
(0 ms)
[ RUN ] IpUtilsWithErrorInjectionTestSuite.failToDuplicateString
[ OK ] IpUtilsWithErrorInjectionTestSuite.failToDuplicateString (0
ms)
[----------] 2 tests from IpUtilsWithErrorInjectionTestSuite (0 ms total)
[----------] 1 test from ArrayListErrorInjectionTestSuite
[ RUN ] ArrayListErrorInjectionTestSuite.TestAddFunctions
[ OK ] ArrayListErrorInjectionTestSuite.TestAddFunctions (0 ms)
[----------] 1 test from ArrayListErrorInjectionTestSuite (0 ms total)
[----------] 2 tests from ErrErrorInjectionTestSuite
[ RUN ] ErrErrorInjectionTestSuite.PushErrorWithTssSetFailingTest
/home/rlenferink/Downloads/celix-2.4.0/libs/utils/gtest/src/ErrErrorInjectionTestSuite.cc:55:
Failure
Value of: strstr(fileContents.c_str(), "Failed to set thread specific
storage for celix_err") != nullptr
Actual: false
Expected: true
Expected error message not found in:
[ FAILED ] ErrErrorInjectionTestSuite.PushErrorWithTssSetFailingTest (0
ms)
[ RUN ] ErrErrorInjectionTestSuite.PushErrorWithMallocFailingTest
/home/rlenferink/Downloads/celix-2.4.0/libs/utils/gtest/src/ErrErrorInjectionTestSuite.cc:72:
Failure
Value of: strstr(fileContents.c_str(), "Failed to allocate memory for
celix_err") != nullptr
Actual: false
Expected: true
Expected error message not found in:
[ FAILED ] ErrErrorInjectionTestSuite.PushErrorWithMallocFailingTest (0
ms)
[----------] 2 tests from ErrErrorInjectionTestSuite (0 ms total)
[----------] 1 test from PropertiesErrorInjectionTestSuite
[ RUN ] PropertiesErrorInjectionTestSuite.CopyFailureTest
/home/rlenferink/Downloads/celix-2.4.0/libs/utils/gtest/src/PropertiesErrorInjectionTestSuite.cc:37:
Failure
Expected equality of these values:
nullptr
Which is: NULL
celix_properties_copy(prop)
Which is: 0x561ee51ed880
[ FAILED ] PropertiesErrorInjectionTestSuite.CopyFailureTest (0 ms)
[----------] 1 test from PropertiesErrorInjectionTestSuite (0 ms total)
[----------] Global test environment tear-down
[==========] 11 tests from 6 test suites ran. (0 ms total)
[ PASSED ] 8 tests.
[ FAILED ] 3 tests, listed below:
[ FAILED ] ErrErrorInjectionTestSuite.PushErrorWithTssSetFailingTest
[ FAILED ] ErrErrorInjectionTestSuite.PushErrorWithMallocFailingTest
[ FAILED ] PropertiesErrorInjectionTestSuite.CopyFailureTest
3 FAILED TESTS
===============test_framework_with_ei======================
16/59 Test #16: test_framework_with_ei
.................................***Exception: SegFault 0.11 sec
Running main() from
/home/rlenferink/Downloads/celix-2.4.0/build/_deps/googletest-src/googletest/src/gtest_main.cc
[==========] Running 25 tests from 9 test suites.
[----------] Global test environment set-up.
[----------] 2 tests from BundleArchiveWithErrorInjectionTestSuite
[ RUN ]
BundleArchiveWithErrorInjectionTestSuite.BundleArchiveCreatedFailedTest
[2023-09-23T14:34:27] [ info] [celix_framework] [framework_start:476]
Celix framework started
[2023-09-23T14:34:27] [ trace] [celix_framework] [framework_start:477]
Celix framework started with uuid 19a7f4df-1551-47d9-a3b7-340019325097
[2023-09-23T14:34:27] [ error] [celix_framework]
[celix_bundleArchive_create:322] Cannot allocate memory(0xc): "Could not
create archive.";
Cause:
[2023-09-23T14:34:27] [ error] [celix_framework]
[celix_bundleCache_createArchive:222] Cannot allocate memory(0xc): Failed
to create archive.
[2023-09-23T14:34:27] [ error] [celix_framework]
[celix_framework_installBundleInternalImpl:686] Cannot allocate
memory(0xc): Could not install bundle
[2023-09-23T14:34:27] [ error] [celix_framework]
[celix_bundleArchive_create:322] Cannot allocate memory(0xc): "Could not
create archive.";
Cause: Failed to setup archive paths.
[2023-09-23T14:34:27] [ error] [celix_framework]
[celix_bundleCache_createArchive:222] Cannot allocate memory(0xc): Failed
to create archive.
[2023-09-23T14:34:27] [ error] [celix_framework]
[celix_framework_installBundleInternalImpl:686] Cannot allocate
memory(0xc): Could not install bundle
[2023-09-23T14:34:27] [ error] [celix_framework]
[celix_bundleArchive_create:322] Cannot allocate memory(0xc): "Could not
create archive.";
Cause: Failed to setup archive paths.
[2023-09-23T14:34:27] [ error] [celix_framework]
[celix_bundleCache_createArchive:222] Cannot allocate memory(0xc): Failed
to create archive.
[2023-09-23T14:34:27] [ error] [celix_framework]
[celix_framework_installBundleInternalImpl:686] Cannot allocate
memory(0xc): Could not install bundle
[2023-09-23T14:34:27] [ trace] [celix_framework]
[celix_framework_utils_extractBundlePath:191] Extracting bundle url
`/home/rlenferink/Downloads/celix-2.4.0/build/libs/framework/gtest/simple_test_bundle1.zip`
to dir `.cache/bundle4/resources`
/home/rlenferink/Downloads/celix-2.4.0/libs/framework/gtest/src/BundleArchiveWithErrorInjectionTestSuite.cc:77:
Failure
Expected: (bndId) < (0), actual: 4 vs 0
/home/rlenferink/Downloads/celix-2.4.0/libs/framework/gtest/src/BundleArchiveWithErrorInjectionTestSuite.cc:77:
Failure
Expected: (bndId) < (0), actual: 4 vs 0
/home/rlenferink/Downloads/celix-2.4.0/libs/framework/gtest/src/BundleArchiveWithErrorInjectionTestSuite.cc:77:
Failure
Expected: (bndId) < (0), actual: 4 vs 0
/home/rlenferink/Downloads/celix-2.4.0/libs/framework/gtest/src/BundleArchiveWithErrorInjectionTestSuite.cc:77:
Failure
Expected: (bndId) < (0), actual: 4 vs 0
/home/rlenferink/Downloads/celix-2.4.0/libs/framework/gtest/src/BundleArchiveWithErrorInjectionTestSuite.cc:77:
Failure
Expected: (bndId) < (0), actual: 4 vs 0
/home/rlenferink/Downloads/celix-2.4.0/libs/framework/gtest/src/BundleArchiveWithErrorInjectionTestSuite.cc:77:
Failure
Expected: (bndId) < (0), actual: 4 vs 0
/home/rlenferink/Downloads/celix-2.4.0/libs/framework/gtest/src/BundleArchiveWithErrorInjectionTestSuite.cc:77:
Failure
Expected: (bndId) < (0), actual: 4 vs 0
[2023-09-23T14:34:27] [ trace] [celix_framework]
[celix_framework_shutdownAsync:1143] Start shutdown thread for framework
19a7f4df-1551-47d9-a3b7-340019325097
[2023-09-23T14:34:27] [ trace] [celix_framework]
[celix_bundleContext_cleanup:115] Cleaning up bundle context
`celix_framework` (id=0)
[2023-09-23T14:34:27] [ trace] [celix_framework]
[framework_shutdown:1096]
Celix framework shutting down
[2023-09-23T14:34:27] [ trace] [celix_framework]
[celix_bundleContext_cleanup:115] Cleaning up bundle context
`simple_test_bundle1` (id=4)
[2023-09-23T14:34:27] [ trace] [celix_framework]
[celix_framework_stopAndJoinEventQueue:1081] Stop and joining event loop
thread for framework 19a7f4df-1551-47d9-a3b7-340019325097
[2023-09-23T14:34:27] [ debug] [celix_framework]
[celix_framework_stopAndJoinEventQueue:1090] Joined event loop thread for
framework 19a7f4df-1551-47d9-a3b7-340019325097
[ FAILED ]
BundleArchiveWithErrorInjectionTestSuite.BundleArchiveCreatedFailedTest
(1
ms)
[ RUN ]
BundleArchiveWithErrorInjectionTestSuite.BundleArchiveCreateCacheDirectoryFailedTest
[2023-09-23T14:34:27] [ info] [celix_framework] [framework_start:476]
Celix framework started
[2023-09-23T14:34:27] [ trace] [celix_framework] [framework_start:477]
Celix framework started with uuid c69f04a6-2404-4431-8edd-b4da67665e66
[2023-09-23T14:34:27] [ trace] [celix_framework]
[celix_framework_utils_extractBundlePath:191] Extracting bundle url
`/home/rlenferink/Downloads/celix-2.4.0/build/libs/framework/gtest/simple_test_bundle1.zip`
to dir `.cache/bundle1/resources`
/home/rlenferink/Downloads/celix-2.4.0/libs/framework/gtest/src/BundleArchiveWithErrorInjectionTestSuite.cc:77:
Failure
Expected: (bndId) < (0), actual: 1 vs 0
/home/rlenferink/Downloads/celix-2.4.0/libs/framework/gtest/src/BundleArchiveWithErrorInjectionTestSuite.cc:77:
Failure
Expected: (bndId) < (0), actual: 1 vs 0
/home/rlenferink/Downloads/celix-2.4.0/libs/framework/gtest/src/BundleArchiveWithErrorInjectionTestSuite.cc:77:
Failure
Expected: (bndId) < (0), actual: 1 vs 0
/home/rlenferink/Downloads/celix-2.4.0/libs/framework/gtest/src/BundleArchiveWithErrorInjectionTestSuite.cc:77:
Failure
Expected: (bndId) < (0), actual: 1 vs 0
[2023-09-23T14:34:27] [ trace] [celix_framework]
[celix_framework_shutdownAsync:1143] Start shutdown thread for framework
c69f04a6-2404-4431-8edd-b4da67665e66
[2023-09-23T14:34:27] [ trace] [celix_framework]
[celix_bundleContext_cleanup:115] Cleaning up bundle context
`celix_framework` (id=0)
[2023-09-23T14:34:27] [ trace] [celix_framework]
[framework_shutdown:1096]
Celix framework shutting down
[2023-09-23T14:34:27] [ trace] [celix_framework]
[celix_bundleContext_cleanup:115] Cleaning up bundle context
`simple_test_bundle1` (id=1)
[2023-09-23T14:34:27] [ trace] [celix_framework]
[celix_framework_stopAndJoinEventQueue:1081] Stop and joining event loop
thread for framework c69f04a6-2404-4431-8edd-b4da67665e66
[2023-09-23T14:34:27] [ debug] [celix_framework]
[celix_framework_stopAndJoinEventQueue:1090] Joined event loop thread for
framework c69f04a6-2404-4431-8edd-b4da67665e66
[ FAILED ]
BundleArchiveWithErrorInjectionTestSuite.BundleArchiveCreateCacheDirectoryFailedTest
(0 ms)
[----------] 2 tests from BundleArchiveWithErrorInjectionTestSuite (2 ms
total)
[----------] 1 test from CelixBundleArchiveErrorInjectionTestSuite
[ RUN ]
CelixBundleArchiveErrorInjectionTestSuite.ArchiveCreateErrorTest
==================run_unit_test_rsa_json_rpc
test=============================
29/59 Test #29: run_unit_test_rsa_json_rpc
.............................***Exception: SegFault 0.10 sec
<too much output for e-mail>
Op wo 20 sep 2023 om 16:08 schreef xuzhenbao <xuzhen...@apache.org>:
+1
At 2023-09-20 04:08:37, "Pepijn Noltes" <pepijnnol...@gmail.com> wrote:
Hi All,
This is the release vote for Apache Celix, version 2.4.0.
It includes the following changes:
https://github.com/apache/celix/blob/25745ae13848b0ce7b2b35c1e8553ba03f0529a9/CHANGES.md
Source files:
https://dist.apache.org/repos/dist/dev/celix/celix-2.4.0/
The commit ID to be voted upon:
25745ae13848b0ce7b2b35c1e8553ba03f0529a9
https://github.com/apache/celix/tree/25745ae13848b0ce7b2b35c1e8553ba03f0529a9
Celix's keys can be found at:
https://dist.apache.org/repos/dist/release/celix/KEYS
Information for voting on a release can be found at:
https://www.apache.org/legal/release-policy.html#approving-a-release
Please vote to approve this release:
[ ] +1 Approve the release
[ ] -1 Disapprove the release (please provide specific comments)
Note that an Apache release needs to be a Majority Approval (requires
at-least 3 binding +1 votes and more +1 votes than -1 votes).
If this release is approved I will promote it to an official release
(e.g. move from dist/dev to dist/release and tagging the release in
git)
This vote will be open for at least 72 hours.
Best regards, Pepijn.
--
Peng Zheng