RFR: 7904107: AgentOut.othervm.ok should not access $(BUILDTESTDIR)/AgentOut.agentvm

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


AgentOut.othervm.ok tries to access $(BUILDTESTDIR)/AgentOut.agentvm. This should only happen in AgentOut.agentvm.ok. 
Add a new target to filter log lines that depends on AgentOut.agentvm.ok.

Note: tests pass on retry[1]. The test failure is caused by [2]

[1] https://github.com/vpa1977/jtreg/actions/runs/18863066182
[2] https://github.com/openjdk/jtreg/pull/297

---------
### 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/299/head:pull/299` \
`$ git checkout pull/299`

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

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

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

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

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

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

</details>

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

Commit messages:
 - fix: filter agent output after agent target

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

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


More information about the jtreg-dev mailing list