Skip to content

integration/daemon: TestLiveRestore remove quote from test-name#52310

Merged
AkihiroSuda merged 1 commit intomoby:masterfrom
thaJeztah:rename_test
Apr 5, 2026
Merged

integration/daemon: TestLiveRestore remove quote from test-name#52310
AkihiroSuda merged 1 commit intomoby:masterfrom
thaJeztah:rename_test

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah commented Apr 5, 2026

Names of tests are used as storage location for test-results, and using a quote in the test-name resulted in CI failing to collect the results. Commit 07a5e92 updated a grammar issue in a sub-test, introducing a quote;

-	t.Run("engine restart shouldnt kill alive containers", func(t *testing.T) {
+	t.Run("engine restart shouldn't kill alive containers", func(t *testing.T) {

Which caused CI to fail when collecting the files:

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
[...]
xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option

We should make collecting reports less brittle, and probably consider having some extra handling for the storage locations, but let's start with changing this test name.

- What I did

- How I did it

- How to verify it

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

Names of tests are used as storage location for test-results, and using
a quote in the test-name resulted in CI failing to collect the results.
Commit 07a5e92 updated a grammar issue
in a sub-test, introducing a quote;

```patch
-	t.Run("engine restart shouldnt kill alive containers", func(t *testing.T) {
+	t.Run("engine restart shouldn't kill alive containers", func(t *testing.T) {
```

Which caused CI to fail when collecting the files:

    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
    [...]
    xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option

We should make collecting reports less brittle, and probably consider
having some extra handling for the storage locations, but let's start
with changing this test name.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@AkihiroSuda AkihiroSuda merged commit bd36cc8 into moby:master Apr 5, 2026
300 of 303 checks passed
@thaJeztah thaJeztah deleted the rename_test branch April 5, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants