inquiry how to submit a change

Weijun Wang weijun.wang at oracle.com
Fri Dec 15 03:42:15 UTC 2017


Hi Vic

I do not run test this way (I either run a single one with jtreg directly or use our internal CI to run a tier) so I am not sure where the problem is.

As for jasm, There is a asmtools.jar in jtreg/lib. Do you have it?

Thanks
Max

> On Dec 15, 2017, at 11:01 AM, Vic Wang(BJ-RD) <VicWang at zhaoxin.com> wrote:
> 
> Dear Volker/Weijun:
> Thanks for your help.
> I've already clone the jdk ,hs ,client repository.
> 
> Now I've built jdk success by executing the following command:
> First, I configure JDK9 environment path,
> Then,
> bash configure
> make images
> 
> when running basic tests by ` make run-test-tier1`, it occurs the following error:
> 1>.
> ----------configuration:(0/0)----------
> ----------rerun:(4/539)*----------
> cd /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal-server-release/test-support/jtreg_test_jdk_tier1/scratch/2 && \\
>    /home/vic/Desktop/JVM/jdk-9.0.1/bin/java \\
>    -classpath  \\
>    org.openjdk.asmtools.jasm.Main -d /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal-server-release/test-support/jtreg_test_jdk_tier1/classes/1/jdk/internal/reflect/constantPool/ConstantPoolTest.d /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/reflect/constantPool/ConstantPoolTestDummy.jasm
> result: Error. can't find jasm
> test result: Error. can't find jasm
> 
> 2>. can't find jcoder
> tools/javac/T6435291/T6435291.java: javac shouldn't throw NPE while compiling invalid RuntimeInvisibleParameterAnnotations
> 3>. Execution failed: `main' threw exception: java.lang.reflect.InvocationTargetException
> jdk/javadoc/doclet/testIOException/TestIOException.java: test IOException handling
> 
> 4>.==============================
> Test summary
> ==============================
>   TEST                                              TOTAL  PASS  FAIL ERROR
>>> jtreg:test/jdk:tier1                               1657  1656     0     1 <<
>>> jtreg:test/langtools:tier1                         3826  3814     1    11 <<
>   jtreg:test/nashorn:tier1                              0     0     0     0
>   jtreg:test/jaxp:tier1                                 0     0     0     0
> ==============================
> TEST FAILURE
> 
> ps: I've configured the jtreg[1] by seting JT_HOME and jtharness[2] by seting JTHARNESS_HOME.
> I've found the asm lib <http://forge.ow2.org/projects/asm/>,but how to configure it ?
> 
> Is there any configuration or dependencies to be set?
> 
> [1] https://adopt-openjdk.ci.cloudbees.com/job/jtreg/lastSuccessfulBuild/artifact/
> [2] https://adopt-openjdk.ci.cloudbees.com/job/jtharness/lastSuccessfulBuild/artifact/
> 
> Best Regards!
> VicWang | R&D
> Telephone:+86-01082695388-892477
> 
> 
> -----邮件原件-----
> 发件人: Volker Simonis [mailto:volker.simonis at gmail.com]
> 发送时间: 2017年12月6日 17:30
> 收件人: Weijun Wang
> 抄送: Vic Wang(BJ-RD); jdk8u-dev at openjdk.java.net; Cobe Chen(BJ-RD)
> 主题: Re: inquiry how to submit a change
> 
> On Wed, Dec 6, 2017 at 1:10 AM, Weijun Wang <weijun.wang at oracle.com> wrote:
>> 
>> 
>>> On Dec 6, 2017, at 4:14 PM, Vic Wang(BJ-RD) <VicWang at zhaoxin.com> wrote:
>>> 
>>>               requesting all changes
>>>               adding changesets
>>>               transaction abort!
>>>               rollback completed
>>>               abort: stream ended unexpectedly (got 6 bytes, expected 80)
>> 
>> Looks like a network problem, I've seen this before. Please try again.
>> 
> 
> Yes, that's usually because of slow network.
> 
> You can try to add:
> 
> [ui]
> ssh = ssh -C
> 
> to your .hgrc. Somtimes it helps :)
> 
>>> 
>>>       I find it need a username which is configured in ~/.bashrc. Is the username is necessary? How to assign a username?
>> 
>> I don't think a username is needed to pull the repository.
>> 
>> --Max
>> 
>> 
>> 
> 
> 
> 保密声明:
> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
> CONFIDENTIAL NOTE:
> This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.



More information about the jdk8u-dev mailing list