aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* More testsJoseph Hunkeler2024-09-181-0/+30
|
* Fix incorrect failure countJoseph Hunkeler2024-09-181-1/+2
| | | | * No longer adds the raw status value to the failure count. Just increment it instead.
* Comment get_task_durationJoseph Hunkeler2024-09-181-0/+2
|
* Move process status checks outside of the if-statementJoseph Hunkeler2024-09-181-10/+18
| | | | | * Reverse the order of checks so signals actually get reported when they occur * Changed "Task finished" to "Task ended". "Finished" sounds more like "success" and might get confusing when an error occurs
* mp_pool_kill marks PIDs as unusedJoseph Hunkeler2024-09-181-0/+2
|
* Rename mp_task to mp_pool_taskJoseph Hunkeler2024-09-184-5/+5
|
* Bugfix: log_show_contents() did not close FILE pointerJoseph Hunkeler2024-09-181-0/+1
|
* Remove workaround.tox_posargsJoseph Hunkeler2024-09-181-1/+0
|
* Remove short circuit test codeJoseph Hunkeler2024-09-182-35/+1
| | | | * Remove exmain() and dead comments from main()
* Fix test status expectationJoseph Hunkeler2024-09-182-4/+3
| | | | * Fix child not returning result of execvp(). task->status is for program status, not fork() status.
* Fix format spacingJoseph Hunkeler2024-09-181-1/+1
|
* Implement mp_pool_show_summaryJoseph Hunkeler2024-09-181-3/+10
|
* Add pool summary and elapsed time outputJoseph Hunkeler2024-09-182-0/+60
| | | | | | | * Add get_task_duration() * Add get_pool_show_summary() * Add signaled_by member to MultiProcessingTask * Add time_data member to MultiProcessingTask for duration tracking
* Wait for signaled processes to hang upJoseph Hunkeler2024-09-181-1/+5
| | | | * Only initiate a kill if we have more than one process. The current process is already failed out, no need to terminate it again.
* Set task status to -1 by defaultJoseph Hunkeler2024-09-181-0/+3
|
* Add comments, remove dead codeJoseph Hunkeler2024-09-181-2/+24
|
* Break parent/child calls into static functionsJoseph Hunkeler2024-09-181-71/+86
|
* Add test_multiprocessing.cJoseph Hunkeler2024-09-181-0/+73
|
* Split mp_task into to functionsJoseph Hunkeler2024-09-181-63/+74
|
* Guard against overrunJoseph Hunkeler2024-09-181-2/+6
|
* Update example configJoseph Hunkeler2024-09-181-0/+13
|
* Fix doxygen commentsJoseph Hunkeler2024-09-181-3/+3
|
* Add multiprocessing.h to core.hJoseph Hunkeler2024-09-183-2/+2
| | | | * Remove multiprocessing.h from other files
* Fix opt_flags assignment.Joseph Hunkeler2024-09-181-1/+3
|
* Fix mp_pool_join exampleJoseph Hunkeler2024-09-181-1/+1
|
* Workaround for a bug in firewatchJoseph Hunkeler2024-09-181-1/+1
|
* Fix sem_open initial stateJoseph Hunkeler2024-09-182-29/+16
| | | | | | * Move slot->gate assignment to mp_pool_task() * Remove mmap() to slot->gate. * Change type of ident and log_root variables for the sake of easy (fewer maps)
* Darwin: Remove mmap MAP_POPULATE flagJoseph Hunkeler2024-09-181-3/+3
|
* Darwin portability: Use sem_open and sem_close instead of sem_init and ↵Joseph Hunkeler2024-09-182-4/+8
| | | | sem_destroy
* Correct package nameJoseph Hunkeler2024-09-181-1/+1
|
* Fixing headersJoseph Hunkeler2024-09-182-12/+3
|
* Update integration test to utilize the multiprocessing poolJoseph Hunkeler2024-09-182-5/+30
|
* Implement multiprocessing pool(s)Joseph Hunkeler2024-09-187-86/+252
| | | | | * Adds --cpu-limit and --parallel-fail-fast arguments * Adds disable, parallel, and setup_script keys to [test] blocks
* Move guard_ macros to core_mem.hJoseph Hunkeler2024-09-185-10/+515
| | | | * Move core_mem.h below config.h
* Reference basetemp_dir and junitxml_file functions in README.md (#44)Joseph Hunkeler2024-09-181-11/+11
|
* Fixes incorrect reference to conda environment variable (#45)Joseph Hunkeler2024-09-181-1/+1
| | | | * Change CONDA_ENV_DEFAULT to CONDA_DEFAULT_ENV * Thanks, @GeorgeJCleary!
* Fix errant change of "cmd" string (#42)Joseph Hunkeler2024-09-161-2/+2
| | | * Was supposed to be pandoc_versioned_args
* Fix typo: (#41)Joseph Hunkeler2024-08-304-8/+8
| | | * Change python_compat to python_compact
* Bug fix: CONDA_ENV_DEFAULT should be CONDA_DEFAULT_ENV (#40)Joseph Hunkeler2024-08-291-1/+1
|
* Add test_environment.c (#39)Joseph Hunkeler2024-08-291-0/+76
|
* Pandoc improvements (#37)Joseph Hunkeler2024-08-283-12/+355
| | | | | | | | | | | | | | | * Tweak pandoc command and add a style sheet * Only search for platform sub-string when valid * Add get_pandoc_version * Add version checking and set options accordingly * Add support for globals.sysconfdir * Add missing brace * Remove options that are created dynamically
* System calls fixup (#38)Joseph Hunkeler2024-08-282-47/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix up shell() behavior * Removes dead code after execl() * Return the return value of execl() immediately * Output redirection fix: if f_stderr and redirect_stderr were both set, stderr was not redirected * Move the file handles into the child process * Bash now executes with --norc to avoid clobbering environment variables. This mimics /bin/sh behavior. * Fix test script environment * shell() already provides a temporary script. Not jumping into another sub-shell should preserve help preserve the top-level environment. * Try a different approach using declare -f * Revert "Try a different approach using declare -f" This reverts commit ea8ec855c3c6870d29c55afe3787afb2c05026a1. * Revert "Fix test script environment" This reverts commit 0a4efe972a78378eba5c5fbc6819c39b3cc6c9cb. * Change script permissions: 0700 * Force conda reactivation in test script * Switch to the usual environment reactivation method
* More tests (#36)Joseph Hunkeler2024-08-262-0/+133
| | | | | * Add test_copy.c * Add test_wheel.c
* CI add pandoc (and bug fixes) (#35)Joseph Hunkeler2024-08-203-1/+19
| | | | | | | | | * Fix pandoc command regression * Add space between destination and input * Add pandoc dependency * Dump output of indexed files
* Update mission configs (#34)Joseph Hunkeler2024-08-209-103/+211
| | | | | | | | | | | * Clean package caches (saves about 1GB of layer-space) * Update installation instructions * Update layout * Use template variables where appropriate * Instructions now provide release notes in one place * Pandoc now uses --standalone
* Pypi existence check (#30)Joseph Hunkeler2024-08-204-11/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add python_package_exists() function * Poll pypi.org or compatible index to see if a package exists * Returns non-zero on success * Implements python_package_exists() in delivery_defer_packages() * Implements python_package_exists() in delivery_defer_packages() * Bugfix: Avoid incorrect package selection * With large package lists that contain multiple packages starting with the same strstr() would pick the first match * This adds a temporary name variable that strcmp() can check against. * Message correction: * Change "release" to "testing" in testing environment failure message * Amend message to fit the flow of the output * Disable outdated conda notifications * The latest version isn't always the greatest. Don't give the end-user any ideas. Just use whatever the installer provides... quietly * Rename python_package_exists to pip_index_provides * Document the function prototype * Add missing comments in micromamba structure * Ensure the temporary output file does not linger
* Allow the user to disable uploading build info objects to artifactory (#33)Joseph Hunkeler2024-08-174-6/+20
| | | | | * Add enable_artifactory_build_info to globals structure * Add --no-artifactory-build-info command line argument to status main() * Useful for diag/test runs when a fully traceable delivery isn't desired
* Implement TODO item (#32)Joseph Hunkeler2024-08-171-11/+25
| | | | * The array of packages now used to check the runtime environment instead of two separate scanning methods * Renamed tools array to: conda_minimum_viable_tools
* Undo changes made to Dockerfile.in (#31)Joseph Hunkeler2024-08-174-8/+4
| | | | * The packages directory is copied to the build/docker directory. * There is no need to separate these ADD calls.
* Add template convience functions (and bug fixes) (#29)Joseph Hunkeler2024-08-156-2/+57
| | | | | | | | | | | | | | | | | | | | | | | | | * Die when render variable is NULL * This was caught when a call to {{ func:xyz() }} lacked opening/closing parenthesis * Scripts in tests should only render template strings right before execution * Remove conda version pin * This avoids updating conda in the base environment * This also avoids pitfalls associated with newly released (always broken) versions of conda * Add two template convenience functions * get_junitxml_result_auto() * get_basetemp_result_auto() * Handle rendering error for test script * Rename functions * get_junitxml_result_auto -> junitxml_file * get_basetemp_result_auto -> basetemp_dir * Thank you, @zacharyburnett