java.lang.AssertionError: Problem running ./pants bundle testprojects/src/java/org/pantsbuild/testproject/runner:pants-runner-testproject - exited with 1: STDOUT: 11:32:52 00:00 [main] (To run a reporting server: ./pants server) 11:32:52 00:00 [setup] 11:32:52 00:00 [parse] Executing tasks in goals: bootstrap -> imports -> unpack-jars -> deferred-sources -> gen -> jvm-platform-validate -> resolve -> resources -> compile -> binary -> apk -> sign -> bundle 11:32:52 00:00 [bootstrap] 11:32:52 00:00 [substitute-aliased-targets] 11:32:52 00:00 [jar-dependency-management] 11:32:52 00:00 [bootstrap-jvm-tools] 11:32:52 00:00 [provide-tools-jar] 11:32:52 00:00 [imports] 11:32:52 00:00 [ivy-imports] 11:32:52 00:00 [unpack-jars] 11:32:52 00:00 [unpack-jars] 11:32:52 00:00 [unpack-libs] 11:32:52 00:00 [deferred-sources] 11:32:52 00:00 [deferred-sources] 11:32:52 00:00 [gen] 11:32:52 00:00 [thrift] 11:32:52 00:00 [protoc] 11:32:52 00:00 [antlr] 11:32:52 00:00 [ragel] 11:32:52 00:00 [jaxb] 11:32:52 00:00 [wire] 11:32:52 00:00 [aapt] 11:32:52 00:00 [go-thrift] 11:32:52 00:00 [scrooge] 11:32:52 00:00 [jvm-platform-validate] 11:32:52 00:00 [jvm-platform-validate] Invalidated 3 targets. 11:32:52 00:00 [resolve] 11:32:52 00:00 [ivy] 11:32:52 00:00 [go] 11:32:52 00:00 [scala-js-compile] 11:32:52 00:00 [scala-js-link] 11:32:52 00:00 [node] 11:32:52 00:00 [resources] 11:32:52 00:00 [prepare] 11:32:52 00:00 [services] 11:32:52 00:00 [compile] 11:32:52 00:00 [compile-jvm-prep-command] 11:32:52 00:00 [jvm_prep_command] 11:32:52 00:00 [compile-prep-command] 11:32:52 00:00 [compile] 11:32:52 00:00 [zinc] Invalidated 2 targets. 11:32:52 00:00 [isolation-zinc-pool-bootstrap] [1/2] Compiling 1 zinc source in 1 target (testprojects/src/java/org/pantsbuild/testproject/runner:dependent-class). 11:32:52 00:00 [compile] 11:32:52 00:00 [zinc] [info] Compiling 1 Java source to /Users/jenkins/slave/workspace/pantsbuild/pants/master/.pants.d/compile/zinc/252d64521cf9/testprojects.src.java.org.pantsbuild.testproject.runner.dependent-class/current/classes... [warn] bootstrap class path not set in conjunction with -source 1.6 [info] Compile success at Jul 1, 2016 11:32:52 AM [0.112s] 11:32:52 00:00 [unused-check] [2/2] Compiling 1 zinc source in 1 target (testprojects/src/java/org/pantsbuild/testproject/runner:main-class). 11:32:52 00:00 [compile] 11:32:52 00:00 [zinc] [info] Compiling 1 Java source to /Users/jenkins/slave/workspace/pantsbuild/pants/master/.pants.d/compile/zinc/252d64521cf9/testprojects.src.java.org.pantsbuild.testproject.runner.main-class/current/classes... [warn] bootstrap class path not set in conjunction with -source 1.6 [info] Compile success at Jul 1, 2016 11:32:53 AM [0.148s] 11:32:53 00:01 [unused-check] 11:32:53 00:01 [jvm-dep-check] 11:32:53 00:01 [checkstyle] Invalidated 2 targets. 11:32:53 00:01 [checkstyle] 11:32:53 00:01 [scalastyle] 11:32:53 00:01 [cpp] 11:32:53 00:01 [findbugs] 11:32:53 00:01 [go] 11:32:53 00:01 [gofmt] 11:32:53 00:01 [python-eval] 11:32:53 00:01 [pythonstyle] 11:32:53 00:01 [binary] 11:32:53 00:01 [binary-jvm-prep-command] 11:32:53 00:01 [jvm_prep_command] 11:32:53 00:01 [binary-prep-command] 11:32:53 00:01 [python-binary-create] 11:32:53 00:01 [jvm] creating dist/pants-runner-testproject.jar 11:32:53 00:01 [create-monolithic-jar] 11:32:53 00:01 [add-internal-classes] 11:32:53 00:01 [add-dependency-jars] 11:32:53 00:01 [cache] 11:32:53 00:01 [bootstrap-jar-tool] 11:32:54 00:02 [jar-tool] 11:32:54 00:02 [dup] 11:32:54 00:02 [dex] 11:32:54 00:02 [cpplib] 11:32:54 00:02 [cpp-library] 11:32:54 00:02 [cpp] 11:32:54 00:02 [cpp-binary] 11:32:54 00:02 [go] 11:32:54 00:02 [apk] 11:32:54 00:02 [apk] 11:32:54 00:02 [sign] 11:32:54 00:02 [sign] 11:32:54 00:02 [bundle] 11:32:54 00:02 [jvm] Invalidated 1 target. 11:32:54 00:02 [create-monolithic-jar] 11:32:54 00:02 [jar-tool] 11:32:55 00:03 [complete] FAILURE STDERR: .Exception caught: (<type 'exceptions.OSError'>) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/pants_exe.py", line 50, in <module> main() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/pants_exe.py", line 44, in main PantsRunner(exiter).run() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/pants_runner.py", line 57, in run options_bootstrapper=options_bootstrapper) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/pants_runner.py", line 46, in _run return LocalPantsRunner(exiter, args, env, options_bootstrapper=options_bootstrapper).run() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/local_pants_runner.py", line 53, in run self._maybe_profiled(self._run) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/local_pants_runner.py", line 50, in _maybe_profiled runner() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/local_pants_runner.py", line 95, in _run result = goal_runner.run() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/goal_runner.py", line 245, in run result = self._execute_engine() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/goal_runner.py", line 234, in _execute_engine result = engine.execute(self._context, self._goals) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/engine/legacy_engine.py", line 26, in execute self.attempt(context, goals) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/engine/round_engine.py", line 224, in attempt goal_executor.attempt(explain) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/engine/round_engine.py", line 47, in attempt task.execute() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/backend/jvm/tasks/bundle_create.py", line 171, in execute self._store_results(vt, bundle_dir, archive_path, app) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/backend/jvm/tasks/bundle_create.py", line 108, in _store_results absolute_symlink(bundle_dir, bundle_copy) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/util/dirutil.py", line 261, in absolute_symlink os.unlink(target_path) Exception message: [Errno 1] Operation not permitted: '/Users/jenkins/slave/workspace/pantsbuild/pants/master/dist/testprojects.src.java.org.pantsbuild.testproject.runner.pants-runner-testproject-bundle' expected:<0> but was:<1>

GitHub | jsirois | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 3615#229979073

    GitHub | 10 months ago | jsirois
    java.lang.AssertionError: Problem running ./pants bundle testprojects/src/java/org/pantsbuild/testproject/runner:pants-runner-testproject - exited with 1: STDOUT: 11:32:52 00:00 [main] (To run a reporting server: ./pants server) 11:32:52 00:00 [setup] 11:32:52 00:00 [parse] Executing tasks in goals: bootstrap -> imports -> unpack-jars -> deferred-sources -> gen -> jvm-platform-validate -> resolve -> resources -> compile -> binary -> apk -> sign -> bundle 11:32:52 00:00 [bootstrap] 11:32:52 00:00 [substitute-aliased-targets] 11:32:52 00:00 [jar-dependency-management] 11:32:52 00:00 [bootstrap-jvm-tools] 11:32:52 00:00 [provide-tools-jar] 11:32:52 00:00 [imports] 11:32:52 00:00 [ivy-imports] 11:32:52 00:00 [unpack-jars] 11:32:52 00:00 [unpack-jars] 11:32:52 00:00 [unpack-libs] 11:32:52 00:00 [deferred-sources] 11:32:52 00:00 [deferred-sources] 11:32:52 00:00 [gen] 11:32:52 00:00 [thrift] 11:32:52 00:00 [protoc] 11:32:52 00:00 [antlr] 11:32:52 00:00 [ragel] 11:32:52 00:00 [jaxb] 11:32:52 00:00 [wire] 11:32:52 00:00 [aapt] 11:32:52 00:00 [go-thrift] 11:32:52 00:00 [scrooge] 11:32:52 00:00 [jvm-platform-validate] 11:32:52 00:00 [jvm-platform-validate] Invalidated 3 targets. 11:32:52 00:00 [resolve] 11:32:52 00:00 [ivy] 11:32:52 00:00 [go] 11:32:52 00:00 [scala-js-compile] 11:32:52 00:00 [scala-js-link] 11:32:52 00:00 [node] 11:32:52 00:00 [resources] 11:32:52 00:00 [prepare] 11:32:52 00:00 [services] 11:32:52 00:00 [compile] 11:32:52 00:00 [compile-jvm-prep-command] 11:32:52 00:00 [jvm_prep_command] 11:32:52 00:00 [compile-prep-command] 11:32:52 00:00 [compile] 11:32:52 00:00 [zinc] Invalidated 2 targets. 11:32:52 00:00 [isolation-zinc-pool-bootstrap] [1/2] Compiling 1 zinc source in 1 target (testprojects/src/java/org/pantsbuild/testproject/runner:dependent-class). 11:32:52 00:00 [compile] 11:32:52 00:00 [zinc] [info] Compiling 1 Java source to /Users/jenkins/slave/workspace/pantsbuild/pants/master/.pants.d/compile/zinc/252d64521cf9/testprojects.src.java.org.pantsbuild.testproject.runner.dependent-class/current/classes... [warn] bootstrap class path not set in conjunction with -source 1.6 [info] Compile success at Jul 1, 2016 11:32:52 AM [0.112s] 11:32:52 00:00 [unused-check] [2/2] Compiling 1 zinc source in 1 target (testprojects/src/java/org/pantsbuild/testproject/runner:main-class). 11:32:52 00:00 [compile] 11:32:52 00:00 [zinc] [info] Compiling 1 Java source to /Users/jenkins/slave/workspace/pantsbuild/pants/master/.pants.d/compile/zinc/252d64521cf9/testprojects.src.java.org.pantsbuild.testproject.runner.main-class/current/classes... [warn] bootstrap class path not set in conjunction with -source 1.6 [info] Compile success at Jul 1, 2016 11:32:53 AM [0.148s] 11:32:53 00:01 [unused-check] 11:32:53 00:01 [jvm-dep-check] 11:32:53 00:01 [checkstyle] Invalidated 2 targets. 11:32:53 00:01 [checkstyle] 11:32:53 00:01 [scalastyle] 11:32:53 00:01 [cpp] 11:32:53 00:01 [findbugs] 11:32:53 00:01 [go] 11:32:53 00:01 [gofmt] 11:32:53 00:01 [python-eval] 11:32:53 00:01 [pythonstyle] 11:32:53 00:01 [binary] 11:32:53 00:01 [binary-jvm-prep-command] 11:32:53 00:01 [jvm_prep_command] 11:32:53 00:01 [binary-prep-command] 11:32:53 00:01 [python-binary-create] 11:32:53 00:01 [jvm] creating dist/pants-runner-testproject.jar 11:32:53 00:01 [create-monolithic-jar] 11:32:53 00:01 [add-internal-classes] 11:32:53 00:01 [add-dependency-jars] 11:32:53 00:01 [cache] 11:32:53 00:01 [bootstrap-jar-tool] 11:32:54 00:02 [jar-tool] 11:32:54 00:02 [dup] 11:32:54 00:02 [dex] 11:32:54 00:02 [cpplib] 11:32:54 00:02 [cpp-library] 11:32:54 00:02 [cpp] 11:32:54 00:02 [cpp-binary] 11:32:54 00:02 [go] 11:32:54 00:02 [apk] 11:32:54 00:02 [apk] 11:32:54 00:02 [sign] 11:32:54 00:02 [sign] 11:32:54 00:02 [bundle] 11:32:54 00:02 [jvm] Invalidated 1 target. 11:32:54 00:02 [create-monolithic-jar] 11:32:54 00:02 [jar-tool] 11:32:55 00:03 [complete] FAILURE STDERR: .Exception caught: (<type 'exceptions.OSError'>) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/pants_exe.py", line 50, in <module> main() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/pants_exe.py", line 44, in main PantsRunner(exiter).run() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/pants_runner.py", line 57, in run options_bootstrapper=options_bootstrapper) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/pants_runner.py", line 46, in _run return LocalPantsRunner(exiter, args, env, options_bootstrapper=options_bootstrapper).run() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/local_pants_runner.py", line 53, in run self._maybe_profiled(self._run) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/local_pants_runner.py", line 50, in _maybe_profiled runner() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/local_pants_runner.py", line 95, in _run result = goal_runner.run() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/goal_runner.py", line 245, in run result = self._execute_engine() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/goal_runner.py", line 234, in _execute_engine result = engine.execute(self._context, self._goals) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/engine/legacy_engine.py", line 26, in execute self.attempt(context, goals) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/engine/round_engine.py", line 224, in attempt goal_executor.attempt(explain) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/engine/round_engine.py", line 47, in attempt task.execute() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/backend/jvm/tasks/bundle_create.py", line 171, in execute self._store_results(vt, bundle_dir, archive_path, app) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/backend/jvm/tasks/bundle_create.py", line 108, in _store_results absolute_symlink(bundle_dir, bundle_copy) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/util/dirutil.py", line 261, in absolute_symlink os.unlink(target_path) Exception message: [Errno 1] Operation not permitted: '/Users/jenkins/slave/workspace/pantsbuild/pants/master/dist/testprojects.src.java.org.pantsbuild.testproject.runner.pants-runner-testproject-bundle' expected:<0> but was:<1>
  2. 0

    TabularToRelationalTest.sampleCsvFilePasses failed (master branch)

    GitHub | 2 years ago | hanecak
    java.lang.AssertionError: Sample CSV should contain 11 entries! expected:<11> but was:<0>
  3. 0

    [TEST-FAILURE] QueueSplitBrainTest.testQueueSplitBrain

    GitHub | 2 years ago | bilalyasar
    java.lang.AssertionError: the size of the cluster is not correct expected:<3> but was:<2>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoSQLUnit MongoDB no results after @UsingDataSet

    Stack Overflow | 2 years ago | Johanneke
    java.lang.AssertionError: Incorrect number of item access logs found. expected:<2> but was:<0>
  6. 0

    GitHub comment 183#77323698

    GitHub | 2 years ago | smarthi
    java.lang.AssertionError: Wrong count of data read expected:<2400> but was:<2315>
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.AssertionError

    Problem running ./pants bundle testprojects/src/java/org/pantsbuild/testproject/runner:pants-runner-testproject - exited with 1: STDOUT: 11:32:52 00:00 [main] (To run a reporting server: ./pants server) 11:32:52 00:00 [setup] 11:32:52 00:00 [parse] Executing tasks in goals: bootstrap -> imports -> unpack-jars -> deferred-sources -> gen -> jvm-platform-validate -> resolve -> resources -> compile -> binary -> apk -> sign -> bundle 11:32:52 00:00 [bootstrap] 11:32:52 00:00 [substitute-aliased-targets] 11:32:52 00:00 [jar-dependency-management] 11:32:52 00:00 [bootstrap-jvm-tools] 11:32:52 00:00 [provide-tools-jar] 11:32:52 00:00 [imports] 11:32:52 00:00 [ivy-imports] 11:32:52 00:00 [unpack-jars] 11:32:52 00:00 [unpack-jars] 11:32:52 00:00 [unpack-libs] 11:32:52 00:00 [deferred-sources] 11:32:52 00:00 [deferred-sources] 11:32:52 00:00 [gen] 11:32:52 00:00 [thrift] 11:32:52 00:00 [protoc] 11:32:52 00:00 [antlr] 11:32:52 00:00 [ragel] 11:32:52 00:00 [jaxb] 11:32:52 00:00 [wire] 11:32:52 00:00 [aapt] 11:32:52 00:00 [go-thrift] 11:32:52 00:00 [scrooge] 11:32:52 00:00 [jvm-platform-validate] 11:32:52 00:00 [jvm-platform-validate] Invalidated 3 targets. 11:32:52 00:00 [resolve] 11:32:52 00:00 [ivy] 11:32:52 00:00 [go] 11:32:52 00:00 [scala-js-compile] 11:32:52 00:00 [scala-js-link] 11:32:52 00:00 [node] 11:32:52 00:00 [resources] 11:32:52 00:00 [prepare] 11:32:52 00:00 [services] 11:32:52 00:00 [compile] 11:32:52 00:00 [compile-jvm-prep-command] 11:32:52 00:00 [jvm_prep_command] 11:32:52 00:00 [compile-prep-command] 11:32:52 00:00 [compile] 11:32:52 00:00 [zinc] Invalidated 2 targets. 11:32:52 00:00 [isolation-zinc-pool-bootstrap] [1/2] Compiling 1 zinc source in 1 target (testprojects/src/java/org/pantsbuild/testproject/runner:dependent-class). 11:32:52 00:00 [compile] 11:32:52 00:00 [zinc] [info] Compiling 1 Java source to /Users/jenkins/slave/workspace/pantsbuild/pants/master/.pants.d/compile/zinc/252d64521cf9/testprojects.src.java.org.pantsbuild.testproject.runner.dependent-class/current/classes... [warn] bootstrap class path not set in conjunction with -source 1.6 [info] Compile success at Jul 1, 2016 11:32:52 AM [0.112s] 11:32:52 00:00 [unused-check] [2/2] Compiling 1 zinc source in 1 target (testprojects/src/java/org/pantsbuild/testproject/runner:main-class). 11:32:52 00:00 [compile] 11:32:52 00:00 [zinc] [info] Compiling 1 Java source to /Users/jenkins/slave/workspace/pantsbuild/pants/master/.pants.d/compile/zinc/252d64521cf9/testprojects.src.java.org.pantsbuild.testproject.runner.main-class/current/classes... [warn] bootstrap class path not set in conjunction with -source 1.6 [info] Compile success at Jul 1, 2016 11:32:53 AM [0.148s] 11:32:53 00:01 [unused-check] 11:32:53 00:01 [jvm-dep-check] 11:32:53 00:01 [checkstyle] Invalidated 2 targets. 11:32:53 00:01 [checkstyle] 11:32:53 00:01 [scalastyle] 11:32:53 00:01 [cpp] 11:32:53 00:01 [findbugs] 11:32:53 00:01 [go] 11:32:53 00:01 [gofmt] 11:32:53 00:01 [python-eval] 11:32:53 00:01 [pythonstyle] 11:32:53 00:01 [binary] 11:32:53 00:01 [binary-jvm-prep-command] 11:32:53 00:01 [jvm_prep_command] 11:32:53 00:01 [binary-prep-command] 11:32:53 00:01 [python-binary-create] 11:32:53 00:01 [jvm] creating dist/pants-runner-testproject.jar 11:32:53 00:01 [create-monolithic-jar] 11:32:53 00:01 [add-internal-classes] 11:32:53 00:01 [add-dependency-jars] 11:32:53 00:01 [cache] 11:32:53 00:01 [bootstrap-jar-tool] 11:32:54 00:02 [jar-tool] 11:32:54 00:02 [dup] 11:32:54 00:02 [dex] 11:32:54 00:02 [cpplib] 11:32:54 00:02 [cpp-library] 11:32:54 00:02 [cpp] 11:32:54 00:02 [cpp-binary] 11:32:54 00:02 [go] 11:32:54 00:02 [apk] 11:32:54 00:02 [apk] 11:32:54 00:02 [sign] 11:32:54 00:02 [sign] 11:32:54 00:02 [bundle] 11:32:54 00:02 [jvm] Invalidated 1 target. 11:32:54 00:02 [create-monolithic-jar] 11:32:54 00:02 [jar-tool] 11:32:55 00:03 [complete] FAILURE STDERR: .Exception caught: (<type 'exceptions.OSError'>) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/pants_exe.py", line 50, in <module> main() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/pants_exe.py", line 44, in main PantsRunner(exiter).run() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/pants_runner.py", line 57, in run options_bootstrapper=options_bootstrapper) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/pants_runner.py", line 46, in _run return LocalPantsRunner(exiter, args, env, options_bootstrapper=options_bootstrapper).run() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/local_pants_runner.py", line 53, in run self._maybe_profiled(self._run) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/local_pants_runner.py", line 50, in _maybe_profiled runner() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/local_pants_runner.py", line 95, in _run result = goal_runner.run() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/goal_runner.py", line 245, in run result = self._execute_engine() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/bin/goal_runner.py", line 234, in _execute_engine result = engine.execute(self._context, self._goals) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/engine/legacy_engine.py", line 26, in execute self.attempt(context, goals) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/engine/round_engine.py", line 224, in attempt goal_executor.attempt(explain) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/engine/round_engine.py", line 47, in attempt task.execute() File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/backend/jvm/tasks/bundle_create.py", line 171, in execute self._store_results(vt, bundle_dir, archive_path, app) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/backend/jvm/tasks/bundle_create.py", line 108, in _store_results absolute_symlink(bundle_dir, bundle_copy) File "/Users/jenkins/slave/workspace/pantsbuild/pants/master/src/python/pants/util/dirutil.py", line 261, in absolute_symlink os.unlink(target_path) Exception message: [Errno 1] Operation not permitted: '/Users/jenkins/slave/workspace/pantsbuild/pants/master/dist/testprojects.src.java.org.pantsbuild.testproject.runner.pants-runner-testproject-bundle' expected:<0> but was:<1>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.failNotEquals(Assert.java:834)
    3. org.junit.Assert.assertEquals(Assert.java:645)
    3 frames
  3. org.pantsbuild.tools
    PantsRunnerTest.setUpClass
    1. org.pantsbuild.tools.runner.PantsRunnerTest.setUpClass(PantsRunnerTest.java:82)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  5. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
    5. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    5 frames
  6. __shaded_by_pants__.org.pantsbuild
    ConcurrentCompositeRequestRunner$1.evaluate
    1. __shaded_by_pants__.org.pantsbuild.tools.junit.impl.CompositeRequestRunner.runChild(CompositeRequestRunner.java:66)
    2. __shaded_by_pants__.org.pantsbuild.tools.junit.impl.ConcurrentCompositeRequestRunner$1$1.run(ConcurrentCompositeRequestRunner.java:37)
    3. __shaded_by_pants__.org.pantsbuild.tools.junit.impl.ConcurrentRunnerScheduler.finished(ConcurrentRunnerScheduler.java:95)
    4. __shaded_by_pants__.org.pantsbuild.tools.junit.impl.ConcurrentCompositeRequestRunner$1.evaluate(ConcurrentCompositeRequestRunner.java:46)
    4 frames
  7. JUnit
    JUnitCore.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    2. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    2 frames
  8. __shaded_by_pants__.org.pantsbuild
    ConsoleRunnerImpl.main
    1. __shaded_by_pants__.org.pantsbuild.tools.junit.impl.ConsoleRunnerImpl.runLegacy(ConsoleRunnerImpl.java:502)
    2. __shaded_by_pants__.org.pantsbuild.tools.junit.impl.ConsoleRunnerImpl.run(ConsoleRunnerImpl.java:420)
    3. __shaded_by_pants__.org.pantsbuild.tools.junit.impl.ConsoleRunnerImpl.main(ConsoleRunnerImpl.java:795)
    3 frames
  9. org.pantsbuild.tools
    ConsoleRunner.main
    1. org.pantsbuild.tools.junit.ConsoleRunner.main(ConsoleRunner.java:12)
    1 frame