Pete Moore

Results 89 comments of Pete Moore

Code is [here](https://github.com/taskcluster/taskcluster/blob/3c15c004d960b5ace54ec37e8115b56b70784faa/workers/generic-worker/multiuser_posix.go#L173).

@davehouse Are you able to get the worker log for macmini-r8-198? It should show any output of the above `chown -R command`. I'm also curious how many files are in...

Ideas welcome here - I can't think of a simple fix. Task users have different ids, and only some tasks should be able to access the cache. Perhaps there is...

Perhaps it could be an opt-in option, though, for cases like this where there are large numbers of files. It could also be that this cache is growing unexpectedly, and...

> Can you have a cache group that has access to the cache and task user ids get added/removed from the group if they're supposed to have access to the...

> Would it be useful to check if a directory cache was modified and alert and expunge it instead of keeping any modifications? https://github.com/taskcluster/taskcluster/blob/main/workers/generic-worker/mounts.go#L491 That's essentially what the [readOnlyDirectory](https://github.com/taskcluster/taskcluster/blob/4a42480d9422e24ab09a32c5891c51f81145bcac/workers/generic-worker/schemas/multiuser_posix.yml#L351-L387) mount...

> I find some of those comments valuable, so I think we should enable it I agree! Sorry for the late review, only just worked out how to filter out...

Maybe we need to call https://pkg.go.dev/runtime#LockOSThread before the DeleteProfileW syscall? Would be great to find a way to reliably reproduce the issue, so we can see if this would fix...

With (full) generic-worker.exe process dump loaded into WinDbg, I see: ``` 0:004> !analyze -v -hang ******************************************************************************* * * * Exception Analysis * * * ******************************************************************************* KEY_VALUES_STRING: 1 Key : Analysis.CPU.mSec...

This time with `kpnf` instead of `kbnf`: ``` 0:004> kpnf # Memory Child-SP RetAddr Call Site 00 000000da`3a5fe858 00007ffa`642c85c2 ntdll!NtAlpcSendWaitReceivePort+0x14 01 8 000000da`3a5fe860 00007ffa`642c5711 rpcrt4!LRPC_BASE_CCALL::DoSendReceive+0x112 02 b0 000000da`3a5fe910 00007ffa`642af7df rpcrt4!LRPC_CCALL::SendReceive+0x51...