AppVeyor suddenly totally broken?

andrewarnott's Avatar

andrewarnott

09 Sep, 2018 02:02 PM

My AppVeyor builds started all breaking yesterday, even for git commits that it previously built successfully.

For example, this build. They're all failing with:

error NU3005: The package signature file entry is invalid. The central directory header field 'compression method' has an invalid value (8).

  1. Support Staff 1 Posted by Feodor Fitsner on 09 Sep, 2018 03:52 PM

    Feodor Fitsner's Avatar

    OK, that looks interesting. I've cloned your project locally, tried to restore and got the same error messages - see attached screenshot.

    What is interesting the number of "broken" packages is the same as in your build: 9 and it's the same in every broken build. Doesn't look like a transit problem but an issue on NuGet side (I suspect edge CDN servers).

    Will try to find out the names of those packages and file a new issue here: https://github.com/NuGet/NuGetGallery/issues

  2. Support Staff 2 Posted by Feodor Fitsner on 09 Sep, 2018 04:57 PM

    Feodor Fitsner's Avatar

    Well, this is the most minimal repro. Create test-nuget.csproj with the following contents:

    <Project Sdk="Microsoft.NET.Sdk">
    
      <PropertyGroup>
        <TargetFrameworks>netcoreapp1.0;netcoreapp2.0;netcoreapp2.1</TargetFrameworks>
        <RootNamespace>test_nuget</RootNamespace>
      </PropertyGroup>
    
    </Project>
    

    Run the following commands in PowerShell:

    remove-item $env:USERPROFILE\.nuget\packages -Force -Recurse
    msbuild test-nuget.csproj /nologo /t:restore /p:RestoreDisableParallel=true
    

    I'm disabling parallel processing to see problematic packages. What's interesting is that dotnet restore instead of msbuild worked OK.

    Also, removing any of the target frameworks makes msbuild restore working.

    Do you have any ideas what it might be?

  3. 3 Posted by andrewarnott on 10 Sep, 2018 11:18 PM

    andrewarnott's Avatar

    Great. Awesome minimal repro! I filed https://github.com/dotnet/sdk/issues/2523.
    I'm torn about exactly where to start the issue, but I started it on the dotnet SDK folks because they own the packages in question, and are closely associated with the nuget folks anyway.

  4. Support Staff 4 Posted by Feodor Fitsner on 10 Sep, 2018 11:44 PM

    Feodor Fitsner's Avatar

    Cool, thanks for filing it!

  5. Support Staff 5 Posted by Feodor Fitsner on 15 Sep, 2018 12:51 AM

    Feodor Fitsner's Avatar

    I'm closing this discussion as it's not AppVeyor issue.

  6. Feodor Fitsner closed this discussion on 15 Sep, 2018 12:51 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac