[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2024-01-05 Thread Gil Portenseigne (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17803598#comment-17803598
 ] 

Gil Portenseigne commented on OFBIZ-12726:
--

Thanks and nice catch, I agree we can close with creating a ticket to not 
forget the issue with xstream.

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: image-2023-12-05-16-52-38-822.png, 
> image-2023-12-12-18-10-16-016.png, image-2024-01-04-18-27-42-512.png, 
> image-2024-01-04-18-28-27-910.png
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2024-01-04 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17803262#comment-17803262
 ] 

Jacques Le Roux commented on OFBIZ-12726:
-

Thanks Eugen,

I agree, Gil?

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: image-2023-12-05-16-52-38-822.png, 
> image-2023-12-12-18-10-16-016.png, image-2024-01-04-18-27-42-512.png, 
> image-2024-01-04-18-28-27-910.png
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2024-01-04 Thread Ioan Eugen Stan (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17803255#comment-17803255
 ] 

Ioan Eugen Stan commented on OFBIZ-12726:
-

I did a bit of research and found out that ./gradlew "ofbiz --test 
suitename=entitytests"  fails.

It might be the thing that fails the other tests.

I believe it's caused because xstream does not work with Java 17: 
[https://github.com/x-stream/xstream/issues/262] .

The recommended way to fix it is to do:
{color:#6aab73}'--add-opens=java.base/java.util=ALL-UNNAMED' 
{color}{color:#7a7e85}// OFBIZ-12726{color}
which we already do.

There does not seem to be a way around this other than replaxing xstream with 
something else.

So I believe this issue can be closed and we can move forward.

We could open a new issue, related to this where we can consider dropping 
xstream in place of something else.

But I guess we can do that at a later time.

No need to change if we have a workaround that seems ok so far.

cc [~jleroux] , [~pgil]  wdyt?

 

```
| |No converter available  Debugging information  message : No 
converter available type : java.util.Collections$UnmodifiableMap converter : 
com.thoughtworks.xstream.converters.reflection.ReflectionConverter message[1] : 
Unable to make field private static final long 
java.util.Collections$UnmodifiableMap.serialVersionUID accessible: module 
java.base does not "opens java.util" to unnamed module @75eeccf5 
--- 
 
```
{{com.thoughtworks.xstream.converters.ConversionException: No converter 
available}}
{{ Debugging information    
 }}
{{message : No converter available  
  }}
{{type: 
java.util.Collections$UnmodifiableMap}}
{{converter   : 
com.thoughtworks.xstream.converters.reflection.ReflectionConverter  
  }}
{{message[1]  : Unable to make field 
private static final long 
java.util.Collections$UnmodifiableMap.serialVersionUID accessible: 
module java.base does not "opens java.util" to unnamed module @75eeccf5 
   }}
```|

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: image-2023-12-05-16-52-38-822.png, 
> image-2023-12-12-18-10-16-016.png, image-2024-01-04-18-27-42-512.png, 
> image-2024-01-04-18-28-27-910.png
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2024-01-04 Thread Ioan Eugen Stan (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17803239#comment-17803239
 ] 

Ioan Eugen Stan commented on OFBIZ-12726:
-

So I can confirm what [~pgil]  found.

Running test only a single component - that normally fails - makes the tests 
pass.

This is the result for running: ./gradlew cleanAll loadAll "ofbiz --test 
suitename=accountingtests"

As you can see the accountingtests pass.

!image-2024-01-04-18-27-42-512.png!

 

And this is the result for running: "./gradlew cleanAll loadAll 
testIntegration" .

As you can see the accountingtests fail.

 

!image-2024-01-04-18-28-27-910.png!

 

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: image-2023-12-05-16-52-38-822.png, 
> image-2023-12-12-18-10-16-016.png, image-2024-01-04-18-27-42-512.png, 
> image-2024-01-04-18-28-27-910.png
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2023-12-12 Thread Ioan Eugen Stan (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17795933#comment-17795933
 ] 

Ioan Eugen Stan commented on OFBIZ-12726:
-

Thank you [~pgil] ,  I have put a pause on this issue as I am waiting fro a 
review on [https://github.com/apache/ofbiz-framework/pull/678] .

I believe building libraries from ofbiz pieces can help with clarify 
dependencies and after some time improve the testing support - my moving the 
code to more standard testing practices.

Perhaps we could have an embedded in-memory ofbiz for testing - like we have 
now, but better defined in terms of dependencies.

I believe now it's an all or nothing scenario.

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: image-2023-12-05-16-52-38-822.png, 
> image-2023-12-12-18-10-16-016.png
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2023-12-12 Thread Gil Portenseigne (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17795857#comment-17795857
 ] 

Gil Portenseigne commented on OFBIZ-12726:
--

Hello Eugen, Jacques,

I just join the effort, removing 
{{{}'--add-opens=java.base/java.util=ALL-UNNAMED'{}}}, i also got the errors.

But using :
{code:java}
./gradlew "ofbiz --test component=order "
./gradlew "ofbiz --test component=minilang " {code}
Make the failing tests pass...  there seems to have an dependency between the 
tests, with one error somewhere in test or between. I will continue to 
investigate on Friday.

For accounting : 
!image-2023-12-12-18-10-16-016.png!

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: image-2023-12-05-16-52-38-822.png, 
> image-2023-12-12-18-10-16-016.png
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2023-12-06 Thread Ioan Eugen Stan (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17793932#comment-17793932
 ] 

Ioan Eugen Stan commented on OFBIZ-12726:
-

Thank you.

I managed to run it in debug.

I am more used to right click inside test and select Run/Debug option.

Maybe we can make this happen in the future. 
It's a nicer experience.

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: image-2023-12-05-16-52-38-822.png
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2023-12-06 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17793575#comment-17793575
 ] 

Jacques Le Roux commented on OFBIZ-12726:
-

Hi Eugen,

If what you want is to run all integration tests in debug mode, here you go:
https://nightlies.apache.org/ofbiz/trunk/readme/html5/README.html#example-ofbiz-server-tasks
You may prefer to run only a suite:
https://nightlies.apache.org/ofbiz/trunk/readme/html5/README.html#execute-an-integration-test-suite-in-debug-mode
You may also prefer to run only a test case, just add {{--debug-jvm}} at the 
end of
https://nightlies.apache.org/ofbiz/trunk/readme/html5/README.html#execute-an-integration-test-case

Similar READMEs exist also for stable and next branches


HTH

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: image-2023-12-05-16-52-38-822.png
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2023-12-05 Thread Ioan Eugen Stan (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17793365#comment-17793365
 ] 

Ioan Eugen Stan commented on OFBIZ-12726:
-

I would like to know how to run the test from IDE as it's not very clear to me.

 

I have
{noformat}
A transaction error occurred reading data
org.xml.sax.SAXException: A transaction error occurred 
reading data
org.apache.ofbiz.entity.transaction.GenericTransactionException: The 
current transaction is marked for rollback, not beginning a new 
transaction and aborting current operation; the rollbackOnly was caused 
by: Failure in create operation for entity [TestingCrypto]: 
java.lang.IllegalStateException: This object has been flagged as 
immutable (unchangeable), probably because it came from an Entity Engine
 cache. Cannot modify an immutable entity object. Use the clone method 
to create a mutable copy of this object.. Rolling back 
transaction.java.lang.IllegalStateException: This object has been 
flagged as immutable (unchangeable), probably because it came from an 
Entity Engine cache. Cannot modify an immutable entity object. Use the 
clone method to create a mutable copy of this object. (This object has 
been flagged as immutable (unchangeable), probably because it came from 
an Entity Engine cache. Cannot modify an immutable entity object. Use 
the clone method to create a mutable copy of this object.)
at 
org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:299)
at 
org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:261)
at 
org.apache.ofbiz.testtools.EntityXmlAssertTest.run(EntityXmlAssertTest.java:80)
at 
org.apache.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:90)
at 
org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:153)
at 
org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:77)
at 
org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146)
at 
org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70)
at 
org.apache.ofbiz.base.start.Start.main(Start.java:89)
Caused by: 
org.apache.ofbiz.entity.transaction.GenericTransactionException: The 
current transaction is marked for rollback, not beginning a new 
transaction and aborting current operation; the rollbackOnly was caused 
by: Failure in create operation for entity [TestingCrypto]: 
java.lang.IllegalStateException: This object has been flagged as 
immutable (unchangeable), probably because it came from an Entity Engine
 cache. Cannot modify an immutable entity object. Use the clone method 
to create a mutable copy of this object.. Rolling back 
transaction.java.lang.IllegalStateException: This object has been 
flagged as immutable (unchangeable), probably because it came from an 
Entity Engine cache. Cannot modify an immutable entity object. Use the 
clone method to create a mutable copy of this object. (This object has 
been flagged as immutable (unchangeable), probably because it came from 
an Entity Engine cache. Cannot modify an immutable entity object. Use 
the clone method to create a mutable copy of this object.)
at 
org.apache.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:143)
at 
org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:277)
Caused by: java.lang.IllegalStateException: This
 object has been flagged as immutable (unchangeable), probably because 
it came from an Entity Engine cache. Cannot modify an immutable entity 
object. Use the clone method to create a mutable copy of this object.
at 
org.apache.ofbiz.entity.GenericEntity.assertIsMutable(GenericEntity.java:165)
at 
org.apache.ofbiz.entity.GenericEntity.setDelegator(GenericEntity.java:408)
at 
org.apache.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:890)
at 
org.apache.ofbiz.entity.GenericDelegator.rollback(GenericDelegator.java:2715)
at 
org.apache.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:92){noformat}

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  

[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2023-12-05 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17793342#comment-17793342
 ] 

Jacques Le Roux commented on OFBIZ-12726:
-

Yes that's it, just click on the numbers :)

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: image-2023-12-05-16-52-38-822.png
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2023-12-05 Thread Ioan Eugen Stan (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17793313#comment-17793313
 ] 

Ioan Eugen Stan commented on OFBIZ-12726:
-

How can i see the tests failures? 

I ran

```

$ ./gradlew cleanAll loadAll testIntegration

```

and opened 
[http://localhost:63342/ofbiz/runtime/logs/test-results/html/index.html . 
|http://localhost:63342/ofbiz/runtime/logs/test-results/html/index.html?_ijt=ejmrh78bnvnoueqi03h7pqd2ut&_ij_reload=RELOAD_ON_SAVE]
I got

!image-2023-12-05-16-52-38-822.png!

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Attachments: image-2023-12-05-16-52-38-822.png
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2023-12-05 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17793251#comment-17793251
 ] 

Jacques Le Roux commented on OFBIZ-12726:
-

When removing {{'--add-opens=java.base/java.util=ALL-UNNAMED'}} we have now 190 
failures and 65 errors.

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2023-12-05 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17793238#comment-17793238
 ] 

Jacques Le Roux commented on OFBIZ-12726:
-

Thanks Eugen,

This was due to OFBIZ-11067

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2023-12-05 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17793237#comment-17793237
 ] 

ASF subversion and git services commented on OFBIZ-12726:
-

Commit 565d8a37f75448eca89c345887970f7d51c08f14 in ofbiz-framework's branch 
refs/heads/release22.01 from Eugen Stan
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=565d8a37f7 ]

Fixed: Test package name ref for UtilObjectTests (OFBIZ-12726) (#677)

UtilObjectTests was rererenced with a wrong package name.

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2023-12-05 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17793234#comment-17793234
 ] 

ASF subversion and git services commented on OFBIZ-12726:
-

Commit afe62e2d7cdcf753bf44e53a3426529bac869fce in ofbiz-framework's branch 
refs/heads/trunk from Eugen Stan
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=afe62e2d7c ]

Fixed: Test package name ref for UtilObjectTests (OFBIZ-12726) (#677)

UtilObjectTests was rererenced with a wrong package name.

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2023-01-03 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17653849#comment-17653849
 ] 

Jacques Le Roux commented on OFBIZ-12726:
-

It's logical because all OFBiz log is sent to testIntegration.log. But forgot, 
also because I copied only those 3, to note above that these and related 
warnings come from Tomcat (Catalina).  That's why we don't have to worry about 
them.

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: Upcoming Branch
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2022-12-23 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17651620#comment-17651620
 ] 

Jacques Le Roux commented on OFBIZ-12726:
-

Just as a note has those have no effects on the tests themselves. 

When running testIntegration putting OFBiz log in a file, like 
{{testIntegration > testIntegration.log}} you get a number of new log 
information in the console. Notably a lot of those 3 warnings:

{noformat}
WARNING: When running on Java 9 or later you need to add 
"--add-opens=java.base/java.io=ALL-UNNAMED" to the JVM command line arguments 
to enable ObjectStream cache memory leak protection. Alternatively, you can 
suppress this warning by disabling ObjectStream class cache memory leak 
protection.
WARNING: When running on Java 9 or later you need to add 
"--add-opens=java.base/java.lang=ALL-UNNAMED" to the JVM command line arguments 
to enable ThreadLocal memory leak detection. Alternatively, you can suppress 
this warning by disabling ThreadLocal memory leak detection.
WARNING: When running on Java 9 or later you need to add 
"--add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED" to the JVM command line 
arguments to enable RMI Target memory leak detection. Alternatively, you can 
suppress this warning by disabling RMI Target memory leak detection.
{noformat}

I don't hink we should worry about them and related in console.

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: Upcoming Branch
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2022-12-22 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17651305#comment-17651305
 ] 

Jacques Le Roux commented on OFBIZ-12726:
-

Hi Eugen,

bq. Would love to see OFBiz with jdk17
Sure I'd, I'm already running it locally with Grdl 7.6 and JDK 17. I did not 
cross any blocking problem so far.


> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: Upcoming Branch
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2022-12-21 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17650864#comment-17650864
 ] 

Jacques Le Roux commented on OFBIZ-12726:
-

Hi Eugen,

Don't feel pressured, we have time and a workaround :)

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: Upcoming Branch
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2022-12-21 Thread Ioan Eugen Stan (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17650848#comment-17650848
 ] 

Ioan Eugen Stan commented on OFBIZ-12726:
-

I did not have time to work on 
https://issues.apache.org/jira/browse/OFBIZ-12721 .
I hope to get some time next week.

Would love to see OFBiz with jdk17

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: Upcoming Branch
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2022-12-21 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17650826#comment-17650826
 ] 

Jacques Le Roux commented on OFBIZ-12726:
-

I did not commit yet because I'm waiting for OFBIZ-12721

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: Upcoming Branch
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)