runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Building FunctionalTests of System.Data.SqlClient (dotnet/corefx/master) failed in Unix

Open geleems opened this issue 9 years ago • 10 comments

Building FunctionalTests of System.Data.SqlClient (dotnet/corefx/master) failed in Unix (Ubunbtu 14.04.5LTS x64) with following error messages:

CSC : error CS0006: Metadata file '/home/REDMOND/gelee/Projects/DotNetCoreFx/bin/runtime/netcoreapp-Unix-Debug-x64/xunit.core.dll' could not be found [/home/REDMOND/gelee/Projects/DotNetCoreFx/src/System.Data.SqlClient/tests/Tools/TDS/TDS/TDS.csproj]
CSC : error CS0006: Metadata file '/home/REDMOND/gelee/Projects/DotNetCoreFx/bin/runtime/netcoreapp-Unix-Debug-x64/Xunit.NetCore.Extensions.dll' could not be found [/home/REDMOND/gelee/Projects/DotNetCoreFx/src/System.Data.SqlClient/tests/Tools/TDS/TDS/TDS.csproj]
CSC : error CS0006: Metadata file '/home/REDMOND/gelee/Projects/DotNetCoreFx/bin/runtime/netcoreapp-Unix-Debug-x64/xunit.assert.dll' could not be found [/home/REDMOND/gelee/Projects/DotNetCoreFx/src/System.Data.SqlClient/tests/Tools/TDS/TDS/TDS.csproj]
CSC : error CS0006: Metadata file '/home/REDMOND/gelee/Projects/DotNetCoreFx/bin/runtime/netcoreapp-Unix-Debug-x64/xunit.abstractions.dll' could not be found [/home/REDMOND/gelee/Projects/DotNetCoreFx/src/System.Data.SqlClient/tests/Tools/TDS/TDS/TDS.csproj]
CSC : error CS0006: Metadata file '/home/REDMOND/gelee/Projects/DotNetCoreFx/bin/runtime/netcoreapp-Unix-Debug-x64/xunit.performance.core.dll' could not be found [/home/REDMOND/gelee/Projects/DotNetCoreFx/src/System.Data.SqlClient/tests/Tools/TDS/TDS/TDS.csproj]
CSC : error CS0006: Metadata file '/home/REDMOND/gelee/Projects/DotNetCoreFx/bin/runtime/netcoreapp-Unix-Debug-x64/xunit.execution.dotnet.dll' could not be found [/home/REDMOND/gelee/Projects/DotNetCoreFx/src/System.Data.SqlClient/tests/Tools/TDS/TDS/TDS.csproj]
CSC : error CS0006: Metadata file '/home/REDMOND/gelee/Projects/DotNetCoreFx/bin/runtime/netcoreapp-Unix-Debug-x64/Newtonsoft.Json.dll' could not be found [/home/REDMOND/gelee/Projects/DotNetCoreFx/src/System.Data.SqlClient/tests/Tools/TDS/TDS/TDS.csproj]

Here is what I did before reaching this error messages.

  • I cloned dotnet/corefx repository to Ubunbtu 14.04.5LTS x64
    • $ git clone https://github.com/dotnet/corefx.git DotNetCoreFx
  • I ran build.sh script
    • DotNetCoreFx $ ./build.sh
  • I ran build-tests.sh script
    • DotNetCoreFx $ ./build-tests.sh
  • I ran build command to build FunctionalTests of System.Data.SqlClient
    • FunctionalTests $ /DotNetCoreFx/Tools/msbuild.sh /t:BuildAndTest /p:OSGroup=Unix

geleems avatar Feb 02 '17 23:02 geleems

cc: @saurabh500 @corivera @YoungGah @tvrprasad

geleems avatar Feb 02 '17 23:02 geleems

@karelz this is not a System.Data issue. @geleems from my team opened this issue because he is having trouble running tests on Linux. @geleems isn't build-tests.sh from the root of the clone failing too ?

saurabh500 avatar Feb 03 '17 01:02 saurabh500

I see, let's ask infra folks for guidance: @mellinoe @weshaggard

karelz avatar Feb 03 '17 01:02 karelz

BTW: @saurabh500 feel free to adjust labels as you see fit in future ;-)

karelz avatar Feb 03 '17 01:02 karelz

@saurabh500 @karelz It fails build-tests.sh from the root of the fresh clone of dotnet/corefx in Ububtu This is the failure message.

/home/REDMOND/gelee/Projects/DotNetCoreFx/Tools/tests.targets(210,5): warning :    System.Net.WebProxy.Tests  Total: 25, Errors: 0, Failed: 1, Skipped: 0, Time: 0.863s [/home/REDMOND/gelee/Projects/DotNetCoreFx/src/System.Net.WebProxy/tests/System.Net.WebProxy.Tests.csproj]
/home/REDMOND/gelee/Projects/DotNetCoreFx/Tools/tests.targets(210,5): warning MSB3073: The command "/home/REDMOND/gelee/Projects/DotNetCoreFx/bin/AnyOS.AnyCPU.Debug/System.Net.WebProxy.Tests/netstandard/RunTests.sh /home/REDMOND/gelee/Projects/DotNetCoreFx/Tools/testdotnetcli" exited with code 1. [/home/REDMOND/gelee/Projects/DotNetCoreFx/src/System.Net.WebProxy/tests/System.Net.WebProxy.Tests.csproj]
/home/REDMOND/gelee/Projects/DotNetCoreFx/Tools/tests.targets(218,5): error : One or more tests failed while running tests from 'System.Net.WebProxy.Tests' please check /home/REDMOND/gelee/Projects/DotNetCoreFx/bin/AnyOS.AnyCPU.Debug/System.Net.WebProxy.Tests/netstandard/testResults.xml for details! [/home/REDMOND/gelee/Projects/DotNetCoreFx/src/System.Net.WebProxy/tests/System.Net.WebProxy.Tests.csproj]
/home/REDMOND/gelee/Projects/DotNetCoreFx/dir.traversal.targets(77,5): error : (No message specified) [/home/REDMOND/gelee/Projects/DotNetCoreFx/src/tests.builds]
    2 Warning(s)
    2 Error(s)

geleems avatar Feb 03 '17 01:02 geleems

/DotNetCoreFx/Tools/msbuild.sh /t:BuildAndTest /p:OSGroup=Unix

Could you pass /p:OSGroup=Linux (or leave off that parameter entirely) ? It would also help to see which test is failing, exactly, i.e. by checking this file:

/home/REDMOND/gelee/Projects/DotNetCoreFx/bin/AnyOS.AnyCPU.Debug/System.Net.WebProxy.Tests/netstandard/testResults.xml

mellinoe avatar Feb 03 '17 02:02 mellinoe

TestExecution.txt

I attached the log of '/DotNetCoreFx/Tools/msbuild.sh /t:BuildAndTest /p:OSGroup=Linux'

geleems avatar Feb 03 '17 22:02 geleems

@saurabh500 Does the log give you any interesting info? I don't think there's any infrastructure problem here, just a regular test failure.

mellinoe avatar Feb 03 '17 22:02 mellinoe

@saurabh500 @geleems heads up that it was moved into Future. Please adjust it as appropriate (2.0).

karelz avatar Mar 09 '17 00:03 karelz

I think this can be closed.

saurabh500 avatar Mar 09 '17 02:03 saurabh500