[roll] Roll fuchsia [starnix][tests] Restore mutated net sysctls in ProcSysNetTest

`ProcSysNetTest.Write` writes `'1'` to `/proc/sys/net` sysctls,
including `/proc/sys/net/ipv6/conf/all/disable_ipv6` and
`/proc/sys/net/ipv6/conf/default/disable_ipv6`, without restoring their
original values. In `starnix_linux_vm_bundle`, all syscall test
components run in a shared `DebianGuest` VM instance, so setting
`all/disable_ipv6` to `'1'` disables IPv6 on `lo` and strips its `::1`
loopback address for the rest of the VM's lifetime. Subsequent runs of
`BpfTest.SoAttachFilter` in `linux_socket_test.cm` on the same shard
then fail `sendto` to `[::1]` with `EADDRNOTAVAIL`.

Add a default constructor to `test_helper::ScopedSysctl` so it can be
held as a test fixture member and populated in `SetUp()`, use it in
`ProcSysNetTest` to restore the original sysctl values on teardown, and
re-enable `BpfTest.SoAttachFilter` in `linux_syscalls_cpp_test.json5`.

Original-Original-Fixed: 585149556
Multiply: linux_socket_test
Multiply: linux_procfs_test
Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1978099
Risk: Fuchsia CL Risk (Advisory) <groupagent-fuchsia-risk@google.com>
Original-Original-Revision: 51f921f702993718a52ca7612139cb982a9709e6
GitOrigin-RevId: ca2e858b99b2bdee00d89af96f380c06edeb3919
Change-Id: I02d17c49308a6e3e825c850794f2f7c23e9b9766
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1983797
Cr-Commit-Position: refs/heads/main@{#213799}
1 file changed
tree: 5c63d6c1d09064c6be003aa59b0536caa5f19f67
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.