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

Refactor: break down DeploySmartContract into smaller methods to improve readability #3448

Open
wants to merge 1 commit into
base: feature/deterministic-address
Choose a base branch
from

refactor: break down DeploySmartContract into smaller methods to impr…

7c6d5d6
Select commit
Loading
Failed to load commit list.
Open

Refactor: break down DeploySmartContract into smaller methods to improve readability #3448

refactor: break down DeploySmartContract into smaller methods to impr…
7c6d5d6
Select commit
Loading
Failed to load commit list.
Azure Pipelines / AElfProject.AElf failed Sep 21, 2023 in 52m 14s

Build #20230921.10 had test failures

Details

Tests

  • Failed: 24 (1.28%)
  • Passed: 1,817 (96.60%)
  • Other: 40 (2.13%)
  • Total: 1,881

Annotations

Check failure on line 294 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / AElfProject.AElf

Build log #L294

Bash exited with code '1'.

Check failure on line 307 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / AElfProject.AElf

Build log #L307

Bash exited with code '1'.

Check failure on line 288 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / AElfProject.AElf

Build log #L288

Cmd.exe exited with code '1'.

Check failure on line 1 in AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContract_Test

See this annotation in the file changed.

@azure-pipelines azure-pipelines / AElfProject.AElf

AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContract_Test

Shouldly.ShouldAssertException : contractInfo.Version
    should be
1
    but was
0
Raw output
   at AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContract_Test() in /home/vsts/work/1/s/test/AElf.Contracts.Genesis.Tests/GenesisContractAuthTest.cs:line 454
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check failure on line 1 in AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContract_Deterministic_Test

See this annotation in the file changed.

@azure-pipelines azure-pipelines / AElfProject.AElf

AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContract_Deterministic_Test

Shouldly.ShouldAssertException : result.Status
    should be
TransactionResultStatus.Mined
    but was
TransactionResultStatus.Failed
Raw output
   at AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContract_Deterministic_Test() in /home/vsts/work/1/s/test/AElf.Contracts.Genesis.Tests/GenesisContractTests_Deterministic.cs:line 346
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

Check failure on line 1 in AElf.Contracts.Genesis.GenesisContractAuthTest.Deploy_MultiTimes

See this annotation in the file changed.

@azure-pipelines azure-pipelines / AElfProject.AElf

AElf.Contracts.Genesis.GenesisContractAuthTest.Deploy_MultiTimes

Shouldly.ShouldAssertException : contractInfo.Version
    should be
1
    but was
0
Raw output
   at AElf.Contracts.Genesis.GenesisContractAuthTest.Deploy_MultiTimes() in /home/vsts/work/1/s/test/AElf.Contracts.Genesis.Tests/GenesisContractAuthTest.cs:line 332
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

Check failure on line 1 in AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContractTest_Failed_InvalidContractVersion

See this annotation in the file changed.

@azure-pipelines azure-pipelines / AElfProject.AElf

AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContractTest_Failed_InvalidContractVersion

Shouldly.ShouldAssertException : contractInfo.Version
    should be
1
    but was
0
Raw output
   at AElf.Contracts.Genesis.GenesisContractAuthTest.UpdateSmartContractTest_Failed_InvalidContractVersion() in /home/vsts/work/1/s/test/AElf.Contracts.Genesis.Tests/GenesisContractAuthTest.cs:line 550
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)