See 
<https://ci-beam.apache.org/job/beam_PreCommit_PythonDocker_Cron/3530/display/redirect?page=changes>

Changes:

[noreply] Update python-machine-learning.md (#23209)

[noreply] Pin the version of cloudpickle to 2.1.x (#23120)

[noreply] Add streaming test for Write API sink (#21903)

[noreply] [Go SDK] Proto changes for timer param (#23216)

[noreply] Bump github.com/testcontainers/testcontainers-go in /sdks (#23201)

[noreply] Update to objsize to 0.5.2 which is under BSD-3 license (fixes #23096)

[noreply] Exclude insignificant whitespace from cloud object (#23217)

[noreply] Trying out property-based tests for Beam python coders (#22233)


------------------------------------------
[...truncated 272.93 KB...]
  #   setuptools doesn'"'"'t think the script is `-c`. This avoids the 
following warning:
  #     manifest_maker: standard file '"'"'-c'"'"' not found".
  # - It generates a shim setup.py, for handling setup.cfg-only projects.
  import os, sys, tokenize
  
  try:
      import setuptools
  except ImportError as error:
      print(
          "ERROR: Can not execute `setup.py` since setuptools is not available 
in "
          "the build environment.",
          file=sys.stderr,
      )
      sys.exit(1)
  
  __file__ = %r
  sys.argv[0] = __file__
  
  if os.path.exists(__file__):
      filename = __file__
      with tokenize.open(__file__) as f:
          setup_py_code = f.read()
  else:
      filename = "<auto-generated setuptools caller>"
      setup_py_code = "from setuptools import setup; setup()"
  
  exec(compile(setup_py_code, filename, "exec"))
  '"'"''"'"''"'"' % ('"'"'/tmp/pip-req-build-q6h48qxk/setup.py'"'"',), 
"<pip-setuptools-caller>", "exec"))' egg_info --egg-base 
/tmp/pip-pip-egg-info-v6qhji15
  cwd: /tmp/pip-req-build-q6h48qxk/
  Preparing metadata (setup.py): finished with status 'error'
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

> Task :sdks:python:container:py37:docker FAILED
 ---> Running in 6d6ce04030c9
Removing intermediate container 6d6ce04030c9
 ---> d00e041e4176
Step 12/32 : RUN ccache --set-config=sloppiness=file_macro && ccache 
--set-config=hash_dir=false
 ---> Running in aae76875770d
Removing intermediate container aae76875770d
 ---> da3c6d6d3d13
Step 13/32 : COPY target/apache-beam.tar.gz /opt/apache/beam/tars/
 ---> ec659ee2f8ed
Step 14/32 : RUN pip install --no-deps -v 
/opt/apache/beam/tars/apache-beam.tar.gz[gcp]
 ---> Running in 31fb367050a9
Using pip 22.2.2 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)
Processing /opt/apache/beam/tars/apache-beam.tar.gz
  Preparing metadata (setup.py): started
  Running command python setup.py egg_info
  Traceback (most recent call last):
    File "<string>", line 36, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/tmp/pip-req-build-mwapyxf8/setup.py", line 169, in <module>
      generate_protos_first()
    File "/tmp/pip-req-build-mwapyxf8/setup.py", line 139, in 
generate_protos_first
      gen_protos.generate_proto_files()
    File "/tmp/pip-req-build-mwapyxf8/gen_protos.py", line 476, in 
generate_proto_files
      raise RuntimeError(error_msg)
  RuntimeError: Not in apache git tree, unable to find proto 
definitions.
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem 
with pip.
  full command: /usr/local/bin/python -c '
  exec(compile('"'"''"'"''"'"'
  # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
  #
  # - It imports setuptools before invoking setup.py, to enable projects that 
directly
  #   import from `distutils.core` to work with newer packaging standards.
  # - It provides a clear error message when setuptools is not installed.
  # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking 
`setup.py` so
  #   setuptools doesn'"'"'t think the script is `-c`. This avoids the 
following warning:
  #     manifest_maker: standard file '"'"'-c'"'"' not found".
  # - It generates a shim setup.py, for handling setup.cfg-only projects.
  import os, sys, tokenize
  
  try:
      import setuptools
  except ImportError as error:
      print(
          "ERROR: Can not execute `setup.py` since setuptools is not available 
in "
          "the build environment.",
          file=sys.stderr,
      )
      sys.exit(1)
  
  __file__ = %r
  sys.argv[0] = __file__
  
  if os.path.exists(__file__):
      filename = __file__
      with tokenize.open(__file__) as f:
          setup_py_code = f.read()
  else:
      filename = "<auto-generated setuptools caller>"
      setup_py_code = "from setuptools import setup; setup()"
  
  exec(compile(setup_py_code, filename, "exec"))
  '"'"''"'"''"'"' % ('"'"'/tmp/pip-req-build-mwapyxf8/setup.py'"'"',), 
"<pip-setuptools-caller>", "exec"))' egg_info --egg-base 
/tmp/pip-pip-egg-info-f96_z122
  cwd: /tmp/pip-req-build-mwapyxf8/
  Preparing metadata (setup.py): finished with status 'error'
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The command '/bin/sh -c pip install --no-deps -v 
/opt/apache/beam/tars/apache-beam.tar.gz[gcp]' returned a non-zero code: 1
:sdks:python:container:py37:docker (Thread[Execution worker Thread 3,5,main]) 
completed. Took 9 mins 23.93 secs.

> Task :sdks:python:container:py39:docker FAILED
 ---> Running in 9dc6114681f5
Removing intermediate container 9dc6114681f5
 ---> b3f41c77e03a
Step 12/32 : RUN ccache --set-config=sloppiness=file_macro && ccache 
--set-config=hash_dir=false
 ---> Running in a56e5093b8a6
Removing intermediate container a56e5093b8a6
 ---> 2df5a01cc71d
Step 13/32 : COPY target/apache-beam.tar.gz /opt/apache/beam/tars/
 ---> d1335808bed3
Step 14/32 : RUN pip install --no-deps -v 
/opt/apache/beam/tars/apache-beam.tar.gz[gcp]
 ---> Running in f4ed0c05f24c
Using pip 22.2.2 from /usr/local/lib/python3.9/site-packages/pip (python 3.9)
Processing /opt/apache/beam/tars/apache-beam.tar.gz
  Preparing metadata (setup.py): started
  Running command python setup.py egg_info
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/tmp/pip-req-build-wi4e2ose/setup.py", line 169, in <module>
      generate_protos_first()
    File "/tmp/pip-req-build-wi4e2ose/setup.py", line 139, in 
generate_protos_first
      gen_protos.generate_proto_files()
    File "/tmp/pip-req-build-wi4e2ose/gen_protos.py", line 476, in 
generate_proto_files
      raise RuntimeError(error_msg)
  RuntimeError: Not in apache git tree, unable to find proto 
definitions.
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem 
with pip.
  full command: /usr/local/bin/python -c '
  exec(compile('"'"''"'"''"'"'
  # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
  #
  # - It imports setuptools before invoking setup.py, to enable projects that 
directly
  #   import from `distutils.core` to work with newer packaging standards.
  # - It provides a clear error message when setuptools is not installed.
  # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking 
`setup.py` so
  #   setuptools doesn'"'"'t think the script is `-c`. This avoids the 
following warning:
  #     manifest_maker: standard file '"'"'-c'"'"' not found".
  # - It generates a shim setup.py, for handling setup.cfg-only projects.
  import os, sys, tokenize
  
  try:
      import setuptools
  except ImportError as error:
      print(
          "ERROR: Can not execute `setup.py` since setuptools is not available 
in "
          "the build environment.",
          file=sys.stderr,
      )
      sys.exit(1)
  
  __file__ = %r
  sys.argv[0] = __file__
  
  if os.path.exists(__file__):
      filename = __file__
      with tokenize.open(__file__) as f:
          setup_py_code = f.read()
  else:
      filename = "<auto-generated setuptools caller>"
      setup_py_code = "from setuptools import setup; setup()"
  
  exec(compile(setup_py_code, filename, "exec"))
  '"'"''"'"''"'"' % ('"'"'/tmp/pip-req-build-wi4e2ose/setup.py'"'"',), 
"<pip-setuptools-caller>", "exec"))' egg_info --egg-base 
/tmp/pip-pip-egg-info-s7co8y0j
  cwd: /tmp/pip-req-build-wi4e2ose/
  Preparing metadata (setup.py): finished with status 'error'
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
The command '/bin/sh -c pip install --no-deps -v 
/opt/apache/beam/tars/apache-beam.tar.gz[gcp]' returned a non-zero code: 1
:sdks:python:container:py39:docker (Thread[Execution worker Thread 2,5,main]) 
completed. Took 9 mins 23.923 secs.

> Task :sdks:python:container:py38:docker FAILED
The command '/bin/sh -c pip install --no-deps -v 
/opt/apache/beam/tars/apache-beam.tar.gz[gcp]' returned a non-zero code: 1
:sdks:python:container:py38:docker (Thread[Execution worker Thread 6,5,main]) 
completed. Took 9 mins 24.056 secs.

FAILURE: Build completed with 3 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:container:py37:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:container:py39:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
==============================================================================

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':sdks:python:container:py38:docker'.
> Process 'command 'docker'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
==============================================================================

* Get more help at https://help.gradle.org

BUILD FAILED in 11m 5s
42 actionable tasks: 32 executed, 4 from cache, 6 up-to-date

Publishing build scan...
https://gradle.com/s/vv7kwuml3um7c

Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to