Skip to content

CI began to fail on 2026-04-03: xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option #52300

@AkihiroSuda

Description

@AkihiroSuda

"Prepare reports" step began to fail on 2026-04-03
https://github.com/moby/moby/actions/runs/23943140758/job/69833851243

find: ‘bundles/test-integration/TestInspectGraphDriverAPIBC/v1.51/containerd/d6bc175e4a6c2/root’: Permission denied
find: ‘bundles/test-integration/TestInspectGraphDriverAPIBC/vCurrent/graphdriver/dd9fc09e8b137/root’: Permission denied
find: ‘bundles/test-integration/TestInspectGraphDriverAPIBC/vCurrent/containerd/df3728c6d8381/root’: Permission denied
find: ‘bundles/test-integration/TestSecretCreateResolve/df7a41973ce2d/root’: Permission denied
find: ‘bundles/test-integration/TestRestartUserlandProxyUnder2MSL/d6d5230a763ad/root’: Permission denied
find: ‘bundles/test-integration/TestServiceWithPredefinedNetwork/de313d0ffd62f/root’: Permission denied
[...]
xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option

(Looks like the "Permission denied" errors are not new, and have been just ignored)


name: Prepare reports
if: always()
run: |
docker stop otelcol
mkdir -p bundles /tmp/reports
find bundles -path '*/root/*overlay2' -prune -o -type f \( -name '*-report.json' -o -name '*.log' -o -name '*.out' -o -name '*.prof' -o -name '*-report.xml' \) -print | xargs sudo tar -czf /tmp/reports.tar.gz
tar -xzf /tmp/reports.tar.gz -C /tmp/reports
sudo chown -R $(id -u):$(id -g) /tmp/reports
tree -nh /tmp/reports

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cikind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions