bareos tools: reintegrate testfind binary#1176
Merged
pstorz merged 8 commits intobareos:masterfrom Sep 1, 2022
Merged
Conversation
c66ad31 to
af445ca
Compare
d6f6b1b to
5f45097
Compare
2eed37c to
a95806b
Compare
a95806b to
f895291
Compare
f36d2e4 to
9bb1a72
Compare
pstorz
requested changes
Jul 22, 2022
Member
pstorz
left a comment
There was a problem hiding this comment.
Running the code with sanitizers, it shows the following:
/core/src/dird/testfind.cc:104:58: runtime error: member call on null pointer of type 'struct ConfigurationParser'
9bb1a72 to
1905681
Compare
7f1c486 to
e22c7dc
Compare
pstorz
requested changes
Aug 5, 2022
Member
pstorz
left a comment
There was a problem hiding this comment.
Running the systemtest for testfind, an error is reported but still the test passes:
389: Test command: /home/pstorz/git/PR-REVIEW/b/systemtests/tests/testfind/testrunner
389: Test timeout computed to be: 300
389: Expected line "Max path length: 80" was not found in log file "/home/pstorz/git/PR-REVIEW/b/systemtests/tests/testfind/tmp/testfind.out".
389: -->Max path length is incorrect.
1/1 Test #389: system:testfind .................. Passed 0.10 sec
The following tests passed:
system:testfind
100% tests passed, 0 tests failed out of 1
e22c7dc to
de5f896
Compare
pstorz
requested changes
Aug 16, 2022
Member
pstorz
left a comment
There was a problem hiding this comment.
Please answer the questions that have been asked in the last review.
de5f896 to
b7e30c8
Compare
6e0f45f to
7d36f32
Compare
pstorz
requested changes
Aug 23, 2022
systemtests/tests/testfind/etc/bareos/bareos-sd.d/device/FileStorage.conf
Outdated
Show resolved
Hide resolved
systemtests/tests/testfind/etc/bareos/bareos-fd.d/client/myself.conf.in
Outdated
Show resolved
Hide resolved
7d36f32 to
9080bee
Compare
9080bee to
51a3844
Compare
5817356 to
e9938e8
Compare
pstorz
requested changes
Aug 29, 2022
CHANGELOG.md
Outdated
| - build: Add support for SLE_15_SP4 [PR #1205] | ||
| - libcloud plugin: allow to configure the storage provider [PR #1226] | ||
| - core/platform: Adding Bareos firewalld service xml files [PR #1237] | ||
| - bareos tools: reintegrated testfind binary [PR #1176] |
Member
There was a problem hiding this comment.
Suggested change
| - bareos tools: reintegrated testfind binary [PR #1176] | |
| - bareos tools: reintegrate testfind binary [PR #1176] |
pstorz
requested changes
Aug 29, 2022
Member
pstorz
left a comment
There was a problem hiding this comment.
Also added the bareos-check-sources changes as one commit
1ff580d to
098c1ec
Compare
steps: - fixed compile errors and testfind logic. - change order so linking on windows works. - disabled testfind build for client-only. - added testfind binaries to packaging. - fixing build issues for windows and sanitizers.
098c1ec to
bb3f749
Compare
pstorz
approved these changes
Sep 1, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Reintegrated testfind into the build and fixed logic and compile errors.
Testfind is a tool that uses the same logic used by the file daemon before a backup.
we can use it to benchmark directories/files without launching a backup job.
Please check
If you have any questions or problems, please give a comment in the PR.
Helpful documentation and best practices
Checklist for the reviewer of the PR (will be processed by the Bareos team)
General
Source code quality
bareos-check-sources --since-mergedoes not report any problemsgit statusshould not report modifications in the source tree after building and testingTests