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

[Minor] Frontend integration test failed in headless environment #4006

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

danhuawang
Copy link
Contributor

What changes were proposed in this pull request?

Frontend integration test failed in certain headless environment, like the ec2 in aws.

Why are the changes needed?

Frontend integration test failed due to the following error:

 MetalakePageTest > initializationError FAILED
    org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally.
      (chrome not reachable)
      (The process started from chrome location /actions-runner/_work/gravitino-test/gravitino-test/gravitino/integration-test/build/chrome/chrome-linux/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
    Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
    System info: host: 'ip-172-31-5-251', ip: '172.31.5.251', os.name: 'Linux', os.arch: 'amd64', os.version: '6.5.0-1020-aws', java.version: '1.8.0_412'
    Driver info: driver.version: ChromeDriver
    remote stacktrace: #0 0x561b8bc79869 <unknown>
    #1 0x561b8bc14383 <unknown>
    #2 0x561b8b9f6ca3 <unknown>
    #3 0x561b8ba1a286 <unknown>
    #4 0x561b8ba157cd <unknown>
    #5 0x561b8ba4f11d <unknown>
    #6 0x561b8ba49963 <unknown>
    #7 0x561b8ba1fe36 <unknown>
    #8 0x561b8ba20fd5 <unknown>
    #9 0x561b8bc41f90 <unknown>
    #10 0x561b8bc53d80 <unknown>

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

image

@LauraXia123
Copy link
Collaborator

LGTM

@xunliu
Copy link
Member

xunliu commented Jul 1, 2024

hi, @danhuawang Do you multiple-run Frontend Integration Test in the GitHub Action?

@danhuawang
Copy link
Contributor Author

hi, @danhuawang Do you multiple-run Frontend Integration Test in the GitHub Action?

@xunliu
Rerun Frontend Integration Test 5 times. All are success.
image

Copy link
Member

@xunliu xunliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@danhuawang danhuawang merged commit 445792f into apache:main Jul 1, 2024
26 checks passed
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

Successfully merging this pull request may close these issues.

3 participants