[ 
https://issues.apache.org/jira/browse/DERBY-7110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17403369#comment-17403369
 ] 

Richard N. Hillegas commented on DERBY-7110:
--------------------------------------------

Hi Zeyuan Hu,

After some investigation, I have concluded that most of your problems are 
caused by the fact that some of the Derby tests can not be executed twice in 
the same test run. The junitreport target calls junit-core and so your 
experiment was running the tests twice and tripping over the fact that some of 
the tests don't clean up after themselves. This is a defect in the tests, but 
you should be able to get clean results with the folllowing, simpler experiment:

{noformat}
ant junit-clean junitreport
{noformat}

Before running that command, make sure that your CLASSPATH environment variable 
is empty. For more information, please see the commentary on DERBY-7124.

Can you point us to the documentation which advised you to run junit-core and 
junitreport back to back? We should correct that documentation.

If the replication tests are still hanging for you, then we need to investigate 
further. Can you attach the output produced by the "ant junit-clean 
junitreport" experiment? Thanks.

> Make it possible to build and test Derby cleanly with OpenJDK 17
> ----------------------------------------------------------------
>
>                 Key: DERBY-7110
>                 URL: https://issues.apache.org/jira/browse/DERBY-7110
>             Project: Derby
>          Issue Type: Task
>          Components: Build tools
>    Affects Versions: 10.16.0.0
>            Reporter: Richard N. Hillegas
>            Assignee: Richard N. Hillegas
>            Priority: Major
>         Attachments: derby-7110-01-aa-removeAngleBrackets.diff, 
> derby-7110-02-aa-suppressWarnings.diff, 
> derby-7110-03-aa-forkAntJavaTask.diff, derby-7110-03-ab-forkAntJavaTask.diff, 
> derby-test-printout.txt
>
>
> Releases of Open JDK 17 can be found at https://jdk.java.net/17/. We should 
> adjust Derby as necessary so that it builds cleanly (including javadoc) and 
> tests cleanly with this version of the platform.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to