Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Serilog from 2.12.0 to 3.1.1 #277

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Bump Serilog from 2.12.0 to 3.1.1

517eb35
Select commit
Loading
Failed to load commit list.
Open

Bump Serilog from 2.12.0 to 3.1.1 #277

Bump Serilog from 2.12.0 to 3.1.1
517eb35
Select commit
Loading
Failed to load commit list.
Azure Pipelines / Serilog PR-validation failed Apr 30, 2024 in 7m 10s

Build #2024.4.30.3 had test failures

Details

Tests

  • Failed: 60 (7.86%)
  • Passed: 703 (92.14%)
  • Other: 0 (0.00%)
  • Total: 763

Annotations

Check failure on line 14 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Serilog PR-validation

Build log #L14

ECHO is off.

Check failure on line 5557 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Serilog PR-validation

Build log #L5557

Process completed with exit code 42.

Check failure on line 1 in Akka.Logger.Serilog.Tests.SerilogFormattingSpecs.Default ILoggingAdapter output must be compatible with previous version

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Serilog PR-validation

Akka.Logger.Serilog.Tests.SerilogFormattingSpecs.Default ILoggingAdapter output must be compatible with previous version

Expected _sink.Writes.TryDequeue(out var logEvent) "PrimitiveDictionary: [("Boolean": True), ("Byte": 42), ("SByte": -42), ("Char": A), ("Decimal": 3.1415), ("Double": 3.1415), ("Float": 3.1415), ("Int": -42), ("UInt": 42), ("Long": -42), ("ULong": 42), ("Short": -42), ("UShort": 42), ("String": "Fourty Two"), ("Enum": One)]" to contain "PrimitiveDictionary: [("Boolean": True), ("Byte": 42), ("SByte": "-42"), ("Char": A), ("Decimal": 3.1415), ("Double": 3.1415), ("Float": 3.1415), ("Int": -42), ("UInt": 42), ("Long": -42), ("ULong": 42), ("Short": -42), ("UShort": 42), ("String": "Fourty Two"), ("Enum": One)]".
Raw output
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.StringAssertions`1.Contain(String expected, String because, Object[] becauseArgs)
   at Akka.Logger.Serilog.Tests.SerilogFormattingSpecs.<LogOutputRegressionTest>d__7.MoveNext() in D:\a\1\s\src\Akka.Logger.Serilog.Tests\SerilogFormattingSpecs.cs:line 86
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check failure on line 1 in Akka.Logger.Serilog.Tests.SerilogFormattingSpecs.Default ILoggingAdapter output must be compatible with previous version

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Serilog PR-validation

Akka.Logger.Serilog.Tests.SerilogFormattingSpecs.Default ILoggingAdapter output must be compatible with previous version

Expected _sink.Writes.TryDequeue(out var logEvent) "ListDictionary: [("BooleanList": [False, True, False]), ("ByteList": [1, 2, 3]), ("SByteList": [-1, 2, -3]), ("CharList": [1, 2, 3]), ("DecimalList": [1, -2, 3]), ("DoubleList": [1, -2, 3]), ("FloatList": [1, -2, 3]), ("IntList": [1, -2, 3]), ("UIntList": [1, 2, 3]), ("LongList": [1, -2, 3]), ("ULongList": [1, 2, 3]), ("ShortList": [1, -2, 3]), ("UShortList": [1, 2, 3]), ("StringList": ["One", "Two", "Three"]), ("EnumList": [One, Two, Three])]" to contain "ListDictionary: [("BooleanList": [False, True, False]), ("ByteList": [1, 2, 3]), ("SByteList": ["-1", "2", "-3"]), ("CharList": [1, 2, 3]), ("DecimalList": [1, -2, 3]), ("DoubleList": [1, -2, 3]), ("FloatList": [1, -2, 3]), ("IntList": [1, -2, 3]), ("UIntList": [1, 2, 3]), ("LongList": [1, -2, 3]), ("ULongList": [1, 2, 3]), ("ShortList": [1, -2, 3]), ("UShortList": [1, 2, 3]), ("StringList": ["One", "Two", "Three"]), ("EnumList": [One, Two, Three])]".
Raw output
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.StringAssertions`1.Contain(String expected, String because, Object[] becauseArgs)
   at Akka.Logger.Serilog.Tests.SerilogFormattingSpecs.<LogOutputRegressionTest>d__7.MoveNext() in D:\a\1\s\src\Akka.Logger.Serilog.Tests\SerilogFormattingSpecs.cs:line 86
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check failure on line 1 in Akka.Logger.Serilog.Tests.SerilogFormattingSpecs.Default ILoggingAdapter output must be compatible with previous version

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Serilog PR-validation

Akka.Logger.Serilog.Tests.SerilogFormattingSpecs.Default ILoggingAdapter output must be compatible with previous version

Expected _sink.Writes.TryDequeue(out var logEvent) "PrimitiveDictionary: [("Boolean": True), ("Byte": 42), ("SByte": -42), ("Char": A), ("Decimal": 3.1415), ("Double": 3.1415), ("Float": 3.1415), ("Int": -42), ("UInt": 42), ("Long": -42), ("ULong": 42), ("Short": -42), ("UShort": 42), ("String": "Fourty Two"), ("Enum": One)]" to contain "PrimitiveDictionary: [("Boolean": True), ("Byte": 42), ("SByte": "-42"), ("Char": A), ("Decimal": 3.1415), ("Double": 3.1415), ("Float": 3.1415), ("Int": -42), ("UInt": 42), ("Long": -42), ("ULong": 42), ("Short": -42), ("UShort": 42), ("String": "Fourty Two"), ("Enum": One)]".
Raw output
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Primitives.StringAssertions`1.Contain(String expected, String because, Object[] becauseArgs)
   at Akka.Logger.Serilog.Tests.SerilogFormattingSpecs.<LogOutputRegressionTest>d__7.MoveNext() in D:\a\1\s\src\Akka.Logger.Serilog.Tests\SerilogFormattingSpecs.cs:line 86
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check failure on line 1 in Akka.Logger.Serilog.Tests.SerilogFormattingSpecs.Raw Serilog output must be compatible with previous version

See this annotation in the file changed.

@azure-pipelines azure-pipelines / Serilog PR-validation

Akka.Logger.Serilog.Tests.SerilogFormattingSpecs.Raw Serilog output must be compatible with previous version

Expected _sink.Writes.TryDequeue(out var logEvent) to be "SByte: "-42"" with a length of 12, but "SByte: -42" has a length of 10, differs near "-42" (index 7).
Raw output
   at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Primitives.StringEqualityValidator.ValidateAgainstLengthDifferences()
   at FluentAssertions.Primitives.StringValidator.Validate()
   at FluentAssertions.Primitives.StringAssertions`1.Be(String expected, String because, Object[] becauseArgs)
   at Akka.Logger.Serilog.Tests.SerilogFormattingSpecs.<RawLogOutputRegressionTest>d__5.MoveNext() in D:\a\1\s\src\Akka.Logger.Serilog.Tests\SerilogFormattingSpecs.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)