Skip to content

Conversation

@PVince81
Copy link
Contributor

I saw PhantomJS fails on Jenkins in another PR, let's see if it happens here too. Maybe the node JS setup needs tweaking.

@DeepDiver1975

From the other failure:

[Pipeline] stage (JavaScript Testing)
08:38:39 Entering stage JavaScript Testing
08:38:39 Proceeding
[Pipeline] timeout
[Pipeline] {
[Pipeline] sh
08:38:39 [PR-25509] Running shell script
08:38:40 + ./autotest-js.sh
08:38:41 npm WARN unmet dependency /ssd/jenkins/workspace/ownCloud/core/PR-25509/build/node_modules/karma-coverage/node_modules/istanbul/node_modules/handlebars/node_modules/optimist requires wordwrap@'~0.0.2' but will load
08:38:41 npm WARN unmet dependency /ssd/jenkins/workspace/ownCloud/core/PR-25509/build/node_modules/karma-coverage/node_modules/istanbul/node_modules/wordwrap,
08:38:41 npm WARN unmet dependency which is version 1.0.0
08:38:41 npm WARN unmet dependency /ssd/jenkins/workspace/ownCloud/core/PR-25509/build/node_modules/karma-coverage/node_modules/istanbul/node_modules/handlebars/node_modules/uglify-js/node_modules/yargs/node_modules/cliui requires wordwrap@'0.0.2' but will load
08:38:41 npm WARN unmet dependency /ssd/jenkins/workspace/ownCloud/core/PR-25509/build/node_modules/karma-coverage/node_modules/istanbul/node_modules/wordwrap,
08:38:41 npm WARN unmet dependency which is version 1.0.0
08:38:41 Coverage preprocessor:  enabled
08:38:41 Apps to test:  [ 'core',
08:38:41   'files',
08:38:41   'files_trashbin',
08:38:41   { name: 'files_sharing',
08:38:41     srcFiles: 
08:38:41      [ 'apps/files_sharing/js/app.js',
08:38:41        'apps/files_sharing/js/sharedfilelist.js',
08:38:41        'apps/files_sharing/js/share.js',
08:38:41        'apps/files_sharing/js/external.js',
08:38:41        'apps/files_sharing/js/public.js',
08:38:41        'apps/files_sharing/js/sharetabview.js' ],
08:38:41     testFiles: [ 'apps/files_sharing/tests/js/*.js' ] },
08:38:41   { name: 'files_external',
08:38:41     srcFiles: 
08:38:41      [ 'apps/files_external/js/app.js',
08:38:41        'apps/files_external/js/mountsfilelist.js',
08:38:41        'apps/files_external/js/settings.js',
08:38:41        'apps/files_external/js/statusmanager.js' ],
08:38:41     testFiles: [ 'apps/files_external/tests/js/*.js' ] },
08:38:41   { name: 'files_versions',
08:38:41     srcFiles: 
08:38:41      [ 'apps/files_versions/js/versionmodel.js',
08:38:41        'apps/files_versions/js/versioncollection.js',
08:38:41        'apps/files_versions/js/versionstabview.js' ],
08:38:41     testFiles: [ 'apps/files_versions/tests/js/**/*.js' ] },
08:38:41   { name: 'comments',
08:38:41     srcFiles: 
08:38:41      [ 'apps/comments/js/app.js',
08:38:41        'apps/comments/js/commentmodel.js',
08:38:41        'apps/comments/js/commentcollection.js',
08:38:41        'apps/comments/js/commentsummarymodel.js',
08:38:41        'apps/comments/js/commentstabview.js',
08:38:41        'apps/comments/js/filesplugin.js' ],
08:38:41     testFiles: [ 'apps/comments/tests/js/**/*.js' ] },
08:38:41   { name: 'systemtags',
08:38:41     srcFiles: 
08:38:41      [ 'apps/systemtags/js/app.js',
08:38:41        'apps/systemtags/js/systemtagsinfoview.js',
08:38:41        'apps/systemtags/js/systemtagsfilelist.js',
08:38:41        'apps/systemtags/js/filesplugin.js' ],
08:38:41     testFiles: [ 'apps/systemtags/tests/js/**/*.js' ] },
08:38:41   { name: 'settings',
08:38:41     srcFiles: [ 'settings/js/apps.js', 'settings/js/users/deleteHandler.js' ],
08:38:41     testFiles: 
08:38:41      [ 'settings/tests/js/appsSpec.js',
08:38:41        'settings/tests/js/users/deleteHandlerSpec.js' ] } ]
08:38:41 Cannot find module 'wrappy'
08:38:41 Error: Cannot find module 'wrappy'
08:38:41     at Function.Module._resolveFilename (module.js:338:15)
08:38:41     at Function.Module._load (module.js:280:25)
08:38:41     at Module.require (module.js:364:17)
08:38:41     at require (module.js:380:17)
08:38:41     at Object.<anonymous> (/ssd/jenkins/workspace/ownCloud/core/PR-25509/build/lib/node_modules/karma-coverage/node_modules/istanbul/node_modules/fileset/node_modules/glob/node_modules/inflight/inflight.js:1:76)
08:38:41     at Module._compile (module.js:456:26)
08:38:41     at Object.Module._extensions..js (module.js:474:10)
08:38:41     at Module.load (module.js:356:32)
08:38:41     at Function.Module._load (module.js:312:12)
08:38:41     at Module.require (module.js:364:17)
08:38:41 �[33mWARN [plugin]: �[39mError during loading "/ssd/jenkins/workspace/ownCloud/core/PR-25509/build/lib/node_modules/karma-coverage" plugin:
08:38:41   Could not register command from file check-coverage.js
08:38:41 �[33mWARN [reporter]: �[39mCan not load "coverage", it is not registered!
08:38:41   Perhaps you are missing some plugin?
08:38:41 �[33mWARN [preprocess]: �[39mCan not load "coverage", it is not registered!
08:38:41   Perhaps you are missing some plugin?
08:38:41 �[32mINFO [karma]: �[39mKarma v0.12.37 server started at http://localhost:9876/
08:38:41 �[32mINFO [launcher]: �[39mStarting browser PhantomJS
08:38:41 �[31mERROR [launcher]: �[39mNo binary for PhantomJS browser on your platform.
08:38:41   Please, set "PHANTOMJS_BIN" env variable.
08:38:41 �[31mERROR [karma]: �[39m[TypeError: Cannot read property 'stderr' of undefined]
08:38:41 TypeError: Cannot read property 'stderr' of undefined
08:38:41     at Object._start (/ssd/jenkins/workspace/ownCloud/core/PR-25509/build/lib/node_modules/karma-phantomjs-launcher/index.js:78:18)
08:38:41     at Object.<anonymous> (/ssd/jenkins/workspace/ownCloud/core/PR-25509/build/lib/node_modules/karma/lib/launchers/process.js:14:10)
08:38:41     at Object.emit (events.js:117:20)
08:38:41     at Object.start (/ssd/jenkins/workspace/ownCloud/core/PR-25509/build/lib/node_modules/karma/lib/launchers/base.js:40:10)
08:38:41     at /ssd/jenkins/workspace/ownCloud/core/PR-25509/build/lib/node_modules/karma/lib/launcher.js:88:15
08:38:41     at Array.forEach (native)
08:38:41     at launch (/ssd/jenkins/workspace/ownCloud/core/PR-25509/build/lib/node_modules/karma/lib/launcher.js:40:11)
08:38:41     at invoke (/ssd/jenkins/workspace/ownCloud/core/PR-25509/build/lib/node_modules/karma/node_modules/di/lib/injector.js:75:15)
08:38:41     at Server.<anonymous> (/ssd/jenkins/workspace/ownCloud/core/PR-25509/build/lib/node_modules/karma/lib/server.js:62:18)
08:38:41     at Server.g (events.js:180:16)
[Pipeline] }
[Pipeline] // timeout
[Pipeline] echo
08:38:41 Test execution failed: hudson.AbortException: script returned exit code 1
[Pipeline] step
08:38:41 Recording test results
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline

@mention-bot
Copy link

@PVince81, thanks for your PR! By analyzing the annotation information on this pull request, we identified @DeepDiver1975, @oparoz and @Henni to be potential reviewers

@PVince81
Copy link
Contributor Author

Could be a thing on master as the stable9.1 of that other branch passed: #25751

@PVince81 PVince81 closed this Aug 11, 2016
@PVince81 PVince81 deleted the testthisjs branch August 11, 2016 19:16
@lock
Copy link

lock bot commented Aug 5, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants