Skip to content

Instantly share code, notes, and snippets.

@p-mongo
Created July 8, 2020 00:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save p-mongo/2804e19d6862d08f4192faa45ae1e159 to your computer and use it in GitHub Desktop.
Save p-mongo/2804e19d6862d08f4192faa45ae1e159 to your computer and use it in GitHub Desktop.
Tenex Paste
serene% sh -x ~w/apps/dev/script/build-server r4.0.19
+ set -e
+ test -d /home/build/apps/exp/mongo
+ cd /home/build/apps/exp/mongo
+ git fetch origin
+ cd /home/build/apps/exp/mongo
+ rm -rf build
+ version=r4.0.19
+ test -z r4.0.19
+ test r4.0.19 = master
+ echo r4.0.19
+ grep -q ^r
+ branch=r4.0.19
+ test -d /home/build/apps/exp/mongo-enterprise-modules
+ cd /home/build/apps/exp/mongo-enterprise-modules
+ git fetch origin
+ cd /home/build/apps/exp/mongo-enterprise-modules
+ git checkout r4.0.19
Previous HEAD position was 7504c39 SERVER-49142 Test unexpected values in command.$audit
HEAD is now at 80bfcea SERVER-37069 Remove Rosette Linguistics Platform
+ git checkout r4.0.19
Updating files: 100% (31214/31214), done.
Previous HEAD position was 4b96db9412 Import wiredtiger: 95e4b38eebbb4050b2144341c5f60e5a2f5c40b9 from branch mongodb-4.4
HEAD is now at 7e28f4296a SERVER-47773 Error consistently when tailable cursors and $near are used together
+ mkdir -p src/mongo/db/modules/
+ ln -sf /home/build/apps/exp/mongo-enterprise-modules src/mongo/db/modules/enterprise
+ echo r4.0.19
+ egrep -q ^r?4.0
+ pip install --user -r buildscripts/requirements.txt
Ignoring typing: markers 'python_version < "3"' don't match your environment
Ignoring mock: markers 'python_version < "3"' don't match your environment
Ignoring pypiwin32: markers 'sys_platform == "win32" and python_version < "3"' don't match your environment
Ignoring pypiwin32: markers 'sys_platform == "win32" and python_version > "3"' don't match your environment
Ignoring subprocess32: markers 'os_name == "posix" and python_version < "3"' don't match your environment
Ignoring cheetah3: markers 'python_version < "3"' don't match your environment
Collecting cryptography>=2.0.0
Downloading cryptography-2.9.2-cp35-abi3-manylinux2010_x86_64.whl (2.7 MB)
|████████████████████████████████| 2.7 MB 4.0 MB/s
Collecting jira==1.0.10
Downloading jira-1.0.10-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 1.1 MB/s
Collecting pyjwt==1.5.3
Downloading PyJWT-1.5.3-py2.py3-none-any.whl (17 kB)
Collecting pyyaml==5.1
Downloading PyYAML-5.1.tar.gz (274 kB)
|████████████████████████████████| 274 kB 21.0 MB/s
Collecting unittest-xml-reporting==2.1.0
Downloading unittest_xml_reporting-2.1.0-py2.py3-none-any.whl (13 kB)
Collecting yapf==0.21.0
Downloading yapf-0.21.0-py2.py3-none-any.whl (162 kB)
|████████████████████████████████| 162 kB 25.6 MB/s
Collecting mypy==0.580
Using cached mypy-0.580-py3-none-any.whl (1.2 MB)
Collecting pylint==1.8.3
Downloading pylint-1.8.3-py2.py3-none-any.whl (686 kB)
|████████████████████████████████| 686 kB 19.2 MB/s
Collecting pydocstyle==2.1.1
Using cached pydocstyle-2.1.1-py3-none-any.whl (31 kB)
Requirement already satisfied: pymongo>=3.0 in /home/build/.local/lib/python3.8/site-packages (from -r buildscripts/resmoke
lib/requirements.txt (line 2)) (3.10.1)
Requirement already satisfied: requests>=2.16.1 in /usr/lib/python3/dist-packages (from -r buildscripts/resmokelib/requirem
ents.txt (line 6)) (2.23.0)
Collecting jinja2==2.10
Downloading Jinja2-2.10-py2.py3-none-any.whl (126 kB)
|████████████████████████████████| 126 kB 25.2 MB/s
Collecting mock==2.0.0
Downloading mock-2.0.0-py2.py3-none-any.whl (56 kB)
|████████████████████████████████| 56 kB 1.0 MB/s
Collecting click~=7.0
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting evergreen.py==0.3.9
Downloading evergreen.py-0.3.9-py3-none-any.whl (30 kB)
Collecting shrub.py==0.2.0
Downloading shrub.py-0.2.0-py3-none-any.whl (17 kB)
Collecting structlog~=19.1.0
Using cached structlog-19.1.0-py2.py3-none-any.whl (31 kB)
Collecting psutil==5.4.3
Downloading psutil-5.4.3.tar.gz (412 kB)
|████████████████████████████████| 412 kB 24.5 MB/s
Collecting cffi!=1.11.3,>=1.8
Using cached cffi-1.14.0-cp38-cp38-manylinux1_x86_64.whl (409 kB)
Requirement already satisfied: six>=1.4.1 in /usr/lib/python3/dist-packages (from cryptography>=2.0.0->-r buildscripts/requ
irements.txt (line 2)) (1.15.0)
Collecting pbr
Using cached pbr-5.4.5-py2.py3-none-any.whl (110 kB)
Collecting requests-oauthlib>=0.6.1
Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting defusedxml
Using cached defusedxml-0.6.0-py2.py3-none-any.whl (23 kB)
Collecting requests-toolbelt
Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
Requirement already satisfied: setuptools>=20.10.1 in /home/build/.local/lib/python3.8/site-packages (from jira==1.0.10->-r
buildscripts/requirements.txt (line 3)) (45.0.0)
Collecting typed-ast<1.2.0,>=1.1.0
Using cached typed-ast-1.1.2.tar.gz (202 kB)
Collecting isort>=4.2.5
Downloading isort-5.0.4-py3-none-any.whl (153 kB)
|████████████████████████████████| 153 kB 24.9 MB/s
Collecting mccabe
Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB)
Collecting astroid<2.0,>=1.6
Downloading astroid-1.6.6-py2.py3-none-any.whl (305 kB)
|████████████████████████████████| 305 kB 23.2 MB/s
Collecting snowballstemmer
Using cached snowballstemmer-2.0.0-py2.py3-none-any.whl (97 kB)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib/python3/dist-packages (from jinja2==2.10->-r buildscripts/requi
rements.txt (line 19)) (1.1.1)
Collecting tenacity~=5.0.4
Downloading tenacity-5.0.4-py2.py3-none-any.whl (38 kB)
Collecting pycparser
Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting oauthlib>=3.0.0
Using cached oauthlib-3.1.0-py2.py3-none-any.whl (147 kB)
Collecting lazy-object-proxy
Downloading lazy_object_proxy-1.5.0-cp38-cp38-manylinux1_x86_64.whl (59 kB)
|████████████████████████████████| 59 kB 1.4 MB/s
Processing /home/build/.cache/pip/wheels/5f/fd/9e/b6cf5890494cb8ef0b5eaff72e5d55a70fb56316007d6dfe73/wrapt-1.12.1-cp38-cp38
-linux_x86_64.whl
Building wheels for collected packages: pyyaml, psutil, typed-ast
Building wheel for pyyaml (setup.py) ... done
Created wheel for pyyaml: filename=PyYAML-5.1-cp38-cp38-linux_x86_64.whl size=44072 sha256=cf7ba83b84856a17d292d1b6135860
7b194979d92712449fae263c21537067ff
Stored in directory: /home/build/.cache/pip/wheels/52/dd/2b/10ff8b0ac81b93946bb5fb9e6749bae2dac246506c8774e6cf
Building wheel for psutil (setup.py) ... done
Created wheel for psutil: filename=psutil-5.4.3-cp38-cp38-linux_x86_64.whl size=273157 sha256=101da83c8694e22069942d8aac5
8e885f9406f83c1bca8ee122688ecf3effae9
Stored in directory: /home/build/.cache/pip/wheels/90/d8/e9/084a4dbc46a2c00017691af27fd2751744d3eefd8f840d3924
Building wheel for typed-ast (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xvnr8otx/typed-as
t/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xvnr8otx/typed-ast/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(
__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdis
t_wheel -d /tmp/pip-wheel-2a7w_zh9
cwd: /tmp/pip-install-xvnr8otx/typed-ast/
Complete output (23 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/typed_ast
copying typed_ast/conversions.py -> build/lib.linux-x86_64-3.8/typed_ast
copying typed_ast/ast3.py -> build/lib.linux-x86_64-3.8/typed_ast
copying typed_ast/__init__.py -> build/lib.linux-x86_64-3.8/typed_ast
copying typed_ast/ast27.py -> build/lib.linux-x86_64-3.8/typed_ast
running build_ext
building '_ast27' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/ast27
creating build/temp.linux-x86_64-3.8/ast27/Parser
creating build/temp.linux-x86_64-3.8/ast27/Python
creating build/temp.linux-x86_64-3.8/ast27/Custom
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong
-Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -
D_FORTIFY_SOURCE=2 -fPIC -Iast27/Include -I/usr/include/python3.8 -c ast27/Parser/acceler.c -o build/temp.linux-x86_64-3.8/
ast27/Parser/acceler.o
ast27/Parser/acceler.c:13:10: fatal error: pgenheaders.h: No such file or directory
13 | #include "pgenheaders.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for typed-ast
Running setup.py clean for typed-ast
Successfully built pyyaml psutil
Failed to build typed-ast
ERROR: evergreen-py 0.3.9 has requirement requests~=2.22.0, but you'll have requests 2.23.0 which is incompatible.
Installing collected packages: pycparser, cffi, cryptography, pbr, oauthlib, requests-oauthlib, defusedxml, requests-toolbe
lt, jira, pyjwt, pyyaml, unittest-xml-reporting, yapf, typed-ast, mypy, isort, mccabe, lazy-object-proxy, wrapt, astroid, p
ylint, snowballstemmer, pydocstyle, jinja2, mock, click, tenacity, structlog, evergreen.py, shrub.py, psutil
WARNING: The script pbr is installed in '/home/build/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script jirashell is installed in '/home/build/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script pyjwt is installed in '/home/build/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Attempting uninstall: pyyaml
Found existing installation: PyYAML 5.3.1
Uninstalling PyYAML-5.3.1:
Successfully uninstalled PyYAML-5.3.1
WARNING: The script yapf is installed in '/home/build/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Attempting uninstall: typed-ast
Found existing installation: typed-ast 1.4.0
Uninstalling typed-ast-1.4.0:
Successfully uninstalled typed-ast-1.4.0
Running setup.py install for typed-ast ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-xvnr8otx/typed-
ast/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xvnr8otx/typed-ast/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open
)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' in
stall --record /tmp/pip-record-9z5dkcdx/install-record.txt --single-version-externally-managed --user --prefix= --compile -
-install-headers /home/build/.local/include/python3.8/typed-ast
cwd: /tmp/pip-install-xvnr8otx/typed-ast/
Complete output (23 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/typed_ast
copying typed_ast/conversions.py -> build/lib.linux-x86_64-3.8/typed_ast
copying typed_ast/ast3.py -> build/lib.linux-x86_64-3.8/typed_ast
copying typed_ast/__init__.py -> build/lib.linux-x86_64-3.8/typed_ast
copying typed_ast/ast27.py -> build/lib.linux-x86_64-3.8/typed_ast
running build_ext
building '_ast27' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/ast27
creating build/temp.linux-x86_64-3.8/ast27/Parser
creating build/temp.linux-x86_64-3.8/ast27/Python
creating build/temp.linux-x86_64-3.8/ast27/Custom
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-stro
ng -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -Iast27/Include -I/usr/include/python3.8 -c ast27/Parser/acceler.c -o build/temp.linux-x86_64-3.
8/ast27/Parser/acceler.o
ast27/Parser/acceler.c:13:10: fatal error: pgenheaders.h: No such file or directory
13 | #include "pgenheaders.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Rolling back uninstall of typed-ast
Moving to /home/build/.local/lib/python3.8/site-packages/typed_ast-1.4.0.dist-info/
from /home/build/.local/lib/python3.8/site-packages/~yped_ast-1.4.0.dist-info
Moving to /home/build/.local/lib/python3.8/site-packages/typed_ast/
from /home/build/.local/lib/python3.8/site-packages/~yped_ast
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"
'/tmp/pip-install-xvnr8otx/typed-ast/setup.py'"'"'; __file__='"'"'/tmp/pip-install-xvnr8otx/typed-ast/setup.py'"'"';f=getat
tr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(cod
e, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-9z5dkcdx/install-record.txt --single-version-externally-man
aged --user --prefix= --compile --install-headers /home/build/.local/include/python3.8/typed-ast Check the logs for full co
mmand output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment