test:valgrind
Failed Started
by
@amrazek
Aleš Mrázek
1Running with gitlab-runner 16.11.4 (cf51e113)2 on ci-02.labs.nic.cz W1nUwXFRA, system ID: s_7933f27616614Using Docker executor with image registry.nic.cz/knot/knot-resolver-ci/debian12-knot_3_3:ci-parallel-build ...5Authenticating with credentials from job payload (GitLab Registry)6Pulling docker image registry.nic.cz/knot/knot-resolver-ci/debian12-knot_3_3:ci-parallel-build ...7Using docker image sha256:4dcd175c2df386afd5f61313d8810d1c8dfde328951b345b606c505bf20fee43 for registry.nic.cz/knot/knot-resolver-ci/debian12-knot_3_3:ci-parallel-build with digest registry.nic.cz/knot/knot-resolver-ci/debian12-knot_3_3@sha256:3941e6c7f3e6ea22a8dbcc72acd809ba4ba73a0c56a91ba85af1101cb139fa32 ...9Running on runner-w1nuwxfra-project-147-concurrent-2 via ci-02...11Fetching changes...12Initialized empty Git repository in /builds/knot/knot-resolver/.git/13Created fresh repository.14Checking out 3ff9d022 as detached HEAD (ref is ci-jobs-reorganization)...15Updating/initializing submodules recursively...16Submodule 'modules/policy/lua-aho-corasick' (https://gitlab.nic.cz/knot/3rdparty/lua-aho-corasick.git) registered for path 'modules/policy/lua-aho-corasick'17Submodule 'tests/config/tapered' (https://gitlab.nic.cz/knot/3rdparty/lua-tapered.git) registered for path 'tests/config/tapered'18Submodule 'tests/integration/deckard' (https://gitlab.nic.cz/knot/deckard.git) registered for path 'tests/integration/deckard'19Synchronizing submodule url for 'modules/policy/lua-aho-corasick'20Synchronizing submodule url for 'tests/config/tapered'21Synchronizing submodule url for 'tests/integration/deckard'22Cloning into '/builds/knot/knot-resolver/modules/policy/lua-aho-corasick'...23Cloning into '/builds/knot/knot-resolver/tests/config/tapered'...24Cloning into '/builds/knot/knot-resolver/tests/integration/deckard'...25Submodule path 'modules/policy/lua-aho-corasick': checked out '9f983c48af8ddddbcc38f34a4d589600b47645c1'26Submodule path 'tests/config/tapered': checked out 'a4ff55a9a59d7dc030f021439865117d1df7a845'27Submodule path 'tests/integration/deckard': checked out 'cc478cc04956916d1a946ae986a952732a837a8c'28Updated submodules29Synchronizing submodule url for 'modules/policy/lua-aho-corasick'30Synchronizing submodule url for 'tests/config/tapered'31Synchronizing submodule url for 'tests/integration/deckard'32Entering 'modules/policy/lua-aho-corasick'33Entering 'tests/config/tapered'34Entering 'tests/integration/deckard'35Entering 'modules/policy/lua-aho-corasick'36Entering 'tests/config/tapered'37Entering 'tests/integration/deckard'39Downloading artifacts for build-stable (1303420)...40Downloading artifacts from coordinator... ok host=gitlab.nic.cz id=1303420 responseStatus=200 OK token=glcbt-6442Using docker image sha256:4dcd175c2df386afd5f61313d8810d1c8dfde328951b345b606c505bf20fee43 for registry.nic.cz/knot/knot-resolver-ci/debian12-knot_3_3:ci-parallel-build with digest registry.nic.cz/knot/knot-resolver-ci/debian12-knot_3_3@sha256:3941e6c7f3e6ea22a8dbcc72acd809ba4ba73a0c56a91ba85af1101cb139fa32 ...43$ ninja -C build_ci* &>/dev/null44$ rm build_ci*/meson-logs/testlog*.txt45$ ${MESON_TEST} --suite unit --suite config --no-suite skip_valgrind --no-suite snowflake --wrap="valgrind --leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp"46ninja: no work to do.47ninja: Entering directory `/builds/knot/knot-resolver/build_ci_stable'48ninja: no work to do.49 1/36 knot-resolver:postinstall+config / config.ta OK 33.49s50 2/36 knot-resolver:postinstall+config / config.daf OK 33.81s51 3/36 knot-resolver:postinstall+config / config.log OK 34.31s52 4/36 knot-resolver:postinstall+config / config.prefill OK 34.36s53 5/36 knot-resolver:postinstall+config / config.nsid OK 35.83s54 6/36 knot-resolver:postinstall+config / config.zimport OK 36.00s55 7/36 knot-resolver:postinstall+config / config.controlsock OK 36.65s56 8/36 knot-resolver:postinstall+config / config.dns64 OK 36.85s57 9/36 knot-resolver:postinstall+config / config.renumber OK 37.11s5810/36 knot-resolver:postinstall+config / config.daf_http OK 39.59s5911/36 knot-resolver:postinstall+config / config.cache.clear OK 40.15s6012/36 knot-resolver:unit / unit.array OK 0.77s6113/36 knot-resolver:unit / unit.lru OK 1.10s6214/36 knot-resolver:unit / unit.pack OK 1.34s6315/36 knot-resolver:postinstall+config+skip_asan / config.http.tls OK 44.08s6416/36 knot-resolver:unit / unit.queue OK 1.08s6517/36 knot-resolver:postinstall+config / config.policy.slice SKIP 11.72s exit status 776618/36 knot-resolver:unit / unit.trie OK 1.48s6719/36 knot-resolver:unit / unit.module OK 1.19s6820/36 knot-resolver:postinstall+config / config.krprint OK 46.35s6921/36 knot-resolver:unit / unit.rplan OK 1.15s7022/36 knot-resolver:unit / unit.zonecut OK 1.07s7123/36 knot-resolver:unit / unit.utils OK 1.57s7224/36 knot-resolver:postinstall+config / config.http.doh OK 48.29s7325/36 knot-resolver:postinstall+config / config.hints OK 51.12s7426/36 knot-resolver:postinstall+config+y2k38 / config.ta_bootstrap OK 57.11s7527/36 knot-resolver:postinstall+config / config.basic OK 27.10s7628/36 knot-resolver:postinstall+config / config.policy OK 28.55s7729/36 knot-resolver:postinstall+config / config.policy.rpz OK 27.78s7830/36 knot-resolver:postinstall+config+config_net / config.net OK 26.25s7931/36 knot-resolver:postinstall+config / config.tls OK 25.54s8032/36 knot-resolver:postinstall+config / config.lru OK 25.84s8133/36 knot-resolver:postinstall+config / config.cache OK 27.95s8234/36 knot-resolver:postinstall+config / config.worker OK 25.71s8335/36 knot-resolver:unit / unit.ratelimiting OK 21.49s8436/36 knot-resolver:postinstall+config / config.doh2 OK 39.41s85Ok: 35 86Expected Fail: 0 87Fail: 0 88Unexpected Pass: 0 89Skipped: 1 90Timeout: 0 91Full log written to /builds/knot/knot-resolver/build_ci_stable/meson-logs/testlog-valgrind.txt92$ MESON_TESTTHREADS=1 ${MESON_TEST} --no-suite skip_valgrind --wrap="valgrind --leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp" --suite snowflake93ninja: no work to do.94ninja: Entering directory `/builds/knot/knot-resolver/build_ci_stable'95ninja: no work to do.961/2 knot-resolver:postinstall+config+snowflake / config.ta_update FAIL 26.69s exit status 297>>> TEST_FILE=/builds/knot/knot-resolver/modules/ta_update/ta_update.test.lua SOURCE_PATH=/builds/knot/knot-resolver/tests/config MALLOC_PERTURB_=44 KRESD_NO_LISTEN=1 PATH=/builds/knot/knot-resolver/.local/sbin:/root/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin valgrind --leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp /builds/knot/knot-resolver/tests/config/../../scripts/meson/test-config.sh -c /builds/knot/knot-resolver/build_ci_stable/../tests/config/test.cfg -n98――――――――――――――――――――――――――――――――――――― ✀ ―――――――――――――――――――――――――――――――――――――99Listing only the last 100 lines from a long log.100 /builds/knot/knot-resolver/tests/config/test_utils.lua:5: in function 'runtest'101 ...t/knot-resolver/build_ci_stable/../tests/config/test.cfg:42: in function <...t/knot-resolver/build_ci_stable/../tests/config/test.cfg:35>102ok 29 - nonexistent TA cannot be tracked103# Got this error: "ERROR: [ta_update] TA must be configured first before tracking it"1041..29105stderr:106==1240== 20 bytes in 1 blocks are definitely lost in loss record 1 of 2107==1240== at 0x48417B4: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)108==1240== by 0x10B25C: ??? (in /usr/bin/mktemp)109==1240== by 0x10B1C8: ??? (in /usr/bin/mktemp)110==1240== by 0x10A67F: ??? (in /usr/bin/mktemp)111==1240== by 0x4881249: (below main) (libc_start_call_main.h:58)112==1240== 113==1240== 20 bytes in 1 blocks are definitely lost in loss record 2 of 2114==1240== at 0x48417B4: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)115==1240== by 0x10E799: ??? (in /usr/bin/mktemp)116==1240== by 0x10A695: ??? (in /usr/bin/mktemp)117==1240== by 0x4881249: (below main) (libc_start_call_main.h:58)118==1240== 119==1241== 1,600 (80 direct, 1,520 indirect) bytes in 1 blocks are definitely lost in loss record 12 of 14120==1241== at 0x48417B4: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)121==1241== by 0x11A512: ??? (in /usr/bin/cp)122==1241== by 0x10FCD4: ??? (in /usr/bin/cp)123==1241== by 0x10E632: ??? (in /usr/bin/cp)124==1241== by 0x10CED9: ??? (in /usr/bin/cp)125==1241== by 0x48C2249: (below main) (libc_start_call_main.h:58)126==1241== 127==1241== 1,870 (80 direct, 1,790 indirect) bytes in 1 blocks are definitely lost in loss record 13 of 14128==1241== at 0x48417B4: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)129==1241== by 0x11A512: ??? (in /usr/bin/cp)130==1241== by 0x10FD14: ??? (in /usr/bin/cp)131==1241== by 0x10E63A: ??? (in /usr/bin/cp)132==1241== by 0x10CED9: ??? (in /usr/bin/cp)133==1241== by 0x48C2249: (below main) (libc_start_call_main.h:58)134==1241== 135[system] Prioritization not initialized from Lua, using hardcoded default.136==1243== Syscall param msync(start) points to uninitialised byte(s)137==1243== at 0x4F15A20: msync (msync.c:25)138==1243== by 0x4FFA704: mdb_env_sync (in /usr/lib/x86_64-linux-gnu/liblmdb.so.0.0.0)139==1243== by 0x5002936: mdb_txn_commit (in /usr/lib/x86_64-linux-gnu/liblmdb.so.0.0.0)140==1243== by 0x4861C42: cdb_commit (cdb_lmdb.c:234)141==1243== by 0x485E3B1: kr_cache_commit (api.c:178)142==1243== by 0x4894054: put_rtt_state (selection.c:176)143==1243== by 0x4895212: server_timeout (selection.c:621)144==1243== by 0x4895387: error (selection.c:658)145==1243== by 0x489730F: iter_error (selection_iter.c:369)146==1243== by 0x13DECD: pl_dns_dgram_event_unwrap (worker.c:1767)147==1243== by 0x1308C6: session2_event_unwrap (session2.c:1327)148==1243== by 0x130983: session2_event (session2.c:1357)149==1243== Address 0x666bfc0 is in a rw- mapped file /tmp/tmp.c1TBQSKEr4/data.mdb segment150==1243== 151[taupd ] active refresh failed for . with rcode: 2152[taupd ] active refresh failed for . with rcode: 2153[ta ] warning: overriding previously set trust anchors for .154[taupd ] active refresh failed for . with rcode: 2155[taupd ] active refresh failed for . with rcode: 2156[taupd ] active refresh failed for . with rcode: 2157==1243== 1,048,584 bytes in 1 blocks are possibly lost in loss record 113 of 116158==1243== at 0x48417B4: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)159==1243== by 0x5003B82: mdb_midl_alloc (in /usr/lib/x86_64-linux-gnu/liblmdb.so.0.0.0)160==1243== by 0x50059FC: mdb_env_open (in /usr/lib/x86_64-linux-gnu/liblmdb.so.0.0.0)161==1243== by 0x4862280: cdb_open_env (cdb_lmdb.c:362)162==1243== by 0x486262A: cdb_init (cdb_lmdb.c:450)163==1243== by 0x485E171: kr_cache_open (api.c:130)164==1243== by 0x114945: cache_open (cache.c:193)165==1243== by 0x498DA25: ??? (in /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2.1.0)166==1243== by 0x49E81ED: lua_pcall (in /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2.1.0)167==1243== by 0x120DF9: engine_loadconf (engine.c:688)168==1243== by 0x127634: main (main.c:612)169==1243== 170==1243== 1,048,584 bytes in 1 blocks are possibly lost in loss record 114 of 116171==1243== at 0x48417B4: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)172==1243== by 0x5003B82: mdb_midl_alloc (in /usr/lib/x86_64-linux-gnu/liblmdb.so.0.0.0)173==1243== by 0x50059FC: mdb_env_open (in /usr/lib/x86_64-linux-gnu/liblmdb.so.0.0.0)174==1243== by 0x4862280: cdb_open_env (cdb_lmdb.c:362)175==1243== by 0x486262A: cdb_init (cdb_lmdb.c:450)176==1243== by 0x4884A14: kr_rules_init (api.c:167)177==1243== by 0x48848FF: kr_rules_init_ensure (api.c:148)178==1243== by 0x127715: main (main.c:633)179==1243== 180==1244== 56 (32 direct, 24 indirect) bytes in 1 blocks are definitely lost in loss record 504 of 586181==1244== at 0x48417B4: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)182==1244== by 0x1A2C8D: xmalloc (in /usr/bin/bash)183==1244== by 0x148F31: make_simple_command (in /usr/bin/bash)184==1244== by 0x145069: yyparse (in /usr/bin/bash)185==1244== by 0x13A5B5: parse_command (in /usr/bin/bash)186==1244== by 0x13A743: read_command (in /usr/bin/bash)187==1244== by 0x13A8F5: reader_loop (in /usr/bin/bash)188==1244== by 0x1393D8: main (in /usr/bin/bash)189==1244== 190==1237== 131 (32 direct, 99 indirect) bytes in 1 blocks are definitely lost in loss record 487 of 519191==1237== at 0x48417B4: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)192==1237== by 0x1A2C8D: xmalloc (in /usr/bin/bash)193==1237== by 0x148F31: make_simple_command (in /usr/bin/bash)194==1237== by 0x145069: yyparse (in /usr/bin/bash)195==1237== by 0x13A5B5: parse_command (in /usr/bin/bash)196==1237== by 0x13A743: read_command (in /usr/bin/bash)197==1237== by 0x13A8F5: reader_loop (in /usr/bin/bash)198==1237== by 0x1393D8: main (in /usr/bin/bash)199==1237== 200――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――2012/2 knot-resolver:postinstall+config+snowflake / config.ta_update OK 26.85s202Summary of Failures:2031/2 knot-resolver:postinstall+config+snowflake / config.ta_update FAIL 26.69s exit status 2204Ok: 1 205Expected Fail: 0 206Fail: 1 207Unexpected Pass: 0 208Skipped: 0 209Timeout: 0 210Full log written to /builds/knot/knot-resolver/build_ci_stable/meson-logs/testlog-valgrind.txt212Uploading artifacts...213build_ci*/meson-logs/testlog*.txt: found 1 matching artifact files and directories 214WARNING: tmpdeckard*: no matching files. Ensure that the artifact path is relative to the working directory (/builds/knot/knot-resolver) 215WARNING: build_ci*/meson-logs/integration.deckard.junit.xml: no matching files. Ensure that the artifact path is relative to the working directory (/builds/knot/knot-resolver) 216Uploading artifacts as "archive" to coordinator... 201 Created id=1303472 responseStatus=201 Created token=glcbt-64217Uploading artifacts...218WARNING: build_ci*/meson-logs/integration.deckard.junit.xml: no matching files. Ensure that the artifact path is relative to the working directory (/builds/knot/knot-resolver) 219ERROR: No files to upload 221ERROR: Job failed: exit code 1