zooniverse / AnnoTate

Full text transcription app for the Tate Britain
http://anno.tate.org.uk
Other
12 stars 2 forks source link

Automatic deploys fail on Jenkins. #228

Closed eatyourgreens closed 5 years ago

eatyourgreens commented 5 years ago

Pushing to master starts a Jenkins build, but they fail after ~half an hour.

[13:40:49] Rebundle...
(node:34) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
Resuming build at Tue Aug 21 14:05:47 UTC 2018 after Jenkins restart
Waiting to resume part of Zooniverse » AnnoTate » master #2: ???
wrapper script does not seem to be touching the log file in /var/jenkins_home/jobs/Zooniverse GitHub/jobs/AnnoTate/branches/master/workspace@tmp/durable-51311612
(JENKINS-48300: if on a laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=300)
Cannot contact : java.nio.channels.ClosedByInterruptException
Ready to run at Tue Aug 21 14:05:56 UTC 2018
[BABEL] Note: The code generator has deoptimised the styling of "/var/jenkins_home/jobs/Zooniverse GitHub/jobs/AnnoTate/branches/master/workspace/main.js" as it exceeds the max of "500KB".
Killed
npm ERR! code ELIFECYCLE
npm ERR! errno 137
npm ERR! annotate@3.2.0 build: `check-engines && NODE_ENV=production gulp production`
npm ERR! Exit status 137
npm ERR! 
npm ERR! Failed at the annotate@3.2.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/node/.npm/_logs/2018-08-21T14_05_10_862Z-debug.log
[Pipeline] }
$ docker stop --time=1 d90675ea4981757e78409f413d5a7770be8faf837cfd4a3f6b23acf2e2a9e31c
$ docker rm -f d90675ea4981757e78409f413d5a7770be8faf837cfd4a3f6b23acf2e2a9e31c
[Pipeline] // withDockerContainer
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

ERROR: script returned exit code 137
Finished: FAILURE
eatyourgreens commented 5 years ago

I've started another build to see if this is still an issue.

eatyourgreens commented 5 years ago

Latest build ran without error on Jenkins. 🤷‍♂️

eatyourgreens commented 5 years ago

Reopening this because the site won't load after a Jenkins deploy. The CSS and JS files can't be found.

eatyourgreens commented 5 years ago

Temporarily fixed by manually editing index.html on S3 to fix broken URLs. Gulp build is broken though.

eatyourgreens commented 5 years ago

Closing this in favour of #229.