Re: 答复: 答复: inquiry how to submit a change

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: 答复: 答复: inquiry how to submit a change

David Holmes
cc'ing jtreg-use. Sorry I've no idea how to put these tools together
externally.

David

On 19/12/2017 9:08 PM, Vic Wang(BJ-RD) wrote:

> Hi David, Ao Qi & Weijun:
> I've downloaded the asmtools.jar and put it in jtreg/lib dir. And set the following environment variables.
> export JT_HOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtreg
> export JTHARNESS_HOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtharness
> export ASMTOOLSHOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/asmtools-6.0/lib
>
> however, when running the test command, it still occurred "can't find jasm" error.
> The test command is : make run-test TEST="jtreg:test/jdk:tier1".
>
> Additional, as I want to submit a change for jdk repository, should I pass the basic run test firstly ?
> The following is the detailed results for the error. Thanks very much.
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> #-----testresult-----
> description=file\:/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/reflect/constantPool/ConstantPoolTest.java
> elapsed=1333 0\:00\:01.333
> end=Tue Dec 19 17\:57\:20 CST 2017
> environment=regtest
> execStatus=Error. can't find jasm
> harnessLoaderMode=Classpath Loader
> harnessVariety=Full Bundle
> hostname=vic-os
> javatestOS=Linux 3.16.4 (amd64)
> javatestVersion=5.0
> jtregVersion=jtreg 4.2 dev b09
> modules=java.base/jdk.internal.misc java.base/jdk.internal.reflect
> script=com.sun.javatest.regtest.exec.RegressionScript
> sections=script_messages compile
> start=Tue Dec 19 17\:57\:18 CST 2017
> test=jdk/internal/reflect/constantPool/ConstantPoolTest.java
> testJDK=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal-server-release/images/jdk
> totalTime=1370
> user.name=root
> work=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal-server-release/test-support/jtreg_test_jdk_tier1/jdk/internal/reflect/constantPool
>
> #section:script_messages
> ----------messages:(7/577)----------
> JDK under test: /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal-server-release/images/jdk
> openjdk version "10-internal"
> OpenJDK Runtime Environment (build 10-internal+0-adhoc.root.jdk)
> OpenJDK 64-Bit Server VM (build 10-internal+0-adhoc.root.jdk, mixed mode)
> Library /lib/testlibrary; kind: packages
>     source directory: /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/lib/testlibrary
>     class directory: /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal-server-release/test-support/jtreg_test_jdk_tier1/classes/2/lib/testlibrary
>
> #section:compile
> ----------messages:(3/232)----------
> command: compile /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/reflect/constantPool/ConstantPoolTestDummy.jasm
> reason: User specified action: run compile ConstantPoolTestDummy.jasm
> elapsed time (seconds): 1.097
> ----------configuration:(0/0)----------
> ----------rerun:(4/607)*----------
> cd /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal-server-release/test-support/jtreg_test_jdk_tier1/scratch/0 && \\
>      /home/vic/Desktop/JVM/jdk-9.0.1/bin/java \\
>      -classpath /home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtreg/lib/asmtools.jar \\
>      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/2/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
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
> Best Regards!
> VicWang | R&D
> Telephone:+86-01082695388-892477
>
>
> -----邮件原件-----
> 发件人: David Holmes [mailto:[hidden email]]
> 发送时间: 2017年12月15日 15:52
> 收件人: Ao Qi <[hidden email]>; Vic Wang(BJ-RD) <[hidden email]>
> 抄送: [hidden email]
> 主题: Re: 答复: inquiry how to submit a change
>
> See:
>
> http://hg.openjdk.java.net/code-tools/
>
> for all projects.
>
> David
>
> On 15/12/2017 2:46 PM, Ao Qi wrote:
>> Hi Vic,
>>
>> Hoping this helps:
>> https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK/job/asmtools/
>>
>> Ao Qi
>> 12.15
>>
>> 2017-12-15 12:34 GMT+08:00 Vic Wang(BJ-RD) <[hidden email]>:
>>
>>> Hi  Weijun :
>>> There is not a asmtools.jar in jtreg/lib. How can I get it?
>>> The web < http://openjdk.java.net/code-tools/asmtools> can't access
>>> (it return `404 Not Found`).
>>> Thanks very much.
>>>
>>>
>>> Best Regards!
>>> VicWang | R&D
>>> Telephone:+86-01082695388-892477
>>>
>>> -----邮件原件-----
>>> 发件人: Weijun Wang [mailto:[hidden email]]
>>> 发送时间: 2017年12月15日 11:42
>>> 收件人: Vic Wang(BJ-RD) <[hidden email]>
>>> 抄送: Volker Simonis <[hidden email]>;
>>> [hidden email]; Cobe Chen(BJ-RD) <[hidden email]>
>>> 主题: Re: inquiry how to submit a change
>>>
>>> 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) <[hidden email]>
>>> 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-norma
>>>> l-
>>>> server-release/test-support/jtreg_test_jdk_tier1/classes/1/jdk/inter
>>>> na l/reflect/constantPool/ConstantPoolTest.d
>>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/re
>>>> fl ect/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:
>>>> 3>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
>>>> /a
>>>> rtifact/ [2]
>>>> https://adopt-openjdk.ci.cloudbees.com/job/jtharness/lastSuccessfulB
>>>> ui
>>>> ld/artifact/
>>>>
>>>> Best Regards!
>>>> VicWang | R&D
>>>> Telephone:+86-01082695388-892477
>>>>
>>>>
>>>> -----邮件原件-----
>>>> 发件人: Volker Simonis [mailto:[hidden email]]
>>>> 发送时间: 2017年12月6日 17:30
>>>> 收件人: Weijun Wang
>>>> 抄送: Vic Wang(BJ-RD); [hidden email]; Cobe Chen(BJ-RD)
>>>> 主题: Re: inquiry how to submit a change
>>>>
>>>> On Wed, Dec 6, 2017 at 1:10 AM, Weijun Wang <[hidden email]>
>>> wrote:
>>>>>
>>>>>
>>>>>> On Dec 6, 2017, at 4:14 PM, Vic Wang(BJ-RD) <[hidden email]>
>>> 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.
>>>
>>>
>>>
>>> 保密声明:
>>> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
>>> 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.
>>>
>
>
> 保密声明:
> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
> 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.
>
Reply | Threaded
Open this post in threaded view
|

Re: 答复: 答复: inquiry how to submit a change

Jonathan Gibbons
Vic, Ao Qi, et al,

The recommended place to get the latest builds of jtreg is from the
Adopt OpenJDK group, here:

https://ci.adoptopenjdk.net/view/Dependencies/job/jtreg/

Of the two builds there, I recommend jtreg-4.2-b10.tar.gz.  This build
contains all the necessary components, including asmtools.jar.

(The other build is a build of the development "tip", and is not
recommended for general use.)

-- Jon


On 12/19/2017 03:42 AM, David Holmes wrote:

> cc'ing jtreg-use. Sorry I've no idea how to put these tools together
> externally.
>
> David
>
> On 19/12/2017 9:08 PM, Vic Wang(BJ-RD) wrote:
>> Hi David, Ao Qi & Weijun:
>> I've downloaded the asmtools.jar and put it in jtreg/lib dir. And set
>> the following environment variables.
>> export JT_HOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtreg
>> export
>> JTHARNESS_HOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtharness
>> export
>> ASMTOOLSHOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/asmtools-6.0/lib
>>
>> however, when running the test command, it still occurred "can't find
>> jasm" error.
>> The test command is : make run-test TEST="jtreg:test/jdk:tier1".
>>
>> Additional, as I want to submit a change for jdk repository, should I
>> pass the basic run test firstly ?
>> The following is the detailed results for the error. Thanks very much.
>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> #-----testresult-----
>> description=file\:/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/reflect/constantPool/ConstantPoolTest.java
>>
>> elapsed=1333 0\:00\:01.333
>> end=Tue Dec 19 17\:57\:20 CST 2017
>> environment=regtest
>> execStatus=Error. can't find jasm
>> harnessLoaderMode=Classpath Loader
>> harnessVariety=Full Bundle
>> hostname=vic-os
>> javatestOS=Linux 3.16.4 (amd64)
>> javatestVersion=5.0
>> jtregVersion=jtreg 4.2 dev b09
>> modules=java.base/jdk.internal.misc java.base/jdk.internal.reflect
>> script=com.sun.javatest.regtest.exec.RegressionScript
>> sections=script_messages compile
>> start=Tue Dec 19 17\:57\:18 CST 2017
>> test=jdk/internal/reflect/constantPool/ConstantPoolTest.java
>> testJDK=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal-server-release/images/jdk
>>
>> totalTime=1370
>> user.name=root
>> work=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal-server-release/test-support/jtreg_test_jdk_tier1/jdk/internal/reflect/constantPool
>>
>>
>> #section:script_messages
>> ----------messages:(7/577)----------
>> JDK under test:
>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal-server-release/images/jdk
>> openjdk version "10-internal"
>> OpenJDK Runtime Environment (build 10-internal+0-adhoc.root.jdk)
>> OpenJDK 64-Bit Server VM (build 10-internal+0-adhoc.root.jdk, mixed
>> mode)
>> Library /lib/testlibrary; kind: packages
>>     source directory:
>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/lib/testlibrary
>>     class directory:
>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal-server-release/test-support/jtreg_test_jdk_tier1/classes/2/lib/testlibrary
>>
>> #section:compile
>> ----------messages:(3/232)----------
>> command: compile
>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/reflect/constantPool/ConstantPoolTestDummy.jasm
>> reason: User specified action: run compile ConstantPoolTestDummy.jasm
>> elapsed time (seconds): 1.097
>> ----------configuration:(0/0)----------
>> ----------rerun:(4/607)*----------
>> cd
>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal-server-release/test-support/jtreg_test_jdk_tier1/scratch/0
>> && \\
>>      /home/vic/Desktop/JVM/jdk-9.0.1/bin/java \\
>>      -classpath
>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtreg/lib/asmtools.jar \\
>>      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/2/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
>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>
>> Best Regards!
>> VicWang | R&D
>> Telephone:+86-01082695388-892477
>>
>>
>> -----邮件原件-----
>> 发件人: David Holmes [mailto:[hidden email]]
>> 发送时间: 2017年12月15日 15:52
>> 收件人: Ao Qi <[hidden email]>; Vic Wang(BJ-RD) <[hidden email]>
>> 抄送: [hidden email]
>> 主题: Re: 答复: inquiry how to submit a change
>>
>> See:
>>
>> http://hg.openjdk.java.net/code-tools/
>>
>> for all projects.
>>
>> David
>>
>> On 15/12/2017 2:46 PM, Ao Qi wrote:
>>> Hi Vic,
>>>
>>> Hoping this helps:
>>> https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK/job/asmtools/
>>>
>>> Ao Qi
>>> 12.15
>>>
>>> 2017-12-15 12:34 GMT+08:00 Vic Wang(BJ-RD) <[hidden email]>:
>>>
>>>> Hi  Weijun :
>>>> There is not a asmtools.jar in jtreg/lib. How can I get it?
>>>> The web < http://openjdk.java.net/code-tools/asmtools> can't access
>>>> (it return `404 Not Found`).
>>>> Thanks very much.
>>>>
>>>>
>>>> Best Regards!
>>>> VicWang | R&D
>>>> Telephone:+86-01082695388-892477
>>>>
>>>> -----邮件原件-----
>>>> 发件人: Weijun Wang [mailto:[hidden email]]
>>>> 发送时间: 2017年12月15日 11:42
>>>> 收件人: Vic Wang(BJ-RD) <[hidden email]>
>>>> 抄送: Volker Simonis <[hidden email]>;
>>>> [hidden email]; Cobe Chen(BJ-RD) <[hidden email]>
>>>> 主题: Re: inquiry how to submit a change
>>>>
>>>> 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) <[hidden email]>
>>>> 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-norma
>>>>> l-
>>>>> server-release/test-support/jtreg_test_jdk_tier1/classes/1/jdk/inter
>>>>> na l/reflect/constantPool/ConstantPoolTest.d
>>>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/re
>>>>> fl ect/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:
>>>>> 3>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
>>>>> /a
>>>>> rtifact/ [2]
>>>>> https://adopt-openjdk.ci.cloudbees.com/job/jtharness/lastSuccessfulB
>>>>> ui
>>>>> ld/artifact/
>>>>>
>>>>> Best Regards!
>>>>> VicWang | R&D
>>>>> Telephone:+86-01082695388-892477
>>>>>
>>>>>
>>>>> -----邮件原件-----
>>>>> 发件人: Volker Simonis [mailto:[hidden email]]
>>>>> 发送时间: 2017年12月6日 17:30
>>>>> 收件人: Weijun Wang
>>>>> 抄送: Vic Wang(BJ-RD); [hidden email]; Cobe Chen(BJ-RD)
>>>>> 主题: Re: inquiry how to submit a change
>>>>>
>>>>> On Wed, Dec 6, 2017 at 1:10 AM, Weijun Wang <[hidden email]>
>>>> wrote:
>>>>>>
>>>>>>
>>>>>>> On Dec 6, 2017, at 4:14 PM, Vic Wang(BJ-RD) <[hidden email]>
>>>> 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.
>>>>
>>>>
>>>>
>>>> 保密声明:
>>>> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容
>>>> 做任何未经授权的查阅、使用、复制或转发。
>>>> 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.
>>>>
>>
>>
>> 保密声明:
>> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做
>> 任何未经授权的查阅、使用、复制或转发。
>> 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.
>>

Reply | Threaded
Open this post in threaded view
|

Re: 答复: 答复: 答复: inquiry how to submit a change

Jonathan Gibbons
Vic,

Thank you for your specific instructions on how to reproduce the issue.
I now see the failure for myself, and will investigate further.

-- Jon

On 12/19/2017 10:37 PM, Vic Wang(BJ-RD) wrote:

> Dear Jonathan:
>
> I've downloaded jtreg-4.2-b10.tar.gz, it still occurred "can't find jasm" error.
>
> Can you help me try this? Just run TEST=" test/jdk/jdk/internal/reflect/constantPool/ConstantPoolTest.java ".
>
> First, you have already built jdk images. Then,
> $cd the jdk repository dir.
> $bash configure --with-jtreg=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtreg --with-boot-jdk=/home/vic/Desktop/JVM/jdk-9.0.1  #please change your jtreg home dir and boot-jdk dir.
> $ make run-test TEST="test/jdk/jdk/internal/reflect/constantPool/ConstantPoolTest.java"
>
> Then , it occurs " can't find jasm" error.
> Thanks very much.
>
> Best Regards!
> VicWang | R&D
> Telephone:+86-01082695388-892477
>
>
> -----邮件原件-----
> 发件人: Jonathan Gibbons [mailto:[hidden email]]
> 发送时间: 2017年12月20日 8:21
> 收件人: David Holmes <[hidden email]>; Vic Wang(BJ-RD) <[hidden email]>; Ao Qi <[hidden email]>; Weijun Wang <[hidden email]>
> 抄送: [hidden email]; [hidden email]
> 主题: Re: 答复: 答复: inquiry how to submit a change
>
> Vic, Ao Qi, et al,
>
> The recommended place to get the latest builds of jtreg is from the Adopt OpenJDK group, here:
>
> https://ci.adoptopenjdk.net/view/Dependencies/job/jtreg/
>
> Of the two builds there, I recommend jtreg-4.2-b10.tar.gz.  This build contains all the necessary components, including asmtools.jar.
>
> (The other build is a build of the development "tip", and is not recommended for general use.)
>
> -- Jon
>
>
> On 12/19/2017 03:42 AM, David Holmes wrote:
>> cc'ing jtreg-use. Sorry I've no idea how to put these tools together
>> externally.
>>
>> David
>>
>> On 19/12/2017 9:08 PM, Vic Wang(BJ-RD) wrote:
>>> Hi David, Ao Qi & Weijun:
>>> I've downloaded the asmtools.jar and put it in jtreg/lib dir. And set
>>> the following environment variables.
>>> export JT_HOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtreg
>>> export
>>> JTHARNESS_HOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtharnes
>>> s
>>> export
>>> ASMTOOLSHOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/asmtools-6
>>> .0/lib
>>>
>>> however, when running the test command, it still occurred "can't find
>>> jasm" error.
>>> The test command is : make run-test TEST="jtreg:test/jdk:tier1".
>>>
>>> Additional, as I want to submit a change for jdk repository, should I
>>> pass the basic run test firstly ?
>>> The following is the detailed results for the error. Thanks very much.
>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>> #-----testresult-----
>>> description=file\:/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jd
>>> k/jdk/internal/reflect/constantPool/ConstantPoolTest.java
>>>
>>> elapsed=1333 0\:00\:01.333
>>> end=Tue Dec 19 17\:57\:20 CST 2017
>>> environment=regtest
>>> execStatus=Error. can't find jasm
>>> harnessLoaderMode=Classpath Loader
>>> harnessVariety=Full Bundle
>>> hostname=vic-os
>>> javatestOS=Linux 3.16.4 (amd64)
>>> javatestVersion=5.0
>>> jtregVersion=jtreg 4.2 dev b09
>>> modules=java.base/jdk.internal.misc java.base/jdk.internal.reflect
>>> script=com.sun.javatest.regtest.exec.RegressionScript
>>> sections=script_messages compile
>>> start=Tue Dec 19 17\:57\:18 CST 2017
>>> test=jdk/internal/reflect/constantPool/ConstantPoolTest.java
>>> testJDK=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_6
>>> 4-normal-server-release/images/jdk
>>>
>>> totalTime=1370
>>> user.name=root
>>> work=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-n
>>> ormal-server-release/test-support/jtreg_test_jdk_tier1/jdk/internal/r
>>> eflect/constantPool
>>>
>>>
>>> #section:script_messages
>>> ----------messages:(7/577)----------
>>> JDK under test:
>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal
>>> -server-release/images/jdk
>>> openjdk version "10-internal"
>>> OpenJDK Runtime Environment (build 10-internal+0-adhoc.root.jdk)
>>> OpenJDK 64-Bit Server VM (build 10-internal+0-adhoc.root.jdk, mixed
>>> mode)
>>> Library /lib/testlibrary; kind: packages
>>>      source directory:
>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/lib/testlibrary
>>>      class directory:
>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal
>>> -server-release/test-support/jtreg_test_jdk_tier1/classes/2/lib/testl
>>> ibrary
>>>
>>> #section:compile
>>> ----------messages:(3/232)----------
>>> command: compile
>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/ref
>>> lect/constantPool/ConstantPoolTestDummy.jasm
>>> reason: User specified action: run compile ConstantPoolTestDummy.jasm
>>> elapsed time (seconds): 1.097
>>> ----------configuration:(0/0)----------
>>> ----------rerun:(4/607)*----------
>>> cd
>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal
>>> -server-release/test-support/jtreg_test_jdk_tier1/scratch/0
>>> && \\
>>>       /home/vic/Desktop/JVM/jdk-9.0.1/bin/java \\
>>>       -classpath
>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtreg/lib/asmtools.jar \\
>>>       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/2/jdk/inter
>>> nal/reflect/constantPool/ConstantPoolTest.d
>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/ref
>>> lect/constantPool/ConstantPoolTestDummy.jasm
>>>
>>> result: Error. can't find jasm
>>>
>>>
>>> test result: Error. can't find jasm
>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>>
>>> Best Regards!
>>> VicWang | R&D
>>> Telephone:+86-01082695388-892477
>>>
>>>
>>> -----邮件原件-----
>>> 发件人: David Holmes [mailto:[hidden email]]
>>> 发送时间: 2017年12月15日 15:52
>>> 收件人: Ao Qi <[hidden email]>; Vic Wang(BJ-RD) <[hidden email]>
>>> 抄送: [hidden email]
>>> 主题: Re: 答复: inquiry how to submit a change
>>>
>>> See:
>>>
>>> http://hg.openjdk.java.net/code-tools/
>>>
>>> for all projects.
>>>
>>> David
>>>
>>> On 15/12/2017 2:46 PM, Ao Qi wrote:
>>>> Hi Vic,
>>>>
>>>> Hoping this helps:
>>>> https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK/job/asmtools/
>>>>
>>>> Ao Qi
>>>> 12.15
>>>>
>>>> 2017-12-15 12:34 GMT+08:00 Vic Wang(BJ-RD) <[hidden email]>:
>>>>
>>>>> Hi  Weijun :
>>>>> There is not a asmtools.jar in jtreg/lib. How can I get it?
>>>>> The web < http://openjdk.java.net/code-tools/asmtools> can't access
>>>>> (it return `404 Not Found`).
>>>>> Thanks very much.
>>>>>
>>>>>
>>>>> Best Regards!
>>>>> VicWang | R&D
>>>>> Telephone:+86-01082695388-892477
>>>>>
>>>>> -----邮件原件-----
>>>>> 发件人: Weijun Wang [mailto:[hidden email]]
>>>>> 发送时间: 2017年12月15日 11:42
>>>>> 收件人: Vic Wang(BJ-RD) <[hidden email]>
>>>>> 抄送: Volker Simonis <[hidden email]>;
>>>>> [hidden email]; Cobe Chen(BJ-RD) <[hidden email]>
>>>>> 主题: Re: inquiry how to submit a change
>>>>>
>>>>> 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)
>>>>>> <[hidden email]>
>>>>> 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_tier
>>>>> 1/
>>>>> 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-nor
>>>>>> ma
>>>>>> l-
>>>>>> server-release/test-support/jtreg_test_jdk_tier1/classes/1/jdk/int
>>>>>> er na l/reflect/constantPool/ConstantPoolTest.d
>>>>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/
>>>>>> re fl ect/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:
>>>>>> 3>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/lastSuccessfulBui
>>>>>> ld
>>>>>> /a
>>>>>> rtifact/ [2]
>>>>>> https://adopt-openjdk.ci.cloudbees.com/job/jtharness/lastSuccessfu
>>>>>> lB
>>>>>> ui
>>>>>> ld/artifact/
>>>>>>
>>>>>> Best Regards!
>>>>>> VicWang | R&D
>>>>>> Telephone:+86-01082695388-892477
>>>>>>
>>>>>>
>>>>>> -----邮件原件-----
>>>>>> 发件人: Volker Simonis [mailto:[hidden email]]
>>>>>> 发送时间: 2017年12月6日 17:30
>>>>>> 收件人: Weijun Wang
>>>>>> 抄送: Vic Wang(BJ-RD); [hidden email]; Cobe Chen(BJ-RD)
>>>>>> 主题: Re: inquiry how to submit a change
>>>>>>
>>>>>> On Wed, Dec 6, 2017 at 1:10 AM, Weijun Wang
>>>>>> <[hidden email]>
>>>>> wrote:
>>>>>>>
>>>>>>>> On Dec 6, 2017, at 4:14 PM, Vic Wang(BJ-RD)
>>>>>>>> <[hidden email]>
>>>>> 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.
>>>>>
>>>>>
>>>>>
>>>>> 保密声明:
>>>>> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容
>>>>> 做任何未经授权的查阅、使用、复制或转发。
>>>>> 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.
>>>>>
>>>
>>> 保密声明:
>>> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做
>>> 任何未经授权的查阅、使用、复制或转发。
>>> 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.
>>>
>
>
> 保密声明:
> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
> 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.

Reply | Threaded
Open this post in threaded view
|

Re: 答复: 答复: 答复: inquiry how to submit a change

Jonathan Gibbons
Vic,

A notable difference between the build of asmtools tools that we are
using here in the JDK organization is that it is AsmTools 6.0.  (Dec 19,
2014)

The version of asmtools in the AdoptOpenJDK build of jtreg is AsmTools
7.0 beta (Dec 18, 2017).

I will investigate why the difference causes a problem.

-- Jon

On 12/20/2017 02:40 PM, Jonathan Gibbons wrote:

> Vic,
>
> Thank you for your specific instructions on how to reproduce the
> issue. I now see the failure for myself, and will investigate further.
>
> -- Jon
>
> On 12/19/2017 10:37 PM, Vic Wang(BJ-RD) wrote:
>> Dear Jonathan:
>>
>> I've downloaded jtreg-4.2-b10.tar.gz, it still occurred "can't find
>> jasm" error.
>>
>> Can you help me try this? Just run TEST="
>> test/jdk/jdk/internal/reflect/constantPool/ConstantPoolTest.java ".
>>
>> First, you have already built jdk images. Then,
>> $cd the jdk repository dir.
>> $bash configure
>> --with-jtreg=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtreg
>> --with-boot-jdk=/home/vic/Desktop/JVM/jdk-9.0.1  #please change your
>> jtreg home dir and boot-jdk dir.
>> $ make run-test
>> TEST="test/jdk/jdk/internal/reflect/constantPool/ConstantPoolTest.java"
>>
>> Then , it occurs " can't find jasm" error.
>> Thanks very much.
>>
>> Best Regards!
>> VicWang | R&D
>> Telephone:+86-01082695388-892477
>>
>>
>> -----邮件原件-----
>> 发件人: Jonathan Gibbons [mailto:[hidden email]]
>> 发送时间: 2017年12月20日 8:21
>> 收件人: David Holmes <[hidden email]>; Vic Wang(BJ-RD)
>> <[hidden email]>; Ao Qi <[hidden email]>; Weijun Wang
>> <[hidden email]>
>> 抄送: [hidden email]; [hidden email]
>> 主题: Re: 答复: 答复: inquiry how to submit a change
>>
>> Vic, Ao Qi, et al,
>>
>> The recommended place to get the latest builds of jtreg is from the
>> Adopt OpenJDK group, here:
>>
>> https://ci.adoptopenjdk.net/view/Dependencies/job/jtreg/
>>
>> Of the two builds there, I recommend jtreg-4.2-b10.tar.gz.  This
>> build contains all the necessary components, including asmtools.jar.
>>
>> (The other build is a build of the development "tip", and is not
>> recommended for general use.)
>>
>> -- Jon
>>
>>
>> On 12/19/2017 03:42 AM, David Holmes wrote:
>>> cc'ing jtreg-use. Sorry I've no idea how to put these tools together
>>> externally.
>>>
>>> David
>>>
>>> On 19/12/2017 9:08 PM, Vic Wang(BJ-RD) wrote:
>>>> Hi David, Ao Qi & Weijun:
>>>> I've downloaded the asmtools.jar and put it in jtreg/lib dir. And set
>>>> the following environment variables.
>>>> export JT_HOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtreg
>>>> export
>>>> JTHARNESS_HOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtharnes
>>>> s
>>>> export
>>>> ASMTOOLSHOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/asmtools-6
>>>> .0/lib
>>>>
>>>> however, when running the test command, it still occurred "can't find
>>>> jasm" error.
>>>> The test command is : make run-test TEST="jtreg:test/jdk:tier1".
>>>>
>>>> Additional, as I want to submit a change for jdk repository, should I
>>>> pass the basic run test firstly ?
>>>> The following is the detailed results for the error. Thanks very much.
>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>>> #-----testresult-----
>>>> description=file\:/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jd
>>>> k/jdk/internal/reflect/constantPool/ConstantPoolTest.java
>>>>
>>>> elapsed=1333 0\:00\:01.333
>>>> end=Tue Dec 19 17\:57\:20 CST 2017
>>>> environment=regtest
>>>> execStatus=Error. can't find jasm
>>>> harnessLoaderMode=Classpath Loader
>>>> harnessVariety=Full Bundle
>>>> hostname=vic-os
>>>> javatestOS=Linux 3.16.4 (amd64)
>>>> javatestVersion=5.0
>>>> jtregVersion=jtreg 4.2 dev b09
>>>> modules=java.base/jdk.internal.misc java.base/jdk.internal.reflect
>>>> script=com.sun.javatest.regtest.exec.RegressionScript
>>>> sections=script_messages compile
>>>> start=Tue Dec 19 17\:57\:18 CST 2017
>>>> test=jdk/internal/reflect/constantPool/ConstantPoolTest.java
>>>> testJDK=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_6
>>>> 4-normal-server-release/images/jdk
>>>>
>>>> totalTime=1370
>>>> user.name=root
>>>> work=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-n
>>>> ormal-server-release/test-support/jtreg_test_jdk_tier1/jdk/internal/r
>>>> eflect/constantPool
>>>>
>>>>
>>>> #section:script_messages
>>>> ----------messages:(7/577)----------
>>>> JDK under test:
>>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal
>>>> -server-release/images/jdk
>>>> openjdk version "10-internal"
>>>> OpenJDK Runtime Environment (build 10-internal+0-adhoc.root.jdk)
>>>> OpenJDK 64-Bit Server VM (build 10-internal+0-adhoc.root.jdk, mixed
>>>> mode)
>>>> Library /lib/testlibrary; kind: packages
>>>>      source directory:
>>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/lib/testlibrary
>>>>      class directory:
>>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal
>>>> -server-release/test-support/jtreg_test_jdk_tier1/classes/2/lib/testl
>>>> ibrary
>>>>
>>>> #section:compile
>>>> ----------messages:(3/232)----------
>>>> command: compile
>>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/ref
>>>> lect/constantPool/ConstantPoolTestDummy.jasm
>>>> reason: User specified action: run compile ConstantPoolTestDummy.jasm
>>>> elapsed time (seconds): 1.097
>>>> ----------configuration:(0/0)----------
>>>> ----------rerun:(4/607)*----------
>>>> cd
>>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal
>>>> -server-release/test-support/jtreg_test_jdk_tier1/scratch/0
>>>> && \\
>>>>       /home/vic/Desktop/JVM/jdk-9.0.1/bin/java \\
>>>>       -classpath
>>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtreg/lib/asmtools.jar \\
>>>>
>>>>       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/2/jdk/inter
>>>> nal/reflect/constantPool/ConstantPoolTest.d
>>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/ref
>>>> lect/constantPool/ConstantPoolTestDummy.jasm
>>>>
>>>> result: Error. can't find jasm
>>>>
>>>>
>>>> test result: Error. can't find jasm
>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>>>
>>>> Best Regards!
>>>> VicWang | R&D
>>>> Telephone:+86-01082695388-892477
>>>>
>>>>
>>>> -----邮件原件-----
>>>> 发件人: David Holmes [mailto:[hidden email]]
>>>> 发送时间: 2017年12月15日 15:52
>>>> 收件人: Ao Qi <[hidden email]>; Vic Wang(BJ-RD)
>>>> <[hidden email]>
>>>> 抄送: [hidden email]
>>>> 主题: Re: 答复: inquiry how to submit a change
>>>>
>>>> See:
>>>>
>>>> http://hg.openjdk.java.net/code-tools/
>>>>
>>>> for all projects.
>>>>
>>>> David
>>>>
>>>> On 15/12/2017 2:46 PM, Ao Qi wrote:
>>>>> Hi Vic,
>>>>>
>>>>> Hoping this helps:
>>>>> https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK/job/asmtools/
>>>>>
>>>>> Ao Qi
>>>>> 12.15
>>>>>
>>>>> 2017-12-15 12:34 GMT+08:00 Vic Wang(BJ-RD) <[hidden email]>:
>>>>>
>>>>>> Hi  Weijun :
>>>>>> There is not a asmtools.jar in jtreg/lib. How can I get it?
>>>>>> The web < http://openjdk.java.net/code-tools/asmtools> can't access
>>>>>> (it return `404 Not Found`).
>>>>>> Thanks very much.
>>>>>>
>>>>>>
>>>>>> Best Regards!
>>>>>> VicWang | R&D
>>>>>> Telephone:+86-01082695388-892477
>>>>>>
>>>>>> -----邮件原件-----
>>>>>> 发件人: Weijun Wang [mailto:[hidden email]]
>>>>>> 发送时间: 2017年12月15日 11:42
>>>>>> 收件人: Vic Wang(BJ-RD) <[hidden email]>
>>>>>> 抄送: Volker Simonis <[hidden email]>;
>>>>>> [hidden email]; Cobe Chen(BJ-RD) <[hidden email]>
>>>>>> 主题: Re: inquiry how to submit a change
>>>>>>
>>>>>> 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)
>>>>>>> <[hidden email]>
>>>>>> 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_tier
>>>>>> 1/
>>>>>> 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-nor
>>>>>>> ma
>>>>>>> l-
>>>>>>> server-release/test-support/jtreg_test_jdk_tier1/classes/1/jdk/int
>>>>>>> er na l/reflect/constantPool/ConstantPoolTest.d
>>>>>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/
>>>>>>> re fl ect/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:
>>>>>>> 3>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/lastSuccessfulBui
>>>>>>> ld
>>>>>>> /a
>>>>>>> rtifact/ [2]
>>>>>>> https://adopt-openjdk.ci.cloudbees.com/job/jtharness/lastSuccessfu
>>>>>>> lB
>>>>>>> ui
>>>>>>> ld/artifact/
>>>>>>>
>>>>>>> Best Regards!
>>>>>>> VicWang | R&D
>>>>>>> Telephone:+86-01082695388-892477
>>>>>>>
>>>>>>>
>>>>>>> -----邮件原件-----
>>>>>>> 发件人: Volker Simonis [mailto:[hidden email]]
>>>>>>> 发送时间: 2017年12月6日 17:30
>>>>>>> 收件人: Weijun Wang
>>>>>>> 抄送: Vic Wang(BJ-RD); [hidden email]; Cobe Chen(BJ-RD)
>>>>>>> 主题: Re: inquiry how to submit a change
>>>>>>>
>>>>>>> On Wed, Dec 6, 2017 at 1:10 AM, Weijun Wang
>>>>>>> <[hidden email]>
>>>>>> wrote:
>>>>>>>>
>>>>>>>>> On Dec 6, 2017, at 4:14 PM, Vic Wang(BJ-RD)
>>>>>>>>> <[hidden email]>
>>>>>> 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.
>>>>>>
>>>>>>
>>>>>>
>>>>>> 保密声明:
>>>>>> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容
>>>>>> 做任何未经授权的查阅、使用、复制或转发。
>>>>>> 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.
>>>>>>
>>>>
>>>> 保密声明:
>>>> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做
>>>> 任何未经授权的查阅、使用、复制或转发。
>>>> 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.
>>>>
>>
>>
>> 保密声明:
>> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做
>> 任何未经授权的查阅、使用、复制或转发。
>> 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.
>

Reply | Threaded
Open this post in threaded view
|

Re: 答复: 答复: 答复: inquiry how to submit a change

Jonathan Gibbons
In reply to this post by Jonathan Gibbons
Vic,

I have found the root case of the problem. The hint was in your earlier
message, when you said:
> Hi  Weijun :
> There is not a asmtools.jar in jtreg/lib. How can I get it?
> The web< http://openjdk.java.net/code-tools/asmtools>  can't access (it return `404 Not Found`).
> Thanks very much.

The issue is that the Adopt OpenJDK build of jtreg does not include
asmtools.jar for some reason.  It is not enough to fix this by just
putting a copy of asmtools.jar in the jtreg/lib directory. It also needs
to be added to the Class-Path entry in the MANIFEST.MF entry in the
jtreg.jar file.  This will happen automatically if jtreg is built with
ASMTOOLS_HOME defined appropriately.

While you can patch this up manually, it would be better to work with
the Adopt OpenJDK group to get their binaries fixed.  And, somewhat by
coincidence, we've just promoted a new version of jtreg, so that should
soon trigger a new build of jtreg (jtreg 4.2 b11) on their CI system.

You can also now try building jtreg yourself, using the latest easy
build instructions.  The short form instructions are:
     1. Download the jtreg source from
http://hg.openjdk.java.net/code-tools/jtreg
     2. Make sure you have a recent version of Ant, and a recent version
of JDK (such as JDK 7 or JDK 8) on your execution path
     3. `cd` to the root directory of the jtreg source you downloaded
     4. `sh make/build-all.sh JDK_HOME`  where JDK_HOME is the install
directory for a recent version of JDK
     5. The jtreg build will be in build/images/jtreg

See http://openjdk.java.net/jtreg/build.html for more details.

-- Jon




On 12/19/2017 10:37 PM, Vic Wang(BJ-RD) wrote:

> Dear Jonathan:
>
> I've downloaded jtreg-4.2-b10.tar.gz, it still occurred "can't find jasm" error.
>
> Can you help me try this? Just run TEST=" test/jdk/jdk/internal/reflect/constantPool/ConstantPoolTest.java ".
>
> First, you have already built jdk images. Then,
> $cd the jdk repository dir.
> $bash configure --with-jtreg=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtreg --with-boot-jdk=/home/vic/Desktop/JVM/jdk-9.0.1  #please change your jtreg home dir and boot-jdk dir.
> $ make run-test TEST="test/jdk/jdk/internal/reflect/constantPool/ConstantPoolTest.java"
>
> Then , it occurs " can't find jasm" error.
> Thanks very much.
>
> Best Regards!
> VicWang | R&D
> Telephone:+86-01082695388-892477
>
>
> -----邮件原件-----
> 发件人: Jonathan Gibbons [mailto:[hidden email]]
> 发送时间: 2017年12月20日 8:21
> 收件人: David Holmes <[hidden email]>; Vic Wang(BJ-RD) <[hidden email]>; Ao Qi <[hidden email]>; Weijun Wang <[hidden email]>
> 抄送: [hidden email]; [hidden email]
> 主题: Re: 答复: 答复: inquiry how to submit a change
>
> Vic, Ao Qi, et al,
>
> The recommended place to get the latest builds of jtreg is from the Adopt OpenJDK group, here:
>
> https://ci.adoptopenjdk.net/view/Dependencies/job/jtreg/
>
> Of the two builds there, I recommend jtreg-4.2-b10.tar.gz.  This build contains all the necessary components, including asmtools.jar.
>
> (The other build is a build of the development "tip", and is not recommended for general use.)
>
> -- Jon
>
>
> On 12/19/2017 03:42 AM, David Holmes wrote:
>> cc'ing jtreg-use. Sorry I've no idea how to put these tools together
>> externally.
>>
>> David
>>
>> On 19/12/2017 9:08 PM, Vic Wang(BJ-RD) wrote:
>>> Hi David, Ao Qi & Weijun:
>>> I've downloaded the asmtools.jar and put it in jtreg/lib dir. And set
>>> the following environment variables.
>>> export JT_HOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtreg
>>> export
>>> JTHARNESS_HOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtharnes
>>> s
>>> export
>>> ASMTOOLSHOME=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/asmtools-6
>>> .0/lib
>>>
>>> however, when running the test command, it still occurred "can't find
>>> jasm" error.
>>> The test command is : make run-test TEST="jtreg:test/jdk:tier1".
>>>
>>> Additional, as I want to submit a change for jdk repository, should I
>>> pass the basic run test firstly ?
>>> The following is the detailed results for the error. Thanks very much.
>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>> #-----testresult-----
>>> description=file\:/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jd
>>> k/jdk/internal/reflect/constantPool/ConstantPoolTest.java
>>>
>>> elapsed=1333 0\:00\:01.333
>>> end=Tue Dec 19 17\:57\:20 CST 2017
>>> environment=regtest
>>> execStatus=Error. can't find jasm
>>> harnessLoaderMode=Classpath Loader
>>> harnessVariety=Full Bundle
>>> hostname=vic-os
>>> javatestOS=Linux 3.16.4 (amd64)
>>> javatestVersion=5.0
>>> jtregVersion=jtreg 4.2 dev b09
>>> modules=java.base/jdk.internal.misc java.base/jdk.internal.reflect
>>> script=com.sun.javatest.regtest.exec.RegressionScript
>>> sections=script_messages compile
>>> start=Tue Dec 19 17\:57\:18 CST 2017
>>> test=jdk/internal/reflect/constantPool/ConstantPoolTest.java
>>> testJDK=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_6
>>> 4-normal-server-release/images/jdk
>>>
>>> totalTime=1370
>>> user.name=root
>>> work=/home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-n
>>> ormal-server-release/test-support/jtreg_test_jdk_tier1/jdk/internal/r
>>> eflect/constantPool
>>>
>>>
>>> #section:script_messages
>>> ----------messages:(7/577)----------
>>> JDK under test:
>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal
>>> -server-release/images/jdk
>>> openjdk version "10-internal"
>>> OpenJDK Runtime Environment (build 10-internal+0-adhoc.root.jdk)
>>> OpenJDK 64-Bit Server VM (build 10-internal+0-adhoc.root.jdk, mixed
>>> mode)
>>> Library /lib/testlibrary; kind: packages
>>>      source directory:
>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/lib/testlibrary
>>>      class directory:
>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal
>>> -server-release/test-support/jtreg_test_jdk_tier1/classes/2/lib/testl
>>> ibrary
>>>
>>> #section:compile
>>> ----------messages:(3/232)----------
>>> command: compile
>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/ref
>>> lect/constantPool/ConstantPoolTestDummy.jasm
>>> reason: User specified action: run compile ConstantPoolTestDummy.jasm
>>> elapsed time (seconds): 1.097
>>> ----------configuration:(0/0)----------
>>> ----------rerun:(4/607)*----------
>>> cd
>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/build/linux-x86_64-normal
>>> -server-release/test-support/jtreg_test_jdk_tier1/scratch/0
>>> && \\
>>>       /home/vic/Desktop/JVM/jdk-9.0.1/bin/java \\
>>>       -classpath
>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jtreg/jtreg/lib/asmtools.jar \\
>>>       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/2/jdk/inter
>>> nal/reflect/constantPool/ConstantPoolTest.d
>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/ref
>>> lect/constantPool/ConstantPoolTestDummy.jasm
>>>
>>> result: Error. can't find jasm
>>>
>>>
>>> test result: Error. can't find jasm
>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>>
>>> Best Regards!
>>> VicWang | R&D
>>> Telephone:+86-01082695388-892477
>>>
>>>
>>> -----邮件原件-----
>>> 发件人: David Holmes [mailto:[hidden email]]
>>> 发送时间: 2017年12月15日 15:52
>>> 收件人: Ao Qi <[hidden email]>; Vic Wang(BJ-RD) <[hidden email]>
>>> 抄送: [hidden email]
>>> 主题: Re: 答复: inquiry how to submit a change
>>>
>>> See:
>>>
>>> http://hg.openjdk.java.net/code-tools/
>>>
>>> for all projects.
>>>
>>> David
>>>
>>> On 15/12/2017 2:46 PM, Ao Qi wrote:
>>>> Hi Vic,
>>>>
>>>> Hoping this helps:
>>>> https://adopt-openjdk.ci.cloudbees.com/view/OpenJDK/job/asmtools/
>>>>
>>>> Ao Qi
>>>> 12.15
>>>>
>>>> 2017-12-15 12:34 GMT+08:00 Vic Wang(BJ-RD) <[hidden email]>:
>>>>
>>>>> Hi  Weijun :
>>>>> There is not a asmtools.jar in jtreg/lib. How can I get it?
>>>>> The web < http://openjdk.java.net/code-tools/asmtools> can't access
>>>>> (it return `404 Not Found`).
>>>>> Thanks very much.
>>>>>
>>>>>
>>>>> Best Regards!
>>>>> VicWang | R&D
>>>>> Telephone:+86-01082695388-892477
>>>>>
>>>>> -----邮件原件-----
>>>>> 发件人: Weijun Wang [mailto:[hidden email]]
>>>>> 发送时间: 2017年12月15日 11:42
>>>>> 收件人: Vic Wang(BJ-RD) <[hidden email]>
>>>>> 抄送: Volker Simonis <[hidden email]>;
>>>>> [hidden email]; Cobe Chen(BJ-RD) <[hidden email]>
>>>>> 主题: Re: inquiry how to submit a change
>>>>>
>>>>> 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)
>>>>>> <[hidden email]>
>>>>> 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_tier
>>>>> 1/
>>>>> 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-nor
>>>>>> ma
>>>>>> l-
>>>>>> server-release/test-support/jtreg_test_jdk_tier1/classes/1/jdk/int
>>>>>> er na l/reflect/constantPool/ConstantPoolTest.d
>>>>>> /home/vic/Desktop/JVM/sourcecode/tmp/hg/jdk/test/jdk/jdk/internal/
>>>>>> re fl ect/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:
>>>>>> 3>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/lastSuccessfulBui
>>>>>> ld
>>>>>> /a
>>>>>> rtifact/ [2]
>>>>>> https://adopt-openjdk.ci.cloudbees.com/job/jtharness/lastSuccessfu
>>>>>> lB
>>>>>> ui
>>>>>> ld/artifact/
>>>>>>
>>>>>> Best Regards!
>>>>>> VicWang | R&D
>>>>>> Telephone:+86-01082695388-892477
>>>>>>
>>>>>>
>>>>>> -----邮件原件-----
>>>>>> 发件人: Volker Simonis [mailto:[hidden email]]
>>>>>> 发送时间: 2017年12月6日 17:30
>>>>>> 收件人: Weijun Wang
>>>>>> 抄送: Vic Wang(BJ-RD); [hidden email]; Cobe Chen(BJ-RD)
>>>>>> 主题: Re: inquiry how to submit a change
>>>>>>
>>>>>> On Wed, Dec 6, 2017 at 1:10 AM, Weijun Wang
>>>>>> <[hidden email]>
>>>>> wrote:
>>>>>>>
>>>>>>>> On Dec 6, 2017, at 4:14 PM, Vic Wang(BJ-RD)
>>>>>>>> <[hidden email]>
>>>>> 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.
>>>>>
>>>>>
>>>>>
>>>>> 保密声明:
>>>>> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容
>>>>> 做任何未经授权的查阅、使用、复制或转发。
>>>>> 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.
>>>>>
>>>
>>> 保密声明:
>>> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做
>>> 任何未经授权的查阅、使用、复制或转发。
>>> 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.
>>>
>
>
> 保密声明:
> 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
> 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.