JiaLiangC commented on PR #3751: URL: https://github.com/apache/ambari/pull/3751#issuecomment-1928641503
@arshadmohammad Conclusion: This CI error is not related to PR AMBARI-26000; it's an issue with the trunk branch. The error can be reproduced in the trunk branch code due to PR https://github.com/apache/ambari/pull/3760. Cause: PR https://github.com/apache/ambari/pull/3760 introduced `chromium-browser`, which caused the error during test execution because of the `chromium-browser` settings in our CI environment. This needs to be fixed in CI. How to reproduce: Operating System: Rocky Linux 8 1. Install chromium: yum install -y chromium 2. Change directory to ambari: cd ambari 3. Start compilation: mvn -X -T 2C -am test -pl ambari-web -Dmaven.artifact.threads=10 -Drat.skip  As shown above, the error message is the same as in CI, confirming the reproduction of the issue! Below is the error from CI:  How to solve: 1. The error message indicates that `CHROME_BIN` is not set, so let's set it: export CHROME_BIN=/usr/bin/chromium-browser Continue execution: mvn -X -T 2C -am test -pl ambari-web -Dmaven.artifact.threads=10 -Drat.skip  2. Error message: ERROR:zygote_host_impl_linux.cc(100)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. How to solve: Edit `/usr/bin/chromium-browser`: vim /usr/bin/chromium-browser Add `--no-sandbox` at the end of the file.  Then the compilation succeeds.  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
