Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- =================================== FAILURES ===================================
- ______________ TestBinaryCreate.test_jvm_binaries_deploy_excludes ______________
- this = <pants.java.nailgun_executor.NailgunExecutor._runner.<locals>.Runner object at 0x7bd54a5a8b70>
- stdout = <_pytest.capture.EncodedFile object at 0x7f089dc01080>
- stderr = <_pytest.capture.EncodedFile object at 0x7f089dc01080>, stdin = None
- cwd = None
- def run(this, stdout=None, stderr=None, stdin=None, cwd=None):
- nailgun = None
- try:
- > nailgun = self._get_nailgun_client(jvm_options, classpath, stdout, stderr, stdin)
- pants/java/nailgun_executor.py:146:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <pants.java.nailgun_executor.NailgunExecutor object at 0x7f0898496cf8>
- jvm_options = ['-Xmx256m']
- classpath = ['/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/bootstrap_jvm_tools/7c0a62077e8f/ivy/jars/com.martiansoftware/nailgun-server/ja...tmp5qk5ersx_BUILD_ROOT/.pants.d/bootstrap_jvm_tools/7c0a62077e8f/ivy/jars/org.pantsbuild/args4j/jars/args4j-0.0.9.jar']
- stdout = <_pytest.capture.EncodedFile object at 0x7f089dc01080>
- stderr = <_pytest.capture.EncodedFile object at 0x7f089dc01080>, stdin = None
- def _get_nailgun_client(self, jvm_options, classpath, stdout, stderr, stdin):
- """This (somewhat unfortunately) is the main entrypoint to this class via the Runner. It handles
- creation of the running nailgun server as well as creation of the client."""
- classpath = self._nailgun_classpath + classpath
- new_fingerprint = self._fingerprint(jvm_options, classpath, self._distribution.version)
- with self._NAILGUN_SPAWN_LOCK:
- running, updated = self._check_nailgun_state(new_fingerprint)
- if running and updated:
- logger.debug('Found running nailgun server that needs updating, killing {server}'
- .format(server=self._identity))
- self.terminate()
- if (not running) or (running and updated):
- > return self._spawn_nailgun_server(new_fingerprint, jvm_options, classpath, stdout, stderr, stdin)
- pants/java/nailgun_executor.py:184:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <pants.java.nailgun_executor.NailgunExecutor object at 0x7f0898496cf8>
- fingerprint = '31e7c3b213a1b6bffd543917b70b9c3f45b44e7f'
- jvm_options = ['-Xmx256m', '-Dpants.buildroot=/home/travis/build/pantsbuild/pants', '-Dpants.nailgun.owner=/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/ng/test_BinaryCreate_test_scope', '-Dpants.nailgun.fingerprint=31e7c3b213a1b6bffd543917b70b9c3f45b44e7f']
- classpath = ['/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/bootstrap_jvm_tools/7c0a62077e8f/ivy/jars/com.martiansoftware/nailgun-server/ja...tmp5qk5ersx_BUILD_ROOT/.pants.d/bootstrap_jvm_tools/7c0a62077e8f/ivy/jars/org.pantsbuild/args4j/jars/args4j-0.0.9.jar']
- stdout = <_pytest.capture.EncodedFile object at 0x7f089dc01080>
- stderr = <_pytest.capture.EncodedFile object at 0x7f089dc01080>, stdin = None
- def _spawn_nailgun_server(self, fingerprint, jvm_options, classpath, stdout, stderr, stdin):
- """Synchronously spawn a new nailgun server."""
- # Truncate the nailguns stdout & stderr.
- safe_file_dump(self._ng_stdout, b'', mode='wb')
- safe_file_dump(self._ng_stderr, b'', mode='wb')
- jvm_options = jvm_options + [self._PANTS_NG_BUILDROOT_ARG,
- self._create_owner_arg(self._workdir),
- self._create_fingerprint_arg(fingerprint)]
- post_fork_child_opts = dict(fingerprint=fingerprint,
- jvm_options=jvm_options,
- classpath=classpath,
- stdout=stdout,
- stderr=stderr)
- logger.debug('Spawning nailgun server {i} with fingerprint={f}, jvm_options={j}, classpath={cp}'
- .format(i=self._identity, f=fingerprint, j=jvm_options, cp=classpath))
- self.daemon_spawn(post_fork_child_opts=post_fork_child_opts)
- # Wait for and write the port information in the parent so we can bail on exception/timeout.
- self.await_pid(self._startup_timeout)
- > self.write_socket(self._await_socket(self._connect_timeout))
- pants/java/nailgun_executor.py:267:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <pants.java.nailgun_executor.NailgunExecutor object at 0x7f0898496cf8>
- timeout = 10
- def _await_socket(self, timeout):
- """Blocks for the nailgun subprocess to bind and emit a listening port in the nailgun stdout."""
- with safe_open(self._ng_stdout, 'r') as ng_stdout:
- start_time = time.time()
- accumulated_stdout = ''
- while 1:
- # TODO: share the decreasing timeout logic here with NailgunProtocol.iter_chunks() by adding
- # a method to pants.util.contextutil!
- remaining_time = time.time() - (start_time + timeout)
- if remaining_time > 0:
- stderr = read_file(self._ng_stderr, binary_mode=True)
- raise self.InitialNailgunConnectTimedOut(
- timeout=timeout,
- stdout=accumulated_stdout,
- > stderr=stderr,
- )
- E pants.java.nailgun_executor.NailgunExecutor.InitialNailgunConnectTimedOut: Failed to read nailgun output after 10 seconds!
- E Stdout:
- E
- E Stderr:
- E b''
- pants/java/nailgun_executor.py:213: InitialNailgunConnectTimedOut
- During handling of the above exception, another exception occurred:
- self = <abc.test_BinaryCreate_test_scope object at 0x7bd54a613b00>
- classpath = ['/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/bootstrap_jvm_tools/7c0a62077e8f/ivy/jars/org.pantsbuild/jar-tool/jars/jar-tool...tmp5qk5ersx_BUILD_ROOT/.pants.d/bootstrap_jvm_tools/7c0a62077e8f/ivy/jars/org.pantsbuild/args4j/jars/args4j-0.0.9.jar']
- main = 'org.pantsbuild.tools.jar.Main', jvm_options = ['-Xmx256m']
- args = ['-files=/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/pants_backend_jvm_tasks_binary_create_BinaryCreate/bar.bar-binary/tmpd1o...t_action=SKIP', '-skip=^META-INF/[^/]+\\.SF$,^META-INF/[^/]+\\.DSA$,^META-INF/[^/]+\\.RSA$,^META-INF/INDEX.LIST$', ...]
- workunit_name = 'jar-tool'
- workunit_labels = ['TOOL', 'JVM', 'NAILGUN', 'SUPPRESS_LABEL']
- workunit_log_config = None, dist = None
- def runjava(self, classpath, main, jvm_options=None, args=None, workunit_name=None,
- workunit_labels=None, workunit_log_config=None, dist=None):
- """Runs the java main using the given classpath and args.
- If --execution-strategy=subprocess is specified then the java main is run in a freshly spawned
- subprocess, otherwise a persistent nailgun server dedicated to this Task subclass is used to
- speed up amortized run times.
- :API: public
- """
- executor = self.create_java_executor(dist=dist)
- # Creating synthetic jar to work around system arg length limit is not necessary
- # when `NailgunExecutor` is used because args are passed through socket, therefore turning off
- # creating synthetic jar if nailgun is used.
- create_synthetic_jar = self.execution_strategy != self.NAILGUN
- try:
- return util.execute_java(classpath=classpath,
- main=main,
- jvm_options=jvm_options,
- args=args,
- executor=executor,
- workunit_factory=self.context.new_workunit,
- workunit_name=workunit_name,
- workunit_labels=workunit_labels,
- workunit_log_config=workunit_log_config,
- create_synthetic_jar=create_synthetic_jar,
- > synthetic_jar_dir=self._executor_workdir)
- pants/backend/jvm/tasks/nailgun_task.py:121:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- classpath = ['/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/bootstrap_jvm_tools/7c0a62077e8f/ivy/jars/org.pantsbuild/jar-tool/jars/jar-tool...tmp5qk5ersx_BUILD_ROOT/.pants.d/bootstrap_jvm_tools/7c0a62077e8f/ivy/jars/org.pantsbuild/args4j/jars/args4j-0.0.9.jar']
- main = 'org.pantsbuild.tools.jar.Main', jvm_options = ['-Xmx256m']
- args = ['-files=/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/pants_backend_jvm_tasks_binary_create_BinaryCreate/bar.bar-binary/tmpd1o...t_action=SKIP', '-skip=^META-INF/[^/]+\\.SF$,^META-INF/[^/]+\\.DSA$,^META-INF/[^/]+\\.RSA$,^META-INF/INDEX.LIST$', ...]
- executor = <pants.java.nailgun_executor.NailgunExecutor object at 0x7f0898496cf8>
- workunit_factory = <bound method TestContext.new_workunit of <pants_test.base.context_utils.TestContext object at 0x7f089401fd68>>
- workunit_name = 'jar-tool'
- workunit_labels = ['TOOL', 'JVM', 'NAILGUN', 'SUPPRESS_LABEL'], cwd = None
- workunit_log_config = None, distribution = None, create_synthetic_jar = False
- synthetic_jar_dir = '/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/ng/test_BinaryCreate_test_scope'
- stdin = None
- def execute_java(classpath, main, jvm_options=None, args=None, executor=None,
- workunit_factory=None, workunit_name=None, workunit_labels=None,
- cwd=None, workunit_log_config=None, distribution=None,
- create_synthetic_jar=True, synthetic_jar_dir=None, stdin=None):
- """Executes the java program defined by the classpath and main.
- If `workunit_factory` is supplied, does so in the context of a workunit.
- :param list classpath: the classpath for the java program
- :param string main: the fully qualified class name of the java program's entry point
- :param list jvm_options: an optional sequence of options for the underlying jvm
- :param list args: an optional sequence of args to pass to the java program
- :param executor: an optional java executor to use to launch the program; defaults to a subprocess
- spawn of the default java distribution
- :param workunit_factory: an optional callable that can produce a workunit context
- :param string workunit_name: an optional name for the work unit; defaults to the main
- :param list workunit_labels: an optional sequence of labels for the work unit
- :param string cwd: optionally set the working directory
- :param WorkUnit.LogConfig workunit_log_config: an optional tuple of options affecting reporting
- :param bool create_synthetic_jar: whether to create a synthentic jar that includes the original
- classpath in its manifest.
- :param string synthetic_jar_dir: an optional directory to store the synthetic jar, if `None`
- a temporary directory will be provided and cleaned up upon process exit.
- :param file stdin: The stdin handle to use: by default None, meaning that stdin will
- not be propagated into the process.
- Returns the exit code of the java program.
- Raises `pants.java.Executor.Error` if there was a problem launching java itself.
- """
- runner = _get_runner(classpath, main, jvm_options, args, executor, cwd, distribution,
- create_synthetic_jar, synthetic_jar_dir)
- workunit_name = workunit_name or main
- return execute_runner(runner,
- workunit_factory=workunit_factory,
- workunit_name=workunit_name,
- workunit_labels=workunit_labels,
- workunit_log_config=workunit_log_config,
- > stdin=stdin)
- pants/java/util.py:80:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- runner = <pants.java.nailgun_executor.NailgunExecutor._runner.<locals>.Runner object at 0x7bd54a5a8b70>
- workunit_factory = <bound method TestContext.new_workunit of <pants_test.base.context_utils.TestContext object at 0x7f089401fd68>>
- workunit_name = 'jar-tool'
- workunit_labels = ['TOOL', 'NAILGUN', 'TOOL', 'JVM', 'NAILGUN', 'SUPPRESS_LABEL']
- workunit_log_config = None, stdin = None
- def execute_runner(runner, workunit_factory=None, workunit_name=None, workunit_labels=None,
- workunit_log_config=None, stdin=None):
- """Executes the given java runner.
- If `workunit_factory` is supplied, does so in the context of a workunit.
- :param runner: the java runner to run
- :param workunit_factory: an optional callable that can produce a workunit context
- :param string workunit_name: an optional name for the work unit; defaults to the main
- :param list workunit_labels: an optional sequence of labels for the work unit
- :param WorkUnit.LogConfig workunit_log_config: an optional tuple of task options affecting reporting
- :param file stdin: The stdin handle to use: by default None, meaning that stdin will
- not be propagated into the process.
- Returns the exit code of the java runner.
- Raises `pants.java.Executor.Error` if there was a problem launching java itself.
- """
- if not isinstance(runner, Executor.Runner):
- raise ValueError('The runner argument must be a java Executor.Runner instance, '
- 'given {} of type {}'.format(runner, type(runner)))
- if workunit_factory is None:
- return runner.run(stdin=stdin)
- else:
- workunit_labels = [
- WorkUnitLabel.TOOL,
- WorkUnitLabel.NAILGUN if isinstance(runner.executor, NailgunExecutor) else WorkUnitLabel.JVM
- ] + (workunit_labels or [])
- with workunit_factory(name=workunit_name, labels=workunit_labels,
- cmd=runner.cmd, log_config=workunit_log_config) as workunit:
- ret = runner.run(stdout=workunit.output('stdout'),
- stderr=workunit.output('stderr'),
- > stdin=stdin)
- pants/java/util.py:156:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- this = <pants.java.nailgun_executor.NailgunExecutor._runner.<locals>.Runner object at 0x7bd54a5a8b70>
- stdout = <_pytest.capture.EncodedFile object at 0x7f089dc01080>
- stderr = <_pytest.capture.EncodedFile object at 0x7f089dc01080>, stdin = None
- cwd = None
- def run(this, stdout=None, stderr=None, stdin=None, cwd=None):
- nailgun = None
- try:
- nailgun = self._get_nailgun_client(jvm_options, classpath, stdout, stderr, stdin)
- logger.debug('Executing via {ng_desc}: {cmd}'.format(ng_desc=nailgun, cmd=this.cmd))
- return nailgun.execute(main, cwd, *args)
- except (NailgunClient.NailgunError, self.InitialNailgunConnectTimedOut) as e:
- self.terminate()
- raise self.Error('Problem launching via {ng_desc} command {main} {args}: {msg}'
- .format(ng_desc=nailgun or '<no nailgun connection>',
- main=main,
- args=' '.join(args),
- > msg=e))
- E pants.java.executor.Executor.Error: Problem launching via <no nailgun connection> command org.pantsbuild.tools.jar.Main -files=/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/pants_backend_jvm_tasks_binary_create_BinaryCreate/bar.bar-binary/tmpd1o0zr68/bar.txt=bar.txt,/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/pants_backend_jvm_tasks_binary_create_BinaryCreate/bar.bar-binary/tmpd1o0zr68/Bar.class=Bar.class -jars=/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/org.example-foo-1.0.0.jar -update=false -compress=true -default_action=SKIP -skip=^META-INF/[^/]+\.SF$,^META-INF/[^/]+\.DSA$,^META-INF/[^/]+\.RSA$,^META-INF/INDEX.LIST$ -policies=^META-INF/services/=CONCAT_TEXT /tmp/tmp5qk5ersx_BUILD_ROOT/dist/bar-binary.jar: Failed to read nailgun output after 10 seconds!
- E Stdout:
- E
- E Stderr:
- E b''
- pants/java/nailgun_executor.py:155: Error
- During handling of the above exception, another exception occurred:
- self = <pants_test.backend.jvm.tasks.test_binary_create.TestBinaryCreate testMethod=test_jvm_binaries_deploy_excludes>
- def test_jvm_binaries_deploy_excludes(self):
- self.add_to_build_file(
- '3rdparty/jvm/org/example',
- 'jar_library(name = "foo", jars = [jar(org = "org.example", name = "foo", rev = "1.0.0")])',
- )
- foo_jar_lib = self.target('3rdparty/jvm/org/example:foo')
- self.add_to_build_file(
- 'bar',
- '''jvm_binary(
- name = "bar-binary",
- source = "Bar.java",
- dependencies = ["3rdparty/jvm/org/example:foo"],
- deploy_excludes = [exclude(org = "org.pantsbuild")],
- )'''
- )
- binary_target = self.target('//bar:bar-binary')
- context = self.context(target_roots=[binary_target])
- classpath_products = self.ensure_classpath_products(context)
- foo_artifact = self.create_artifact(org='org.example', name='foo', rev='1.0.0')
- with open_zip(foo_artifact.pants_path, 'w') as jar:
- jar.writestr('foo/Foo.class', '')
- baz_artifact = self.create_artifact(org='org.pantsbuild', name='baz', rev='2.0.0')
- with open_zip(baz_artifact.pants_path, 'w') as jar:
- # This file should not be included in the binary jar since org.pantsbuild is deploy excluded.
- jar.writestr('baz/Baz.class', '')
- classpath_products.add_jars_for_targets(targets=[foo_jar_lib],
- conf='default',
- resolved_jars=[foo_artifact, baz_artifact])
- self.add_to_runtime_classpath(context, binary_target, {'Bar.class': '', 'bar.txt': ''})
- > self.execute(context)
- pants_test/backend/jvm/tasks/test_binary_create.py:88:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- pants_test/jvm/jvm_tool_task_test_base.py:122: in execute
- task.execute()
- pants/backend/jvm/tasks/binary_create.py:29: in execute
- self.create_binary(binary)
- pants/backend/jvm/tasks/binary_create.py:39: in create_binary
- self.add_main_manifest_entry(jar, binary)
- /opt/pyenv/versions/3.6.7/lib/python3.6/contextlib.py:88: in __exit__
- next(self.gen)
- pants/backend/jvm/tasks/jvm_binary_task.py:107: in monolithic_jar
- yield monolithic_jar
- /opt/pyenv/versions/3.6.7/lib/python3.6/contextlib.py:88: in __exit__
- next(self.gen)
- pants/backend/jvm/tasks/jar_task.py:360: in open_jar
- if JarTool.global_instance().run(context=self.context, runjava=self.runjava, args=args):
- pants/backend/jvm/subsystems/jar_tool.py:33: in run
- WorkUnitLabel.NAILGUN, WorkUnitLabel.SUPPRESS_LABEL])
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <abc.test_BinaryCreate_test_scope object at 0x7bd54a613b00>
- classpath = ['/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/bootstrap_jvm_tools/7c0a62077e8f/ivy/jars/org.pantsbuild/jar-tool/jars/jar-tool...tmp5qk5ersx_BUILD_ROOT/.pants.d/bootstrap_jvm_tools/7c0a62077e8f/ivy/jars/org.pantsbuild/args4j/jars/args4j-0.0.9.jar']
- main = 'org.pantsbuild.tools.jar.Main', jvm_options = ['-Xmx256m']
- args = ['-files=/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/pants_backend_jvm_tasks_binary_create_BinaryCreate/bar.bar-binary/tmpd1o...t_action=SKIP', '-skip=^META-INF/[^/]+\\.SF$,^META-INF/[^/]+\\.DSA$,^META-INF/[^/]+\\.RSA$,^META-INF/INDEX.LIST$', ...]
- workunit_name = 'jar-tool'
- workunit_labels = ['TOOL', 'JVM', 'NAILGUN', 'SUPPRESS_LABEL']
- workunit_log_config = None, dist = None
- def runjava(self, classpath, main, jvm_options=None, args=None, workunit_name=None,
- workunit_labels=None, workunit_log_config=None, dist=None):
- """Runs the java main using the given classpath and args.
- If --execution-strategy=subprocess is specified then the java main is run in a freshly spawned
- subprocess, otherwise a persistent nailgun server dedicated to this Task subclass is used to
- speed up amortized run times.
- :API: public
- """
- executor = self.create_java_executor(dist=dist)
- # Creating synthetic jar to work around system arg length limit is not necessary
- # when `NailgunExecutor` is used because args are passed through socket, therefore turning off
- # creating synthetic jar if nailgun is used.
- create_synthetic_jar = self.execution_strategy != self.NAILGUN
- try:
- return util.execute_java(classpath=classpath,
- main=main,
- jvm_options=jvm_options,
- args=args,
- executor=executor,
- workunit_factory=self.context.new_workunit,
- workunit_name=workunit_name,
- workunit_labels=workunit_labels,
- workunit_log_config=workunit_log_config,
- create_synthetic_jar=create_synthetic_jar,
- synthetic_jar_dir=self._executor_workdir)
- except executor.Error as e:
- > raise TaskError(e)
- E pants.base.exceptions.TaskError: Problem launching via <no nailgun connection> command org.pantsbuild.tools.jar.Main -files=/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/pants_backend_jvm_tasks_binary_create_BinaryCreate/bar.bar-binary/tmpd1o0zr68/bar.txt=bar.txt,/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/pants_backend_jvm_tasks_binary_create_BinaryCreate/bar.bar-binary/tmpd1o0zr68/Bar.class=Bar.class -jars=/tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/org.example-foo-1.0.0.jar -update=false -compress=true -default_action=SKIP -skip=^META-INF/[^/]+\.SF$,^META-INF/[^/]+\.DSA$,^META-INF/[^/]+\.RSA$,^META-INF/INDEX.LIST$ -policies=^META-INF/services/=CONCAT_TEXT /tmp/tmp5qk5ersx_BUILD_ROOT/dist/bar-binary.jar: Failed to read nailgun output after 10 seconds!
- E Stdout:
- E
- E Stderr:
- E b''
- pants/backend/jvm/tasks/nailgun_task.py:123: TaskError
- ----------------------------- Captured stderr call -----------------------------
- Starting workunit create-monolithic-jar
- Starting workunit add-internal-classes
- Starting workunit add-dependency-jars
- Starting workunit cache
- .
- Starting workunit bootstrap-jar-tool
- :: loading settings :: url = jar:file:/home/travis/.ivy2/pants/org.apache.ivy/ivy/jars/ivy-2.4.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
- :: resolving dependencies :: internal#42f1fedb02831e5a4cb63034fb17bbb5d4a52248-IvyResolveFingerprintStrategy_76d7a3f2dc89-fetch;working@travis-job-2a99c987-cee3-47df-b1e9-8aedf733143a
- confs: [default]
- found org.pantsbuild#jar-tool;0.0.10 in default
- found args4j#args4j;2.32 in default
- found com.google.code.findbugs#jsr305;3.0.0 in default
- found com.google.guava#guava;18.0 in default
- found org.pantsbuild#args4j;0.0.9 in default
- :: resolution report :: resolve 429ms :: artifacts dl 30ms
- ---------------------------------------------------------------------
- | | modules || artifacts |
- | conf | number| search|dwnlded|evicted|| number|dwnlded|
- ---------------------------------------------------------------------
- | default | 5 | 0 | 0 | 0 || 5 | 0 |
- ---------------------------------------------------------------------
- cachepath output to /tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/bootstrap_jvm_tools/7c0a62077e8f/ivy/42f1fedb02831e5a4cb63034fb17bbb5d4a52248-IvyResolveFingerprintStrategy_76d7a3f2dc89/classpath.raw.tmp.6118249be57640dc845fdb36dff95f90
- WorkUnit outcome: SUCCESS
- Starting workunit cache
- .
- Starting workunit bootstrap-nailgun-server
- :: loading settings :: url = jar:file:/home/travis/.ivy2/pants/org.apache.ivy/ivy/jars/ivy-2.4.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
- :: resolving dependencies :: internal#c109bfa74ccd26cbc0a32b4145338ab536124702-IvyResolveFingerprintStrategy_76d7a3f2dc89-fetch;working@travis-job-2a99c987-cee3-47df-b1e9-8aedf733143a
- confs: [default]
- found com.martiansoftware#nailgun-server;0.9.1 in default
- :: resolution report :: resolve 140ms :: artifacts dl 4ms
- ---------------------------------------------------------------------
- | | modules || artifacts |
- | conf | number| search|dwnlded|evicted|| number|dwnlded|
- ---------------------------------------------------------------------
- | default | 1 | 0 | 0 | 0 || 1 | 0 |
- ---------------------------------------------------------------------
- cachepath output to /tmp/tmp5qk5ersx_BUILD_ROOT/.pants.d/bootstrap_jvm_tools/7c0a62077e8f/ivy/c109bfa74ccd26cbc0a32b4145338ab536124702-IvyResolveFingerprintStrategy_76d7a3f2dc89/classpath.raw.tmp.6fbfa068d5ee45c5a41d56e4170bc50d
- WorkUnit outcome: SUCCESS
- Starting workunit jar-tool
- ===================== 1 failed, 1 passed in 18.63 seconds ======================
- tests/python/pants_test/backend/jvm/tasks:binary_create stderr:
- /home/travis/build/pantsbuild/pants/.pants.d/process-executionspLTWm/pytest-with-requirements.pex/.bootstrap/pex/environment.py:330: PEXWarning: The `pkg_resources` package was loaded from a pex vendored version when declaring namespace packages defined by twitter.common.confluence 0.3.11. The twitter.common.confluence 0.3.11 distribution should fix its `install_requires` to include `setuptools`
- tests/python/pants_test/backend/jvm/tasks:bootstrap_jvm_tools stdout:
- ============================= test session starts ==============================
- platform linux -- Python 3.6.7, pytest-3.6.4, py-1.8.0, pluggy-0.7.1
- rootdir: /home/travis/build/pantsbuild/pants/.pants.d/process-execution2NKdX0, inifile:
- plugins: cov-2.4.0, timeout-1.2.1
- collected 5 items
- pants_test/backend/jvm/tasks/test_bootstrap_jvm_tools.py ..... [100%]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement