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

Changes:

[Ismaël Mejía] [BEAM-11948] Drop support for Flink 1.8 and 1.9

[noreply] [BEAM-7372] remove usage of future package and unnecessary builtins

[noreply] [BEAM-7372] cleanup codes for py2 compatibility from


------------------------------------------
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_Website_Cron/ws/>
The recommended git tool is: NONE
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_Website_Cron/ws/src> 
 > # timeout=10
Fetching upstream changes from https://github.com/apache/beam.git
 > git --version # timeout=10
 > git --version # 'git version 2.7.4'
 > 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 572a99bab07e53e043887243e2b1e69120563be5 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 572a99bab07e53e043887243e2b1e69120563be5 # timeout=10
Commit message: "Merge pull request #14203: [BEAM-11948] Drop support for Flink 
1.8 and 1.9"
 > git rev-list --no-walk e4e39e4b1143877766c5ce77c2c298479e15c8a6 # 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_Website_Cron/ws/src/gradlew> 
--continue --max-workers=12 -Dorg.gradle.jvmargs=-Xms2g 
-Dorg.gradle.jvmargs=-Xmx4g -Pdocker-pull-licenses :websitePreCommit
Starting a Gradle Daemon, 3 busy Daemons 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 :website:buildDockerImage
Sending build context to Docker daemon  50.93MB
Step 1/8 : FROM debian:stretch-slim
 ---> a663cad14868
Step 2/8 : SHELL ["/bin/bash", "-o", "pipefail", "-e", "-u", "-x", "-c"]
 ---> Using cache
 ---> 7f5f3d0ff96d
Step 3/8 : ENV DEBIAN_FRONTEND=noninteractive     LANGUAGE=C.UTF-8     
LANG=C.UTF-8     LC_ALL=C.UTF-8     LC_CTYPE=C.UTF-8     LC_MESSAGES=C.UTF-8
 ---> Using cache
 ---> 9d974b0450ee
Step 4/8 : RUN apt-get update     && apt-get install -y --no-install-recommends 
        ca-certificates         curl         git         gnupg2         gosu    
     lynx     && apt-get autoremove -yqq --purge     && apt-get clean     && rm 
-rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 898f88087ab5
Step 5/8 : RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -     && 
apt-get update     && apt-get install -y --no-install-recommends         nodejs 
    && apt-get autoremove -yqq --purge     && apt-get clean     && rm -rf 
/var/lib/apt/lists/*
 ---> Using cache
 ---> 18904dceab5a
Step 6/8 : RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add 
-     && echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee 
/etc/apt/sources.list.d/yarn.list     && apt-get update     && apt-get install 
-y --no-install-recommends yarn     && apt-get autoremove -yqq --purge     && 
apt-get clean     && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 15167a8afa8d
Step 7/8 : RUN HUGOHOME="$(mktemp -d)"     && export HUGOHOME     && curl -sL 
https://github.com/gohugoio/hugo/releases/download/v0.68.3/hugo_extended_0.68.3_Linux-64bit.tar.gz
 > "${HUGOHOME}/hugo.tar.gz"     && tar -xzvf "${HUGOHOME}/hugo.tar.gz" hugo    
 && mv hugo /usr/local/bin/hugo     && chmod +x /usr/local/bin/hugo     && rm 
-r "${HUGOHOME}"
 ---> Using cache
 ---> 139040b0a2c6
Step 8/8 : WORKDIR /opt/
 ---> Using cache
 ---> 49ccdad5ee2b
Successfully built 49ccdad5ee2b
Successfully tagged beam-website:latest

> Task :website:createDockerContainer

> Task :website:startDockerContainer
9896d572515215c2001735de52517149efa1ecb3e4ada8509504a2b6985ceea3

> Task :website:setupDockerContainer

> Task :website:installDependencies
yarn install v1.22.5
warning Skipping preferred cache folder "/.cache/yarn" because it is not 
writable.
warning Selected the next writable cache folder in the list, will be 
"/tmp/.yarn-cache-1017".
[1/4] Resolving packages...
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. 
Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 4.04s.

> Task :website:initGitSubmodules
Submodule '.github/actions/cancel-workflow-runs' 
(https://github.com/potiuk/cancel-workflow-runs) registered for path 
'.github/actions/cancel-workflow-runs'
Submodule '.github/actions/github-push-action' 
(https://github.com/ad-m/github-push-action) registered for path 
'.github/actions/github-push-action'
Submodule '.github/actions/gradle-command-action' 
(https://github.com/eskatos/gradle-command-action) registered for path 
'.github/actions/gradle-command-action'
Submodule 'website/www/site/themes/docsy' (https://github.com/google/docsy.git) 
registered for path 'website/www/site/themes/docsy'
Cloning into '/opt/.github/actions/cancel-workflow-runs'...
Cloning into '/opt/.github/actions/github-push-action'...
Cloning into '/opt/.github/actions/gradle-command-action'...
Cloning into '/opt/website/www/site/themes/docsy'...
Submodule path '.github/actions/cancel-workflow-runs': checked out 
'953e057dc81d3458935a18d1184c386b0f6b5738'
Submodule path '.github/actions/github-push-action': checked out 
'057a6ba835d986bfe495dd476a6c4db1d5f9503c'
Submodule path '.github/actions/gradle-command-action': checked out 
'90ccf054e6b9905f30f98c938bce4c6acd323b6b'
Submodule path 'website/www/site/themes/docsy': checked out 
'8b786354829536454688df1e63b9cad792f68562'
Submodule 'assets/vendor/Font-Awesome' 
(https://github.com/FortAwesome/Font-Awesome.git) registered for path 
'website/www/site/themes/docsy/assets/vendor/Font-Awesome'
Submodule 'assets/vendor/bootstrap' (https://github.com/twbs/bootstrap.git) 
registered for path 'website/www/site/themes/docsy/assets/vendor/bootstrap'
Cloning into '/opt/website/www/site/themes/docsy/assets/vendor/Font-Awesome'...
Cloning into '/opt/website/www/site/themes/docsy/assets/vendor/bootstrap'...
Submodule path 'website/www/site/themes/docsy/assets/vendor/Font-Awesome': 
checked out '538a5bc4cf7989821d052e3ff919e2bead07021c'
Submodule path 'website/www/site/themes/docsy/assets/vendor/bootstrap': checked 
out '3b558734382ce58b51e5fc676453bfd53bba9201'

> Task :website:buildCodeSamples FAILED
yarn run v1.22.5
warning Skipping preferred cache folder "/.cache/yarn" because it is not 
writable.
warning Selected the next writable cache folder in the list, will be 
"/tmp/.yarn-cache-1017".
$ ./build_code_samples.sh
warning Cannot find a suitable global folder. Tried these: "/usr/local, /.yarn"
Working directory: /opt/website/www
Dist directory: ./site/code_samples
mkdir: created directory './site/code_samples'
cp: cannot stat 
'../../sdks/python/apache_beam/examples/snippets/snippets_test_py3.py': No such 
file or directory
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this 
command.

> Task :website:buildLocalWebsite
yarn run v1.22.5
warning Skipping preferred cache folder "/.cache/yarn" because it is not 
writable.
warning Selected the next writable cache folder in the list, will be 
"/tmp/.yarn-cache-1017".
$ cross-env HUGO_ENV=production hugo --minify -d ../dist -s site -v -d 
/opt/build/website/generated-local-content --config 
/opt/website/www/site/config.toml
warning Cannot find a suitable global folder. Tried these: "/usr/local, /.yarn"
INFO 2021/04/08 06:10:24 Using config file: 
Building sites … INFO 2021/04/08 06:10:24 syncing static files to 
/opt/build/website/generated-local-content/
INFO 2021/04/08 06:10:29 postcss: use config file 
/opt/website/www/site/themes/docsy/postcss.config.js

  Replace Autoprefixer browsers option to Browserslist config.
  Use browserslist key in package.json or .browserslistrc file.

  Using browsers option can cause errors. Browserslist config 
  can be used for Babel, Autoprefixer, postcss-normalize and other tools.

  If you really need to use option, rename it to overrideBrowserslist.

  Learn more at:
  https://github.com/browserslist/browserslist#readme
  https://twitter.com/browserslist


Total in 6307 ms
Error: Error building site: 
"/opt/website/www/site/content/en/documentation/sdks/python-type-safety.md:97:1":
 failed to render shortcode "highlight": failed to process shortcode: 
"/opt/website/www/site/layouts/shortcodes/code_sample.html:23:104": execute of 
template failed: template: shortcodes/code_sample.html:23:104: executing 
"shortcodes/code_sample.html" at <readFile $path>: error calling readFile: file 
"code_samples/sdks_python_apache_beam_examples_snippets_snippets_test_py3.py" 
does not exist
error Command failed with exit code 255.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this 
command.

> Task :website:buildLocalWebsite FAILED

> Task :website:stopAndRemoveDockerContainer
9896d572515215c2001735de52517149efa1ecb3e4ada8509504a2b6985ceea3

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':website:buildCodeSamples'.
> 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. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':website:buildLocalWebsite'.
> Process 'command 'docker'' finished with non-zero exit value 255

* 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.8/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 8s
9 actionable tasks: 9 executed

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

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