mirror of
https://github.com/containers/skopeo.git
synced 2025-08-09 02:17:39 +00:00
integration tests: disable ls
for logs
For yet unknown reasons, Travis throws permission errors when trying to recursively list the contents of a temp directory. It passes locally, so disable the logs to unblock CI. Note, the reasons for the error are yet to be revealed. Related-issue: https://github.com/containers/skopeo/issues/1093 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
parent
cd884fa529
commit
65c5b0bf8d
@ -1114,10 +1114,12 @@ func (s *CopySuite) TestCopyVerifyingMirroredSignatures(c *check.C) {
|
|||||||
// Create a signature for mirroring-primary:primary-signed without pushing there. This should be easier than using standalone-sign.
|
// Create a signature for mirroring-primary:primary-signed without pushing there. This should be easier than using standalone-sign.
|
||||||
signingDir := filepath.Join(topDir, "signing-temp")
|
signingDir := filepath.Join(topDir, "signing-temp")
|
||||||
assertSkopeoSucceeds(c, "", "copy", "--src-tls-verify=false", regPrefix+"primary:unsigned", "dir:"+signingDir)
|
assertSkopeoSucceeds(c, "", "copy", "--src-tls-verify=false", regPrefix+"primary:unsigned", "dir:"+signingDir)
|
||||||
c.Logf("%s", combinedOutputOfCommand(c, "ls", "-laR", signingDir))
|
// Unknown error in Travis: https://github.com/containers/skopeo/issues/1093
|
||||||
|
// c.Logf("%s", combinedOutputOfCommand(c, "ls", "-laR", signingDir))
|
||||||
assertSkopeoSucceeds(c, "^$", "standalone-sign", "-o", filepath.Join(signingDir, "signature-1"),
|
assertSkopeoSucceeds(c, "^$", "standalone-sign", "-o", filepath.Join(signingDir, "signature-1"),
|
||||||
filepath.Join(signingDir, "manifest.json"), "localhost:5006/myns/mirroring-primary:primary-signed", "personal@example.com")
|
filepath.Join(signingDir, "manifest.json"), "localhost:5006/myns/mirroring-primary:primary-signed", "personal@example.com")
|
||||||
c.Logf("%s", combinedOutputOfCommand(c, "ls", "-laR", signingDir))
|
// Unknown error in Travis: https://github.com/containers/skopeo/issues/1093
|
||||||
|
// c.Logf("%s", combinedOutputOfCommand(c, "ls", "-laR", signingDir))
|
||||||
assertSkopeoSucceeds(c, "", "--registries.d", registriesDir, "copy", "--dest-tls-verify=false", "dir:"+signingDir, regPrefix+"mirror:primary-signed")
|
assertSkopeoSucceeds(c, "", "--registries.d", registriesDir, "copy", "--dest-tls-verify=false", "dir:"+signingDir, regPrefix+"mirror:primary-signed")
|
||||||
// Verify that a correctly signed image for the primary is accessible using the primary's reference
|
// Verify that a correctly signed image for the primary is accessible using the primary's reference
|
||||||
assertSkopeoSucceeds(c, "", "--policy", policy, "--registries.d", registriesDir, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", regPrefix+"primary:primary-signed", dirDest)
|
assertSkopeoSucceeds(c, "", "--policy", policy, "--registries.d", registriesDir, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", regPrefix+"primary:primary-signed", dirDest)
|
||||||
|
Loading…
Reference in New Issue
Block a user