Lines Matching +full:scan +full:- +full:build
3 # Copyright (C) 2019-2021 Red Hat, Inc.
19 . $srcdir/debuginfod-subr.sh
22 set -x
30 mkdir -p $DEBUGINFOD_CACHE_PATH
31 # This variable is essential and ensures no time-race for claiming ports occurs
32 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test
36 …TH=$ldpath DEBUGINFOD_URLS= ${abs_builddir}/../debuginfod/debuginfod $VERBOSE -F -p $PORT1 -d $DB \
37 -t0 -g0 -v F > vlog$PORT1 2>&1 &
43 # And initial scan should be done
49 ps -q $PID1 -e -L -o '%p %c %a' | grep groom
50 ps -q $PID1 -e -L -o '%p %c %a' | grep scan
51 ps -q $PID1 -e -L -o '%p %c %a' | grep traverse
53 # We use -t0 and -g0 here to turn off time-based scanning & grooming.
58 # Compile a simple program, strip its debuginfo and save the build-id.
65 gcc -Wl,--build-id -g -o p+r%o\$g ${PWD}/foobar///./../p+r%o\$g.c
66 testrun ${abs_top_builddir}/src/strip -g -f p+r%o\$g.debug ${PWD}/p+r%o\$g
68 -a p+r%o\\$g | grep 'Build ID' | cut -d ' ' -f 7`
72 kill -USR1 $PID1
75 wait_ready $PORT1 'thread_work_pending{role="scan"}' 0
76 wait_ready $PORT1 'thread_busy{role="scan"}' 0
84 …CACHE_HOME= DEBUGINFOD_CACHE_PATH= ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo $BUILD…
85 if [ ! -f $PWD/tmphome/.cache/debuginfod_client/$BUILDID/debuginfo ]; then
91 …CACHE_HOME= DEBUGINFOD_CACHE_PATH= ${abs_top_builddir}/debuginfod/debuginfod-find executable $BUIL…
92 if [ ! -f $PWD/tmphome/.cache/debuginfod_client/$BUILDID/executable ]; then
97 …$PWD/tmpxdg DEBUGINFOD_CACHE_PATH= ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo $BUILD…
98 if [ ! -f $PWD/tmpxdg/debuginfod_client/$BUILDID/debuginfo ]; then
105 cp -vr $DEBUGINFOD_CACHE_PATH tmphome/.debuginfod_client_cache || true
107 # leaving negative-hit files in there
112 …$PWD/tmpxdg DEBUGINFOD_CACHE_PATH= ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo deadbe…
116 …EBUGINFOD_CACHE_PATH=$PWD/tmpcache ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo $BUILD…
117 if [ ! -f $PWD/tmpcache/$BUILDID/debuginfo ]; then
121 rm -rf ${PWD}/tmphome/ ${PWD}/tmpxdg ${PWD}/tmpcache