in mount namespace: lstat /tmp/buildah3571344721/mnt/rootfs/run/.containerenv: not a directory
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x2c pc=0x56d302]
goroutine 1 [running]
это полная ошибка? Скиньте полную, если есть
Executing script /root/.werf/service/tmp/buildah/script-743e535d-8d02-4dff-afea-b062063d1233.sh │ │ horizon-build/setup error running subprocess: examining "/tmp/buildah3491414866/mnt/rootfs/run/.containerenv" for mounting ↵ │ │ horizon-build/setup in mount namespace: lstat /tmp/buildah3491414866/mnt/rootfs/run/.containerenv: not a directory panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x2c pc=0x56d302] goroutine 1 [running]: github.com/sirupsen/logrus.(*Logger).Logf(0xc001dd2e00?, 0x0?, {0x4018b61?, 0x6b?}, {0xc0019f60e0?, 0x0?, 0x0?}) /go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/logger.go:152 +0x22 github.com/sirupsen/logrus.(*Logger).Errorf(...) /go/pkg/mod/github.com/sirupsen/logrus@v1.9.3/logger.go:186 github.com/containers/buildah.(*Builder).Run.func3() /go/pkg/mod/github.com/containers/buildah@v1.30.0/run_linux.go:357 +0x8a github.com/containers/buildah.(*Builder).Run(_, {_, _, _}, {0x0, {0x0, 0x0}, 0x2, {0x0, 0x0}, ...}) /go/pkg/mod/github.com/containers/buildah@v1.30.0/run_linux.go:383 +0x3312 github.com/werf/werf/pkg/buildah.(*NativeBuildah).RunCommand(_, {_, _}, {_, _}, {_, _, _}, {{{0xc000590920, 0xb}, ...}, ...}) /git/pkg/buildah/native_linux.go:404 +0xa3d github.com/werf/werf/pkg/container_backend.(*BuildahBackend).applyCommands(0xc000f348a0, {0x49be408, 0xc000ed1d40}, 0xc0012e9590, {0x0, 0x0, 0x0}, {0xc000ce4300, 0x4, 0x4}, ...) /git/pkg/container_backend/buildah_backend.go:181 +0x745 github.com/werf/werf/pkg/container_backend.(*BuildahBackend).BuildStapelStage(_, {_, _}, {_, _}, {{0xc000590920, 0xb}, {0xc00105c500, 0xa, 0x10}, ...}) /git/pkg/container_backend/buildah_backend.go:532 +0x5c5 github.com/werf/werf/pkg/container_backend/stage_builder.(*StapelStageBuilder).Build(0xc001b0b500, {0x49be408?, 0xc000ed1d40?}, {{0xc000590920?, 0x6975cc0?}, 0x38?, 0xe2?}) /git/pkg/container_backend/stage_builder/stapel_stage_builder.go:36 +0xe5 github.com/werf/werf/pkg/container_backend/stage_builder.(*StageBuilder).Build(0x30?, {0x49be408?, 0xc000ed1d40?}, {{0xc000590920?, 0x7f89b4192b98?}, 0x8?, 0x31?}) /git/pkg/container_backend/stage_builder/stage_builder.go:88 +0x6e github.com/werf/werf/pkg/build.(*BuildPhase).atomicBuildStageImage.func1() /git/pkg/build/build_phase.go:1095 +0x50 github.com/werf/logboek/internal/stream.(*StateAndModes).DoErrorWithTag(0xc0004a8dc0, {0xc0013872f0?, 0xc001ece478?}, {0xc003b0680e?, 0x2?, 0xc001ece288?}, 0xc001ece2f0?) /go/pkg/mod/github.com/werf/logboek@v0.5.5/internal/stream/state_and_modes.go:462 +0xcf github.com/werf/werf/pkg/build.(*BuildPhase).atomicBuildStageImage(0xc001a05180, {0x49be408?, 0xc000ed1d40}, 0xc001a5e300, {0x49e5e80, 0xc0008f61b0}) /git/pkg/build/build_phase.go:1092 +0x4b4 github.com/werf/werf/pkg/build.(*BuildPhase).buildStage.func3() /git/pkg/build/build_phase.go:1068 +0x138 github.com/werf/logboek/internal/stream.(*Stream).logProcess.func1() /go/pkg/mod/github.com/werf/logboek@v0.5.5/internal/stream/process.go:150 +0x1b github.com/werf/logboek/internal/stream.(*Stream).logProcess(0xc0004286c0, {0xc001d74360?, 0x38?}, 0xc000b66330, 0xc000ce43c0) /go/pkg/mod/github.com/werf/logboek@v0.5.5/internal/stream/process.go:157 +0x1cf github.com/werf/logboek/internal/stream.(*LogProcess).DoError(0xc000ce4380, 0xc000ce43c0) /go/pkg/mod/github.com/werf/logboek@v0.5.5/internal/stream/process_types.go:201 +0xa5 github.com/werf/werf/pkg/build.(*BuildPhase).buildStage(0xc001a05180, {0x49be408?, 0xc000ed1d40}, 0xc001a5e300, {0x49e5e80?, 0xc0008f61b0}) /git/pkg/build/build_phase.go:1063 +0x3ec github.com/werf/werf/pkg/build.(*BuildPhase).onImageStage(0xc001a05180, {0x49be408, 0xc000ed1d40}, 0xc001a5e300, {0x49e5e80?, 0xc0008f61b0?}) /git/pkg/build/build_phase.go:771 +0x788 github.com/werf/werf/pkg/build.(*BuildPhase).OnImageStage.func1(0xc001ed0e10?, {0x49e5e80, 0xc0008f61b0}, 0x20?) /git/pkg/build/build_phase.go:700 +0x6c github.com/werf/werf/pkg/build.(*StagesIterator).OnImageStage(0xc000b51500, {0x49be408, 0xc000ed1d40}, 0xc001a5e300, {0x49e5e80, 0xc0008f61b0}, 0xc001ecec90)
/git/pkg/build/stages_iterator.go:58 +0x2d0 github.com/werf/werf/pkg/build.(*BuildPhase).OnImageStage(0xc001ed0df8?, {0x49be408?, 0xc000ed1d40?}, 0xc00142f950?, {0x49e5e80?, 0xc0008f61b0?}) /git/pkg/build/build_phase.go:696 +0x66 github.com/werf/werf/pkg/build.(*Conveyor).doImage.func2() /git/pkg/build/conveyor.go:720 +0x9cb github.com/werf/logboek/internal/stream.(*Stream).logProcess.func1() /go/pkg/mod/github.com/werf/logboek@v0.5.5/internal/stream/process.go:150 +0x1b github.com/werf/logboek/internal/stream.(*Stream).logProcess(0xc0004286c0, {0xc000b75ae8?, 0x38?}, 0xc001b4ce70, 0xc000b513c0) /go/pkg/mod/github.com/werf/logboek@v0.5.5/internal/stream/process.go:157 +0x1cf github.com/werf/logboek/internal/stream.(*LogProcess).DoError(0xc000b51380, 0xc000b513c0) /go/pkg/mod/github.com/werf/logboek@v0.5.5/internal/stream/process_types.go:201 +0xa5 github.com/werf/werf/pkg/build.(*Conveyor).doImage(0x0?, {0x49be408?, 0xc000ed1d40}, 0xc001a5e300, {0xc001a69d70, 0x1, 0x1}) /git/pkg/build/conveyor.go:702 +0x198 github.com/werf/werf/pkg/build.(*Conveyor).doImages(0xc000d3b760, {0x49be408, 0xc000ed1d40}, {0xc001a69d70, 0x1, 0x1}, 0xc0?) /git/pkg/build/conveyor.go:605 +0xf2 github.com/werf/werf/pkg/build.(*Conveyor).runPhases(0xc000d3b760?, {0x49be408?, 0xc000ed1d40}, {0xc001a69d70, 0x1, 0x1}, 0x0?) /git/pkg/build/conveyor.go:580 +0x2ae github.com/werf/werf/pkg/build.(*Conveyor).Build(0xc000d3b760, {0x49be408, 0xc000ed1d40}, {{{0x0, 0x0}, 0x0, 0x0}, {{0x0, 0x0, 0x0}}, ...}) /git/pkg/build/conveyor.go:540 +0x273 github.com/werf/werf/cmd/werf/export.run.func2(0xc000d3b760) /git/cmd/werf/export/export.go:261 +0x1b4 github.com/werf/werf/pkg/build.(*ConveyorWithRetryWrapper).WithRetryBlock.func1() /git/pkg/build/conveyor_with_retry.go:60 +0x1d8 github.com/werf/werf/pkg/storage/manager.RetryOnUnexpectedStagesStorageState({0x0?, 0x0?}, {0x0?, 0x0?}, 0xc0019f9648) /git/pkg/storage/manager/storage_manager.go:110 +0x28 github.com/werf/werf/pkg/build.(*ConveyorWithRetryWrapper).WithRetryBlock(0x0?, {0x49be408?, 0xc000ed1d40?}, 0x0?) /git/pkg/build/conveyor_with_retry.go:45 +0x6b github.com/werf/werf/cmd/werf/export.run({0x49be408, 0xc000ed1d40}, {{0xc000dba960?, 0x1?, 0x49be408?}, 0x40?}, {0xc000d13b30, 0x1, 0x1}, 0xc0010f87e0) /git/cmd/werf/export/export.go:248 +0xe66 github.com/werf/werf/cmd/werf/export.NewExportCmd.func1(0xc000ace000, {0xc000dba960, 0x1, 0x3}) /git/cmd/werf/export/export.go:85 +0x236 main.setupTelemetryInit.func1(0xc000ace000?, {0xc000dba960, 0x1, 0x3}) /git/cmd/werf/main.go:297 +0xd2 github.com/spf13/cobra.(*Command).execute(0xc000ace000, {0xc000dba900, 0x3, 0x3}) /go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x862 github.com/spf13/cobra.(*Command).ExecuteC(0xc00112c600) /go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3bd github.com/spf13/cobra.(*Command).Execute(...) /go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992 main.main() /git/cmd/werf/main.go:84 +0x199
а из werf.yaml конфиг образа (и связанных с ним образов) покажите
Обсуждают сегодня