Medium / phantomjs

NPM wrapper for installing phantomjs
Other
1.42k stars 435 forks source link

phantom-prebuilt installs fine on Jenkins, but then fails to launch in Karma #570

Closed nemoDreamer closed 8 years ago

nemoDreamer commented 8 years ago

This started happening after I renamed phantomjs to phantomjs-prebuilt in our package.json.

I tried clearing the npm cache, manually uninstalling the old phantomjs, npm pruning, npm rebuilding...

Install seems fine, but seems to fail launch because of an unmet GLIBC dependency which I previously never had knowledge of.

Started by user anonymous
Building on master in workspace workspace
Checkout:workspace / workspace - xxx.remoting.LocalChannel@6b1ebfcd
Using strategy: Default
Last Built Revision: Revision 38cc39464fefb2f0b9387baf1d3408a16440b240 (origin/develop/7.0)
Fetching changes from 1 remote Git repository
Fetching upstream changes from origin
Commencing build of Revision 38cc39464fefb2f0b9387baf1d3408a16440b240 (origin/develop/7.0)
Checking out Revision 38cc39464fefb2f0b9387baf1d3408a16440b240 (origin/develop/7.0)
[workspace] $ /bin/sh -xe /tmp/xxx2050271480560301869.sh
+ cd shotgun
+ npm cache clear
+ npm prune
+ npm install
+ npm rebuild
> phantomjs-prebuilt@2.1.7 install workspace/shotgun/node_modules/phantomjs-prebuilt
> node install.js

PhantomJS is previously installed at workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
> node-sass@3.8.0 install workspace/shotgun/node_modules/gulp-sass/node_modules/node-sass
> node scripts/install.js

> node-sass@3.8.0 postinstall workspace/shotgun/node_modules/gulp-sass/node_modules/node-sass
> node scripts/build.js

"workspace/shotgun/node_modules/gulp-sass/node_modules/node-sass/vendor/linux-x64-46/binding.node" exists. 
 testing binary.
Binary is fine; exiting.
> karma-jasmine-jquery@0.1.1 postinstall workspace/shotgun/node_modules/karma-jasmine-jquery
> node install.js

extjs@1.1.1-sg workspace/shotgun/node_modules/extjs
[...]
karma-phantomjs-launcher@1.0.1 workspace/shotgun/node_modules/karma-phantomjs-launcher
[...]
phantomjs-prebuilt@2.1.7 workspace/shotgun/node_modules/phantomjs-prebuilt
extract-zip@1.5.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip
concat-stream@1.5.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/concat-stream
inherits@2.0.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/concat-stream/node_modules/inherits
typedarray@0.0.6 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/concat-stream/node_modules/typedarray
readable-stream@2.0.6 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/concat-stream/node_modules/readable-stream
core-util-is@1.0.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/concat-stream/node_modules/readable-stream/node_modules/core-util-is
isarray@1.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/concat-stream/node_modules/readable-stream/node_modules/isarray
process-nextick-args@1.0.7 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/concat-stream/node_modules/readable-stream/node_modules/process-nextick-args
string_decoder@0.10.31 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/concat-stream/node_modules/readable-stream/node_modules/string_decoder
util-deprecate@1.0.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/concat-stream/node_modules/readable-stream/node_modules/util-deprecate
debug@0.7.4 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/debug
mkdirp@0.5.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/mkdirp
minimist@0.0.8 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/mkdirp/node_modules/minimist
yauzl@2.4.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/yauzl
fd-slicer@1.0.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/yauzl/node_modules/fd-slicer
pend@1.2.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/extract-zip/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend
fs-extra@0.26.7 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra
graceful-fs@4.1.4 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/graceful-fs
jsonfile@2.3.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/jsonfile
klaw@1.3.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/klaw
path-is-absolute@1.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/path-is-absolute
rimraf@2.5.3 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/rimraf
glob@7.0.5 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/rimraf/node_modules/glob
fs.realpath@1.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/fs.realpath
inflight@1.0.5 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight
once@1.3.3 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once
wrappy@1.0.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/once/node_modules/wrappy
wrappy@1.0.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inflight/node_modules/wrappy
inherits@2.0.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/inherits
minimatch@3.0.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch
brace-expansion@1.1.6 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion
balanced-match@0.4.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/balanced-match
concat-map@0.0.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/fs-extra/node_modules/rimraf/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/node_modules/concat-map
hasha@2.2.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/hasha
is-stream@1.1.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/hasha/node_modules/is-stream
pinkie-promise@2.0.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/hasha/node_modules/pinkie-promise
pinkie@2.0.4 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/hasha/node_modules/pinkie-promise/node_modules/pinkie
kew@0.7.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/kew
progress@1.1.8 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/progress
request@2.67.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request
bl@1.0.3 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/bl
readable-stream@2.0.6 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/bl/node_modules/readable-stream
core-util-is@1.0.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/core-util-is
inherits@2.0.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/inherits
isarray@1.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/isarray
process-nextick-args@1.0.7 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/process-nextick-args
string_decoder@0.10.31 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/string_decoder
util-deprecate@1.0.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/bl/node_modules/readable-stream/node_modules/util-deprecate
caseless@0.11.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/caseless
extend@3.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/extend
forever-agent@0.6.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/forever-agent
form-data@1.0.0-rc4 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/form-data
async@1.5.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/form-data/node_modules/async
combined-stream@1.0.5 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/combined-stream
delayed-stream@1.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/combined-stream/node_modules/delayed-stream
mime-types@2.1.11 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/mime-types
mime-db@1.23.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/mime-types/node_modules/mime-db
json-stringify-safe@5.0.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/json-stringify-safe
node-uuid@1.4.7 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/node-uuid
qs@5.2.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/qs
tunnel-agent@0.4.3 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/tunnel-agent
tough-cookie@2.2.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/tough-cookie
http-signature@1.1.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature
assert-plus@0.2.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature/node_modules/assert-plus
jsprim@1.3.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature/node_modules/jsprim
extsprintf@1.0.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/extsprintf
json-schema@0.2.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/json-schema
verror@1.3.6 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror
sshpk@1.8.3 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature/node_modules/sshpk
asn1@0.2.3 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/asn1
assert-plus@1.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/assert-plus
dashdash@1.14.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/dashdash
getpass@0.1.6 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/getpass
jsbn@0.1.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jsbn
tweetnacl@0.13.3 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/tweetnacl
jodid25519@1.0.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/jodid25519
ecc-jsbn@0.1.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/http-signature/node_modules/sshpk/node_modules/ecc-jsbn
oauth-sign@0.8.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/oauth-sign
hawk@3.1.3 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/hawk
hoek@2.16.3 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/hawk/node_modules/hoek
boom@2.10.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/hawk/node_modules/boom
cryptiles@2.0.5 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/hawk/node_modules/cryptiles
sntp@1.0.9 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/hawk/node_modules/sntp
aws-sign2@0.6.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/aws-sign2
stringstream@0.0.5 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/stringstream
isstream@0.1.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/isstream
is-typedarray@1.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/is-typedarray
har-validator@2.0.6 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator
chalk@1.1.3 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/chalk
ansi-styles@2.2.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/ansi-styles
escape-string-regexp@1.0.5 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/escape-string-regexp
has-ansi@2.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi
ansi-regex@2.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/has-ansi/node_modules/ansi-regex
strip-ansi@3.0.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi
ansi-regex@2.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/strip-ansi/node_modules/ansi-regex
supports-color@2.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/chalk/node_modules/supports-color
commander@2.9.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/commander
graceful-readlink@1.0.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/commander/node_modules/graceful-readlink
is-my-json-valid@2.13.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid
generate-function@2.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-function
generate-object-property@1.2.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property
is-property@1.0.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/generate-object-property/node_modules/is-property
jsonpointer@2.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/jsonpointer
xtend@4.0.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/is-my-json-valid/node_modules/xtend
pinkie-promise@2.0.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise
pinkie@2.0.4 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request/node_modules/har-validator/node_modules/pinkie-promise/node_modules/pinkie
request-progress@2.0.1 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request-progress
throttleit@1.0.0 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/request-progress/node_modules/throttleit
which@1.2.10 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/which
isexe@1.1.2 workspace/shotgun/node_modules/phantomjs-prebuilt/node_modules/which/node_modules/isexe
[...]
xtend@4.0.1 workspace/shotgun/node_modules/gulp-jshint/node_modules/through2/node_modules/xtend
+ npm test unit -- --for-ci

> shotgun_front_end_build@0.0.0 test workspace/shotgun
> bin/test_javascript "unit" "--for-ci"

DEPRECATED: use your own version of lodash, this will go away in karma@2.0
DEPRECATED: use your own version of lodash, this will go away in karma@2.0
21 07 2016 22:15:26.751:INFO [karma]: Karma v1.1.1 server started at http://localhost:9876/
21 07 2016 22:15:26.753:INFO [launcher]: Launching browser PhantomJS_custom with unlimited concurrency
21 07 2016 22:15:26.760:INFO [launcher]: Starting browser PhantomJS
21 07 2016 22:15:26.784:ERROR [phantomjs.launcher]: workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /lib64/libz.so.1: no version information available (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.9' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.10' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)

21 07 2016 22:15:26.786:ERROR [launcher]: Cannot start PhantomJS

21 07 2016 22:15:26.791:INFO [launcher]: Trying to start PhantomJS again (1/2).
21 07 2016 22:15:26.810:ERROR [phantomjs.launcher]: workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /lib64/libz.so.1: no version information available (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.9' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.10' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)

21 07 2016 22:15:26.810:ERROR [launcher]: Cannot start PhantomJS

21 07 2016 22:15:26.811:INFO [launcher]: Trying to start PhantomJS again (2/2).
21 07 2016 22:15:26.827:ERROR [phantomjs.launcher]: workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /lib64/libz.so.1: no version information available (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.9' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.10' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)
workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by workspace/shotgun/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs)

21 07 2016 22:15:26.828:ERROR [launcher]: Cannot start PhantomJS

21 07 2016 22:15:26.828:ERROR [launcher]: PhantomJS failed 2 times (cannot start). Giving up.
npm ERR! Test failed.  See above for more details.
Build step 'Execute shell' marked build as failure
Skipping Cobertura coverage report as build was not UNSTABLE or better ...
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: Test reports were found but none of them are new. Did tests run? 
For example, workspace/shotgun/test/javascript/output/integration.xml is 3 hr 27 min old

Sending e-mails to: xxx
Finished: FAILURE
nicks commented 8 years ago

yep, from the FAQ (http://phantomjs.org/download.html)

Note: For this static build, the binary is self-contained. There is no requirement to install Qt, WebKit, or any other libraries. It however still relies on Fontconfig (the package fontconfig or libfontconfig, depending on the distribution). The system must have GLIBCXX_3.4.9 and GLIBC_2.7.

nemoDreamer commented 8 years ago

Thanks, @nicks !

nemoDreamer commented 8 years ago

@nicks how come it used to work on that same system before I switched the dependency from 'phantomjs' to 'phantomjs-prebuilt'? Is the never version just less "self-contained" than the previous?

nemoDreamer commented 8 years ago

Never mind: https://ariya.io/2012/03/the-evolution-of-phantomjs-build-workflow Sorry for the noise.