Skip to content

feat: enable all tegg plugin by defaults #940

feat: enable all tegg plugin by defaults

feat: enable all tegg plugin by defaults #940

Triggered via pull request October 19, 2025 17:01
Status Failure
Total duration 12m 35s
Artifacts

ci.yml

on: pull_request
Matrix: test-egg-bin
Matrix: test-egg-scripts
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

155 errors and 20 warnings
Test scripts (ubuntu-latest, 22, 2/5)
Process completed with exit code 1.
Test scripts (ubuntu-latest, 22, 5/5)
Process completed with exit code 1.
test/start-without-demon-1.test.ts > test/start-without-demon-1.test.ts > read pkgInfo on CommonJS > should --require work: tools/scripts/test/start-without-demon-1.test.ts#L55
AssertionError: expected 'Starting custom-framework application…' to match /@@@ inject script!/ - Expected: /@@@ inject script!/ + Received: "Starting custom-framework application at /home/runner/work/egg/egg/tools/scripts/test/fixtures/pkg-config Spawn `node '--no-deprecation' '--trace-warnings' '/home/runner/work/egg/egg/tools/scripts/scripts/start-cluster.cjs' '{\"workers\":1,\"require\":[\"./inject1.js\",\"inject\",\"./inject2.js\"],\"framework\":\"/home/runner/work/egg/egg/tools/scripts/test/fixtures/pkg-config/node_modules/custom-framework\",\"title\":\"egg-server-example\",\"baseDir\":\"/home/runner/work/egg/egg/tools/scripts/test/fixtures/pkg-config\"}' '--title=egg-server-example'` " ❯ test/start-without-demon-1.test.ts:55:26
Test scripts (ubuntu-latest, 22, 4/5)
Process completed with exit code 1.
test/start-without-demon-3.test.ts > test/start-without-demon-3.test.ts > --title > should start: tools/scripts/test/start-without-demon-3.test.ts#L51
AssertionError: expected 'SyntaxError: Invalid or unexpected to…' to be '' // Object.is equality - Expected + Received + SyntaxError: Invalid or unexpected token + at compileSourceTextModule (node:internal/modules/esm/utils:346:16) + at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:107:18) + at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:607:10) + at #translate (node:internal/modules/esm/loader:546:20) + at ModuleLoader.getModuleJobForRequire (node:internal/modules/esm/loader:499:33) + at new ModuleJobSync (node:internal/modules/esm/module_job:395:34) + at ModuleLoader.getModuleJobForRequire (node:internal/modules/esm/loader:522:11) + at new ModuleJobSync (node:internal/modules/esm/module_job:395:34) + at ModuleLoader.getModuleJobForRequire (node:internal/modules/esm/loader:522:11) + at new ModuleJobSync (node:internal/modules/esm/module_job:395:34) + /home/runner/work/egg/egg/node_modules/.pnpm/@oclif[email protected]/node_modules/@oclif/core/lib/errors/exit.js:6 + throw new exit_1.ExitError(code); + ^ + ExitError: EEXIT: 1 + at Object.exit (/home/runner/work/egg/egg/node_modules/.pnpm/@oclif[email protected]/node_modules/@oclif/core/lib/errors/exit.js:6:11) + at Start.exit (/home/runner/work/egg/egg/node_modules/.pnpm/@oclif[email protected]/node_modules/@oclif/core/lib/command.js:213:16) + at ChildProcess.<anonymous> (file:///home/runner/work/egg/egg/tools/scripts/dist/commands/start.js:196:10) + at Object.onceWrapper (node:events:634:26) + at ChildProcess.emit (node:events:519:28) + at ChildProcess.emit (node:domain:489:12) + at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12) { + code: 'EEXIT', + oclif: { exit: 1 }, + skipOclifErrorHandling: undefined, + suggestions: undefined + } + ❯ test/start-without-demon-3.test.ts:51:49
Test scripts (ubuntu-latest, 22, 1/5)
Process completed with exit code 1.
test/stop.test.ts > test/stop.test.ts > stop without daemon > should stop: tools/scripts/test/stop.test.ts#L51
AssertionError: expected 'SyntaxError: Invalid or unexpected to…' to be '' // Object.is equality - Expected + Received + SyntaxError: Invalid or unexpected token + at compileSourceTextModule (node:internal/modules/esm/utils:346:16) + at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:107:18) + at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:607:10) + at #translate (node:internal/modules/esm/loader:546:20) + at ModuleLoader.getModuleJobForRequire (node:internal/modules/esm/loader:499:33) + at new ModuleJobSync (node:internal/modules/esm/module_job:395:34) + at ModuleLoader.getModuleJobForRequire (node:internal/modules/esm/loader:522:11) + at new ModuleJobSync (node:internal/modules/esm/module_job:395:34) + at ModuleLoader.getModuleJobForRequire (node:internal/modules/esm/loader:522:11) + at new ModuleJobSync (node:internal/modules/esm/module_job:395:34) + /home/runner/work/egg/egg/node_modules/.pnpm/@oclif[email protected]/node_modules/@oclif/core/lib/errors/exit.js:6 + throw new exit_1.ExitError(code); + ^ + ExitError: EEXIT: 1 + at Object.exit (/home/runner/work/egg/egg/node_modules/.pnpm/@oclif[email protected]/node_modules/@oclif/core/lib/errors/exit.js:6:11) + at Start.exit (/home/runner/work/egg/egg/node_modules/.pnpm/@oclif[email protected]/node_modules/@oclif/core/lib/command.js:213:16) + at ChildProcess.<anonymous> (file:///home/runner/work/egg/egg/tools/scripts/dist/commands/start.js:196:10) + at Object.onceWrapper (node:events:634:26) + at ChildProcess.emit (node:events:519:28) + at ChildProcess.emit (node:domain:489:12) + at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12) { + code: 'EEXIT', + oclif: { exit: 1 }, + skipOclifErrorHandling: undefined, + suggestions: undefined + } + ❯ test/stop.test.ts:51:49
Test (macos-latest, 22, 3/5)
Process completed with exit code 1.
test/logrotator.test.ts > reload logger > should reload worker loggers: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/logrotator.test.ts > reload logger > should reload worker loggers: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/logrotator.test.ts > reload logger > should reload worker loggers: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
Test (macos-latest, 24, 2/5)
Process completed with exit code 1.
test/cluster.test.ts > test/cluster.test.ts > normal > should throw error when mock function not exists: plugins/mock/test/cluster.test.ts#L33
AssertionError: The input did not match the regular expression /method "mockNotExists" not exists on app/. Input: 'Error: POST http://127.0.0.1:17593/__egg_mock_call_function error, method: mockNotExists, args: []\n' + 'Error: connect ECONNREFUSED 127.0.0.1:17593\n' + ' at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16)\n' - Expected: /method "mockNotExists" not exists on app/ + Received: Error { "message": "POST http://127.0.0.1:17593/__egg_mock_call_function error, method: mockNotExists, args: [] Error: connect ECONNREFUSED 127.0.0.1:17593 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) ", } ❯ test/cluster.test.ts:33:14
test/cluster.test.ts > test/cluster.test.ts > normal > should throw error when mock function not exists: plugins/mock/test/cluster.test.ts#L33
AssertionError: The input did not match the regular expression /method "mockNotExists" not exists on app/. Input: 'Error: POST http://127.0.0.1:17593/__egg_mock_call_function error, method: mockNotExists, args: []\n' + 'Error: connect ECONNREFUSED 127.0.0.1:17593\n' + ' at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16)\n' - Expected: /method "mockNotExists" not exists on app/ + Received: Error { "message": "POST http://127.0.0.1:17593/__egg_mock_call_function error, method: mockNotExists, args: [] Error: connect ECONNREFUSED 127.0.0.1:17593 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) ", } ❯ test/cluster.test.ts:33:14
test/cluster.test.ts > test/cluster.test.ts > normal > should throw error when mock function not exists: plugins/mock/test/cluster.test.ts#L33
AssertionError: The input did not match the regular expression /method "mockNotExists" not exists on app/. Input: 'Error: POST http://127.0.0.1:17593/__egg_mock_call_function error, method: mockNotExists, args: []\n' + 'Error: connect ECONNREFUSED 127.0.0.1:17593\n' + ' at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16)\n' - Expected: /method "mockNotExists" not exists on app/ + Received: Error { "message": "POST http://127.0.0.1:17593/__egg_mock_call_function error, method: mockNotExists, args: [] Error: connect ECONNREFUSED 127.0.0.1:17593 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) ", } ❯ test/cluster.test.ts:33:14
Test (macos-latest, 22, 4/5)
Process completed with exit code 1.
test/multipart.test.ts > test/multipart.test.ts > upload over fileSize limit: plugins/multipart/test/multipart.test.ts#L610
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/multipart.test.ts:610:14
test/multipart.test.ts > test/multipart.test.ts > upload over fileSize limit: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ Function.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ Function.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/multipart.test.ts > test/multipart.test.ts > upload one file: plugins/multipart/test/multipart.test.ts#L390
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/multipart.test.ts:390:27
test/multipart.test.ts > test/multipart.test.ts > upload one file: tegg/core/loader/src/LoaderUtil.ts#L72
Error: [tegg/loader] load /Users/runner/work/egg/egg/plugins/multipart/test/fixtures/apps/upload-one-file/app/controller/async.js failed: Invalid or unexpected token ❯ Function.loadFile ../../tegg/core/loader/src/LoaderUtil.ts:72:13 ❯ EggControllerLoader.load ../../tegg/plugin/controller/src/lib/EggControllerLoader.ts:29:29 ❯ EggQualifierProtoHook.preCreate ../../tegg/plugin/tegg/src/lib/EggQualifierProtoHook.ts:23:23 ❯ Function.callPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:78:5 ❯ LifecycleUtil.objectPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:52:5 ❯ Function.createLoadUnit ../../tegg/core/metadata/src/factory/LoadUnitFactory.ts:35:5 ❯ ControllerLoadUnitHandler._init ../../tegg/plugin/controller/src/lib/ControllerLoadUnitHandler.ts:23:31 Caused by: Caused by: SyntaxError: Invalid or unexpected token
Test (ubuntu-latest, 22, 1/5)
Process completed with exit code 1.
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
Test (ubuntu-latest, 22, 3/5)
Process completed with exit code 1.
test/logrotator.test.ts > reload logger > should reload worker loggers: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/logrotator.test.ts > reload logger > should reload worker loggers: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/logrotator.test.ts > reload logger > should reload worker loggers: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
Test (macos-latest, 24, 4/5)
Process completed with exit code 1.
test/multipart.test.ts > test/multipart.test.ts > upload over fileSize limit: plugins/multipart/test/multipart.test.ts#L610
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/multipart.test.ts:610:14
test/multipart.test.ts > test/multipart.test.ts > upload over fileSize limit: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ EggPrototypeCreatorFactory.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ LifecycleUtil.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/multipart.test.ts > test/multipart.test.ts > upload one file: plugins/multipart/test/multipart.test.ts#L390
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/multipart.test.ts:390:27
test/multipart.test.ts > test/multipart.test.ts > upload one file: tegg/core/loader/src/LoaderUtil.ts#L72
Error: [tegg/loader] load /Users/runner/work/egg/egg/plugins/multipart/test/fixtures/apps/upload-one-file/app/controller/async.js failed: Invalid or unexpected token ❯ LoaderUtil.loadFile ../../tegg/core/loader/src/LoaderUtil.ts:72:13 ❯ EggControllerLoader.load ../../tegg/plugin/controller/src/lib/EggControllerLoader.ts:29:29 ❯ EggQualifierProtoHook.preCreate ../../tegg/plugin/tegg/src/lib/EggQualifierProtoHook.ts:23:23 ❯ LifecycleUtil.callPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:78:5 ❯ LifecycleUtil.objectPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:52:5 ❯ LoadUnitFactory.createLoadUnit ../../tegg/core/metadata/src/factory/LoadUnitFactory.ts:35:5 ❯ ControllerLoadUnitHandler._init ../../tegg/plugin/controller/src/lib/ControllerLoadUnitHandler.ts:23:31 Caused by: Caused by: SyntaxError: Invalid or unexpected token
Test (ubuntu-latest, 22, 2/5)
Process completed with exit code 1.
test/app_worker.test.ts > test/app_worker.test.ts > app worker > should emit `server`: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/app_worker.test.ts > test/app_worker.test.ts > app worker > should emit `server`: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/app_worker.test.ts > test/app_worker.test.ts > app worker > should emit `server`: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
Test (ubuntu-latest, 22, 4/5)
Process completed with exit code 1.
test/multipart.test.ts > test/multipart.test.ts > upload over fileSize limit: plugins/multipart/test/multipart.test.ts#L610
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/multipart.test.ts:610:14
test/multipart.test.ts > test/multipart.test.ts > upload over fileSize limit: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ Function.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ Function.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/multipart.test.ts > test/multipart.test.ts > upload one file: plugins/multipart/test/multipart.test.ts#L390
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/multipart.test.ts:390:27
test/multipart.test.ts > test/multipart.test.ts > upload one file: tegg/core/loader/src/LoaderUtil.ts#L72
Error: [tegg/loader] load /home/runner/work/egg/egg/plugins/multipart/test/fixtures/apps/upload-one-file/app/controller/async.js failed: Invalid or unexpected token ❯ Function.loadFile ../../tegg/core/loader/src/LoaderUtil.ts:72:13 ❯ EggControllerLoader.load ../../tegg/plugin/controller/src/lib/EggControllerLoader.ts:29:29 ❯ EggQualifierProtoHook.preCreate ../../tegg/plugin/tegg/src/lib/EggQualifierProtoHook.ts:23:23 ❯ Function.callPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:78:5 ❯ LifecycleUtil.objectPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:52:5 ❯ Function.createLoadUnit ../../tegg/core/metadata/src/factory/LoadUnitFactory.ts:35:5 ❯ ControllerLoadUnitHandler._init ../../tegg/plugin/controller/src/lib/ControllerLoadUnitHandler.ts:23:31 Caused by: Caused by: SyntaxError: Invalid or unexpected token
Test (macos-latest, 22, 2/5)
Process completed with exit code 1.
test/app_worker.test.ts > test/app_worker.test.ts > app worker > should emit `server`: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/app_worker.test.ts > test/app_worker.test.ts > app worker > should emit `server`: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/app_worker.test.ts > test/app_worker.test.ts > app worker > should emit `server`: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
Test (macos-latest, 22, 5/5)
Process completed with exit code 1.
test/csrf.test.ts > test/csrf.test.ts: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ Function.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ Function.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/onerror.test.ts > test/onerror.test.ts > should handle error not in the req/res cycle with no ctx: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ Function.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ Function.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/onerror.test.ts > test/onerror.test.ts > should handle error not in the req/res cycle with no ctx: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ Function.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ Function.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/onerror.test.ts > test/onerror.test.ts > should handle error not in the req/res cycle with no ctx: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ Function.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ Function.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
Test (macos-latest, 24, 3/5)
Process completed with exit code 1.
test/logrotator.test.ts > reload logger > should reload worker loggers: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/logrotator.test.ts > reload logger > should reload worker loggers: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/logrotator.test.ts > reload logger > should reload worker loggers: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
Test (ubuntu-latest, 24, 5/5)
Process completed with exit code 1.
test/csrf.test.ts > test/csrf.test.ts: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ EggPrototypeCreatorFactory.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ LifecycleUtil.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/onerror.test.ts > test/onerror.test.ts > should handle error not in the req/res cycle with no ctx: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ EggPrototypeCreatorFactory.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ LifecycleUtil.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/onerror.test.ts > test/onerror.test.ts > should handle error not in the req/res cycle with no ctx: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ EggPrototypeCreatorFactory.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ LifecycleUtil.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/onerror.test.ts > test/onerror.test.ts > should handle error not in the req/res cycle with no ctx: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ EggPrototypeCreatorFactory.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ LifecycleUtil.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
Test (macos-latest, 24, 5/5)
Process completed with exit code 1.
test/csrf.test.ts > test/csrf.test.ts: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ EggPrototypeCreatorFactory.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ LifecycleUtil.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/onerror.test.ts > test/onerror.test.ts > should handle error not in the req/res cycle with no ctx: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ EggPrototypeCreatorFactory.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ LifecycleUtil.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/onerror.test.ts > test/onerror.test.ts > should handle error not in the req/res cycle with no ctx: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ EggPrototypeCreatorFactory.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ LifecycleUtil.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/onerror.test.ts > test/onerror.test.ts > should handle error not in the req/res cycle with no ctx: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ EggPrototypeCreatorFactory.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ LifecycleUtil.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
Test (ubuntu-latest, 24, 3/5)
Process completed with exit code 1.
test/logrotator.test.ts > reload logger > should reload worker loggers: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/logrotator.test.ts > reload logger > should reload worker loggers: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/logrotator.test.ts > reload logger > should reload worker loggers: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
Test (macos-latest, 24, 1/5)
Process completed with exit code 1.
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
Test (ubuntu-latest, 24, 1/5)
Process completed with exit code 1.
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
Test (windows-latest, 24, 3/5)
Process completed with exit code 1.
test/lib/core/loader/load_plugin.test.ts > test/lib/core/loader/load_plugin.test.ts > should keep plugin list sorted: packages/egg/test/lib/core/loader/load_plugin.test.ts#L232
Error: Snapshot `test/lib/core/loader/load_plugin.test.ts > should keep plugin list sorted 1` mismatched - Expected + Received @@ -8,10 +8,19 @@ "schedule", "multipart", "logrotator", "static", "view", + "teggConfig", + "tegg", + "teggAjv", + "aopModule", + "teggController", + "teggDal", + "teggEventbus", + "teggOrm", + "teggSchedule", "b", "c1", "f", "a", "d", ❯ test/lib/core/loader/load_plugin.test.ts:232:7
test/lib/core/loader/load_plugin.test.ts > test/lib/core/loader/load_plugin.test.ts > should keep plugin list sorted: packages/egg/test/lib/core/loader/load_plugin.test.ts#L232
Error: Snapshot `test/lib/core/loader/load_plugin.test.ts > should keep plugin list sorted 1` mismatched - Expected + Received @@ -8,10 +8,19 @@ "schedule", "multipart", "logrotator", "static", "view", + "teggConfig", + "tegg", + "teggAjv", + "aopModule", + "teggController", + "teggDal", + "teggEventbus", + "teggOrm", + "teggSchedule", "b", "c1", "f", "a", "d", ❯ test/lib/core/loader/load_plugin.test.ts:232:7
test/lib/core/loader/load_plugin.test.ts > test/lib/core/loader/load_plugin.test.ts > should keep plugin list sorted: packages/egg/test/lib/core/loader/load_plugin.test.ts#L232
Error: Snapshot `test/lib/core/loader/load_plugin.test.ts > should keep plugin list sorted 1` mismatched - Expected + Received @@ -8,10 +8,19 @@ "schedule", "multipart", "logrotator", "static", "view", + "teggConfig", + "tegg", + "teggAjv", + "aopModule", + "teggController", + "teggDal", + "teggEventbus", + "teggOrm", + "teggSchedule", "b", "c1", "f", "a", "d", ❯ test/lib/core/loader/load_plugin.test.ts:232:7
Test (ubuntu-latest, 24, 2/5)
Process completed with exit code 1.
test/cluster.test.ts > test/cluster.test.ts > normal > should throw error when mock function not exists: plugins/mock/test/cluster.test.ts#L33
AssertionError: The input did not match the regular expression /method "mockNotExists" not exists on app/. Input: 'Error: POST http://127.0.0.1:17721/__egg_mock_call_function error, method: mockNotExists, args: []\n' + 'Error: connect ECONNREFUSED 127.0.0.1:17721\n' + ' at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16)\n' - Expected: /method "mockNotExists" not exists on app/ + Received: Error { "message": "POST http://127.0.0.1:17721/__egg_mock_call_function error, method: mockNotExists, args: [] Error: connect ECONNREFUSED 127.0.0.1:17721 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) ", } ❯ test/cluster.test.ts:33:14
test/cluster.test.ts > test/cluster.test.ts > normal > should throw error when mock function not exists: plugins/mock/test/cluster.test.ts#L33
AssertionError: The input did not match the regular expression /method "mockNotExists" not exists on app/. Input: 'Error: POST http://127.0.0.1:17721/__egg_mock_call_function error, method: mockNotExists, args: []\n' + 'Error: connect ECONNREFUSED 127.0.0.1:17721\n' + ' at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16)\n' - Expected: /method "mockNotExists" not exists on app/ + Received: Error { "message": "POST http://127.0.0.1:17721/__egg_mock_call_function error, method: mockNotExists, args: [] Error: connect ECONNREFUSED 127.0.0.1:17721 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) ", } ❯ test/cluster.test.ts:33:14
test/cluster.test.ts > test/cluster.test.ts > normal > should throw error when mock function not exists: plugins/mock/test/cluster.test.ts#L33
AssertionError: The input did not match the regular expression /method "mockNotExists" not exists on app/. Input: 'Error: POST http://127.0.0.1:17721/__egg_mock_call_function error, method: mockNotExists, args: []\n' + 'Error: connect ECONNREFUSED 127.0.0.1:17721\n' + ' at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16)\n' - Expected: /method "mockNotExists" not exists on app/ + Received: Error { "message": "POST http://127.0.0.1:17721/__egg_mock_call_function error, method: mockNotExists, args: [] Error: connect ECONNREFUSED 127.0.0.1:17721 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) ", } ❯ test/cluster.test.ts:33:14
Test (windows-latest, 22, 3/5)
Process completed with exit code 1.
test/lib/core/loader/load_plugin.test.ts > test/lib/core/loader/load_plugin.test.ts > should keep plugin list sorted: packages/egg/test/lib/core/loader/load_plugin.test.ts#L232
Error: Snapshot `test/lib/core/loader/load_plugin.test.ts > should keep plugin list sorted 1` mismatched - Expected + Received @@ -8,10 +8,19 @@ "schedule", "multipart", "logrotator", "static", "view", + "teggConfig", + "tegg", + "teggAjv", + "aopModule", + "teggController", + "teggDal", + "teggEventbus", + "teggOrm", + "teggSchedule", "b", "c1", "f", "a", "d", ❯ test/lib/core/loader/load_plugin.test.ts:232:7
test/lib/core/loader/load_plugin.test.ts > test/lib/core/loader/load_plugin.test.ts > should keep plugin list sorted: packages/egg/test/lib/core/loader/load_plugin.test.ts#L232
Error: Snapshot `test/lib/core/loader/load_plugin.test.ts > should keep plugin list sorted 1` mismatched - Expected + Received @@ -8,10 +8,19 @@ "schedule", "multipart", "logrotator", "static", "view", + "teggConfig", + "tegg", + "teggAjv", + "aopModule", + "teggController", + "teggDal", + "teggEventbus", + "teggOrm", + "teggSchedule", "b", "c1", "f", "a", "d", ❯ test/lib/core/loader/load_plugin.test.ts:232:7
test/lib/core/loader/load_plugin.test.ts > test/lib/core/loader/load_plugin.test.ts > should keep plugin list sorted: packages/egg/test/lib/core/loader/load_plugin.test.ts#L232
Error: Snapshot `test/lib/core/loader/load_plugin.test.ts > should keep plugin list sorted 1` mismatched - Expected + Received @@ -8,10 +8,19 @@ "schedule", "multipart", "logrotator", "static", "view", + "teggConfig", + "tegg", + "teggAjv", + "aopModule", + "teggController", + "teggDal", + "teggEventbus", + "teggOrm", + "teggSchedule", "b", "c1", "f", "a", "d", ❯ test/lib/core/loader/load_plugin.test.ts:232:7
Test (ubuntu-latest, 22, 5/5)
Process completed with exit code 1.
test/csrf.test.ts > test/csrf.test.ts: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ Function.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ Function.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/onerror.test.ts > test/onerror.test.ts > should handle error not in the req/res cycle with no ctx: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ Function.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ Function.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/onerror.test.ts > test/onerror.test.ts > should handle error not in the req/res cycle with no ctx: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ Function.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ Function.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/onerror.test.ts > test/onerror.test.ts > should handle error not in the req/res cycle with no ctx: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ Function.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ Function.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
Test (macos-latest, 22, 1/5)
Process completed with exit code 1.
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
Test scripts (ubuntu-latest, 22, 3/5)
Process completed with exit code 1.
test/start-without-demon-5.test.ts > test/start-without-demon-5.test.ts > read eggScriptsConfig > should start: tools/scripts/test/start-without-demon-5.test.ts#L54
AssertionError: expected 'SyntaxError: Invalid or unexpected to…' to be '' // Object.is equality - Expected + Received + SyntaxError: Invalid or unexpected token + at compileSourceTextModule (node:internal/modules/esm/utils:346:16) + at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:107:18) + at ModuleLoader.<anonymous> (node:internal/modules/esm/translators:607:10) + at #translate (node:internal/modules/esm/loader:546:20) + at afterLoad (node:internal/modules/esm/loader:596:29) + at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:601:12) + at #createModuleJob (node:internal/modules/esm/loader:624:36) + at #getJobFromResolveResult (node:internal/modules/esm/loader:343:34) + at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:311:41) + at process.processTicksAndRejections (node:internal/process/task_queues:105:5) + /home/runner/work/egg/egg/node_modules/.pnpm/@oclif[email protected]/node_modules/@oclif/core/lib/errors/exit.js:6 + throw new exit_1.ExitError(code); + ^ + ExitError: EEXIT: 1 + at Object.exit (/home/runner/work/egg/egg/node_modules/.pnpm/@oclif[email protected]/node_modules/@oclif/core/lib/errors/exit.js:6:11) + at Start.exit (/home/runner/work/egg/egg/node_modules/.pnpm/@oclif[email protected]/node_modules/@oclif/core/lib/command.js:213:16) + at ChildProcess.<anonymous> (file:///home/runner/work/egg/egg/tools/scripts/dist/commands/start.js:196:10) + at Object.onceWrapper (node:events:634:26) + at ChildProcess.emit (node:events:519:28) + at ChildProcess.emit (node:domain:489:12) + at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12) { + code: 'EEXIT', + oclif: { exit: 1 }, + skipOclifErrorHandling: undefined, + suggestions: undefined + } + ❯ test/start-without-demon-5.test.ts:54:49
Test (ubuntu-latest, 24, 4/5)
Process completed with exit code 1.
test/multipart.test.ts > test/multipart.test.ts > upload over fileSize limit: plugins/multipart/test/multipart.test.ts#L610
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/multipart.test.ts:610:14
test/multipart.test.ts > test/multipart.test.ts > upload over fileSize limit: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ EggPrototypeCreatorFactory.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ LifecycleUtil.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/multipart.test.ts > test/multipart.test.ts > upload one file: plugins/multipart/test/multipart.test.ts#L390
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/multipart.test.ts:390:27
test/multipart.test.ts > test/multipart.test.ts > upload one file: tegg/core/loader/src/LoaderUtil.ts#L72
Error: [tegg/loader] load /home/runner/work/egg/egg/plugins/multipart/test/fixtures/apps/upload-one-file/app/controller/async.js failed: Invalid or unexpected token ❯ LoaderUtil.loadFile ../../tegg/core/loader/src/LoaderUtil.ts:72:13 ❯ EggControllerLoader.load ../../tegg/plugin/controller/src/lib/EggControllerLoader.ts:29:29 ❯ EggQualifierProtoHook.preCreate ../../tegg/plugin/tegg/src/lib/EggQualifierProtoHook.ts:23:23 ❯ LifecycleUtil.callPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:78:5 ❯ LifecycleUtil.objectPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:52:5 ❯ LoadUnitFactory.createLoadUnit ../../tegg/core/metadata/src/factory/LoadUnitFactory.ts:35:5 ❯ ControllerLoadUnitHandler._init ../../tegg/plugin/controller/src/lib/ControllerLoadUnitHandler.ts:23:31 Caused by: Caused by: SyntaxError: Invalid or unexpected token
Test (windows-latest, 22, 4/5)
Process completed with exit code 1.
test/i18n.test.ts > test/i18n.test.ts > with cookieDomain: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ Function.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ Function.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/multipart.test.ts > test/multipart.test.ts > upload over fileSize limit: plugins/multipart/test/multipart.test.ts#L610
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/multipart.test.ts:610:14
test/multipart.test.ts > test/multipart.test.ts > upload over fileSize limit: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ Function.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ Function.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/multipart.test.ts > test/multipart.test.ts > upload one file: plugins/multipart/test/multipart.test.ts#L390
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/multipart.test.ts:390:27
test/multipart.test.ts > test/multipart.test.ts > upload one file: tegg/core/loader/src/LoaderUtil.ts#L72
Error: [tegg/loader] load file:///D:/a/egg/egg/plugins/multipart/test/fixtures/apps/upload-one-file/app/controller/async.js failed: Invalid or unexpected token ❯ Function.loadFile ../../tegg/core/loader/src/LoaderUtil.ts:72:13 ❯ EggControllerLoader.load ../../tegg/plugin/controller/src/lib/EggControllerLoader.ts:29:29 ❯ EggQualifierProtoHook.preCreate ../../tegg/plugin/tegg/src/lib/EggQualifierProtoHook.ts:23:23 ❯ Function.callPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:78:5 ❯ LifecycleUtil.objectPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:52:5 ❯ Function.createLoadUnit ../../tegg/core/metadata/src/factory/LoadUnitFactory.ts:35:5 ❯ ControllerLoadUnitHandler._init ../../tegg/plugin/controller/src/lib/ControllerLoadUnitHandler.ts:23:31 Caused by: Caused by: SyntaxError: Invalid or unexpected token
test/options.test.ts > test/options.test.ts > options > should be passed through: packages/cluster/test/options.test.ts#L166
AssertionError: should match stdout expected `/app options foo: true/(RegExp)` but actual `(String)` false !== true - Expected + Received - true + false ❯ Rule.assert ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/rule.js:30:14 ❯ Rule.validate ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/rule.js:22:12 ❯ Proxy._addAssertion ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/coffee.js:206:12 ❯ Proxy.expect ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/coffee.js:136:10 ❯ test/options.test.ts:166:11
test/options.test.ts > test/options.test.ts > options > should be passed through: packages/cluster/test/options.test.ts#L166
AssertionError: should match stdout expected `/app options foo: true/(RegExp)` but actual `(String)` false !== true - Expected + Received - true + false ❯ Rule.assert ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/rule.js:30:14 ❯ Rule.validate ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/rule.js:22:12 ❯ Proxy._addAssertion ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/coffee.js:206:12 ❯ Proxy.expect ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/coffee.js:136:10 ❯ test/options.test.ts:166:11
test/options.test.ts > test/options.test.ts > options > should be passed through: packages/cluster/test/options.test.ts#L166
AssertionError: should match stdout expected `/app options foo: true/(RegExp)` but actual `(String)` false !== true - Expected + Received - true + false ❯ Rule.assert ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/rule.js:30:14 ❯ Rule.validate ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/rule.js:22:12 ❯ Proxy._addAssertion ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/coffee.js:206:12 ❯ Proxy.expect ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/coffee.js:136:10 ❯ test/options.test.ts:166:11
Test (windows-latest, 22, 1/5)
Process completed with exit code 1.
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
Test (windows-latest, 24, 2/5)
Process completed with exit code 1.
test/development_cluster.test.ts > test/development_cluster.test.ts > should app watcher work: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/development_cluster.test.ts > test/development_cluster.test.ts > should app watcher work: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/development_cluster.test.ts > test/development_cluster.test.ts > should app watcher work: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/xframe.test.ts > test/xframe.test.ts: plugins/security/test/xframe.test.ts#L37
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/xframe.test.ts:37:16
test/xframe.test.ts > test/xframe.test.ts: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ EggPrototypeCreatorFactory.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ LifecycleUtil.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/multipart-for-await.test.ts > test/multipart-for-await.test.ts: plugins/multipart/test/multipart-for-await.test.ts#L21
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/multipart-for-await.test.ts:21:25
test/multipart-for-await.test.ts > test/multipart-for-await.test.ts: tegg/core/loader/src/LoaderUtil.ts#L72
Error: [tegg/loader] load file:///D:/a/egg/egg/plugins/multipart/test/fixtures/apps/multipart-for-await/app/controller/upload.js failed: Invalid or unexpected token ❯ LoaderUtil.loadFile ../../tegg/core/loader/src/LoaderUtil.ts:72:13 ❯ EggControllerLoader.load ../../tegg/plugin/controller/src/lib/EggControllerLoader.ts:29:29 ❯ EggQualifierProtoHook.preCreate ../../tegg/plugin/tegg/src/lib/EggQualifierProtoHook.ts:23:23 ❯ LifecycleUtil.callPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:78:5 ❯ LifecycleUtil.objectPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:52:5 ❯ LoadUnitFactory.createLoadUnit ../../tegg/core/metadata/src/factory/LoadUnitFactory.ts:35:5 ❯ ControllerLoadUnitHandler._init ../../tegg/plugin/controller/src/lib/ControllerLoadUnitHandler.ts:23:31 Caused by: Caused by: SyntaxError: Invalid or unexpected token
Test (windows-latest, 24, 1/5)
Process completed with exit code 1.
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/master/others.test.ts > --cluster > should online cluster mode startup success: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../supertest/src/test.ts:225:20 ❯ localAssert ../supertest/src/test.ts:193:14 ❯ ../supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
Test (windows-latest, 22, 2/5)
Process completed with exit code 1.
test/development_cluster.test.ts > test/development_cluster.test.ts > should app watcher work: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/development_cluster.test.ts > test/development_cluster.test.ts > should app watcher work: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/development_cluster.test.ts > test/development_cluster.test.ts > should app watcher work: packages/supertest/src/test.ts#L225
Error: ECONNREFUSED: Connection refused ❯ Test.assert ../../packages/supertest/src/test.ts:225:20 ❯ localAssert ../../packages/supertest/src/test.ts:193:14 ❯ ../../packages/supertest/src/test.ts:200:7 ❯ Test.Request.callback ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:857:3 ❯ ClientRequest.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/superagent/lib/node/index.js:780:10
test/xframe.test.ts > test/xframe.test.ts: plugins/security/test/xframe.test.ts#L37
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/xframe.test.ts:37:16
test/xframe.test.ts > test/xframe.test.ts: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ Function.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ Function.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/multipart-for-await.test.ts > test/multipart-for-await.test.ts: plugins/multipart/test/multipart-for-await.test.ts#L21
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/multipart-for-await.test.ts:21:25
test/multipart-for-await.test.ts > test/multipart-for-await.test.ts: tegg/core/loader/src/LoaderUtil.ts#L72
Error: [tegg/loader] load file:///D:/a/egg/egg/plugins/multipart/test/fixtures/apps/multipart-for-await/app/controller/upload.js failed: Invalid or unexpected token ❯ Function.loadFile ../../tegg/core/loader/src/LoaderUtil.ts:72:13 ❯ EggControllerLoader.load ../../tegg/plugin/controller/src/lib/EggControllerLoader.ts:29:29 ❯ EggQualifierProtoHook.preCreate ../../tegg/plugin/tegg/src/lib/EggQualifierProtoHook.ts:23:23 ❯ Function.callPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:78:5 ❯ LifecycleUtil.objectPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:52:5 ❯ Function.createLoadUnit ../../tegg/core/metadata/src/factory/LoadUnitFactory.ts:35:5 ❯ ControllerLoadUnitHandler._init ../../tegg/plugin/controller/src/lib/ControllerLoadUnitHandler.ts:23:31 Caused by: Caused by: SyntaxError: Invalid or unexpected token
Test (windows-latest, 24, 4/5)
Process completed with exit code 1.
test/i18n.test.ts > test/i18n.test.ts > with cookieDomain: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ EggPrototypeCreatorFactory.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ LifecycleUtil.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/multipart.test.ts > test/multipart.test.ts > upload over fileSize limit: plugins/multipart/test/multipart.test.ts#L610
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/multipart.test.ts:610:14
test/multipart.test.ts > test/multipart.test.ts > upload over fileSize limit: tegg/core/metadata/src/factory/EggPrototypeFactory.ts#L45
MultiPrototypeFound: multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}] [ https://eggjs.org/zh-cn/faq/TEGG_MULTI_PROTO_FOUND ] ❯ EggPrototypeFactory.getPrototype ../../tegg/core/metadata/src/factory/EggPrototypeFactory.ts:45:47 ❯ EggPrototypeBuilder.tryFindDefaultPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:71:41 ❯ EggPrototypeBuilder.findInjectObjectPrototype ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:111:19 ❯ EggPrototypeBuilder.build ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:134:28 ❯ create ../../tegg/core/metadata/src/impl/EggPrototypeBuilder.ts:65:20 ❯ EggPrototypeCreatorFactory.createProto ../../tegg/core/metadata/src/factory/EggPrototypeCreatorFactory.ts:95:21 ❯ EventbusLoadUnitHook.postCreate ../../tegg/plugin/eventbus/src/lib/EventbusLoadUnitHook.ts:21:24 ❯ LifecycleUtil.callPostCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:89:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'TEGG_MULTI_PROTO_FOUND', options: { message: 'multi proto found for name:eventContextFactory and qualifiers [{"value":"SINGLETON"}]', serialNumber: 'MULTI_PROTO_FOUND', errorContext: undefined, errorType: 'ERROR' }, serialNumber: 'MULTI_PROTO_FOUND', errorContext: '', module: 'TEGG' }
test/multipart.test.ts > test/multipart.test.ts > upload one file: plugins/multipart/test/multipart.test.ts#L390
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/multipart.test.ts:390:27
test/multipart.test.ts > test/multipart.test.ts > upload one file: tegg/core/loader/src/LoaderUtil.ts#L72
Error: [tegg/loader] load file:///D:/a/egg/egg/plugins/multipart/test/fixtures/apps/upload-one-file/app/controller/async.js failed: Invalid or unexpected token ❯ LoaderUtil.loadFile ../../tegg/core/loader/src/LoaderUtil.ts:72:13 ❯ EggControllerLoader.load ../../tegg/plugin/controller/src/lib/EggControllerLoader.ts:29:29 ❯ EggQualifierProtoHook.preCreate ../../tegg/plugin/tegg/src/lib/EggQualifierProtoHook.ts:23:23 ❯ LifecycleUtil.callPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:78:5 ❯ LifecycleUtil.objectPreCreate ../../tegg/core/lifecycle/src/LifycycleUtil.ts:52:5 ❯ LoadUnitFactory.createLoadUnit ../../tegg/core/metadata/src/factory/LoadUnitFactory.ts:35:5 ❯ ControllerLoadUnitHandler._init ../../tegg/plugin/controller/src/lib/ControllerLoadUnitHandler.ts:23:31 Caused by: Caused by: SyntaxError: Invalid or unexpected token
test/options.test.ts > test/options.test.ts > options > should be passed through: packages/cluster/test/options.test.ts#L166
AssertionError: should match stdout expected `/app options foo: true/(RegExp)` but actual `(String)` false !== true - Expected + Received - true + false ❯ Rule.assert ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/rule.js:30:14 ❯ Rule.validate ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/rule.js:22:12 ❯ Proxy._addAssertion ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/coffee.js:206:12 ❯ Proxy.expect ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/coffee.js:136:10 ❯ test/options.test.ts:166:11
test/options.test.ts > test/options.test.ts > options > should be passed through: packages/cluster/test/options.test.ts#L166
AssertionError: should match stdout expected `/app options foo: true/(RegExp)` but actual `(String)` false !== true - Expected + Received - true + false ❯ Rule.assert ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/rule.js:30:14 ❯ Rule.validate ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/rule.js:22:12 ❯ Proxy._addAssertion ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/coffee.js:206:12 ❯ Proxy.expect ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/coffee.js:136:10 ❯ test/options.test.ts:166:11
test/options.test.ts > test/options.test.ts > options > should be passed through: packages/cluster/test/options.test.ts#L166
AssertionError: should match stdout expected `/app options foo: true/(RegExp)` but actual `(String)` false !== true - Expected + Received - true + false ❯ Rule.assert ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/rule.js:30:14 ❯ Rule.validate ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/rule.js:22:12 ❯ Proxy._addAssertion ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/coffee.js:206:12 ❯ Proxy.expect ../../node_modules/.pnpm/[email protected]/node_modules/coffee/lib/coffee.js:136:10 ❯ test/options.test.ts:166:11
Test (windows-latest, 24, 5/5)
Process completed with exit code 1.
test/csrf.test.ts > test/csrf.test.ts: plugins/security/test/csrf.test.ts#L11
Error: Hook timed out in 20000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ test/csrf.test.ts:11:3
test/onerror.test.ts > test/onerror.test.ts: plugins/onerror/test/onerror.test.ts#L19
Error: Hook timed out in 10000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ test/onerror.test.ts:19:3
Test (windows-latest, 22, 5/5)
Process completed with exit code 1.
test/view.test.ts > test/view.test.ts > multiple view engine: plugins/view/test/view.test.ts#L18
Error: Hook timed out in 10000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ test/view.test.ts:18:5
test/csrf.test.ts > test/csrf.test.ts: plugins/security/test/csrf.test.ts#L24
TypeError: Cannot read properties of undefined (reading 'close') ❯ test/csrf.test.ts:24:16
test/csrf.test.ts > test/csrf.test.ts: plugins/security/test/csrf.test.ts#L11
Error: Hook timed out in 20000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ test/csrf.test.ts:11:3
test/onerror.test.ts > test/onerror.test.ts: plugins/onerror/test/onerror.test.ts#L19
Error: Hook timed out in 10000ms. If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout". ❯ test/onerror.test.ts:19:3
Test (macos-latest, 22, 3/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (macos-latest, 24, 2/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (macos-latest, 22, 4/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (ubuntu-latest, 22, 1/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (ubuntu-latest, 22, 3/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (macos-latest, 24, 4/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (ubuntu-latest, 22, 2/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (ubuntu-latest, 22, 4/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (macos-latest, 22, 2/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (macos-latest, 22, 5/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (macos-latest, 24, 3/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (ubuntu-latest, 24, 5/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (macos-latest, 24, 5/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (ubuntu-latest, 24, 3/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (macos-latest, 24, 1/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (ubuntu-latest, 24, 1/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (ubuntu-latest, 24, 2/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (ubuntu-latest, 22, 5/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (macos-latest, 22, 1/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation
Test (ubuntu-latest, 24, 4/5)
failed to verify attestation: VerificationError: timestamp could not be verified, continue to next attestation