File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed
tests/functional/minidumps Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ PEERDIR(
69
69
yql/essentials/udfs/common/url_base
70
70
yql/essentials/udfs/common/yson2
71
71
yql/essentials/udfs/logs/dsv
72
- # ydb/library/breakpad
72
+ ydb/library/breakpad
73
73
ydb/public/sdk/cpp/client/ydb_persqueue_public/codecs
74
74
)
75
75
Original file line number Diff line number Diff line change @@ -26,28 +26,18 @@ COPY --chmod=0644 /liblibaio-dynamic.so /lib/liblibaio-dynamic.so
26
26
# ##
27
27
28
28
FROM ${BREAKPAD_INIT_IMAGE}:${BREAKPAD_INIT_IMAGE_TAG} AS breakpad_init
29
- FROM base AS breakpad-setuid
30
- COPY --from=breakpad_init /usr/lib/libbreakpad_init.so /usr/lib/libbreakpad_init.so
31
- # workaround for old docker versions
32
- # https://github.com/moby/buildkit/issues/3920
33
- RUN /usr/bin/chmod 4644 /usr/lib/libbreakpad_init.so
34
-
35
-
36
29
FROM base AS base-breakpad
37
30
RUN \
38
31
apt-get -yqq update && \
39
32
apt-get -yqq install --no-install-recommends binutils gdb strace linux-tools-generic && \
40
33
apt-get clean && rm -rf /var/lib/apt/lists/*
41
- ENV LD_PRELOAD=libbreakpad_init.so
42
34
ENV BREAKPAD_MINIDUMPS_PATH=/opt/ydb/volumes/coredumps
43
35
ENV BREAKPAD_MINIDUMPS_SCRIPT=/opt/ydb/bin/minidump_script.py
44
36
# breakpad binaries
45
37
COPY --chmod=0755 --from=breakpad_init /usr/bin/minidump_stackwalk /usr/bin/minidump_stackwalk
46
38
COPY --chmod=0755 --from=breakpad_init /usr/bin/minidump-2-core /usr/bin/minidump-2-core
47
39
# minidump callback script
48
40
COPY --chmod=0755 --chown=ydb /minidump_script.py /opt/ydb/bin/minidump_script.py
49
- # minidump init library
50
- COPY --link --from=breakpad-setuid /usr/lib/libbreakpad_init.so /usr/lib/libbreakpad_init.so
51
41
52
42
FROM base AS ydbd-setcap
53
43
COPY --chmod=0755 --chown=ydb /ydbd /opt/ydb/bin/ydbd
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ IF (OS_LINUX)
3
3
PY3TEST()
4
4
5
5
TEST_SRCS(
6
- # test_break.py
6
+ test_break.py
7
7
)
8
8
9
9
SIZE(MEDIUM)
You can’t perform that action at this time.
0 commit comments