eclipse-openj9 / openj9-website

openj9-website
24 stars 27 forks source link

Remove inline javascript from Option Builder tools to fix issue #306 #307

Closed paulcheeseman closed 2 years ago

paulcheeseman commented 2 years ago

Signed-off-by: Paul Cheeseman paul.cheeseman@uk.ibm.com

pshipton commented 2 years ago

Jenkins website stage

pshipton commented 2 years ago

@AdamBrousseau @doveye there is an error trying to stage, but it doesn't seem to be related to this change. In the console output I see some warnings followed by a Error: EACCES: permission denied error.

AdamBrousseau commented 2 years ago

Jenkins website stage

doveye commented 2 years ago

The build last worked on Dec 7. The next build, on Mar 29, failed. There were no changes in the repo between these two dates except to latestRelease.md, which can't have caused this error. The difference in the logs seems to start just after the line Setting up nodejs (10.24.1-1nodesource1). The command in the Dockerfile that failed is /bin/sh -c curl -sL https://deb.nodesource.com/setup_10.x | bash - && apt-get install -y nodejs && npm install -g gatsby-cli. The failing log contains gyp WARN EACCES current user ("nobody") does not have permission to access the dev dir "/root/.cache/node-gyp/10.24.1".

Definitely some sort of permissions error. Could something have changed in the underlying build system to cause this?

doveye commented 2 years ago

Jenkins website stage

doveye commented 2 years ago

@AdamBrousseau this problem is still occurring. Could you please take a look and see if it could be something in the build system that's changed? I'm wondering if it might also be a change in npm, since that seems to have caused the same issue in the past.

AdamBrousseau commented 2 years ago

Jenkins website stage

pshipton commented 2 years ago

https://staging.eclipse.org/openj9/tools/xdump_option_builder.html https://staging.eclipse.org/openj9/tools/xtrace_option_builder.html

lgtm