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

dashmate e2e tests are failing due to DKG interval check #2170

Closed
shumkov opened this issue Sep 26, 2024 · 0 comments · Fixed by #2171
Closed

dashmate e2e tests are failing due to DKG interval check #2170

shumkov opened this issue Sep 26, 2024 · 0 comments · Fixed by #2171
Assignees
Labels
bug Something isn't working

Comments

@shumkov
Copy link
Member

shumkov commented Sep 26, 2024

Expected Behavior

Dashmate e2e tests shouldn't fail due to DKG interval check in the restart/stop commands.

Current Behavior

      ✔ should start local network (274598ms)
    restart
[STARTED] Task without title.
[STARTED] Check node is running
[SUCCESS] Check node is running
[STARTED] Check node is participating in DKG
[FAILED] Your node is currently participating in DKG exchange session and stopping it right now may result in PoSE ban. Try again later, or continue with --force or --safe flags
[FAILED] Your node is currently participating in DKG exchange session and stopping it right now may result in PoSE ban. Try again later, or continue with --force or --safe flags
      1) should restart local network


  2 passing (6m)
  1 failing

  1) Local Network
       restart
         should restart local network:
     Error: Your node is currently participating in DKG exchange session and stopping it right now may result in PoSE ban. Try again later, or continue with --force or --safe flags
      at Task.task (file:///home/ubuntu/actions-runner/_work/platform/platform/packages/dashmate/src/listr/tasks/stopNodeTaskFactory.js:55:19)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async Task.run (file:///home/ubuntu/actions-runner/_work/platform/platform/.yarn/__virtual__/listr2-virtual-11e98e34b3/0/cache/listr2-npm-5.0.7-f7d9c71212-ec2732a45c.zip/node_modules/listr2/dist/index.js:935:11)
      at async /home/ubuntu/actions-runner/_work/platform/platform/.yarn/cache/p-map-npm-4.0.0-4677ae07c7-7ba4a2b1e2.zip/node_modules/p-map/index.js:57:22

Possible Solution

Pass the --safe flag to wait until DKG interval is finished instead of throwing errors.

Steps to Reproduce (for bugs)

Run dashmate e2e tests multiple times until you see this problem.

Context

This issue breaks CI so you waste your and self-hosted runners time

Your Environment

  • Version used: 1.4.0
  • Environment name and version (e.g. Chrome 39, node.js 5.4): Github Actions runner
  • Operating System and version (desktop, server, or mobile):
  • Link to your project:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant