-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Test failure: System.Diagnostics.Tests.ProcessTests/TestCheckChildProcessUserAndGroupIds #28922
Comments
cc: @tmds It seems like 998 is missing for some reason. That looks different from the duplicates. |
I believe this is the first time we've seen it fail again since I added the extra diagnostics to output the full contents of both sets. |
cc: @danmosemsft |
In a build the previous day, identical result:
So what is the mysterious 998 |
I can get repro machine tomorrow and can check if I can make it fail again. |
Thanks @wfurt . The list that contains |
the mysterious 998 is 'docker'. So far I was not able to reproduce the failure using repro machine. At last, the groups and OS should be identical to official machines. The test output is sorted but in 'id -G' output the missing group is last.
|
I'm also part of a docker group (981 on my machine).
|
I did 100+ rounds of the test and I did not see any failure so far.
|
One thing that may be causing this is the helixbot user was added to the docker group, but the process that is launching the tests isn't aware of this. This may happen if that process was already running before the helixbot user was added to the docker group. Is this something that could occur in the CI environment? |
I don't think that'd be the case, but I will investigate after 4 PM or so PST. |
I did ~ 2000 runs of whole test set on repro machine and I did not get single failure.
test simply primps number of groups user is in |
I'm trying to chat with @wfurt offline but for the queue mentioned by @stephentoub while docker is on the machine in question, I see no evidence that the work item was attempted to be run inside a docker container. Machines in Ubuntu.1604.Amd64.Open are just plain Azure D2_V3 vms. Still looking... |
We think this should be an easy reordering fix in machine provisioning (though it does seem odd that this test is that sensitive to slight machine changes), I filed https://github.com/dotnet/core-eng/issues/5470 to track tweaking the way we add the user to that group. |
The test verifies whether the process is running with expected groups. It detects a mismatch between the groups the user (process) has, and the groups that the user is configured to be in (/etc/group).
Great, thank you. It is preferable we can keep the strict check in the test. |
Marked it as 3.0. Test still failing? |
I no longer see failures. This was fixed by infrastructure changes. |
The test is actually disabled: dotnet/corefx#35949. May be the same issue as https://github.com/dotnet/corefx/issues/38833 |
I was able to reproduce the failure using our CI in #46138 I've verified that it's caused by the difference in what
|
Opened on behalf of @wfurt
The test
System.Diagnostics.Tests.ProcessTests/TestCheckChildProcessUserAndGroupIds
has failed.Failure Message:
Stack Trace:
Build : 3.0 - 20190310.5 (Core Tests)
Failing configurations:
The text was updated successfully, but these errors were encountered: