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

Changes:

[Boyuan Zhang] Update the test invocation cmd for poratble runner.

[tobiasz.kedzierski] [BEAM-11035] Pin versions of untrusted 3rd-party GitHub 
Actions


------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on apache-beam-jenkins-1 (beam) in workspace 
<https://ci-beam.apache.org/job/beam_PreCommit_CommunityMetrics_Cron/ws/>
No credentials specified
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/apache/beam.git
 > git init 
 > <https://ci-beam.apache.org/job/beam_PreCommit_CommunityMetrics_Cron/ws/src> 
 > # timeout=10
Fetching upstream changes from https://github.com/apache/beam.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/apache/beam.git 
 > +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/apache/beam.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url https://github.com/apache/beam.git # timeout=10
Fetching upstream changes from https://github.com/apache/beam.git
 > git fetch --tags --progress https://github.com/apache/beam.git 
 > +refs/heads/*:refs/remotes/origin/* 
 > +refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/* # 
 > timeout=10
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision e4f41997a321c73cd488addc8c9e963d330e1ad1 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f e4f41997a321c73cd488addc8c9e963d330e1ad1 # timeout=10
Commit message: "Merge pull request #13033 from 
TobKed/BEAM-11035-pin-third-party-github-actions"
 > git rev-list --no-walk 6bf56f92b34f7c15b752c46eca19489a604c4775 # timeout=10
No emails were triggered.
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
SPARK_LOCAL_IP=127.0.0.1
SETUPTOOLS_USE_DISTUTILS=stdlib

[EnvInject] - Variables injected successfully.
[Gradle] - Launching build.
[src] $ 
<https://ci-beam.apache.org/job/beam_PreCommit_CommunityMetrics_Cron/ws/src/gradlew>
 --continue --max-workers=12 -Dorg.gradle.jvmargs=-Xms2g 
-Dorg.gradle.jvmargs=-Xmx4g -Pdocker-pull-licenses :communityMetricsPreCommit
Starting a Gradle Daemon, 1 busy Daemon could not be reused, use --status for 
details
> Task :buildSrc:compileJava NO-SOURCE
> Task :buildSrc:compileGroovy FROM-CACHE
> Task :buildSrc:pluginDescriptors
> Task :buildSrc:processResources
> Task :buildSrc:classes
> Task :buildSrc:jar
> Task :buildSrc:assemble
> Task :buildSrc:spotlessGroovy FROM-CACHE
> Task :buildSrc:spotlessGroovyCheck UP-TO-DATE
> Task :buildSrc:spotlessGroovyGradle FROM-CACHE
> Task :buildSrc:spotlessGroovyGradleCheck UP-TO-DATE
> Task :buildSrc:spotlessCheck UP-TO-DATE
> Task :buildSrc:pluginUnderTestMetadata
> Task :buildSrc:compileTestJava NO-SOURCE
> Task :buildSrc:compileTestGroovy NO-SOURCE
> Task :buildSrc:processTestResources NO-SOURCE
> Task :buildSrc:testClasses UP-TO-DATE
> Task :buildSrc:test NO-SOURCE
> Task :buildSrc:validatePlugins FROM-CACHE
> Task :buildSrc:check UP-TO-DATE
> Task :buildSrc:build
Configuration on demand is an incubating feature.
> Task :beam-test-infra-metrics:createEmptyConfig

> Task :beam-test-infra-metrics:composeUp
postgresql uses an image, skipping
influxdb uses an image, skipping
Building influxdb-restore
Service 'influxdb-restore' failed to build: The command '/bin/sh -c gsutil cp 
gs://apache-beam-testing-metrics/influxdb-backup.tar.gz . && tar xzf 
influxdb-backup.tar.gz' returned a non-zero code: 1

> Task :beam-test-infra-metrics:composeUp FAILED

> Task :beam-test-infra-metrics:validateConfiguration
persistentvolumeclaim/beam-grafana-etcdata created (dry run)
persistentvolumeclaim/beam-grafana-libdata created (dry run)
persistentvolumeclaim/beam-grafana-logdata created (dry run)
cronjob.batch/influxdb-autobackup created (dry run)
persistentvolumeclaim/influxdb-storage created (dry run)
configmap/influxdb-init-scripts created (dry run)
deployment.apps/influxdb created (dry run)
service/influxdb created (dry run)
service/influxdb-rpc created (dry run)
persistentvolumeclaim/beam-postgresql-data created (dry run)
deployment.apps/beamgrafana created (dry run)

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':beam-test-infra-metrics:composeUp'.
> Exit-code 1 when calling docker-compose, stdout: Step 1/8 : FROM python:3-slim
   ---> 5477dafe4da1
  Step 2/8 : RUN pip install --no-cache-dir gsutil
   ---> Using cache
   ---> 629ade5c46d9
  Step 3/8 : WORKDIR /
   ---> Using cache
   ---> f4f6e1c2a204
  Step 4/8 : RUN gsutil cp 
gs://apache-beam-testing-metrics/influxdb-backup.tar.gz . && tar xzf 
influxdb-backup.tar.gz
   ---> Running in 71d8234c1858
  Traceback (most recent call last):
    File "/usr/local/bin/gsutil", line 5, in <module>
      from gslib.__main__ import main
    File "/usr/local/lib/python3.9/site-packages/gslib/__main__.py", line 92, 
in <module>
      from gslib.command_runner import CommandRunner
    File "/usr/local/lib/python3.9/site-packages/gslib/command_runner.py", line 
64, in <module>
      from gslib.tests.util import HAS_NON_DEFAULT_GS_HOST
    File "/usr/local/lib/python3.9/site-packages/gslib/tests/util.py", line 
126, in <module>
      TEST_ENCRYPTION_KEY1_SHA256_B64 = 
Base64Sha256FromBase64EncryptionKey(
    File 
"/usr/local/lib/python3.9/site-packages/gslib/utils/encryption_helper.py", line 
152, in Base64Sha256FromBase64EncryptionKey
      decoded_bytes = base64.decodestring(csek_encryption_key)
  AttributeError: module 'base64' has no attribute 'decodestring'
  

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

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

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See 
https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 37s
3 actionable tasks: 3 executed

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

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