Android Build fails to start virtual machine

Bitrise Build Issue Report template

Description of the issue

Build fails with the message

Failed unmarshal json content of the inline environment variables: json: cannot unmarshal number into Go value of type string

This message is presented before any step can run.

Example:

Environment:

Where did the issue happen?

Bitrise.io: Android & Docker Ubuntu 16.04

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

Any step. The virtual machine fails to boot, and run any step.

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : Every time, since 2019.01.22 @ 17:20
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : 2019.01.22 @ 17:20

Build log

The problem: An input that was being passed as a number (100) in the yml file was failing to be parsed into the correct input type, that should be a String. I solved my build by converting the value in the yml file to String (‘100’). Some update the yml file converter made before 2019.01.22 @ 17:20 broke the build.

Maybe it would be better to improve the error message in this cases. So, in the future, if a new update of the parser breaks the build, it would be better to find the solution.

Hi Igor!

Thanks for your very detailed report!

We are really sorry the inconvenience we could caused for the time being this issue was present. The website was rolled back and you shouldn’t expect this to re-surface.

We are also taking your point about providing more informative errors.

Thanks for understanding!

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