1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-10-15 19:42:06 +00:00
forgejo-runner/act/container
Earl Warren 69df253e41
fix: ptyWriter.AutoStop is used by multiple goroutines
```
WARNING: DATA RACE
Write at 0x00c0008541d8 by goroutine 9324:
  code.forgejo.org/forgejo/runner/v11/act/container.(*HostEnvironment).exec()
      /home/debian/.cache/act/37b13738279f9342/hostexecutor/act/container/host_environment.go:368 +0x12dd
  code.forgejo.org/forgejo/runner/v11/act/runner.(*stepRun).main.func1.(*HostEnvironment).ExecWithCmdLine.1()
      /home/debian/.cache/act/37b13738279f9342/hostexecutor/act/container/host_environment.go:388
      +0x354

Previous read at 0x00c0008541d8 by goroutine 9328:
  code.forgejo.org/forgejo/runner/v11/act/container.(*ptyWriter).Write()
      /home/debian/.cache/act/37b13738279f9342/hostexecutor/act/container/host_environment.go:199 +0x57
  io.copyBuffer()
      /home/debian/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.24.7.linux-amd64/src/io/io.go:431
      +0x2ce

Goroutine 9324 (running) created at:
  code.forgejo.org/forgejo/runner/v11/act/runner.(*runnerImpl).NewPlanExecutor.func1.NewParallelExecutor.2()
      /home/debian/.cache/act/37b13738279f9342/hostexecutor/act/common/executor.go:105 +0x144
  code.forgejo.org/forgejo/runner/v11/act/runner.(*runnerImpl).NewPlanExecutor.func1.NewParallelExecutor.3.1()
      /home/debian/.cache/act/37b13738279f9342/hostexecutor/act/common/executor.go:107 +0x61
  code.forgejo.org/forgejo/runner/v11/act/runner.(*runnerImpl).NewPlanExecutor.func1.NewParallelExecutor.3.gowrap1()
      /home/debian/.cache/act/37b13738279f9342/hostexecutor/act/common/executor.go:109 +0x4f
Goroutine 9328 (running) created at:
  code.forgejo.org/forgejo/runner/v11/act/container.(*HostEnvironment).exec()
      /home/debian/.cache/act/37b13738279f9342/hostexecutor/act/container/host_environment.go:356 +0x112a
  code.forgejo.org/forgejo/runner/v11/act/runner.(*stepRun).main.func1.(*HostEnvironment).ExecWithCmdLine.1()
      /home/debian/.cache/act/37b13738279f9342/hostexecutor/act/container/host_environment.go:388 +0x354
  code.forgejo.org/forgejo/runner/v11/act/runner.(*stepRun).main.func1()
```
2025-09-15 17:17:44 +02:00
..
testdata refactor: filecollector into new package (#2174) 2024-01-30 00:46:45 +00:00
container_types.go chore: bump version to v11 (#940) 2025-09-05 07:29:38 +00:00
docker_auth.go chore: bump version to v11 (#940) 2025-09-05 07:29:38 +00:00
docker_build.go chore: bump version to v11 (#940) 2025-09-05 07:29:38 +00:00
docker_cli.go chore: remove github.com/pkg/errors (#873) 2025-08-28 09:33:52 +00:00
docker_cli_test.go chore: remove github.com/pkg/errors (#873) 2025-08-28 09:33:52 +00:00
docker_images.go chore: bump version to v11 (#940) 2025-09-05 07:29:38 +00:00
docker_images_test.go chore: use t.Context for tests, activate usetesting for lint + add t.TempDir and t.Chdir (#844) 2025-08-11 13:21:42 +00:00
DOCKER_LICENSE fix: support docker create arguments from container.options (#1022) (#1351) 2022-10-06 22:09:43 +00:00
docker_logger.go fix: fixes the build on FreeBSD (#882) 2025-08-18 06:01:33 +00:00
docker_network.go chore: bump version to v11 (#940) 2025-09-05 07:29:38 +00:00
docker_pull.go chore: bump version to v11 (#940) 2025-09-05 07:29:38 +00:00
docker_pull_test.go chore: use t.Context for tests, activate usetesting for lint + add t.TempDir and t.Chdir (#844) 2025-08-11 13:21:42 +00:00
docker_run.go chore: bump version to v11 (#940) 2025-09-05 07:29:38 +00:00
docker_run_test.go chore: bump version to v11 (#940) 2025-09-05 07:29:38 +00:00
docker_stub.go chore: bump version to v11 (#940) 2025-09-05 07:29:38 +00:00
docker_volume.go chore: bump version to v11 (#940) 2025-09-05 07:29:38 +00:00
executions_environment.go chore: modernize code (#857) 2025-08-15 04:54:13 +00:00
host_environment.go fix: ptyWriter.AutoStop is used by multiple goroutines 2025-09-15 17:17:44 +02:00
host_environment_test.go chore: use t.Context for tests, activate usetesting for lint + add t.TempDir and t.Chdir (#844) 2025-08-11 13:21:42 +00:00
linux_container_environment_extensions.go chore: modernize code (#857) 2025-08-15 04:54:13 +00:00
linux_container_environment_extensions_test.go chore: use t.Context for tests, activate usetesting for lint + add t.TempDir and t.Chdir (#844) 2025-08-11 13:21:42 +00:00
parse_env_file.go chore: bump version to v11 (#940) 2025-09-05 07:29:38 +00:00
util.go chore: upgrade golangci-lint and address findings (#1904) 2023-07-10 17:12:12 -07:00
util_openbsd_mips64.go feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
util_plan9.go feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00
util_windows.go feat: Host environment (#1293) 2022-11-16 21:29:45 +00:00