Failed to download step.zip


#1

Description of the issue

Starting today at 6:45AM PST, all of our Bitrise builds in two workflows have started consistently failing. Example: https://app.bitrise.io/build/3ac1a7fa44f5e89d , relevant output:

Failed to download step.zip: Failed to download target from: https://bitrise-steplib-collection.s3.amazonaws.com/step-archives/trigger-bitrise-workflow/0.0.5/step.zip
+------------------------------------------------------------------------------+

| (2) trigger-bitrise-workflow                                                 |
+------------------------------------------------------------------------------+
| id: trigger-bitrise-workflow                                                 |
| version: 0.0.5                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2018-09-06T06:46:09-07:00                                              |
+------------------------------------------------------------------------------+
|                                                                              |
# github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log
src/github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log/defaultlogger.go:45:5: undefined: enableDebugLog
src/github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log/print.go:11:34: undefined: timestampField
src/github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log/print.go:23:32: Donef redeclared in this block
	previous declaration at src/github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log/log.go:49:32
src/github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log/print.go:28:32: Infof redeclared in this block
	previous declaration at src/github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log/log.go:44:32
src/github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log/print.go:33:33: Printf redeclared in this block
	previous declaration at src/github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log/log.go:39:33
src/github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log/print.go:39:5: undefined: enableDebugLog
src/github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log/print.go:45:32: Warnf redeclared in this block
	previous declaration at src/github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log/log.go:59:32
src/github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log/print.go:50:33: Errorf redeclared in this block
	previous declaration at src/github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log/log.go:54:33
src/github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/vendor/github.com/bitrise-io/go-utils/log/print.go:76:5: undefined: enableDebugLog
ERRO[06:46:11] Step (trigger-bitrise-workflow) failed, error: Failed to prepare the step for execution through the required toolkit (go), error: Failed to install package, error: exit status 2 
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | trigger-bitrise-workflow (exit code: 1)                       | 11 sec   |
+---+---------------------------------------------------------------+----------+
| Issue tracker: ...DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/issues |
| Source: ...://github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow |
+---+---------------------------------------------------------------+----------+

As far as we can tell, the asset at https://bitrise-steplib-collection.s3.amazonaws.com/step-archives/trigger-bitrise-workflow/0.0.5/step.zip is able to be reached from the browser. We cannot find relevant issues in either https://github.com/bitrise-io/bitrise-steplib/issues or https://github.com/DroidsOnRoids/bitrise-step-trigger-bitrise-workflow/issues.

Environment:

Where did the issue happen?
On Bitrise.io, stack: xCode 9.2.x, on macOS 10.12 (Sierra)

Which build Step causes the issue and which version of the step?

id: trigger-bitrise-workflow
version: 0.0.5

Reproducibility

  • Does a “Rebuild” help? : NO
  • Does a rebuild without caches help? : I don’t believe caches are enabled for our workflows
  • If you have multiple different build configurations (workflows), does the issue affect all/more than one? : YES
  • If it’s an issue which happens sporadically, what’s the frequency? (e.g. Once a day ; about x% of the builds) :
  • Does upgrading the build Step to the latest version help? : Not sure how to upgrade this build step; but it appears to be the latest version
  • When did the issue start? : This morning at 6:45AM PST

Monthly release of Bitrise CLI tools and summary of updates (Sep)
#2

It’s a bug in step. Thanks for the report.
Fix is ready, and waiting for approval: https://github.com/bitrise-io/bitrise-steplib/pull/1727


#3

Thanks @koral!

It’s now approved and merged :wink:


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.