From 2db0fe7207b5e22dc0043434dcb60af438086fb6 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Thu, 16 Jun 2022 11:31:46 -0700 Subject: [PATCH] Disable RPM SBOM test. (#17532) --- tools/packaging/releaseTests/sbom.tests.ps1 | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/tools/packaging/releaseTests/sbom.tests.ps1 b/tools/packaging/releaseTests/sbom.tests.ps1 index 7c0c73ed17..fa108f1cea 100644 --- a/tools/packaging/releaseTests/sbom.tests.ps1 +++ b/tools/packaging/releaseTests/sbom.tests.ps1 @@ -43,18 +43,7 @@ Describe "Verify SBOMs" { $manifestPath = Join-Path $extractedPath -ChildPath '/_manifest/spdx_2.2/manifest.spdx.json' } '.rpm' { - Push-Location $resolvedPath - try { - if (Get-Command -Name rpm2cpio -ErrorAction SilentlyContinue) { - rpm2cpio $case.FilePath | cpio -i --make-directories 2>cpio.log - $extractedPath = Get-ChildItem -Path system.management.automation.dll -Recurse | Select-Object -First 1 -ExpandProperty DirectoryName - $manifestPath = Join-Path $extractedPath -ChildPath '/_manifest/spdx_2.2/manifest.spdx.json' - } else { - $skip = "rpm2cpio not found" - } - } finally { - Pop-Location - } + $skip = "rpm test is not stable" } Default { throw "Unkown extension $($case.Extension)"