Skip to content

Setup new matrix for run with chops - dynamic matrix #1403

Setup new matrix for run with chops - dynamic matrix

Setup new matrix for run with chops - dynamic matrix #1403

GitHub Actions / E2E report yarn test-rewards-bootstrap failed Nov 14, 2023 in 0s

E2E report yarn test-rewards-bootstrap ❌

Tests failed

❌ e2eTests/reports/junit.xml-213c2b10-82ef-11ee-8a64-5938c888f6f1.xml

8 tests were completed in 1260s with 3 passed, 5 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/bootstrap.configuration.test.ts 2❌ 60s
test/sequential/bootstrap.updatePromotion.test.ts 1❌ 60s
test/sequential/xyk-pallet.asset.bootstrap.register.test.ts 3✅ 2❌ 1140s

❌ test/sequential/bootstrap.configuration.test.ts

❌ bootstrap - Check non-sudo user cannot start bootstrap
	Error:   --- TX Mapping issue ---
❌ bootstrap - Check happy path bootstrap with one user
	Error:   --- TX Mapping issue ---

❌ test/sequential/bootstrap.updatePromotion.test.ts

❌ bootstrap - bootstrap - Check if we can change promoteBootstrapPool in each phase
	Error:   --- TX Mapping issue ---

❌ test/sequential/xyk-pallet.asset.bootstrap.register.test.ts

❌ register asset and then try to register new one with the same location, expect to conflict
	TypeError: Cannot read properties of undefined (reading 'toNumber')
✅ register asset with xyk disabled and try to schedule bootstrap, expect to success
✅ register asset with xyk enabled and try to schedule bootstrap, expect to success
❌ try to schedule bootstrap for token when does not have AssetRegistry, expect to success
	Error: expect(received).toContain(expected) // indexOf
✅ register asset without asset metadata  and try to schedule bootstrap, expect to success

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-213c2b10-82ef-11ee-8a64-5938c888f6f1.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-rewards-bootstrap

test/sequential/bootstrap.configuration.test.ts ► bootstrap - Check non-sudo user cannot start bootstrap

Failed test found in:
  e2eTests/reports/junit.xml-213c2b10-82ef-11ee-8a64-5938c888f6f1.xml
Error:
  Error:   --- TX Mapping issue --- 
Raw output
Error:   --- TX Mapping issue --- 
    at getEventResultFromMangataTx (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/txHandler.ts:159:11)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Bootstrap.ts:58:40
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Bootstrap.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-213c2b10-82ef-11ee-8a64-5938c888f6f1.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-rewards-bootstrap

test/sequential/bootstrap.configuration.test.ts ► bootstrap - Check happy path bootstrap with one user

Failed test found in:
  e2eTests/reports/junit.xml-213c2b10-82ef-11ee-8a64-5938c888f6f1.xml
Error:
  Error:   --- TX Mapping issue --- 
Raw output
Error:   --- TX Mapping issue --- 
    at getEventResultFromMangataTx (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/txHandler.ts:159:11)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Bootstrap.ts:58:40
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Bootstrap.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-213c2b10-82ef-11ee-8a64-5938c888f6f1.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-rewards-bootstrap

test/sequential/bootstrap.updatePromotion.test.ts ► bootstrap - bootstrap - Check if we can change promoteBootstrapPool in each phase

Failed test found in:
  e2eTests/reports/junit.xml-213c2b10-82ef-11ee-8a64-5938c888f6f1.xml
Error:
  Error:   --- TX Mapping issue --- 
Raw output
Error:   --- TX Mapping issue --- 
    at getEventResultFromMangataTx (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/txHandler.ts:159:11)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Bootstrap.ts:58:40
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/Bootstrap.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-213c2b10-82ef-11ee-8a64-5938c888f6f1.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-rewards-bootstrap

test/sequential/xyk-pallet.asset.bootstrap.register.test.ts ► register asset and then try to register new one with the same location, expect to conflict

Failed test found in:
  e2eTests/reports/junit.xml-213c2b10-82ef-11ee-8a64-5938c888f6f1.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'toNumber')
Raw output
TypeError: Cannot read properties of undefined (reading 'toNumber')
    at User.registerAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/User.ts:346:41)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.asset.bootstrap.register.test.ts:102:14
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.asset.bootstrap.register.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-213c2b10-82ef-11ee-8a64-5938c888f6f1.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-rewards-bootstrap

test/sequential/xyk-pallet.asset.bootstrap.register.test.ts ► try to schedule bootstrap for token when does not have AssetRegistry, expect to success

Failed test found in:
  e2eTests/reports/junit.xml-213c2b10-82ef-11ee-8a64-5938c888f6f1.xml
Error:
  Error: expect(received).toContain(expected) // indexOf
Raw output
Error: expect(received).toContain(expected) // indexOf

Expected substring: "Ok"
Received string:    "{\"err\":{\"module\":{\"index\":21,\"error\":\"0x0f000000\"}}}"
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/eventListeners.ts:120:29
    at Generator.next (<anonymous>)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/utils/eventListeners.ts:7:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/eventListeners.ts:3:12)
    at waitSudoOperationSuccess (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/eventListeners.ts:93:12)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.asset.bootstrap.register.test.ts:55:9
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.asset.bootstrap.register.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)