See <https://builds.apache.org/job/beam_PostCommit_Python_Verify/4445/display/redirect>
------------------------------------------ [...truncated 294.33 KB...] +import hamcrest as hc from apache_beam.metrics.cells import DistributionData from apache_beam.metrics.cells import DistributionResult from apache_beam.metrics.execution import MetricKey ERROR: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/direct_metrics_test.py> Imports are incorrectly sorted. --- <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/direct_metrics_test.py>:before 2018-01-24 00:22:36.899312 +++ <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/direct/direct_metrics_test.py>:after 2018-03-16 21:58:17.518353 @@ -18,7 +18,6 @@ import unittest import hamcrest as hc - from apache_beam.metrics.cells import DistributionData from apache_beam.metrics.cells import DistributionResult from apache_beam.metrics.execution import MetricKey ERROR: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/dataflow/internal/clients/dataflow/message_matchers_test.py> Imports are incorrectly sorted. --- <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/dataflow/internal/clients/dataflow/message_matchers_test.py>:before 2018-01-24 00:22:36.879312 +++ <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/runners/dataflow/internal/clients/dataflow/message_matchers_test.py>:after 2018-03-16 21:58:18.304872 @@ -16,9 +16,8 @@ # import unittest +import apache_beam.runners.dataflow.internal.clients.dataflow as dataflow import hamcrest as hc - -import apache_beam.runners.dataflow.internal.clients.dataflow as dataflow from apache_beam.internal.gcp.json_value import to_json_value from apache_beam.runners.dataflow.internal.clients.dataflow import message_matchers ERROR: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/examples/wordcount_it_test.py> Imports are incorrectly sorted. --- <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/examples/wordcount_it_test.py>:before 2018-02-09 17:13:39.414380 +++ <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/examples/wordcount_it_test.py>:after 2018-03-16 21:58:18.623723 @@ -21,15 +21,14 @@ import time import unittest -from hamcrest.core.core.allof import all_of -from nose.plugins.attrib import attr - from apache_beam.examples import wordcount from apache_beam.examples import wordcount_fnapi from apache_beam.testing.pipeline_verifiers import FileChecksumMatcher from apache_beam.testing.pipeline_verifiers import PipelineStateMatcher from apache_beam.testing.test_pipeline import TestPipeline from apache_beam.testing.test_utils import delete_files +from hamcrest.core.core.allof import all_of +from nose.plugins.attrib import attr class WordCountIT(unittest.TestCase): ERROR: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/examples/cookbook/bigquery_tornadoes_it_test.py> Imports are incorrectly sorted. --- <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/examples/cookbook/bigquery_tornadoes_it_test.py>:before 2018-01-24 00:22:36.719312 +++ <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/examples/cookbook/bigquery_tornadoes_it_test.py>:after 2018-03-16 21:58:19.191871 @@ -21,14 +21,13 @@ import time import unittest -from hamcrest.core.core.allof import all_of -from nose.plugins.attrib import attr - from apache_beam.examples.cookbook import bigquery_tornadoes from apache_beam.io.gcp.tests import utils from apache_beam.io.gcp.tests.bigquery_matcher import BigqueryMatcher from apache_beam.testing.pipeline_verifiers import PipelineStateMatcher from apache_beam.testing.test_pipeline import TestPipeline +from hamcrest.core.core.allof import all_of +from nose.plugins.attrib import attr class BigqueryTornadoesIT(unittest.TestCase): ERROR: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_pipeline_test.py> Imports are incorrectly sorted. --- <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_pipeline_test.py>:before 2018-01-24 00:22:36.959311 +++ <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_pipeline_test.py>:after 2018-03-16 21:58:19.333058 @@ -20,12 +20,11 @@ import logging import unittest -from hamcrest.core.assert_that import assert_that as hc_assert_that -from hamcrest.core.base_matcher import BaseMatcher - from apache_beam.internal import pickler from apache_beam.options.pipeline_options import PipelineOptions from apache_beam.testing.test_pipeline import TestPipeline +from hamcrest.core.assert_that import assert_that as hc_assert_that +from hamcrest.core.base_matcher import BaseMatcher # A simple matcher that is ued for testing extra options appending. ERROR: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/pipeline_verifiers.py> Imports are incorrectly sorted. --- <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/pipeline_verifiers.py>:before 2018-01-24 00:22:36.959311 +++ <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/pipeline_verifiers.py>:after 2018-03-16 21:58:19.349563 @@ -25,12 +25,11 @@ import logging import time -from hamcrest.core.base_matcher import BaseMatcher - from apache_beam.io.filesystems import FileSystems from apache_beam.runners.runner import PipelineState from apache_beam.testing import test_utils as utils from apache_beam.utils import retry +from hamcrest.core.base_matcher import BaseMatcher __all__ = [ 'PipelineStateMatcher', ERROR: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/pipeline_verifiers_test.py> Imports are incorrectly sorted. --- <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/pipeline_verifiers_test.py>:before 2018-02-14 17:17:58.815289 +++ <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/pipeline_verifiers_test.py>:after 2018-03-16 21:58:19.365693 @@ -21,7 +21,6 @@ import tempfile import unittest -from hamcrest import assert_that as hc_assert_that from mock import Mock from mock import patch @@ -30,6 +29,7 @@ from apache_beam.runners.runner import PipelineState from apache_beam.testing import pipeline_verifiers as verifiers from apache_beam.testing.test_utils import patch_retry +from hamcrest import assert_that as hc_assert_that try: # pylint: disable=wrong-import-order, wrong-import-position ERROR: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_pipeline.py> Imports are incorrectly sorted. --- <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_pipeline.py>:before 2018-01-24 00:22:36.959311 +++ <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/testing/test_pipeline.py>:after 2018-03-16 21:58:19.451886 @@ -20,12 +20,11 @@ import argparse import shlex -from nose.plugins.skip import SkipTest - from apache_beam.internal import pickler from apache_beam.options.pipeline_options import PipelineOptions from apache_beam.pipeline import Pipeline from apache_beam.runners.runner import PipelineState +from nose.plugins.skip import SkipTest __all__ = [ 'TestPipeline', ERROR: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/combiners_test.py> Imports are incorrectly sorted. --- <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/combiners_test.py>:before 2018-02-14 00:08:23.317406 +++ <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/combiners_test.py>:after 2018-03-16 21:58:19.714683 @@ -19,10 +19,9 @@ import unittest -import hamcrest as hc - import apache_beam as beam import apache_beam.transforms.combiners as combine +import hamcrest as hc from apache_beam.testing.test_pipeline import TestPipeline from apache_beam.testing.util import assert_that from apache_beam.testing.util import equal_to ERROR: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/display_test.py> Imports are incorrectly sorted. --- <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/display_test.py>:before 2018-03-06 17:44:37.983556 +++ <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/display_test.py>:after 2018-03-16 21:58:19.744741 @@ -22,16 +22,16 @@ import unittest from datetime import datetime +import six + +import apache_beam as beam # pylint: disable=ungrouped-imports import hamcrest as hc -import six -from hamcrest.core.base_matcher import BaseMatcher - -import apache_beam as beam from apache_beam.options.pipeline_options import PipelineOptions from apache_beam.transforms.display import DisplayData from apache_beam.transforms.display import DisplayDataItem from apache_beam.transforms.display import HasDisplayData +from hamcrest.core.base_matcher import BaseMatcher # pylint: enable=ungrouped-imports ERROR: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/ptransform_test.py> Imports are incorrectly sorted. --- <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/ptransform_test.py>:before 2018-03-01 20:03:53.966026 +++ <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/ptransform_test.py>:after 2018-03-16 21:58:19.864860 @@ -26,13 +26,11 @@ import unittest from functools import reduce -import hamcrest as hc -from nose.plugins.attrib import attr - import apache_beam as beam import apache_beam.pvalue as pvalue import apache_beam.transforms.combiners as combine import apache_beam.typehints as typehints +import hamcrest as hc from apache_beam.io.iobase import Read from apache_beam.metrics import Metrics from apache_beam.metrics.metric import MetricsFilter @@ -49,6 +47,7 @@ from apache_beam.typehints import with_output_types from apache_beam.typehints.typehints_test import TypeHintTestCase from apache_beam.utils.windowed_value import WindowedValue +from nose.plugins.attrib import attr # Disable frequent lint warning due to pipe operator for chaining transforms. # pylint: disable=expression-not-assigned ERROR: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/sideinputs_test.py> Imports are incorrectly sorted. --- <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/sideinputs_test.py>:before 2018-01-24 00:22:36.983311 +++ <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/apache_beam/transforms/sideinputs_test.py>:after 2018-03-16 21:58:19.904670 @@ -20,13 +20,12 @@ import logging import unittest -from nose.plugins.attrib import attr - import apache_beam as beam from apache_beam.testing.test_pipeline import TestPipeline from apache_beam.testing.util import assert_that from apache_beam.testing.util import equal_to from apache_beam.transforms import window +from nose.plugins.attrib import attr class SideInputsTest(unittest.TestCase): Command exited with non-zero status 1 342.77user 7.02system 1:45.95elapsed 330%CPU (0avgtext+0avgdata 261360maxresident)k 2680inputs+168outputs (1major+645843minor)pagefaults 0swaps ERROR: InvocationError: '/usr/bin/time <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/run_pylint.sh'> py3-lint create: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/target/.tox/py3-lint> py3-lint installdeps: pycodestyle==2.3.1, pylint==1.7.2, future==0.16.0, isort==4.2.15, flake8==3.5.0 py3-lint inst: <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/target/.tox/dist/apache-beam-2.5.0.dev0.zip> py3-lint installed: apache-beam==2.5.0.dev0,astroid==1.6.2,avro==1.8.2,backports.functools-lru-cache==1.5,certifi==2018.1.18,chardet==3.0.4,configparser==3.5.0,crcmod==1.7,dill==0.2.6,docopt==0.6.2,enum34==1.1.6,flake8==3.5.0,funcsigs==1.0.2,future==0.16.0,futures==3.2.0,grpcio==1.10.0,hdfs==2.1.0,httplib2==0.9.2,idna==2.6,isort==4.2.15,lazy-object-proxy==1.3.1,mccabe==0.6.1,mock==2.0.0,oauth2client==4.1.2,pbr==3.1.1,protobuf==3.5.2.post1,pyasn1==0.4.2,pyasn1-modules==0.2.1,pycodestyle==2.3.1,pyflakes==1.6.0,pylint==1.7.2,PyVCF==0.6.8,PyYAML==3.12,requests==2.18.4,rsa==3.4.2,singledispatch==3.4.0.3,six==1.11.0,typing==3.6.4,urllib3==1.22,wrapt==1.10.11 py3-lint runtests: PYTHONHASHSEED='1680610548' py3-lint runtests: commands[0] | python --version Python 2.7.6 py3-lint runtests: commands[1] | time <https://builds.apache.org/job/beam_PostCommit_Python_Verify/ws/src/sdks/python/run_mini_py3lint.sh> Running flake8 for module apache_beam: 0 30.20user 0.30system 0:10.72elapsed 284%CPU (0avgtext+0avgdata 70432maxresident)k 272inputs+0outputs (0major+91173minor)pagefaults 0swaps ___________________________________ summary ____________________________________ cover: commands succeeded docs: commands succeeded ERROR: py27: commands failed ERROR: py27-cython: commands failed ERROR: py27-gcp: commands failed ERROR: py27-lint: commands failed py3-lint: commands succeeded Build step 'Execute shell' marked build as failure
