>>> sentrypeer: Building testing/sentrypeer 2.0.1-r0 (using abuild 3.10.0-r0) started Thu, 02 Mar 2023 21:19:53 +0000 >>> sentrypeer: Checking sanity of /home/buildozer/aports/testing/sentrypeer/APKBUILD... >>> sentrypeer: Analyzing dependencies... >>> sentrypeer: Installing for build: build-base autoconf autoconf-archive automake chrpath curl-dev jansson-dev libmicrohttpd-dev libosip2-dev opendht-dev pcre2-dev sqlite-dev util-linux-dev cmocka-dev (1/63) Installing m4 (1.4.19-r2) (2/63) Installing libbz2 (1.0.8-r4) (3/63) Installing perl (5.36.0-r0) (4/63) Installing autoconf (2.71-r2) (5/63) Installing autoconf-archive (2023.02.20-r0) (6/63) Installing automake (1.16.5-r2) (7/63) Installing chrpath (0.16-r3) (8/63) Installing openssl-dev (3.0.8-r0) (9/63) Installing nghttp2-dev (1.52.0-r0) (10/63) Installing zlib-dev (1.2.13-r0) (11/63) Installing brotli (1.0.9-r11) (12/63) Installing brotli-dev (1.0.9-r11) (13/63) Installing curl-dev (7.88.1-r1) (14/63) Installing jansson (2.14-r0) (15/63) Installing jansson-dev (2.14-r0) (16/63) Installing nettle (3.8.1-r0) (17/63) Installing libffi (3.4.4-r0) (18/63) Installing p11-kit (0.24.1-r1) (19/63) Installing libtasn1 (4.19.0-r0) (20/63) Installing libunistring (1.1-r0) (21/63) Installing gnutls (3.8.0-r0) (22/63) Installing libmicrohttpd (0.9.76-r0) (23/63) Installing gnutls-c++ (3.8.0-r0) (24/63) Installing libgmpxx (6.2.1-r2) (25/63) Installing gmp-dev (6.2.1-r2) (26/63) Installing nettle-dev (3.8.1-r0) (27/63) Installing libtasn1-progs (4.19.0-r0) (28/63) Installing libtasn1-dev (4.19.0-r0) (29/63) Installing p11-kit-dev (0.24.1-r1) (30/63) Installing gnutls-dev (3.8.0-r0) (31/63) Installing libmicrohttpd-dev (0.9.76-r0) (32/63) Installing libosip2 (5.3.1-r0) (33/63) Installing libosip2-dev (5.3.1-r0) (34/63) Installing argon2-libs (20190702-r3) (35/63) Installing http-parser (2.9.4-r0) (36/63) Installing jsoncpp (1.9.5-r0) (37/63) Installing opendht-libs (2.4.12-r0) (38/63) Installing jsoncpp-dev (1.9.5-r0) (39/63) Installing argon2-dev (20190702-r3) (40/63) Installing opendht-dev (2.4.12-r0) (41/63) Installing bsd-compat-headers (0.7.2-r4) (42/63) Installing libformw (6.4_p20230225-r0) (43/63) Installing libmenuw (6.4_p20230225-r0) (44/63) Installing libpanelw (6.4_p20230225-r0) (45/63) Installing ncurses-dev (6.4_p20230225-r0) (46/63) Installing libedit-dev (20221030.3.1-r0) (47/63) Installing libpcre2-16 (10.42-r0) (48/63) Installing libpcre2-32 (10.42-r0) (49/63) Installing pcre2-dev (10.42-r0) (50/63) Installing sqlite-libs (3.41.0-r0) (51/63) Installing sqlite-dev (3.41.0-r0) (52/63) Installing libblkid (2.38.1-r5) (53/63) Installing libuuid (2.38.1-r5) (54/63) Installing libfdisk (2.38.1-r5) (55/63) Installing libmount (2.38.1-r5) (56/63) Installing libsmartcols (2.38.1-r5) (57/63) Installing util-linux-dev (2.38.1-r5) (58/63) Installing cmocka (1.1.5-r3) (59/63) Installing cmocka-dev (1.1.5-r3) (60/63) Installing .makedepends-sentrypeer (20230302.211954) (61/63) Installing perl-error (0.17029-r1) (62/63) Installing perl-git (2.39.2-r0) (63/63) Installing git-perl (2.39.2-r0) Executing busybox-1.36.0-r4.trigger OK: 367 MiB in 158 packages >>> sentrypeer: Cleaning up srcdir >>> sentrypeer: Cleaning up pkgdir >>> sentrypeer: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sentrypeer-2.0.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> sentrypeer: Fetching https://github.com/SentryPeer/SentryPeer/releases/download/v2.0.1/sentrypeer-2.0.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 6 231k 6 16375 0 0 2771 0 0:01:25 0:00:05 0:01:20 5304 100 231k 100 231k 0 0 40023 0 0:00:05 0:00:05 --:--:-- 76472 >>> sentrypeer: Fetching https://distfiles.alpinelinux.org/distfiles/edge/sentrypeer-2.0.1.tar.gz >>> sentrypeer: Checking sha512sums... sentrypeer-2.0.1.tar.gz: OK >>> sentrypeer: Unpacking /var/cache/distfiles/sentrypeer-2.0.1.tar.gz... checking build system type... powerpc64le-alpine-linux-musl checking host system type... powerpc64le-alpine-linux-musl checking target system type... powerpc64le-alpine-linux-musl checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for powerpc64le-alpine-linux-musl-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 checking for gawk... (cached) awk checking for powerpc64le-alpine-linux-musl-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for powerpc64le-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking for powerpc64le-alpine-linux-musl-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libosip2 >= 5.0... yes checking for library containing osip_message_init... -losipparser2 checking for library containing sqlite3_open... -lsqlite3 checking for library containing uuid_generate... -luuid checking for library containing json_object... -ljansson checking for library containing curl_easy_init... -lcurl checking for library containing MHD_start_daemon... -lmicrohttpd checking for library containing pcre2_compile_8... -lpcre2-8 checking for library containing pthread_create... none required checking for arpa/inet.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for signal.h... yes checking for pthread.h... yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for int64_t... yes checking for size_t... yes checking for uint32_t... yes checking for GNU libc compatible malloc... yes checking for GNU libc compatible realloc... yes checking for working strnlen... yes checking for setenv... yes checking for clock_gettime... yes checking for getcwd... yes checking for inet_ntoa... yes checking for localtime_r... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strncasecmp... yes checking for strndup... yes checking for atexit... yes checking for bzero... yes checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for opendht-c... yes checking we have opendht-c >= 2.3.5... yes, version 2.4.12 checking for git... 1.7.0 checking for IP_PKTINFO... yes checking for IP_RECVDSTADDR... no checking if you'd like to disable OpenDHT support... no fatal: not a git repository (or any of the parent directories): .git checking for doxygen... no configure: WARNING: Doxygen not found - continuing without Doxygen support checking for stdarg.h... yes checking for stddef.h... (cached) yes checking for setjmp.h... yes checking for cmocka... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands configure: Configured build options for sentrypeer: Configure date: 2023-03-02 21:20 Build arch: powerpc64le-alpine-linux-musl Build user: buildozer Build host: build-edge-ppc64le Install prefix: /usr Compiler: C compiler gcc CFLAGS: -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 LIBS: -lopendht-c -lpthread -lpcre2-8 -lmicrohttpd -lcurl -ljansson -luuid -lsqlite3 -losipparser2 Configure complete! Now proceed with: - 'make' compile sentrypeer - 'make check' run the sentrypeer self tests - 'make install' install the 'sentrypeer' project to /usr make all-am make[1]: Entering directory '/home/buildozer/aports/testing/sentrypeer/src/sentrypeer-2.0.1' depbase=`echo src/sentrypeer.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/sentrypeer.o -MD -MP -MF $depbase.Tpo -c -o src/sentrypeer.o src/sentrypeer.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/signal_handler.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/signal_handler.o -MD -MP -MF $depbase.Tpo -c -o src/signal_handler.o src/signal_handler.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/conf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/conf.o -MD -MP -MF $depbase.Tpo -c -o src/conf.o src/conf.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/http_common.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/http_common.o -MD -MP -MF $depbase.Tpo -c -o src/http_common.o src/http_common.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/http_daemon.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/http_daemon.o -MD -MP -MF $depbase.Tpo -c -o src/http_daemon.o src/http_daemon.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/http_routes.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/http_routes.o -MD -MP -MF $depbase.Tpo -c -o src/http_routes.o src/http_routes.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/http_health_check_route.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/http_health_check_route.o -MD -MP -MF $depbase.Tpo -c -o src/http_health_check_route.o src/http_health_check_route.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/http_ip_addresses_route.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/http_ip_addresses_route.o -MD -MP -MF $depbase.Tpo -c -o src/http_ip_addresses_route.o src/http_ip_addresses_route.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/http_ip_address_route.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/http_ip_address_route.o -MD -MP -MF $depbase.Tpo -c -o src/http_ip_address_route.o src/http_ip_address_route.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/http_called_numbers_route.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/http_called_numbers_route.o -MD -MP -MF $depbase.Tpo -c -o src/http_called_numbers_route.o src/http_called_numbers_route.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/http_called_number_route.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/http_called_number_route.o -MD -MP -MF $depbase.Tpo -c -o src/http_called_number_route.o src/http_called_number_route.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/regex_match.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/regex_match.o -MD -MP -MF $depbase.Tpo -c -o src/regex_match.o src/regex_match.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/sip_message_event.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/sip_message_event.o -MD -MP -MF $depbase.Tpo -c -o src/sip_message_event.o src/sip_message_event.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/sip_daemon.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/sip_daemon.o -MD -MP -MF $depbase.Tpo -c -o src/sip_daemon.o src/sip_daemon.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/sip_parser.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/sip_parser.o -MD -MP -MF $depbase.Tpo -c -o src/sip_parser.o src/sip_parser.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/utils.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/utils.o -MD -MP -MF $depbase.Tpo -c -o src/utils.o src/utils.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/bad_actor.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/bad_actor.o -MD -MP -MF $depbase.Tpo -c -o src/bad_actor.o src/bad_actor.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/json_logger.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/json_logger.o -MD -MP -MF $depbase.Tpo -c -o src/json_logger.o src/json_logger.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/database.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/database.o -MD -MP -MF $depbase.Tpo -c -o src/database.o src/database.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo src/peer_to_peer_dht.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/peer_to_peer_dht.o -MD -MP -MF $depbase.Tpo -c -o src/peer_to_peer_dht.o src/peer_to_peer_dht.c &&\ mv -f $depbase.Tpo $depbase.Po gcc -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -Wl,-rpath,/home/linuxbrew/.linuxbrew/lib -Wl,--as-needed,-O1,--sort-common -o sentrypeer src/sentrypeer.o src/signal_handler.o src/conf.o src/http_common.o src/http_daemon.o src/http_routes.o src/http_health_check_route.o src/http_ip_addresses_route.o src/http_ip_address_route.o src/http_called_numbers_route.o src/http_called_number_route.o src/regex_match.o src/sip_message_event.o src/sip_daemon.o src/sip_parser.o src/utils.o src/bad_actor.o src/json_logger.o src/database.o src/peer_to_peer_dht.o -lopendht-c -lpthread -lpcre2-8 -lmicrohttpd -lcurl -ljansson -luuid -lsqlite3 -losipparser2 make[1]: Leaving directory '/home/buildozer/aports/testing/sentrypeer/src/sentrypeer-2.0.1' make tests/unit_tests/runner make[1]: Entering directory '/home/buildozer/aports/testing/sentrypeer/src/sentrypeer-2.0.1' gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-sip_message_event.o -MD -MP -MF src/.deps/tests_unit_tests_runner-sip_message_event.Tpo -c -o src/tests_unit_tests_runner-sip_message_event.o `test -f 'src/sip_message_event.c' || echo './'`src/sip_message_event.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-sip_daemon.o -MD -MP -MF src/.deps/tests_unit_tests_runner-sip_daemon.Tpo -c -o src/tests_unit_tests_runner-sip_daemon.o `test -f 'src/sip_daemon.c' || echo './'`src/sip_daemon.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-http_common.o -MD -MP -MF src/.deps/tests_unit_tests_runner-http_common.Tpo -c -o src/tests_unit_tests_runner-http_common.o `test -f 'src/http_common.c' || echo './'`src/http_common.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-http_daemon.o -MD -MP -MF src/.deps/tests_unit_tests_runner-http_daemon.Tpo -c -o src/tests_unit_tests_runner-http_daemon.o `test -f 'src/http_daemon.c' || echo './'`src/http_daemon.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-http_routes.o -MD -MP -MF src/.deps/tests_unit_tests_runner-http_routes.Tpo -c -o src/tests_unit_tests_runner-http_routes.o `test -f 'src/http_routes.c' || echo './'`src/http_routes.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-http_health_check_route.o -MD -MP -MF src/.deps/tests_unit_tests_runner-http_health_check_route.Tpo -c -o src/tests_unit_tests_runner-http_health_check_route.o `test -f 'src/http_health_check_route.c' || echo './'`src/http_health_check_route.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-http_ip_addresses_route.o -MD -MP -MF src/.deps/tests_unit_tests_runner-http_ip_addresses_route.Tpo -c -o src/tests_unit_tests_runner-http_ip_addresses_route.o `test -f 'src/http_ip_addresses_route.c' || echo './'`src/http_ip_addresses_route.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-http_ip_address_route.o -MD -MP -MF src/.deps/tests_unit_tests_runner-http_ip_address_route.Tpo -c -o src/tests_unit_tests_runner-http_ip_address_route.o `test -f 'src/http_ip_address_route.c' || echo './'`src/http_ip_address_route.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-http_called_numbers_route.o -MD -MP -MF src/.deps/tests_unit_tests_runner-http_called_numbers_route.Tpo -c -o src/tests_unit_tests_runner-http_called_numbers_route.o `test -f 'src/http_called_numbers_route.c' || echo './'`src/http_called_numbers_route.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-http_called_number_route.o -MD -MP -MF src/.deps/tests_unit_tests_runner-http_called_number_route.Tpo -c -o src/tests_unit_tests_runner-http_called_number_route.o `test -f 'src/http_called_number_route.c' || echo './'`src/http_called_number_route.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-regex_match.o -MD -MP -MF src/.deps/tests_unit_tests_runner-regex_match.Tpo -c -o src/tests_unit_tests_runner-regex_match.o `test -f 'src/regex_match.c' || echo './'`src/regex_match.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-sip_parser.o -MD -MP -MF src/.deps/tests_unit_tests_runner-sip_parser.Tpo -c -o src/tests_unit_tests_runner-sip_parser.o `test -f 'src/sip_parser.c' || echo './'`src/sip_parser.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-bad_actor.o -MD -MP -MF src/.deps/tests_unit_tests_runner-bad_actor.Tpo -c -o src/tests_unit_tests_runner-bad_actor.o `test -f 'src/bad_actor.c' || echo './'`src/bad_actor.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-conf.o -MD -MP -MF src/.deps/tests_unit_tests_runner-conf.Tpo -c -o src/tests_unit_tests_runner-conf.o `test -f 'src/conf.c' || echo './'`src/conf.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-json_logger.o -MD -MP -MF src/.deps/tests_unit_tests_runner-json_logger.Tpo -c -o src/tests_unit_tests_runner-json_logger.o `test -f 'src/json_logger.c' || echo './'`src/json_logger.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-utils.o -MD -MP -MF src/.deps/tests_unit_tests_runner-utils.Tpo -c -o src/tests_unit_tests_runner-utils.o `test -f 'src/utils.c' || echo './'`src/utils.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-database.o -MD -MP -MF src/.deps/tests_unit_tests_runner-database.Tpo -c -o src/tests_unit_tests_runner-database.o `test -f 'src/database.c' || echo './'`src/database.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT src/tests_unit_tests_runner-peer_to_peer_dht.o -MD -MP -MF src/.deps/tests_unit_tests_runner-peer_to_peer_dht.Tpo -c -o src/tests_unit_tests_runner-peer_to_peer_dht.o `test -f 'src/peer_to_peer_dht.c' || echo './'`src/peer_to_peer_dht.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT tests/unit_tests/runner-test_conf.o -MD -MP -MF tests/unit_tests/.deps/runner-test_conf.Tpo -c -o tests/unit_tests/runner-test_conf.o `test -f 'tests/unit_tests/test_conf.c' || echo './'`tests/unit_tests/test_conf.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT tests/unit_tests/runner-test_json_logger.o -MD -MP -MF tests/unit_tests/.deps/runner-test_json_logger.Tpo -c -o tests/unit_tests/runner-test_json_logger.o `test -f 'tests/unit_tests/test_json_logger.c' || echo './'`tests/unit_tests/test_json_logger.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT tests/unit_tests/runner-test_utils.o -MD -MP -MF tests/unit_tests/.deps/runner-test_utils.Tpo -c -o tests/unit_tests/runner-test_utils.o `test -f 'tests/unit_tests/test_utils.c' || echo './'`tests/unit_tests/test_utils.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT tests/unit_tests/runner-test_bad_actor.o -MD -MP -MF tests/unit_tests/.deps/runner-test_bad_actor.Tpo -c -o tests/unit_tests/runner-test_bad_actor.o `test -f 'tests/unit_tests/test_bad_actor.c' || echo './'`tests/unit_tests/test_bad_actor.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT tests/unit_tests/runner-test_database.o -MD -MP -MF tests/unit_tests/.deps/runner-test_database.Tpo -c -o tests/unit_tests/runner-test_database.o `test -f 'tests/unit_tests/test_database.c' || echo './'`tests/unit_tests/test_database.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT tests/unit_tests/runner-test_http_api.o -MD -MP -MF tests/unit_tests/.deps/runner-test_http_api.Tpo -c -o tests/unit_tests/runner-test_http_api.o `test -f 'tests/unit_tests/test_http_api.c' || echo './'`tests/unit_tests/test_http_api.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT tests/unit_tests/runner-test_http_api_version.o -MD -MP -MF tests/unit_tests/.deps/runner-test_http_api_version.Tpo -c -o tests/unit_tests/runner-test_http_api_version.o `test -f 'tests/unit_tests/test_http_api_version.c' || echo './'`tests/unit_tests/test_http_api_version.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT tests/unit_tests/runner-test_http_route_check.o -MD -MP -MF tests/unit_tests/.deps/runner-test_http_route_check.Tpo -c -o tests/unit_tests/runner-test_http_route_check.o `test -f 'tests/unit_tests/test_http_route_check.c' || echo './'`tests/unit_tests/test_http_route_check.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT tests/unit_tests/runner-test_ip_address_regex.o -MD -MP -MF tests/unit_tests/.deps/runner-test_ip_address_regex.Tpo -c -o tests/unit_tests/runner-test_ip_address_regex.o `test -f 'tests/unit_tests/test_ip_address_regex.c' || echo './'`tests/unit_tests/test_ip_address_regex.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT tests/unit_tests/runner-test_sip_message_event.o -MD -MP -MF tests/unit_tests/.deps/runner-test_sip_message_event.Tpo -c -o tests/unit_tests/runner-test_sip_message_event.o `test -f 'tests/unit_tests/test_sip_message_event.c' || echo './'`tests/unit_tests/test_sip_message_event.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT tests/unit_tests/runner-test_sip_daemon.o -MD -MP -MF tests/unit_tests/.deps/runner-test_sip_daemon.Tpo -c -o tests/unit_tests/runner-test_sip_daemon.o `test -f 'tests/unit_tests/test_sip_daemon.c' || echo './'`tests/unit_tests/test_sip_daemon.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT tests/unit_tests/runner-test_peer_to_peer_dht.o -MD -MP -MF tests/unit_tests/.deps/runner-test_peer_to_peer_dht.Tpo -c -o tests/unit_tests/runner-test_peer_to_peer_dht.o `test -f 'tests/unit_tests/test_peer_to_peer_dht.c' || echo './'`tests/unit_tests/test_peer_to_peer_dht.c gcc -DHAVE_CONFIG_H -I. -Os -fomit-frame-pointer -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -MT tests/unit_tests/runner-runner.o -MD -MP -MF tests/unit_tests/.deps/runner-runner.Tpo -c -o tests/unit_tests/runner-runner.o `test -f 'tests/unit_tests/runner.c' || echo './'`tests/unit_tests/runner.c mv -f src/.deps/tests_unit_tests_runner-sip_message_event.Tpo src/.deps/tests_unit_tests_runner-sip_message_event.Po mv -f src/.deps/tests_unit_tests_runner-http_health_check_route.Tpo src/.deps/tests_unit_tests_runner-http_health_check_route.Po mv -f src/.deps/tests_unit_tests_runner-http_common.Tpo src/.deps/tests_unit_tests_runner-http_common.Po mv -f src/.deps/tests_unit_tests_runner-http_daemon.Tpo src/.deps/tests_unit_tests_runner-http_daemon.Po mv -f tests/unit_tests/.deps/runner-test_json_logger.Tpo tests/unit_tests/.deps/runner-test_json_logger.Po mv -f tests/unit_tests/.deps/runner-test_ip_address_regex.Tpo tests/unit_tests/.deps/runner-test_ip_address_regex.Po mv -f tests/unit_tests/.deps/runner-test_sip_daemon.Tpo tests/unit_tests/.deps/runner-test_sip_daemon.Po mv -f tests/unit_tests/.deps/runner-test_sip_message_event.Tpo tests/unit_tests/.deps/runner-test_sip_message_event.Po mv -f src/.deps/tests_unit_tests_runner-utils.Tpo src/.deps/tests_unit_tests_runner-utils.Po mv -f tests/unit_tests/.deps/runner-runner.Tpo tests/unit_tests/.deps/runner-runner.Po mv -f tests/unit_tests/.deps/runner-test_utils.Tpo tests/unit_tests/.deps/runner-test_utils.Po mv -f tests/unit_tests/.deps/runner-test_conf.Tpo tests/unit_tests/.deps/runner-test_conf.Po mv -f src/.deps/tests_unit_tests_runner-http_routes.Tpo src/.deps/tests_unit_tests_runner-http_routes.Po mv -f src/.deps/tests_unit_tests_runner-http_called_number_route.Tpo src/.deps/tests_unit_tests_runner-http_called_number_route.Po mv -f tests/unit_tests/.deps/runner-test_peer_to_peer_dht.Tpo tests/unit_tests/.deps/runner-test_peer_to_peer_dht.Po mv -f tests/unit_tests/.deps/runner-test_http_route_check.Tpo tests/unit_tests/.deps/runner-test_http_route_check.Po mv -f src/.deps/tests_unit_tests_runner-sip_parser.Tpo src/.deps/tests_unit_tests_runner-sip_parser.Po mv -f src/.deps/tests_unit_tests_runner-http_ip_addresses_route.Tpo src/.deps/tests_unit_tests_runner-http_ip_addresses_route.Po mv -f src/.deps/tests_unit_tests_runner-http_ip_address_route.Tpo src/.deps/tests_unit_tests_runner-http_ip_address_route.Po mv -f src/.deps/tests_unit_tests_runner-regex_match.Tpo src/.deps/tests_unit_tests_runner-regex_match.Po mv -f src/.deps/tests_unit_tests_runner-http_called_numbers_route.Tpo src/.deps/tests_unit_tests_runner-http_called_numbers_route.Po mv -f src/.deps/tests_unit_tests_runner-bad_actor.Tpo src/.deps/tests_unit_tests_runner-bad_actor.Po mv -f tests/unit_tests/.deps/runner-test_http_api_version.Tpo tests/unit_tests/.deps/runner-test_http_api_version.Po mv -f src/.deps/tests_unit_tests_runner-conf.Tpo src/.deps/tests_unit_tests_runner-conf.Po mv -f tests/unit_tests/.deps/runner-test_database.Tpo tests/unit_tests/.deps/runner-test_database.Po mv -f tests/unit_tests/.deps/runner-test_bad_actor.Tpo tests/unit_tests/.deps/runner-test_bad_actor.Po mv -f src/.deps/tests_unit_tests_runner-peer_to_peer_dht.Tpo src/.deps/tests_unit_tests_runner-peer_to_peer_dht.Po mv -f tests/unit_tests/.deps/runner-test_http_api.Tpo tests/unit_tests/.deps/runner-test_http_api.Po mv -f src/.deps/tests_unit_tests_runner-database.Tpo src/.deps/tests_unit_tests_runner-database.Po mv -f src/.deps/tests_unit_tests_runner-sip_daemon.Tpo src/.deps/tests_unit_tests_runner-sip_daemon.Po mv -f src/.deps/tests_unit_tests_runner-json_logger.Tpo src/.deps/tests_unit_tests_runner-json_logger.Po gcc -Wall -Werror -Wextra -Wpedantic -pedantic -Wformat=2 -Wno-unused-parameter -Wshadow -Wwrite-strings -Wstrict-prototypes -Wold-style-definition -Wnested-externs -Wmissing-include-dirs -Wredundant-decls -std=c18 -D_FORTIFY_SOURCE=2 -fpie -fpic -g3 -O2 -fstack-protector-strong -grecord-gcc-switches -Werror=format-security -Werror=implicit-function-declaration -Wmisleading-indentation -Os -fomit-frame-pointer -flto=auto -pthread -I/usr/include/p11-kit-1 -Wl,-rpath,/home/linuxbrew/.linuxbrew/lib -Wl,--as-needed,-O1,--sort-common -o tests/unit_tests/runner src/tests_unit_tests_runner-sip_message_event.o src/tests_unit_tests_runner-sip_daemon.o src/tests_unit_tests_runner-http_common.o src/tests_unit_tests_runner-http_daemon.o src/tests_unit_tests_runner-http_routes.o src/tests_unit_tests_runner-http_health_check_route.o src/tests_unit_tests_runner-http_ip_addresses_route.o src/tests_unit_tests_runner-http_ip_address_route.o src/tests_unit_tests_runner-http_called_numbers_route.o src/tests_unit_tests_runner-http_called_number_route.o src/tests_unit_tests_runner-regex_match.o src/tests_unit_tests_runner-sip_parser.o src/tests_unit_tests_runner-bad_actor.o src/tests_unit_tests_runner-conf.o src/tests_unit_tests_runner-json_logger.o src/tests_unit_tests_runner-utils.o src/tests_unit_tests_runner-database.o tests/unit_tests/runner-test_conf.o tests/unit_tests/runner-test_json_logger.o tests/unit_tests/runner-test_utils.o tests/unit_tests/runner-test_bad_actor.o tests/unit_tests/runner-test_database.o tests/unit_tests/runner-test_http_api.o tests/unit_tests/runner-test_http_api_version.o tests/unit_tests/runner-test_http_route_check.o tests/unit_tests/runner-test_ip_address_regex.o tests/unit_tests/runner-test_sip_message_event.o tests/unit_tests/runner-test_sip_daemon.o src/tests_unit_tests_runner-peer_to_peer_dht.o tests/unit_tests/runner-test_peer_to_peer_dht.o tests/unit_tests/runner-runner.o -lcmocka -lopendht-c -lpthread -lpcre2-8 -lmicrohttpd -lcurl -ljansson -luuid -lsqlite3 -losipparser2 make[1]: Leaving directory '/home/buildozer/aports/testing/sentrypeer/src/sentrypeer-2.0.1' make check-TESTS make[1]: Entering directory '/home/buildozer/aports/testing/sentrypeer/src/sentrypeer-2.0.1' make[2]: Entering directory '/home/buildozer/aports/testing/sentrypeer/src/sentrypeer-2.0.1' FAIL: tests/unit_tests/runner ============================================================================ Testsuite summary for sentrypeer 2.0.1 ============================================================================ # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See ./test-suite.log Please report to ghenry@sentrypeer.org ============================================================================ make[2]: *** [Makefile:1664: test-suite.log] Error 1 make[2]: Leaving directory '/home/buildozer/aports/testing/sentrypeer/src/sentrypeer-2.0.1' make[1]: *** [Makefile:1772: check-TESTS] Error 2 make[1]: Leaving directory '/home/buildozer/aports/testing/sentrypeer/src/sentrypeer-2.0.1' make: *** [Makefile:1984: check-am] Error 2 ======================================== sentrypeer 2.0.1: ./test-suite.log ======================================== # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: tests/unit_tests/runner ============================= Error: SentryPeer db file location must be an absolute path: tests/unit_tests/test_sentrypeer.db SentryPeer db file location set via cli -f to: /tests/unit_tests/test_sentrypeer.db SentryPeer db file location set via SENTRYPEER_DB_FILE env var to: /tests/unit_tests/test_sentrypeer.db SentryPeer db file location set to current working dir: /home/buildozer/aports/testing/sentrypeer/src/sentrypeer-2.0.1/sentrypeer.db Error: SentryPeer json log file location must be an absolute path: tests/unit_tests/test_sentrypeer_json.log SentryPeer json log file location set via cli -f to: /tests/unit_tests/test_sentrypeer_json.log SentryPeer json log file location set via SENTRYPEER_JSON_LOG_FILE env var to: /tests/unit_tests/test_sentrypeer_json.log SentryPeer json log file location set to current working dir: /home/buildozer/aports/testing/sentrypeer/src/sentrypeer-2.0.1/sentrypeer_json.log Freed string_copied successfully at line number 42 in file tests/unit_tests/test_utils.c Freed destination_string successfully at line number 62 in file tests/unit_tests/test_utils.c debug_mode set to true at line number 127 in file tests/unit_tests/test_bad_actor.c New bad actor event created at line number 56 in file tests/unit_tests/test_bad_actor.c | ERROR | 2023-03-02 21:20:13.1979 Final CRLF is missing | ERROR | 2023-03-02 21:20:13.1980 End of header Not found | ERROR | 2023-03-02 21:20:13.1980 error in msg_headers_parse() Cannot parse incoming SIP message. Invalid SIP message processed at line number 138 in file tests/unit_tests/test_bad_actor.c New bad actor event created at line number 56 in file tests/unit_tests/test_bad_actor.c Bad Actor is: Event Timestamp: 2023-03-02 21:20:13.198067727 Event UUID: 76c4c43c-c897-4ab0-aca3-967145bb561c SIP Message: OPTIONS sip:100@23.148.145.71 SIP/2.0 Via: SIP/2.0/UDP 23.148.145.71:5084;branch=z9hG4bK-3054909403;rport From: "sipvicious" ;tag=6434396633623535313363340133343333313138393833 To: "sipvicious" Call-ID: 711444933874895842969934 CSeq: 1 OPTIONS Contact: Accept: application/sdp User-agent: friendly-scanner Max-forwards: 70 Content-Length: 0 Source IP: 104.149.141.214 Called Number: 100 SIP Method: OPTIONS Transport Type: UDP User Agent: friendly-scanner Collected Method: passive Created by Node Id: a6c1630b-c4a0-4824-a484-2ad9001ed53d Valid SIP message processed at line number 150 in file tests/unit_tests/test_bad_actor.c New bad actor event created at line number 56 in file tests/unit_tests/test_bad_actor.c Bad Actor is: Event Timestamp: 2023-03-02 21:20:13.198238428 Event UUID: cbc68fba-2af2-4215-8394-42aec85dd80d SIP Message: OPTIONS sip:100@23.148.145.71 SIP/2.0 Via: SIP/2.0/UDP 23.148.145.71:5084;branch=z9hG4bK-3054909403;rport From: "sipvicious" ;tag=6434396633623535313363340133343333313138393833 To: "sipvicious" Call-ID: 711444933874895842969934 CSeq: 1 OPTIONS Contact: Accept: application/sdp User-agent: friendly-scanner Max-forwards: 70 Content-Length: 0 Source IP: 104.149.141.214 Called Number: NOT_FOUND SIP Method: OPTIONS Transport Type: UDP User Agent: friendly-scanner Collected Method: passive Created by Node Id: 27ac95be-8b83-4fe8-b418-ce50ec30beb4 New bad actor event created at line number 56 in file tests/unit_tests/test_bad_actor.c Bad Actor is: Event Timestamp: 2023-03-02 21:20:13.198387954 Event UUID: b171ebfa-736d-4b96-806e-3ab405e51196 SIP Message: OPTIONS sip:100@23.148.145.71 SIP/2.0 Via: SIP/2.0/UDP 23.148.145.71:5084;branch=z9hG4bK-3054909403;rport From: "sipvicious" ;tag=6434396633623535313363340133343333313138393833 To: "sipvicious" Call-ID: 711444933874895842969934 CSeq: 1 OPTIONS Contact: Accept: application/sdp Max-forwards: 70 Content-Length: 0 Source IP: 104.149.141.214 Called Number: 100 SIP Method: OPTIONS Transport Type: UDP User Agent: NOT_FOUND Collected Method: passive Created by Node Id: 468895fb-1d64-4f43-bc15-0681159a5a20 New bad actor event created at line number 56 in file tests/unit_tests/test_bad_actor.c Bad actor in JSON format: {"app_name":"sentrypeer","app_version":"2.0.1","event_timestamp":"2023-03-02 21:20:13.198535943","event_uuid":"716e40c5-2d54-4a92-8d44-d0d12ad861cd","created_by_node_id":"3cdef8d9-0b54-4a4b-893a-022389fcd39e","collected_method":"passive","transport_type":"UDP","source_ip":"104.149.141.214","destination_ip":"8.8.8.8","called_number":"","sip_method":"","sip_user_agent":"","sip_message":""} SentryPeer db file location is: test_sentrypeer.db Opened database successfully at line number 47 in file tests/unit_tests/test_database.c Checked schema at line number 88 in file tests/unit_tests/test_database.c Created table successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 94 in file tests/unit_tests/test_database.c Created index on source_ip successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 101 in file tests/unit_tests/test_database.c Created index on called_number successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 108 in file tests/unit_tests/test_database.c Created index on event_uuid successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 115 in file tests/unit_tests/test_database.c Prepared insert bad actor statement at line number 122 in file tests/unit_tests/test_database.c Bound bad actor values for insert at line number 175 in file tests/unit_tests/test_database.c Evaluated bad actor insert at line number 180 in file tests/unit_tests/test_database.c Finalized insert bad actor statement at line number 185 in file tests/unit_tests/test_database.c Closed database successfully at line number 190 in file tests/unit_tests/test_database.c Opened database successfully at line number 222 in file tests/unit_tests/test_database.c Finalized select bad actor statement at line number 242 in file tests/unit_tests/test_database.c Closed database successfully at line number 247 in file tests/unit_tests/test_database.c Removing database: test_sentrypeer.db Removed database successfully. Opened database successfully at line number 47 in file tests/unit_tests/test_database.c Checked schema at line number 88 in file tests/unit_tests/test_database.c Created table successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 94 in file tests/unit_tests/test_database.c Created index on source_ip successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 101 in file tests/unit_tests/test_database.c Created index on called_number successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 108 in file tests/unit_tests/test_database.c Created index on event_uuid successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 115 in file tests/unit_tests/test_database.c Prepared insert bad actor statement at line number 122 in file tests/unit_tests/test_database.c Bound bad actor values for insert at line number 175 in file tests/unit_tests/test_database.c Evaluated bad actor insert at line number 180 in file tests/unit_tests/test_database.c Finalized insert bad actor statement at line number 185 in file tests/unit_tests/test_database.c Closed database successfully at line number 190 in file tests/unit_tests/test_database.c New bad actor event created at line number 266 in file tests/unit_tests/test_database.c Debug mode set to true at line number 270 in file tests/unit_tests/test_database.c SentryPeer db file location is: test_sentrypeer.db Freed bad_actor_event. Removing database: test_sentrypeer.db Removed database successfully. Opened database successfully at line number 47 in file tests/unit_tests/test_database.c Checked schema at line number 88 in file tests/unit_tests/test_database.c Created table successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 94 in file tests/unit_tests/test_database.c Created index on source_ip successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 101 in file tests/unit_tests/test_database.c Created index on called_number successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 108 in file tests/unit_tests/test_database.c Created index on event_uuid successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 115 in file tests/unit_tests/test_database.c Prepared insert bad actor statement at line number 122 in file tests/unit_tests/test_database.c Bound bad actor values for insert at line number 175 in file tests/unit_tests/test_database.c Evaluated bad actor insert at line number 180 in file tests/unit_tests/test_database.c Finalized insert bad actor statement at line number 185 in file tests/unit_tests/test_database.c Closed database successfully at line number 190 in file tests/unit_tests/test_database.c Found source_ip in honey table: 104.149.141.214 Found event_uuid in honey table: 2ceba0a8-3ac1-426f-9d45-8ecc3f00c21e Event UUID is not a valid UUID: Event UUID is NULL. Event UUID does not exist in honey table: 85794cd7-f874-4346-a549-424898a0e224 Removing database: test_sentrypeer.db Removed database successfully. Opened database successfully at line number 47 in file tests/unit_tests/test_database.c Checked schema at line number 88 in file tests/unit_tests/test_database.c Created table successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 94 in file tests/unit_tests/test_database.c Created index on source_ip successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 101 in file tests/unit_tests/test_database.c Created index on called_number successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 108 in file tests/unit_tests/test_database.c Created index on event_uuid successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 115 in file tests/unit_tests/test_database.c Prepared insert bad actor statement at line number 122 in file tests/unit_tests/test_database.c Bound bad actor values for insert at line number 175 in file tests/unit_tests/test_database.c Evaluated bad actor insert at line number 180 in file tests/unit_tests/test_database.c Finalized insert bad actor statement at line number 185 in file tests/unit_tests/test_database.c Closed database successfully at line number 190 in file tests/unit_tests/test_database.c Distinct source_ip row count in honey table is: 1 Column name is 'source_ip', with value: 104.149.141.214 Freed bad_actors. Removing database: test_sentrypeer.db Removed database successfully. Opened database successfully at line number 47 in file tests/unit_tests/test_database.c Checked schema at line number 88 in file tests/unit_tests/test_database.c Created table successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 94 in file tests/unit_tests/test_database.c Created index on source_ip successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 101 in file tests/unit_tests/test_database.c Created index on called_number successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 108 in file tests/unit_tests/test_database.c Created index on event_uuid successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 115 in file tests/unit_tests/test_database.c Prepared insert bad actor statement at line number 122 in file tests/unit_tests/test_database.c Bound bad actor values for insert at line number 175 in file tests/unit_tests/test_database.c Evaluated bad actor insert at line number 180 in file tests/unit_tests/test_database.c Finalized insert bad actor statement at line number 185 in file tests/unit_tests/test_database.c Closed database successfully at line number 190 in file tests/unit_tests/test_database.c Debug mode set to true at line number 65 in file tests/unit_tests/test_http_api.c API mode enabled, starting http daemon... http_daemon started at line number 69 in file tests/unit_tests/test_http_api.c * Trying 127.0.0.1:8082... * Connected to localhost (127.0.0.1) port 8082 (#0) > GET /health-check HTTP/1.1 Host: localhost:8082 User-Agent: sentrypeer-agent/1.0 Accept: */* Content-Type: application/json GET /health-check from Client IP: 127.0.0.1 Checking url: /health-check, against route: /health-check Route is an exact match. Content-Type is: application/json < HTTP/1.1 200 OK < Date: Thu, 02 Mar 2023 21:20:13 GMT < Content-Type: application/json < Access-Control-Allow-Origin: * < X-Powered-By: SentryPeer < X-SentryPeer-Version: 2.0.1 < Content-Length: 81 < * Connection #0 to host localhost left intact SentryPeer version from RESTful API: 2.0.1 GET /health-check from Client IP: 127.0.0.1 Checking url: /health-check, against route: /health-check Route is an exact match. GET /blah from Client IP: 127.0.0.1 Checking url: /blah, against route: /health-check Checking url: /blah, against route: / Checking url: /blah, against route: /ip-addresses Checking url: /blah, against route: /ip-addresses/ipset Checking url: /blah, against route: /numbers Checking url: /blah, against route: /countries Checking url: /blah, against route: /countries/:country Checking url: /blah, against route: /countries/:country/:city Checking url: /blah, against route: /user-agents Checking url: /blah, against route: /user-agents/:user_agent Checking url: /blah, against route: /sip-methods Checking url: /blah, against route: /sip-methods/:sip_method No route matched. GET /ip-addresses/8.8.8.8 from Client IP: 127.0.0.1 Checking url: /ip-addresses/8.8.8.8, against route: /health-check Checking url: /ip-addresses/8.8.8.8, against route: / Checking url: /ip-addresses/8.8.8.8, against route: /ip-addresses route_regex_check matched: 8.8.8.8 Matched ip address route: /ip-addresses/(.+) GET /ip-addresses/104.149.141.214 from Client IP: 127.0.0.1 Checking url: /ip-addresses/104.149.141.214, against route: /health-check Checking url: /ip-addresses/104.149.141.214, against route: / Checking url: /ip-addresses/104.149.141.214, against route: /ip-addresses route_regex_check matched: 104.149.141.214 Matched ip address route: /ip-addresses/(.+) Found source_ip in honey table: 104.149.141.214 bad_actor IP found: 104.149.141.214 GET /ip-addresses from Client IP: 127.0.0.1 Checking url: /ip-addresses, against route: /health-check Checking url: /ip-addresses, against route: / Checking url: /ip-addresses, against route: /ip-addresses Route is an exact match. Distinct source_ip row count in honey table is: 1 Column name is 'source_ip', with value: 104.149.141.214 source_ip: 104.149.141.214 GET /ip-addresses/104.14da3afcsasd from Client IP: 127.0.0.1 Checking url: /ip-addresses/104.14da3afcsasd, against route: /health-check Checking url: /ip-addresses/104.14da3afcsasd, against route: / Checking url: /ip-addresses/104.14da3afcsasd, against route: /ip-addresses route_regex_check matched: 104.14da3afcsasd Matched ip address route: /ip-addresses/(.+) GET /numbers from Client IP: 127.0.0.1 Checking url: /numbers, against route: /health-check Checking url: /numbers, against route: / Checking url: /numbers, against route: /ip-addresses Checking url: /numbers, against route: /ip-addresses/ipset Checking url: /numbers, against route: /numbers Route is an exact match. Distinct called_number row count in honey table is: 1 Column name is 'called_number', with value: 100 called_number: 100 GET /numbers/123456789 from Client IP: 127.0.0.1 Checking url: /numbers/123456789, against route: /health-check Checking url: /numbers/123456789, against route: / Checking url: /numbers/123456789, against route: /ip-addresses Checking url: /numbers/123456789, against route: /ip-addresses/ipset Checking url: /numbers/123456789, against route: /numbers route_regex_check matched: 123456789 Called Number route: /numbers/(\+?[0-9]+$) GET /numbers/100 from Client IP: 127.0.0.1 Checking url: /numbers/100, against route: /health-check Checking url: /numbers/100, against route: / Checking url: /numbers/100, against route: /ip-addresses Checking url: /numbers/100, against route: /ip-addresses/ipset Checking url: /numbers/100, against route: /numbers route_regex_check matched: 100 Called Number route: /numbers/(\+?[0-9]+$) Found called_number in honey table: 100 Called number found: 100 Stopping http daemon... http_daemon stopped at line number 114 in file tests/unit_tests/test_http_api.c Removing database: test_sentrypeer.db Removed database successfully. Checking url: /, against route: /test/route/check Checking url: /ip-addresses/8.8.8.8, against route: /test/route/check Checking url: /ip-addresses, against route: /test/route/check Checking url: /health-check/, against route: /test/route/check Checking url: /health-check, against route: /test/route/check Checking url: /numbers, against route: /test/route/check Checking url: /numbers/123456789, against route: /test/route/check Checking url: /, against route: /test/rt Checking url: /ip-addresses/8.8.8.8, against route: /test/rt Checking url: /ip-addresses, against route: /test/rt Checking url: /health-check/, against route: /test/rt Checking url: /health-check, against route: /test/rt Checking url: /numbers, against route: /test/rt Checking url: /numbers/123456789, against route: /test/rt Checking url: /, against route: /ip-/ Checking url: /ip-addresses/8.8.8.8, against route: /ip-/ Checking url: /ip-addresses, against route: /ip-/ Checking url: /health-check/, against route: /ip-/ Checking url: /health-check, against route: /ip-/ Checking url: /numbers, against route: /ip-/ Checking url: /numbers/123456789, against route: /ip-/ Checking url: /, against route: /ip- Checking url: /ip-addresses/8.8.8.8, against route: /ip- Checking url: /ip-addresses, against route: /ip- Checking url: /health-check/, against route: /ip- Checking url: /health-check, against route: /ip- Checking url: /numbers, against route: /ip- Checking url: /numbers/123456789, against route: /ip- Checking url: /ip-addresses, against route: /ip-addresses Route is an exact match. Checking url: /ip-addresses, against route: /ip-this-is-longer-url-than-we-have-a-route-for-but-has-ip-prefix/ route_regex_check matched: 8.8.8.8 New sip_message_event created at line number 66 in file tests/unit_tests/test_sip_message_event.c Opened database successfully at line number 47 in file tests/unit_tests/test_database.c Checked schema at line number 88 in file tests/unit_tests/test_database.c Created table successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 94 in file tests/unit_tests/test_database.c Created index on source_ip successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 101 in file tests/unit_tests/test_database.c Created index on called_number successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 108 in file tests/unit_tests/test_database.c Created index on event_uuid successfully using: CREATE TABLE IF NOT EXISTS honey ( honey_id INTEGER PRIMARY KEY, event_timestamp TEXT, event_uuid TEXT, collected_method TEXT, source_ip TEXT, called_number TEXT, transport_type TEXT, method TEXT, user_agent TEXT, sip_message TEXT, created_by_node_id TEXT, created_at DATETIME DEFAULT(STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW'))); at line number 115 in file tests/unit_tests/test_database.c Prepared insert bad actor statement at line number 122 in file tests/unit_tests/test_database.c Bound bad actor values for insert at line number 175 in file tests/unit_tests/test_database.c Evaluated bad actor insert at line number 180 in file tests/unit_tests/test_database.c Finalized insert bad actor statement at line number 185 in file tests/unit_tests/test_database.c Closed database successfully at line number 190 in file tests/unit_tests/test_database.c New bad actor event created at line number 56 in file tests/unit_tests/test_bad_actor.c Bad actor in JSON format: {"app_name":"sentrypeer","app_version":"2.0.1","event_timestamp":"2023-03-02 21:20:13.249984269","event_uuid":"47401fd1-0b47-4f0c-9401-4cb2f8fc7c3d","created_by_node_id":"0fb7cbcf-780d-4886-88b8-6fe2ed18f4cf","collected_method":"passive","transport_type":"UDP","source_ip":"104.149.141.214","destination_ip":"8.8.8.8","called_number":"","sip_method":"","sip_user_agent":"","sip_message":""} Bad actor in JSON format: {"app_name":"sentrypeer","app_version":"2.0.1","event_timestamp":"2023-03-02 21:20:13.249984269","event_uuid":"47401fd1-0b47-4f0c-9401-4cb2f8fc7c3d","created_by_node_id":"0fb7cbcf-780d-4886-88b8-6fe2ed18f4cf","collected_method":"passive","transport_type":"UDP","source_ip":"104.149.141.214","destination_ip":"8.8.8.8","called_number":"","sip_method":"","sip_user_agent":"","sip_message":""} JSON to convert to a bad_actor: {"app_name":"sentrypeer","app_version":"2.0.1","event_timestamp":"2023-03-02 21:20:13.249984269","event_uuid":"47401fd1-0b47-4f0c-9401-4cb2f8fc7c3d","created_by_node_id":"0fb7cbcf-780d-4886-88b8-6fe2ed18f4cf","collected_method":"passive","transport_type":"UDP","source_ip":"104.149.141.214","destination_ip":"8.8.8.8","called_number":"","sip_method":"","sip_user_agent":"","sip_message":""} bad_actor from JSON on DHT is: event_timestamp: 2023-03-02 21:20:13.249984269 event_uuid: 47401fd1-0b47-4f0c-9401-4cb2f8fc7c3d created_by_node_id: 0fb7cbcf-780d-4886-88b8-6fe2ed18f4cf collected_method: passive transport_type: UDP source_ip: 104.149.141.214 destination_ip: 8.8.8.8 called_number: sip_method: sip_user_agent: sip_message: Removing database: test_sentrypeer.db Removed database successfully. Cert ID: 0bbe2ccc42543af91a0fd519e6e0546814f3bfe3 PK ID: 0bbe2ccc42543af91a0fd519e6e0546814f3bfe3 Key ID: 0bbe2ccc42543af91a0fd519e6e0546814f3bfe3 random hash: a16bbc02bfa9b253dd9824430cdb20b61ed13cd4 Get callback: yo, this is some data. Done callback. Failure :-( Done callback. Failure :-(

Hello from SentryPeer!

All is well!

{"error": "The requested resource could not be found."}{"message": "No bad actor found"}{ "bad_actor_found": "104.149.141.214" }{ "ip_addresses_total": 1, "ip_addresses": [ { "ip_address": "104.149.141.214", "seen_last": "2020-11-18 20:13:17.349557105", "seen_count": "1" } ] }{"error": "The request data was invalid"}{ "called_numbers_total": 1, "called_numbers": [ { "called_number": "100", "seen_last": "2020-11-18 20:13:17.349557105", "seen_count": "1" } ] }{"message": "No phone number found"}{ "phone_number_found": "100" }Match succeeded at offset 0 0: /ip-addresses/8.8.8.8 1: 8.8.8.8 FAIL tests/unit_tests/runner (exit status: 1) >>> ERROR: sentrypeer: check failed >>> sentrypeer: Uninstalling dependencies... (1/63) Purging .makedepends-sentrypeer (20230302.211954) (2/63) Purging autoconf-archive (2023.02.20-r0) (3/63) Purging autoconf (2.71-r2) (4/63) Purging m4 (1.4.19-r2) (5/63) Purging automake (1.16.5-r2) (6/63) Purging chrpath (0.16-r3) (7/63) Purging curl-dev (7.88.1-r1) (8/63) Purging nghttp2-dev (1.52.0-r0) (9/63) Purging brotli-dev (1.0.9-r11) (10/63) Purging brotli (1.0.9-r11) (11/63) Purging jansson-dev (2.14-r0) (12/63) Purging jansson (2.14-r0) (13/63) Purging libmicrohttpd-dev (0.9.76-r0) (14/63) Purging libmicrohttpd (0.9.76-r0) (15/63) Purging libosip2-dev (5.3.1-r0) (16/63) Purging libosip2 (5.3.1-r0) (17/63) Purging opendht-dev (2.4.12-r0) (18/63) Purging opendht-libs (2.4.12-r0) (19/63) Purging pcre2-dev (10.42-r0) (20/63) Purging libedit-dev (20221030.3.1-r0) (21/63) Purging bsd-compat-headers (0.7.2-r4) (22/63) Purging ncurses-dev (6.4_p20230225-r0) (23/63) Purging libformw (6.4_p20230225-r0) (24/63) Purging libmenuw (6.4_p20230225-r0) (25/63) Purging libpanelw (6.4_p20230225-r0) (26/63) Purging libpcre2-16 (10.42-r0) (27/63) Purging libpcre2-32 (10.42-r0) (28/63) Purging sqlite-dev (3.41.0-r0) (29/63) Purging sqlite-libs (3.41.0-r0) (30/63) Purging util-linux-dev (2.38.1-r5) (31/63) Purging libfdisk (2.38.1-r5) (32/63) Purging libmount (2.38.1-r5) (33/63) Purging libsmartcols (2.38.1-r5) (34/63) Purging libuuid (2.38.1-r5) (35/63) Purging cmocka-dev (1.1.5-r3) (36/63) Purging cmocka (1.1.5-r3) (37/63) Purging git-perl (2.39.2-r0) (38/63) Purging perl-git (2.39.2-r0) (39/63) Purging perl-error (0.17029-r1) (40/63) Purging perl (5.36.0-r0) (41/63) Purging libbz2 (1.0.8-r4) (42/63) Purging openssl-dev (3.0.8-r0) (43/63) Purging gnutls-dev (3.8.0-r0) (44/63) Purging gnutls-c++ (3.8.0-r0) (45/63) Purging gnutls (3.8.0-r0) (46/63) Purging zlib-dev (1.2.13-r0) (47/63) Purging nettle-dev (3.8.1-r0) (48/63) Purging gmp-dev (6.2.1-r2) (49/63) Purging libgmpxx (6.2.1-r2) (50/63) Purging nettle (3.8.1-r0) (51/63) Purging p11-kit-dev (0.24.1-r1) (52/63) Purging p11-kit (0.24.1-r1) (53/63) Purging libffi (3.4.4-r0) (54/63) Purging libtasn1-dev (4.19.0-r0) (55/63) Purging libtasn1-progs (4.19.0-r0) (56/63) Purging libtasn1 (4.19.0-r0) (57/63) Purging libunistring (1.1-r0) (58/63) Purging argon2-dev (20190702-r3) (59/63) Purging argon2-libs (20190702-r3) (60/63) Purging http-parser (2.9.4-r0) (61/63) Purging jsoncpp-dev (1.9.5-r0) (62/63) Purging jsoncpp (1.9.5-r0) (63/63) Purging libblkid (2.38.1-r5) Executing busybox-1.36.0-r4.trigger OK: 292 MiB in 95 packages