Skip to content

[DON'T MERGE] preview PR for fix retry loop for hcsshim:GetContainers #38595

Open
andrey-ko wants to merge 3 commits intomoby:masterfrom
andrey-ko:pre-fix-retry-loop
Open

[DON'T MERGE] preview PR for fix retry loop for hcsshim:GetContainers #38595
andrey-ko wants to merge 3 commits intomoby:masterfrom
andrey-ko:pre-fix-retry-loop

Conversation

@andrey-ko
Copy link
Contributor

This is preview PR that fixes flaky test 'TestStartReturnCorrectExitCode' on windows RS1.
Caused by outdated error check returned by hcsshim::GetContainers in retry loop:


It was discovered and investigated in #38580 (comment)

@GordonTheTurtle
Copy link

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:

$ git clone -b "pre-fix-retry-loop" git@github.com:andrey-ko/moby.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842357811352
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

@GordonTheTurtle GordonTheTurtle added dco/no Automatically set by a bot when one of the commits lacks proper signature status/0-triage labels Jan 19, 2019
@andrey-ko andrey-ko changed the title preview PR for fix retry loop for hcsshim:GetContainers [DON'T MERGE] preview PR for fix retry loop for hcsshim:GetContainers Jan 19, 2019
Signed-off-by: Andrey Kolomentsev <andrey.kolomentsev@docker.com>
Signed-off-by: Andrey Kolomentsev <andrey.kolomentsev@docker.com>
for windows all networks are re-populated in the store during network controller initialization. In current version it also regenerate network Ids which may be referenced by other components and it may cause broken references to a networks. This commit avoids regeneration of network ids.

Signed-off-by: Andrey Kolomentsev <andrey.kolomentsev@docker.com>
@GordonTheTurtle GordonTheTurtle removed the dco/no Automatically set by a bot when one of the commits lacks proper signature label Jan 19, 2019
@olljanat
Copy link
Contributor

@andrey-ko what is status of this?

TestStartReturnCorrectExitCode failure happens quite often so it would be nice to get it fixed?

@andrey-ko
Copy link
Contributor Author

@olljanat waiting when PR microsoft/hcsshim#457 will get merged

@thaJeztah
Copy link
Member

ping @ddebroy should we close this one, or do you want to keep it opened and carry?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants