==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_ff01a2ad-6567-4dba-9f2c-9224a78cfd1a]...done ==> Making package: qwen-code 0.12.3-1.1 (Sat Mar 14 08:45:48 2026) ==> Retrieving sources... -> Cloning qwen-code git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v2/qwen-code-0.12.3-1/qwen-code'... ==> Validating source files with sha256sums... qwen-code ... Passed ==> Validating source files with b2sums... qwen-code ... Passed ==> Making package: qwen-code 0.12.3-1.1 (Sat Mar 14 07:46:58 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (5) New Version Net Change extra/c-ares 1.34.6-1 0.51 MiB extra/libuv 1.52.1-1 0.64 MiB extra/simdjson 1:4.3.1-1 7.43 MiB extra/nodejs 25.7.0-1 69.38 MiB extra/ripgrep 15.1.0-2 5.01 MiB Total Installed Size: 82.97 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing c-ares... installing libuv... installing simdjson... installing nodejs... Optional dependencies for nodejs npm: nodejs package manager installing ripgrep... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (11) New Version Net Change extra/node-gyp 12.2.0-1 7.84 MiB extra/nodejs-nopt 8.1.0-1 0.03 MiB extra/oniguruma 6.9.10-1 0.88 MiB extra/perl-error 0.17030-3 0.04 MiB extra/perl-mailtools 2.22-3 0.10 MiB extra/perl-timedate 2.34-1 0.14 MiB extra/semver 7.7.4-1 0.09 MiB extra/zlib-ng 2.3.3-1 0.28 MiB extra/git 2.53.0-1 29.72 MiB extra/jq 1.8.1-1 0.45 MiB extra/npm 11.11.1-1 7.52 MiB Total Installed Size: 47.09 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing zlib-ng... installing git... Optional dependencies for git git-zsh-completion: upstream zsh completion tk: gitk and git gui openssh: ssh transport and crypto man: show help with `git command --help` perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] less: the default pager for git installing oniguruma... installing jq... installing nodejs-nopt... installing semver... installing node-gyp... Optional dependencies for node-gyp gcc: to build C++ modules [installed] make: to build C++ modules [installed] python: to build C++ modules installing npm... Optional dependencies for npm git: for dependencies using Git URL's [installed] :: Running post-transaction hooks... (1/3) Creating system user accounts... Creating group 'git' with GID 969. Creating user 'git' (git daemon user) with UID 969 and GID 969. (2/3) Reloading system manager configuration... Skipped: Current root is not booted. (3/3) Arming ConditionNeedsUpdate... ==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of qwen-code git repo... Cloning into 'qwen-code'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options. added 1555 packages, and audited 1563 packages in 2m 414 packages are looking for funding run `npm fund` for details 33 vulnerabilities (3 low, 17 moderate, 12 high, 1 critical) To address issues that do not require attention, run: npm audit fix To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. ==> Starting build()... > @qwen-code/qwen-code@0.12.3 build > node scripts/build.js > @qwen-code/qwen-code@0.12.3 generate > node scripts/generate-git-commit-info.js > @qwen-code/qwen-code-test-utils@0.12.3 build > node ../../scripts/build_package.js Successfully copied files. > @qwen-code/qwen-code-core@0.12.3 build > node ../../scripts/build_package.js Successfully copied files. > @qwen-code/web-templates@0.12.3 build > node build.mjs && tsc --build --clean && tsc Building web-templates... Building insight assets with Vite... vite v5.4.21 building for production... transforming... ✓ 7 modules transformed. rendering chunks... computing gzip size... dist/main.css 17.77 kB │ gzip: 4.28 kB dist/main.js 31.01 kB │ gzip: 8.25 kB ✓ built in 450ms Reading generated files... Successfully generated /startdir/src/qwen-code/packages/web-templates/src/generated/insightTemplate.ts Successfully built all web-templates. > @qwen-code/qwen-code@0.12.3 build > node ../../scripts/build_package.js Successfully copied files. Generated settings JSON Schema at: /startdir/src/qwen-code/packages/vscode-ide-companion/schemas/settings.schema.json > @qwen-code/webui@0.12.3 build > vite build vite v5.4.21 building for production... transforming... ✓ 151 modules transformed. rendering chunks... [vite:dts] Start generate declaration files... computing gzip size... dist/styles.css 79.04 kB │ gzip: 14.77 kB dist/index.js 355.83 kB │ gzip: 91.24 kB │ map: 776.05 kB [vite:dts] Start rollup declaration files... Analysis will use the bundled TypeScript version 5.8.2 [vite:dts] Declaration files built in 4367ms. dist/styles.css 79.04 kB │ gzip: 14.77 kB dist/index.cjs 364.05 kB │ gzip: 91.76 kB │ map: 780.45 kB dist/styles.css 79.04 kB │ gzip: 14.77 kB dist/index.umd.js 385.39 kB │ gzip: 92.76 kB │ map: 783.30 kB ✓ built in 6.56s > @qwen-code/sdk@0.1.4 build > node scripts/build.js Compiling input files... Processing src/index.ts Writing src/index.ts -> dist/index.d.ts Checking generated files... Compiler option "skipLibCheck" is disabled to properly check generated output Done in 9.24s > qwen-code-vscode-ide-companion@0.12.3 build > npm run build:dev > qwen-code-vscode-ide-companion@0.12.3 build:dev > npm run check-types && npm run lint && node esbuild.js > qwen-code-vscode-ide-companion@0.12.3 check-types > tsc --noEmit > qwen-code-vscode-ide-companion@0.12.3 lint > eslint src /startdir/src/qwen-code/packages/vscode-ide-companion/src/services/acpConnection.ts 169:5 warning Unused eslint-disable directive (no problems were reported from '@typescript-eslint/no-this-alias') ✖ 1 problem (0 errors, 1 warning) 0 errors and 1 warning potentially fixable with the `--fix` option. > @qwen-code/qwen-code@0.12.3 bundle > npm run generate && node esbuild.config.js && node scripts/copy_bundle_assets.js > @qwen-code/qwen-code@0.12.3 generate > node scripts/generate-git-commit-info.js Copied sandbox profiles to dist/ Copying vendor directory... Copied vendor directory to dist/ ✅ All bundle assets copied to dist/ ==> Starting check()... > @qwen-code/qwen-code@0.12.3 test > npm run test --workspaces --if-present --parallel npm warn Unknown cli config "--parallel". This will stop working in the next major version of npm. > @qwen-code/qwen-code@0.12.3 test > vitest run RUN v3.2.4 /startdir/src/qwen-code/packages/cli Coverage enabled with v8 ✓ src/utils/nonInteractiveHelpers.test.ts (60 tests) 88ms ✓ src/services/insight/generators/DataProcessor.test.ts (35 tests) 184ms ✓ src/ui/commands/languageCommand.test.ts (47 tests) 291ms ✓ src/utils/settingsUtils.test.ts (73 tests) 35ms ✓ src/ui/components/shared/vim-buffer-actions.test.ts (74 tests) 48ms ✓ src/services/FileCommandLoader.test.ts (39 tests) 444ms ✓ src/ui/components/shared/text-buffer.test.ts (115 tests) 597ms ✓ src/config/settings.test.ts (87 tests) 174ms ✓ src/ui/hooks/useSelectionList.test.ts (44 tests) 497ms ✓ src/ui/contexts/KeypressContext.test.tsx (86 tests) 794ms ✓ src/ui/hooks/useGeminiStream.test.tsx (47 tests) 1584ms ✓ src/ui/hooks/vim.test.ts (87 tests) 2055ms ✓ src/ui/hooks/atCommandProcessor.test.ts (42 tests) 2409ms ✓ src/ui/hooks/slashCommandProcessor.test.ts (35 tests) 2656ms ✓ src/config/config.test.ts (161 tests | 2 skipped) 3024ms ✓ src/nonInteractive/io/BaseJsonOutputAdapter.test.ts (93 tests) 82ms ✓ src/nonInteractive/control/ControlDispatcher.test.ts (34 tests) 163ms ✓ src/nonInteractiveCli.test.ts (29 tests | 1 skipped) 405ms ✓ src/nonInteractive/io/JsonOutputAdapter.test.ts (35 tests) 134ms ✓ src/nonInteractive/io/StreamJsonOutputAdapter.test.ts (46 tests) 158ms ✓ src/ui/components/SettingsDialog.test.tsx (53 tests) 7802ms ✓ SettingsDialog > Settings Navigation > should navigate down with arrow key 349ms ✓ SettingsDialog > Settings Toggling > should toggle setting with Enter key 436ms ✓ SettingsDialog > Complex State Management > should track modified settings correctly 307ms ✓ SettingsDialog > Complex State Management > should handle scrolling when there are many settings 500ms ✓ SettingsDialog > Specific Settings Behavior > should keep restart prompt when switching scopes 323ms ✓ SettingsDialog > Output Language > treats empty output language as auto 388ms ✓ SettingsDialog > Complex User Interactions > should allow changing multiple settings without losing pending changes 326ms ✓ SettingsDialog > Complex User Interactions > should maintain state consistency during complex interactions 342ms ✓ SettingsDialog > String Settings Editing > should allow editing and committing a string setting 933ms ✓ src/acp-integration/session/emitters/ToolCallEmitter.test.ts (33 tests) 93ms ✓ src/services/prompt-processors/shellProcessor.test.ts (34 tests) 282ms ✓ src/ui/hooks/useToolScheduler.test.ts (17 tests) 157ms ✓ src/ui/hooks/useSlashCompletion.test.ts (22 tests) 695ms ✓ src/acp-integration/session/SubAgentTracker.test.ts (21 tests) 245ms ✓ src/utils/errors.test.ts (33 tests) 60ms ✓ src/utils/languageUtils.test.ts (44 tests) 99ms ✓ src/utils/modelConfigUtils.test.ts (28 tests) 200ms ✓ src/config/migration/versions/v2-to-v3.test.ts (31 tests) 70ms ✓ src/ui/hooks/shellCommandProcessor.test.ts (20 tests) 1066ms ✓ src/ui/AppContainer.test.tsx (31 tests) 1045ms ✓ AppContainer State Management > Error Handling > handles config methods that might throw 481ms ✓ src/ui/hooks/useCodingPlanUpdates.test.ts (15 tests) 477ms ✓ src/ui/hooks/useAutoAcceptIndicator.test.ts (15 tests) 204ms ✓ src/validateNonInterActiveAuth.test.ts (13 tests) 58ms ✓ src/ui/keyMatchers.test.ts (34 tests) 29ms ✓ src/ui/commands/exportCommand.test.ts (14 tests) 141ms ✓ src/ui/hooks/useExtensionUpdates.test.ts (15 tests) 475ms ✓ src/nonInteractive/session.test.ts (21 tests) 180ms ✓ src/services/McpPromptLoader.test.ts (25 tests) 93ms (node:2505) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 resize listeners added to [Socket]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/ui/utils/commandUtils.test.ts (26 tests) 163ms ✓ src/ui/components/StandaloneSessionPicker.test.tsx (15 tests) 3281ms ✓ SessionPicker > Empty Sessions > should show sessions with 0 messages 387ms ✓ src/config/trustedFolders.test.ts (21 tests) 69ms ✓ src/ui/hooks/useQwenAuth.test.ts (17 tests) 234ms ✓ src/acp-integration/session/HistoryReplayer.test.ts (16 tests) 68ms ✓ src/ui/components/shared/BaseSelectionList.test.tsx (26 tests | 1 skipped) 882ms ✓ src/ui/components/InputPrompt.test.tsx (100 tests | 1 skipped) 17305ms ✓ InputPrompt > should NOT call completion navigation when suggestions are not showing 350ms ✓ InputPrompt > paste auto-submission protection > should allow submission after paste protection timeout 848ms ✓ InputPrompt > large paste placeholder > should expand placeholder to full content on submit 828ms ✓ InputPrompt > large paste placeholder > should expand same-size placeholders correctly when #2 appears first 888ms ✓ InputPrompt > large paste placeholder > should write expanded placeholder content to shell history 784ms ✓ InputPrompt > large paste placeholder > should handle mixed pastes with different character counts 324ms ✓ src/ui/commands/memoryCommand.test.ts (13 tests) 25ms ✓ src/ui/hooks/useAtCompletion.test.ts (13 tests) 1365ms ✓ src/ui/components/messages/DiffRenderer.test.tsx (16 tests) 1179ms ✓ > should call colorizeCode with null language for new file with unknown extension 536ms ✓ src/config/migration/index.test.ts (26 tests) 57ms ✓ src/ui/components/QwenOAuthProgress.test.tsx (18 tests) 916ms ✓ src/ui/auth/AuthDialog.test.tsx (10 tests) 1290ms ✓ src/ui/hooks/useCommandCompletion.test.ts (14 tests) 385ms ✓ src/commands/extensions/settings.test.ts (20 tests) 344ms ✓ src/utils/installationInfo.test.ts (16 tests) 77ms Invalid values: Argument: approval-mode, Given: "invalid_mode", Choices: "plan", "default", "auto-edit", "yolo" Cannot use both --yolo (-y) and --approval-mode together. Use --approval-mode=yolo instead. process.exit unexpectedly called with "1" ✓ src/services/CommandService.test.ts (11 tests) 49ms ✓ src/config/config.integration.test.ts (19 tests) 2623ms ✓ Configuration Integration Tests > Approval Mode Integration Tests > should parse --approval-mode=auto-edit correctly through the full argument parsing flow 2285ms ✓ src/ui/components/ModelDialog.test.tsx (10 tests) 540ms ✓ src/commands/extensions/update.test.ts (14 tests) 98ms ✓ src/commands/extensions/consent.test.ts (17 tests) 73ms ✓ src/commands/mcp/add.test.ts (20 tests) 368ms ✓ src/utils/envVarResolver.test.ts (16 tests) 17ms ✓ src/ui/components/shared/MaxSizedBox.test.tsx (21 tests) 317ms ✓ src/config/settingsSchema.test.ts (14 tests) 95ms Fatal error: Failed to relaunch the CLI process. PROCESS_EXIT_CALLED Fatal error: Failed to relaunch the CLI process. PROCESS_EXIT_CALLED Fatal error: Failed to relaunch the CLI process. Runner failed node:internal/modules/cjs/loader:1458 throw err; ^ Error: Cannot find module '/app/cli.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1455:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1065:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1070:22) at Module._load (node:internal/modules/cjs/loader:1241:25) at wrapModuleLoad (node:internal/modules/cjs/loader:255:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v25.7.0 Fatal error: Failed to relaunch the CLI process. PROCESS_EXIT_CALLED ✓ src/utils/relaunch.test.ts (8 tests) 184ms ✓ src/utils/systemInfo.test.ts (15 tests) 73ms ✓ src/ui/components/messages/ToolGroupMessage.test.tsx (14 tests) 470ms ]2;Qwen - cli]2;Qwen - root]2;Qwen - root]2;Qwen - root ✓ src/gemini.test.tsx (11 tests) 616ms ✓ gemini.tsx main function > verifies that we dont load the config before relaunchAppInChildProcess 554ms ✓ src/ui/components/StatsDisplay.test.tsx (12 tests) 948ms ✓ src/utils/writeWithBackup.test.ts (12 tests) 71ms ✓ src/services/prompt-processors/injectionParser.test.ts (21 tests) 85ms ✓ src/ui/components/messages/ToolMessage.test.tsx (13 tests) 288ms (node:3122) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 mcp-client-update listeners added to [EventEmitter]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/ui/components/Composer.test.tsx (14 tests) 292ms ✓ src/services/FileCommandLoader-extension.test.ts (6 tests) 175ms ✓ src/ui/components/LoadingIndicator.test.tsx (16 tests) 251ms ✓ src/ui/commands/restoreCommand.test.ts (13 tests) 186ms ✓ src/ui/commands/copyCommand.test.ts (11 tests) 45ms ✓ src/utils/handleAutoUpdate.test.ts (9 tests) 41ms ✓ src/ui/hooks/useKeypress.test.ts (15 tests) 211ms ✓ src/ui/themes/color-utils.test.ts (16 tests) 21ms ✓ src/ui/utils/resumeHistoryUtils.test.ts (4 tests) 58ms ✓ src/ui/hooks/useEditorSettings.test.ts (10 tests) 148ms ✓ src/ui/commands/aboutCommand.test.ts (7 tests) 42ms ✓ src/ui/utils/computeStats.test.ts (12 tests) 46ms ✓ src/ui/commands/ideCommand.test.ts (8 tests) 91ms ✓ src/ui/hooks/useInputHistoryStore.test.ts (14 tests) 263ms ❯ src/ui/components/messages/AskUserQuestionDialog.test.tsx (13 tests | 1 failed) 1845ms ✓ > rendering > renders single question with options 179ms ✓ > rendering > renders header for single question 72ms ✓ > rendering > renders "Type something..." custom input option 37ms ✓ > rendering > renders help text for single select 37ms ✓ > rendering > renders tabs for multiple questions 30ms ✓ > rendering > renders multi-select with checkboxes 24ms ✓ > single-select interaction > selects an option with Enter and submits immediately for single question 188ms ✓ > single-select interaction > navigates with number keys 208ms ✓ > single-select interaction > cancels with Escape 158ms ✓ > multi-select interaction > toggles options with Space 168ms ✓ > multiple questions > shows Submit tab for multiple questions 250ms × > multiple questions > shows unanswered questions as (not answered) in Submit tab 306ms → expected '\n Q1 ▸ Q2 Submit\n\n What is your…' to contain '(not answered)' ✓ > focus behavior > does not respond to keys when isFocused is false 184ms ✓ src/ui/hooks/useShellHistory.test.ts (7 tests) 787ms ✓ src/ui/hooks/usePermissionsModifyTrust.test.ts (8 tests) 182ms ✓ src/ui/hooks/useInputHistory.test.ts (11 tests) 292ms ✓ src/acp-integration/session/emitters/PlanEmitter.test.ts (17 tests) 78ms ✓ src/acp-integration/session/emitters/MessageEmitter.test.ts (13 tests) 50ms ✓ src/ui/hooks/useHistoryManager.test.ts (8 tests) 264ms ✓ src/config/migration/versions/v1-to-v2.test.ts (20 tests) 39ms ✓ src/config/auth.test.ts (13 tests) 72ms ✓ src/ui/hooks/useReverseSearchCompletion.test.tsx (10 tests) 87ms ✓ src/services/command-migration-tool.test.ts (13 tests) 198ms ✓ src/services/prompt-processors/atFileProcessor.test.ts (11 tests) 51ms ✓ src/ui/hooks/usePhraseCycler.test.ts (9 tests) 240ms ✓ src/utils/gitUtils.test.ts (24 tests) 124ms ✓ src/commands/extensions/install.test.ts (8 tests) 119ms ✓ src/ui/commands/setupGithubCommand.test.ts (8 tests) 112ms ✓ src/ui/hooks/useMessageQueue.test.ts (9 tests) 210ms ✓ src/ui/components/HistoryItemDisplay.test.tsx (13 tests) 1081ms ✓ > should render a full gemini_content item when using availableTerminalHeightGemini 346ms ✓ src/ui/hooks/useIdeTrustListener.test.ts (5 tests) 72ms ✓ src/acp-integration/session/Session.test.ts (10 tests) 130ms ✓ src/ui/utils/textUtils.test.ts (9 tests) 7ms ✓ src/nonInteractive/io/StreamJsonInputReader.test.ts (11 tests) 96ms ✓ src/ui/components/messages/ToolConfirmationMessage.test.tsx (13 tests) 616ms ✓ src/ui/hooks/useGitBranchName.test.ts (7 tests | 2 skipped) 231ms ✓ src/ui/hooks/useResumeCommand.test.ts (6 tests) 86ms Error parsing settings file. Unexpected end of JSON input Settings file may be corrupted. Please check the JSON syntax. ✓ src/utils/commentJson.test.ts (8 tests) 20ms ✓ src/ui/components/messages/CompressionMessage.test.tsx (8 tests) 321ms ✓ src/ui/components/PluginChoicePrompt.test.tsx (12 tests) 735ms ✓ src/ui/components/ModelStatsDisplay.test.tsx (6 tests) 400ms ✓ src/commands/mcp/list.test.ts (4 tests) 13ms ✓ src/nonInteractiveCliCommands.test.ts (9 tests) 40ms ✓ src/ui/hooks/useFolderTrust.test.ts (9 tests) 135ms ✓ src/ui/commands/directoryCommand.test.tsx (7 tests) 16ms ✓ src/services/BuiltinCommandLoader.test.ts (7 tests) 28ms ✓ src/ui/hooks/useAttentionNotifications.test.ts (6 tests) 102ms ✓ src/ui/utils/MarkdownDisplay.test.tsx (31 tests) 1425ms ✓ > with 'Windows' line endings > renders a fenced code block without a language 730ms ✓ src/ui/utils/formatters.test.ts (25 tests) 51ms ✓ src/ui/commands/extensionsCommand.test.ts (7 tests) 57ms ✓ src/ui/utils/highlight.test.ts (16 tests) 19ms ✓ src/ui/components/PermissionsModifyTrustDialog.test.tsx (6 tests) 813ms ✓ PermissionsModifyTrustDialog > should render the main dialog with current trust level 321ms ✓ src/ui/hooks/useLoadingIndicator.test.ts (5 tests) 170ms ✓ src/utils/commands.test.ts (12 tests) 57ms ✓ src/ui/commands/approvalModeCommand.test.ts (13 tests) 133ms ✓ src/utils/deepMerge.test.ts (13 tests) 9ms ✓ src/ui/themes/theme-manager.test.ts (12 tests) 34ms ✓ src/ui/models/availableModels.test.ts (14 tests) 100ms ✓ src/ui/contexts/SessionContext.test.tsx (4 tests) 244ms ✓ src/ui/commands/initCommand.test.ts (5 tests) 62ms ✓ src/config/migration/scheduler.test.ts (7 tests) 87ms ✓ src/ui/commands/bugCommand.test.ts (3 tests) 34ms ✓ src/ui/components/shared/RadioButtonSelect.test.tsx (5 tests) 104ms ✓ src/ui/components/mcp/utils.test.ts (16 tests) 27ms ✓ src/acp-integration/service/filesystem.test.ts (4 tests) 24ms ✓ src/ui/utils/updateCheck.test.ts (9 tests) 58ms ✓ src/services/FileCommandLoader-markdown.test.ts (4 tests) 192ms ✓ src/ui/hooks/useTimer.test.ts (8 tests) 194ms ✓ src/ui/components/ToolStatsDisplay.test.tsx (5 tests) 369ms ✓ src/commands/extensions/utils.test.ts (6 tests) 18ms ✓ src/services/markdown-command-parser.test.ts (13 tests) 35ms ✓ src/ui/components/AnsiOutput.test.tsx (6 tests) 179ms ✓ src/ui/components/extensions/ExtensionsManagerDialog.test.tsx (4 tests) 225ms ✓ src/ui/commands/mcpCommand.test.ts (6 tests) 17ms ✓ src/commands/extensions/disable.test.ts (7 tests) 171ms ✓ src/ui/App.test.tsx (7 tests) 132ms ✓ src/ui/components/shared/EnumSelector.test.tsx (9 tests) 239ms ✓ src/ui/commands/compressCommand.test.ts (5 tests) 47ms ✓ src/ui/components/views/McpStatus.test.tsx (12 tests) 713ms ✓ src/ui/utils/clipboardUtils.test.ts (11 tests) 33ms ✓ src/ui/hooks/useFocus.test.ts (6 tests) 309ms ✓ src/ui/commands/modelCommand.test.ts (8 tests) 62ms ✓ src/commands/extensions/enable.test.ts (7 tests) 195ms ✓ src/ui/components/SessionSummaryDisplay.test.tsx (3 tests) 501ms ✓ > renders the summary display with a title 364ms ✓ src/commands/extensions/list.test.ts (4 tests) 96ms ✓ src/ui/components/FolderTrustDialog.test.tsx (9 tests) 416ms ✓ src/utils/readStdin.test.ts (4 tests) 32ms ✓ src/ui/components/extensions/steps/ExtensionListStep.test.tsx (5 tests) 191ms ✓ src/utils/userStartupWarnings.test.ts (5 tests) 26ms ✓ src/ui/components/PrepareLabel.test.tsx (6 tests) 376ms ✓ src/ui/commands/toolsCommand.test.ts (4 tests) 50ms ✓ src/commands/mcp/remove.test.ts (4 tests) 69ms ✓ src/ui/themes/theme.test.ts (5 tests) 19ms ✓ src/ui/commands/clearCommand.test.ts (2 tests) 26ms ✓ src/ui/components/SettingInputPrompt.test.tsx (6 tests) 167ms ✓ src/ui/components/Footer.test.tsx (6 tests) 216ms No extensions installed. ✓ src/ui/components/AppHeader.test.tsx (3 tests) 317ms ✓ src/utils/systemInfoFields.test.ts (2 tests) 9ms ✓ src/commands/extensions.test.tsx (11 tests) 134ms Successfully created new extension at /some/path. You can install this using "qwen extensions link /some/path" to test it out. Successfully created new extension from template "context" at /some/path. You can install this using "qwen extensions link /some/path" to test it out. Path already exists: /some/path ✓ src/commands/extensions/new.test.ts (4 tests) 137ms ✓ src/ui/commands/docsCommand.test.ts (3 tests) 36ms ✓ src/ui/components/ConsentPrompt.test.tsx (5 tests) 186ms ✓ src/ui/components/extensions/steps/ActionSelectionStep.test.tsx (5 tests) 265ms ✓ src/ui/components/QueuedMessageDisplay.test.tsx (5 tests) 104ms ✓ src/ui/utils/markdownUtilities.test.ts (7 tests) 24ms ✓ src/ui/components/views/ExtensionsList.test.tsx (9 tests) 292ms ✓ src/ui/hooks/useMemoryMonitor.test.ts (3 tests) 120ms ✓ src/config/keyBindings.test.ts (3 tests) 28ms ✓ src/commands/extensions/link.test.ts (4 tests) 103ms ✓ src/utils/windowTitle.test.ts (7 tests) 34ms ✓ src/ui/utils/displayUtils.test.ts (8 tests) 8ms ✓ src/ui/components/Header.test.tsx (9 tests) 387ms ✓ src/ui/components/ThemeDialog.test.tsx (2 tests) 1694ms ✓ ThemeDialog Snapshots > should render correctly in theme selection mode 1375ms ✓ ThemeDialog Snapshots > should render correctly in scope selector mode 318ms ✓ src/config/modelProvidersScope.test.ts (4 tests) 33ms ✓ src/ui/components/ContextSummaryDisplay.test.tsx (4 tests) 280ms ✓ src/ui/utils/sessionPickerUtils.test.ts (7 tests) 12ms ✓ src/utils/startupWarnings.test.ts (4 tests) 46ms ✓ src/ui/commands/terminalSetupCommand.test.ts (5 tests) 29ms ✓ src/ui/components/TodoDisplay.test.tsx (6 tests) 229ms ✓ src/ui/components/shared/DescriptiveRadioButtonSelect.test.tsx (2 tests) 147ms ✓ src/ui/hooks/useModelCommand.test.ts (3 tests) 37ms ✓ src/ui/commands/statsCommand.test.ts (3 tests) 58ms ✓ src/ui/components/IdeTrustChangeDialog.test.tsx (6 tests) 362ms ✓ src/ui/components/Help.test.tsx (4 tests) 347ms ✓ src/test-utils/mockCommandContext.test.ts (3 tests) 33ms ✓ src/ui/components/Tips.test.ts (6 tests) 23ms ✓ src/utils/attentionNotification.test.ts (4 tests) 15ms ✓ src/utils/cleanup.test.ts (4 tests) 26ms ✓ src/commands/mcp.test.ts (3 tests) 15ms ✓ src/ui/components/views/ToolsList.test.tsx (3 tests) 63ms ✓ src/ui/commands/helpCommand.test.ts (2 tests) 48ms ✓ src/utils/acpModelUtils.test.ts (5 tests) 27ms ✓ src/ui/commands/quitCommand.test.ts (1 test) 15ms ✓ src/services/prompt-processors/argumentProcessor.test.ts (2 tests) 6ms ✓ src/ui/components/ShellConfirmationDialog.test.tsx (4 tests) 132ms ✓ src/ui/commands/permissionsCommand.test.ts (3 tests) 13ms ✓ src/ui/components/LoopDetectionConfirmation.test.tsx (2 tests) 160ms ✓ src/ui/commands/themeCommand.test.ts (2 tests) 17ms ✓ src/ui/commands/settingsCommand.test.ts (2 tests) 16ms ✓ src/ui/commands/authCommand.test.ts (2 tests) 15ms ✓ src/ui/commands/resumeCommand.test.ts (2 tests) 19ms ✓ src/ui/commands/editorCommand.test.ts (2 tests) 5ms ✓ src/utils/processUtils.test.ts (1 test) 4ms ✓ src/commands/extensions/uninstall.test.ts (1 test) 16ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯ FAIL src/ui/components/messages/AskUserQuestionDialog.test.tsx > > multiple questions > shows unanswered questions as (not answered) in Submit tab AssertionError: expected '\n Q1 ▸ Q2 Submit\n\n What is your…' to contain '(not answered)' - Expected + Received - (not answered) + + Q1 ▸ Q2 Submit + + What is your favorite color? + + ❯ 1. Red + A warm color + 2. Blue + A cool color + 3. Green + 4. Type something... + + + ↑/↓: Navigate | ←/→: Switch tabs | Enter: Select | Esc: Cancel + ❯ src/ui/components/messages/AskUserQuestionDialog.test.tsx:303:27 301| await wait(); 302| 303| expect(lastFrame()).toContain('(not answered)'); | ^ 304| unmount(); 305| }); ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ Test Files 1 failed | 218 passed (219) Tests 1 failed | 3488 passed | 7 skipped (3496) Start at 07:49:55 Duration 109.89s (transform 62.48s, setup 12.89s, collect 1572.81s, tests 89.54s, environment 318.66s, prepare 77.90s) JUNIT report written to /startdir/src/qwen-code/packages/cli/junit.xml npm error Lifecycle script `test` failed with error: npm error code 1 npm error path /startdir/src/qwen-code/packages/cli npm error workspace @qwen-code/qwen-code@0.12.3 npm error location /startdir/src/qwen-code/packages/cli npm error command failed npm error command sh -c vitest run > @qwen-code/qwen-code-core@0.12.3 test > vitest run RUN v3.2.4 /startdir/src/qwen-code/packages/core Coverage enabled with v8 ✓ src/utils/memoryImportProcessor.test.ts (28 tests) 133ms ✓ src/mcp/oauth-provider.test.ts (22 tests) 330ms ✓ src/services/shellExecutionService.test.ts (39 tests) 201ms ✓ src/qwen/sharedTokenManager.test.ts (31 tests) 303ms ✓ src/core/openaiContentGenerator/pipeline.test.ts (22 tests) 135ms ✓ src/tools/mcp-tool.test.ts (45 tests) 304ms ✓ src/utils/fileUtils.test.ts (76 tests) 287ms (node:7012) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time. (Use `node --trace-warnings ...` to show where the warning was created) ✓ src/ide/ide-client.test.ts (32 tests) 267ms ✓ src/tools/lsp.test.ts (69 tests) 1109ms ✓ src/core/openaiContentGenerator/streamingToolCallParser.test.ts (59 tests) 119ms ✓ src/utils/paths.test.ts (105 tests) 110ms +----------------- Qwen OAuth Device Authorization ------------------+ | | | Please visit the following URL in your browser to authorize: | | | | https://chat.qwen.ai/device?code=TEST123 | | | | Waiting for authorization to complete... | | | +--------------------------------------------------------------------+ ✓ src/core/anthropicContentGenerator/converter.test.ts (29 tests) 74ms +----------------- Qwen OAuth Device Authorization ------------------+ | | | Please visit the following URL in your browser to authorize: | | | | https://chat.qwen.ai/device?code=TEST123 | | | | Waiting for authorization to complete... | | | +--------------------------------------------------------------------+ +----------------- Qwen OAuth Device Authorization ------------------+ | | | Please visit the following URL in your browser to authorize: | | | | https://chat.qwen.ai/device?code=TEST123 | | | | Waiting for authorization to complete... | | | +--------------------------------------------------------------------+ +----------------- Qwen OAuth Device Authorization ------------------+ | | | Please visit the following URL in your browser to authorize: | | | | https://chat.qwen.ai/device?code=TEST123 | | | | Waiting for authorization to complete... | | | +--------------------------------------------------------------------+ +----------------- Qwen OAuth Device Authorization ------------------+ | | | Please visit the following URL in your browser to authorize: | | | | https://chat.qwen.ai/device?code=TEST123 | | | | Waiting for authorization to complete... | | | +--------------------------------------------------------------------+ ✓ src/qwen/qwenOAuth2.test.ts (81 tests) 2225ms ✓ getQwenOAuthClient - Enhanced Error Scenarios > should handle different authentication failure reasons - timeout 2078ms ✓ src/models/modelsConfig.test.ts (41 tests) 65ms ✓ src/tools/memoryTool.test.ts (29 tests) 145ms ✓ src/core/openaiContentGenerator/provider/dashscope.test.ts (43 tests) 112ms ✓ src/tools/ripGrep.test.ts (40 tests) 550ms ✓ src/core/logger.test.ts (38 tests) 475ms ✓ src/extension/extensionSettings.test.ts (23 tests) 196ms ✓ src/telemetry/uiTelemetry.test.ts (21 tests) 54ms ✓ src/core/prompts.test.ts (51 tests) 62ms ✓ src/services/sessionService.test.ts (25 tests) 107ms ✓ src/lsp/NativeLspService.integration.test.ts (30 tests) 74ms ✓ src/utils/editor.test.ts (127 tests) 98ms ✓ src/services/loopDetectionService.test.ts (30 tests) 955ms ✓ LoopDetectionService > Content Loop Detection > should not detect a loop for random content 683ms ✓ src/hooks/hookAggregator.test.ts (24 tests) 25ms ✓ src/utils/filesearch/fileSearch.test.ts (27 tests) 175ms ✓ src/hooks/hookRegistry.test.ts (23 tests) 85ms ✓ src/models/modelRegistry.test.ts (35 tests) 23ms ✓ src/core/turn.test.ts (23 tests) 72ms ✓ src/telemetry/loggers.test.ts (24 tests) 154ms ✓ src/core/coreToolScheduler.test.ts (43 tests) 482ms ✓ src/core/openaiContentGenerator/converter.test.ts (63 tests) 108ms ✓ src/qwen/qwenContentGenerator.test.ts (44 tests) 462ms ✓ src/subagents/subagent-manager.test.ts (53 tests) 368ms ✓ src/tools/shell.test.ts (53 tests) 648ms ✓ src/tools/write-file.test.ts (34 tests) 567ms ✓ src/config/config.test.ts (75 tests) 528ms ✓ src/extension/extensionManager.test.ts (34 tests) 169ms ✓ src/subagents/subagent.test.ts (23 tests | 2 skipped) 965ms ✓ src/core/client.test.ts (48 tests) 1004ms ✓ src/tools/edit.test.ts (56 tests) 763ms ✓ src/utils/retry.test.ts (29 tests) 124ms ✓ src/mcp/oauth-token-storage.test.ts (28 tests) 33ms ✓ src/utils/systemEncoding.test.ts (39 tests) 63ms ✓ src/utils/workspaceContext.test.ts (34 tests) 68ms ✓ src/mcp/oauth-utils.test.ts (27 tests) 42ms ✓ src/tools/read-file.test.ts (27 tests) 595ms ✓ src/utils/shell-utils.test.ts (69 tests) 27ms ✓ src/utils/memoryDiscovery.test.ts (14 tests) 266ms ✓ src/tools/ls.test.ts (25 tests) 494ms ✓ src/hooks/hookRunner.test.ts (26 tests) 157ms ✓ src/telemetry/metrics.test.ts (38 tests) 3091ms ✓ src/subagents/validation.test.ts (37 tests) 71ms ✓ src/utils/pathReader.test.ts (16 tests) 102ms ✓ src/utils/filesearch/crawler.test.ts (18 tests) 62ms ✓ src/services/chatCompressionService.test.ts (19 tests) 64ms ✓ src/tools/skill.test.ts (21 tests) 63ms ✓ src/ide/ideContext.test.ts (23 tests) 15ms ✓ src/skills/skill-manager.test.ts (33 tests) 61ms ✓ src/telemetry/qwen-logger/qwen-logger.test.ts (23 tests) 145ms ✓ src/core/baseLlmClient.test.ts (18 tests) 28ms ✓ src/utils/openaiLogger.test.ts (25 tests) 268ms ✓ src/core/tokenLimits.test.ts (51 tests) 28ms ✓ src/hooks/hookPlanner.test.ts (20 tests) 41ms ✓ src/core/openaiContentGenerator/errorHandler.test.ts (36 tests) 87ms ✓ src/core/anthropicContentGenerator/anthropicContentGenerator.test.ts (10 tests) 3010ms ✓ AnthropicContentGenerator > passes a QwenCode User-Agent header to the Anthropic SDK 627ms ✓ AnthropicContentGenerator > omits the anthropic beta header when reasoning is disabled 375ms ✓ AnthropicContentGenerator > generateContent > builds request with config sampling params (config overrides request) and thinking budget 334ms ✓ AnthropicContentGenerator > generateContent > omits thinking when request.config.thinkingConfig.includeThoughts is false 314ms ✓ AnthropicContentGenerator > countTokens > counts tokens using the request tokenizer 389ms ✓ AnthropicContentGenerator > generateContentStream > requests stream=true and converts streamed events into Gemini chunks 337ms ✓ src/core/geminiContentGenerator/geminiContentGenerator.test.ts (10 tests) 15ms ✓ src/utils/ignorePatterns.test.ts (28 tests) 67ms ✓ src/utils/partUtils.test.ts (37 tests) 100ms ✓ src/tools/glob.test.ts (37 tests) 5127ms ✓ GlobTool > validateToolParams > should return error if pattern is only whitespace 324ms ✓ GlobTool > file count truncation > should truncate results when more than 100 files are found 870ms ✓ GlobTool > file count truncation > should use correct plural in truncation message for multiple files truncated 733ms ✓ src/core/loggingContentGenerator/loggingContentGenerator.test.ts (4 tests) 53ms ✓ src/subagents/subagent-statistics.test.ts (30 tests) 89ms ✓ src/utils/getFolderStructure.test.ts (15 tests) 167ms ✓ src/utils/request-tokenizer/textTokenizer.test.ts (31 tests) 202ms ✓ src/tools/modifiable-tool.test.ts (11 tests) 69ms ✓ src/utils/generateContentResponseUtilities.test.ts (29 tests) 16ms ✓ src/utils/readManyFiles.test.ts (15 tests) 86ms ✓ src/core/geminiChat.test.ts (31 tests) 6396ms ✓ GeminiChat > should correctly retry and append to an existing history mid-conversation 2019ms ✓ GeminiChat > should retry if the model returns a completely empty stream (no chunks) 2011ms ✓ GeminiChat > should discard valid partial content from a failed attempt upon retry 2026ms ✓ src/core/__tests__/openaiTimeoutHandling.test.ts (12 tests) 99ms ✓ src/core/openaiContentGenerator/provider/default.test.ts (14 tests) 20ms ✓ src/extension/marketplace.test.ts (18 tests) 51ms ✓ src/tools/grep.test.ts (29 tests) 2794ms ✓ GrepTool > Result limiting > should show all results when no limit is specified 1141ms ✓ GrepTool > Result limiting > should respect custom limit parameter 756ms ✓ src/tools/todoWrite.test.ts (17 tests) 62ms ✓ src/hooks/hookEventHandler.test.ts (10 tests) 77ms ✓ src/output/json-formatter.test.ts (15 tests) 17ms ✓ src/models/modelConfigResolver.test.ts (19 tests) 67ms ✓ src/skills/skill-load.test.ts (16 tests) 49ms ✓ src/mcp/token-storage/file-token-storage.test.ts (16 tests) 1781ms ✓ src/mcp/token-storage/hybrid-token-storage.test.ts (11 tests) 56ms ✓ src/core/openaiContentGenerator/openaiContentGenerator.test.ts (13 tests) 73ms ✓ src/utils/envVarResolver.test.ts (16 tests) 29ms ✓ src/services/gitService.test.ts (12 tests) 154ms ✓ src/mcp/token-storage/keychain-token-storage.test.ts (24 tests) 4384ms ✓ KeychainTokenStorage > with keychain available > listServers > should return an empty array on error 360ms ✓ src/utils/gitIgnoreParser.test.ts (20 tests) 267ms ✓ src/utils/schemaValidator.test.ts (22 tests) 222ms ✓ src/tools/task.test.ts (23 tests) 83ms ✓ src/utils/debugLogger.test.ts (16 tests) 71ms ✓ src/utils/subagentGenerator.test.ts (9 tests) 34ms ✓ src/utils/request-tokenizer/requestTokenizer.test.ts (11 tests) 76ms ✓ src/services/fileSystemService.test.ts (12 tests) 102ms ✓ src/extension/claude-converter.test.ts (12 tests) 85ms ✓ src/utils/secure-browser-launcher.test.ts (14 tests) 61ms ✓ src/core/openaiContentGenerator/provider/openrouter.test.ts (12 tests) 56ms ✓ src/utils/environmentContext.test.ts (7 tests) 193ms ✓ src/services/fileDiscoveryService.test.ts (13 tests) 77ms ✓ src/extension/github.test.ts (28 tests) 264ms ✓ src/tools/mcp-client.test.ts (26 tests) 179ms ✓ src/utils/editHelper.test.ts (17 tests) 8ms ✓ src/utils/terminalSerializer.test.ts (16 tests) 254ms ✓ src/utils/yaml-parser.test.ts (18 tests) 13ms ✓ src/core/modalityDefaults.test.ts (30 tests) 52ms ✓ src/tools/tools.test.ts (11 tests) 43ms ✓ src/mcp/token-storage/base-token-storage.test.ts (12 tests) 34ms ✓ src/tools/diffOptions.test.ts (9 tests) 40ms ✓ src/ide/ide-installer.test.ts (10 tests) 95ms ✓ src/mcp/sa-impersonation-provider.test.ts (8 tests) 24ms ✓ src/utils/request-tokenizer/imageTokenizer.test.ts (9 tests) 26ms ✓ src/ide/process-utils.test.ts (6 tests) 28ms ✓ src/extension/gemini-converter.test.ts (9 tests) 19ms ✓ src/utils/filesearch/ignore.test.ts (12 tests) 84ms ✓ src/tools/tool-registry.test.ts (9 tests) 172ms ✓ src/utils/safeJsonParse.test.ts (14 tests) 32ms ✓ src/core/openaiContentGenerator/provider/deepseek.test.ts (7 tests) 28ms ✓ src/extension/override.test.ts (16 tests) 31ms ✓ src/ide/detect-ide.test.ts (14 tests) 24ms ✓ src/utils/quotaErrorDetection.test.ts (17 tests) 32ms ✓ src/services/chatRecordingService.test.ts (11 tests) 79ms ✓ src/extension/settings.test.ts (10 tests) 16ms ✓ src/utils/textUtils.test.ts (20 tests) 5ms ✓ src/utils/errorReporting.test.ts (5 tests) 31ms ✓ src/utils/filesearch/crawlCache.test.ts (9 tests) 10ms ✓ src/utils/configResolver.test.ts (12 tests) 7ms ✓ src/utils/schemaConverter.test.ts (12 tests) 20ms ✓ src/core/nonInteractiveToolExecutor.test.ts (8 tests) 124ms ✓ src/telemetry/sdk.test.ts (6 tests) 105ms ✓ src/subagents/builtin-agents.test.ts (8 tests) 20ms ✓ src/utils/rateLimit.test.ts (13 tests) 22ms ✓ src/telemetry/config.test.ts (11 tests) 37ms ✓ src/mcp/google-auth-provider.test.ts (8 tests) 28ms ✓ src/utils/installationManager.test.ts (4 tests) 7ms ✓ src/lsp/NativeLspService.test.ts (3 tests) 27ms ✓ src/core/openaiContentGenerator/provider/modelscope.test.ts (5 tests) 5ms ✓ src/tools/web-search/index.test.ts (10 tests) 135ms ✓ src/utils/errorParsing.test.ts (11 tests) 22ms ✓ src/utils/errors.test.ts (12 tests) 22ms ✓ src/extension/storage.test.ts (5 tests) 30ms ✓ src/utils/thoughtUtils.test.ts (11 tests) 11ms ✓ src/utils/toml-to-markdown-converter.test.ts (10 tests) 60ms ✓ src/utils/runtimeFetchOptions.test.ts (4 tests) 29ms ✓ src/utils/nextSpeakerChecker.test.ts (10 tests) 42ms ✓ src/core/geminiRequest.test.ts (12 tests) 4ms ✓ src/utils/safeJsonStringify.test.ts (8 tests) 11ms ✓ src/hooks/hookSystem.test.ts (15 tests) 101ms ✓ src/utils/qwenIgnoreParser.test.ts (2 tests) 70ms ✓ src/utils/filesearch/result-cache.test.ts (3 tests) 4ms ✓ src/telemetry/telemetry-utils.test.ts (6 tests) 18ms ✓ src/config/storage.test.ts (5 tests) 3ms ✓ src/utils/fetch.test.ts (3 tests) 7ms ✓ src/subagents/types.test.ts (3 tests) 4ms ✓ src/tools/mcp-client-manager.test.ts (7 tests) 11ms ✓ src/lsp/LspConfigLoader.test.ts (2 tests) 116ms ✓ src/extension/variables.test.ts (1 test) 3ms ✓ src/index.test.ts (1 test) 13ms ✓ src/core/contentGenerator.test.ts (4 tests) 67ms ✓ src/tools/askUserQuestion.test.ts (9 tests) 35ms ✓ src/utils/shellReadOnlyChecker.test.ts (33 tests) 29ms ✓ src/tools/exitPlanMode.test.ts (16 tests) 33ms ✓ src/tools/web-fetch.test.ts (7 tests) 138ms ✓ src/core/geminiContentGenerator/index.test.ts (1 test) 11ms ✓ src/utils/summarizer.test.ts (8 tests) 66ms ✓ src/utils/ripgrepUtils.test.ts (6 tests) 5ms ✓ src/utils/tool-utils.test.ts (19 tests) 19ms ✓ src/telemetry/telemetry.test.ts (2 tests) 22ms Test Files 174 passed (174) Tests 3902 passed | 2 skipped (3904) Start at 07:51:47 Duration 34.94s (transform 44.36s, setup 7.94s, collect 447.28s, tests 50.68s, environment 100ms, prepare 48.39s) JUNIT report written to /startdir/src/qwen-code/packages/core/junit.xml % Coverage report from v8 > @qwen-code/sdk@0.1.4 test > vitest run RUN v1.6.1 /startdir/src/qwen-code/packages/sdk-typescript ✓ test/unit/cliPath.test.ts (33 tests) 28ms 2026-03-14 07:52:25 [ERROR] [ProcessTransport] Failed to initialize CLI process: Transport start aborted 2026-03-14 07:52:25 [ERROR] [ProcessTransport] Failed to initialize CLI process: Transport start aborted 2026-03-14 07:52:25 [ERROR] [ProcessTransport] CLI process error: Spawn failed 2026-03-14 07:52:25 [ERROR] [ProcessTransport] CLI process exited with code 1 2026-03-14 07:52:25 [ERROR] [ProcessTransport] CLI process terminated by signal SIGTERM (node:10936) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 exit listeners added to [process]. MaxListeners is 10. Use emitter.setMaxListeners() to increase limit (Use `node --trace-warnings ...` to show where the warning was created) 2026-03-14 07:52:25 [ERROR] [ProcessTransport] CLI process error: Process error 2026-03-14 07:52:25 [DEBUG] [ProcessTransport] Spawning CLI (native): qwen --input-format stream-json --output-format stream-json --channel=SDK ✓ test/unit/createSdkMcpServer.test.ts (18 tests) 16ms ✓ test/unit/ProcessTransport.test.ts (66 tests) 93ms 2026-03-14 07:52:25 [ERROR] [ProcessTransport] CLI process exited with code 1 2026-03-14 07:52:25 [ERROR] [ProcessTransport] CLI process error: Process error 2026-03-14 07:52:25 [ERROR] [ProcessTransport] CLI process exited with code 1 2026-03-14 07:52:25 [ERROR] [ProcessTransport] CLI process terminated by signal SIGKILL 2026-03-14 07:52:25 [INFO] [ProcessTransport] CLI process started successfully 2026-03-14 07:52:26 [DEBUG] [ProcessTransport] Forking CLI (node): /path/to/cli.js --input-format stream-json --output-format stream-json --channel=SDK 2026-03-14 07:52:26 [INFO] [ProcessTransport] CLI process started successfully 2026-03-14 07:52:26 [ERROR] [Query] Control response error for request d9c8e8ed-9de6-497b-912b-d11790aecd2f: Test error 2026-03-14 07:52:26 [ERROR] [Query] Initialization error: Test error ✓ test/unit/Stream.test.ts (20 tests) 10ms 2026-03-14 07:52:38 [ERROR] [Query] Initialization error: Query is closed 2026-03-14 07:52:49 [ERROR] [Query] Control response error for request 48b3c20a-c26a-4b54-8553-70c44a3fc497: Malformed error ✓ test/unit/Query.test.ts (53 tests) 23707ms Test Files 5 passed (5) Tests 190 passed (190) Start at 07:52:25 Duration 24.60s (transform 1.00s, setup 0ms, collect 1.77s, tests 23.85s, environment 1ms, prepare 467ms) > qwen-code-vscode-ide-companion@0.12.3 test > vitest run RUN v3.2.4 /startdir/src/qwen-code/packages/vscode-ide-companion ✓ src/webview/providers/ChatWebviewViewProvider.test.ts (2 tests) 6ms ✓ src/package.test.ts (1 test) 2ms stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > current_mode_update handling > calls onModeChanged callback with mode id [SessionUpdateHandler] Processing update type: current_mode_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > agent_message_chunk handling > calls onStreamChunk callback with text content [SessionUpdateHandler] Processing update type: agent_message_chunk stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > agent_message_chunk handling > emits usage metadata when present [SessionUpdateHandler] Processing update type: agent_message_chunk stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > agent_message_chunk handling > maps SDK usage field names to both SDK and legacy fields [SessionUpdateHandler] Processing update type: agent_message_chunk stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > tool_call handling > calls onToolCall callback with tool call data [SessionUpdateHandler] Processing update type: tool_call stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > plan handling > calls onPlan callback with plan entries [SessionUpdateHandler] Processing update type: plan stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > plan handling > falls back to stream chunk when onPlan is not set [SessionUpdateHandler] Processing update type: plan stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > available_commands_update handling > calls onAvailableCommands callback with commands [SessionUpdateHandler] Processing update type: available_commands_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > available_commands_update handling > handles commands with input hint [SessionUpdateHandler] Processing update type: available_commands_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > available_commands_update handling > does not call callback when onAvailableCommands is not set [SessionUpdateHandler] Processing update type: available_commands_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > available_commands_update handling > handles empty commands list [SessionUpdateHandler] Processing update type: available_commands_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > updateCallbacks > updates mode callback and uses new one [SessionUpdateHandler] Processing update type: current_mode_update stdout | src/services/qwenSessionUpdateHandler.test.ts > QwenSessionUpdateHandler > updateCallbacks > updates onAvailableCommands callback [SessionUpdateHandler] Processing update type: available_commands_update ✓ src/utils/acpModelInfo.test.ts (12 tests) 7ms ✓ src/utils/errorMessage.test.ts (2 tests) 3ms ✓ src/services/qwenSessionUpdateHandler.test.ts (13 tests) 21ms stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > returns full content when no line/limit specified [ACP] fs/read_text_file request received for: /test/file.txt [ACP] Parameters: { line: null, limit: null, sessionId: 'sid' } stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > returns full content when no line/limit specified [ACP] Successfully read file: /test/file.txt (18 chars) [ACP] Returning full file content stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > uses 1-based line indexing (ACP spec) [ACP] fs/read_text_file request received for: /test/file.txt [ACP] Parameters: { line: 2, limit: 2, sessionId: 'sid' } stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > uses 1-based line indexing (ACP spec) [ACP] Successfully read file: /test/file.txt (29 chars) [ACP] Returning 2 lines stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > treats line=1 as first line [ACP] fs/read_text_file request received for: /test/file.txt [ACP] Parameters: { line: 1, limit: 1, sessionId: 'sid' } stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > treats line=1 as first line [ACP] Successfully read file: /test/file.txt (18 chars) [ACP] Returning 1 lines stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > defaults to line=1 when line is null but limit is set [ACP] fs/read_text_file request received for: /test/file.txt [ACP] Parameters: { line: null, limit: 2, sessionId: 'sid' } stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > defaults to line=1 when line is null but limit is set [ACP] Successfully read file: /test/file.txt (7 chars) [ACP] Returning 2 lines stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > clamps negative line values to 0 [ACP] fs/read_text_file request received for: /test/file.txt [ACP] Parameters: { line: -5, limit: null, sessionId: 'sid' } stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > clamps negative line values to 0 [ACP] Successfully read file: /test/file.txt (5 chars) [ACP] Returning 3 lines stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > propagates ENOENT errors [ACP] fs/read_text_file request received for: /missing/file.txt [ACP] Parameters: { line: null, limit: null, sessionId: 'sid' } stderr | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > propagates ENOENT errors [ACP] Failed to read file /missing/file.txt: ENOENT stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > normalises VS Code FileNotFound to ENOENT [ACP] fs/read_text_file request received for: /missing/file.txt [ACP] Parameters: { line: null, limit: null, sessionId: 'sid' } stderr | src/services/acpFileHandler.test.ts > AcpFileHandler > handleReadTextFile > normalises VS Code FileNotFound to ENOENT [ACP] Failed to read file /missing/file.txt: file not found stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleWriteTextFile > creates directory and uses WorkspaceEdit for existing file [ACP] fs/write_text_file request received for: /test/dir/file.txt [ACP] Content size: 5 bytes [ACP] Ensuring directory exists: /test/dir stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleWriteTextFile > creates directory and uses WorkspaceEdit for existing file [ACP] Successfully wrote file: /test/dir/file.txt stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleWriteTextFile > writes bytes directly for new (non-existing) file [ACP] fs/write_text_file request received for: /test/dir/newfile.txt [ACP] Content size: 5 bytes [ACP] Ensuring directory exists: /test/dir stdout | src/services/acpFileHandler.test.ts > AcpFileHandler > handleWriteTextFile > writes bytes directly for new (non-existing) file [ACP] Successfully wrote file: /test/dir/newfile.txt ✓ src/webview/providers/ChatProviderRegistry.test.ts (2 tests) 8ms ✓ src/services/acpFileHandler.test.ts (9 tests) 24ms ✓ src/commands/index.test.ts (3 tests) 9ms ✓ src/webview/providers/chatViewRegistration.test.ts (6 tests) 13ms ✓ src/webview/providers/WebViewContent.test.ts (5 tests) 4ms ✓ src/services/acpConnection.test.ts (2 tests) 3ms stdout | src/webview/handlers/FileMessageHandler.test.ts > FileMessageHandler > filters ignored paths and includes request metadata in workspace files [FileMessageHandler] handleGetWorkspaceFiles start { query: 'txt', requestId: 7 } [FileMessageHandler] Searching workspace files for query txt stdout | src/webview/handlers/FileMessageHandler.test.ts > FileMessageHandler > filters ignored paths and includes request metadata in workspace files [FileMessageHandler] Sent final workspaceFiles 1 ✓ src/webview/utils/utils.test.ts (15 tests) 7ms ✓ src/webview/handlers/FileMessageHandler.test.ts (1 test) 29ms ✓ src/open-files-manager.test.ts (17 tests) 77ms ✓ src/services/qwenAgentManager.test.ts (6 tests) 4ms ✓ src/ide-server.test.ts (13 tests | 1 skipped) 155ms stderr | src/extension.test.ts > activate > should not show the info message on subsequent activations [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > should register a handler for onDidGrantWorkspaceTrust [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > should register webview view providers for sidebar and secondary positions [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > should launch the Qwen Code when the user clicks the button [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > update notification > should show an update notification if a newer version is available [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > update notification > should not show an update notification if the version is the same [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > update notification > does not show the notification for 'cloudshell' [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > update notification > does not show the notification for 'firebasestudio' [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > update notification > should not show an update notification if the version is older [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > update notification > should execute the install command when the user clicks "Update" [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance stderr | src/extension.test.ts > activate > update notification > should handle fetch errors gracefully [ReadonlyFileSystemProvider] Instance already exists, replacing with new instance ✓ src/extension.test.ts (12 tests) 106ms Test Files 17 passed (17) Tests 120 passed | 1 skipped (121) Start at 07:52:50 Duration 2.90s (transform 4.39s, setup 0ms, collect 11.44s, tests 476ms, environment 3ms, prepare 3.72s) ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_ff01a2ad-6567-4dba-9f2c-9224a78cfd1a/build