Bitrise iOS build fail

Bitrise Build Issue Report template

Description of the issue

My bitrise build fails at the ios auto provision step with this error :

Error:

An invalid value ‘821573fb48d59913’ was provided for the parameter ‘deviceNumber’.

Stacktrace (for debugging):

/Users/vagrant/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/fastlane-2.132.0/spaceship/lib/spaceship/portal/portal_client.rb:540:in `create_device!’

/Users/vagrant/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/fastlane-2.132.0/spaceship/lib/spaceship/portal/device.rb:158:in `create!’

/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise282971844/step_src/lib/autoprovision/portal/device_client.rb:43:in `block in ensure_test_devices’

/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise282971844/step_src/lib/autoprovision/portal/device_client.rb:29:in `each’

/private/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise282971844/step_src/lib/autoprovision/portal/device_client.rb:29:in `ensure_test_devices’

/var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/bitrise282971844/step_src/step.rb:82:in `’

Environment:

Where did the issue happen?

If on Bitrise.io: which stack? If not on Bitrise.io: on what operating system? (Plus any other information you can share)

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

ios-auto-provision@1.4.2

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
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : today

Local reproduction

Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what bitrise.io will get when it does a git clone in the clean environment! If possible please note which sections you tried. NO

Local reproduction: Linux / Android (docker based) stack builds

Can it be reproduced by running the build locally, after doing a new git clone of the repository into the /tmp directory and running the build from there with the Bitrise CLI ( Bitrise CLI )? If no, can it be reproduced with Docker (using the same docker images / environment we use on bitrise.io)? Related guide: Redirecting… . NO

Build log

https://app.bitrise.io/api/build/4ff11c19ed2a957d/logs.json?&download=log

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

Hi @saransh-malik!

Sorry for the delay. What seems to be happening here is that you have registered a test device with an incorrect UDID (821573fb48d59913) which the step unable to sync to the Developer Portal due to it being incorrect.

Is the problem persistent at all? Can you double check that value? :slight_smile: