FreeBSD/poudriere 6d9f0a5external/patches/sh 011-funcname-stack.patch, external/sh eval.c

sh: Reduce overhead of FUNCNAMESTACK setting.
DeltaFile
+22-9external/patches/sh/011-funcname-stack.patch
+21-8external/sh/eval.c
+43-172 files

FreeBSD/poudriere 64d8eeesrc/libexec/poudriere/rename rename.c, src/share/poudriere/include pkgqueue.sh

rename: Add -q flag which can avoid some redirects
DeltaFile
+13-7src/libexec/poudriere/rename/rename.c
+5-5src/share/poudriere/include/pkgqueue.sh
+18-122 files

FreeBSD/poudriere ad682c1src/share/poudriere/include pkgqueue.sh

pkgqueue: Avoid a few possible path expansions
DeltaFile
+6-6src/share/poudriere/include/pkgqueue.sh
+6-61 files

FreeBSD/poudriere c398a81src/share/poudriere common.sh

exit_handler: Remove redundant lock releasing.

Since all locks are released right after this we don't need to
explicitly release any locks.
DeltaFile
+0-3src/share/poudriere/common.sh
+0-31 files

FreeBSD/poudriere a4f85d8test runtest.sh

runtest: truss multiplier of 4 was too small
DeltaFile
+1-1test/runtest.sh
+1-11 files

FreeBSD/poudriere 35f1214src/share/poudriere/include pkgqueue.sh

pkgqueue_list_deps_recurse: Check empty dir before big list of dupes.
DeltaFile
+5-4src/share/poudriere/include/pkgqueue.sh
+5-41 files

FreeBSD/poudriere d45aa0bsrc/libexec/poudriere/rename rename.c

builtin rename: Add -v flag
DeltaFile
+28-4src/libexec/poudriere/rename/rename.c
+28-41 files

FreeBSD/poudriere c9d494bsrc/share/poudriere/include pkgqueue.sh, test pkgqueue_get_next_race.sh Makefile.in

pkgqueue_get_next: Ensure returning empty is an empty ready-to-build queue.

Note the queue may have waiting-for-dependency items but it should
not have anything in the ready-to-build queue.

Similar to the comments in pkgqueue_empty() we need to ensure
no blank jobs are returned. It is possible for a race to happen
where pkgqueue_get_next() returns a blank job, build_queue()
gets it and checks pkgqueue_empty() and sees it is not empty,
loops around and runs the sanity check due to idle builders
and calls crashed_build() on an item that just got balanced
and was temporarily missing in the find(1) call which itself
is not an atomic/locked view of the queue.

This became apparent after making pkgqueue_balance_pool() into a
separate worker process. The first job in the queue would sometimes
get moved while the first pkgqueue_get_next() was called and
immediately get "stuck_in_queue".
DeltaFile
+68-0test/pkgqueue_get_next_race.sh
+24-3src/share/poudriere/include/pkgqueue.sh
+8-1test/Makefile.in
+1-0test/Makefile.am
+101-44 files

FreeBSD/poudriere a396802src/share/poudriere/include util.sh

lock_acquire: recursion is only expected once for traps.

Move some code that isn't needed for recursions.

No current functional change intended.
DeltaFile
+8-1src/share/poudriere/include/util.sh
+8-11 files

FreeBSD/poudriere ebbf449src/share/poudriere/include util.sh, test common.sh locks_critical_section.sh

tests: Cleanup locks automatically

Also remove blank `${MASTERNAME}-` if not set.
DeltaFile
+8-0test/common.sh
+2-2src/share/poudriere/include/util.sh
+0-2test/locks_critical_section.sh
+0-2test/locks.sh
+0-2test/locks_critical_section_nested.sh
+10-85 files

FreeBSD/poudriere 2b1dc16src/share/poudriere/include pkgqueue.sh

pkgqueue_balance_pool: Run within the pool dir to reduce string data
DeltaFile
+9-3src/share/poudriere/include/pkgqueue.sh
+9-31 files

FreeBSD/poudriere b2453a5src/share/poudriere common.sh

build_queue: Add some msg_dev
DeltaFile
+22-1src/share/poudriere/common.sh
+22-11 files

FreeBSD/poudriere 6855cf6src/share/poudriere/include pkgqueue.sh

pkgqueue_move_ready_to_pool: Allow running more than once.

This is for test purposes.

This also now captures the error from `mkdir`.
DeltaFile
+19-6src/share/poudriere/include/pkgqueue.sh
+19-61 files

FreeBSD/poudriere c482d65src/share/poudriere/include parallel.sh

setup_traps: Only push into stack if a handler is given
DeltaFile
+5-1src/share/poudriere/include/parallel.sh
+5-11 files

FreeBSD/poudriere 5167076src/share/poudriere common.sh

bulk: Save .p dir listing on error
DeltaFile
+18-0src/share/poudriere/common.sh
+18-01 files

FreeBSD/poudriere db73752src/share/poudriere/include util.sh parallel.sh

Revert INJOB changes.

Jobs within jobs work fine. It's just that they do not _inherit_ the
parent process jobs.

Revert "prefixers: Supported nested jobs (need to use pids here)"

This reverts commit 6d6d888f0f796e974517f31984ebd6f89a721308.

Revert "kill_job: Assert not killing a nested job"

This reverts commit 1a1a34c3750688d2df42dff7ab769dbef21fd3c4.
DeltaFile
+8-34src/share/poudriere/include/util.sh
+1-9src/share/poudriere/include/parallel.sh
+9-432 files

FreeBSD/poudriere 5a21a34test prefix_output.sh

prefix_output test: Make debug easier
DeltaFile
+40-10test/prefix_output.sh
+40-101 files

FreeBSD/poudriere c7c7933external/patches/sh 016-error-stack.patch, external/sh error.c

sh: Show FUNCNAMESTACK on set -e error and other errors
DeltaFile
+15-0external/patches/sh/016-error-stack.patch
+3-1external/sh/error.c
+18-12 files

FreeBSD/poudriere 41aa2cdsrc/share/poudriere image.sh

Merge branch 'image-populate-efi-fstab'
DeltaFile
+5-0src/share/poudriere/image.sh
+5-01 files

FreeBSD/poudriere 2c10af0src/share/poudriere image.sh

image: Populate the efi mount point in fstab
DeltaFile
+5-0src/share/poudriere/image.sh
+5-01 files

FreeBSD/poudriere c49d952src/share/poudriere pkgclean.sh audit.sh

Merge branch 'fix-pkgclean-respecting-packages-override'
DeltaFile
+1-1src/share/poudriere/pkgclean.sh
+1-1src/share/poudriere/audit.sh
+2-22 files

FreeBSD/poudriere bd4e2c3src/share/poudriere audit.sh pkgclean.sh

Fix pkgclean respecting PACKAGES being set in a jail-poudriere.conf
DeltaFile
+1-1src/share/poudriere/audit.sh
+1-1src/share/poudriere/pkgclean.sh
+2-22 files

FreeBSD/poudriere 8032656src/share/poudriere/include pkgqueue.sh

pkgqueue_balance_pool: Use lock_acquire().

No functional change intended.
DeltaFile
+6-5src/share/poudriere/include/pkgqueue.sh
+6-51 files

FreeBSD/poudriere 0542a96src/share/poudriere/include pkgqueue.sh

pkgqueue_clean_queue: Clarify comment: It can run from main process too
DeltaFile
+2-1src/share/poudriere/include/pkgqueue.sh
+2-11 files

FreeBSD/poudriere 18c9651src/share/poudriere/include pkg.sh

pkg_notes_get: Avoid setvar problems
DeltaFile
+11-10src/share/poudriere/include/pkg.sh
+11-101 files

FreeBSD/poudriere 1e2a605. Makefile.am Makefile.in

make checkquick: Include dry bulk tests
DeltaFile
+2-4Makefile.am
+2-4Makefile.in
+4-82 files

FreeBSD/poudriere 1c317aasrc/share/poudriere common.sh, src/share/poudriere/include pkg.sh

testport: Fix not adding PKGENV if no notes are added.

This was seen on cirrus where there is no git checkout.
DeltaFile
+4-4src/share/poudriere/include/pkg.sh
+2-1src/share/poudriere/common.sh
+6-52 files

FreeBSD/poudriere 5777034test testport-build-quick-1-dep.sh testport-build-quick-pkg.sh

build quick tests: Also test PKG_NO_VERSION_FOR_DEPS
DeltaFile
+30-21test/testport-build-quick-1-dep.sh
+30-21test/testport-build-quick-pkg.sh
+27-18test/bulk-build-quick-pkg.sh
+87-603 files

FreeBSD/poudriere be4933dsrc/share/poudriere common.sh

set +x in some noisy functions
DeltaFile
+2-0src/share/poudriere/common.sh
+2-01 files

FreeBSD/poudriere 97dfef1src/share/poudriere logclean.sh, test runtest.sh common.bulk.sh

bulk tests: rework some logclean and error handling.

- Unhide output
- Only consider lock acquisition failure OK
- Don't logclean while acquiring test contexts
- While here avoid bootstrap code with test context lookup
- logclean: Ignore potential harmless race in find_broken_latest_per_pkg_links
DeltaFile
+38-18src/share/poudriere/logclean.sh
+30-5test/runtest.sh
+12-4test/common.bulk.sh
+1-1test/distclean-badorigin.sh
+1-1test/options-badorigin.sh
+1-0test/common.sh
+83-296 files