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

[CI][C#] Nightly packaging job for nuget fails due to test targetting .NET 7.0 #34661

Closed
raulcd opened this issue Mar 21, 2023 · 0 comments · Fixed by #34662
Closed

[CI][C#] Nightly packaging job for nuget fails due to test targetting .NET 7.0 #34661

raulcd opened this issue Mar 21, 2023 · 0 comments · Fixed by #34662

Comments

@raulcd
Copy link
Member

raulcd commented Mar 21, 2023

Describe the bug, including details regarding any error messages, version, and platform.

Our nightly packaging job for nuget fails because we are targetting .NET 7.0 on our tests and we still use a docker container with .NET 6.0 installed:

 + dotnet build
MSBuild version 17.3.2+561848881 for .NET
  Determining projects to restore...
/usr/share/dotnet/sdk/6.0.407/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(144,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 7.0.  Either target .NET 6.0 or lower, or use a version of the .NET SDK that supports .NET 7.0. [/arrow/csharp/test/Apache.Arrow.Benchmarks/Apache.Arrow.Benchmarks.csproj]
/usr/share/dotnet/sdk/6.0.407/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(144,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 7.0.  Either target .NET 6.0 or lower, or use a version of the .NET SDK that supports .NET 7.0. [/arrow/csharp/test/Apache.Arrow.Compression.Tests/Apache.Arrow.Compression.Tests.csproj]

Build FAILED.

/usr/share/dotnet/sdk/6.0.407/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(144,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 7.0.  Either target .NET 6.0 or lower, or use a version of the .NET SDK that supports .NET 7.0. [/arrow/csharp/test/Apache.Arrow.Benchmarks/Apache.Arrow.Benchmarks.csproj]
/usr/share/dotnet/sdk/6.0.407/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(144,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 7.0.  Either target .NET 6.0 or lower, or use a version of the .NET SDK that supports .NET 7.0. [/arrow/csharp/test/Apache.Arrow.Compression.Tests/Apache.Arrow.Compression.Tests.csproj]
    0 Warning(s)
    2 Error(s)

We should update our nuget job.
This is a follow up from: https://github.com/apache/arrow/pull/33799/files#diff-47c77ee6255c13988b64e18cbc1b6dec3dc3d497dad54ce6a66f8846b4b6acc9

Component(s)

C#, Continuous Integration

@raulcd raulcd self-assigned this Mar 21, 2023
raulcd added a commit to raulcd/arrow that referenced this issue Mar 21, 2023
kou pushed a commit that referenced this issue Mar 21, 2023
…34662)

### Rationale for this change
Nightly nuget jobs is failing since we updated our release verification to use .NET 7.0

### What changes are included in this PR?

Update docker image used to use .NET 7.0

### Are these changes tested?

Will trigger jobs via archery

### Are there any user-facing changes?

No
* Closes: #34661

Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
@kou kou added this to the 12.0.0 milestone Mar 21, 2023
rtpsw pushed a commit to rtpsw/arrow that referenced this issue Mar 27, 2023
… 7.0 (apache#34662)

### Rationale for this change
Nightly nuget jobs is failing since we updated our release verification to use .NET 7.0

### What changes are included in this PR?

Update docker image used to use .NET 7.0

### Are these changes tested?

Will trigger jobs via archery

### Are there any user-facing changes?

No
* Closes: apache#34661

Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
ArgusLi pushed a commit to Bit-Quill/arrow that referenced this issue May 15, 2023
… 7.0 (apache#34662)

### Rationale for this change
Nightly nuget jobs is failing since we updated our release verification to use .NET 7.0

### What changes are included in this PR?

Update docker image used to use .NET 7.0

### Are these changes tested?

Will trigger jobs via archery

### Are there any user-facing changes?

No
* Closes: apache#34661

Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants