Commit Graph
147 Commits
Author SHA1 Message Date
Matt Ellis 94c58f546c Use correct openSUSE RID
When I added the rid, I forgot to append the -x64 part, which prevented
the openSUSE build from restoring a runtime, since that part is platform
specific.


Commit migrated from https://github.com/dotnet/corefx/commit/d02e47ec2d44fae9d45d29d49f356199ed59b406
2016-05-31 17:52:15 -07:00
dotnet-bot cfde5f8d34 Updating CoreFX dependencies to rc4-24131-00
Commit migrated from https://github.com/dotnet/corefx/commit/7a16fac72dca8b3442e4425896593a0d24fd0fd2
2016-05-31 06:57:39 +00:00
dotnet-bot f0fa9faf0b Updating CoreFX dependencies to rc4-24127-00
Commit migrated from https://github.com/dotnet/corefx/commit/9f0469d8011336f7bf60365b017dcbe7df537dc0
2016-05-27 06:49:24 +00:00
Matt Ellis 1c7fd4103c Add additonal runtimes
Commit migrated from https://github.com/dotnet/corefx/commit/3ce0367e0f62cdd71aa4368abca30658b315079d
2016-05-25 23:23:02 -07:00
dotnet-bot 91d532f5fc Updating CoreFX dependencies to rc4-24126-00
Commit migrated from https://github.com/dotnet/corefx/commit/1a374cac6178651a21298020b2b3d6eb897d1837
2016-05-26 05:46:42 +00:00
dotnet-bot 032dea8c8b Updating CoreFX dependencies to rc4-24125-00
Commit migrated from https://github.com/dotnet/corefx/commit/9cd447dda0dfa473fb814dd6a3a1504764fa7bf4
2016-05-25 13:52:14 -07:00
Eric St. John 5a444416fd Update tests to use NETCoreApp1.0 moniker
Requires https://github.com/dotnet/buildtools/pull/751

This makes all the tests resolve using NETCoreApp1.0 instead of
DNXCore50.  I've removed the netstandard1.6 import since that is no
longer needed.  I've also removed the workarounds from tests that were
targeting netcoreapp1.0 on their own.  For restore compat I've added an
DNXCore50 import to every test project.  These can be removed once
test-runtime packages are updated to target NETCoreApp1.0.

I've updated all the test scripts which were assuming DNXCore50 as well
as docs which referred to this path.


Commit migrated from https://github.com/dotnet/corefx/commit/7ba4d296e3e0a2445ffa708c1e918d90d2bac69c
2016-05-24 21:49:17 -07:00
Matt Ellis e80c1f6794 Remove debian.8.2-x64 rid from projects
debian.8-x64 is the correct rid for debian and CI no longer uses it.


Commit migrated from https://github.com/dotnet/corefx/commit/8eba099f188af464e5e4ef8cd1b75ec53b137918
2016-05-17 19:22:33 -07:00
dotnet-bot 3aa5dbf336 Updating CoreFX dependencies to rc3-24117-00
Commit migrated from https://github.com/dotnet/corefx/commit/976b88889266258325f501e443b5bda6200cd3cc
2016-05-17 16:57:43 -04:00
Matt Ellis 4c035bad61 Merge pull request dotnet/corefx#8544 from ellismg/add-rids
Add additional runtimes

Commit migrated from https://github.com/dotnet/corefx/commit/fc5926e933371c755094c1c68f7cd39b73ae727c
2016-05-16 11:22:54 -07:00
Matt Ellis 39c142ef5a Add additional runtimes
- Add "debian.8-x64". This is the correct rid for Debian, after this
  lands, I will need to update CI before we can remove "debian.8.2-x64"

- Add a generic "linux-x64" rid which we can use in cases where we want
  to build for a distro where we don't yet have a set of runtime
  packages.  This will let us restore the managed assets (since they are
  specific to "unix" or "linux" and then folks can do a native build to
  get the shims and runtime and copy them over (this is a more
  reasonable approach than our current strategy of just using
  ubuntu.14.04-x64)

- Sort runtime sections


Commit migrated from https://github.com/dotnet/corefx/commit/6fa4bc1d215d17ff484aa3f541c5e3181f6918de
2016-05-15 00:19:07 -07:00
David Shulman aed74e56f1 Address PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/53c50e84f6be882f896d01b5ec99d2183cb44c48
2016-05-14 19:46:36 -07:00
David Shulman 354c2e5b9c System.Net.Http 4.1 contract implementation
As per approved dotnet/corefx#7623, add remaining properties to HttpClientHandler for
all platforms.

Move pre-existing Unix-only Http tests to run for all platforms.

Ensure that "credentials" related properties are secure by default and have
an initial (default) value of null.


Commit migrated from https://github.com/dotnet/corefx/commit/361b66146506a58f7d2c27224cc02f9583cd0639
2016-05-14 17:07:27 -07:00
David Shulman 218ab34fca Merge pull request dotnet/corefx#8518 from davidsh/winhttp_sslprotocols
WinHttpHandler.SslProtocols initially will use OS defaults

Commit migrated from https://github.com/dotnet/corefx/commit/e924c2efb4a5f8313406553850f7cde3ce7a6fd9
2016-05-13 14:41:29 -07:00
Stephen Toub 5a92862423 Merge pull request dotnet/corefx#8500 from dotnet-bot/UpdateDependencies20160513035055
Updating CoreFX dependencies to rc3-24113-00

Commit migrated from https://github.com/dotnet/corefx/commit/d0fdc093a18858e12e4c13617b5643c4e4ea9d47
2016-05-13 16:25:48 -04:00
David Shulman e4a5237a67 WinHttpHandler.SslProtocols initially will use OS defaults
To support future security improvements, the default value for WinHttpHandler.SslProtocols will use the enum value of .None. This means that no preferred list of protocols is being expressed. And that means to use the best OS defaults. Currently this translates into using "Tls10 | Tls11 | Tls12".

This list will change over time as platforms adopt newer Tls versions and phase out older versions.


Commit migrated from https://github.com/dotnet/corefx/commit/9530ca89d99e2778d7882847230c462798e59544
2016-05-13 12:57:07 -07:00
David Shulman f0d46aef79 Remove WinHttpHandler.ConnectTimeout property
It turns out that setting the WinHTTP 'Connect' timeout does nothing. We discovered this because we still got ERROR_WINHTTP_TIMEOUT errors after about 20 seconds even after setting the 'Connect' timeout to INFINITE. We discussed this with the WinHTTP team and they told us that this timeout is essentially deprecated due to performance enhancements in the TCP stack.

For the technically curious, here is the explanation. Underneath the 'Connect' timeout is really a set of TCP timeouts related to setting up the socket via the 3-leg SYN/ACK exchange. The TCP timeout is about retransmits with backoff and how many is tried by the winsock stack. The default of these initial packet exchanges is 21 seconds with 2 retransmits (3 overall SYNs) and initial RTO of 3 (3 + 6 + 12). So that explained the timeouts we saw during periods of high network congestion.

There is no API exposed in WinHTTP to control those low-level TCP timeouts. And thus it doesn't make any sense to have a 'ConnectTimeout' on the WinHttpHandler class.


Commit migrated from https://github.com/dotnet/corefx/commit/ee0b3a76c8c57ef80d1d53a16deb5b0bc6b46793
2016-05-13 09:40:39 -07:00
dotnet-bot 8e00f7db31 Updating CoreFX dependencies to rc3-24113-00
Commit migrated from https://github.com/dotnet/corefx/commit/4a1e90e8a33c423e5356e9850b834cbfa24bfde7
2016-05-13 15:50:55 +00:00
David Shulman 6489f6d1c9 Add configurable test settings for Http and WebSocket tests (dotnet/corefx#8480)
Building on the current use of environment variables for passing in test settings, added a common test helper class to allow the http and websocket tests to access alternate test servers. This will help with load balancing and network latency issues which are causing occasional timeouts in CI tests. This will also allow developers to run their own version of the Azure test endpoints. Consolidated the current environment variables used and standardized on a naming format.

Fixes dotnet/corefx#2383.

Commit migrated from https://github.com/dotnet/corefx/commit/3603ed2578220f0ecb2f101324e04acb80fa3196
2016-05-12 14:57:03 -07:00
dotnet-bot ce3a923ef2 Updating CoreFX dependencies to rc3-24112-00
Commit migrated from https://github.com/dotnet/corefx/commit/388140d1885acee4019544e4b9f8ccb6dd4310d6
2016-05-12 05:51:26 +00:00
stephentoub bb56a66ba5 Updating CoreFX dependencies to rc3-24111-00
Commit migrated from https://github.com/dotnet/corefx/commit/3b49a7960613e27f89538a53a893a0f8fbb74593
2016-05-11 06:47:29 -04:00
dotnet-bot bb2d7075e5 Updating CoreFX dependencies to rc3-24110-00
Commit migrated from https://github.com/dotnet/corefx/commit/2c092dd2f1ede076753ffee8342a4e04f919b89a
2016-05-11 00:08:46 +00:00
dotnet-bot 9829ded094 Updating CoreFX dependencies to rc3-24109-00
Commit migrated from https://github.com/dotnet/corefx/commit/a0ae8adee8b9454180c3e1f9416f28964b6eccb3
2016-05-09 06:40:00 +00:00
dotnet-bot 61320ea502 Updating CoreFX dependencies to rc3-24106-00
Commit migrated from https://github.com/dotnet/corefx/commit/22f53438e34b804d30f472ce6482db5e457bfee0
2016-05-06 22:26:49 -07:00
Eric St. John a813f99b7f Fix restore of Crypt.Algo dependencies from tests
Tests still target DNXCore50 which hasn't been updated to  support
NETStandard1.6.
Recent changes to the algorithms packaged the impl as 1.6.
Until the tests can be updated, import netstandard1.6 explicitly.


Commit migrated from https://github.com/dotnet/corefx/commit/7fdf8c87435b7ca190f2d611b799db88a4f8224a
2016-05-05 18:29:37 -07:00
dotnet-bot eb8b19bb33 Updating CoreFX dependencies to rc3-24105-00
Commit migrated from https://github.com/dotnet/corefx/commit/880e04074fa4918010feb681de16f95f711a5534
2016-05-05 14:18:51 -07:00
dotnet-bot a08807e184 Updating CoreFX dependencies to rc3-24102-00
Commit migrated from https://github.com/dotnet/corefx/commit/f9171470a3c4a8261d4cd3945106c7d632a504d9
2016-05-02 23:40:09 +00:00
dotnet-bot 40d3f889c2 Updating CoreFX dependencies to rc3-24026-00
Commit migrated from https://github.com/dotnet/corefx/commit/b2704ed517b846992ffd66806d54ffdf4cb62526
2016-04-26 05:41:52 +00:00
dotnet-bot facf18bbf5 Updating CoreFX dependencies to rc3-24022-00
Commit migrated from https://github.com/dotnet/corefx/commit/5bfcca66e5c16c3c1585d1087acd2ea522eb17a7
2016-04-22 05:37:54 +00:00
Davis Goodin 5be2da2fc2 Change non-existent package dependencies to actual versions.
Commit migrated from https://github.com/dotnet/corefx/commit/28f021d9f269ea8207ede73d56b3cd99c8e19c96
2016-04-20 14:06:56 -05:00
Lakshmi Priya Sekar 74c34921f1 Update xunit.netcore.extensions version.
Commit migrated from https://github.com/dotnet/corefx/commit/2134c046fa998522aa60159a2516b2f6bd7cc330
2016-04-19 19:16:41 -07:00
Stephen Toub 5dcde2e75d Merge pull request dotnet/corefx#7831 from dotnet-bot/UpdateDependencies20160418054051
Updating CoreFX dependencies to rc3-24018-00

Commit migrated from https://github.com/dotnet/corefx/commit/8d183a03d1800214c8e402fc846b5bbf6f91e79e
2016-04-18 15:23:47 -04:00
dotnet-bot cdbab74187 Updating CoreFX dependencies to rc3-24018-00
Commit migrated from https://github.com/dotnet/corefx/commit/b2e960386a786002b5cb724e64814dbb90eb4af4
2016-04-18 17:40:51 +00:00
stephentoub df6cdf3dc1 Ensure WinHttpHandler exceptions have a good stack trace
WinHttpHandler often creates an exception in response to some native error code and then stores that exception into a Task.  As the exception isn't actually thrown until it's propagated out at the eventual await site, the these exceptions often lack a good stack trace to help highlight where the error came from.

This commit ensures that such exceptions have a stack trace by throwing and catching them before storing them into either another exception as an inner exception or directly into a Task.  I've not touched cases where the exception was already being thrown or where an exception was wrapping another exception that has a stack trace.


Commit migrated from https://github.com/dotnet/corefx/commit/31bd97c86fd90faeb977d67c495198dbb2a96000
2016-04-18 09:36:09 -04:00
David Shulman 28e1f8bf95 Merge pull request dotnet/corefx#7747 from StephenBonikowsky/patch-2
Find test builds files deeper in file structure.

Commit migrated from https://github.com/dotnet/corefx/commit/0d33c8cc3d5a730b2508e294b209fa666dc6cf55
2016-04-15 14:49:34 -07:00
David Shulman 16faebe1f0 Fix build problem in WinHttpHandler tests
PR dotnet/corefx#7760 broke the compilation of these tests but wasn't discovered in CI since WinHttpHandler
tests weren't building properly. This PR will fix the compiler error while PR dotnet/corefx#7747 will make
sure that these tests get built/run again in CI.


Commit migrated from https://github.com/dotnet/corefx/commit/948e7fd48cd680cae332efb5d2ebdb777399377e
2016-04-15 11:08:41 -07:00
dotnet-bot 03fd4d1c42 Updating CoreFX dependencies to rc3-24015-00
Commit migrated from https://github.com/dotnet/corefx/commit/a70774dac4088849551525d3ddd750d4e0cc4fbc
2016-04-15 06:40:27 +00:00
Stephen Bonikowsky ecd4e3032a Find test builds files deeper in file structure.
*

 In WCF repo many of our test projects are more than one level below the 'tests' directory.

*
If this doesn't break anything in corefx could we take this change?

* Amending to remove corefx\src\System.Net.Sockets\tests\PerformanceTests\System.Net.Sockets.Async.Performance.Tests.builds

* Amending again with more test .builds files that needed to be removed.


Commit migrated from https://github.com/dotnet/corefx/commit/8cac0d4afab96e15837818ca1abfbd9068008458
2016-04-14 18:20:32 -07:00
dotnet-bot 875bffd0a5 Updating CoreFX dependencies to rc3-24014-01
Commit migrated from https://github.com/dotnet/corefx/commit/0c97843892b744f01ef65a5684a911f50a38ed93
2016-04-14 06:39:49 +00:00
dotnet-bot ea45391f54 Updating CoreFX dependencies to rc3-24013-00
Commit migrated from https://github.com/dotnet/corefx/commit/32d2d84ff16efa0ed04dd2780c62db36bbf0bf01
2016-04-13 06:13:25 +00:00
Eric Mellino f57a495784 Overhaul usage of test-runtime.
This change uses some features available in an updated version of
buildtools. Instead of resolving the test-runtime for each of our test
projects as a separate step, we will now add a "reference" to it from the
project.json of each test project. This will allow us to resolve the nuget
assets from both it and the test project at the same time. This will be
more robust than our current process, which is very fragile and
error-prone.

The above is made possible by an updated version of
"PrereleaseResolveNuGetPackageAssets", which is the buildtools task
responsible for resolving test assets from nuget packages. This task also
has a lot of additional validation, which triggers a lot of warnings in
corefx. I've made various changes to csproj's and to project.json's around
the repository in order to satisfy those warnings.


Commit migrated from https://github.com/dotnet/corefx/commit/622ee8f512497fc07621de15e41c6bd575f387c9
2016-04-12 07:12:36 -07:00
dotnet-bot 203d37ef1e Updating CoreFX dependencies to rc3-24012-00
Commit migrated from https://github.com/dotnet/corefx/commit/f89a8267334562ab363ce19d4a2bfa0618bb1f00
2016-04-12 05:34:15 +00:00
dotnet-bot 83f02c753f Updating CoreFX dependencies to rc3-24011-00
Commit migrated from https://github.com/dotnet/corefx/commit/406378b88f0485b549ec2b8c242c79329a5b3ef5
2016-04-11 16:13:03 +00:00
dotnet-bot 6883e89fc3 Updating CoreFX dependencies to rc3-24008-00
Commit migrated from https://github.com/dotnet/corefx/commit/30b74738cdac9c75a2dd165d339f206b1070f3cd
2016-04-08 06:40:37 +00:00
dotnet-bot 0f0193e356 Updating CoreFX dependencies to rc3-24007-00
Commit migrated from https://github.com/dotnet/corefx/commit/d9fdf25de0e1cf35219a26d4f840302e5379f292
2016-04-07 05:37:12 +00:00
Stephen Toub d3980a698e Merge pull request dotnet/corefx#7523 from ellismg/run-tests
Remove "UnsupportedPlatforms" metadata

Commit migrated from https://github.com/dotnet/corefx/commit/0cdc8e39f80a749bfa25eb559ab014be4f7ec557
2016-04-06 09:21:15 -04:00
dotnet-bot be7ca463ae Updating CoreFX dependencies to rc3-24006-00
Commit migrated from https://github.com/dotnet/corefx/commit/aff79bf3fa8ce8c13b6084d82aca30e534142b81
2016-04-06 05:21:19 +00:00
Matt Ellis e631e1c680 Remove UnsupportedPlatforms metadata
Commit migrated from https://github.com/dotnet/corefx/commit/f5252c0c0d19622132e0edcf0b64783b798e3bbf
2016-04-05 14:38:52 -07:00
Matt Ellis 68e4373e9a Reconsile .builds and UnsupportedPlatform metadata
There were a handful of test projects that just didn't have .builds
files and some other cases where the data in the .builds file did not
match what was in the UnsupportedPlatforms metadata.

Some of the projects said the tests were unsupported on FreeBSD and
nowhere else. Given that these tests should most likely be supported on
FreeBSD (given that OSX and Linux both supported them), I've not moved
that logic into the .builds files.

If there ends up being a specific set of tests that the FreeBSD port
team wants to disable long term, they can add .builds metadata as they
see fit.


Commit migrated from https://github.com/dotnet/corefx/commit/836c6f12e1a05749d7d5bf27d02bd28f98eb76aa
2016-04-05 11:51:49 -07:00
dotnet-bot 8c6d7acd5d Updating CoreFX dependencies to rc3-24005-00
Commit migrated from https://github.com/dotnet/corefx/commit/afbf526ac0fae250fc47623f2c43d2caa1abb803
2016-04-05 06:23:55 -04:00