You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Bill Farner (JIRA)" <ji...@apache.org> on 2014/05/28 03:16:02 UTC

[jira] [Resolved] (AURORA-482) Frequent transient errors running python tests

     [ https://issues.apache.org/jira/browse/AURORA-482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Farner resolved AURORA-482.
--------------------------------

    Resolution: Duplicate

> Frequent transient errors running python tests
> ----------------------------------------------
>
>                 Key: AURORA-482
>                 URL: https://issues.apache.org/jira/browse/AURORA-482
>             Project: Aurora
>          Issue Type: Story
>          Components: Testing
>            Reporter: Kevin Sweeney
>            Priority: Critical
>
> I get this stack trace pretty much anytime I try a clean build, then re-run the pants command and have tests pass. I suspect there's some cache invalidation races going on here.
> {noformat}
> Traceback (most recent call last):
>   File "/home/ksweeney/.pex/install/twitter.pants-0.0.23-py2-none-any.whl.43ba1ea2658c9c6cead0dacfb32a3ee8bf9c140c/twitter.pants-0.0.23-py2-none-any.whl/twitter/pants/python/test_builder.py", line 204, in _run_python_test
>     builder = chroot.dump()
>   File "/home/ksweeney/.pex/install/twitter.pants-0.0.23-py2-none-any.whl.43ba1ea2658c9c6cead0dacfb32a3ee8bf9c140c/twitter.pants-0.0.23-py2-none-any.whl/twitter/pants/python/python_chroot.py", line 201, in dump
>     platforms=platforms)
>   File "/home/ksweeney/.pex/install/twitter.pants-0.0.23-py2-none-any.whl.43ba1ea2658c9c6cead0dacfb32a3ee8bf9c140c/twitter.pants-0.0.23-py2-none-any.whl/twitter/pants/python/resolver.py", line 109, in resolve_multi
>     platform=platform)
>   File "/home/ksweeney/.pex/install/twitter.common.python-0.5.6-py2-none-any.whl.4f8c7b255333f2398b1dbb1621bf5a1175a43fe3/twitter.common.python-0.5.6-py2-none-any.whl/twitter/common/python/resolver.py", line 107, in resolve
>     new_requirements.update(requires(highest_package, requirement))
>   File "/home/ksweeney/.pex/install/twitter.common.python-0.5.6-py2-none-any.whl.4f8c7b255333f2398b1dbb1621bf5a1175a43fe3/twitter.common.python-0.5.6-py2-none-any.whl/twitter/common/python/resolver.py", line 79, in requires
>     dist = obtainer.obtain(package)
>   File "/home/ksweeney/.pex/install/twitter.common.python-0.5.6-py2-none-any.whl.4f8c7b255333f2398b1dbb1621bf5a1175a43fe3/twitter.common.python-0.5.6-py2-none-any.whl/twitter/common/python/obtainer.py", line 158, in obtain
>     dist = super(CachingObtainer, self).obtain(req_or_package)
>   File "/home/ksweeney/.pex/install/twitter.common.python-0.5.6-py2-none-any.whl.4f8c7b255333f2398b1dbb1621bf5a1175a43fe3/twitter.common.python-0.5.6-py2-none-any.whl/twitter/common/python/obtainer.py", line 108, in obtain
>     return self._translate_from([req_or_package])
>   File "/home/ksweeney/.pex/install/twitter.common.python-0.5.6-py2-none-any.whl.4f8c7b255333f2398b1dbb1621bf5a1175a43fe3/twitter.common.python-0.5.6-py2-none-any.whl/twitter/common/python/obtainer.py", line 96, in _translate_from
>     dist = self._translator.translate(package)
>   File "/home/ksweeney/.pex/install/twitter.common.python-0.5.6-py2-none-any.whl.4f8c7b255333f2398b1dbb1621bf5a1175a43fe3/twitter.common.python-0.5.6-py2-none-any.whl/twitter/common/python/translator.py", line 44, in translate
>     dist = tx.translate(package)
>   File "/home/ksweeney/.pex/install/twitter.common.python-0.5.6-py2-none-any.whl.4f8c7b255333f2398b1dbb1621bf5a1175a43fe3/twitter.common.python-0.5.6-py2-none-any.whl/twitter/common/python/translator.py", line 116, in translate
>     return DistributionHelper.distribution_from_path(target_path)
>   File "/home/ksweeney/.pex/install/twitter.common.python-0.5.6-py2-none-any.whl.4f8c7b255333f2398b1dbb1621bf5a1175a43fe3/twitter.common.python-0.5.6-py2-none-any.whl/twitter/common/python/util.py", line 50, in distribution_from_path
>     distributions = list(find_distributions(path))
>   File "/home/ksweeney/.pex/install/twitter.common.python-0.5.6-py2-none-any.whl.4f8c7b255333f2398b1dbb1621bf5a1175a43fe3/twitter.common.python-0.5.6-py2-none-any.whl/twitter/common/python/finders.py", line 61, in __call__
>     for dist in finder(importer, path_item, only=only):
>   File "/home/ksweeney/.pex/install/twitter.common.python-0.5.6-py2-none-any.whl.4f8c7b255333f2398b1dbb1621bf5a1175a43fe3/twitter.common.python-0.5.6-py2-none-any.whl/twitter/common/python/finders.py", line 203, in find_wheels_in_zip
>     dist = wheel_from_metadata(path_item, metadata)
>   File "/home/ksweeney/.pex/install/twitter.common.python-0.5.6-py2-none-any.whl.4f8c7b255333f2398b1dbb1621bf5a1175a43fe3/twitter.common.python-0.5.6-py2-none-any.whl/twitter/common/python/finders.py", line 165, in wheel_from_metadata
>     pkg_info = Parser().parsestr(metadata.get_metadata(pkg_resources.DistInfoDistribution.PKG_INFO))
>   File "/home/ksweeney/workspace/aurora/build-support/pants-0.0.23.pex/.bootstrap/pkg_resources.py", line 1361, in get_metadata
>     return self._get(self._fn(self.egg_info, name))
>   File "/home/ksweeney/workspace/aurora/build-support/pants-0.0.23.pex/.bootstrap/pkg_resources.py", line 1425, in _get
>     return self.loader.get_data(path)
> ZipImportError: bad local file header in /home/ksweeney/workspace/aurora/.pants.d/python/eggs/thrift-0.9.1-cp26-none-linux_x86_64.whl
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)