Loads global .env in vite.config to fix vscode extension #28653
CI.yml
on: pull_request
Matrix: Commonwealth Unit Tests
Matrix: Code Quality Recommendations
Matrix: Code Quality checks
Matrix: EVM Devnet Tests
Matrix: Commonwealth Integration Tests
Matrix: Detect Broken TS expect errors
Matrix: Commonwealth Mature E2E Tests
Matrix: Commonwealth E2E Tests
Matrix: Commonwealth E2E Tests Serial
Matrix: Upload Test Coverage Report
Annotations
14 errors and 5 warnings
test/devnet/evm/evmChainEvents.spec.ts > EVM Chain Events Devnet Tests > EVM Chain Events End to End Tests:
packages/commonwealth/test/devnet/evm/evmChainEvents.spec.ts#L335
SequelizeDatabaseError: relation "ChainNodes" does not exist
❯ Query.run ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.insert ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/abstract/query-interface.js:795:21
❯ model.save ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:4154:35
❯ Function.create ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2305:12
❯ test/devnet/evm/evmChainEvents.spec.ts:335:19
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: relation "ChainNodes" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "ChainNodes" does not exist', length: 109, name: 'error', severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1392', routine: 'parserOpenTable', sql: 'INSERT INTO "ChainNodes" ("id","url","eth_chain_id","balance_type","name","max_ce_block_range","created_at","updated_at") VALUES (DEFAULT,$1,$2,$3,$4,$5,$6,$7) RETURNING "id","url","eth_chain_id","cosmos_chain_id","alt_wallet_url","private_url","balance_type","name","description","health","ss58","bech32","cosmos_gov_version","block_explorer","slip44","max_ce_block_range","created_at","updated_at";', parameters: [ 'http://localhost:8545', 84532, 'ethereum', 'Local Base Sepolia', -1, '2024-11-13 20:36:30.741 +00:00', '2024-11-13 20:36:30.741 +00:00' ], constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: relation "ChainNodes" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "ChainNodes" does not exist', length: 109, name: 'error', severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined,
|
test/devnet/evm/tokenBalanceFetching.spec.ts > Token Balance Cache EVM Tests:
libs/model/src/tester/seedDb.ts#L25
SequelizeDatabaseError: relation "Users" does not exist
❯ Query.run ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.bulkInsert ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/abstract/query-interface.js:881:21
❯ recursiveBulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2851:25
❯ Function.bulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2977:12
❯ Module.seedDb ../../libs/model/src/tester/seedDb.ts:25:5
❯ test/devnet/evm/tokenBalanceFetching.spec.ts:97:14
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "Users" does not exist', length: 104, name: 'error', severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1392', routine: 'parserOpenTable', sql: 'INSERT INTO "Users" ("id","email","emailVerified","emailNotificationInterval","is_welcome_onboard_flow_complete","isAdmin","disableRichText","profile","xp_points","created_at","updated_at") VALUES (DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:36:19.092 +00:00\',\'2024-11-13 20:36:19.092 +00:00\'),(DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:36:19.092 +00:00\',\'2024-11-13 20:36:19.092 +00:00\') RETURNING "id","email","emailVerified","emailNotificationInterval","promotional_emails_enabled","is_welcome_onboard_flow_complete","isAdmin","disableRichText","selected_community_id","profile","xp_points","created_at","updated_at";', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "Users" does not exist', le
|
EVM Devnet Tests (20)
Process completed with exit code 1.
|
Commonwealth Unit Tests (20)
Process completed with exit code 1.
|
test/integration/databaseCleaner.spec.ts > DatabaseCleaner Tests:
libs/model/src/tester/seedDb.ts#L25
SequelizeDatabaseError: relation "Users" does not exist
❯ Query.run ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.bulkInsert ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/abstract/query-interface.js:881:21
❯ recursiveBulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2851:25
❯ Function.bulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2977:12
❯ Module.seedDb ../../libs/model/src/tester/seedDb.ts:25:5
❯ test/integration/databaseCleaner.spec.ts:29:14
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "Users" does not exist', length: 104, name: 'error', severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1392', routine: 'parserOpenTable', sql: 'INSERT INTO "Users" ("id","email","emailVerified","emailNotificationInterval","is_welcome_onboard_flow_complete","isAdmin","disableRichText","profile","xp_points","created_at","updated_at") VALUES (DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:37:21.659 +00:00\',\'2024-11-13 20:37:21.659 +00:00\'),(DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:37:21.659 +00:00\',\'2024-11-13 20:37:21.659 +00:00\') RETURNING "id","email","emailVerified","emailNotificationInterval","promotional_emails_enabled","is_welcome_onboard_flow_complete","isAdmin","disableRichText","selected_community_id","profile","xp_points","created_at","updated_at";', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "Users" does not exist', length
|
test/integration/api/apiKeyAuthentication.spec.ts > API KeyAuthentication:
libs/model/src/tester/seed.ts#L121
SequelizeDatabaseError: relation "ChainNodes" does not exist
❯ Query.run ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.insert ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/abstract/query-interface.js:795:21
❯ model.save ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:4154:35
❯ Function.create ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2305:12
❯ _seed ../../libs/model/src/tester/seed.ts:121:5
❯ Module.seed ../../libs/model/src/tester/seed.ts:68:3
❯ test/integration/api/apiKeyAuthentication.spec.ts:28:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: relation "ChainNodes" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "ChainNodes" does not exist', length: 109, name: 'error', severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1392', routine: 'parserOpenTable', sql: 'INSERT INTO "ChainNodes" ("id","url","eth_chain_id","cosmos_chain_id","alt_wallet_url","private_url","balance_type","name","description","health","ss58","bech32","cosmos_gov_version","block_explorer","slip44","max_ce_block_range","created_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18) RETURNING "id","url","eth_chain_id","cosmos_chain_id","alt_wallet_url","private_url","balance_type","name","description","health","ss58","bech32","cosmos_gov_version","block_explorer","slip44","max_ce_block_range","created_at","updated_at";', parameters: [ 132077884, 'https://joyful-yourself.org', 1, null, null, null, 'ethereum', 'Joann Nikolaus', null, null, null, null, null, null, null, null, '2024-11-14 04:09:41.566 +00:00', '2024-11-13 20:37:07.498 +00:00' ], constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: relation "ChainNodes" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n
|
test/integration/api/chainNodes.spec.ts > ChainNode Tests:
libs/model/src/tester/seedDb.ts#L25
SequelizeDatabaseError: relation "Users" does not exist
❯ Query.run ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.bulkInsert ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/abstract/query-interface.js:881:21
❯ recursiveBulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2851:25
❯ Function.bulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2977:12
❯ Module.seedDb ../../libs/model/src/tester/seedDb.ts:25:5
❯ test/integration/api/chainNodes.spec.ts:13:14
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "Users" does not exist', length: 104, name: 'error', severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1392', routine: 'parserOpenTable', sql: 'INSERT INTO "Users" ("id","email","emailVerified","emailNotificationInterval","is_welcome_onboard_flow_complete","isAdmin","disableRichText","profile","xp_points","created_at","updated_at") VALUES (DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:38:09.510 +00:00\',\'2024-11-13 20:38:09.510 +00:00\'),(DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:38:09.510 +00:00\',\'2024-11-13 20:38:09.510 +00:00\') RETURNING "id","email","emailVerified","emailNotificationInterval","promotional_emails_enabled","is_welcome_onboard_flow_complete","isAdmin","disableRichText","selected_community_id","profile","xp_points","created_at","updated_at";', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "Users" does not exist', length:
|
test/integration/api/communityStake.spec.ts > POST communityStakes Tests:
libs/model/src/tester/seedDb.ts#L25
SequelizeDatabaseError: relation "Users" does not exist
❯ Query.run ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.bulkInsert ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/abstract/query-interface.js:881:21
❯ recursiveBulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2851:25
❯ Function.bulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2977:12
❯ Module.seedDb ../../libs/model/src/tester/seedDb.ts:25:5
❯ Module.testServer server-test.ts:43:14
❯ test/integration/api/communityStake.spec.ts:36:14
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "Users" does not exist', length: 104, name: 'error', severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1392', routine: 'parserOpenTable', sql: 'INSERT INTO "Users" ("id","email","emailVerified","emailNotificationInterval","is_welcome_onboard_flow_complete","isAdmin","disableRichText","profile","xp_points","created_at","updated_at") VALUES (DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:38:05.486 +00:00\',\'2024-11-13 20:38:05.486 +00:00\'),(DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:38:05.486 +00:00\',\'2024-11-13 20:38:05.486 +00:00\') RETURNING "id","email","emailVerified","emailNotificationInterval","promotional_emails_enabled","is_welcome_onboard_flow_complete","isAdmin","disableRichText","selected_community_id","profile","xp_points","created_at","updated_at";', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', messa
|
test/integration/api/cosmosCache.spec.ts > Cosmos Cache:
libs/model/src/tester/seedDb.ts#L25
SequelizeDatabaseError: relation "Users" does not exist
❯ Query.run ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.bulkInsert ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/abstract/query-interface.js:881:21
❯ recursiveBulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2851:25
❯ Function.bulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2977:12
❯ Module.seedDb ../../libs/model/src/tester/seedDb.ts:25:5
❯ Module.testServer server-test.ts:43:14
❯ test/integration/api/cosmosCache.spec.ts:46:14
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "Users" does not exist', length: 104, name: 'error', severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1392', routine: 'parserOpenTable', sql: 'INSERT INTO "Users" ("id","email","emailVerified","emailNotificationInterval","is_welcome_onboard_flow_complete","isAdmin","disableRichText","profile","xp_points","created_at","updated_at") VALUES (DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:36:58.198 +00:00\',\'2024-11-13 20:36:58.198 +00:00\'),(DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:36:58.198 +00:00\',\'2024-11-13 20:36:58.198 +00:00\') RETURNING "id","email","emailVerified","emailNotificationInterval","promotional_emails_enabled","is_welcome_onboard_flow_complete","isAdmin","disableRichText","selected_community_id","profile","xp_points","created_at","updated_at";', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message:
|
test/integration/api/createComment.spec.ts > createComment Integration Tests:
libs/model/src/tester/seedDb.ts#L25
SequelizeDatabaseError: relation "Users" does not exist
❯ Query.run ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.bulkInsert ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/abstract/query-interface.js:881:21
❯ recursiveBulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2851:25
❯ Function.bulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2977:12
❯ Module.seedDb ../../libs/model/src/tester/seedDb.ts:25:5
❯ Module.testServer server-test.ts:43:14
❯ test/integration/api/createComment.spec.ts:66:14
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "Users" does not exist', length: 104, name: 'error', severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1392', routine: 'parserOpenTable', sql: 'INSERT INTO "Users" ("id","email","emailVerified","emailNotificationInterval","is_welcome_onboard_flow_complete","isAdmin","disableRichText","profile","xp_points","created_at","updated_at") VALUES (DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:37:46.909 +00:00\',\'2024-11-13 20:37:46.909 +00:00\'),(DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:37:46.909 +00:00\',\'2024-11-13 20:37:46.909 +00:00\') RETURNING "id","email","emailVerified","emailNotificationInterval","promotional_emails_enabled","is_welcome_onboard_flow_complete","isAdmin","disableRichText","selected_community_id","profile","xp_points","created_at","updated_at";', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', messag
|
test/integration/api/createReactions.spec.ts > createReaction Integration Tests:
libs/model/src/tester/seedDb.ts#L25
SequelizeDatabaseError: relation "Users" does not exist
❯ Query.run ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.bulkInsert ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/abstract/query-interface.js:881:21
❯ recursiveBulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2851:25
❯ Function.bulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2977:12
❯ Module.seedDb ../../libs/model/src/tester/seedDb.ts:25:5
❯ Module.testServer server-test.ts:43:14
❯ test/integration/api/createReactions.spec.ts:54:14
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "Users" does not exist', length: 104, name: 'error', severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1392', routine: 'parserOpenTable', sql: 'INSERT INTO "Users" ("id","email","emailVerified","emailNotificationInterval","is_welcome_onboard_flow_complete","isAdmin","disableRichText","profile","xp_points","created_at","updated_at") VALUES (DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:37:52.201 +00:00\',\'2024-11-13 20:37:52.201 +00:00\'),(DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:37:52.201 +00:00\',\'2024-11-13 20:37:52.201 +00:00\') RETURNING "id","email","emailVerified","emailNotificationInterval","promotional_emails_enabled","is_welcome_onboard_flow_complete","isAdmin","disableRichText","selected_community_id","profile","xp_points","created_at","updated_at";', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', mess
|
test/integration/api/getAddressProfile.spec.ts > getAddressProfile tests:
libs/model/src/tester/seedDb.ts#L25
SequelizeDatabaseError: relation "Users" does not exist
❯ Query.run ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.bulkInsert ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/abstract/query-interface.js:881:21
❯ recursiveBulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2851:25
❯ Function.bulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2977:12
❯ Module.seedDb ../../libs/model/src/tester/seedDb.ts:25:5
❯ Module.testServer server-test.ts:43:14
❯ test/integration/api/getAddressProfile.spec.ts:11:14
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "Users" does not exist', length: 104, name: 'error', severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1392', routine: 'parserOpenTable', sql: 'INSERT INTO "Users" ("id","email","emailVerified","emailNotificationInterval","is_welcome_onboard_flow_complete","isAdmin","disableRichText","profile","xp_points","created_at","updated_at") VALUES (DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:38:34.573 +00:00\',\'2024-11-13 20:38:34.573 +00:00\'),(DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:38:34.573 +00:00\',\'2024-11-13 20:38:34.573 +00:00\') RETURNING "id","email","emailVerified","emailNotificationInterval","promotional_emails_enabled","is_welcome_onboard_flow_complete","isAdmin","disableRichText","selected_community_id","profile","xp_points","created_at","updated_at";', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', me
|
test/integration/api/getRelatedCommunities.spec.ts > GetRelatedCommunities Tests:
libs/model/src/tester/seedDb.ts#L25
SequelizeDatabaseError: relation "Users" does not exist
❯ Query.run ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.bulkInsert ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/abstract/query-interface.js:881:21
❯ recursiveBulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2851:25
❯ Function.bulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2977:12
❯ Module.seedDb ../../libs/model/src/tester/seedDb.ts:25:5
❯ test/integration/api/getRelatedCommunities.spec.ts:11:14
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "Users" does not exist', length: 104, name: 'error', severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1392', routine: 'parserOpenTable', sql: 'INSERT INTO "Users" ("id","email","emailVerified","emailNotificationInterval","is_welcome_onboard_flow_complete","isAdmin","disableRichText","profile","xp_points","created_at","updated_at") VALUES (DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:38:57.470 +00:00\',\'2024-11-13 20:38:57.470 +00:00\'),(DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:38:57.470 +00:00\',\'2024-11-13 20:38:57.470 +00:00\') RETURNING "id","email","emailVerified","emailNotificationInterval","promotional_emails_enabled","is_welcome_onboard_flow_complete","isAdmin","disableRichText","selected_community_id","profile","xp_points","created_at","updated_at";', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "Users" does not exis
|
test/integration/api/getRoles.spec.ts > get roles Integration Tests:
libs/model/src/tester/seedDb.ts#L25
SequelizeDatabaseError: relation "Users" does not exist
❯ Query.run ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/postgres/query.js:76:25
❯ ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/sequelize.js:650:28
❯ PostgresQueryInterface.bulkInsert ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/dialects/abstract/query-interface.js:881:21
❯ recursiveBulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2851:25
❯ Function.bulkCreate ../../node_modules/.pnpm/[email protected][email protected]/node_modules/sequelize/src/model.js:2977:12
❯ Module.seedDb ../../libs/model/src/tester/seedDb.ts:25:5
❯ Module.testServer server-test.ts:43:14
❯ test/integration/api/getRoles.spec.ts:18:14
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { parent: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'relation "Users" does not exist', length: 104, name: 'error', severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '13', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1392', routine: 'parserOpenTable', sql: 'INSERT INTO "Users" ("id","email","emailVerified","emailNotificationInterval","is_welcome_onboard_flow_complete","isAdmin","disableRichText","profile","xp_points","created_at","updated_at") VALUES (DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:39:11.520 +00:00\',\'2024-11-13 20:39:11.520 +00:00\'),(DEFAULT,\'[email protected]\',true,\'never\',true,true,false,\'{}\',0,\'2024-11-13 20:39:11.520 +00:00\',\'2024-11-13 20:39:11.520 +00:00\') RETURNING "id","email","emailVerified","emailNotificationInterval","promotional_emails_enabled","is_welcome_onboard_flow_complete","isAdmin","disableRichText","selected_community_id","profile","xp_points","created_at","updated_at";', parameters: undefined, constructor: 'Function<DatabaseError>', toString: 'Function<toString>' }, original: { stack: 'error: relation "Users" does not exist\n at Parser.parseErrorMessage (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:369:69)\n at Parser.handlePacket (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:188:21)\n at Parser.parse (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/parser.ts:103:30)\n at Socket.<anonymous> (/home/runner/work/commonwealth/commonwealth/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/src/index.ts:7:48)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:559:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)\n at Socket.Readable.push (node:internal/streams/readable:390:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:191:23)', message: 'r
|
Commonwealth Mature E2E Tests (20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Commonwealth E2E Tests Serial (20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Commonwealth E2E Tests Serial (20)
No files were found with the provided path: coverage. No artifacts will be uploaded.
|
Commonwealth E2E Tests (20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "FlakySuiteStatus", "MatureSuiteStatus".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
FlakySuiteStatus
|
3.24 KB |
|
MatureSuiteStatus
|
314 Bytes |
|