See 
<https://ci-beam.apache.org/job/beam_PreCommit_Website_Cron/3780/display/redirect>

Changes:


------------------------------------------
[...truncated 33.33 KB...]
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://deb.debian.org/debian stretch Release
Hit:5 https://deb.nodesource.com/node_10.x stretch InRelease
Reading package lists...
+ apt-get install -y --no-install-recommends nodejs
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libpython2.7-minimal python-minimal python2.7-minimal
Suggested packages:
  binfmt-support
Recommended packages:
  libpython2.7-stdlib python python2.7
The following NEW packages will be installed:
  libpython2.7-minimal nodejs python-minimal python2.7-minimal
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.8 MB of archives.
After this operation, 87.4 MB of additional disk space will be used.
Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 
libpython2.7-minimal amd64 2.7.13-2+deb9u4 [390 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 python-minimal amd64 
2.7.13-2 [40.5 kB]
Get:3 http://security.debian.org/debian-security stretch/updates/main amd64 
python2.7-minimal amd64 2.7.13-2+deb9u4 [1386 kB]
Get:4 https://deb.nodesource.com/node_10.x stretch/main amd64 nodejs amd64 
10.24.1-1nodesource1 [15.9 MB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 17.8 MB in 0s (20.3 MB/s)
Selecting previously unselected package libpython2.7-minimal:amd64.
(Reading database ... 
(Reading database ... 5%(Reading database ... 10%(Reading database ... 
15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 
30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 
45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 
60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%(Reading database ... 10956 files and directories 
currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.13-2+deb9u4_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.13-2+deb9u4) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.13-2+deb9u4_amd64.deb ...
Unpacking python2.7-minimal (2.7.13-2+deb9u4) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.13-2_amd64.deb ...
Unpacking python-minimal (2.7.13-2) ...
Selecting previously unselected package nodejs.
Preparing to unpack .../nodejs_10.24.1-1nodesource1_amd64.deb ...
Unpacking nodejs (10.24.1-1nodesource1) ...
Setting up libpython2.7-minimal:amd64 (2.7.13-2+deb9u4) ...
Setting up python2.7-minimal (2.7.13-2+deb9u4) ...
Setting up python-minimal (2.7.13-2) ...
Setting up nodejs (10.24.1-1nodesource1) ...
+ apt-get autoremove -yqq --purge
+ apt-get clean
+ rm -rf 
/var/lib/apt/lists/deb.debian.org_debian_dists_stretch-updates_InRelease 
/var/lib/apt/lists/deb.debian.org_debian_dists_stretch-updates_main_binary-amd64_Packages.lz4
 /var/lib/apt/lists/deb.debian.org_debian_dists_stretch_Release 
/var/lib/apt/lists/deb.debian.org_debian_dists_stretch_Release.gpg 
/var/lib/apt/lists/deb.debian.org_debian_dists_stretch_main_binary-amd64_Packages.lz4
 /var/lib/apt/lists/deb.nodesource.com_node%5f10.x_dists_stretch_InRelease 
/var/lib/apt/lists/deb.nodesource.com_node%5f10.x_dists_stretch_main_binary-amd64_Packages.lz4
 /var/lib/apt/lists/lock /var/lib/apt/lists/partial 
/var/lib/apt/lists/security.debian.org_debian-security_dists_stretch_updates_InRelease
 
/var/lib/apt/lists/security.debian.org_debian-security_dists_stretch_updates_main_binary-amd64_Packages.lz4
Removing intermediate container d07f1978ee87
 ---> 64c0f476ef39
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/*
 ---> Running in c160d20981f8
+ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg
+ apt-key add -
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
+ tee /etc/apt/sources.list.d/yarn.list
+ echo 'deb https://dl.yarnpkg.com/debian/ stable main'
deb https://dl.yarnpkg.com/debian/ stable main
+ apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://security.debian.org/debian-security stretch/updates InRelease 
[53.0 kB]
Get:3 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://deb.debian.org/debian stretch Release.gpg [2410 B]
Get:6 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Get:7 http://security.debian.org/debian-security stretch/updates/main amd64 
Packages [666 kB]
Get:8 https://deb.nodesource.com/node_10.x stretch InRelease [4585 B]
Get:9 http://deb.debian.org/debian stretch-updates/main amd64 Packages [2596 B]
Get:10 http://deb.debian.org/debian stretch/main amd64 Packages [7080 kB]
Get:11 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.1 kB]
Get:12 https://dl.yarnpkg.com/debian stable/main all Packages [10.1 kB]
Get:13 https://deb.nodesource.com/node_10.x stretch/main amd64 Packages [767 B]
Fetched 8057 kB in 2s (3716 kB/s)
Reading package lists...
+ apt-get install -y --no-install-recommends yarn
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  yarn
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 891 kB of archives.
After this operation, 5407 kB of additional disk space will be used.
Get:1 https://dl.yarnpkg.com/debian stable/main amd64 yarn all 1.22.5-1 [891 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 891 kB in 0s (2428 kB/s)
Selecting previously unselected package yarn.
(Reading database ... 
(Reading database ... 5%(Reading database ... 10%(Reading database ... 
15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 
30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 
45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 
60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%(Reading database ... 15949 files and directories 
currently installed.)
Preparing to unpack .../archives/yarn_1.22.5-1_all.deb ...
Unpacking yarn (1.22.5-1) ...
Setting up yarn (1.22.5-1) ...
+ apt-get autoremove -yqq --purge
+ apt-get clean
+ rm -rf 
/var/lib/apt/lists/deb.debian.org_debian_dists_stretch-updates_InRelease 
/var/lib/apt/lists/deb.debian.org_debian_dists_stretch-updates_main_binary-amd64_Packages.lz4
 /var/lib/apt/lists/deb.debian.org_debian_dists_stretch_Release 
/var/lib/apt/lists/deb.debian.org_debian_dists_stretch_Release.gpg 
/var/lib/apt/lists/deb.debian.org_debian_dists_stretch_main_binary-amd64_Packages.lz4
 /var/lib/apt/lists/deb.nodesource.com_node%5f10.x_dists_stretch_InRelease 
/var/lib/apt/lists/deb.nodesource.com_node%5f10.x_dists_stretch_main_binary-amd64_Packages.lz4
 /var/lib/apt/lists/dl.yarnpkg.com_debian_dists_stable_InRelease 
/var/lib/apt/lists/dl.yarnpkg.com_debian_dists_stable_main_binary-all_Packages.lz4
 
/var/lib/apt/lists/dl.yarnpkg.com_debian_dists_stable_main_binary-amd64_Packages.lz4
 /var/lib/apt/lists/lock /var/lib/apt/lists/partial 
/var/lib/apt/lists/security.debian.org_debian-security_dists_stretch_updates_InRelease
 
/var/lib/apt/lists/security.debian.org_debian-security_dists_stretch_updates_main_binary-amd64_Packages.lz4
Removing intermediate container c160d20981f8
 ---> 394404e1221f
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}"
 ---> Running in 0ce3410b3b11
++ mktemp -d
+ HUGOHOME=/tmp/tmp.LrxQ39D6W5
+ export HUGOHOME
+ curl -sL 
https://github.com/gohugoio/hugo/releases/download/v0.68.3/hugo_extended_0.68.3_Linux-64bit.tar.gz
+ tar -xzvf /tmp/tmp.LrxQ39D6W5/hugo.tar.gz hugo
hugo
+ mv hugo /usr/local/bin/hugo
+ chmod +x /usr/local/bin/hugo
+ rm -r /tmp/tmp.LrxQ39D6W5
Removing intermediate container 0ce3410b3b11
 ---> 9038f25913a8
Step 8/8 : WORKDIR /opt/
 ---> Running in 282e866b1a63
Removing intermediate container 282e866b1a63
 ---> 86d867b8a934
Successfully built 86d867b8a934
Successfully tagged beam-website:latest

> Task :website:createDockerContainer

> Task :website:startDockerContainer
3d4ad7f772e01d3df69c8c9b3f15f86872df6408e808fa3c6c1973e6f65e0397

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

> 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 12:05:45 Using config file: 
Building sites … INFO 2021/04/08 12:05:45 syncing static files to 
/opt/build/website/generated-local-content/
INFO 2021/04/08 12:05:49 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


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

> Task :website:buildLocalWebsite FAILED

> Task :website:stopAndRemoveDockerContainer
3d4ad7f772e01d3df69c8c9b3f15f86872df6408e808fa3c6c1973e6f65e0397

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 2m 16s
9 actionable tasks: 9 executed

Publishing build scan...
https://gradle.com/s/5bhb7hsogostc

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