mac02: building krblixhyd33vln6vqlsfxaq1a6lhprdg-agent-deck-1.16.38.drv Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/ydyrbfssgjvfj74wmgimpzia6izxz6di-source source root is source Running phase: patchPhase patching script interpreter paths in internal/provider/testdata/fake-provider.sh internal/provider/testdata/fake-provider.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/i1pdjlwb27ki88zssg5q2h696v1r1m15-bash-5.3p20/bin/sh" Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Building subPackage ./cmd/agent-deck Running phase: checkPhase 2026/11/08 04:53:25 WARN codex_hook_status_unreadable instance=partial path=/private/tmp/nix-7xqG79/TestWriteCodexHookStatus_PartialPriorFailsClosed4265809512/001/.local/share/agent-deck/hooks/partial.json bytes=10 Codex notify hook installed successfully. Config: /private/tmp/nix-7xqG79/TestCodexHooksInstallUninstall2464093335/001/.codex/config.toml Codex notify hook removed successfully. Codex notify hook upgraded successfully. Config: /private/tmp/nix-7xqG79/TestCodexHooksInstall_UpgradesLegacyTableWithoutMarkers3146936064/001/.codex/config.toml Codex notify hook upgraded successfully. Config: /private/tmp/nix-7xqG79/TestCodexHooksInstall_UpgradesLegacyMarkerBlock2517678837/001/.codex/config.toml Codex notify hook upgraded successfully. Config: /private/tmp/nix-7xqG79/TestCodexHooksInstall_ReplacesBlockInPlaceAndKeepsMode524224979/001/.codex/config.toml Codex notify hook removed successfully. Error reading codex config: open /private/tmp/nix-7xqG79/TestCodexHooksInstall_UnreadableConfigIsNotOverwritten840104400/001/.codex/config.toml: permission denied Error writing codex config: open /private/tmp/nix-7xqG79/TestCodexHooksInstall_ReadOnlyConfigIsNotReplaced3575442793/001/.codex/config.toml: permission denied Codex notify hook upgraded successfully. Config: /private/tmp/nix-7xqG79/TestCodexHooksUninstall_KeepsLineEndingscrlf3127251454/001/.codex/config.toml Codex notify hook removed successfully. Codex notify hook upgraded successfully. Config: /private/tmp/nix-7xqG79/TestCodexHooksUninstall_KeepsLineEndingsno_final_newline2254703080/001/.codex/config.toml Codex notify hook removed successfully. Error: the agent-deck notify block in /private/tmp/nix-7xqG79/TestCodexHooksInstall_BlockBelowTableIsRefusedprofiles.work4071394878/001/.codex/config.toml sits below a [table], where notify belongs to that table. Move the block above every table, or remove it and rerun 'agent-deck codex-hooks install'. Error: the agent-deck notify block in /private/tmp/nix-7xqG79/TestCodexHooksInstall_BlockBelowTableIsRefusedprofiles.qa,wes2656656124/001/.codex/config.toml sits below a [table], where notify belongs to that table. Move the block above every table, or remove it and rerun 'agent-deck codex-hooks install'. Error: the agent-deck notify block in /private/tmp/nix-7xqG79/TestCodexHooksInstall_BlockBelowTableIsRefused_hooks_._a=b1225731340/001/.codex/config.toml sits below a [table], where notify belongs to that table. Move the block above every table, or remove it and rerun 'agent-deck codex-hooks install'. agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-7xqG79/TestEventProfileUsesStorageFallbackForMissingInference2572492428/001/.claude-ghost" would select profile "ghost", which does not exist; falling back to profile "work" instead of creating it. Known profiles: none yet. Pass -p/--profile or set AGENTDECK_PROFILE explicitly to pick a different profile, run `agent-deck profile create ghost` if you intend to create it, or unset CLAUDE_CONFIG_DIR to use the default profile. Gemini hooks installed successfully. Config: /private/tmp/nix-7xqG79/TestGeminiHooksInstallUninstall3089622707/001/.gemini/settings.json Gemini hooks removed successfully. ✓ Reordered group 'Beta': position 1 → 0 ✓ Reordered group 'Beta': position 1 → 2 ✓ Reordered group 'Gamma': position 2 → 0 ✓ Reordered group 'Alpha': position 0 → 0 ✓ Reordered group 'Gamma': position 2 → 2 ✓ Reordered group 'Alpha': position 0 → 2 agentpaths: resolved agent-deck path under the real home (/private/tmp/nix-POBL1w/.config/agent-deck); this touches REAL user data. If this is a test, it is NOT sandboxed; call testutil.IsolateHome() in TestMain and run with a temp HOME+XDG (2026-06-04 data-loss incident, S4). WARNING: no notify-daemon running; completions are not being recorded, so an empty drain or 0 done does not mean nothing finished. Start one with `agent-deck notify-daemon` (`agent-deck conductor setup` installs it as a service). WARNING: no notify-daemon running; completions are not being recorded, so an empty drain or 0 done does not mean nothing finished. Start one with `agent-deck notify-daemon` (`agent-deck conductor setup` installs it as a service). agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-7xqG79/TestIssue2740_WatcherCommandsUseTheResolvedProfileCLAUDE_CONFIG2388986643/001/.claude-ghost" would select profile "ghost", which does not exist; falling back to profile "work" instead of creating it. Known profiles: none yet. Pass -p/--profile or set AGENTDECK_PROFILE explicitly to pick a different profile, run `agent-deck profile create ghost` if you intend to create it, or unset CLAUDE_CONFIG_DIR to use the default profile. agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-7xqG79/TestIssue2740_WatcherCommandsUseTheResolvedProfileCLAUDE_CONFIG2388986643/001/.claude-ghost" would select profile "ghost", which does not exist; falling back to profile "work" instead of creating it. Known profiles: work. Pass -p/--profile or set AGENTDECK_PROFILE explicitly to pick a different profile, run `agent-deck profile create ghost` if you intend to create it, or unset CLAUDE_CONFIG_DIR to use the default profile. agent-deck: CLAUDE_CONFIG_DIR="/private/tmp/nix-7xqG79/TestIssue2740_WatcherCommandsUseTheResolvedProfileCLAUDE_CONFIG2388986643/001/.claude-ghost" would select profile "ghost", which does not exist; falling back to profile "work" instead of creating it. Known profiles: work. Pass -p/--profile or set AGENTDECK_PROFILE explicitly to pick a different profile, run `agent-deck profile create ghost` if you intend to create it, or unset CLAUDE_CONFIG_DIR to use the default profile. notify-daemon: binary upgraded (running 1.16.38, on-disk 1.16.38-next); recycling notify-daemon: binary upgraded (running 1.16.38, on-disk 1.16.38-next); recycling --- FAIL: TestProviderConnectAzure_HappyPathEndToEnd (1.35s) provider_connect_azure_test.go:281: connect exit 1 stdout: Logging in to Azure with a one-time code. Being logged in to portal.azure.com in a browser does not log in this command; it needs its own login. This works over ssh: you can open the link on any phone or computer. 1. Open: https://microsoft.com/devicelogin 2. Enter code: FAKE1234X 3. Sign in with the Microsoft account that owns (or can use) your Azure subscription. Waiting for you to finish (up to 15 minutes)... Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_HappyPathEndToEnd908835818/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_SecretOnlyOnStdinAndNeverPrinted (0.94s) provider_connect_azure_test.go:418: connect exit 1 stdout: {"event":"step","message":"","status":"start","step":"az"} {"event":"step","message":"","status":"ok","step":"az"} {"event":"step","message":"","status":"start","step":"login"} {"code":"FAKE1234X","event":"device_code","url":"https://microsoft.com/devicelogin"} {"event":"step","message":"Using your az login: dev.tester@outlook.com","status":"ok","step":"login"} {"event":"step","message":"","status":"start","step":"subscription"} {"event":"step","message":"Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111)","status":"ok","step":"subscription"} {"event":"step","message":"","status":"start","step":"providers"} {"event":"step","message":"","status":"ok","step":"providers"} {"event":"step","message":"","status":"start","step":"group"} {"event":"step","message":"","status":"start","step":"region"} {"event":"step","message":"","status":"start","step":"quota"} {"event":"step","message":"vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2).","status":"ok","step":"quota"} {"event":"step","message":"Created resource group agent-deck-sandboxes in westeurope.","status":"ok","step":"group"} {"event":"step","message":"Region westeurope takes new resources and offers Standard_B2s.","status":"ok","step":"region"} {"event":"step","message":"","status":"start","step":"sp"} {"event":"step","message":"Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready.","status":"ok","step":"sp"} {"event":"step","message":"Role: Contributor on resource group agent-deck-sandboxes only.","status":"ok","step":"sp"} {"event":"step","message":"","status":"start","step":"store"} {"event":"step","message":"Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_SecretOnlyOnStdinAndNeverPrinted1432741899/001/.config/agent-deck/azure-vm.conf.","status":"ok","step":"store"} {"event":"step","message":"","status":"start","step":"check"} {"event":"step","message":"Waiting for Azure to see the new service principal...","status":"warn","step":"check"} {"event":"error","kind":"check_failed","message":"Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal.\nprovider \"azure\" list failed: exit status 1: azure-vm provider: python3 not found in PATH\nRun the check again later with: agent-deck provider test azure"} stderr: --- FAIL: TestProviderConnectAzure_IdempotentRerun (0.86s) provider_connect_azure_test.go:452: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_IdempotentRerun2192583147/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_KeepsExtraConfKeys (0.92s) provider_connect_azure_test.go:491: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B1ms VM needs 1). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B1ms. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_KeepsExtraConfKeys3659679522/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_KeepsOtherProviderCommand (1.06s) provider_connect_azure_test.go:525: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Keeping your [providers.azure] command: /private/tmp/nix-7xqG79/TestProviderConnectAzure_KeepsOtherProviderCommand4084211705/001/my-azure-provider Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_KeepsOtherProviderCommand4084211705/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_MultiSubTTYMenu (0.95s) provider_connect_azure_test.go:686: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Pay-As-You-Go Dev (22222222-2222-4222-8222-222222222222) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_MultiSubTTYMenu1183438781/001/.config/agent-deck/azure-vm.conf. stderr: You have several subscriptions: 1) Azure subscription 1 (11111111-1111-4111-8111-111111111111) 2) Pay-As-You-Go Dev (22222222-2222-4222-8222-222222222222) Pick one [1-2]: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_SubscriptionByNameAndID (0.96s) provider_connect_azure_test.go:713: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Pay-As-You-Go Dev (22222222-2222-4222-8222-222222222222) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_SubscriptionByNameAndID695210044/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_QuotaFull (1.06s) provider_connect_azure_test.go:819: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 1 free (a Standard_B1s VM needs 1). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B1s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_QuotaFull2856006832/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_QuotaUnreadableContinues (0.86s) provider_connect_azure_test.go:826: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_QuotaUnreadableContinues2060442907/001/.config/agent-deck/azure-vm.conf. stderr: Could not read the vCPU quota for westeurope; continuing. Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_RegistersProviders (0.89s) provider_connect_azure_test.go:834: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) Enabling Microsoft.Compute in this subscription (one time, takes a minute)... Microsoft.Compute is enabled. Enabling Microsoft.Network in this subscription (one time, takes a minute)... Microsoft.Network is enabled. vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_RegistersProviders3405839474/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_SPPropagationDelayRetried (0.89s) provider_connect_azure_test.go:866: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_SPPropagationDelayRetried1402362993/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_CheckFailsAfterWindow (0.70s) provider_connect_azure_test.go:895: stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_GivenSPFromStdin (1.18s) provider_connect_azure_test.go:912: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Using service principal 0f0e0d0c-0b0a-4908-8706-050403020100 (secret from stdin). Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_GivenSPFromStdin4167275043/001/.config/agent-deck/azure-vm.conf. stderr: Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_JSONEventShapes (1.08s) provider_connect_azure_test.go:967: connect exit 1 stdout: {"event":"step","message":"","status":"start","step":"az"} {"event":"step","message":"","status":"ok","step":"az"} {"event":"step","message":"","status":"start","step":"login"} {"code":"FAKE1234X","event":"device_code","url":"https://microsoft.com/devicelogin"} {"event":"step","message":"Using your az login: dev.tester@outlook.com","status":"ok","step":"login"} {"event":"step","message":"","status":"start","step":"subscription"} {"event":"step","message":"Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111)","status":"ok","step":"subscription"} {"event":"step","message":"","status":"start","step":"providers"} {"event":"step","message":"","status":"ok","step":"providers"} {"event":"step","message":"","status":"start","step":"group"} {"event":"step","message":"","status":"start","step":"region"} {"event":"step","message":"","status":"start","step":"quota"} {"event":"step","message":"vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2).","status":"ok","step":"quota"} {"event":"step","message":"Created resource group agent-deck-sandboxes in westeurope.","status":"ok","step":"group"} {"event":"step","message":"Region westeurope takes new resources and offers Standard_B2s.","status":"ok","step":"region"} {"event":"step","message":"","status":"start","step":"sp"} {"event":"step","message":"Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready.","status":"ok","step":"sp"} {"event":"step","message":"Role: Contributor on resource group agent-deck-sandboxes only.","status":"ok","step":"sp"} {"event":"step","message":"","status":"start","step":"store"} {"event":"step","message":"Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_JSONEventShapes1555910234/001/.config/agent-deck/azure-vm.conf.","status":"ok","step":"store"} {"event":"step","message":"","status":"start","step":"check"} {"event":"step","message":"Waiting for Azure to see the new service principal...","status":"warn","step":"check"} {"event":"error","kind":"check_failed","message":"Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal.\nprovider \"azure\" list failed: exit status 1: azure-vm provider: python3 not found in PATH\nRun the check again later with: agent-deck provider test azure"} stderr: --- FAIL: TestProviderConnectAzure_DisconnectRefusesNonTTYWithoutYes (0.87s) provider_connect_azure_test.go:1039: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectRefusesNonTTYWithoutYes233906693/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_DisconnectTTYConfirm (0.89s) provider_connect_azure_test.go:1053: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectTTYConfirm3999086934/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_DisconnectRefusesWithSandboxes (0.92s) provider_connect_azure_test.go:1074: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectRefusesWithSandboxes3248540983/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_DisconnectRemovesEverything (1.09s) provider_connect_azure_test.go:1104: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectRemovesEverything2246221072/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_DisconnectKeepsUserKeysAndOtherCommand (2.71s) provider_connect_azure_test.go:1150: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectKeepsUserKeysAndOtherCommand4081381711/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_DisconnectNoPermissionKeepsFiles (0.92s) provider_connect_azure_test.go:1166: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectNoPermissionKeepsFiles3722850327/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_WiderScopeWarns (0.87s) provider_connect_azure_test.go:1194: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_WiderScopeWarns867127784/001/.config/agent-deck/azure-vm.conf. stderr: Warning: service principal 5a1e0c0d-0000-4000-8000-000000000001 has roles outside resource group agent-deck-sandboxes: User Access Administrator on /subscriptions/11111111-1111-4111-8111-111111111111 agent-deck only needs Contributor on that group. Remove the others in the portal (Access control (IAM)). Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_ProviderCommandFlag (1.47s) provider_connect_azure_test.go:1227: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_ProviderCommandFlag433084772/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "az2" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_DisconnectKeepsGivenSP (1.36s) provider_connect_azure_test.go:1249: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectKeepsGivenSP1483834168/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_SPNameTakenRefused (1.46s) provider_connect_azure_test.go:1303: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) Resource group agent-deck-sandboxes exists in westeurope. vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal f0f0f0f0-0000-4000-8000-000000000900 is ready. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_SPNameTakenRefused2865695109/001/.config/agent-deck/azure-vm.conf. stderr: Warning: service principal f0f0f0f0-0000-4000-8000-000000000900 has roles outside resource group agent-deck-sandboxes: Contributor on /subscriptions/11111111-1111-4111-8111-111111111111/resourceGroups/someone-elses-group agent-deck only needs Contributor on that group. Remove the others in the portal (Access control (IAM)). Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_KeptSPCheckFailsHintsReset (0.96s) provider_connect_azure_test.go:1440: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_KeptSPCheckFailsHintsReset2000134995/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_SecretPendingMarker (1.07s) provider_connect_azure_test.go:1461: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_SecretPendingMarker2957857850/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_DisconnectKeepsSharedBundleAndCustomCommand (0.91s) provider_connect_azure_test.go:1499: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectKeepsSharedBundleAndCustomCom1846280103/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_WindowsNeedsWSL (0.80s) provider_connect_azure_test.go:1625: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_WindowsNeedsWSL1712987043/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_RerunDoesNotSaySaved (0.93s) provider_connect_azure_test.go:1631: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_RerunDoesNotSaySaved4120517065/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_QuotaFailLeavesNoGroup (1.10s) provider_connect_azure_test.go:1662: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) Resource group agent-deck-sandboxes exists in northeurope. vCPU quota in northeurope: 10 free (a Standard_B2s VM needs 2). Region northeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_QuotaFailLeavesNoGroup1165156873/003/.config/agent-deck/azure-vm.conf. stderr: Note: --location eastus is ignored; the existing group stays in northeurope. Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_JSONCheckAndChanged (0.93s) provider_connect_azure_test.go:1676: connect exit 1 stdout: {"event":"step","message":"","status":"start","step":"az"} {"event":"step","message":"","status":"ok","step":"az"} {"event":"step","message":"","status":"start","step":"login"} {"event":"step","message":"Using your az login: dev.tester@outlook.com","status":"ok","step":"login"} {"event":"step","message":"","status":"start","step":"subscription"} {"event":"step","message":"Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111)","status":"ok","step":"subscription"} {"event":"step","message":"","status":"start","step":"providers"} {"event":"step","message":"","status":"ok","step":"providers"} {"event":"step","message":"","status":"start","step":"group"} {"event":"step","message":"","status":"start","step":"region"} {"event":"step","message":"","status":"start","step":"quota"} {"event":"step","message":"vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2).","status":"ok","step":"quota"} {"event":"step","message":"Created resource group agent-deck-sandboxes in westeurope.","status":"ok","step":"group"} {"event":"step","message":"Region westeurope takes new resources and offers Standard_B2s.","status":"ok","step":"region"} {"event":"step","message":"","status":"start","step":"sp"} {"event":"step","message":"Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready.","status":"ok","step":"sp"} {"event":"step","message":"Role: Contributor on resource group agent-deck-sandboxes only.","status":"ok","step":"sp"} {"event":"step","message":"","status":"start","step":"store"} {"event":"step","message":"Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_JSONCheckAndChanged2650101939/001/.config/agent-deck/azure-vm.conf.","status":"ok","step":"store"} {"event":"step","message":"","status":"start","step":"check"} {"event":"step","message":"Waiting for Azure to see the new service principal...","status":"warn","step":"check"} {"event":"error","kind":"check_failed","message":"Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal.\nprovider \"azure\" list failed: exit status 1: azure-vm provider: python3 not found in PATH\nRun the check again later with: agent-deck provider test azure"} stderr: --- FAIL: TestProviderConnectAzure_DisconnectRefusalBeforeAnyCall (0.94s) provider_connect_azure_test.go:1697: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectRefusalBeforeAnyCall3137167621/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_RegionClosedFallsBack (1.10s) provider_connect_azure_test.go:1749: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. vCPU quota in swedencentral: 10 free (a Standard_B2s VM needs 2). Region swedencentral takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_RegionClosedFallsBack2252025495/001/.config/agent-deck/azure-vm.conf. stderr: westeurope is not accepting new customers for this subscription right now; using swedencentral instead. Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_SizeMissingPicksNext (2.88s) --- FAIL: TestProviderConnectAzure_SizeMissingPicksNext/sku_missing=Standard_B2s (0.98s) provider_connect_azure_test.go:1863: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2als_v2 VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2als_v2. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_SizeMissingPicksNextsku_missing=Standa2077299711/001/.config/agent-deck/azure-vm.conf. stderr: Standard_B2s is not offered in westeurope for this subscription; using Standard_B2als_v2 (2 vCPUs, about the same price). Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_SizeMissingPicksNext/sku_restricted=Standard_B2s (1.90s) provider_connect_azure_test.go:1863: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2als_v2 VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2als_v2. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_SizeMissingPicksNextsku_restricted=Sta2932535284/001/.config/agent-deck/azure-vm.conf. stderr: Standard_B2s is not offered in westeurope for this subscription; using Standard_B2als_v2 (2 vCPUs, about the same price). Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_SizeGivenUnavailable (3.90s) provider_connect_azure_test.go:1923: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_D2s_v5 VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_D2s_v5. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_SizeGivenUnavailable2276176766/003/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_SkusUnreadableContinues (1.98s) provider_connect_azure_test.go:1931: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_SkusUnreadableContinues2320252104/001/.config/agent-deck/azure-vm.conf. stderr: Could not read the VM sizes offered in westeurope (ERROR: (InternalServerError) Encountered internal server error. Diagnostic information: timestamp '20261105T091501Z', subscription id '11111111-1111-4111-8111-111111111111', tracking id '6f0c2a51-0000-4000-8000-00000000f009', request correlation id '6f0c2a51-0000-4000-8000-00000000f00a'.); continuing with Standard_B2s. Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_RerunSkipsRegionChecks (1.00s) provider_connect_azure_test.go:1958: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_RerunSkipsRegionChecks947663862/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_UnregisteredNetworkRealTextAndOrder (1.50s) provider_connect_azure_test.go:2002: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) Enabling Microsoft.Compute in this subscription (one time, takes a minute)... Microsoft.Compute is enabled. Enabling Microsoft.Network in this subscription (one time, takes a minute)... Microsoft.Network is enabled. vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_UnregisteredNetworkRealTextAndOrder3822921685/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_DisconnectWrongTenantKeepsSecret (1.02s) provider_connect_azure_test.go:2085: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectWrongTenantKeepsSecret3353778756/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_DisconnectSubscriptionNotReachedKeepsSecret (0.87s) provider_connect_azure_test.go:2128: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectSubscriptionNotReachedKeepsSe1048853622/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_DisconnectSecretFileElsewhere (3.99s) --- FAIL: TestProviderConnectAzure_DisconnectSecretFileElsewhere/connect's_secret_in_another_dir (1.16s) provider_connect_azure_test.go:2164: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectSecretFileElsewhereconnects589925516/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_DisconnectSecretFileElsewhere/another_name (0.91s) provider_connect_azure_test.go:2164: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectSecretFileElsewhereanother_n3114164636/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_DisconnectSecretFileElsewhere/wider_mode (0.91s) provider_connect_azure_test.go:2164: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectSecretFileElsewherewider_mod3548725650/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_DisconnectSecretFileElsewhere/symlink (1.01s) provider_connect_azure_test.go:2164: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectSecretFileElsewheresymlink1562667893/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure --- FAIL: TestProviderConnectAzure_DisconnectTenantFromSubscriptionOrRefuse (0.99s) provider_connect_azure_test.go:2218: connect exit 1 stdout: Using your az login: dev.tester@outlook.com Subscription: Azure subscription 1 (11111111-1111-4111-8111-111111111111) vCPU quota in westeurope: 10 free (a Standard_B2s VM needs 2). Created resource group agent-deck-sandboxes in westeurope. Region westeurope takes new resources and offers Standard_B2s. Creating service principal agent-deck-sandboxes-sp (Contributor on resource group agent-deck-sandboxes only)... Service principal 5a1e0c0d-0000-4000-8000-000000000001 is ready. Role: Contributor on resource group agent-deck-sandboxes only. Saved the settings in /private/tmp/nix-7xqG79/TestProviderConnectAzure_DisconnectTenantFromSubscriptionOrRefus10603944/001/.config/agent-deck/azure-vm.conf. stderr: Waiting for Azure to see the new service principal... Setup is saved, but the check failed: agent-deck could not list VMs in agent-deck-sandboxes as the service principal. provider "azure" list failed: exit status 1: azure-vm provider: python3 not found in PATH Run the check again later with: agent-deck provider test azure Waiting for the sandbox provider to clean up (press Ctrl-C again to quit now)... Waiting for the sandbox provider to clean up (press Ctrl-C again to quit now)... Waiting for the sandbox provider to clean up (press Ctrl-C again to quit now)... remote-agent: probe: storage gone remote-agent: binary upgraded (running v1.16.38); exiting so the controller reconnects remote-agent: probe produced no listing (Error: database is locked) remote-agent: probe produced no listing ([]) remote-agent: no input for 300ms, exiting remote-agent: the host now selects another profile; exiting so the controller reconnects ═══ Remote: offline (a@offline) ═══ – Skipped: agent-deck not found on remote or host unreachable ═══ Remote: offline (a@offline) ═══ ✗ Failed: stub: no platform A remote sweep is already running on this controller (pid 4411, started 4:56AM); waiting for it... ═══ Remote: lab (a@lab) ═══ – Skipped: sweep already in progress, remote lab is being updated by 4411 ═══ Remote: other (a@other) ═══ ✓ Up to date (v1.16.0) ═══ Remote: lab (a@lab) ═══ ✓ Up to date (v1.16.0) ═══ Remote: other (a@other) ═══ ✓ Up to date (v1.16.0) Warning: the session restarted, but its new tmux name could not be recorded: record restart outcome for tmux session "agentdeck_cli-restart-target_9ac950b0": record restart outcome for "5f84ea8e-1794113816": instance row not found The session is running; agent-deck may show it as errored until the name is saved. Handed switch-account of self to a detached agent-deck (pid 999): it targets the session this command runs in, whose restart ends this pane. Output: /tmp/x.log. Check the result with `agent-deck session show 494f3373-1794113843` once the session is back. Warning: output freshness timeout (300ms) — response may be stale Warning: output freshness timeout (300ms) — response may be stale Warning: output freshness timeout (300ms) — response may be stale Launch agent re-registration deferred: a remote sweep (pid 12345, started 04:58:03) is still running Imported 2 channel(s) C0AABSF5GKD -> si-bugs/watcher.toml C1BBCDF6HLE -> feat-req/watcher.toml Note: Set the ntfy topic in each watcher.toml (all Slack channels share one ntfy topic from the Cloudflare Worker). Clients written to: /private/tmp/nix-7xqG79/TestImportChannels_EndToEnd466524206/002/clients.json Imported 1 channel(s) C0AABSF5GKD -> si-bugs/watcher.toml Note: Set the ntfy topic in each watcher.toml (all Slack channels share one ntfy topic from the Cloudflare Worker). Clients written to: /private/tmp/nix-7xqG79/TestImportChannels_Idempotent209485111/002/clients.json Imported 1 channel(s) C0AABSF5GKD -> si-bugs/watcher.toml Note: Set the ntfy topic in each watcher.toml (all Slack channels share one ntfy topic from the Cloudflare Worker). Clients written to: /private/tmp/nix-7xqG79/TestImportChannels_Idempotent209485111/002/clients.json Imported 0 channel(s) Clients written to: /private/tmp/nix-7xqG79/TestImportChannels_EmptyChannels3447506173/002/clients.json Installed skill: watcher-creator -> /private/tmp/nix-7xqG79/TestWatcherInstallSkill151202526/001/xdg-config/agent-deck/skills/pool/watcher-creator Installed skill: watcher-creator -> /private/tmp/nix-7xqG79/TestWatcherInstallSkill_DirMode4048399298/001/xdg-config/agent-deck/skills/pool/watcher-creator Created watcher: create-topic-ntfy (type: ntfy) Warning: ntfy watcher: this topic is easy to guess and the public server https://ntfy.sh has no access token set, so anyone who guesses the topic can read its events and inject fake ones. Fix one of: use a random topic (agent-deck watcher create ntfy --name --random-topic); set an access token ($NTFY_TOKEN or --token-file with chmod 600, or token = "..." under [source] in watcher.toml); or use your own ntfy server (--server https://ntfy.example.com, or server = "..." under [source]). Created watcher: create-topic-slack (type: slack) Warning: slack watcher: this topic is easy to guess and the public server https://ntfy.sh has no access token set, so anyone who guesses the topic can read its events and inject fake ones. Fix one of: use a random topic (agent-deck watcher create slack --name --random-topic); set an access token ($NTFY_TOKEN or --token-file with chmod 600, or token = "..." under [source] in watcher.toml); or use your own ntfy server (--server https://ntfy.example.com, or server = "..." under [source]). Usage: agent-deck watcher [args] Watchers listen for inbound events (webhooks, push notifications, GitHub events, Slack messages) and route them to conductor sessions so your running agents can act on them automatically. Commands: create --name Create a new watcher (types: webhook, ntfy, github, slack) start Mark a watcher as running (run by the profile's watcher engine) stop Mark a watcher as stopped reload [--json] Apply watcher and clients.json changes to the running engine now list [--json] List all watchers with status and event rate status [--json] Show watcher info, recent events and events not delivered yet test Route a synthetic event to verify routing config routes [--json] Show all routing rules from clients.json import Migrate bash issue-watcher channels.json to Go watcher config install-skill Install a skill to ~/config/agent-deck/skills/pool (e.g. watcher-creator) Examples (one per adapter type): # Generic HTTP webhook on 127.0.0.1:9000. Requests must be signed with a # secret: generated and stored in its watcher.toml unless given by # $WEBHOOK_SECRET or --secret-file (chmod 600): agent-deck watcher create webhook --name my-webhook --port 9000 # GitHub repository webhook with HMAC-SHA256 verification # Secret comes from the environment or a chmod-600 file, never a CLI arg: GITHUB_WEBHOOK_SECRET=... agent-deck watcher create github --name gh-alerts agent-deck watcher create github --name gh-alerts --secret-file ~/.gh-webhook-secret # ntfy push-notification topic. On the public https://ntfy.sh anyone who # knows the topic can read and post to it, so use a random topic: agent-deck watcher create ntfy --name phone-alerts --random-topic # or an access-protected topic on your own ntfy server (token from the # environment or a chmod-600 file, never a CLI arg): NTFY_TOKEN=... agent-deck watcher create ntfy --name phone-alerts \ --server https://ntfy.example.com --topic phone-alerts # Slack-bridged via ntfy topic (see skill for Cloudflare Worker setup) agent-deck watcher create slack --name team-slack --random-topic After creating, activate and inspect: agent-deck watcher start agent-deck watcher list # see health + events/hour agent-deck watcher test # fire a synthetic event Routing: edit ~/data/agent-deck/watcher/clients.json to pick which conductor / group receives events. See `agent-deck watcher routes` for the currently-loaded rules across all watchers. Conversational setup (recommended for first-time use): agent-deck watcher install-skill watcher-creator # Then inside Claude Code in an agent-deck session, ask: # "Use the watcher-creator skill to set up a GitHub watcher" Full reference: https://github.com/asheshgoplani/agent-deck#watchers No routing rules configured. No watchers configured. Run 'agent-deck watcher create --name ' to create one. Installed skill: watcher-creator -> /private/tmp/nix-7xqG79/TestXDGTask6_WatcherInstallSkillUsesConfiguredPoolPath1613217632/001/xdg-config/agent-deck/skills/pool/watcher-creator FAIL FAIL github.com/asheshgoplani/agent-deck/cmd/agent-deck 321.317s FAIL