You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-pipelines/end-to-end-tests-dir/asset-caching.ps1
+37-23Lines changed: 37 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -59,8 +59,7 @@ Throw-IfNotFailed
59
59
$expected=@(
60
60
"A suitable version of cmake was not found \(required v[0-9.]+\)\.",
61
61
"Trying to download cmake-[0-9.]+-[^.]+\.(zip|tar\.gz) using asset cache file://$assetCacheRegex/[0-9a-z]+",
62
-
"error: curl operation failed with error code 37 \((Couldn't|Could not) read a file:\/\/ file\)\.",
63
-
"error: Not a transient network error, won't retry download from file://$assetCacheRegex/[0-9a-z]+"
62
+
"error: curl: \(37\) Couldn't open file [^\n]+",
64
63
"error: there were no asset cache hits, and x-block-origin blocks trying the authoritative source https://github\.com/Kitware/CMake/releases/download/[^ ]+",
65
64
"note: If you are using a proxy, please ensure your proxy settings are correct\.",
66
65
"Possible causes are:",
@@ -112,8 +111,7 @@ if (-not ($actual -match $expected)) {
"error: curl operation failed with error code 37 \((Couldn't|Could not) read a file:// file\)\.",
295
-
"error: Not a transient network error, won't retry download from file://$assetCacheRegex/[0-9a-z]+",
296
-
"[^\n]+example3\.html\.\d+\.part: error: download from https://raw\.githubusercontent\.com/microsoft/vcpkg-tool/1767aaee7b229c609f7ad5cf2f57b6a6cc309fb8/LICENSE\.txt had an unexpected hash",
"note: Actual : 65077997890f66f6041bb3284bb7b88e27631411ccbc253201ca4e00c4bcc58c0d77edffda4975498797cc10772c7fd68fbeb13cc4ac493a3471a9d49e5b6f24",
310
+
"error: curl: \(37\) Couldn't open file [^\n]+",
299
311
"note: If you are using a proxy, please ensure your proxy settings are correct\.",
300
312
"Possible causes are:",
301
313
"1\. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable to ``https://address:port``\.",
@@ -305,6 +317,9 @@ $expected = @(
305
317
"The value set by your proxy might be wrong, or have same ``https://`` prefix issue\.",
306
318
"3\. Your proxy's remote server is out of service\.",
307
319
"If you believe this is not a temporary download server failure and vcpkg needs to be changed to download this file from a different location, please submit an issue to https://github\.com/Microsoft/vcpkg/issues",
320
+
"[^\n]+example3\.html\.\d+\.part: error: download from https://raw\.githubusercontent\.com/microsoft/vcpkg-tool/1767aaee7b229c609f7ad5cf2f57b6a6cc309fb8/LICENSE\.txt had an unexpected hash",
@@ -354,8 +369,7 @@ if (-not ($actual -match $expected)) {
354
369
Refresh-TestRoot
355
370
$expected=@(
356
371
"^Trying to download example3\.html using asset cache file://$assetCacheRegex/[0-9a-z]+",
357
-
"error: curl operation failed with error code 37 \((Couldn't|Could not) read a file:// file\)\.",
358
-
"error: Not a transient network error, won't retry download from file://$assetCacheRegex/[0-9a-z]+",
372
+
"error: curl: \(37\) Couldn't open file [^\n]+",
359
373
"error: there were no asset cache hits, and x-block-origin blocks trying the authoritative source https://raw\.githubusercontent\.com/microsoft/vcpkg-tool/1767aaee7b229c609f7ad5cf2f57b6a6cc309fb8/LICENSE\.txt",
360
374
"note: or https://alternate\.example\.com",
361
375
"note: If you are using a proxy, please ensure your proxy settings are correct\.",
0 commit comments