Closed Bug 1650026 Opened 6 years ago Closed 6 years ago

Intermittent C# tests CI failure

Categories

(Data Platform and Tools :: Glean: SDK, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: brizental, Unassigned)

Details

(Whiteboard: [telemetry:glean-rs:m?])

Test run for /root/project/glean-core/csharp/GleanTests/bin/Debug/netcoreapp3.1/GleanTests.dll(.NETCoreApp,Version=v3.1)

Microsoft (R) Test Execution Command Line Tool Version 16.6.0

Copyright (c) Microsoft Corporation.  All rights reserved.



Starting test execution, please wait...



A total of 1 test files matched the specified pattern.

[08:23:35 INF] glean/Glean: Registering pings

[08:23:35 INF] glean/Glean: Registering pings

[08:23:35 INF] glean/Glean: Registering pings

[08:23:35 INF] glean/Glean: Registering pings

[08:23:35 INF] glean/Glean: Registering pings

[08:23:35 INF] glean/Glean: Registering pings

[08:23:35 INF] glean/Glean: Registering pings

[08:23:35 INF] glean/Glean: Registering pings

[08:23:35 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 ERR] glean/BaseUploader: Error while parsing headers for ping c0ffeec0-ffee-c0ff-eec0-ffeec0ffeec0

System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.

 ---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.

   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)

   at System.Text.Json.Utf8JsonReader.Read()

   at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack)

   --- End of inner exception stack trace ---

   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& readStack, JsonReaderException ex)

   at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack)

   at System.Text.Json.JsonSerializer.ReadCore(Type returnType, JsonSerializerOptions options, Utf8JsonReader& reader)

   at System.Text.Json.JsonSerializer.Deserialize(String json, Type returnType, JsonSerializerOptions options)

   at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)

   at Mozilla.Glean.Net.BaseUploader.GetHeadersFromJSONString(String documentId, String headers, Configuration config) in /root/project/glean-core/csharp/Glean/Net/BaseUploader.cs:line 74

[08:23:36 ERR] glean/BaseUploader: Error while parsing headers for ping c0ffeec0-ffee-c0ff-eec0-ffeec0ffeec0

System.Text.Json.JsonException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. Path: $ | LineNumber: 0 | BytePositionInLine: 0.

 ---> System.Text.Json.JsonReaderException: The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true. LineNumber: 0 | BytePositionInLine: 0.

   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)

   at System.Text.Json.Utf8JsonReader.Read()

   at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack)

   --- End of inner exception stack trace ---

   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& readStack, JsonReaderException ex)

   at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack)

   at System.Text.Json.JsonSerializer.ReadCore(Type returnType, JsonSerializerOptions options, Utf8JsonReader& reader)

   at System.Text.Json.JsonSerializer.Deserialize(String json, Type returnType, JsonSerializerOptions options)

   at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)

   at Mozilla.Glean.Net.BaseUploader.GetHeadersFromJSONString(String documentId, String headers, Configuration config) in /root/project/glean-core/csharp/Glean/Net/BaseUploader.cs:line 74

[08:23:36 ERR] glean/BaseUploader: Error while parsing headers for ping c0ffeec0-ffee-c0ff-eec0-ffeec0ffeec0

System.Text.Json.JsonException: The JSON value could not be converted to System.Collections.Generic.Dictionary`2[System.String,System.String]. Path: $ | LineNumber: 0 | BytePositionInLine: 1.

   at System.Text.Json.ThrowHelper.ThrowJsonException_DeserializeUnableToConvertValue(Type propertyType)

   at System.Text.Json.JsonSerializer.HandleStartArray(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& state)

   at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack)

   at System.Text.Json.JsonSerializer.ReadCore(Type returnType, JsonSerializerOptions options, Utf8JsonReader& reader)

   at System.Text.Json.JsonSerializer.Deserialize(String json, Type returnType, JsonSerializerOptions options)

   at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonSerializerOptions options)

   at Mozilla.Glean.Net.BaseUploader.GetHeadersFromJSONString(String documentId, String headers, Configuration config) in /root/project/glean-core/csharp/Glean/Net/BaseUploader.cs:line 74

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings

[08:23:36 INF] glean/Glean: Registering pings


Too long with no output (exceeded 10m0s): context deadline exceeded

Just got this on a PR that doesn't touch any C# code. Just Swift and Kotlin tests.

After re-run the error stopped happening.

Priority: P3 → P1
Whiteboard: [telemetry:glean-rs:m?]
Priority: P1 → P3
Whiteboard: [telemetry:glean-rs:m?]
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.