Skip to content

DAOS-17344 build: Add dependencies as submodules #16162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 54 commits into from
Apr 19, 2025
Merged

Conversation

jolivier23
Copy link
Contributor

@jolivier23 jolivier23 commented Mar 27, 2025

As a step to building all RPMs in DAOS repo, Add dependencies as submodules. Eventually, we may want these to be snapshots.

Tested that it builds locally

Steps for the author:

  • Commit message follows the guidelines.
  • Appropriate Features or Test-tag pragmas were used.
  • Appropriate Functional Test Stages were run.
  • At least two positive code reviews including at least one code owner from each category referenced in the PR.
  • Testing is complete. If necessary, forced-landing label added and a reason added in a comment.

After all prior steps are complete:

  • Gatekeeper requested (daos-gatekeeper added as a reviewer).

Add CopyRetriever as alternative to GitRepoRetriever.  Use it for
submodule option at first.
Add support for internal, static library
Add patch support to rpm source rpm

See PR#16134 for example

Signed-off-by: Jeff Olivier <[email protected]>
Copy link

Ticket title is 'Better support for internal components'
Status is 'Open'
https://daosio.atlassian.net/browse/DAOS-17344

@jolivier23 jolivier23 force-pushed the jvolivie/sub_deps branch 3 times, most recently from 3476c13 to 405d208 Compare March 27, 2025 05:51
As a step to building all RPMs in DAOS repo, Add dependencies as
submodules.  Eventually, we may want these to be snapshots.

Tested that it builds locally

Signed-off-by: Jeff Olivier <[email protected]>
@daosbuild1
Copy link
Collaborator

Test stage Python Bandit check completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-16162/15/execution/node/135/log

@daosbuild1
Copy link
Collaborator

Test stage Build RPM on Leap 15.5 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-16162/15/execution/node/274/log

liw and others added 6 commits April 3, 2025 12:27
Add backoffs to retries of pool and container rsvc operations.

Move tse_task_reinit calls to the end of each completion callback, in
order to reduce the chance of new data races between a task and its
reinitialized instance.

Signed-off-by: Li Wei <[email protected]>
Change-Id: I0817d2aaae3bf6f52d71661d6f7ec271f59c55c7
Signed-off-by: Jeff Olivier <[email protected]>
Signed-off-by: Jeff Olivier <[email protected]>
Signed-off-by: Jeff Olivier <[email protected]>
daltonbohning
daltonbohning previously approved these changes Apr 15, 2025
@daosbuild1
Copy link
Collaborator

Test stage Functional on EL 8.8 completed with status UNSTABLE. https://build.hpdd.intel.com/job/daos-stack/job/daos//view/change-requests/job/PR-16162/41/testReport/

@daosbuild1
Copy link
Collaborator

Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-16162/42/display/redirect

knard38
knard38 previously approved these changes Apr 16, 2025
Copy link
Contributor

@knard38 knard38 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM

field_name=$2

# shellcheck disable=SC1090,SC2283
source <(grep = <(grep -A10 "\[${field_name}\]" "${DAOS_ROOT}/utils/build.config"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To not depend on the number of line:

Suggested change
source <(grep = <(grep -A10 "\[${field_name}\]" "${DAOS_ROOT}/utils/build.config"))
source <(awk -v RS= "/\[${field_name}\]/" "${DAOS_ROOT}/utils/build.config" | tail -n+2)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@daosbuild1
Copy link
Collaborator

Test stage Functional on EL 8.8 completed with status FAILURE. https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-16162/42/display/redirect

Signed-off-by: Jeff Olivier <[email protected]>
daltonbohning
daltonbohning previously approved these changes Apr 16, 2025
knard38
knard38 previously approved these changes Apr 17, 2025
@jolivier23 jolivier23 dismissed stale reviews from knard38 and daltonbohning via 295f814 April 17, 2025 23:24
@jolivier23
Copy link
Contributor Author

No real changes, had to resolve merge conflict on daos_build.py

@daosbuild1
Copy link
Collaborator

Test stage Functional Hardware Medium MD on SSD completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-16162/45/execution/node/1471/log

@jolivier23 jolivier23 merged commit 9ec84fc into master Apr 19, 2025
60 of 64 checks passed
@jolivier23 jolivier23 deleted the jvolivie/sub_deps branch April 19, 2025 17:13
grom72 added a commit that referenced this pull request May 6, 2025
grom72 added a commit that referenced this pull request May 6, 2025
This reverts commit 9ec84fc.

Allow-unstable-test: true
Priority: 2
Cancel-prev-build: false

Signed-off-by: Tomasz Gromadzki <[email protected]>
grom72 added a commit that referenced this pull request May 8, 2025
jolivier23 added a commit that referenced this pull request May 21, 2025
Primary purpose is to bring in title patch.  But in order to do that
easily, there are a few other build patches pulled in.  Most of them
are build only but one does update libfuse to fused. Google has been
using this exclusively for a few months.

DAOS-15136 client: Switch to using libfused (#14077)
DAOS-17117 build: build dependencies as git submodules (#15909)
DAOS-11866 build: Add --build-deps=fetch option (#14125)
DAOS-623 build: Minor build fix (#15749)
DAOS-623 build: Update developer package for fused (#15746)
DAOS-17344 build: Enhance SCons options (#16157)

Co-authored-by: Ashley Pittman <[email protected]>
Signed-off-by: Nicholas Murphy <[email protected]>
Signed-off-by: Jeff Olivier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants