See 
<https://ci-beam.apache.org/job/beam_PostCommit_XVR_Spark/4203/display/redirect>

Changes:


------------------------------------------
[...truncated 160.31 KB...]
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 26.6 MB/s eta 0:00:00
Requirement already satisfied: setuptools in 
/usr/local/lib/python3.7/site-packages (57.5.0)
Collecting setuptools
  Downloading setuptools-65.3.0-py3-none-any.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 62.9 MB/s eta 0:00:00
Installing collected packages: setuptools, pip
  Attempting uninstall: setuptools
    Found existing installation: setuptools 57.5.0
    Uninstalling setuptools-57.5.0:
      Successfully uninstalled setuptools-57.5.0
  Attempting uninstall: pip
    Found existing installation: pip 22.0.4
    Uninstalling pip-22.0.4:
      Successfully uninstalled pip-22.0.4
Successfully installed pip-22.2.2 setuptools-65.3.0
WARNING: Running pip as the 'root' user can result in broken permissions 
and conflicting behaviour with the system package manager. It is recommended to 
use a virtual environment instead: https://pip.pypa.io/warnings/venv
Removing intermediate container 4ed8b270bd4f
 ---> eb9a25893b56
Step 8/32 : ENV CLOUDSDK_CORE_DISABLE_PROMPTS yes
 ---> Running in e19a897144b4
Removing intermediate container e19a897144b4
 ---> ddb34542fb61
Step 9/32 : ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin
 ---> Running in 251d8a9511df
Removing intermediate container 251d8a9511df
 ---> 6734e198ee98
Step 10/32 : RUN mkdir -p /usr/local/gcloud &&     cd /usr/local/gcloud &&     
curl -s -O https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz && 
    tar -xf google-cloud-sdk.tar.gz &&     
/usr/local/gcloud/google-cloud-sdk/install.sh &&     rm google-cloud-sdk.tar.gz
 ---> Running in 455499d25f17
Welcome to the Google Cloud CLI!
WARNING: You appear to be running this script as root. This may cause 
the installation to be inaccessible to users other than the root user.
Beginning update. This process may take several minutes.


Your current Google Cloud CLI version is: 402.0.0
Installing components from version: 402.0.0

┌─────────────────────────────────────────────────────────────────────────────┐
│                     These components will be installed.              
       │
├─────────────────────────────────────────────────────┬────────────┬──────────┤
│                         Name                        │  Version   │   
Size   │
├─────────────────────────────────────────────────────┼────────────┼──────────┤
│ BigQuery Command Line Tool                         
 │     2.0.75 │  1.6 
MiB │
│ BigQuery Command Line Tool (Platform Specific)      
│     2.0.75 │  < 1 MiB 
│
│ Cloud Storage Command Line Tool                    
 │       5.13 │ 15.5 
MiB │
│ Cloud Storage Command Line Tool (Platform 
Specific) │       5.11 │  
< 1 MiB │
│ Google Cloud CLI Core Libraries (Platform Specific) 
│ 2022.08.05 │  < 1 MiB 
│
│ Google Cloud CRC32C Hash Tool                      
 │      1.0.0 │  1.2 
MiB │
│ anthoscli                                          
 │     0.2.29 │ 37.6 
MiB │
│ gcloud cli dependencies                            
 │ 2021.04.16 │  < 1 
MiB │
└─────────────────────────────────────────────────────┴────────────┴──────────┘

For the latest full release notes, please visit:
  https://cloud.google.com/sdk/release_notes

╔════════════════════════════════════════════════════════════╗
╠═ Creating update staging area                             ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: BigQuery Command Line Tool                   ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: BigQuery Command Line Tool (Platform Spec... ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: Cloud Storage Command Line Tool              ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: Cloud Storage Command Line Tool (Platform... ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: Default set of gcloud commands               ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: Google Cloud CLI Core Libraries (Platform... ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: Google Cloud CRC32C Hash Tool                ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: Google Cloud CRC32C Hash Tool                ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: anthoscli                                    ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: anthoscli                                    ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: gcloud cli dependencies                      ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Creating backup and activating new installation          ═╣
╚════════════════════════════════════════════════════════════╝

Performing post processing steps...
...................................................................................done.

Update done!


To help improve the quality of this product, we collect anonymized usage data
and anonymized stacktraces when crashes are encountered; additional information
is available at <https://cloud.google.com/sdk/usage-statistics>. This data is
handled in accordance with our privacy policy
<https://cloud.google.com/terms/cloud-privacy-notice>. You may choose to opt in 
this
collection now (by choosing 'Y' at the below prompt), or at any time in the
future by running the following command:

    gcloud config set disable_usage_reporting false


This will install all the core command line tools necessary for working with
the Google Cloud Platform.


For more information on how to get started, please visit:
  https://cloud.google.com/sdk/docs/quickstarts


==> Source [/usr/local/gcloud/google-cloud-sdk/completion.bash.inc] in 
your profile to enable shell command completion for gcloud.
==> Source [/usr/local/gcloud/google-cloud-sdk/path.bash.inc] in your profile 
to add the Google Cloud SDK command line tools to your $PATH.
Removing intermediate container 455499d25f17
 ---> c2e4ecdff957
Step 11/32 : RUN ln -s /usr/bin/ccache /usr/local/bin/gcc
 ---> Running in d81c573c20c6
Removing intermediate container d81c573c20c6
 ---> 1fd427c24cff
Step 12/32 : RUN ccache --set-config=sloppiness=file_macro && ccache 
--set-config=hash_dir=false
 ---> Running in c9b2ad090d2a
Removing intermediate container c9b2ad090d2a
 ---> 00d0d87266b0
Step 13/32 : COPY target/apache-beam.tar.gz /opt/apache/beam/tars/
 ---> 6f2422d296d0
Step 14/32 : RUN pip install --no-deps -v 
/opt/apache/beam/tars/apache-beam.tar.gz[gcp]
 ---> Running in 61ec869265ea
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-wx0rjwxu/setup.py", line 169, in <module>
      generate_protos_first()
    File "/tmp/pip-req-build-wx0rjwxu/setup.py", line 139, in 
generate_protos_first
      gen_protos.generate_proto_files()
    File "/tmp/pip-req-build-wx0rjwxu/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-wx0rjwxu/setup.py'"'"',), 
"<pip-setuptools-caller>", "exec"))' egg_info --egg-base 
/tmp/pip-pip-egg-info-u16_7d12
  cwd: /tmp/pip-req-build-wx0rjwxu/
  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

> Task :sdks:python:container:py37:docker FAILED

FAILURE: Build completed with 2 failures.

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

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

2: 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 --info or --debug option to get more log output.
==============================================================================

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

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

See 
https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

Execution optimizations have been disabled for 1 invalid unit(s) of work during 
this build to ensure correctness.
Please consult deprecation warnings for more details.

BUILD FAILED in 5m 32s
261 actionable tasks: 171 executed, 78 from cache, 12 up-to-date

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

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