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

JBPM-9383: Mark unstable tests to be skipped by PR check #2256

Merged
merged 1 commit into from
Oct 7, 2020

Conversation

sutaakar
Copy link
Contributor

@sutaakar sutaakar commented Oct 1, 2020

Thank you for submitting this pull request

JIRA:

JBPM-9383

How to retest this PR or trigger a specific build:
  • a pull request please add comment: Jenkins retest this

  • a full downstream build please add comment: Jenkins run fdb

  • a compile downstream build please add comment: Jenkins run cdb

  • a full production downstream build please add comment: Jenkins execute product fdb

  • an upstream build please add comment: Jenkins run upstream

@lucamolteni
Copy link
Contributor

Out of curiosity, what is the difference between this annotation and just delete the test?

If we don't care if they're red or green to merge them then we can as well delete the tests

@sutaakar
Copy link
Contributor Author

sutaakar commented Oct 1, 2020

The difference is a downstream check for certifications. In downstream the tests pass (I guess there must be some Jenkins difference though I wasn't able to identify it).

@lucamolteni
Copy link
Contributor

We could move this test to the downstream suite then.
I think we already have several test suites, such as turtle tests if I remember correctly

Copy link
Member

@gmunozfe gmunozfe left a comment

Choose a reason for hiding this comment

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

Looks good, thanks @sutaakar

@sutaakar
Copy link
Contributor Author

sutaakar commented Oct 1, 2020

@lucamolteni I prefer not to split the Kie server tests, rather keep them in one place. It is easier to maintain.

@mareknovotny mareknovotny changed the title Mark unstable tests to be skipped by PR check JBPM-9383: Mark unstable tests to be skipped by PR check Oct 2, 2020
@mareknovotny
Copy link
Member

failed tests are related to https://github.com/kiegroup/drools/pull/3133 and DROOLS-5685

@tarilabs @mariofusco have you checked the tests here in this repository? As the PR https://github.com/kiegroup/drools/pull/3133 didn't run FDB i am not sure if this is now really broken

@tarilabs
Copy link
Member

tarilabs commented Oct 2, 2020

the test failures clearly exhibited a problem which has nothing to do with kie-server, the use-case was not tested on the drools.git repo which is now done with https://github.com/kiegroup/drools/pull/3133

I will check this one locally once again (sec)

@@ -183,6 +185,7 @@ public void testContainerCreatedAfterStartup() throws Exception {
}

@Test
@Category({UnstableOnJenkinsPrBuilder.class})
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
@Category({UnstableOnJenkinsPrBuilder.class})

for me kiegroup/drools@1730221
resolved the issue

as I taken the steps to reproduce indicated in https://issues.redhat.com/browse/DROOLS-5685

that is:
image

I get:

image

Copy link
Member

Choose a reason for hiding this comment

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

ok, i will try to trigger tests again, thanks @tarilabs for checking

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tarilabs This test is not related to the issue which you reference in your comment. Is there any specific reason for removing the unstable flag here?

Copy link
Member

Choose a reason for hiding this comment

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

Sorry @sutaakar it indeed it appears I've been marking over something unrelated. Sorry for noise.

Copy link
Member

Choose a reason for hiding this comment

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

(please consider this resolved, as wrong comment 🙏 )

@mareknovotny
Copy link
Member

Jenkins retest this please

@sutaakar
Copy link
Contributor Author

sutaakar commented Oct 2, 2020

Jenkins retest this please

@tarilabs
Copy link
Member

tarilabs commented Oct 4, 2020

it seems master is failing for:

org.kie.integration.testcoverage.instrumentation.InstrumentationTest.testMetaInfoExists

although "interesting" since the only related modification was #2247 which was green as still can be seen in the PR page?

@tarilabs
Copy link
Member

tarilabs commented Oct 4, 2020

Further data.

As mentioned previously #2256 (comment)

I can confirm master fails for:

org.kie.integration.testcoverage.instrumentation.InstrumentationTest.testMetaInfoExists

however I have good reasons to believe the failure is actually caused by: https://github.com/kiegroup/drools/pull/3090

Since it's also shown in the failure log of this PR on Jenkins: https://rhba-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/KIE/job/master/job/pullrequest/job/droolsjbpm-integration-master.pr/4/

so while this latter PR might have fixed the Karaf infrastructure, it is showing the test under discussion was failing at that time.

I am attempting a fix taking KOGITO-2853 into consideration.

@tarilabs
Copy link
Member

tarilabs commented Oct 4, 2020

verified locally and

org.kie.integration.testcoverage.instrumentation.InstrumentationTest.testMetaInfoExists

can be fixed with:

@sutaakar
Copy link
Contributor Author

sutaakar commented Oct 5, 2020

Jenkins retest this please

@sonarcloud
Copy link

sonarcloud bot commented Oct 5, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@mareknovotny
Copy link
Member

I merged #2261 where GA CI again works as deadlock were fixed

@sutaakar
Copy link
Contributor Author

sutaakar commented Oct 5, 2020

@mareknovotny Can you please merge?

@mareknovotny
Copy link
Member

@sutaakar yes, i am waiting only on GA CI to finish ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants