{"record":{"id":"91c1786859868786","repo":"juanfont/headscale","slug":"status-netmap-to-tmp-control-w","errorCode":null,"errorMessage":"status netmap to /tmp/control: %w","messagePattern":"status netmap to /tmp/control: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"integration/tsic/tsic.go","lineNumber":998,"sourceCode":"\tcommand := []string{\n\t\ttailscaleBin,\n\t\t\"status\",\n\t\t\"--json\",\n\t}\n\n\tstatus, raw, err := execJSON[ipnstate.Status](\n\t\tt,\n\t\tcommand,\n\t\t\"executing tailscale status command\",\n\t\t\"unmarshalling tailscale status\",\n\t)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\terr = os.WriteFile(fmt.Sprintf(\"/tmp/control/%s_status.json\", t.hostname), []byte(raw), 0o755) //nolint:gosec // test infrastructure log files\n\tif err != nil {\n\t\treturn nil, fmt.Errorf(\"status netmap to /tmp/control: %w\", err)\n\t}\n\n\treturn status, nil\n}\n\n// MustStatus returns the [ipnstate.Status] of the Tailscale instance.\nfunc (t *TailscaleInContainer) MustStatus() *ipnstate.Status {\n\tstatus, err := t.Status()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\treturn status\n}\n\n// MustID returns the ID of the Tailscale instance.\nfunc (t *TailscaleInContainer) MustID() types.NodeID {\n\tstatus, err := t.Status()","sourceCodeStart":980,"sourceCodeEnd":1016,"githubUrl":"https://github.com/juanfont/headscale/blob/565fd254d06c4c7f9a8cad1714a43445c79ba420/integration/tsic/tsic.go#L980-L1016","documentation":"Error \"status netmap to /tmp/control: %w\" thrown in juanfont/headscale.","triggerScenarios":"Thrown at integration/tsic/tsic.go:998 when the library encounters an invalid state.","commonSituations":"Fetching the netmap/status for debugging failed. Ensure the node is running and the debug command can reach tailscaled.","solutions":["Inspect the wrapped error for the underlying cause and correct the failing condition (status netmap to /tmp/control); retry the operation after fixing the input, configuration, or environment."],"exampleFix":"Inspect the wrapped error for the underlying cause and correct the failing condition (status netmap to /tmp/control); retry the operation after fixing the input, configuration, or environment.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"565fd254d06c4c7f9a8cad1714a43445c79ba420","analyzedAt":"2026-08-15T13:12:30.133Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}