Skip to content

Conversation

@Larry-N
Copy link

@Larry-N Larry-N commented Jun 17, 2022

CRIU restore fail after Checkpoint stdout to file.
Redirecting a stdout to the pipeline doesn't break the restore.

A proposed approach forces the close of stdout, stdin, and stderr file descriptors if they are redirected to the files, on checkpoint resources verification.


Progress

  • Change must not contain extraneous whitespace

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/crac.git pull/24/head:pull/24
$ git checkout pull/24

Update a local copy of the PR:
$ git checkout pull/24
$ git pull https://git.openjdk.org/crac.git pull/24/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 24

View PR using the GUI difftool:
$ git pr show -t 24

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/crac/pull/24.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Jun 17, 2022

👋 Welcome back inakonechnyy! A progress list of the required criteria for merging this PR into crac will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Jun 17, 2022

@Larry-N This change is no longer ready for integration - check the PR body for details.

@openjdk openjdk bot added ready Pull request is ready to be integrated rfr Pull request is ready for review labels Jun 17, 2022
@mlbridge
Copy link

mlbridge bot commented Jun 17, 2022

Webrevs

@Larry-N Larry-N marked this pull request as draft November 11, 2022 14:36
@Larry-N Larry-N changed the title Force closing a "redirected to the file" standard io descriptor If std descriptor is bound with regular file, redirect it to pseudo terminal before the checkpoint Nov 11, 2022
@openjdk openjdk bot removed the rfr Pull request is ready for review label Nov 11, 2022
@openjdk openjdk bot removed the ready Pull request is ready to be integrated label Feb 17, 2023
@rvansa
Copy link
Collaborator

rvansa commented Apr 14, 2023

Hi @Larry-N could you accompany the fix with a test case that would demonstrate it?

@openjdk
Copy link

openjdk bot commented Jun 15, 2023

@Larry-N this pull request can not be integrated into crac due to one or more merge conflicts. To resolve these merge conflicts and update this pull request you can run the following commands in the local repository for your personal fork:

git checkout stdout-restore
git fetch https://git.openjdk.org/crac.git crac
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge crac"
git push

@openjdk openjdk bot added the merge-conflict Pull request has merge conflict with target branch label Jun 15, 2023
@rvansa
Copy link
Collaborator

rvansa commented Jun 16, 2023

Hi @Larry-N do you intend to work on this any further?

@rvansa
Copy link
Collaborator

rvansa commented Oct 30, 2023

Closing this; the underlying problem is in CRIU and should be fixed in CRaC/criu#13 . This PR should be superseded by test-only #132 .

@rvansa rvansa closed this Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-conflict Pull request has merge conflict with target branch

Development

Successfully merging this pull request may close these issues.

2 participants