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

[WIP] Use EntityAssociationAttribute server side #512

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Ese EntityAssociationAttribute server side

bf29e9d
Select commit
Loading
Failed to load commit list.
Draft

[WIP] Use EntityAssociationAttribute server side #512

Ese EntityAssociationAttribute server side
bf29e9d
Select commit
Loading
Failed to load commit list.
Azure Pipelines / OpenRIAServices.OpenRiaServices failed Jun 10, 2024 in 12m 43s

Build #5.4.4-PullRequest0512.12 had test failures

Details

Tests

  • Failed: 39 (1.42%)
  • Passed: 2,688 (98.03%)
  • Other: 15 (0.55%)
  • Total: 2,742
Code coverage

  • 165845 of 231623 blocks covered (71.60%)
  • 108382 of 156960 lines covered (69.05%)

Annotations

Check failure on line 3970 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / OpenRIAServices.OpenRiaServices

Build log #L3970

Test Run Failed.

Check failure on line 3987 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / OpenRIAServices.OpenRiaServices

Build log #L3987

Error: The process 'D:\a\_tasks\VSTest_ef087383-ee5e-42c7-9a53-ab56c98420f9\2.238.2\Modules\DTAExecutionHost.exe' failed with exit code 1

Check failure on line 3988 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / OpenRIAServices.OpenRiaServices

Build log #L3988

Vstest failed with error. Check logs for failures. There might be failed tests.

Check failure on line 1 in OpenRiaServices.Tools.Test.CodeGenDomainServices.TestClientCodegen_InheritanceScenarios_FullTypes

See this annotation in the file changed.

@azure-pipelines azure-pipelines / OpenRIAServices.OpenRiaServices

OpenRiaServices.Tools.Test.CodeGenDomainServices.TestClientCodegen_InheritanceScenarios_FullTypes

Assert.Fail failed.  Generated file is different than the expected reference file.
    Expected file:       D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_Inherit_FullTypes\InheritanceScenarios1.g.cs
    Newly generated file: D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_Inherit_FullTypes\InheritanceScenarios1.g.cs.testgen

 ---------------- To make this the new reference file, execute this ------------------

    copy "D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_Inherit_FullTypes\InheritanceScenarios1.g.cs.testgen" "D:\a\1\s\src\test\Desktop\OpenRiaServices.Common.DomainServices.Test\Baselines\FullTypeNames\Scenarios\InheritanceScenarios1.g.cs"

 ------------------- To update all baselines, that failed in the current run, execute following from command prompt ------------------

"D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\updateAllBaselines.bat"

Raw output
   at OpenRiaServices.Tools.Test.TestHelper.ValidateFilesEqual(String relativeTestDir, String relativeDeployDir, String generatedFileName, String referenceFileName, String language) in \src\OpenRiaServices.Tools\Test\TestHelper.cs:line 68
   at OpenRiaServices.Tools.Test.TestHelper.ValidateLanguageCodeGen(CodeGenValidationOptions codeGenOptions) in \src\OpenRiaServices.Tools\Test\TestHelper.cs:line 808
   at OpenRiaServices.Tools.Test.CodeGenDomainServices.TestClientCodegen_InheritanceScenarios_FullTypes() in \src\OpenRiaServices.Tools\Test\CodeGenDomainServices.cs:line 311

Check failure on line 1 in OpenRiaServices.Tools.Test.CodeGenDomainServices.TestClientCodegen_EFCoreEFDbCtxDomainServices_FullTypes

See this annotation in the file changed.

@azure-pipelines azure-pipelines / OpenRIAServices.OpenRiaServices

OpenRiaServices.Tools.Test.CodeGenDomainServices.TestClientCodegen_EFCoreEFDbCtxDomainServices_FullTypes

Assert.Fail failed.  Generated file is different than the expected reference file.
    Expected file:       D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_EFDbContext_FullTypes\EFCoreDbContextScenarios.g.cs
    Newly generated file: D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_EFDbContext_FullTypes\EFCoreDbContextScenarios.g.cs.testgen

 ---------------- To make this the new reference file, execute this ------------------

    copy "D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_EFDbContext_FullTypes\EFCoreDbContextScenarios.g.cs.testgen" "D:\a\1\s\src\test\Desktop\OpenRiaServices.Common.DomainServices.Test\Baselines\FullTypeNames\Scenarios\EFCoreDbContextScenarios.g.cs"

 ------------------- To update all baselines, that failed in the current run, execute following from command prompt ------------------

"D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\updateAllBaselines.bat"

 Generated file is different than the expected reference file.
    Expected file:       D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_EFDbContext_FullTypes\EFCoreDbContextScenarios.g.vb
    Newly generated file: D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_EFDbContext_FullTypes\EFCoreDbContextScenarios.g.vb.testgen

 ---------------- To make this the new reference file, execute this ------------------

    copy "D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_EFDbContext_FullTypes\EFCoreDbContextScenarios.g.vb.testgen" "D:\a\1\s\src\test\Desktop\OpenRiaServices.Common.DomainServices.Test\Baselines\FullTypeNames\Scenarios\EFCoreDbContextScenarios.g.vb"

 ------------------- To update all baselines, that failed in the current run, execute following from command prompt ------------------

"D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\updateAllBaselines.bat"

Raw output
   at OpenRiaServices.Tools.Test.TestHelper.ValidateCodeGen(CodeGenValidationOptions options) in \src\OpenRiaServices.Tools\Test\TestHelper.cs:line 718
   at OpenRiaServices.Tools.Test.CodeGenDomainServices.TestClientCodegen_EFCoreEFDbCtxDomainServices_FullTypes() in \src\OpenRiaServices.Tools\Test\CodeGenDomainServices.cs:line 183

Check failure on line 1 in OpenRiaServices.Server.Test.DomainServiceDescriptionTest.EditableFalse_DALInference

See this annotation in the file changed.

@azure-pipelines azure-pipelines / OpenRIAServices.OpenRiaServices

OpenRiaServices.Server.Test.DomainServiceDescriptionTest.EditableFalse_DALInference

Test method OpenRiaServices.Server.Test.DomainServiceDescriptionTest.EditableFalse_DALInference threw exception: 
System.InvalidOperationException: Sequence contains no elements
Raw output
    at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
   at OpenRiaServices.Server.Test.DomainServiceDescriptionTest.EditableFalse_DALInference() in \src\OpenRiaServices.Server\Test\DomainServiceDescriptionTest.cs:line 472

Check failure on line 1 in OpenRiaServices.Tools.Test.CodeGenDomainServices.TestClientCodegen_EFDbCtxDomainServices

See this annotation in the file changed.

@azure-pipelines azure-pipelines / OpenRIAServices.OpenRiaServices

OpenRiaServices.Tools.Test.CodeGenDomainServices.TestClientCodegen_EFDbCtxDomainServices

Assert.Fail failed.  Generated file is different than the expected reference file.
    Expected file:       D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_EFDbContext\EFDbContextScenarios.g.cs
    Newly generated file: D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_EFDbContext\EFDbContextScenarios.g.cs.testgen

 ---------------- To make this the new reference file, execute this ------------------

    copy "D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_EFDbContext\EFDbContextScenarios.g.cs.testgen" "D:\a\1\s\src\test\Desktop\OpenRiaServices.Common.DomainServices.Test\Baselines\Default\Scenarios\EFDbContextScenarios.g.cs"

 ------------------- To update all baselines, that failed in the current run, execute following from command prompt ------------------

"D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\updateAllBaselines.bat"

 Generated file is different than the expected reference file.
    Expected file:       D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_EFDbContext\EFDbContextScenarios.g.vb
    Newly generated file: D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_EFDbContext\EFDbContextScenarios.g.vb.testgen

 ---------------- To make this the new reference file, execute this ------------------

    copy "D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\CG_Scenarios_EFDbContext\EFDbContextScenarios.g.vb.testgen" "D:\a\1\s\src\test\Desktop\OpenRiaServices.Common.DomainServices.Test\Baselines\Default\Scenarios\EFDbContextScenarios.g.vb"

 ------------------- To update all baselines, that failed in the current run, execute following from command prompt ------------------

"D:\a\_temp\TestResults\Deploy_VssAdministrator 20240610T105111_5292\Out\updateAllBaselines.bat"

Raw output
   at OpenRiaServices.Tools.Test.TestHelper.ValidateCodeGen(CodeGenValidationOptions options) in \src\OpenRiaServices.Tools\Test\TestHelper.cs:line 718
   at OpenRiaServices.Tools.Test.CodeGenDomainServices.TestClientCodegen_EFDbCtxDomainServices() in \src\OpenRiaServices.Tools\Test\CodeGenDomainServices.cs:line 150