Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The unzip unified artifacts task fails to open the zip archive with 7-zip #2378

Open
3 tasks
carlossanlop opened this issue Mar 26, 2024 · 2 comments
Open
3 tasks

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Mar 26, 2024

Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=618300

Build leg reported

Build / Installer Build and Test windows_x86 Debug / Unzip unified artifacts

Pull Request

dotnet/runtime#100001

Known issue core information

Fill out the known issue JSON section by following the step by step documentation on how to create a known issue

 {
    "ErrorMessage" : "Can not open the file as archive",
    "BuildRetry": false,
    "ErrorPattern": "",
    "ExcludeConsoleLog": false
 }

@dotnet/dnceng

Release Note Category

  • Feature changes/additions
  • Bug fixes
  • Internal Infrastructure Improvements

Release Note Description

Additional information about the issue reported

Output:

❌Extraction failed for file: D:\a\_work\1\s\__download__\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release.zip code: 2 stdout: 7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
Scanning the drive for archives:
1 file, 0 bytes

Extracting archive: D:\a\_work\1\s\__download__\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release.zip

Can't open as archive: 1
Files: 0
Size: 0
Compressed: 0

stderr: ERROR: D:\a\_work\1\s\__download__\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release.zip
Can not open the file as archive

error: undefined;

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=618300
Error message validated: [Can not open the file as archive]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 3/26/2024 11:00:34 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@jeffhandley
Copy link
Member

The eng/pipelines/runtime.yml pipeline uses the eng/pipelines/installer/jobs/build-job.yml template, which uses the eng/pipelines/common/download-artifact-step.yml step. This results in running the ExtractFiles@1 task with the following inputs:

  • archiveFilePatterns: D:\a\_work\1\s\__download__\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release\**\CoreCLR_Libraries_BuildArtifacts_windows_x86_Release.zip
  • destinationFolder: D:\a\_work\1\s\artifacts\bin
  • cleanDestinationFolder: true

@carlossanlop
Copy link
Member Author

The bot linked in the above table a second build that hit this: dotnet/runtime#100263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants