Troubleshooting

“git clone” Step Fails

error: xxxx bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

This could happen in server with network issues. The network might be too slow. Either diagnose network connection or, simply, re-run the Screwdriver pipeline couple more times.

More information can be found in this thread

Republishing Template or Command Fail with 403

09:53:35 $ template-publish --tag latest
09:53:35 Error: 403 Reason "Not allowed to publish this template"
09:53:35     at throwError (/usr/local/lib/node_modules/screwdriver-template-main/node_modules/screwdriver-request/index.js:14:17)
09:53:35     at /usr/local/lib/node_modules/screwdriver-template-main/node_modules/screwdriver-request/index.js:62:28
09:53:35     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
09:53:35   statusCode: 403,
09:53:35   code: 'ERR_NON_2XX_3XX_RESPONSE'
09:53:35 }

Simply delete the template or command that has already been published and try again.

Store API 404 Not Found

Error loading docker-compose.png

This happens when we are trying to execute a Screwdriver Command after a Screwdriver restart. This might be a Screwdriver bug. We can get around this for now by republishing the commands.

context deadline exceeded (Client.Timeout exceeded while awaiting headers)

If this is happening on POSTing Screwdriver API server and things are running on a cloud provider, such as AWS, this might not be a Screwdriver issue but the firewall mis-config of the cloud provider. For example, the Security Group of AWS is not opening up the port of Screwdriver API which causes the request timeout.