Skip to content

Use System.Text.Json as a backend for view model serialization #2979

Use System.Text.Json as a backend for view model serialization

Use System.Text.Json as a backend for view model serialization #2979

Triggered via pull request April 26, 2024 20:05
Status Failure
Total duration 50m 32s
Artifacts 8

main.yml

on: pull_request
Build all projects without errors
11m 11s
Build all projects without errors
JS unit tests
1m 2s
JS unit tests
Matrix: Build published projects without warnings
Matrix: .NET unit tests
Matrix: UI tests
Fit to window
Zoom out
Zoom in

Annotations

28 errors and 31 warnings
.NET unit tests (macOS-latest)
Process completed with exit code 130.
.NET unit tests (macOS-latest)
Process completed with exit code 130.
UI tests (chrome, windows-2022, Development, Default): src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
UI tests (chrome, windows-2022, Development, Default): src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
UI tests (chrome, windows-2022, Development, Default): src/Samples/Api.Common/Model/Order.cs#L19
The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
UI tests (chrome, windows-2022, Development, Default): src/Samples/Api.Common/Model/Order.cs#L19
The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
UI tests (chrome, windows-2022, Development, Default)
Process completed with exit code 1.
SupportTuples: src/Tests/ViewModel/SerializerTests.cs#L232
Assert.AreEqual failed. Expected:<{"$type":"pUM6BN1XpGhNArrP","Item1":9,"Item2":8,"Item3":7,"Item4":6}>. Actual:<{"$type":"pczEps4E/vxByPfT","Item1":9,"Item2":8,"Item3":7,"Item4":6}>.
SupportsDateTime: src/Tests/ViewModel/SerializerTests.cs#L467
Assert.AreEqual failed. Expected:<1/1/2000>. Actual:<1/1/0001>.
SupportsDateTime_MicrosecondPrecision: src/Tests/ViewModel/SerializerTests.cs#L488
Assert.AreEqual failed. Expected:<3:16 PM>. Actual:<12:00 AM>.
SerializationReflectionAssembly: src/Tests/Runtime/ErrorPageTests.cs#L111
Test method DotVVM.Framework.Tests.Runtime.ErrorPageTests.SerializationReflectionAssembly threw exception: System.Exception: ErrorPageTests.SerializationReflectionAssembly.json has changed, the actual output differs from the previous accepted output: diff --git a/src/Tests/Runtime/testoutputs/ErrorPageTests.SerializationReflectionAssembly.json b/src/Tests/Runtime/testoutputs/ErrorPageTests.SerializationReflectionAssembly.json index 7725a87..c5bcef3 100644 --- a/src/Tests/Runtime/testoutputs/ErrorPageTests.SerializationReflectionAssembly.json +++ b/src/Tests/Runtime/testoutputs/ErrorPageTests.SerializationReflectionAssembly.json @@ -1,5 +1,5 @@ { - "assembly": "System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", - "assemblyObj": "System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", - "assemblyInterface": "System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" + "assembly": "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", + "assemblyObj": "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", + "assemblyInterface": "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" } Is this change OK? To let the test pass, stage the file in git. Confused? See https://github.com/exyi/CheckTestOutput/blob/master/trouble.md#changed-file
IncludeViewModule: src/Tests/ControlTests/ViewModulesServerSideTests.cs#L36
Test method DotVVM.Framework.Tests.ControlTests.ViewModulesServerSideTests.IncludeViewModule threw exception: System.Exception: ViewModulesServerSideTests.IncludeViewModule.html has changed, the actual output differs from the previous accepted output: diff --git a/src/Tests/ControlTests/testoutputs/ViewModulesServerSideTests.IncludeViewModule.html b/src/Tests/ControlTests/testoutputs/ViewModulesServerSideTests.IncludeViewModule.html index 032e690..90ee34f 100644 --- a/src/Tests/ControlTests/testoutputs/ViewModulesServerSideTests.IncludeViewModule.html +++ b/src/Tests/ControlTests/testoutputs/ViewModulesServerSideTests.IncludeViewModule.html @@ -22,7 +22,7 @@ <body> <input id="__dot_viewmodel_root" type="hidden" value="{ &quot;viewModel&quot;: { - &quot;$type&quot;: &quot;4n/9KyUdRKOKC0n3&quot;, + &quot;$type&quot;: &quot;MD6qlCGp64JOYYrK&quot;, &quot;$csrfToken&quot;: &quot;Not a CSRF token.&quot; }, &quot;url&quot;: &quot;/testpage&quot;, @@ -36,7 +36,7 @@ &quot;viewModule.init.6DLlOTYMqGV5yPAJoz5k_moKDBgEmZ3_HLLQ2zKDo74&quot; ], &quot;typeMetadata&quot;: { - &quot;4n/9KyUdRKOKC0n3&quot;: {&quot;type&quot;:&quot;object&quot;,&quot;debugName&quot;:&quot;object&quot;,&quot;properties&quot;:{}} + &quot;MD6qlCGp64JOYYrK&quot;: {&quot;type&quot;:&quot;object&quot;,&quot;debugName&quot;:&quot;object&quot;,&quot;properties&quot;:{}} } }"> <script defer="" src="data:text/javascript;base64,ZG90dnZtLm9wdGlvbnMuY29tcHJlc3NQT1NUPWZhbHNlOwp3aW5kb3cuZG90dnZtLmluaXQoImVuLVVTIik7"></script> Is this change OK? To let the test pass, stage the file in git. Confused? See https://github.com/exyi/CheckTestOutput/blob/master/trouble.md#changed-file
.NET unit tests (windows-2022)
Process completed with exit code 1.
Build all projects without errors: src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build all projects without errors: src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
Build all projects without errors: src/Samples/Api.Common/Model/Order.cs#L19
The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build all projects without errors: src/Samples/Api.Common/Model/Order.cs#L19
The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
Build all projects without errors: src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build all projects without errors: src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
Build all projects without errors: src/Samples/Api.Common/Model/Order.cs#L19
The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build all projects without errors: src/Samples/Api.Common/Model/Order.cs#L19
The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
Build all projects without errors: src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonPropertyAttribute' could not be found (are you missing a using directive or an assembly reference?)
Build all projects without errors: src/Samples/Api.Common/Model/Order.cs#L13
The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?)
UI tests (chrome, ubuntu-latest, Production, Default)
The job running on runner GitHub Actions 13 has exceeded the maximum execution time of 50 minutes.
UI tests (chrome, ubuntu-latest, Production, ExperimentalFeaturesTests)
The job running on runner GitHub Actions 1 has exceeded the maximum execution time of 50 minutes.
UI tests (firefox, ubuntu-latest, Production, Default)
The job running on runner GitHub Actions 8 has exceeded the maximum execution time of 50 minutes.
UI tests (firefox, ubuntu-latest, Development, Default)
The job running on runner GitHub Actions 19 has exceeded the maximum execution time of 50 minutes.
UI tests (firefox, ubuntu-latest, Development, ExperimentalFeaturesTests)
The job running on runner GitHub Actions 11 has exceeded the maximum execution time of 50 minutes.
.NET unit tests (macOS-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JS unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JS unit tests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build published projects without warnings (Debug)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build published projects without warnings (Debug)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build published projects without warnings (Debug)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build published projects without warnings (Debug)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build published projects without warnings (Release)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build published projects without warnings (Release)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build published projects without warnings (Release)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build published projects without warnings (Release)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
.NET unit tests (ubuntu-latest)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
.NET unit tests (ubuntu-latest)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
.NET unit tests (ubuntu-latest)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
.NET unit tests (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
UI tests (chrome, windows-2022, Development, Default)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
UI tests (chrome, windows-2022, Development, Default)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
UI tests (chrome, windows-2022, Development, Default)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
UI tests (chrome, windows-2022, Development, Default)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3, microsoft/setup-msbuild@v1.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
.NET unit tests (windows-2022)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
.NET unit tests (windows-2022)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
.NET unit tests (windows-2022)
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
.NET unit tests (windows-2022)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3, microsoft/setup-msbuild@v1.1, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build all projects without errors
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build all projects without errors
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build all projects without errors
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build all projects without errors
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, nuget/setup-nuget@v1, actions/cache@v3, actions/setup-node@v3, actions/setup-dotnet@v3, microsoft/setup-msbuild@v1.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build all projects without errors
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build all projects without errors
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build all projects without errors
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "analyzers-tests-net6.0-Debug-Linux", "analyzers-tests-net6.0-Debug-Windows", "analyzers-tests-net6.0-Release-Linux", "analyzers-tests-net6.0-Release-Windows", "framework-tests-net8.0-Debug-Linux", "framework-tests-net8.0-Debug-Windows", "framework-tests-net8.0-Release-Linux", "framework-tests-net8.0-Release-Windows". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
analyzers-tests-net6.0-Debug-Linux
67.4 KB
analyzers-tests-net6.0-Debug-Windows
66.6 KB
analyzers-tests-net6.0-Release-Linux
67.6 KB
analyzers-tests-net6.0-Release-Windows
66.8 KB
framework-tests-net8.0-Debug-Linux
2.58 MB
framework-tests-net8.0-Debug-Windows
2.6 MB
framework-tests-net8.0-Release-Linux
2.58 MB
framework-tests-net8.0-Release-Windows
2.6 MB