Repository navigation
gofer: do not stat cached regular files during PrepareSave by default - #16346
Merged
copybara-service[bot] merged 1 commit intoOct 27, 2026
Merged
copybara-service[bot] merged 1 commit into
copybara-service[bot] merged 1 commit into
Conversation
ayushr2
requested changes
Oct 25, 2026
ayushr2
requested changes
Oct 25, 2026
ayushr2
left a comment
Contributor
There was a problem hiding this comment.
Please squash your commits.
DARSHANR007
force-pushed
the
issue-16208/gofer-preparesave-stat
branch
from
October 26, 2026 04:16
50dda0e to
1bbc9e8
Compare
ayushr2
reviewed
Oct 26, 2026
DARSHANR007
force-pushed
the
issue-16208/gofer-preparesave-stat
branch
from
October 26, 2026 07:35
1bbc9e8 to
b514b1f
Compare
ayushr2
reviewed
Oct 26, 2026
Contributor
|
LGTM otherwise |
During PrepareSave, the gofer filesystem refreshes metadata for each cached regular file when cached metadata is not authoritative (e.g. shared mounts). This was done to populate file size and mtime for validation during restore. runsc never enables this validation, so these sequential stat calls while the sandbox is paused add unnecessary latency. Add PrepareSaveOptions to vfs and gate the stat calls behind ValidateMetadata (off by default). Plumb the option through the kernel. Signed-off-by: darsh <[email protected]>
DARSHANR007
force-pushed
the
issue-16208/gofer-preparesave-stat
branch
from
October 26, 2026 08:33
b514b1f to
fced933
Compare
ayushr2
approved these changes
Oct 26, 2026
EtiennePerot
approved these changes
Oct 27, 2026
Member
|
I benchmark the PR to significance, the performance gain is real, even though it is smaller than than PR claims
thanks @DARSHANR007 n=64, directfs with 10000 files (not significant at n=32)n=20 |
milantracy
approved these changes
Oct 27, 2026
copybara-service Bot
pushed a commit
that referenced
this pull request
Oct 27, 2026
## The problem ? , refer #16208 When you run `runsc checkpoint`, gVisor pauses the container to save its state. On shared mounts, gVisor was calling `stat` on **every single cached file** one by one. Each `stat` call sends a message to the host and waits for an answer. This metadata was only collected to check file sizes and edit times on restore. But `runsc` **never turns on this check by default**. If a container has thousands of files (like `node_modules` or Python packages), the container was frozen for seconds just doing useless `stat` calls. --- ## My suggestion We skip these `stat` calls during save by default. We add an option called `ValidateMetadata` (set to `false` by default). Now, gVisor only calls `stat` if the user explicitly asks for it with `--validate-metadata`. --- ## Code change In `pkg/sentry/fsimpl/gofer/save_restore.go`: ```diff - if !d.fs.cachedMetadataAuthoritative() { + if opts.ValidateMetadata && !d.fs.cachedMetadataAuthoritative() { if err := d.inode.updateMetadata(ctx); err != nil { return err } } ``` --- ## Stats | **Cached Files** | **Host `stat` Calls (Before)** | **Host `stat` Calls (Now)** | **Pause Downtime (Before)** | **Pause Downtime (Now)** | | :--------------- | :----------------------------- | :-------------------------- | :-------------------------- | :----------------------- | | **500 files** | 500 calls | 0 | ~50 ms – 150 ms | < 1 ms | | **1,000 files** | 1,000 calls | 0 | ~100 ms – 300 ms | < 1 ms | | **5,000 files** | 5,000 calls | 0 | ~500 ms – 1,500 ms | < 1 ms | | **10,000 files** | 10,000 calls | 0 | 1.0 s – 3.0 s | ~2 ms | Added unit tests in ``pkg/sentry/vfs/save_restore_test.go`` to test that options pass correctly. Added test and benchmark in ``pkg/sentry/fsimpl/gofer/gofer_test.go`` fixes #16208 FUTURE_COPYBARA_INTEGRATE_REVIEW=#16346 from DARSHANR007:issue-16208/gofer-preparesave-stat fced933 PiperOrigin-RevId: 1007708632
copybara-service Bot
pushed a commit
that referenced
this pull request
Oct 27, 2026
## The problem ? , refer #16208 When you run `runsc checkpoint`, gVisor pauses the container to save its state. On shared mounts, gVisor was calling `stat` on **every single cached file** one by one. Each `stat` call sends a message to the host and waits for an answer. This metadata was only collected to check file sizes and edit times on restore. But `runsc` **never turns on this check by default**. If a container has thousands of files (like `node_modules` or Python packages), the container was frozen for seconds just doing useless `stat` calls. --- ## My suggestion We skip these `stat` calls during save by default. We add an option called `ValidateMetadata` (set to `false` by default). Now, gVisor only calls `stat` if the user explicitly asks for it with `--validate-metadata`. --- ## Code change In `pkg/sentry/fsimpl/gofer/save_restore.go`: ```diff - if !d.fs.cachedMetadataAuthoritative() { + if opts.ValidateMetadata && !d.fs.cachedMetadataAuthoritative() { if err := d.inode.updateMetadata(ctx); err != nil { return err } } ``` --- ## Stats | **Cached Files** | **Host `stat` Calls (Before)** | **Host `stat` Calls (Now)** | **Pause Downtime (Before)** | **Pause Downtime (Now)** | | :--------------- | :----------------------------- | :-------------------------- | :-------------------------- | :----------------------- | | **500 files** | 500 calls | 0 | ~50 ms – 150 ms | < 1 ms | | **1,000 files** | 1,000 calls | 0 | ~100 ms – 300 ms | < 1 ms | | **5,000 files** | 5,000 calls | 0 | ~500 ms – 1,500 ms | < 1 ms | | **10,000 files** | 10,000 calls | 0 | 1.0 s – 3.0 s | ~2 ms | Added unit tests in ``pkg/sentry/vfs/save_restore_test.go`` to test that options pass correctly. Added test and benchmark in ``pkg/sentry/fsimpl/gofer/gofer_test.go`` fixes #16208 FUTURE_COPYBARA_INTEGRATE_REVIEW=#16346 from DARSHANR007:issue-16208/gofer-preparesave-stat fced933 PiperOrigin-RevId: 1007708632
Contributor
Author
Thanks a lot @milantracy benchmarks. Really glad to see the numbers back up the change across the runs |
copybara-service Bot
pushed a commit
that referenced
this pull request
Oct 27, 2026
## The problem ? , refer #16208 When you run `runsc checkpoint`, gVisor pauses the container to save its state. On shared mounts, gVisor was calling `stat` on **every single cached file** one by one. Each `stat` call sends a message to the host and waits for an answer. This metadata was only collected to check file sizes and edit times on restore. But `runsc` **never turns on this check by default**. If a container has thousands of files (like `node_modules` or Python packages), the container was frozen for seconds just doing useless `stat` calls. --- ## My suggestion We skip these `stat` calls during save by default. We add an option called `ValidateMetadata` (set to `false` by default). Now, gVisor only calls `stat` if the user explicitly asks for it with `--validate-metadata`. --- ## Code change In `pkg/sentry/fsimpl/gofer/save_restore.go`: ```diff - if !d.fs.cachedMetadataAuthoritative() { + if opts.ValidateMetadata && !d.fs.cachedMetadataAuthoritative() { if err := d.inode.updateMetadata(ctx); err != nil { return err } } ``` --- ## Stats | **Cached Files** | **Host `stat` Calls (Before)** | **Host `stat` Calls (Now)** | **Pause Downtime (Before)** | **Pause Downtime (Now)** | | :--------------- | :----------------------------- | :-------------------------- | :-------------------------- | :----------------------- | | **500 files** | 500 calls | 0 | ~50 ms – 150 ms | < 1 ms | | **1,000 files** | 1,000 calls | 0 | ~100 ms – 300 ms | < 1 ms | | **5,000 files** | 5,000 calls | 0 | ~500 ms – 1,500 ms | < 1 ms | | **10,000 files** | 10,000 calls | 0 | 1.0 s – 3.0 s | ~2 ms | Added unit tests in ``pkg/sentry/vfs/save_restore_test.go`` to test that options pass correctly. Added test and benchmark in ``pkg/sentry/fsimpl/gofer/gofer_test.go`` fixes #16208 FUTURE_COPYBARA_INTEGRATE_REVIEW=#16346 from DARSHANR007:issue-16208/gofer-preparesave-stat fced933 PiperOrigin-RevId: 1007708632
copybara-service Bot
pushed a commit
that referenced
this pull request
Oct 27, 2026
## The problem ? , refer #16208 When you run `runsc checkpoint`, gVisor pauses the container to save its state. On shared mounts, gVisor was calling `stat` on **every single cached file** one by one. Each `stat` call sends a message to the host and waits for an answer. This metadata was only collected to check file sizes and edit times on restore. But `runsc` **never turns on this check by default**. If a container has thousands of files (like `node_modules` or Python packages), the container was frozen for seconds just doing useless `stat` calls. --- ## My suggestion We skip these `stat` calls during save by default. We add an option called `ValidateMetadata` (set to `false` by default). Now, gVisor only calls `stat` if the user explicitly asks for it with `--validate-metadata`. --- ## Code change In `pkg/sentry/fsimpl/gofer/save_restore.go`: ```diff - if !d.fs.cachedMetadataAuthoritative() { + if opts.ValidateMetadata && !d.fs.cachedMetadataAuthoritative() { if err := d.inode.updateMetadata(ctx); err != nil { return err } } ``` --- ## Stats | **Cached Files** | **Host `stat` Calls (Before)** | **Host `stat` Calls (Now)** | **Pause Downtime (Before)** | **Pause Downtime (Now)** | | :--------------- | :----------------------------- | :-------------------------- | :-------------------------- | :----------------------- | | **500 files** | 500 calls | 0 | ~50 ms – 150 ms | < 1 ms | | **1,000 files** | 1,000 calls | 0 | ~100 ms – 300 ms | < 1 ms | | **5,000 files** | 5,000 calls | 0 | ~500 ms – 1,500 ms | < 1 ms | | **10,000 files** | 10,000 calls | 0 | 1.0 s – 3.0 s | ~2 ms | Added unit tests in ``pkg/sentry/vfs/save_restore_test.go`` to test that options pass correctly. Added test and benchmark in ``pkg/sentry/fsimpl/gofer/gofer_test.go`` fixes #16208 FUTURE_COPYBARA_INTEGRATE_REVIEW=#16346 from DARSHANR007:issue-16208/gofer-preparesave-stat fced933 PiperOrigin-RevId: 1007745122
copybara-service Bot
pushed a commit
that referenced
this pull request
Oct 27, 2026
## The problem ? , refer #16208 When you run `runsc checkpoint`, gVisor pauses the container to save its state. On shared mounts, gVisor was calling `stat` on **every single cached file** one by one. Each `stat` call sends a message to the host and waits for an answer. This metadata was only collected to check file sizes and edit times on restore. But `runsc` **never turns on this check by default**. If a container has thousands of files (like `node_modules` or Python packages), the container was frozen for seconds just doing useless `stat` calls. --- ## My suggestion We skip these `stat` calls during save by default. We add an option called `ValidateMetadata` (set to `false` by default). Now, gVisor only calls `stat` if the user explicitly asks for it with `--validate-metadata`. --- ## Code change In `pkg/sentry/fsimpl/gofer/save_restore.go`: ```diff - if !d.fs.cachedMetadataAuthoritative() { + if opts.ValidateMetadata && !d.fs.cachedMetadataAuthoritative() { if err := d.inode.updateMetadata(ctx); err != nil { return err } } ``` --- ## Stats | **Cached Files** | **Host `stat` Calls (Before)** | **Host `stat` Calls (Now)** | **Pause Downtime (Before)** | **Pause Downtime (Now)** | | :--------------- | :----------------------------- | :-------------------------- | :-------------------------- | :----------------------- | | **500 files** | 500 calls | 0 | ~50 ms – 150 ms | < 1 ms | | **1,000 files** | 1,000 calls | 0 | ~100 ms – 300 ms | < 1 ms | | **5,000 files** | 5,000 calls | 0 | ~500 ms – 1,500 ms | < 1 ms | | **10,000 files** | 10,000 calls | 0 | 1.0 s – 3.0 s | ~2 ms | Added unit tests in ``pkg/sentry/vfs/save_restore_test.go`` to test that options pass correctly. Added test and benchmark in ``pkg/sentry/fsimpl/gofer/gofer_test.go`` fixes #16208 FUTURE_COPYBARA_INTEGRATE_REVIEW=#16346 from DARSHANR007:issue-16208/gofer-preparesave-stat fced933 PiperOrigin-RevId: 1007708632
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 10, 2026
On shared mounts backed by a path-based lisafs server that does not pin open host file descriptors (or by a host filesystem such as FUSE/NFS where an open O_PATH FD does not prevent inode-number reuse), unlinking a file lets the backing filesystem immediately recycle its (dev, ino) pair for a newly created file of a different type while the sentry still holds the old gofer.inode in filesystem.inodeByKey (via an open FD, the dentry cache, or deferred invalidation cleanup during OpenAt). Since commit 8229bcb ("Merge pull request #16346 from DARSHANR007:issue-16208/gofer-preparesave-stat") began refreshing cached inode metadata on filesystem.inodeByKey hits in newLisafsDentry and newDirectfsDentry, matching solely on (dev, ino) adopts the stale gofer.inode and panics in updateMetadataFromStatxLocked on the file-type mismatch: --- FAIL: TestOpenAtRecycledInoTypeChange (0.02s) panic: lisafsInode file type changed from 0140000 to 0100000 Require the cached inode's file type to match the newly walked file type in getOrCreateInode (for both lisafs and directfs, tested via lisafs), matching the existing check in doRevalidationLisafs. When the file type differs, allocate a fresh gofer.inode and replace the filesystem.inodeByKey entry while leaving the old gofer.inode isolated for any remaining references, and guard filesystem.inodeByKey deletion on inode teardown with pointer identity so destroying the superseded inode does not evict the replacement. Same-type (dev, ino) reuse remains indistinguishable from a hard link without inode generation numbers. PiperOrigin-RevId: 1017652055
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 10, 2026
On shared mounts backed by a path-based lisafs server that does not pin open host file descriptors (or by a host filesystem such as FUSE/NFS where an open O_PATH FD does not prevent inode-number reuse), unlinking a file lets the backing filesystem immediately recycle its (dev, ino) pair for a newly created file of a different type while the sentry still holds the old gofer.inode in filesystem.inodeByKey (via an open FD, the dentry cache, or deferred invalidation cleanup during OpenAt). Since commit 8229bcb ("Merge pull request #16346 from DARSHANR007:issue-16208/gofer-preparesave-stat") began refreshing cached inode metadata on filesystem.inodeByKey hits in newLisafsDentry and newDirectfsDentry, matching solely on (dev, ino) adopts the stale gofer.inode and panics in updateMetadataFromStatxLocked on the file-type mismatch: --- FAIL: TestOpenAtRecycledInoTypeChange (0.02s) panic: lisafsInode file type changed from 0140000 to 0100000 Require the cached inode's file type to match the newly walked file type in getOrCreateInode (for both lisafs and directfs, tested via lisafs), matching the existing check in doRevalidationLisafs. When the file type differs, allocate a fresh gofer.inode and replace the filesystem.inodeByKey entry while leaving the old gofer.inode isolated for any remaining references, and guard filesystem.inodeByKey deletion on inode teardown with pointer identity so destroying the superseded inode does not evict the replacement. Same-type (dev, ino) reuse remains indistinguishable from a hard link without inode generation numbers. PiperOrigin-RevId: 1017652055
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 10, 2026
On shared mounts backed by a path-based lisafs server that does not pin open host file descriptors (or by a host filesystem such as FUSE/NFS where an open O_PATH FD does not prevent inode-number reuse), unlinking a file lets the backing filesystem immediately recycle its (dev, ino) pair for a newly created file of a different type while the sentry still holds the old gofer.inode in filesystem.inodeByKey (via an open FD, the dentry cache, or deferred invalidation cleanup during OpenAt). Since commit 8229bcb ("Merge pull request #16346 from DARSHANR007:issue-16208/gofer-preparesave-stat") began refreshing cached inode metadata on filesystem.inodeByKey hits in newLisafsDentry and newDirectfsDentry, matching solely on (dev, ino) adopts the stale gofer.inode and panics in updateMetadataFromStatxLocked on the file-type mismatch: --- FAIL: TestOpenAtRecycledInoTypeChange (0.02s) panic: lisafsInode file type changed from 0140000 to 0100000 Require the cached inode's file type to match the newly walked file type in getOrCreateInode (for both lisafs and directfs, tested via lisafs), matching the existing check in doRevalidationLisafs. When the file type differs, allocate a fresh gofer.inode and replace the filesystem.inodeByKey entry while leaving the old gofer.inode isolated for any remaining references, and guard filesystem.inodeByKey deletion on inode teardown with pointer identity so destroying the superseded inode does not evict the replacement. Same-type (dev, ino) reuse remains indistinguishable from a hard link without inode generation numbers. PiperOrigin-RevId: 1017652055
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 12, 2026
On shared mounts backed by a path-based lisafs server that does not pin open host file descriptors (or by a host filesystem such as FUSE/NFS where an open O_PATH FD does not prevent inode-number reuse), unlinking a file lets the backing filesystem immediately recycle its (dev, ino) pair for a newly created file of a different type while the sentry still holds the old gofer.inode in filesystem.inodeByKey (via an open FD, the dentry cache, or deferred invalidation cleanup during OpenAt). Since commit 8229bcb ("Merge pull request #16346 from DARSHANR007:issue-16208/gofer-preparesave-stat") began refreshing cached inode metadata on filesystem.inodeByKey hits in newLisafsDentry and newDirectfsDentry, matching solely on (dev, ino) adopts the stale gofer.inode and panics in updateMetadataFromStatxLocked on the file-type mismatch: --- FAIL: TestOpenAtRecycledInoTypeChange (0.02s) panic: lisafsInode file type changed from 0140000 to 0100000 Require the cached inode's file type to match the newly walked file type in getOrCreateInode (for both lisafs and directfs, tested via lisafs), matching the existing check in doRevalidationLisafs. When the file type differs, allocate a fresh gofer.inode and replace the filesystem.inodeByKey entry while leaving the old gofer.inode isolated for any remaining references, and guard filesystem.inodeByKey deletion on inode teardown with pointer identity so destroying the superseded inode does not evict the replacement. PiperOrigin-RevId: 1017652055
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 13, 2026
On shared mounts backed by a path-based lisafs server that does not pin open host file descriptors (or by a host filesystem such as FUSE/NFS where an open O_PATH FD does not prevent inode-number reuse), unlinking a file lets the backing filesystem immediately recycle its (dev, ino) pair for a newly created file of a different type while the sentry still holds the old gofer.inode in filesystem.inodeByKey (via an open FD, the dentry cache, or deferred invalidation cleanup during OpenAt). Since commit 8229bcb ("Merge pull request #16346 from DARSHANR007:issue-16208/gofer-preparesave-stat") began refreshing cached inode metadata on filesystem.inodeByKey hits in newLisafsDentry and newDirectfsDentry, matching solely on (dev, ino) adopts the stale gofer.inode and panics in updateMetadataFromStatxLocked on the file-type mismatch: --- FAIL: TestOpenAtRecycledInoTypeChange (0.02s) panic: lisafsInode file type changed from 0140000 to 0100000 Require the cached inode's file type to match the newly walked file type in getOrCreateInode (for both lisafs and directfs, tested via lisafs), matching the existing check in doRevalidationLisafs. When the file type differs, allocate a fresh gofer.inode and replace the filesystem.inodeByKey entry while leaving the old gofer.inode isolated for any remaining references, and guard filesystem.inodeByKey deletion on inode teardown with pointer identity so destroying the superseded inode does not evict the replacement. PiperOrigin-RevId: 1017652055
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 13, 2026
On shared mounts backed by a path-based lisafs server that does not pin open host file descriptors (or by a host filesystem such as FUSE/NFS where an open O_PATH FD does not prevent inode-number reuse), unlinking a file lets the backing filesystem immediately recycle its (dev, ino) pair for a newly created file of a different type while the sentry still holds the old gofer.inode in filesystem.inodeByKey (via an open FD, the dentry cache, or deferred invalidation cleanup during OpenAt). Since commit 8229bcb ("Merge pull request #16346 from DARSHANR007:issue-16208/gofer-preparesave-stat") began refreshing cached inode metadata on filesystem.inodeByKey hits in newLisafsDentry and newDirectfsDentry, matching solely on (dev, ino) adopts the stale gofer.inode and panics in updateMetadataFromStatxLocked on the file-type mismatch: --- FAIL: TestOpenAtRecycledInoTypeChange (0.02s) panic: lisafsInode file type changed from 0140000 to 0100000 Require the cached inode's file type to match the newly walked file type in getOrCreateInode (for both lisafs and directfs, tested via lisafs), matching the existing check in doRevalidationLisafs. When the file type differs, allocate a fresh gofer.inode and replace the filesystem.inodeByKey entry while leaving the old gofer.inode isolated for any remaining references, and guard filesystem.inodeByKey deletion on inode teardown with pointer identity so destroying the superseded inode does not evict the replacement. PiperOrigin-RevId: 1017652055
copybara-service Bot
pushed a commit
that referenced
this pull request
Nov 13, 2026
On shared mounts backed by a path-based lisafs server that does not pin open host file descriptors (or by a host filesystem such as FUSE/NFS where an open O_PATH FD does not prevent inode-number reuse), unlinking a file lets the backing filesystem immediately recycle its (dev, ino) pair for a newly created file of a different type while the sentry still holds the old gofer.inode in filesystem.inodeByKey (via an open FD, the dentry cache, or deferred invalidation cleanup during OpenAt). Since commit 8229bcb ("Merge pull request #16346 from DARSHANR007:issue-16208/gofer-preparesave-stat") began refreshing cached inode metadata on filesystem.inodeByKey hits in newLisafsDentry and newDirectfsDentry, matching solely on (dev, ino) adopts the stale gofer.inode and panics in updateMetadataFromStatxLocked on the file-type mismatch: --- FAIL: TestOpenAtRecycledInoTypeChange (0.02s) panic: lisafsInode file type changed from 0140000 to 0100000 Require the cached inode's file type to match the newly walked file type in getOrCreateInode (for both lisafs and directfs, tested via lisafs), matching the existing check in doRevalidationLisafs. When the file type differs, allocate a fresh gofer.inode and replace the filesystem.inodeByKey entry while leaving the old gofer.inode isolated for any remaining references, and guard filesystem.inodeByKey deletion on inode teardown with pointer identity so destroying the superseded inode does not evict the replacement. PiperOrigin-RevId: 1020610841
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The problem ? , refer #16208
When you run
runsc checkpoint, gVisor pauses the container to save its state.On shared mounts, gVisor was calling
staton every single cached file one by one. Eachstatcall sends a message to the host and waits for an answer.This metadata was only collected to check file sizes and edit times on restore. But
runscnever turns on this check by default.If a container has thousands of files (like
node_modulesor Python packages), the container was frozen for seconds just doing uselessstatcalls.My suggestion
We skip these
statcalls during save by default.We add an option called
ValidateMetadata(set tofalseby default). Now, gVisor only callsstatif the user explicitly asks for it with--validate-metadata.Code change
In
pkg/sentry/fsimpl/gofer/save_restore.go:Stats
statCalls (Before)statCalls (Now)Added unit tests in
pkg/sentry/vfs/save_restore_test.goto test that options pass correctly.Added test and benchmark in
pkg/sentry/fsimpl/gofer/gofer_test.gofixes #16208