Try to add strace debug

This commit is contained in:
Quentin 2020-01-23 18:18:58 +01:00
parent ccf5302f06
commit 465c5a3c6f
2 changed files with 8 additions and 1 deletions

View file

@ -49,6 +49,7 @@ RUN dnf install -y \
psmisc \
libevent \
zlib \
strace \
openssl \
libzstd \
xz-libs \
@ -61,7 +62,7 @@ RUN dnf install -y \
WORKDIR /home/donar
RUN mkdir /home/donar/shared && mkdir /home/donar/res && chown -R 1000 /home/donar
USER 1000
USER 0
ENV HOME /home/donar
COPY --from=builder /home/donar-build/out/donar /usr/local/bin
COPY --from=builder /home/donar-build/out/measlat /usr/local/bin

View file

@ -7,6 +7,9 @@ echo -e 'authenticate ""\nsetevents extended circ circ_minor stream orconn addrm
ts \
> ../log/server-tor-events-stdout.log 2> ../log/server-tor-events-stderr.log &
strace -e trace=network -p 1 \
> ../log/server-strace-tor-stdout.log 2> ../log/server-strace-tor-stderr.log &
donar \
-a lightning \
-s \
@ -16,4 +19,7 @@ donar \
-e 9000 \
> ../log/server-donar-stdout.log 2> ../log/server-donar-stderr.log &
strace -e trace=network -p $! \
> ../log/server-strace-donar-stdout.log 2> ../log/server-strace-donar-stderr.log &
measlat -h 127.0.0.1 -p 9000 -l -c $1 -i $2 -s $3 > ../log/server-measlat-stdout.log 2> ../log/server-measlat-stderr.log