sentry-cli: Artifacts upload timeout when CLI is used through Fastlane
The sentry-cli is timing out every time when running on bitrise CI, using fastlane. Tried on macOS 11, 10.5.4 and below.
Here is the log:
+------------------------------------------------------------------------------+
| (4) Symbols WBTVD-iOS |
+------------------------------------------------------------------------------+
| id: fastlane |
| version: 3.2.3 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: go |
| time: 2021-09-01T23:05:22Z |
+------------------------------------------------------------------------------+
| |
[34;1mConfig:
[0m- WorkDir: .
- Lane: upload_symbols app_id:com.wbtvd.tvd platform:ios project:wbtvd-ios version:2021.8
- BitriseConnection: automatic
- AppleID:
- Password:
- AppSpecificPassword:
- APIKeyPath:
- APIIssuer:
- UpdateFastlane: true
- VerboseLog: [REDACTED]
- EnableCache: [REDACTED]
- GemHome:
- BuildURL: https://app.bitrise.io/build/056cb5cc-b5ec-4b31-87fc-f72db0e49c42
- BuildAPIToken: *****
[34;1mExpand WorkDir[0m
[32;1mExpanded WorkDir: /Users/vagrant/git[0m
[32;1m$ rbenv "versions"[0m
system
2.4.5
2.5.3
* 2.6.5 (set by /Users/vagrant/.rbenv/version)
2.7.2
3.0.0
[34;1mBitrise Apple Developer Connection with Apple ID found.[0m
[34;1mDetermine desired Fastlane version[0m
Gem lockfile does not exist
[34;1mUpdate system installed Fastlane[0m
[32;1m$ gem "install" "fastlane" "--no-document"[0m
Successfully installed optparse-0.1.1
Successfully installed fastlane-2.193.0
2 gems installed
[32;1m$ rbenv "rehash"[0m
[34;1mFastlane version[0m
[32;1m$ fastlane "--version"[0m
fastlane installation at path:
/Users/vagrant/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/fastlane-2.193.0/bin/fastlane
-----------------------------
fastlane 2.193.0
[34;1mRun Fastlane[0m
[33;1mFastlane authentication-related environment varibale(s) ([FASTLANE_PASSWORD]) are set, overriding.[0m
[34;1mTo stop overriding authentication-related environment variables, please set Bitrise Apple Developer Connection input to 'off' and leave authentication-related inputs empty.[0m
[32;1m$ fastlane "upload_symbols" "app_id:com.wbtvd.tvd" "platform:ios" "project:wbtvd-ios" "version:2021.8"[0m
[23:05:55]: [33mfastlane detected a Gemfile in the current directory[0m
[23:05:55]: [33mHowever, it seems like you didn't use `bundle exec`[0m
[23:05:55]: [33mTo launch fastlane faster, please use[0m
[23:05:55]:
[23:05:55]: [36m$ bundle exec fastlane upload_symbols app_id:com.wbtvd.tvd platform:ios project:wbtvd-ios version:2021.8[0m
[23:05:55]:
[23:05:55]: [33mGet started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile[0m
[23:05:58]: [33mInstalling Ruby gem 'fastlane-plugin-sentry'...[0m
[23:06:00]: [32mSuccessfully installed 'fastlane-plugin-sentry'[0m
+------------------------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| [32mUsed plugins[0m |
+------------------------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Plugin | Version | Action |
+------------------------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| fastlane-plugin-sentry | 1.9.0 | sentry_upload_dsym, sentry_set_commits, sentry_upload_sourcemap, sentry_finalize_release, sentry_upload_file, sentry_create_deploy, sentry_upload_proguard, sentry_create_release, sentry_upload_dif |
+------------------------+---------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
[23:06:00]: Sending anonymous analytics information
[23:06:00]: Learn more at https://docs.fastlane.tools/#metrics
[23:06:00]: No personal or sensitive data is sent.
[23:06:00]: You can disable this by adding `opt_out_usage` at the top of your Fastfile
[23:06:00]: [32mDriving the lane 'upload_symbols' π[0m
[23:06:00]: [32m----------------------------[0m
[23:06:00]: [32m--- Step: download_dsyms ---[0m
[23:06:00]: [32m----------------------------[0m
[23:06:00]: Login to App Store Connect (admin@wbtvd.com)
Session loaded from environment variable is not valid. Continuing with normal login.
[23:06:03]: Login successful
[23:06:08]: Looking for dSYM files for 'com.wbtvd.tvd' on platform IOS v2021.8
[23:06:24]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1632 to 'com.wbtvd.tvd-2021.8-1632.dSYM.zip'[0m
[23:06:26]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1631 to 'com.wbtvd.tvd-2021.8-1631.dSYM.zip'[0m
[23:06:26]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1630 to 'com.wbtvd.tvd-2021.8-1630.dSYM.zip'[0m
[23:06:27]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1629 to 'com.wbtvd.tvd-2021.8-1629.dSYM.zip'[0m
[23:06:28]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1628 to 'com.wbtvd.tvd-2021.8-1628.dSYM.zip'[0m
[23:06:28]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1627 to 'com.wbtvd.tvd-2021.8-1627.dSYM.zip'[0m
[23:06:30]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1626 to 'com.wbtvd.tvd-2021.8-1626.dSYM.zip'[0m
[23:06:30]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1625 to 'com.wbtvd.tvd-2021.8-1625.dSYM.zip'[0m
[23:06:31]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1624 to 'com.wbtvd.tvd-2021.8-1624.dSYM.zip'[0m
[23:06:32]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1623 to 'com.wbtvd.tvd-2021.8-1623.dSYM.zip'[0m
[23:06:33]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1622 to 'com.wbtvd.tvd-2021.8-1622.dSYM.zip'[0m
[23:06:34]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1621 to 'com.wbtvd.tvd-2021.8-1621.dSYM.zip'[0m
[23:06:34]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1620 to 'com.wbtvd.tvd-2021.8-1620.dSYM.zip'[0m
[23:06:35]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1619 to 'com.wbtvd.tvd-2021.8-1619.dSYM.zip'[0m
[23:06:37]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1618 to 'com.wbtvd.tvd-2021.8-1618.dSYM.zip'[0m
[23:06:38]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1617 to 'com.wbtvd.tvd-2021.8-1617.dSYM.zip'[0m
[23:06:38]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1616 to 'com.wbtvd.tvd-2021.8-1616.dSYM.zip'[0m
[23:06:39]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1615 to 'com.wbtvd.tvd-2021.8-1615.dSYM.zip'[0m
[23:06:40]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1614 to 'com.wbtvd.tvd-2021.8-1614.dSYM.zip'[0m
[23:06:41]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1613 to 'com.wbtvd.tvd-2021.8-1613.dSYM.zip'[0m
[23:06:42]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1612 to 'com.wbtvd.tvd-2021.8-1612.dSYM.zip'[0m
[23:06:43]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1611 to 'com.wbtvd.tvd-2021.8-1611.dSYM.zip'[0m
[23:06:44]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1610 to 'com.wbtvd.tvd-2021.8-1610.dSYM.zip'[0m
[23:06:45]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1609 to 'com.wbtvd.tvd-2021.8-1609.dSYM.zip'[0m
[23:06:46]: [32mπ Successfully downloaded dSYM file for 2021.8 - 1608 to 'com.wbtvd.tvd-2021.8-1608.dSYM.zip'[0m
[23:06:47]: [32m--------------------------------[0m
[23:06:47]: [32m--- Step: sentry_upload_dsym ---[0m
[23:06:47]: [32m--------------------------------[0m
[23:06:47]: [32msentry-cli 1.68.0 installed![0m
[23:06:47]: Starting sentry-cli...
timeout after 5400 seconds
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 8
- Comments: 35 (13 by maintainers)
Hey, guys, hi! We in our team faced exactly the same problem - the shipment of downloaded sims just stuck. The team and I have been searching for a long time and found out by experience that itβs all about sentry-cli 1.68.0. everything works successfully in 1.67.0! But, you will not be able to roll back through brew (there are no formulas for such). We found the following way out:
brew uninstall sentry-clihttps://sentry.io/get-cli/After these manipulations, we managed to deliver the necessary sentry-cli package, and after re-launching our dsyms shipping lane, we succeeded!
Good luck to you guys!)
Oh my, my, my! Thatβs such a good news, thanks!
Closing the issue, as it seems like the original issue has been resolved. Please do not hesitate to ping me if it is still relevant, and I will happily reopen it. Cheers!
Hi!
Fighting with this issue I found workaround.
sentry_upload_dsymaction was replaced withupload_dsym_filelane works fast, extra stable and besides print detailed logs.Fastlane plugin
fastlane-plugin-sentrydeleted(davay dosvidaniya)But this issue is still open π€
Also confirming
1.70.1fixes it for me. Thanks so much for sticking with this and trying to figure something out!!@kamilogorek Success!
1.70.1is working for us!@kamilogorek Seems to work for me with
1.70.1See:
Thanks! Thatβs at least some clue
Can someone confirm that itβs also timing out on
1.67.1? If so, the only change that this version includes is this commit - https://github.com/getsentry/sentry-cli/commit/0af08560161b7a2eccdd613ba847ea8667a36e74 which does nothing else than printing more debug logs. Other than this, there were 2 minor deps updates, I wonder if that may be the issue.I never used fastlane nor bitrise CI, so may I ask someone to help me get the reproduction steps for this issue? Thanks