-
Notifications
You must be signed in to change notification settings - Fork 338
DAOS-18017 build: update mercury to 2.4.1 #16943
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
base: master
Are you sure you want to change the base?
Conversation
|
Ticket title is 'Update mercury version to 2.4.1' |
c90845f to
595eaa3
Compare
d01bbb0 to
ec4dcea
Compare
ec4dcea to
513ed05
Compare
fd2be22 to
c409827
Compare
|
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16943/13/execution/node/959/log |
|
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-16943/16/testReport/ |
|
Test stage Test RPMs on EL 8.6 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-16943/16/execution/node/974/log |
| // To use a test branch (i.e. PR) until it lands to master | ||
| // I.e. for testing library changes | ||
| //@Library(value='pipeline-lib@your_branch') _ | ||
| @Library(value='pipeline-lib@soumagne/mercury_libfabric') _ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@phender this is the best and easiest solution I think for now (using the PR daos-stack/pipeline-lib#480), this way there is only minimal changes required to the Jenkinsfiles.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reminder to ourselves that we need to land the pipeline-lib change first
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to be frank, I'm not completely sure of the order that should go in, if I look at the comment it says:
// The @library line needs to be edited in a PR for adding a test.
// Adding a test requires two PRs. One to add the test.
// That PR should be landed with out deleting the PR branch.
// Then a second PR submitted to comment out the @Library line, and when it
// is landed, both PR branches can be deleted.
so in theory I think we want to land that PR first so that it uses the branch when it lands, then land the pipeline-lib PR without deleting the branch, and finally merge a new PR that comments out that line again so it uses the default branch. That's how I see it but maybe I'm missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Usually we land the pipeline-lib PR (and delete the branch). Then update this daos PR back to the default / uncommented pipeline-lib. Then land this PR if testing is okay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well imo if you do that then you are going to break all PRs / CIs until this PR has landed :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I misunderstood what this PR was doing. I did some testing locally and for example trying to install this new mercury with 2.6.4 works as expected
sudo dnf install mercury-2.4.1~rc5-1.el8 daos-2.6.4
...
Installing:
daos 2.6.4-7.3224.g8a20f44f.el8
mercury 2.4.1~rc5-1.el8
So, PRs that do NOT have this change will be okay because their version of daos still depends on mercury and on libfabric.
Then, when pipeline-lib says to install mercury-libfabric it doesn't actually matter for those PRs because mercury-libfabric really just installs mercury and libfabric.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I see two options. Either what you mentioned about leaving the pipeline-lib reference in the landing of this PR, OR something like this:
- Remove the pipeline-lib reference in this PR.
- Keep the
daos -> libfabricdependency for now for compatibility - Land this PR, since with (1) and (2) it should still work.
- Land the pipeline-lib PR
- New daos PR to remove the
daos -> libfabricdependency
IMO I prefer this approach so we don't have to leave the pipeline-lib reference in place
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PRs that do NOT have this change will be okay
you are allowed to install mercury without mercury-libfabric or mercury-ucx but all tests will fail because the providers / plugins won't be found. What this PR does is separate the libfabric mercury plugin that allows mercury to interface with libfabric. Without it, mercury cannot use libfabric.
Keep the daos -> libfabric dependency for now for compatibility
No, this does not help in any way and no with (1) and (2) it won't work because you do need mercury-libfabric. This is not a simple alias of some sort, to expand on what I just mentioned above, it installs a separate library that is similar to mercury-ucx (you can look at that as an example). This library is then dynamically loaded by mercury.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then I don't know how to land any of this without breaking CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well that's what I've just been trying to explain :) I'm glad we're reaching the same conclusion. The real issue is that rpms are globally visible once merged, so because of that, any change of that sort will face the same issues.
| EXTRA_OPTS+=("--rpm-attr" "0755,root,root:${sysconfdir}/daos/certs") | ||
|
|
||
| DEPENDS=( "mercury >= ${mercury_full}" "${libfabric_lib} >= ${libfabric_full}" ) | ||
| DEPENDS=( "mercury >= ${mercury_version}" ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DAOS no longer depends on libfabric directly? So mercury is the only access to libfabric?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's right, only the mercury plugin does. The idea is that we need to be able to install DAOS on systems that only have UCX so we don't want to always a pull a libfabric dependency (DAOS itself does not need it anymore anyway).
| // To use a test branch (i.e. PR) until it lands to master | ||
| // I.e. for testing library changes | ||
| //@Library(value='pipeline-lib@your_branch') _ | ||
| @Library(value='pipeline-lib@soumagne/mercury_libfabric') _ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reminder to ourselves that we need to land the pipeline-lib change first
ca3a47d to
52baeb4
Compare
frostedcmos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM, would prefer someone more knowledgeable than me with CI process and possible alternatives to approve
|
@phender @daltonbohning please review this PR. I'm also happy to discuss offline to walk you through it and think about better solutions if there are any. It is passing the CI and I will need to get that merged as there are a number of fixes we need to pick for customers. |
|
From discussion with @mchaarawi since this PR will affect 2.6 also, should get 2.6 merge approval before moving further. |
779d38b to
cfea0f3
Compare
cfea0f3 to
1e3c1fb
Compare
Remove libfabric dependency on DAOS rpm Keep debug log enabled Add patch for version info Signed-off-by: Jerome Soumagne <[email protected]>
Signed-off-by: Jerome Soumagne <[email protected]>
1e3c1fb to
55cda7d
Compare
remove libfabric dependency on DAOS rpm
Steps for the author:
After all prior steps are complete: