Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nightly]elastic-heap/TestElasticHeapErrorCode.java编译报错package jdk.test.lib does not exist #620

Closed
sendaoYan opened this issue Feb 1, 2024 · 3 comments
Assignees

Comments

@sendaoYan
Copy link
Collaborator

job:https://tone.aliyun-inc.com/ws/xesljfzh/test_result/276179

/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:27: error: package jdk.test.lib does not exist
import jdk.test.lib.*;
^
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:28: error: package jdk.test.lib.dcmd does not exist
import jdk.test.lib.dcmd.*;
^
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:29: error: package jdk.test.lib.process does not exist
import jdk.test.lib.process.OutputAnalyzer;
                           ^
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:30: error: package jdk.test.lib.process does not exist
import jdk.test.lib.process.ProcessTools;
                           ^
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:31: error: package jdk.test.lib does not exist
import static jdk.test.lib.Asserts.*;
                          ^
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:43: error: cannot find symbol
        serverBuilder = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC",
                        ^
  symbol:   variable ProcessTools
  location: class TestElasticHeapErrorCode
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:51: error: cannot find symbol
        OutputAnalyzer output = new OutputAnalyzer(server);
        ^
  symbol:   class OutputAnalyzer
  location: class TestElasticHeapErrorCode
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:51: error: cannot find symbol
        OutputAnalyzer output = new OutputAnalyzer(server);
                                    ^
  symbol:   class OutputAnalyzer
  location: class TestElasticHeapErrorCode
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:56: error: cannot find symbol
        serverBuilder = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC",
                        ^
  symbol:   variable ProcessTools
  location: class TestElasticHeapErrorCode
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:66: error: cannot find symbol
        output = new OutputAnalyzer(server);
                     ^
  symbol:   class OutputAnalyzer
  location: class TestElasticHeapErrorCode
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:98: error: cannot find symbol
            PidJcmdExecutor je = new PidJcmdExecutor();
            ^
  symbol:   class PidJcmdExecutor
  location: class Server
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:98: error: cannot find symbol
            PidJcmdExecutor je = new PidJcmdExecutor();
                                     ^
  symbol:   class PidJcmdExecutor
  location: class Server
12 errors

TEST RESULT: Failed. Compilation failed: Compilation failed

4个用例类似情况:
elastic-heap/TestElasticHeapErrorCode.java
elastic-heap/TestElasticHeapMTSetError.java
elastic-heap/TestElasticHeapMXBean.java
elastic-heap/TestElasticHeapMXBeanException.java
jdk/jfr/jvm/TestClearStaleConstants.java

@jia-wei-tang jia-wei-tang self-assigned this Feb 2, 2024
jia-wei-tang added a commit to jia-wei-tang/dragonwell8 that referenced this issue Feb 2, 2024
Summary: As title.

Testing: ci jtreg
elastic-heap/TestElasticHeapErrorCode.java
elastic-heap/TestElasticHeapMTSetError.java
elastic-heap/TestElasticHeapMXBean.java
elastic-heap/TestElasticHeapMXBeanException.java
jdk/jfr/jvm/TestClearStaleConstants.java

Reviewers: lingjun-cg, yulei

Issue: dragonwell-project#620
@dzchun
Copy link

dzchun commented Feb 2, 2024

任务:https://tone.aliyun-inc.com/ws/xesljfzh/test_result/276654
新增一个用例:jdk-repo/jdk/test/jdk/jfr/event/compiler/TestHugeObjectAllocationSample.java同样问题

jia-wei-tang added a commit that referenced this issue Feb 2, 2024
Summary: As title.

Testing: ci jtreg
elastic-heap/TestElasticHeapErrorCode.java
elastic-heap/TestElasticHeapMTSetError.java
elastic-heap/TestElasticHeapMXBean.java
elastic-heap/TestElasticHeapMXBeanException.java
jdk/jfr/jvm/TestClearStaleConstants.java

Reviewers: lingjun-cg, yulei

Issue: #620
jia-wei-tang added a commit to jia-wei-tang/dragonwell8 that referenced this issue Feb 2, 2024
Summary: As title.

Testing: ci jtreg
jdk/test/jdk/jfr/event/compiler/TestHugeObjectAllocationSample.java

Reviewers: lingjun-cg, yulei

Issue: dragonwell-project#620
jia-wei-tang added a commit that referenced this issue Feb 5, 2024
Summary: As title.

Testing: ci jtreg
jdk/test/jdk/jfr/event/compiler/TestHugeObjectAllocationSample.java

Reviewers: lingjun-cg, yulei

Issue: #620
@jia-wei-tang
Copy link
Collaborator

fix all.

@sendaoYan
Copy link
Collaborator Author

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

No branches or pull requests

3 participants