This just started happening today, but I cannot identify a cause.
Pipeline script involving sh inside a Dockerfile agent.
Job fails with
process apparently never started in /var/lib/jenkins/node/workspace/JOBNAME@tmp/durable-eb571b59
ERROR: script returned exit code -2
The following is in the system log
dockerd-current: time="2019-10-25T17:23:12.299653636+01:00" level=error msg="Error running exec in container: rpc error: code = 2 desc = oci runtime error: exec failed: container_linux.go:247: starting container process caused \"exec: \\"/var/lib/jenkins/node/caches/durable-task/durable_task_monitor_1.31_unix_64
": stat /var/lib/jenkins/node/caches/durable-task/durable_task_monitor_1.31_unix_64: no such file or directory\"\n"
That file exists and is executable