Lines Matching +full:base +full:- +full:db
3 # Copyright (C) 2019-2021 Red Hat, Inc.
19 . $srcdir/debuginfod-subr.sh
22 set -x
27 cp -rvp ${abs_srcdir}/debuginfod-tars Z
28 cp -rvp ${abs_srcdir}/debuginfod-rpms R
30 rm -vrf R/debuginfod-rpms/fedora31
38 # This variable is essential and ensures no time-race for claiming ports occurs
39 # set base to a unique multiple of 100 not used in any other 'run-debuginfod-*' test
40 base=8800
43 DB=${PWD}/.debuginfod_tmp.sqlite
44 tempfiles $DB
50 rm -rf $DEBUGINFOD_CACHE_PATH
51 rm -rf $DB
53 # Set --fdcache-mintmp=0 so we don't accidentally trigger an fdcache
55 …_PATH=$ldpath DEBUGINFOD_URLS= ${abs_builddir}/../debuginfod/debuginfod $VERBOSE -p $PORT1 -d $DB \
56 --fdcache-fds=$FDCACHE_FDS --fdcache-prefetch-fds=$PREFETCH_FDS -vvvvv -g 0 -t 0 \
57 -Z .tar.bz2=bzcat Z --fdcache-mbs=100 --fdcache-prefetch-mbs=100 \
58 --fdcache-mintmp=0 --fdcache-prefetch=$PREFETCH > vlog$PORT1 2>&1 &
65 kill -USR1 $PID1
70 # load prefetch cache with debuginfod-tars/usr/src/debug/hello.c
71 testrun ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo cee13b2ea505a7f37bd20d271c6bc7e5f8…
73 regex="fdcache_prefetch_count ([0-9])+"
74 # Check to see if prefetch cache is maximally loaded. Note fdcache-prefetch (2) > prefetch-fds (1),
75 # so the debuginfod will try to load the prefetch cache with 2 files. We want prefetch-fds to cap t…
78 if [[ ${BASH_REMATCH[1]} -ne $PREFETCH_FDS ]]; then
85 testrun ${abs_top_builddir}/debuginfod/debuginfod-find source cee13b2ea505a7f37bd20d271c6bc7e5f8d2d…
87 regex="fdcache_op_count\{op=\"prefetch_access\"\} ([0-9])+"
91 if [[ ${BASH_REMATCH[1]} -ne 1 ]]; then
105 rm -rf $DEBUGINFOD_CACHE_PATH
106 rm -rf $DB
107 …_PATH=$ldpath DEBUGINFOD_URLS= ${abs_builddir}/../debuginfod/debuginfod $VERBOSE -p $PORT1 -d $DB \
108 --fdcache-mbs=$FDCACHE_MBS -vvvvv -g 0 -t 0 -R R > vlog2$PORT1 2>&1 &
114 kill -USR1 $PID1
116 # All rpms need to be in the index, except the dummy permission-000 one
117 rpms=$(find R -name \*rpm | grep -v nothing | wc -l)
119 kill -USR1 $PID1
127 archive_test bc1febfd03ca05e030f0d205f7659db29f8a4b30 /usr/src/debug/hello-1.0/hello.c $SHA
128 archive_test c36708a78618d597dee15d0dc989f093ca5f9120 /usr/src/debug/hello2-1.0-2.x86_64/hello.c $S…
129 archive_test 41a236eb667c362a1c4196018cc4581e09722b1b /usr/src/debug/hello2-1.0-2.x86_64/hello.c $S…
130 archive_test bc1febfd03ca05e030f0d205f7659db29f8a4b30 /usr/src/debug/hello-1.0/hello.c $SHA
131 archive_test f0aa15b8aba4f3c28cac3c2a73801fefa644a9f2 /usr/src/debug/hello-1.0/hello.c $SHA
132 archive_test bbbf92ebee5228310e398609c23c2d7d53f6e2f9 /usr/src/debug/hello-1.0/hello.c $SHA
134 regex="fdcache_bytes ([0-9]+)"
140 if [ $fdbytes -gt $mb ] ; then