Closed sratatata closed 8 years ago
I found that tests should be running with parallel factor = 1 in other case the race could cause faulty reading status from exceptions.
In this case I can see real cause of failure.
om.github.ksoichiro.web.resource.WebResourceInstallBowerDependenciesTaskSpec > update STANDARD_OUT
{ [Error: No cached version for git://github.com/jquery/jquery-dist.git#2.1.4]
message: 'No cached version for git://github.com/jquery/jquery-dist.git#2.1.4',
code: 'ENOCACHE',
resolver:
{ _source: 'git://github.com/jquery/jquery-dist.git',
_target: '2.1.4',
_name: 'jquery',
_config:
{ directory: 'bower_components',
registry: [Object],
shorthandResolver: 'git://github.com/{{owner}}/{{package}}.git',
tmp: '/tmp/lb_lb/bower',
timeout: 30000,
ca: [Object],
strictSsl: true,
userAgent: 'node/v0.12.7 linux amd64',
color: true,
storage: [Object],
cwd: '/tmp/junit2340503554196960162/build/webResource',
offline: true,
interactive: false },
_logger: { _interceptors: [Object], _piped: [Object] },
_guessedName: false,
_host: 'github.com',
_remote:
{ protocol: 'git:',
slashes: true,
auth: null,
host: 'github.com',
port: null,
hostname: 'github.com',
hash: null,
search: null,
query: null,
pathname: '/jquery/jquery-dist.git',
path: '/jquery/jquery-dist.git',
href: 'git://github.com/jquery/jquery-dist.git' },
_shallowClone: [Function],
_org: 'jquery',
_repo: 'jquery-dist',
_public: true },
fileName: '/tmp/junit2340503554196960162/build/webResource/node_modules/bower/lib/core/PackageRepository.js',
lineNumber: 67,
data:
{ endpoint: { name: '', source: 'jquery', target: '2.1.4' },
resolver:
{ name: 'jquery',
source: 'git://github.com/jquery/jquery-dist.git',
target: '2.1.4' } },
stack: 'Error: No cached version for git://github.com/jquery/jquery-dist.git#2.1.4\n at /tmp/junit2340503554196960162/build/webResource/node_modules/q/q.js:1763\n at _fulfilled (/tmp/junit2340503554196960162/build/webResource/node_modules/q/q.js:834)\n at /tmp/junit2340503554196960162/build/webResource/node_modules/q/q.js:863\n at /tmp/junit2340503554196960162/build/webResource/node_modules/q/q.js:796\n at /tmp/junit2340503554196960162/build/webResource/node_modules/q/q.js:556\n at runSingle (/tmp/junit2340503554196960162/build/webResource/node_modules/q/q.js:137)\n at flush (/tmp/junit2340503554196960162/build/webResource/node_modules/q/q.js:125)\n at processImmediate (timers.js:370)\n' }
bower cache clean
solves problem. :dancer:
During test run update test is failing:
I'm playing on quite fresh installed linux now. Then maybe It's missing something. However it's out of my expertise to debug this problem quickly. Something with concurency?