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

Integrate JNA 5.14 #24778

Merged
merged 1 commit into from Jan 31, 2024
Merged

Integrate JNA 5.14 #24778

merged 1 commit into from Jan 31, 2024

Conversation

arjantijms
Copy link
Contributor

Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
@arjantijms arjantijms added the component upgrade A component dependency has been upgraded label Jan 31, 2024
@arjantijms arjantijms added this to the 7.0.13 milestone Jan 31, 2024
@arjantijms arjantijms self-assigned this Jan 31, 2024
@arjantijms
Copy link
Contributor Author

I'm inclined to merge this even with the failures. The second has different failures from the first run, with the exception of

[ClientTestNG.testTransactionScopedJMSContextInjection](https://ci.eclipse.org/glassfish/job/glassfish_build-and-test-using-jenkinsfile/job/PR-24778/2/testReport/junit/ql_gf_full_profile_all/test-jms-injection-ClientTestNG/ant_tests___ql_gf_full_profile_all___testTransactionScopedJMSContextInjection_3/)

But that test always fails randomly, so I tend to ignore it. (I think we should not have that test enabled at all in the current state of things)

@dmatej @avpinchuk what do you think?

If over several test runs, all tests together pass at least in one run, shall we just then merge it instead of endlessly consuming resources and repeating the run again and again?

Shall we disable tests that fail randomly, or move them to a new "unstable" test module, where we can just setup a build for only that test module, and set that on auto repeat until it succeeds (with a maximum of say 20 retries?)

@dmatej
Copy link
Contributor

dmatej commented Jan 31, 2024

I'm inclined to merge this even with the failures. The second has different failures from the first run, with the exception of

[ClientTestNG.testTransactionScopedJMSContextInjection](https://ci.eclipse.org/glassfish/job/glassfish_build-and-test-using-jenkinsfile/job/PR-24778/2/testReport/junit/ql_gf_full_profile_all/test-jms-injection-ClientTestNG/ant_tests___ql_gf_full_profile_all___testTransactionScopedJMSContextInjection_3/)

But that test always fails randomly, so I tend to ignore it. (I think we should not have that test enabled at all in the current state of things)

@dmatej @avpinchuk what do you think?

If over several test runs, all tests together pass at least in one run, shall we just then merge it instead of endlessly consuming resources and repeating the run again and again?

Shall we disable tests that fail randomly, or move them to a new "unstable" test module, where we can just setup a build for only that test module, and set that on auto repeat until it succeeds (with a maximum of say 20 retries?)

I have already fixed it locally, but I have a new bug inside, so be patient with me few days ;-)

@avpinchuk
Copy link
Contributor

If over several test runs, all tests together pass at least in one run, shall we just then merge it instead of endlessly consuming resources and repeating the run again and again?

I agree.

Shall we disable tests that fail randomly, or move them to a new "unstable" test module, where we can just setup a build for only that test module, and set that on auto repeat until it succeeds (with a maximum of say 20 retries?)

I like second option. In the first case , we may simply forget to enable them again ))

@dmatej
Copy link
Contributor

dmatej commented Jan 31, 2024

We should simply fix them asap, third option. They detected bugs.

@arjantijms
Copy link
Contributor Author

We should simply fix them asap, third option. They detected bugs.

I agree with first part, but not with latter necessarily. It can just be bad tests as well.

Whatever we do, running the build over and over again until finally everything is green at the same time doesn't add anything and wastes resources.

If in build 1 test A succeeds and B fails, then in build 2 A fails and B succeeds, then that is not really different from that in build 10 finally A and B succeed in the same build.

@arjantijms arjantijms merged commit 2b13585 into eclipse-ee4j:master Jan 31, 2024
2 checks passed
@arjantijms arjantijms deleted the jna_514 branch January 31, 2024 16:34
@dmatej
Copy link
Contributor

dmatej commented Jan 31, 2024

I agree with first part, but not with latter necessarily. It can just be bad tests as well.

Right now I am sure they are not bad tests, they really reproduce a race condition. Btw the implementation is from 1997 and before :-D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component upgrade A component dependency has been upgraded
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants