See 
<https://ci-beam.apache.org/job/beam_PreCommit_Website_Stage_GCS_Cron/3639/display/redirect>

Changes:


------------------------------------------
Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on apache-beam-jenkins-14 (beam) in workspace 
<https://ci-beam.apache.org/job/beam_PreCommit_Website_Stage_GCS_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_Stage_GCS_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 572a99bab07e53e043887243e2b1e69120563be5 # 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_Stage_GCS_Cron/ws/src/gradlew>
 --continue --max-workers=12 -Dorg.gradle.jvmargs=-Xms2g 
-Dorg.gradle.jvmargs=-Xmx4g -Pdocker-pull-licenses :website:stageWebsite
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
stretch-slim: Pulling from library/debian
Digest: sha256:39fc50a9c85b20e7069a2e72e8250b49128fd17707f581113732317b266bf805
Status: Downloaded newer image for debian:stretch-slim
 ---> a663cad14868
Step 2/8 : SHELL ["/bin/bash", "-o", "pipefail", "-e", "-u", "-x", "-c"]
 ---> Using cache
 ---> e280c1ac2044
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
 ---> d21f1817e9f4
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
 ---> 2cb7f542901c
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
 ---> 66cd0495e216
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
 ---> 78c1f5dd6f95
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
 ---> 90173a77973a
Step 8/8 : WORKDIR /opt/
 ---> Using cache
 ---> b00e0c56b481
Successfully built b00e0c56b481
Successfully tagged beam-website:latest

> Task :website:createDockerContainer

> Task :website:startDockerContainer
908956a27c39d58de1db3edc48ea23c7e73a0f5a393521df284d83f43d118565

> 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.98s.

> 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
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this 
command.
error Command failed with exit code 1.

> Task :website:buildGcsWebsite
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-gcs-content --config 
/opt/website/www/site/config.toml --baseURL /jenkins-HEAD
warning Cannot find a suitable global folder. Tried these: "/usr/local, /.yarn"
INFO 2021/04/08 12:05:05 Using config file: 
Building sites … INFO 2021/04/08 12:05:05 syncing static files to 
/opt/build/website/generated-gcs-content/
INFO 2021/04/08 12:05:09 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 5966 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
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this 
command.
error Command failed with exit code 255.

> Task :website:buildGcsWebsite FAILED

> Task :website:stopAndRemoveDockerContainer
908956a27c39d58de1db3edc48ea23c7e73a0f5a393521df284d83f43d118565

> Task :website:setupVirtualenv
Using base prefix '/usr'
New python executable in 
<https://ci-beam.apache.org/job/beam_PreCommit_Website_Stage_GCS_Cron/ws/src/build/website/gradleenv/bin/python3>
Also creating executable in 
<https://ci-beam.apache.org/job/beam_PreCommit_Website_Stage_GCS_Cron/ws/src/build/website/gradleenv/bin/python>
Installing setuptools, pip, wheel...
done.
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. 
Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will 
drop support for Python 3.5 in January 2021. pip 21.0 will remove support for 
this functionality.
Collecting beautifulsoup4
  Using cached beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
Collecting soupsieve>1.2
  Using cached soupsieve-2.1-py3-none-any.whl (32 kB)
Installing collected packages: soupsieve, beautifulsoup4
Successfully installed beautifulsoup4-4.9.3 soupsieve-2.1

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:buildGcsWebsite'.
> 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 44s
10 actionable tasks: 10 executed

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

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