Open sratatata opened 8 years ago
Another PC. Windows this time:
11:21:01.280 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :publisher:webResourceSetupNodeDependencies
11:21:01.280 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Starting to execute task ':publisher:webResourceSetupNodeDependencies'
11:21:01.280 [DEBUG] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Determining if task ':publisher:webResourceSetupNodeDependencies' is up-to-date
11:21:01.285 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on task history cache (C:\repo\smart-aaaaa\.gradle\2.10\taskArtifacts).
11:21:01.285 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
11:21:01.835 [INFO] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Skipping task ':publisher:webResourceSetupNodeDependencies' as it is up-to-date (took 0.555 secs).
11:21:01.835 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':publisher:webResourceSetupNodeDependencies'
11:21:01.835 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :publisher:webResourceSetupNodeDependencies UP-TO-DATE
11:21:01.835 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :publisher:webResourceSetupNodeDependencies (Thread[Daemon worker Thread 3,5,main]) completed. Took 0.555 secs.
11:21:01.835 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :publisher:webResourceInstallBowerDependencies (Thread[Daemon worker Thread 3,5,main]) started.
11:21:01.835 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :publisher:webResourceInstallBowerDependencies
11:21:01.835 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Starting to execute task ':publisher:webResourceInstallBowerDependencies'
11:21:01.835 [DEBUG] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Determining if task ':publisher:webResourceInstallBowerDependencies' is up-to-date
11:21:01.960 [INFO] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Executing task ':publisher:webResourceInstallBowerDependencies' (up-to-date check took 0.125 secs) due to:
Value of input property 'bower' has changed for task ':publisher:webResourceInstallBowerDependencies'
11:21:01.960 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':publisher:webResourceInstallBowerDependencies'.
11:21:01.980 [DEBUG] [io.apigee.trireme.core.internal.RootModuleRegistry] Discovered Node version 0.10.32
11:21:01.985 [DEBUG] [io.apigee.trireme.core.internal.RootModuleRegistry] Discovered Node version 0.12.7
11:21:01.995 [DEBUG] [io.apigee.trireme.core.internal.ScriptRunner] argv[0] = ./node
11:21:02.000 [DEBUG] [io.apigee.trireme.core.internal.ScriptRunner] argv[1] = C:\repo\smart-aaaaa\publisher\build\webResource\bower.js
11:21:02.000 [DEBUG] [io.apigee.trireme.core.internal.ScriptRunner] argv[2] = 3
11:21:02.000 [DEBUG] [io.apigee.trireme.core.internal.ScriptRunner] argv[3] = [
{
"name": "jquery",
"version": "1.10.2",
"cacheName": "jquery"
},
{
"name": "bootstrap",
"version": "3.3.6",
"cacheName": "bootstrap"
},
{
"name": "angular",
"version": "latest",
"cacheName": "angular"
},
{
"name": "angular-route",
"version": "latest",
"cacheName": "angular-route"
},
{
"name": "font-awesome",
"version": "latest",
"cacheName": "font-awesome"
},
{
"name": "angular-ui-tinymce",
"version": "latest",
"cacheName": "angular-ui-tinymce"
},
{
"name": "angular-i18n",
"version": "latest",
"cacheName": "angular-i18n"
},
{
"name": "angular-translate",
"version": "latest",
"cacheName": "angular-translate"
},
{
"name": "angular-translate-loader-static-files",
"version": "latest",
"cacheName": "angular-translate-loader-static-files"
},
{
"name": "angular-google-client",
"version": "latest",
"cacheName": "angular-google-client"
}
]
11:21:02.005 [DEBUG] [io.apigee.trireme.kernel.fs.AdvancedFilesystem] open(\\?\C:\repo\smart-aaaaa\publisher\build\webResource\bower.js, 0, 438)
11:21:02.005 [DEBUG] [io.apigee.trireme.kernel.fs.AdvancedFilesystem] Opening C:\repo\smart-aaaaa\publisher\build\webResource\bower.js with [READ]
11:21:02.005 [DEBUG] [io.apigee.trireme.kernel.fs.AdvancedFilesystem] open(\\?\C:\repo\smart-aaaaa\publisher\build\webResource\bower.js) = 4
11:21:02.010 [DEBUG] [io.apigee.trireme.kernel.fs.AdvancedFilesystem] File system error java.nio.file.NoSuchFileException: C:\repo\smart-aaaaa\publisher\build\webResource\node_modules\bower.js = code -2
11:21:02.010 [DEBUG] [io.apigee.trireme.node12.modules.Filesystem] I/O exception: -2: io.apigee.trireme.kernel.OSException: ENOENT:\\?\C:\repo\smart-aaaaa\publisher\build\webResource\node_modules\bower.js
11:21:02.015 [DEBUG] [io.apigee.trireme.kernel.fs.AdvancedFilesystem] File system error java.nio.file.NoSuchFileException: C:\repo\smart-aaaaa\publisher\build\webResource\node_modules\bower.json = code -2
11:21:02.015 [DEBUG] [io.apigee.trireme.node12.modules.Filesystem] I/O exception: -2: io.apigee.trireme.kernel.OSException: ENOENT:\\?\C:\repo\smart-aaaaa\publisher\build\webResource\node_modules\bower.json
11:21:02.015 [DEBUG] [io.apigee.trireme.kernel.fs.AdvancedFilesystem] File system error java.nio.file.NoSuchFileException: C:\repo\smart-aaaaa\publisher\build\webResource\node_modules\bower.node = code -2
11:21:02.015 [DEBUG] [io.apigee.trireme.node12.modules.Filesystem] I/O exception: -2: io.apigee.trireme.kernel.OSException: ENOENT:\\?\C:\repo\smart-aaaaa\publisher\build\webResource\node_modules\bower.node
Interesting:
11:21:09.434 [DEBUG] [io.apigee.trireme.node12.modules.Filesystem] I/O exception: -2: io.apigee.trireme.kernel.OSException: ENOENT:\\?\C:\Windows\System32\WindowsPowerShell\v1.0\git.WSF
11:21:09.434 [DEBUG] [io.apigee.trireme.kernel.fs.AdvancedFilesystem] File system error java.nio.file.NoSuchFileException: C:\Windows\System32\WindowsPowerShell\v1.0\git.WSH = code -2
11:21:09.434 [DEBUG] [io.apigee.trireme.node12.modules.Filesystem] I/O exception: -2: io.apigee.trireme.kernel.OSException: ENOENT:\\?\C:\Windows\System32\WindowsPowerShell\v1.0\git.WSH
11:21:09.434 [DEBUG] [io.apigee.trireme.kernel.fs.AdvancedFilesystem] File system error java.nio.file.NoSuchFileException: C:\Windows\System32\WindowsPowerShell\v1.0\git.MSC = code -2
On the end:
11:21:10.039 [DEBUG] [io.apigee.trireme.core.internal.ScriptRunner] mainLoop: sleeping for 1 pinCount = 1
11:21:10.044 [DEBUG] [io.apigee.trireme.core.internal.ScriptRunner] Executing timer 1
11:21:10.044 [DEBUG] [io.apigee.trireme.node12.modules.TimerWrap] Executing timer 638570144 ontimeout = io.apigee.trireme.node12.node.timers@4a4749aa
11:21:10.044 [DEBUG] [io.apigee.trireme.core.internal.ScriptRunner] Handling fatal exception org.mozilla.javascript.JavaScriptException: InternalError: Script exit: Normal (C:\repo\smart-aaaaa\publisher\build\webResource\node_modules\q\q.js#161) domain = 0
InternalError: Script exit: Normal
at C:\repo\smart-aaaaa\publisher\build\webResource\node_modules\q\q.js:161
at listOnTimeout (timers.js:119)
11:21:10.044 [DEBUG] [io.apigee.trireme.core.internal.ScriptRunner] Fatal Java exception: {}
org.mozilla.javascript.JavaScriptException: InternalError: Script exit: Normal (C:\repo\smart-aaaaa\publisher\build\webResource\node_modules\q\q.js#161)
at org.mozilla.javascript.gen.C__repo_smart_aaaaa_publisher_build_webResource_node_modules_q_q_js_1368._c_anonymous_9(C:\repo\smart-aaaaa\publisher\build\webResource\node_modules\q\q.js:161)
at org.mozilla.javascript.gen.C__repo_smart_aaaaa_publisher_build_webResource_node_modules_q_q_js_1368.call(C:\repo\smart-aaaaa\publisher\build\webResource\node_modules\q\q.js)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:85)
at io.apigee.trireme.node12.node.timers._c_listOnTimeout_3(timers.js:119)
at io.apigee.trireme.node12.node.timers.call(timers.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3282)
at io.apigee.trireme.node12.node.timers.call(timers.js)
at io.apigee.trireme.node12.modules.TimerWrap$TimerImpl.execute(TimerWrap.java:280)
at io.apigee.trireme.core.internal.ScriptRunner$Task.executeTask(ScriptRunner.java:1485)
at io.apigee.trireme.core.internal.ScriptRunner$AbstractTask.execute(ScriptRunner.java:1456)
at io.apigee.trireme.core.internal.ScriptRunner.executeTimerTasks(ScriptRunner.java:1124)
at io.apigee.trireme.core.internal.ScriptRunner.mainLoop(ScriptRunner.java:946)
at io.apigee.trireme.core.internal.ScriptRunner.runScript(ScriptRunner.java:774)
at io.apigee.trireme.core.internal.ScriptRunner$4.run(ScriptRunner.java:702)
at org.mozilla.javascript.Context.call(Context.java:501)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:503)
at io.apigee.trireme.core.internal.ScriptRunner.call(ScriptRunner.java:697)
at io.apigee.trireme.core.ScriptFuture.run(ScriptFuture.java:183)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
11:21:10.064 [DEBUG] [io.apigee.trireme.core.internal.ScriptRunner] Handled = false
11:21:10.064 [DEBUG] [io.apigee.trireme.core.internal.ScriptRunner] Script exiting with exit code -1
11:21:10.064 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':publisher:webResourceInstallBowerDependencies'
11:21:10.064 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :publisher:webResourceInstallBowerDependencies FAILED
11:21:10.064 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :publisher:webResourceInstallBowerDependencies (Thread[Daemon worker Thread 3,5,main]) completed. Took 8.229 secs.
11:21:10.064 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[Daemon worker Thread 3,5,main]] finished, busy: 8.784 secs, idle: 0.0 secs
11:21:10.074 [LIFECYCLE] [org.gradle.BuildResultLogger]
But few sec. before this log saved. There was successfull operation, but only few of dependencies was downloaded.
Thank you for your report. Hmm... I've never experienced this but the first one on Ubuntu and the second one on Windows seems different.
The first one fails for ENOTEMPTY from bower/lib/core/ResolveCache.js L137.
Does it always happen on that machine?
It seems that bower is storing jquery files to cache, but the target cache directory is not empty, which causes an error.
Does the cache directory really exist and is not empty ? (/home/jksiezni/.cache/bower/packages/8ccd8ff8cca80bc6237ebfb752ea634b/1.10.2
)
Perhaps the cache might be broken.
If you're using bower globally, executing bower cache clean jquery
will solve the issue (or removing the directory manually might be enough).
The second one fails because the git command is not found, I guess. (As mentioned in README, bower depends on git.) In my team, the Windows user install Git for Windows. Did your colleague install it?
Pure bower works on both of this computers.
1st: I've been trying to cleanup this cache. And directories was in fact existing.
2nd: yep, he is using git on daily basis. But this could be good lead, we had on his computer some problems before with bower and git. I thought it was solved.
This could have something with failing update test.
Hi, I'm also getting (random) failures, probably caused by this bug, on my Travis builds. Quoting Travis log:
:webResourceInstallBowerDependencies
10:51:07.451 ERROR [Bower] Install failed: ECMDERR: Error: Failed to execute "git clone https://github.com/PolymerElements/iron-a11y-keys-behavior.git -b v2.0.1 --progress . --depth 1", exit code of #128
fatal: destination path '.' already exists and is not an empty directory.
at /home/travis/build/mvysny/karibu10-helloworld-application/build/webResource/build.js:1347
at _fulfilled (/home/travis/build/mvysny/karibu10-helloworld-application/build/webResource/build.js:1346)
at /home/travis/build/mvysny/karibu10-helloworld-application/build/webResource/build.js:1346
at /home/travis/build/mvysny/karibu10-helloworld-application/build/webResource/build.js:1346
at /home/travis/build/mvysny/karibu10-helloworld-application/build/webResource/build.js:1346
at runSingle (/home/travis/build/mvysny/karibu10-helloworld-application/build/webResource/build.js:1346)
at flush (/home/travis/build/mvysny/karibu10-helloworld-application/build/webResource/build.js:1346)
at processImmediate (timers.js:345)
:webResourceInstallBowerDependencies FAILED
The full log can be seen here: https://travis-ci.org/mvysny/karibu10-helloworld-application/builds/288504285 . Travis shouldn't archive the .cache
directory so it should be empty...
Also on my computer the build of this project fails randomly with the abovementioned error: https://github.com/mvysny/karibu10-helloworld-application
Another issue on my colegues ubuntu:
This time I've some log with --debug
Fragments here. If
Start:
Here comes loooooooot of similiar errors and On the end a lot of
...and in the end:
Do you have any idea?