Skip to content
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

[CLOUD-3025] Allow selected EAP CD 14 / EAP 7.2.0.CR1 tests with updated JGroups #43

Merged
merged 1 commit into from Nov 29, 2018

Conversation

iankko
Copy link
Contributor

@iankko iankko commented Nov 23, 2018

to run also for RH-SSO 7.3 TP CD and RH-SSO 7.3.0.ER1 images

Also update the warning message for some JGroups tests to the form expected
by the jboss-eap-config-jgroups module, namely:

and enable these tests too (drop the @ignore label to enable them for EAP CD,
EAP 7.2.0, RH-SSO 7.3 TP CD & RH-SSO 7.3.0.ER1 images

Signed-off-by: Jan Lieskovsky jlieskov@redhat.com

…ted JGroups

to run also for RH-SSO 7.3 TP CD and RH-SSO 7.3.0.ER1 images

Also update the warning message for some JGroups tests to the form expected
by the "jboss-eap-config-jgroups" module, namely:
* https://github.com/jboss-container-images/jboss-eap-modules/blob/master/jboss-eap-config-jgroups/added/launch/jgroups.sh#L145 and
* https://github.com/jboss-container-images/jboss-eap-modules/blob/master/jboss-eap-config-jgroups/added/launch/jgroups.sh#L152

and enable these tests too (drop the @ignore label to enable them for EAP CD,
EAP 7.2.0, RH-SSO 7.3 TP CD & RH-SSO 7.3.0.ER1 images

Signed-off-by: Jan Lieskovsky <jlieskov@redhat.com>
@iankko
Copy link
Contributor Author

iankko commented Nov 23, 2018

@luck3y @bstansberry PTAL (once got a chance)

Thank you, Jan

@douglaspalmer jFY, -^

@luck3y
Copy link
Collaborator

luck3y commented Nov 27, 2018

@iankko Sorry for the delay in looking at this. I think in the long term it would be better if we had a @common annotation for these tests and then cekit could also run that one as part of your image tests, otherwise you'll be opening PRs against an EAP repo for SSO tests, which isn't ideal IMO.

WDYT?

@bstansberry
Copy link
Collaborator

These tests are written and maintained for EAP. I don't mind too much adding some tags to avoid people having to duplicate tests, but in the end the tests are for EAP and are maintained as such. So if we need to change something, we change something, and if that's a problem for other testsuites then the tests should be duplicated.

Obviously we don't want to be changing tests all the time but when we need to we need to.

@luck3y
Copy link
Collaborator

luck3y commented Nov 28, 2018

@iankko theres one other thing you may want to consider too, which we found to be annoying in EAP CD. If you have the default product name container -tech-preview, then you have to duplicate the annotations, but thats supposed to be added from either an override.yaml or using cekit --build-test-preview, which should then adjust and run the expected tests.

@douglaspalmer
Copy link

douglaspalmer commented Nov 28, 2018 via email

@luck3y
Copy link
Collaborator

luck3y commented Nov 28, 2018

@douglaspalmer I think what Brian means is that now that we've split up the products & tests coordination of this stuff is going to be much more difficult, and if it were the case that we needed a test for EAP changed, we wouldn't necessarily know it would break anyone else using it until they would tell us. That would result in a PR to update the test, or add a new one, and that isn't really any more manageable than just having all of the tests in a shared repo, which none of us have commit access to. The counter-argument is that its some additional duplication of tests.

Perhaps a comprimise, until we get something like a @common annotation might be that we'll accept PRs against common, and if people want they can always duplicate those tests in their own suites anyway, there aren't really all that many of them are there?

@luck3y
Copy link
Collaborator

luck3y commented Nov 28, 2018

Yeah, so looking at the patch again, if we rework the "basic" tests to be something like "shared" tests and just modify those, I think that could be ok, what do you guys think?

@luck3y
Copy link
Collaborator

luck3y commented Nov 28, 2018

Also, one last thought, if perhaps this was caused by me moving too many tests out of cct_module, then we can rectify that by just adding those basic tests back to cct_module IMO.

@iankko
Copy link
Contributor Author

iankko commented Nov 28, 2018

@bstansberry @luck3y

The goal here basically is to allow other images to run those tests too (without needing to first tag the image with expected tag). Maybe retagging the tests with @common tag would solve this (this PR was created yet before the discussion how to handle this started, so original approach might not the be right one).

I don't mind / have objections, the EAP team to change something in the test, when there's necessity for it (of course having the ability to run the tests without the duplication allow us to catch possible issues too, so you wouldn't be left alone to keep the tests fixed / updated). For us, it would have the benefit we wouldn't need to duplicate / copy all of the tests in our own repo (we could dupe only those, that would differ from EAP form [if any]).

Does that sound reasonable?

Thank you, Jan

@bstansberry
Copy link
Collaborator

To clarify, I don't have any objection to this PR being merged as is as a short term solution, assuming the details are ok with @luck3y, e.g. the previously ignored tests.

I think we need to think a bit about some sort of better organizational principle though, vs adhoc annotating of tests, which could get messy. TBH I'm not sure what that should be, and maybe this is fine. We're going to need per sprint tags of this repo, so if consumers of this module are tied to a tag they are going to be running that tag's tests for their images. If master moves on and tests change to match current behavior, that's only relevant for images that are consuming master.

FWIW, this basic.feature file doesn't seem terribly "basic", e.g. there are all these tests that were ignored and now are not that are validating small details of JGroups behavior. That's another form of organization that's worth improving.

@luck3y
Copy link
Collaborator

luck3y commented Nov 28, 2018

@bstansberry The ignored tests I consider a bug, they should certainly be unignored at this point ...

@douglaspalmer
Copy link

douglaspalmer commented Nov 28, 2018 via email

@bstansberry bstansberry merged commit 6c3b0b5 into jboss-container-images:master Nov 29, 2018
@bstansberry
Copy link
Collaborator

@iankko I merged this but haven't touched the JIRA as it includes more work than this.

@iankko
Copy link
Contributor Author

iankko commented Nov 29, 2018

@bstansberry Sure, no worries (I will handle that). Thank you for merging this!

yersan pushed a commit to yersan/jboss-eap-modules that referenced this pull request Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

4 participants