`process apparently never started in /home/jenkins/agent/workspace/shack-app_main@tmp/durable-3f2a1b9c`
AdvancedTroubleshootingPlugins, JCasC & Kubernetes agents
Answer
Likely causes → In a container() step, the tool container runs as a different UID than jnlp and cannot write to the @tmp control directory; the image has no /bin/sh or nohup; or the workspace path differs (workingDir mismatch).
Diagnose → Enable launch diagnostics for one run: -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true on the controller; check id in both containers.
Fix → Run containers with the same UID (pod securityContext.runAsUser: 1000 and fsGroup: 1000), use images with a shell (:debug variants), keep the default working directory /home/jenkins/agent.
Prevent → Base pod template with a consistent security context.
More on Plugins, JCasC & Kubernetes agents
Startup log: `SEVERE: Failed Loading plugin Pipeline: Groovy v... (workflow-cps)` with `Update required: Pipeline: Supporting APIs (workflow-support) ... to be updated to ... or higher`IntermediatePlugin fails with `Jenkins (2.426.3) or higher required`BeginnerJCasC fails at startup: `io.jenkins.plugins.casc.ConfiguratorException: Invalid configuration elements for type class jenkins.model.Jenkins : agentProtocols`Intermediate`io.jenkins.plugins.casc.UnknownConfiguratorException: No configurator for the following root elements: sonarGlobalConfiguration`IntermediateJCasC credentials contain the literal text `${GITHUB_TOKEN}` instead of the valueAdvancedKubernetes plugin: `Failure executing: POST at: https://10.96.0.1/api/v1/namespaces/jenkins-agents/pods. Message: pods is forbidden: User "system:serviceaccount:jenkins:jenkins" cannot create resource "pods" in API group "" in the namespace "jenkins-agents".`Beginner