Skip to content

Use -unrestricted for e2e non-fast tests #769

Use -unrestricted for e2e non-fast tests

Use -unrestricted for e2e non-fast tests #769

GitHub Actions / E2E report yarn test-sequential-no-bootstrap failed Dec 2, 2024 in 0s

E2E report yarn test-sequential-no-bootstrap ❌

Tests failed

❌ e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml

14 tests were completed in 738s with 2 passed, 12 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/bootstrap.claimAndActivate.test.ts 2✅ 468s
test/sequential/xyk-pallet.API.accuracy.MGA.fees.test.ts 1❌ 23s
test/sequential/xyk-pallet.API.treasury.v2.test.ts 9❌ 36s
test/sequential/xyk-pallet.scenarios.v2.test.ts 2❌ 210s

✅ test/sequential/bootstrap.claimAndActivate.test.ts

bootstrap - checking bootstrapped pool in different situations
  ✅ bootstrap - checking claiming and activating rewards. Promoting pool is true, vesting MGA token for User1 is false
  ✅ bootstrap - checking claiming and activating rewards. Promoting pool is false, vesting MGA token for User1 is false

❌ test/sequential/xyk-pallet.API.accuracy.MGA.fees.test.ts

❌ xyk-pallet - Assets substracted are incremented by 1 - MGA- SellAsset
	TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')

❌ test/sequential/xyk-pallet.API.treasury.v2.test.ts

xyk-pallet - treasury tests [Mangata]: on treasury we store
  ❌ assets won when assets are sold [Selling Mangata] - 5
	TypeError: Cannot read properties of undefined (reading 'sellAsset')
  ❌ assets won when assets are bought [Buying Mangata]
	TypeError: Cannot read properties of undefined (reading 'buyAsset')
  ❌ assets won when assets are sold [Selling other in MGA pool] - 6
	TypeError: Cannot read properties of undefined (reading 'sellAsset')
  ❌ assets won when assets are bought [Buying other in MGA pool]
	TypeError: Cannot read properties of undefined (reading 'buyAsset')
xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store
  ❌ assets won when assets are sold [Selling X connected to MGA pool] - rounding
	TypeError: Cannot read properties of undefined (reading 'sellAsset')
  ❌ assets won when assets are bought [Buying X connected to MGA pool]
	TypeError: Cannot read properties of undefined (reading 'buyAsset')
  ❌ assets won when assets are sold [Selling Y - X connected toMGA pool] - 6
	TypeError: Cannot read properties of undefined (reading 'sellAsset')
  ❌ assets won when assets are bought [Buying Y - X connected toMGA pool] - 6
	TypeError: Cannot read properties of undefined (reading 'buyAsset')
xyk-pallet - treasury tests [Connected - Mangata]: Error cases
  ❌ Not enough tokens to convert fee LINK[https://trello.com/c/p77t0atO]
	TypeError: Cannot read properties of undefined (reading 'buyAsset')

❌ test/sequential/xyk-pallet.scenarios.v2.test.ts

xyk-pallet: Happy case scenario
  ❌ xyk-pallet: Happy case scenario
	TypeError: Cannot read properties of undefined (reading 'sellAsset')
xyk-pallet: Liquidity sufficiency scenario
  ❌ xyk-pallet: Liquidity sufficiency scenario
	TypeError: Cannot read properties of undefined (reading 'sellAsset')

Annotations

Check failure on line 0 in e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.accuracy.MGA.fees.test.ts ► xyk-pallet - Assets substracted are incremented by 1 - MGA- SellAsset

Failed test found in:
  e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'multiswapSellAsset')
    at multiswapSellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/node_modules/gasp-sdk/index.js:4648:25)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Mangata]: on treasury we store ► assets won when assets are sold [Selling Mangata] - 5

Failed test found in:
  e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'sellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'sellAsset')
    at Function.sellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:49:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:88:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Mangata]: on treasury we store ► assets won when assets are bought [Buying Mangata]

Failed test found in:
  e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'buyAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'buyAsset')
    at Function.buyAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:63:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:122:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Mangata]: on treasury we store ► assets won when assets are sold [Selling other in MGA pool] - 6

Failed test found in:
  e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'sellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'sellAsset')
    at Function.sellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:49:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:154:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Mangata]: on treasury we store ► assets won when assets are bought [Buying other in MGA pool]

Failed test found in:
  e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'buyAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'buyAsset')
    at Function.buyAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:63:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:190:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store ► assets won when assets are sold [Selling X connected to MGA pool] - rounding

Failed test found in:
  e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'sellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'sellAsset')
    at Function.sellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:49:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:271:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store ► assets won when assets are bought [Buying X connected to MGA pool]

Failed test found in:
  e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'buyAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'buyAsset')
    at Function.buyAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:63:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:327:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store ► assets won when assets are sold [Selling Y - X connected toMGA pool] - 6

Failed test found in:
  e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'sellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'sellAsset')
    at Function.sellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:49:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:360:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Connected - Mangata]: on treasury we store ► assets won when assets are bought [Buying Y - X connected toMGA pool] - 6

Failed test found in:
  e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'buyAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'buyAsset')
    at Function.buyAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:63:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:412:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.API.treasury.v2.test.ts ► xyk-pallet - treasury tests [Connected - Mangata]: Error cases ► Not enough tokens to convert fee LINK[https://trello.com/c/p77t0atO]

Failed test found in:
  e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'buyAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'buyAsset')
    at Function.buyAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:63:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:471:11
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.API.treasury.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check failure on line 0 in e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml

See this annotation in the file changed.

@github-actions github-actions / E2E report yarn test-sequential-no-bootstrap

test/sequential/xyk-pallet.scenarios.v2.test.ts ► xyk-pallet: Happy case scenario ► xyk-pallet: Happy case scenario

Failed test found in:
  e2eTests/reports/junit.xml-d45a48b0-b09f-11ef-8b47-9ffc118c0036.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'sellAsset')
Raw output
TypeError: Cannot read properties of undefined (reading 'sellAsset')
    at Function.sellAsset (/home/runner/_work/mangata-node/mangata-node/e2eTests/utils/xyk.ts:49:23)
    at /home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.scenarios.v2.test.ts:274:33
    at Generator.next (<anonymous>)
    at fulfilled (/home/runner/_work/mangata-node/mangata-node/e2eTests/test/sequential/xyk-pallet.scenarios.v2.test.ts:4:58)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)