Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10975

Test failure: apache_beam.examples.wordcount_it_test.WordCountIT.test_wordcount_it_with_prebuilt_sdk_container

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P0
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.25.0
    • Component/s: test-failures
    • Labels:
      None

      Description

      Error Message

      _init_() got an unexpected keyword argument 'capture_output'

      Stacktrace

      Traceback (most recent call last): File "/usr/lib/python3.6/unittest/case.py", line 59, in testPartExecutor yield File "/usr/lib/python3.6/unittest/case.py", line 605, in run testMethod() File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Py_ValCont_PR/src/sdks/python/apache_beam/examples/wordcount_it_test.py", line 64, in test_wordcount_it_with_prebuilt_sdk_container prebuild_sdk_container_engine='local_docker') File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Py_ValCont_PR/src/sdks/python/apache_beam/examples/wordcount_it_test.py", line 107, in run_wordcount_it save_main_session=False, File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Py_ValCont_PR/src/sdks/python/apache_beam/examples/wordcount.py", line 94, in run output | 'Write' >> WriteToText(known_args.output) File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Py_ValCont_PR/src/sdks/python/apache_beam/pipeline.py", line 568, in __exit_ self.result = self.run() File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Py_ValCont_PR/src/sdks/python/apache_beam/pipeline.py", line 518, in run allow_proto_holders=True).run(False) File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Py_ValCont_PR/src/sdks/python/apache_beam/pipeline.py", line 547, in run return self.runner.run_pipeline(self, self.options) File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Py_ValCont_PR/src/sdks/python/apache_beam/runners/dataflow/test_dataflow_runner.py", line 57, in run_pipeline self).run_pipeline(pipeline, options) File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Py_ValCont_PR/src/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py", line 486, in run_pipeline environments.DockerEnvironment.from_options(options)) File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Py_ValCont_PR/src/sdks/python/apache_beam/transforms/environments.py", line 259, in from_options options) File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Py_ValCont_PR/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py", line 141, in build_container_image return builder.build() File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Py_ValCont_PR/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py", line 90, in build self.invoke_docker_build_and_push(container_image_name) File "/home/jenkins/jenkins-slave/workspace/beam_PostCommit_Py_ValCont_PR/src/sdks/python/apache_beam/runners/portability/sdk_container_builder.py", line 154, in invoke_docker_build_and_push cwd=self._temp_src_dir) File "/usr/lib/python3.6/subprocess.py", line 423, in run with Popen(*popenargs, **kwargs) as process: TypeError: __init_() got an unexpected keyword argument 'capture_output'

       

      https://ci-beam.apache.org/job/beam_PostCommit_Py_ValCont_PR/143/testReport/junit/apache_beam.examples.wordcount_it_test/WordCountIT/test_wordcount_it_with_prebuilt_sdk_container/

       

      Hi Valentyn, could you help take a look at this failure as well? Thank you so much!!!

        Attachments

          Activity

            People

            • Assignee:
              yichi Yichi Zhang
              Reporter:
              robinyqiu Robin Qiu
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 10m
                3h 10m