Skip to content

ci-failure: radarr/dev unknown Go build context #768

Description

@chloeobot

CI failure: radarr/dev

Streak: 5 consecutive scheduled runs
Category: unknown
Run: https://github.com/elfhosted/containers/actions/runs/29359394710

Note: automation attempted to apply label ci-failure, but GitHub reported the label does not exist and the token could not create it.

Failure: ffprobe-shim Go build cannot resolve local internal packages after the Dockerfile copies only top-level *.go files.

Log excerpt

#22 [builder 6/7] COPY --from=cloner /source/*.go ./
#22 DONE 0.0s
#23 [builder 7/7] RUN echo "Cache Buster: 1" && CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o ffprobe
#23 0.061 Cache Buster: 1
#23 0.100 main.go:19:2: package ffprobe-shim/internal/probe is not in std (/usr/local/go/src/ffprobe-shim/internal/probe)
#23 0.100 main.go:20:2: package ffprobe-shim/internal/release is not in std (/usr/local/go/src/ffprobe-shim/internal/release)
#23 ERROR: process "/bin/sh -c echo \"Cache Buster: $CACHE_BUSTER\" && CGO_ENABLED=0 GOOS=linux go build -ldflags=\"-s -w\" -o ffprobe" did not complete successfully: exit code: 1

Suggested fix

  • Update containers-private/apps/radarr/dev/Dockerfile so the builder copies the full ffprobe-shim source tree before go build, not just /source/*.go.
  • Likely replace COPY --from=cloner /source/*.go ./ with COPY --from=cloner /source ./; keep COPY --from=cloner /source /upstream-source in the final stage if that disaster-recovery copy is still wanted.

Priority: high (blocking releases)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions