issue #7582 : fix IT write permissions and ExecProcess single-command exec#7584
Merged
Conversation
…ommand exec Harden integration-test Docker prep so project output/, files/, and roots are writable under the container UID, and move generated spreadsheet/MDI/ parquet/http artifacts into world-writable output/ paths (with golden data and gitignore updates). Also restore Runtime.exec(String) for ExecProcess single-command mode so command lines are tokenized again (apache#7565 regression).
…pache#7581 Use explicit whitespace tokenization before Runtime.exec(String[]) for single-command mode (avoids the deprecated String overload), and add a unit test for tokenizeCommandLine. Credit: @leehaut in apache#7581.
Contributor
Author
mattcasters
added a commit
to mattcasters/hop
that referenced
this pull request
Jul 20, 2026
Bring in ExecProcess single-command tokenization fix (apache#7581/apache#7584) and other main updates to unblock PR build.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Fixes Jenkins integration-test permission failures after the Native Spark / surefire work, and restores ExecProcess single-command-line execution broken by #7565.
Closes #7582
Why
Build Hop-integration-tests #2247 failed 14 tests with
AccessDeniedException/Could not deleteunder bind-mounted project trees. Permission hardening only coveredoutput/and surefire reports, while many older ITs still write underfiles/or the project root. Separately, #7565 changedRuntime.exec(String)toRuntime.exec(String[])for single-command mode, so command lines like/bin/echo hop-singleno longer tokenize.How
run-tests-docker.sh/run-tests.sh): re-ownintegration-tests/to the container UID; world-writableoutput/andfiles/; writable project roots; residual cleanup that never deletes git-tracked fixtures.SKIP_GOOGLE_SHEETSlogging.output/for spreadsheet Excel writers, MDI JSON/Excel outputs, HTTP download target, transforms parquet prepare/read; update golden multi-file Excel dataset paths.http-action-output, MDI generated outputs) and extend.gitignore.Runtime.exec(String)for non-arguments-in-fields mode; minor test setup hardening.Verification
ExecProcessTest(and related unit tests) pass after theRuntime.execrestore.