Lines Matching refs:PORT1
55 for ports in $PORT1 $PORT2
78 PORT1=`expr '(' $RANDOM % 1000 ')' + 9000`
79 ss -atn | fgrep ":$PORT1" || break
126 env LD_LIBRARY_PATH=$ldpath DEBUGINFOD_URLS= ${abs_builddir}/../debuginfod/debuginfod $VERBOSE -F -R -d $DB -p $PORT1 -t0 -g0 --fdcache-fds 1 --fdcache-mbs 2 --fdcache-mintmp 0 -Z .tar.xz -Z .tar.bz2=bzcat -v R F Z L > vlog$PORT1 2>&1 &
128 tempfiles vlog$PORT1
129 errfiles vlog$PORT1
131 wait_ready $PORT1 'ready' 1
132 export DEBUGINFOD_URLS=http://127.0.0.1:$PORT1/ # or without trailing /
159 wait_ready $PORT1 'thread_work_total{role="traverse"}' 1
164 wait_ready $PORT1 'thread_work_total{role="traverse"}' 2
165 wait_ready $PORT1 'thread_work_pending{role="scan"}' 0
166 wait_ready $PORT1 'thread_busy{role="scan"}' 0
191 bytecount_before=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_count{code="404"}'`
193 bytecount_after=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_count{code="404"}'`
202 bytecount_before=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_count{code="404"}'`
204 bytecount_after=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_count{code="404"}'`
290 wait_ready $PORT1 'thread_work_total{role="traverse"}' 3
291 wait_ready $PORT1 'thread_work_pending{role="scan"}' 0
292 wait_ready $PORT1 'thread_busy{role="scan"}' 0
318 wait_ready $PORT1 'scanned_files_total{source=".rpm archive"}' $rpms
320 wait_ready $PORT1 'scanned_files_total{source=".tar.xz archive"}' $txz
322 wait_ready $PORT1 'scanned_files_total{source=".tar.bz2 archive"}' $tb2
347 wait_ready $PORT1 'found_sourcerefs_total{source=".rpm archive"}' $sourcefiles
417 wait_ready $PORT1 'thread_work_total{role="groom"}' 2
419 wait_ready $PORT1 'groomed_total{decision="stale"}' 4
436 wait_ready $PORT1 'thread_work_total{role="groom"}' 3
440 wait_ready $PORT1 'thread_work_total{role="traverse"}' 6
441 wait_ready $PORT1 'thread_work_pending{role="scan"}' 0
442 wait_ready $PORT1 'thread_busy{role="scan"}' 0
445 wait_ready $PORT1 'thread_work_total{role="traverse"}' 7
446 wait_ready $PORT1 'thread_work_pending{role="scan"}' 0
447 wait_ready $PORT1 'thread_busy{role="scan"}' 0
450 wait_ready $PORT1 'thread_work_total{role="traverse"}' 8
451 wait_ready $PORT1 'thread_work_pending{role="scan"}' 0
452 wait_ready $PORT1 'thread_busy{role="scan"}' 0
458 egrep '(libc.error.*rhel7)|(bc1febfd03ca)|(f0aa15b8aba)' vlog$PORT1
508 # we'll grep for the two patterns in vlog$PORT1
511 grep UA:TESTCURL vlog$PORT1
512 grep XFF:TESTXFF vlog$PORT1
520 export DEBUGINFOD_URLS=http://127.0.0.1:$PORT1
528 export DEBUGINFOD_URLS=127.0.0.1:$PORT1
538 export DEBUGINFOD_URLS="BAD http://127.0.0.1:$PORT1 127.0.0.1:$PORT1 http://127.0.0.1:$PORT2 DNE"
545 curl -s http://127.0.0.1:$PORT1/badapi
546 curl -s http://127.0.0.1:$PORT1/metrics
548 curl -s http://127.0.0.1:$PORT1/metrics | grep -q 'http_responses_total.*result.*error'
549 curl -s http://127.0.0.1:$PORT1/metrics | grep -q 'http_responses_total.*result.*fdcache'
551 curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_duration_milliseconds_count'
552 curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_duration_milliseconds_sum'
553 curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_count'
554 curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_sum'
555 curl -s http://127.0.0.1:$PORT1/metrics | grep 'fdcache_'
556 curl -s http://127.0.0.1:$PORT1/metrics | grep 'error_count'
557 curl -s http://127.0.0.1:$PORT1/metrics | grep 'traversed_total'
558 curl -s http://127.0.0.1:$PORT1/metrics | grep 'scanned_bytes_total'
585 curl -s http://127.0.0.1:$PORT1/metrics | grep 'sqlite3.*reset'
591 wait_ready $PORT1 'thread_work_total{role="traverse"}' 9
592 wait_ready $PORT1 'thread_work_pending{role="scan"}' 0
593 wait_ready $PORT1 'thread_busy{role="scan"}' 0
595 wait_ready $PORT1 'thread_work_total{role="groom"}' 4
596 curl -s http://127.0.0.1:$PORT1/buildid/beefbeefbeefd00dd00d/debuginfo > /dev/null || true
597 curl -s http://127.0.0.1:$PORT1/metrics | grep 'error_count.*sqlite'
651 # Test debuginfod without a path list; reuse $PORT1
652 env LD_LIBRARY_PATH=$ldpath ${abs_builddir}/../debuginfod/debuginfod $VERBOSE -F -U -d :memory: -p $PORT1 -L -F &
654 wait_ready $PORT1 'thread_work_total{role="traverse"}' 1
655 wait_ready $PORT1 'thread_work_pending{role="scan"}' 0
656 wait_ready $PORT1 'thread_busy{role="scan"}' 0