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

System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests failing on Bitmaps #34302

Closed
ericstj opened this issue Mar 30, 2020 · 2 comments
Labels
area-System.Drawing blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner

Comments

@ericstj
Copy link
Member

ericstj commented Mar 30, 2020

Build Kind Console Log
579823 PR #34283 console.log
579750 PR #34249 console.log
579797 PR #33890 console.log
579787 PR #34025 console.log
579684 PR #32592 console.log
579587 PR #34225 console.log
579596 PR #34046 console.log
579675 PR #34086 console.log
579375 PR #34154 console.log
579629 PR #34022 console.log
579589 PR #34166 console.log
579412 PR #34263 console.log
579508 PR #34064 console.log
579319 PR #34261 console.log
579539 PR #34275 console.log
579428 PR #32592 console.log
579536 PR #34275 console.log
579294 PR #32592 console.log

Sample failures:

    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateAgainstBlobs(obj: Bitmap { Flags = 73744, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 100, HorizontalResolution = 96, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, blobs: [System.Runtime.Serialization.Formatters.Tests.TypeSerializableValue, System.Runtime.Serialization.Formatters.Tests.TypeSerializableValue]) [FAIL]
      Assert.Equal() Failure
      Expected: 73744
      Actual:   77840
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/EqualityExtensions.cs(1236,0): at System.Runtime.Serialization.Formatters.Tests.EqualityExtensions.IsEqual(Bitmap this, Bitmap other, Boolean isSamePlatform)
    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.RoundtripManyObjectsInOneStream [FAIL]
      Assert.Equal() Failure
      Expected: 86265190
      Actual:   86266510
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/EqualityExtensions.cs(1237,0): at System.Runtime.Serialization.Formatters.Tests.EqualityExtensions.IsEqual(Bitmap this, Bitmap other, Boolean isSamePlatform)
    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip(obj: Bitmap { Flags = 77840, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 100, HorizontalResolution = 86265340, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, assemblyFormat: Full, filterLevel: Full, typeFormat: TypesAlways) [FAIL]
      Assert.Equal() Failure
      Expected: 86265340
      Actual:   86266570
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/EqualityExtensions.cs(1237,0): at System.Runtime.Serialization.Formatters.Tests.EqualityExtensions.IsEqual(Bitmap this, Bitmap other, Boolean isSamePlatform)
    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip(obj: Bitmap { Flags = 77840, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 100, HorizontalResolution = 86265340, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, assemblyFormat: Full, filterLevel: Full, typeFormat: TypesWhenNeeded) [FAIL]
      Assert.Equal() Failure
      Expected: 86265340
      Actual:   86266570
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/EqualityExtensions.cs(1237,0): at System.Runtime.Serialization.Formatters.Tests.EqualityExtensions.IsEqual(Bitmap this, Bitmap other, Boolean isSamePlatform)
    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip(obj: Bitmap { Flags = 77840, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 100, HorizontalResolution = 86265340, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, assemblyFormat: Full, filterLevel: Full, typeFormat: XsdString) [FAIL]
      Assert.Equal() Failure
      Expected: 86265340
      Actual:   86266570
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/EqualityExtensions.cs(1237,0): at System.Runtime.Serialization.Formatters.Tests.EqualityExtensions.IsEqual(Bitmap this, Bitmap other, Boolean isSamePlatform)
    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip(obj: Bitmap { Flags = 77840, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 100, HorizontalResolution = 86265340, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, assemblyFormat: Full, filterLevel: Low, typeFormat: TypesAlways) [FAIL]
      Assert.Equal() Failure
      Expected: 86265340
      Actual:   86266570
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/EqualityExtensions.cs(1237,0): at System.Runtime.Serialization.Formatters.Tests.EqualityExtensions.IsEqual(Bitmap this, Bitmap other, Boolean isSamePlatform)
    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip(obj: Bitmap { Flags = 77840, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 100, HorizontalResolution = 86265340, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, assemblyFormat: Full, filterLevel: Low, typeFormat: TypesWhenNeeded) [FAIL]
      Assert.Equal() Failure
      Expected: 86265340
      Actual:   86266570
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/EqualityExtensions.cs(1237,0): at System.Runtime.Serialization.Formatters.Tests.EqualityExtensions.IsEqual(Bitmap this, Bitmap other, Boolean isSamePlatform)
    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip(obj: Bitmap { Flags = 77840, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 100, HorizontalResolution = 86265340, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, assemblyFormat: Full, filterLevel: Low, typeFormat: XsdString) [FAIL]
      Assert.Equal() Failure
      Expected: 86265340
      Actual:   86266570
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/EqualityExtensions.cs(1237,0): at System.Runtime.Serialization.Formatters.Tests.EqualityExtensions.IsEqual(Bitmap this, Bitmap other, Boolean isSamePlatform)
    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip(obj: Bitmap { Flags = 77840, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 100, HorizontalResolution = 86265340, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, assemblyFormat: Simple, filterLevel: Full, typeFormat: TypesAlways) [FAIL]
      Assert.Equal() Failure
      Expected: 86265340
      Actual:   86266570
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/EqualityExtensions.cs(1237,0): at System.Runtime.Serialization.Formatters.Tests.EqualityExtensions.IsEqual(Bitmap this, Bitmap other, Boolean isSamePlatform)
    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip(obj: Bitmap { Flags = 77840, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 100, HorizontalResolution = 86265340, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, assemblyFormat: Simple, filterLevel: Full, typeFormat: TypesWhenNeeded) [FAIL]
      Assert.Equal() Failure
      Expected: 86265340
      Actual:   86266570
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/EqualityExtensions.cs(1237,0): at System.Runtime.Serialization.Formatters.Tests.EqualityExtensions.IsEqual(Bitmap this, Bitmap other, Boolean isSamePlatform)
    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip(obj: Bitmap { Flags = 77840, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 100, HorizontalResolution = 86265340, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, assemblyFormat: Simple, filterLevel: Full, typeFormat: XsdString) [FAIL]
      Assert.Equal() Failure
      Expected: 86265340
      Actual:   86266570
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/EqualityExtensions.cs(1237,0): at System.Runtime.Serialization.Formatters.Tests.EqualityExtensions.IsEqual(Bitmap this, Bitmap other, Boolean isSamePlatform)
    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip(obj: Bitmap { Flags = 77840, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 100, HorizontalResolution = 86265340, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, assemblyFormat: Simple, filterLevel: Low, typeFormat: TypesAlways) [FAIL]
      Assert.Equal() Failure
      Expected: 86265340
      Actual:   86266570
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/EqualityExtensions.cs(1237,0): at System.Runtime.Serialization.Formatters.Tests.EqualityExtensions.IsEqual(Bitmap this, Bitmap other, Boolean isSamePlatform)
    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip(obj: Bitmap { Flags = 77840, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 100, HorizontalResolution = 86265340, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, assemblyFormat: Simple, filterLevel: Low, typeFormat: TypesWhenNeeded) [FAIL]
      Assert.Equal() Failure
      Expected: 86265340
      Actual:   86266570
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/EqualityExtensions.cs(1237,0): at System.Runtime.Serialization.Formatters.Tests.EqualityExtensions.IsEqual(Bitmap this, Bitmap other, Boolean isSamePlatform)
    System.Runtime.Serialization.Formatters.Tests.BinaryFormatterTests.ValidateBasicObjectsRoundtrip(obj: Bitmap { Flags = 77840, FrameDimensionsList = [7462dc86-6180-4c7e-8e3f-ee7333a7a483], Height = 100, HorizontalResolution = 86265340, Palette = ColorPalette { Entries = [...], Flags = 0 }, ... }, assemblyFormat: Simple, filterLevel: Low, typeFormat: XsdString) [FAIL]
      Assert.Equal() Failure
      Expected: 86265340
      Actual:   86266570
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Formatters/tests/EqualityExtensions.cs(1237,0): at System.Runtime.Serialization.Formatters.Tests.EqualityExtensions.IsEqual(Bitmap this, Bitmap other, Boolean isSamePlatform)
  Finished:    System.Runtime.Serialization.Formatters.Tests

@jkotas do you think this might be related to #33967

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-System.Runtime untriaged New issue has not been triaged by the area owner labels Mar 30, 2020
@ericstj
Copy link
Member Author

ericstj commented Mar 30, 2020

/cc @dotnet/runtime-infrastructure

@ericstj ericstj added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' area-System.Drawing and removed area-System.Runtime labels Mar 30, 2020
@safern
Copy link
Member

safern commented Mar 30, 2020

Dupe of: #28553

@safern safern closed this as completed Mar 30, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Drawing blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

3 participants