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
// The diagnostics above are logged through the resource logger. In CI the tests run
101
+
// under VSTest, which discards xUnit diagnostic messages, so the only output that
102
+
// reliably reaches the CI logs is a failed test's exception. Re-throw with the
103
+
// diagnostic context embedded in the message (keeping the original as the inner
104
+
// exception) so the intermittent image pull failures can be investigated from CI.
105
+
vardiagnostics=string.Format(
106
+
CultureInfo.InvariantCulture,
107
+
"Failed to pull Docker image {0} from registry {1} after {2} ms (concurrent pulls at start: {3}, at failure: {4}); Docker API status: {5}; response: {6}; pull progress errors: {7}",
[LoggerMessage(Level=LogLevel.Debug,Message="Pulling Docker image {FullName} from registry {Registry} (concurrent pulls in this process: {InFlight})")]
[LoggerMessage(Level=LogLevel.Error,Message="Failed to pull Docker image {FullName} from registry {Registry} after {ElapsedMilliseconds} ms (concurrent pulls at start: {InFlightAtStart}, at failure: {InFlightAtFailure}); Docker API status: {StatusCode}; response: {ResponseBody}; pull progress errors: {TraceErrors}")]
0 commit comments