From: smile21prc Date: Wed, 29 Mar 2017 18:52:25 +0000 (-0700) Subject: Re-enable multi-queue for coreclr (dotnet/coreclr#10541) X-Git-Tag: submit/tizen/20210909.063632~11030^2~7508 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cce1f25eb752731a3aadbea248f45f8118567305;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Re-enable multi-queue for coreclr (dotnet/coreclr#10541) * Add multiqueue Support for coreclr. Add multiqueue Support for coreclr. * Upload build results to ONE linux container Upload build results to ONE linux container * Fix helixpublish.proj Fix helixpublish.proj * Adding more logs. Adding more logs. * Revert logging changes. Revert logging changes. * Use build version containing support of "+" delimiter Use build version containing support of "+" delimiter * Fix indention. Fix indention. * Update to use latest tools. Update to use latest tools. * Use an older tool as latest has a wired error on "Run build.sh" step. Error details: 2017-03-28T23:30:13.2659430Z Running: /root/coreclr/Tools/dotnetcli/dotnet /root/coreclr/Tools/run.exe /root/coreclr/config.json build -Project=/root/coreclr/build.proj -MsBuildLog=/flp:Verbosity=normal;LogFile=/root/coreclr/bin/Logs/System.Private.CoreLib_Checked.log -BuildTarget -__IntermediatesDir=/root/coreclr/bin/obj/Linux.x64.Checked -__RootBinDir=/root/coreclr/bin -BuildNugetPackage=false -UseSharedCompilation=false -BuildArch=x64 -BuildType=Checked -BuildOS=Linux -OptimizationDataDir="/root/coreclr/packages/optimization.Linux-x64.IBC.CoreCLR//data/" -EnableProfileGuidedOptimization=true -skiprestore -OfficialBuildId=20170329-01 -- /p:ConfigurationGroup=Release /flp:v=diag 2017-03-28T23:30:13.6855470Z Running: /root/coreclr/Tools/msbuild.sh /nologo /verbosity:minimal /clp:Summary /maxcpucount /l:BinClashLogger,Tools/net46/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log /p:RestoreDuringBuild=false /root/coreclr/build.proj /p:__BuildType=Checked /p:__BuildArch=x64 /p:__BuildOS=Linux /p:__RootBinDir=/root/coreclr/bin /p:__IntermediatesDir=/root/coreclr/bin/obj/Linux.x64.Checked /p:OfficialBuildId=20170329-01 /p:EnableProfileGuidedOptimization=true /p:OptimizationDataDir="/root/coreclr/packages/optimization.Linux-x64.IBC.CoreCLR//data/" /flp:Verbosity=normal;LogFile=/root/coreclr/bin/Logs/System.Private.CoreLib_Checked.log /p:BuildNugetPackage=false /t:Build /p:UseSharedCompilation=false /p:ConfigurationGroup=Release /flp:v=diag 2017-03-28T23:30:15.5843800Z /root/coreclr/Tools/Microsoft.CSharp.CurrentVersion.targets(321,5): error MSB4019: The imported project "/root/coreclr/Tools/Microsoft.Net.Compilers/2.0.0-rc/tools/Microsoft.CSharp.Core.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. [/root/coreclr/src/ToolBox/SOS/NETCore/SOS.NETCore.csproj] 2017-03-28T23:30:16.6459770Z /root/coreclr/Tools/Microsoft.CSharp.CurrentVersion.targets(321,5): error MSB4019: The imported project "/root/coreclr/Tools/Microsoft.Net.Compilers/2.0.0-rc/tools/Microsoft.CSharp.Core.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. [/root/coreclr/src/mscorlib/System.Private.CoreLib.csproj] * New builds have errors, revert to use older builds. New builds have errors, revert to use older builds. Commit migrated from https://github.com/dotnet/coreclr/commit/def03cc858e599b45c165fa592a3e5b0de272e22 --- diff --git a/src/coreclr/publish-packages.sh b/src/coreclr/publish-packages.sh index d5d4caa..0827a65 100755 --- a/src/coreclr/publish-packages.sh +++ b/src/coreclr/publish-packages.sh @@ -10,6 +10,8 @@ usage() echo " -BuildArch=\"Architecture\"" echo "To specify the name of the container to publish into, use the following property:" echo " -Container=\"container name\"" + echo "To specify the OS you're building for, use the following property:" + echo " -DistroRiD=\"RID\"" echo "Configuration can be Release, Checked, or Debug" echo "Architecture can be x64, x86, arm, or arm64" exit 1 @@ -18,7 +20,7 @@ usage() working_tree_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" $working_tree_root/run.sh publish-packages -BuildOS $* -$working_tree_root/run.sh publish-packages -BuildOS -distroRid -PublishTestNativeBins $* +$working_tree_root/run.sh publish-packages -BuildOS -PublishTestNativeBins $* if [ $? -ne 0 ] then echo "ERROR: An error occurred while publishing packages; see $working_tree_root/publish-packages.log for more details. There may have been networking problems, so please try again in a few minutes." diff --git a/src/coreclr/tests/helixpublish.proj b/src/coreclr/tests/helixpublish.proj index 699e220..fd9713e 100644 --- a/src/coreclr/tests/helixpublish.proj +++ b/src/coreclr/tests/helixpublish.proj @@ -1,73 +1,97 @@ - - + + + + - <__BuildType>$(ConfigurationGroup) + + DefaultEndpointsProtocol=https;AccountName=$(CloudDropAccountName);AccountKey=$(CloudDropAccessToken);EndpointSuffix=core.windows.net + DefaultEndpointsProtocol=https;AccountName=$(CloudResultsAccountName);AccountKey=$(CloudResultsAccessToken);EndpointSuffix=core.windows.net + + + $(TestWorkingDir)/archive/ + $(ArchivesRoot)tests + + $(TestRunnerScript) + $(TestWorkingDir)SupplementalPayload/ + + + + 1000 + + + true + $([System.DateTime]::Now.ToString(yyyyMMdd.mmss)) + + test/functional/cli/ + + official/$(TestProduct)/$(Branch)/ + pr/$(TestProduct)/$(Branch)/ + pr/unknown/ + + + $(ArchivesRoot) + + + $(CurrentDate) + $(OfficialBuildId) + $(Platform) + $(BuildType) - - - - - - - - - - - - - - - true - Tests.$(ConfigurationGroup).json - $(TestWorkingDir)$(PayloadTestListFilename) + + + + %HELIX_PYTHONPATH% + %HELIX_CORRELATION_PAYLOAD%\RunnerScripts\scriptrunner\scriptrunner.py - + + $HELIX_PYTHONPATH + $HELIX_CORRELATION_PAYLOAD/RunnerScripts/scriptrunner/scriptrunner.py + + + + + - - $(Platform)$(ConfigurationGroup)/Packages.zip - - + + - - - @(CorrelationPayloadUri) - - $(DropUri)$(Platform)$(ConfigurationGroup)/Tests/$([System.String]::Copy('%(RecursiveDir)').Replace('\', '/'))%(CoreRootUri.Filename)%(CoreRootUri.Extension)$(DropUriReadOnlyToken) - $(CorrelationPayloadUris);$(CoreRootUris) - + + - - + + + $(Platform)$(ConfigurationGroup)/%(Identity) + + $(HelixPythonPath) $(RunnerScript) --script %HELIX_WORKITEM_PAYLOAD%\runtests.cmd chmod +x $HELIX_WORKITEM_PAYLOAD/runtests.sh && $(HelixPythonPath) $(RunnerScript) --script $HELIX_WORKITEM_PAYLOAD/runtests.sh - [$(CorrelationPayloadProperty)] - $(DropUri)$(Platform)$(ConfigurationGroup)/Tests/$([System.String]::Copy('%(RecursiveDir)').Replace('\', '/'))%(Filename)%(Extension)$(DropUriReadOnlyToken) + %(Identity) %(Filename) $(TimeoutInSeconds) - - - - - - - $(PayloadTestListFilename) - - - - - - $(TestWorkingDir)$(OSPlatformConfig)/FuncBuildComplete.json - $(TestWorkingDir)$(OSPlatformConfig)/FuncOfficialBuild.json - $(TestWorkingDir)$(OSPlatformConfig)/helixjobuploadcomplete.sem - + $(Platform)-$(ConfigurationGroup)/Tests/$([System.String]::Copy('%(RecursiveDir)').Replace('\', '/'))%(Filename)%(Extension) + - + + + + + + + + + \ No newline at end of file diff --git a/src/coreclr/tests/src/Common/build_against_pkg_dependencies/project.json b/src/coreclr/tests/src/Common/build_against_pkg_dependencies/project.json index 9e5e124..8b5e819 100644 --- a/src/coreclr/tests/src/Common/build_against_pkg_dependencies/project.json +++ b/src/coreclr/tests/src/Common/build_against_pkg_dependencies/project.json @@ -26,6 +26,7 @@ "rhel.7-x64": {}, "debian.8-x64": {}, "fedora.23-x64": {}, - "opensuse.42.1-x64": {} + "opensuse.42.1-x64": {}, + "linux-x64": {} } } diff --git a/src/coreclr/tests/src/Common/test_dependencies/project.json b/src/coreclr/tests/src/Common/test_dependencies/project.json index ca2915e..2b7c9ea 100644 --- a/src/coreclr/tests/src/Common/test_dependencies/project.json +++ b/src/coreclr/tests/src/Common/test_dependencies/project.json @@ -24,6 +24,7 @@ "centos.7-x64": {}, "rhel.7-x64": {}, "debian.8-x64": {}, - "fedora.23-x64": {} + "fedora.23-x64": {}, + "linux-x64": {} } }