Closed lu911 closed 4 years ago
I tried to reproduce without success:
$ cat Dockerfile.test
FROM python:3.7.7-alpine3.11
RUN apk --no-cache add --virtual build-dependencies \
build-base \
linux-headers \
gcc \
python3-dev \
libc-dev \
libffi-dev \
musl-dev \
libressl-dev \
mariadb-dev \
git && \
pip install ddtrace[profiling] && \
rm -rf .cache/pip && \
apk del build-dependencies
$ docker build . -f Dockerfile.test
Sending build context to Docker daemon 1.527GB
Step 1/2 : FROM python:3.7.7-alpine3.11
3.7.7-alpine3.11: Pulling from library/python
cbdbe7a5bc2a: Already exists
26ebcd19a4e3: Pull complete
8341bd19193b: Pull complete
ecc595bd65e1: Pull complete
4b1c9d8f69d2: Pull complete
Digest: sha256:778802b5b9797279772814fb15a7c6ee494848ced17965bb57092a0b900c0e4f
Status: Downloaded newer image for python:3.7.7-alpine3.11
---> e854017db514
Step 2/2 : RUN apk --no-cache add --virtual build-dependencies build-base linux-headers gcc python3-dev libc-dev libffi-dev musl-dev libressl-dev mariadb-dev git && pip install ddtrace[profiling] && rm -rf .cache/pip && apk del build-dependencies
---> Running in d22536ecfb97
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
(1/41) Installing libgcc (9.2.0-r4)
(2/41) Installing libstdc++ (9.2.0-r4)
(3/41) Installing binutils (2.33.1-r0)
(4/41) Installing libmagic (5.37-r1)
(5/41) Installing file (5.37-r1)
(6/41) Installing gmp (6.1.2-r1)
(7/41) Installing isl (0.18-r0)
(8/41) Installing libgomp (9.2.0-r4)
(9/41) Installing libatomic (9.2.0-r4)
(10/41) Installing mpfr4 (4.0.2-r1)
(11/41) Installing mpc1 (1.1.0-r1)
(12/41) Installing gcc (9.2.0-r4)
(13/41) Installing musl-dev (1.1.24-r2)
(14/41) Installing libc-dev (0.7.2-r0)
(15/41) Installing g++ (9.2.0-r4)
(16/41) Installing make (4.2.1-r2)
(17/41) Installing fortify-headers (1.1-r0)
(18/41) Installing build-base (0.5-r1)
(19/41) Installing linux-headers (4.19.36-r0)
(20/41) Installing pkgconf (1.6.3-r0)
(21/41) Installing python3 (3.8.2-r0)
(22/41) Installing python3-dev (3.8.2-r0)
(23/41) Installing libffi-dev (3.2.1-r6)
(24/41) Installing libressl3.0-libcrypto (3.0.2-r0)
(25/41) Installing libressl3.0-libssl (3.0.2-r0)
(26/41) Installing libressl3.0-libtls (3.0.2-r0)
(27/41) Installing libressl-dev (3.0.2-r0)
(28/41) Installing openssl-dev (1.1.1g-r0)
(29/41) Installing zlib-dev (1.2.11-r3)
(30/41) Installing mariadb-connector-c (3.1.6-r0)
(31/41) Installing mariadb-connector-c-dev (3.1.6-r0)
(32/41) Installing mariadb-common (10.4.13-r0)
(33/41) Installing libaio (0.3.112-r1)
(34/41) Installing pcre (8.43-r0)
(35/41) Installing mariadb-embedded (10.4.13-r0)
(36/41) Installing mariadb-dev (10.4.13-r0)
(37/41) Installing nghttp2-libs (1.40.0-r1)
(38/41) Installing libcurl (7.67.0-r0)
(39/41) Installing pcre2 (10.34-r1)
(40/41) Installing git (2.24.3-r0)
(41/41) Installing build-dependencies (20200611.145934)
Executing busybox-1.31.1-r9.trigger
OK: 354 MiB in 75 packages
Collecting ddtrace[profiling]
Downloading ddtrace-0.38.2.tar.gz (887 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Installing backend dependencies: started
Installing backend dependencies: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Collecting msgpack>=0.5.0
Downloading msgpack-1.0.0.tar.gz (232 kB)
Collecting intervaltree; extra == "profiling"
Downloading intervaltree-3.0.2.tar.gz (30 kB)
Collecting protobuf>=3; extra == "profiling"
Downloading protobuf-3.12.2-py2.py3-none-any.whl (443 kB)
Collecting tenacity>=5; extra == "profiling"
Downloading tenacity-6.2.0-py2.py3-none-any.whl (24 kB)
Collecting sortedcontainers<3.0,>=2.0
Downloading sortedcontainers-2.2.2-py2.py3-none-any.whl (29 kB)
Collecting six>=1.9
Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: setuptools in /usr/local/lib/python3.7/site-packages (from protobuf>=3; extra == "profiling"->ddtrace[profiling]) (46.4.0)
Building wheels for collected packages: ddtrace, msgpack, intervaltree
Building wheel for ddtrace (PEP 517): started
Building wheel for ddtrace (PEP 517): finished with status 'done'
Created wheel for ddtrace: filename=ddtrace-0.38.2-cp37-cp37m-linux_x86_64.whl size=596396 sha256=2871b79c6c6dbffc19d0691fda31e801bc3a613a62a115806429237a13fb4116
Stored in directory: /root/.cache/pip/wheels/5c/9e/75/8eb77477197566ad5dc65724b6033f9f474078a4651a66c706
Building wheel for msgpack (setup.py): started
Building wheel for msgpack (setup.py): finished with status 'done'
Created wheel for msgpack: filename=msgpack-1.0.0-cp37-cp37m-linux_x86_64.whl size=83647 sha256=c89c43bbecfea9110384379df1c4cd89b95692e34bab72ed32f489e50ab14139
Stored in directory: /root/.cache/pip/wheels/6b/f9/4e/2e80ac9d6632ac56099e51e11232096a9306243478e0f6d8c6
Building wheel for intervaltree (setup.py): started
Building wheel for intervaltree (setup.py): finished with status 'done'
Created wheel for intervaltree: filename=intervaltree-3.0.2-py3-none-any.whl size=25793 sha256=4a1736c225d6ced0e33e4b44876224681ac1ec80085df10710eae1f8d941123c
Stored in directory: /root/.cache/pip/wheels/68/2d/6f/68fdd1342f58dac32f7d2781b00e9fd43b15d51e4c1ff9b4fb
Successfully built ddtrace msgpack intervaltree
Installing collected packages: msgpack, sortedcontainers, intervaltree, six, protobuf, tenacity, ddtrace
Successfully installed ddtrace-0.38.2 intervaltree-3.0.2 msgpack-1.0.0 protobuf-3.12.2 six-1.15.0 sortedcontainers-2.2.2 tenacity-6.2.0
WARNING: Ignoring APKINDEX.70f61090.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.ca2fea5b.tar.gz: No such file or directory
(1/41) Purging build-dependencies (20200611.145934)
(2/41) Purging build-base (0.5-r1)
(3/41) Purging file (5.37-r1)
(4/41) Purging g++ (9.2.0-r4)
(5/41) Purging make (4.2.1-r2)
(6/41) Purging fortify-headers (1.1-r0)
(7/41) Purging gcc (9.2.0-r4)
(8/41) Purging binutils (2.33.1-r0)
(9/41) Purging libatomic (9.2.0-r4)
(10/41) Purging libgomp (9.2.0-r4)
(11/41) Purging python3-dev (3.8.2-r0)
(12/41) Purging python3 (3.8.2-r0)
(13/41) Purging libc-dev (0.7.2-r0)
(14/41) Purging libffi-dev (3.2.1-r6)
(15/41) Purging linux-headers (4.19.36-r0)
(16/41) Purging musl-dev (1.1.24-r2)
(17/41) Purging libressl-dev (3.0.2-r0)
(18/41) Purging libressl3.0-libtls (3.0.2-r0)
(19/41) Purging mariadb-dev (10.4.13-r0)
(20/41) Purging mariadb-connector-c-dev (3.1.6-r0)
(21/41) Purging openssl-dev (1.1.1g-r0)
(22/41) Purging zlib-dev (1.2.11-r3)
(23/41) Purging mariadb-connector-c (3.1.6-r0)
(24/41) Purging mariadb-embedded (10.4.13-r0)
(25/41) Purging mariadb-common (10.4.13-r0)
(26/41) Purging git (2.24.3-r0)
(27/41) Purging libstdc++ (9.2.0-r4)
(28/41) Purging libgcc (9.2.0-r4)
(29/41) Purging libmagic (5.37-r1)
(30/41) Purging isl (0.18-r0)
(31/41) Purging mpc1 (1.1.0-r1)
(32/41) Purging mpfr4 (4.0.2-r1)
(33/41) Purging gmp (6.1.2-r1)
(34/41) Purging pkgconf (1.6.3-r0)
(35/41) Purging libressl3.0-libssl (3.0.2-r0)
(36/41) Purging libressl3.0-libcrypto (3.0.2-r0)
(37/41) Purging libaio (0.3.112-r1)
(38/41) Purging pcre (8.43-r0)
(39/41) Purging libcurl (7.67.0-r0)
(40/41) Purging nghttp2-libs (1.40.0-r1)
(41/41) Purging pcre2 (10.34-r1)
Executing busybox-1.31.1-r9.trigger
OK: 11 MiB in 34 packages
Removing intermediate container d22536ecfb97
---> d597e83d962b
Successfully built d597e83d962b
Maybe try to clean your Docker cache?
Closing since I was unable to reproduce, feel free to reopen if you have more information!
Thanks for taking the time for reporting an issue!
Before reporting an issue on dd-trace-py, please be sure to provide all necessary information.
If you're hitting a bug, make sure that you're using the latest version of this library.
Which version of dd-trace-py are you using?
0.38.1 0.38.2
Which version of the libraries are you using?
You can copy/paste the output of
pip freeze
here.How can we reproduce your problem?
What is the result that you get?