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

[Bug] ubuntu系统hotspot/test/jwarmup/issue9780156.sh用例运行报错 #383

Closed
sendaoYan opened this issue Jul 31, 2022 · 0 comments
Closed
Assignees

Comments

@sendaoYan
Copy link
Collaborator

sendaoYan commented Jul 31, 2022

Description
ubuntu系统hotspot/test/jwarmup/issue9780156.sh用例运行报错

STDERR:
openjdk version "1.8.0_332"
OpenJDK Runtime Environment (Alibaba Dragonwell 8.11.12) (build 1.8.0_332-b01)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell 8.11.12) (build 25.332-b01, mixed mode)
Note: /home/yansendao/git/dragonwell8-ysd/tmp/classes/jwarmup/TmpTestMain.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/home/yansendao/git/dragonwell8-ysd/hotspot/test/jwarmup/issue9780156.sh: 176: Syntax error: "(" unexpected

Steps to Reproduce
Steps to reproduce the behavior:
http://ci.dragonwell-jdk.io/job/Test_openjdk8_dragonwell_sanity.openjdk_aarch64_linux/253/consoleFull

Expected behavior
在ubuntu系统上运行pass

JDK version

openjdk version "1.8.0_332"
OpenJDK Runtime Environment (Alibaba Dragonwell Extended Edition 8.11.12) (build 1.8.0_332-b01)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Extended Edition 8.11.12) (build 25.332-b01, mixed mode)

Execution environment
image

其他几个用例类型情况:

http://ci.dragonwell-jdk.io/job/Test_openjdk8_dragonwell_sanity.openjdk_aarch64_linux/253/consoleFull

jwarmup/TestCheckIfCompilationIsComplete.sh
jwarmup/TestDisableMethodData.sh
jwarmup/TestNotDeoptJITMethod.sh
jwarmup/TestNotifyDeopt.sh
jwarmup/TestTieredCompilationInRecording.sh
jwarmup/issue9780156.sh
@sendaoYan sendaoYan self-assigned this Jul 31, 2022
sendaoYan added a commit that referenced this issue Aug 2, 2022
Summary: By default in ubuntu system, sh points to dash, which causes sh use case execution to report an syntax error. Relate testcase: jwarmup/TestCheckIfCompilationIsComplete.sh jwarmup/TestDisableMethodData.sh jwarmup/TestNotDeoptJITMethod.sh jwarmup/TestNotifyDeopt.sh jwarmup/TestTieredCompilationInRecording.sh jwarmup/issue9780156.sh

Test Plan: CI pipeline

Reviewed-by: kuaiwei.kw, lvfei.lv

Issue: #383
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

1 participant