minio / mint

Collection of tests to detect overall correctness of MinIO server.
Apache License 2.0
78 stars 50 forks source link

Building mint image with minio-dotnet #271

Closed vadmeste closed 6 years ago

vadmeste commented 6 years ago

Building image log:

Step 39/48 : COPY build/minio-dotnet/ /mint/build/minio-dotnet/
 ---> bb2db26306d3
Step 40/48 : RUN /mint/build/minio-dotnet/install.sh
 ---> Running in ba7d307e6276
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  109k  100  109k    0     0   375k      0 --:--:-- --:--:-- --:--:--  376k
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2903  100  2903    0     0   3698      0 --:--:-- --:--:-- --:--:--  3698
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1495  100  1495    0     0   1040      0  0:00:01  0:00:01 --:--:--  1039
Welcome to .NET Core!
---------------------
Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs.
Telemetry
--------------
The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include command-line arguments. The data is collected by Microsoft and shared with the community.
You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell.
You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry.
Configuring...
-------------------
A command is running to initially populate your local package cache, to improve restore speed and enable offline access. This command will take up to a minute to complete and will only happen once.
Decompressing 2%Decompressing 8%Decompressing 11%Decompressing 14%Decompressing 18%Decompressing 22%Decompressing 27%Decompressing 32%Decompressing 38%Decompressing 42%Decompressing 57%Decompressing 76%Decompressing 90%Decompressing 100% 6511 ms
Expanding 4%Expanding 5%Expanding 7%Expanding 8%Expanding 11%Expanding 17%Expanding 22%Expanding 25%Expanding 30%Expanding 31%Expanding 32%Expanding 37%Expanding 40%Expanding 42%Expanding 47%Expanding 48%Expanding 52%Expanding 56%Expanding 61%Expanding 66%Expanding 68%Expanding 74%Expanding 78%Expanding 80%Expanding 81%Expanding 82%Expanding 84%Expanding 87%Expanding 92%Expanding 94%Expanding 96%Expanding 98%Expanding 100% 17671 ms
  Restoring packages for /mint/run/core/minio-dotnet/Minio.Functional.Tests.csproj...
  Installing System.Globalization 4.3.0-preview1-24530-04.
  Installing Microsoft.NETCore.Targets 1.1.0-preview1-24530-04.
  Installing Microsoft.NETCore.Platforms 1.1.0-preview1-24530-04.
  Installing System.Runtime 4.3.0-preview1-24530-04.
  Installing System.Resources.ResourceManager 4.3.0-preview1-24530-04.
  Installing System.Collections 4.3.0-preview1-24530-04.
  Installing System.Xml.XmlSerializer 4.3.0.
  Installing System.Runtime.Serialization.Formatters 4.3.0-preview1-24530-04.
  Installing System.Xml.XmlSerializer 4.0.11.
  Installing System.Private.DataContractSerialization 4.3.0.
  Installing System.Diagnostics.TraceSource 4.0.0.
  Installing Microsoft.Build.Framework 15.1.548.
  Installing System.Runtime.InteropServices.WindowsRuntime 4.3.0.
  Installing RestSharp.NetCore 105.2.3.
  Installing System.Runtime.Serialization.Xml 4.3.0.
  Installing Microsoft.Build.Utilities.Core 15.1.548.
  Installing MSTest.TestFramework 1.1.11.
  Installing Newtonsoft.Json 10.0.2.
  Installing System.Reactive.Linq 4.0.0-preview00001.
  Installing Minio.NetCore 1.0.7.
  Installing System.Xml.XmlDocument 4.3.0.
  Installing System.Runtime.Serialization.Formatters 4.3.0.
  Installing System.Reactive 4.0.0-preview00001.
  Installing runtime.win7-x64.Microsoft.NETCore.DotNetHost 1.1.0.
  Installing runtime.win7.System.Private.Uri 4.3.0.
  Installing runtime.win7-x64.runtime.native.System.IO.Compression 4.3.0.
  Installing runtime.win7-x64.Microsoft.NETCore.Jit 1.1.2.
  Installing runtime.win7-x64.Microsoft.NETCore.DotNetHostResolver 1.1.0.
  Installing runtime.win.System.Net.Sockets 4.3.0.
  Installing runtime.win.System.IO.FileSystem 4.3.0.
  Installing runtime.win.System.Console 4.3.0.
  Installing runtime.unix.System.Net.Primitives 4.3.0.
  Installing runtime.any.System.Runtime.Handles 4.3.0.
  Installing runtime.any.System.Runtime 4.3.0.
  Installing runtime.win.System.Diagnostics.Debug 4.3.0.
  Installing runtime.win.Microsoft.Win32.Primitives 4.3.0.
  Installing runtime.ubuntu.14.04-x64.Microsoft.NETCore.Runtime.CoreCLR 1.1.2.
  Installing runtime.unix.Microsoft.Win32.Primitives 4.3.0.
  Installing runtime.any.System.Collections 4.3.0.
  Installing runtime.ubuntu.14.04-x64.runtime.native.System 4.3.0.
  Installing runtime.any.System.Diagnostics.Tracing 4.3.0.
  Installing runtime.ubuntu.14.04-x64.Microsoft.NETCore.DotNetHostPolicy 1.1.2.
  Installing runtime.any.System.Globalization 4.3.0.
  Installing runtime.any.System.Runtime.InteropServices 4.3.0.
  Installing runtime.unix.System.Runtime.Extensions 4.3.0.
  Installing System.Private.Uri 4.3.0.
  Installing runtime.any.System.Reflection 4.3.0.
  Installing runtime.any.System.Text.Encoding 4.3.0.
  Installing runtime.any.System.IO 4.3.0.
  Installing runtime.win.System.Runtime.Extensions 4.3.0.
  Installing runtime.win7-x64.Microsoft.NETCore.Runtime.CoreCLR 1.1.2.
  Installing runtime.win7-x64.Microsoft.NETCore.DotNetHostPolicy 1.1.2.
  Installing runtime.win.System.Net.Primitives 4.3.0.
  Installing runtime.any.System.Resources.ResourceManager 4.3.0.
  Installing runtime.ubuntu.16.04-x64.Microsoft.NETCore.DotNetHost 1.1.0.
  Installing runtime.any.System.Threading.Tasks 4.3.0.
  Installing runtime.any.System.Threading.Timer 4.3.0.
  Installing runtime.unix.System.Console 4.3.0.
  Installing runtime.ubuntu.16.04-x64.runtime.native.System.IO.Compression 4.3.0.
  Installing runtime.unix.System.Diagnostics.Debug 4.3.0.
  Installing runtime.ubuntu.16.04-x64.Microsoft.NETCore.Jit 1.1.2.
  Installing runtime.unix.System.IO.FileSystem 4.3.0.
  Installing runtime.any.System.Text.Encoding.Extensions 4.3.0.
  Installing runtime.any.System.Reflection.Primitives 4.3.0.
  Installing runtime.any.System.Diagnostics.Tools 4.3.0.
  Installing runtime.any.System.Reflection.Extensions 4.3.0.
  Installing runtime.any.System.Globalization.Calendars 4.3.0.
  Installing runtime.unix.System.Net.Sockets 4.3.0.
  Installing runtime.ubuntu.14.04-x64.Microsoft.NETCore.DotNetHostResolver 1.1.0.
  Installing runtime.ubuntu.14.04-x64.runtime.native.System.Net.Http 4.3.0.
  Installing runtime.ubuntu.14.04-x64.runtime.native.System.Net.Security 4.3.0.
  Installing runtime.ubuntu.14.04-x64.Microsoft.NETCore.Jit 1.1.2.
  Installing runtime.ubuntu.14.04-x64.runtime.native.System.IO.Compression 4.3.0.
  Installing runtime.unix.System.Private.Uri 4.3.0.
  Installing runtime.ubuntu.16.04-x64.Microsoft.NETCore.DotNetHostPolicy 1.1.2.
  Installing runtime.ubuntu.16.04-x64.Microsoft.NETCore.Runtime.CoreCLR 1.1.2.
  Installing runtime.ubuntu.16.04-x64.runtime.native.System 4.3.0.
  Installing runtime.ubuntu.16.04-x64.Microsoft.NETCore.DotNetHostResolver 1.1.0.
  Installing runtime.ubuntu.16.04-x64.runtime.native.System.Net.Http 4.3.0.
  Installing runtime.ubuntu.16.04-x64.runtime.native.System.Net.Security 4.3.0.
  Installing runtime.ubuntu.14.04-x64.Microsoft.NETCore.DotNetHost 1.1.0.
  Generating MSBuild file /mint/run/core/minio-dotnet/obj/Minio.Functional.Tests.csproj.nuget.g.props.
  Generating MSBuild file /mint/run/core/minio-dotnet/obj/Minio.Functional.Tests.csproj.nuget.g.targets.
  Writing lock file to disk. Path: /mint/run/core/minio-dotnet/obj/project.assets.json
  Restore completed in 9.82 sec for /mint/run/core/minio-dotnet/Minio.Functional.Tests.csproj.

  NuGet Config files used:
      /root/.nuget/NuGet/NuGet.Config

  Feeds used:
      https://api.nuget.org/v3/index.json

  Installed:
      81 package(s) to /mint/run/core/minio-dotnet/Minio.Functional.Tests.csproj
Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.
FunctionalTest.cs(1598,35): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/mint/run/core/minio-dotnet/Minio.Functional.Tests.csproj]
FunctionalTest.cs(1960,33): error CS0029: Cannot implicitly convert type 'Minio.DataModel.PolicyType' to 'string' [/mint/run/core/minio-dotnet/Minio.Functional.Tests.csproj]
FunctionalTest.cs(2199,29): error CS7036: There is no argument given that corresponds to the required formal parameter 'policyType' of 'MinioClient.SetPolicyAsync(string, string, PolicyType, CancellationToken)' [/mint/run/core/minio-dotnet/Minio.Functional.Tests.csproj]
FunctionalTest.cs(2230,29): error CS7036: There is no argument given that corresponds to the required formal parameter 'policyType' of 'MinioClient.SetPolicyAsync(string, string, PolicyType, CancellationToken)' [/mint/run/core/minio-dotnet/Minio.Functional.Tests.csproj]
FunctionalTest.cs(2232,33): error CS0029: Cannot implicitly convert type 'Minio.DataModel.PolicyType' to 'string' [/mint/run/core/minio-dotnet/Minio.Functional.Tests.csproj]
FunctionalTest.cs(63,31): warning CS0414: The field 'FunctionalTest.setBucketNotificationSignature' is assigned but its value is never used [/mint/run/core/minio-dotnet/Minio.Functional.Tests.csproj]
FunctionalTest.cs(64,31): warning CS0414: The field 'FunctionalTest.removeAllBucketsNotificationSignature' is assigned but its value is never used [/mint/run/core/minio-dotnet/Minio.Functional.Tests.csproj]
FunctionalTest.cs(62,31): warning CS0414: The field 'FunctionalTest.getBucketNotificationSignature' is assigned but its value is never used [/mint/run/core/minio-dotnet/Minio.Functional.Tests.csproj]
The command '/bin/sh -c /mint/build/minio-dotnet/install.sh' returned a non-zero code: 1
The command "docker build -f Dockerfile.dev -t play.minio.io/mint:travis-$TRAVIS_PULL_REQUEST_SHA ." exited with 1.

It looks like something related to the recent policy API change

vadmeste commented 6 years ago

I can take this actually if @poornas did not start on it yet since it is blocking two issues that are assigned to me.

poornas commented 6 years ago

@vadmeste , issue was due to older version of .net sdk being used by Mint. dotnet sdk version 1.1.1 was just released which should fix this issue.

vadmeste commented 6 years ago

The issue is fixed now after releasing new minio-dotnet version, closing this.