-
Notifications
You must be signed in to change notification settings - Fork 89
7904101: intermittent failure in StreamsTest.agentvm.ok #295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
👋 Welcome back vpetko! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
6335c57 to
49d53af
Compare
Webrevs
|
How it works:
- The agent vm emits separator text before and after the text.
- The main vm send the action and waits for the separator text line from
the agent vm.
- After the result have been read by the main vm it expects another separator
text line. After consuming the line it redirects output to the agent log.
Edge cases:
- Timeouts and Agent VM crashes:
- The main vm's stdout and stderr tasks will exit due to the
closed stream. The main vm is supposed to dispose the failed agent.
49d53af to
66bd56f
Compare
|
Still getting intermittent failure in StreamsTest. moving to draft. |
FileDescriptor test intermittently fails because the agent's process output capture lacks synchronisation.
This PR fixes the issue:
Alternative:
-Disable the test and make no assumptions about contents of the agent vm process output.
Testing: tier1 and tier2 tests on mainline jdk (Ubuntu Linux) in agentvm mode.
Unrelated failure: test/jdk/java/nio/channels/DatagramChannel/SendReceiveMaxSize.java
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jtreg.git pull/295/head:pull/295$ git checkout pull/295Update a local copy of the PR:
$ git checkout pull/295$ git pull https://git.openjdk.org/jtreg.git pull/295/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 295View PR using the GUI difftool:
$ git pr show -t 295Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jtreg/pull/295.diff
Using Webrev
Link to Webrev Comment