RFR: 7904106: TestNativePath: intermittent test failures due to different test targets using same work dir

Vladimir Petko vpetko at openjdk.org
Tue Oct 28 04:13:48 UTC 2025


Both agentvm and othervm targets use the same work path `$(BUILDTESTDIR)/nativepath.othervm/work`. This causes intermittent test failures when the tests are run in parallel. 

---------
### Progress
- [ ] Change must be properly reviewed (1 review required, with at least 1 [Reviewer](https://openjdk.org/bylaws#reviewer))
- [x] Change must not contain extraneous whitespace
- [x] Commit message must refer to an issue

### Error
 ⚠️ The pull request body must not be empty.



### Reviewing
<details><summary>Using <code>git</code></summary>

Checkout this PR locally: \
`$ git fetch https://git.openjdk.org/jtreg.git pull/298/head:pull/298` \
`$ git checkout pull/298`

Update a local copy of the PR: \
`$ git checkout pull/298` \
`$ git pull https://git.openjdk.org/jtreg.git pull/298/head`

</details>
<details><summary>Using Skara CLI tools</summary>

Checkout this PR locally: \
`$ git pr checkout 298`

View PR using the GUI difftool: \
`$ git pr show -t 298`

</details>
<details><summary>Using diff file</summary>

Download this PR as a diff file: \
<a href="https://git.openjdk.org/jtreg/pull/298.diff">https://git.openjdk.org/jtreg/pull/298.diff</a>

</details>

-------------

Commit messages:
 - fix: use unique test output paths

Changes: https://git.openjdk.org/jtreg/pull/298/files
  Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=298&range=00
  Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904106
  Stats: 19 lines in 1 file changed: 0 ins; 1 del; 18 mod
  Patch: https://git.openjdk.org/jtreg/pull/298.diff
  Fetch: git fetch https://git.openjdk.org/jtreg.git pull/298/head:pull/298

PR: https://git.openjdk.org/jtreg/pull/298


More information about the jtreg-dev mailing list