Return-Path: X-Original-To: apmail-aurora-issues-archive@minotaur.apache.org Delivered-To: apmail-aurora-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BEE8711FF7 for ; Tue, 15 Jul 2014 17:43:26 +0000 (UTC) Received: (qmail 80222 invoked by uid 500); 15 Jul 2014 17:43:26 -0000 Delivered-To: apmail-aurora-issues-archive@aurora.apache.org Received: (qmail 80187 invoked by uid 500); 15 Jul 2014 17:43:26 -0000 Mailing-List: contact issues-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.incubator.apache.org Delivered-To: mailing list issues@aurora.incubator.apache.org Received: (qmail 80176 invoked by uid 99); 15 Jul 2014 17:43:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2014 17:43:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 15 Jul 2014 17:43:24 +0000 Received: (qmail 76018 invoked by uid 99); 15 Jul 2014 17:43:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2014 17:43:04 +0000 Date: Tue, 15 Jul 2014 17:43:04 +0000 (UTC) From: "Kevin Sweeney (JIRA)" To: issues@aurora.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AURORA-583) test failures due to apparent pants issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Kevin Sweeney created AURORA-583: ------------------------------------ Summary: test failures due to apparent pants issue Key: AURORA-583 URL: https://issues.apache.org/jira/browse/AURORA-583 Project: Aurora Issue Type: Bug Components: Build, Testing Reporter: Kevin Sweeney Priority: Blocker Fix For: 0.5.0 While attempting to cut -rc1 I ran into the following pants issue {noformat} ~/src/apache-aurora-0.5.0-rc1-incubating % ./build-support/jenkins/build.sh + date Tue Jul 15 10:29:42 PDT 2014 + ./gradlew -Pq clean build Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf8 :clean :about :bootstrapThrift UP-TO-DATE :checkPython :generateSources :compileGeneratedJava Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. :processGeneratedResources UP-TO-DATE :generatedClasses :compileJava Note: Writing file:/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/dist/classes/main/com/twitter/common/args/apt/cmdline.arg.info.txt.2 :processResources :classes :jar :assemble :jsHint UP-TO-DATE :checkstyleMain :compileTestJava :processTestResources :testClasses :checkstyleTest :findbugsGenerated :findbugsMain :findbugsTest :licenseGenerated UP-TO-DATE :licenseMain UP-TO-DATE :licenseTest UP-TO-DATE :license UP-TO-DATE :pmdMain :test Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf8 :jacocoTestReport Coverage report generated: file:////Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/dist/reports/jacoco/test/html/index.html :check :build BUILD SUCCESSFUL Total time: 3 mins 24.649 secs + ./pants src/test/python:all -vxs Build operating on top level addresses: set([BuildFileAddress(src/test/python/BUILD, all)]) ========================================================== test session starts =========================================================== platform darwin -- Python 2.6.8 -- py-1.4.21 -- pytest-2.5.2 -- /System/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 plugins: cov, timeout collected 2 items src/test/python/apache/thermos/common/test_pathspec.py:20: test_legacy_task_roots PASSED src/test/python/apache/thermos/common/test_pathspec.py:27: test_legacy_log_dirs PASSED ======================================================== 2 passed in 0.02 seconds ======================================================== Failed to run test! Traceback (most recent call last): File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.7.egg/pants/backend/python/test_builder.py", line 180, in _run_python_tests builder = chroot.dump() File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.7.egg/pants/backend/python/python_chroot.py", line 187, in dump conn_timeout=self._conn_timeout) File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.deps/pantsbuild.pants-0.0.17-py2.7.egg/pants/backend/python/resolver.py", line 100, in resolve_multi platform=platform) File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.deps/twitter.common.python-0.5.8-py2.7.egg/twitter/common/python/resolver.py", line 107, in resolve new_requirements.update(requires(highest_package, requirement)) File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.deps/twitter.common.python-0.5.8-py2.7.egg/twitter/common/python/resolver.py", line 79, in requires dist = obtainer.obtain(package) File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.deps/twitter.common.python-0.5.8-py2.7.egg/twitter/common/python/obtainer.py", line 158, in obtain dist = super(CachingObtainer, self).obtain(req_or_package) File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.deps/twitter.common.python-0.5.8-py2.7.egg/twitter/common/python/obtainer.py", line 108, in obtain return self._translate_from([req_or_package]) File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.deps/twitter.common.python-0.5.8-py2.7.egg/twitter/common/python/obtainer.py", line 96, in _translate_from dist = self._translator.translate(package) File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.deps/twitter.common.python-0.5.8-py2.7.egg/twitter/common/python/translator.py", line 44, in translate dist = tx.translate(package) File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.deps/twitter.common.python-0.5.8-py2.7.egg/twitter/common/python/translator.py", line 116, in translate return DistributionHelper.distribution_from_path(target_path) File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.deps/twitter.common.python-0.5.8-py2.7.egg/twitter/common/python/util.py", line 50, in distribution_from_path distributions = list(find_distributions(path)) File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.deps/twitter.common.python-0.5.8-py2.7.egg/twitter/common/python/finders.py", line 61, in __call__ for dist in finder(importer, path_item, only=only): File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.deps/twitter.common.python-0.5.8-py2.7.egg/twitter/common/python/finders.py", line 203, in find_wheels_in_zip dist = wheel_from_metadata(path_item, metadata) File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.deps/twitter.common.python-0.5.8-py2.7.egg/twitter/common/python/finders.py", line 165, in wheel_from_metadata pkg_info = Parser().parsestr(metadata.get_metadata(pkg_resources.DistInfoDistribution.PKG_INFO)) File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.bootstrap/pkg_resources.py", line 1405, in get_metadata return self._get(self._fn(self.egg_info, name)) File "/Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/build-support/pants-0.0.17.pex/.bootstrap/pkg_resources.py", line 1469, in _get return self.loader.get_data(path) ZipImportError: bad local file header in /Users/ksweeney/src/apache-aurora-0.5.0-rc1-incubating/.pants.d/python/eggs/coverage-3.7.1-cp26-none-macosx_10_9_intel.whl src.test.python.apache.aurora.client.hooks.non_hooked_api ..... EXCEPTION src.test.python.apache.thermos.common.test_pathspec ..... SUCCESS {noformat} Looks like pants is building a corrupt coverage wheel somehow? Rerunning it I get the same error consistently. -- This message was sent by Atlassian JIRA (v6.2#6252)