Skip to content

Conversation

@phender
Copy link
Contributor

@phender phender commented May 10, 2022

Limit daos_tests requiement to the non-openmpi daos-*-tests packages.

Signed-off-by: Phillip Henderson [email protected]

Limit daos_tests requiement to the non-openmpi daos-*-tests packages.

Signed-off-by: Phillip Henderson <[email protected]>
@phender phender requested a review from a team as a code owner May 10, 2022 14:57
Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

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

LGTM. No errors found by checkpatch.

@daosbuild1
Copy link
Collaborator

Test stage Build DEB on Ubuntu 20.04 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-8980/1/execution/node/340/log

@daosbuild1
Copy link
Collaborator

Test stage Build RPM on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-8980/1/execution/node/419/log

@daosbuild1
Copy link
Collaborator

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

@daosbuild1
Copy link
Collaborator

Test stage Build RPM on CentOS 7 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-8980/1/execution/node/435/log

@daosbuild1
Copy link
Collaborator

Test stage Build DEB on Ubuntu 20.04 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-8980/2/execution/node/227/log

@daosbuild1
Copy link
Collaborator

Test stage Build RPM on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-8980/2/execution/node/291/log

@daosbuild1
Copy link
Collaborator

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

@daosbuild1
Copy link
Collaborator

Test stage Build RPM on CentOS 7 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-8980/2/execution/node/322/log

phender added 2 commits May 10, 2022 13:10
Signed-off-by: Phillip Henderson <[email protected]>
Signed-off-by: Phillip Henderson <[email protected]>
Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

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

LGTM. No errors found by checkpatch.

@phender phender requested a review from brianjmurrell May 10, 2022 17:14
Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

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

LGTM. No errors found by checkpatch.

Copy link
Contributor

@brianjmurrell brianjmurrell left a comment

Choose a reason for hiding this comment

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

This feels like it should go into pipeline-lib rather than being repeated a dozen times here, and will need updating in the weekly-testing branch also. Unless there is something about doing that there that I am not seeing.

@brianjmurrell
Copy link
Contributor

I wonder if a better approach is to have yet another [meta-]package, called daos-tests-internal, say, that Requires: %{name}-tests%{?_isa} = %{version}-%{release}, %{name}-client-tests-openmpi%{?_isa} = %{version}-%{release}, which we don't include in the public release and then go back to being able to update pipeline-lib.

@phender
Copy link
Contributor Author

phender commented May 10, 2022

There is currently a difference in the daos master and release/2.2 branches in that the master branch no longer has a daos-server-tests-openmpi package.

@phender
Copy link
Contributor Author

phender commented May 10, 2022

I wonder if a better approach is to have yet another [meta-]package, called daos-tests-internal, say, that Requires: %{name}-tests%{?_isa} = %{version}-%{release}, %{name}-client-tests-openmpi%{?_isa} = %{version}-%{release}, which we don't include in the public release and then go back to being able to update pipeline-lib.

We could do that, but it might be silly to define a daos-tests-internal package that only requires daos-client-tests-openmpi in the master branch.

@brianjmurrell
Copy link
Contributor

We could do that, but it might be silly to define a daos-tests-internal package that only requires daos-client-tests-openmpi in the master branch.

Well, it would also requires daos-tests and generally considered to be the internal testing equivalent of users installing daos-tests. daos-client-tests-openmpi may very well not be the end of things/tests that we do not want to include in public releases.

@phender
Copy link
Contributor Author

phender commented May 10, 2022

We could do that, but it might be silly to define a daos-tests-internal package that only requires daos-client-tests-openmpi in the master branch.

Well, it would also requires daos-tests and generally considered to be the internal testing equivalent of users installing daos-tests. daos-client-tests-openmpi may very well not be the end of things/tests that we do not want to include in public releases.

Would it though? Since daos-client-tests-openmpi requires daos-client-tests already there is no need for daos-tests-internal to also require the empty daos-tests to bring in the daos-client-tests requirement.

@daosbuild1
Copy link
Collaborator

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

@brianjmurrell
Copy link
Contributor

Would it though? Since daos-client-tests-openmpi requires daos-client-tests already there is no need for daos-tests-internal to also require the empty daos-tests to bring in the daos-client-tests requirement.

Technically, yes, you are correct. Today at least. But having a daos-tests-internal which Requires: daos-tests allows us to feel comfortable that when we install daos-tests-internal we are always getting exactly what users would get by installing daos-tests plus whatever embargoed packages that we want for internal testing.

We are then free at any time to change up the dependencies in any way we want and will always be testing internally, an accurate (as can be) reflection of what users are going to experience by installing daos-tests externally.

Signed-off-by: Phillip Henderson <[email protected]>
Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

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

LGTM. No errors found by checkpatch.

@daosbuild1
Copy link
Collaborator

Test stage Build DEB on Ubuntu 20.04 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-8980/5/execution/node/349/log

@daosbuild1
Copy link
Collaborator

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

@daosbuild1
Copy link
Collaborator

Test stage Build RPM on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-8980/5/execution/node/435/log

@daosbuild1
Copy link
Collaborator

Test stage Build RPM on CentOS 7 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-8980/5/execution/node/429/log

@daosbuild1
Copy link
Collaborator

Test stage Build RPM on EL 8 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-8980/9/execution/node/436/log

@daosbuild1
Copy link
Collaborator

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

@daosbuild1
Copy link
Collaborator

Test stage Build RPM on CentOS 7 completed with status FAILURE. https://build.hpdd.intel.com//job/daos-stack/job/daos/view/change-requests/job/PR-8980/9/execution/node/421/log

Signed-off-by: Phillip Henderson <[email protected]>
Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

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

LGTM. No errors found by checkpatch.

FYI: Errors found in lines not modified in the patch:

ci/functional/required_packages.sh:6:
(lint) client_ver appears unused. Verify use (or export if used externally). [SC2034]

@phender phender requested a review from JohnMalmberg May 12, 2022 16:39
@phender phender marked this pull request as ready for review May 12, 2022 16:49
%package tests
Summary: The entire DAOS test suite
Requires: %{name}-client-tests-openmpi%{?_isa} = %{version}-%{release}
Requires: %{name}-client-tests%{?_isa} = %{version}-%{release}
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure that you can do this all in one commit. This will cause testing on this branch to break until the pipeline-lib change lands. Unless you close landing on this branch after this until the pipeline-lib update lands.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm temporarily including installing the daos-client-tests-openmpi package through the Jenkins file until packaging in all branches generates a daos-test-internal package, at which point pipeline-lib can be updated to install it instead of daos-tests.

@daosbuild1
Copy link
Collaborator

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

Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

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

LGTM. No errors found by checkpatch.

FYI: Errors found in lines not modified in the patch:

ci/functional/required_packages.sh:6:
(lint) client_ver appears unused. Verify use (or export if used externally). [SC2034]

Signed-off-by: Phillip Henderson <[email protected]>
Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

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

LGTM. No errors found by checkpatch.

FYI: Errors found in lines not modified in the patch:

ci/functional/required_packages.sh:6:
(lint) client_ver appears unused. Verify use (or export if used externally). [SC2034]

Signed-off-by: Phillip Henderson <[email protected]>
@phender phender requested a review from brianjmurrell May 12, 2022 22:55
Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

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

LGTM. No errors found by checkpatch.

FYI: Errors found in lines not modified in the patch:

ci/functional/required_packages.sh:6:
(lint) client_ver appears unused. Verify use (or export if used externally). [SC2034]

@phender
Copy link
Contributor Author

phender commented May 13, 2022

HW Small test failures in https://build.hpdd.intel.com/job/daos-stack/job/daos/job/PR-8980/13 caused by:

May 13 10:10:08 wolf-135.wolf.hpdd.intel.com daos_server[98159]: ERROR: 1 fabric interface(s) not ready (requested: ib0)

Restarted Test Hardware

@phender phender requested a review from a team as a code owner May 17, 2022 16:46
@phender phender requested review from mjmac and removed request for a team May 17, 2022 16:46
Copy link
Collaborator

@daosbuild1 daosbuild1 left a comment

Choose a reason for hiding this comment

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

LGTM. No errors found by checkpatch.

FYI: Errors found in lines not modified in the patch:

ci/functional/required_packages.sh:6:
(lint) client_ver appears unused. Verify use (or export if used externally). [SC2034]

@@ -1,5 +1,5 @@
//
// (C) Copyright 2020-2021 Intel Corporation.
// (C) Copyright 2020-2022 Intel Corporation.
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm. Just realized that I forgot to set up my pre-commit hook in the new clone I'm using for el8 development. Fixed.

@daosbuild1
Copy link
Collaborator

@jolivier23 jolivier23 merged commit cb24de2 into master May 20, 2022
@jolivier23 jolivier23 deleted the DAOS-10535_master branch May 20, 2022 21:32
eberroca pushed a commit that referenced this pull request Jun 22, 2022
…8980)

Limit daos_tests requiement to the non-openmpi daos-*-tests packages.

Signed-off-by: Phillip Henderson <[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.

7 participants