junit.framework.AssertionFailedError: Import failed: Failed to update the project! pants export examples/src/scala/org/pantsbuild/example/scala_with_java_sources/:: --export-output-file=/tmp/unitTest_scalaWithJavaSources/pants_depmap_run.out Exit code: 1 FAILURE INFO] Detected git repository at /home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants on branch master Waiting on pants process 8152 (python /home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_exe.py ng-killall) to complete Exception caught: (<class 'lockfile.AlreadyLocked'>) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_exe.py", line 50, in <module> main() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_exe.py", line 44, in main PantsRunner(exiter).run() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_runner.py", line 53, in run options_bootstrapper=options_bootstrapper) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_runner.py", line 43, in _run return LocalPantsRunner(exiter, args, env, options_bootstrapper=options_bootstrapper).run() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/local_pants_runner.py", line 49, in run self._maybe_profiled(self._run) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/local_pants_runner.py", line 46, in _maybe_profiled runner() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/local_pants_runner.py", line 84, in _run result = goal_runner.run() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/goal_runner.py", line 335, in run result = self._execute_engine() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/goal_runner.py", line 324, in _execute_engine result = engine.execute(self._context, self._goals) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/engine/engine.py", line 26, in execute self.attempt(context, goals) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/engine/round_engine.py", line 237, in attempt context.acquire_lock() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/goal/context.py", line 234, in acquire_lock self._lock.acquire() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/process/pidlock.py", line 34, in acquire return pidlockfile.PIDLockFile.acquire(self, timeout) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/build-support/pants_dev_deps.venv/local/lib/python2.7/site-packages/lockfile/pidlockfile.py", line 88, in acquire self.path) Exception message: /home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/.pants.run is already locked

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by wisechengyi
, 1 year ago
pants process 8152 (python /home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_exe.py ng-killall) to complete Exception caught: (<class 'lockfile.AlreadyLocked'>) File
via Stack Overflow by Diogo Moreira
, 1 year ago
No tests found in teste.GerenciadorNFTest
via Google Groups by Andreas 'PAX' Lück, 4 months ago
Failed to restore original time: error=1314
via GitHub by ussmith
, 2 years ago
org.apache.directory.fortress.core.rbac.AccessMgrImplTest.createSessions failed negative test
via jakarta-bsf-user by Mario Neè, 1 year ago
exception from Jython: Traceback (innermost last): (no code object) at line 0 File "<string>", line 1 def test(): ^ SyntaxError: invalid syntax
via jakarta-bsf-user by Mario Neè, 1 year ago
exception from Jython: Traceback (innermost last): (no code object) at line 0 File "<string>", line 1 def test(): ^ SyntaxError: invalid syntax
junit.framework.AssertionFailedError: Import failed: Failed to update the project! pants export examples/src/scala/org/pantsbuild/example/scala_with_java_sources/:: --export-output-file=/tmp/unitTest_scalaWithJavaSources/pants_depmap_run.out Exit code: 1 FAILURE INFO] Detected git repository at /home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants on branch master Waiting on pants process 8152 (python /home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_exe.py ng-killall) to complete Exception caught: (<class 'lockfile.AlreadyLocked'>) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_exe.py", line 50, in <module> main() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_exe.py", line 44, in main PantsRunner(exiter).run() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_runner.py", line 53, in run options_bootstrapper=options_bootstrapper) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/pants_runner.py", line 43, in _run return LocalPantsRunner(exiter, args, env, options_bootstrapper=options_bootstrapper).run() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/local_pants_runner.py", line 49, in run self._maybe_profiled(self._run) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/local_pants_runner.py", line 46, in _maybe_profiled runner() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/local_pants_runner.py", line 84, in _run result = goal_runner.run() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/goal_runner.py", line 335, in run result = self._execute_engine() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/bin/goal_runner.py", line 324, in _execute_engine result = engine.execute(self._context, self._goals) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/engine/engine.py", line 26, in execute self.attempt(context, goals) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/engine/round_engine.py", line 237, in attempt context.acquire_lock() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/goal/context.py", line 234, in acquire_lock self._lock.acquire() File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/src/python/pants/process/pidlock.py", line 34, in acquire return pidlockfile.PIDLockFile.acquire(self, timeout) File "/home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/build-support/pants_dev_deps.venv/local/lib/python2.7/site-packages/lockfile/pidlockfile.py", line 88, in acquire self.path) Exception message: /home/travis/build/peiyuwang/intellij-pants-plugin/.cache/pants/.pants.run is already locked
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.TestCase.fail(TestCase.java:227)
at com.intellij.openapi.externalSystem.test.ExternalSystemImportingTestCase.doImportProject(ExternalSystemImportingTestCase.java:461)
at com.intellij.openapi.externalSystem.test.ExternalSystemImportingTestCase.importProject(ExternalSystemImportingTestCase.java:422)
at com.twitter.intellij.pants.testFramework.PantsIntegrationTestCase.doImport(PantsIntegrationTestCase.java:294)
at com.twitter.intellij.pants.integration.OSSPantsScalaExamplesIntegrationTest.testScalaWithJavaSources(OSSPantsScalaExamplesIntegrationTest.java:46)

Users with the same issue

Once, 2 weeks ago
28 times, 3 weeks ago
Once, 2 months ago
4 times, 3 months ago
Once, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.