You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2021/03/13 17:19:01 UTC

[jira] [Updated] (BEAM-11792) Python precommit failed (flaked?) installing package

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

Beam JIRA Bot updated BEAM-11792:
---------------------------------
    Labels: stale-assigned  (was: )

> Python precommit failed (flaked?) installing package 
> -----------------------------------------------------
>
>                 Key: BEAM-11792
>                 URL: https://issues.apache.org/jira/browse/BEAM-11792
>             Project: Beam
>          Issue Type: Bug
>          Components: test-failures
>            Reporter: Kyle Weaver
>            Assignee: Valentyn Tymofieiev
>            Priority: P1
>              Labels: stale-assigned
>
> https://ci-beam.apache.org/job/beam_PreCommit_Python_Commit/17240/
> Execution failed for task ':sdks:python:test-suites:dataflow:py36:preCommitIT_batch'.
> Execution failed for task ':sdks:python:test-suites:dataflow:py37:preCommitIT_batch'.
> ======================================================================
> ERROR: test_wordcount_it (apache_beam.examples.wordcount_it_test.WordCountIT)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/apache_beam/examples/wordcount_it_test.py", line 53, in test_wordcount_it
>     self._run_wordcount_it(wordcount.run)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/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_PreCommit_Python_Commit/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_PreCommit_Python_Commit/src/sdks/python/apache_beam/pipeline.py", line 580, in __exit__
>     self.result = self.run()
>   File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/apache_beam/pipeline.py", line 530, in run
>     self._options).run(False)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/apache_beam/pipeline.py", line 559, in run
>     return self.runner.run_pipeline(self, self._options)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/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_PreCommit_Python_Commit/src/sdks/python/apache_beam/runners/dataflow/dataflow_runner.py", line 504, in run_pipeline
>     artifacts=environments.python_sdk_dependencies(options)))
>   File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/apache_beam/transforms/environments.py", line 742, in python_sdk_dependencies
>     skip_prestaged_dependencies=skip_prestaged_dependencies))
>   File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/apache_beam/runners/portability/stager.py", line 179, in create_job_resources
>     setup_options.requirements_file, requirements_cache_path)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/apache_beam/utils/retry.py", line 260, in wrapper
>     return fun(*args, **kwargs)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/apache_beam/runners/portability/stager.py", line 569, in _populate_requirements_cache
>     processes.check_output(cmd_args, stderr=processes.STDOUT)
>   File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/apache_beam/utils/processes.py", line 99, in check_output
>     .format(traceback.format_exc(), args[0][6], error.output))
> RuntimeError: Full traceback: Traceback (most recent call last):
>   File "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/sdks/python/apache_beam/utils/processes.py", line 91, in check_output
>     out = subprocess.check_output(*args, **kwargs)
>   File "/usr/lib/python3.7/subprocess.py", line 395, in check_output
>     **kwargs).stdout
>   File "/usr/lib/python3.7/subprocess.py", line 487, in run
>     output=stdout, stderr=stderr)
> subprocess.CalledProcessError: Command '['/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python_Commit/src/build/gradleenv/-1734967052/bin/python', '-m', 'pip', 'download', '--dest', '/tmp/dataflow-requirements-cache', '-r', 'postcommit_requiremen
> ts.txt', '--exists-action', 'i', '--no-binary', ':all:']' returned non-zero exit status 1.
>  Pip install failed for package: -r
>  Output from execution of subprocess: b'Collecting pyhamcrest!=1.10.0,<2.0.0\n  File was already downloaded /tmp/dataflow-requirements-cache/PyHamcrest-1.10.1.tar.gz\nERROR: Could not find a version that satisfies the requirement 0\nERROR: No matching d
> istribution found for 0\n'



--
This message was sent by Atlassian Jira
(v8.3.4#803005)