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

[7.67.x-blue] RHPAM-4970 locate pom with snapshot versioning on Springboot #278

Open
wants to merge 1 commit into
base: 7.67.x-blue
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

Backport: #277

Note: CI is not automatically triggered on backported PRs, please comment 'ok to test' to launch Jenkins jobs

Ignore timestamped SNAPSHOT replacements to find and parse pom artifact

JIRA: https://issues.redhat.com/browse/RHPAM-4970

* prepare classes for testing

* locate pom with snapshot

---------

Co-authored-by: Alberto Fanjul <[email protected]>
@mareknovotny
Copy link
Member

ok to test

@mareknovotny
Copy link
Member

jenkins do fdb

@baldimir
Copy link
Member

jenkins run fdb

@akumar074
Copy link
Member

Jenkins run fdb

4 similar comments
@akumar074
Copy link
Member

Jenkins run fdb

@akumar074
Copy link
Member

Jenkins run fdb

@akumar074
Copy link
Member

Jenkins run fdb

@akumar074
Copy link
Member

Jenkins run fdb

@baldimir
Copy link
Member

jenkins run fdb

@baldimir
Copy link
Member

jenkins run cdb

@akumar074
Copy link
Member

Jenkins run fdb

@mareknovotny
Copy link
Member

jenkins do fdb

@akumar074
Copy link
Member

Jenkins run cdb

@akumar074
Copy link
Member

Hello @elguardian The PR is missing the review. Please take a look. Thanks

@mareknovotny
Copy link
Member

there are some weird test failures related to ok3http?

	at okhttp3.mockwebserver.MockWebServer.<clinit>(MockWebServer.java:103)
	at org.uberfire.java.nio.fs.k8s.K8SFileChannelTest.<clinit>(K8SFileChannelTest.java:44)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

and very probably related test failure with this change

Error creating bean with name 'statelessPrototypeSession': Cannot resolve reference to bean 'drl_kiesample3' while setting bean property 'kBase'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'drl_kiesample3': Invocation of init method failed; nested exception is java.lang.RuntimeException: org.eclipse.aether.collection.DependencyCollectionException: Failed to read artifact descriptor for org.default:artifact:jar:1.0.0

@akumar074
Copy link
Member

Hi @mareknovotny , I am seeing the test failures on other PRs also, except one. I'm looking into it. I think it could be versioning issue with okhttp3 lib. I was able to reproduce this on 7.67.x-blue branch locally.

@akumar074
Copy link
Member

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

Successfully merging this pull request may close these issues.

4 participants