HIIgor / match_certs_migration

This is an fastlane action to reuse certs generated by match. Any suggestions are welcome.
8 stars 0 forks source link

fastlane/actions/match_certs_migration.rb:94: warning: conflicting chdir during another chdir block #1

Open CodeCMLee opened 6 years ago

CodeCMLee commented 6 years ago

[17:15:32]: Exit status: 1 +------------------+-------------------------------+ | Lane Context | +------------------+-------------------------------+ | DEFAULT_PLATFORM | ios | | PLATFORM_NAME | ios | | LANE_NAME | ios rrc_match_certs_migration | +------------------+-------------------------------+ [17:15:32]: Exit status: 1

+------+-----------------------+-------------+ | fastlane summary | +------+-----------------------+-------------+ | Step | Action | Time (in s) | +------+-----------------------+-------------+ | 1 | default_platform | 0 | | 💥 | match_certs_migration | 6 | +------+-----------------------+-------------+

[17:15:32]: fastlane finished with errors

[!] Exit status: 1

HIIgor commented 6 years ago

@CodeCMLee Have you tried to update the fastlane? As it worked well for me with the fastlane version 2.99.1

CodeCMLee commented 6 years ago

@HIIgor I‘m using the latest version. fastlane 2.100.0

HIIgor commented 6 years ago

@CodeCMLee
Can you add --verbose to your command you are using to run this and paste the entire output here? Do thing still "work" but a warning is just showing? Or does this make things break?

CodeCMLee commented 6 years ago

@HIIgor Year, as you said, this is just a warning, but it still fails. After adding --verbose:

INFO [2018-07-21 19:05:36.64]: Action: match_certs_migration Params: username => zhangka@shinho.net.cn app_identifier => cn.com.shinho.fsfa type => enterprise Loading session from '/Users/changmingli/.fastlane/spaceship/zhangka@shinho.net.cn/cookie' INFO [2018-07-21 19:05:40.40]: $ git clone 'https://gitee.com/Leem/certificates.git' '/var/folders/rs/f3mhq6dj7jx4g_78n575hn5h0000gp/T/d20180721-21332-1cwp33t' INFO [2018-07-21 19:05:40.41]: â–¸ Cloning into '/var/folders/rs/f3mhq6dj7jx4g_78n575hn5h0000gp/T/d20180721-21332-1cwp33t'... INFO [2018-07-21 19:05:41.02]: â–¸ remote: Counting objects: 21, done. INFO [2018-07-21 19:05:41.02]: â–¸ remote: Compressing objects: 100% (16/16), done. INFO [2018-07-21 19:05:41.04]: â–¸ remote: Total 21 (delta 1), reused 0 (delta 0) INFO [2018-07-21 19:05:41.05]: â–¸ Unpacking objects: 100% (21/21), done. /Users/changmingli/Desktop/Tensor/fastlane/actions/match_certs_migration.rb:94: warning: conflicting chdir during another chdir block INFO [2018-07-21 19:05:41.07]: $ git branch -a | grep remotes | grep -v HEAD | grep -v master

ERROR [2018-07-21 19:05:41.08]: Exit status: 1 WARN [2018-07-21 19:05:41.08]: Lane Context: INFO [2018-07-21 19:05:41.08]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios rrc_match_certs_migration"} ERROR [2018-07-21 19:05:41.08]: Exit status: 1 INFO [2018-07-21 19:05:41.08]: Successfully generated documentation at path '/Users/changmingli/Desktop/Tensor/fastlane/README.md'

+------+-----------------------+-------------+ | fastlane summary | +------+-----------------------+-------------+ | Step | Action | Time (in s) | +------+-----------------------+-------------+ | 1 | default_platform | 0 | | 💥 | match_certs_migration | 4 | +------+-----------------------+-------------+

DEBUG [2018-07-21 19:05:41.09]: All plugins are up to date ERROR [2018-07-21 19:05:41.09]: fastlane finished with errors DEBUG [2018-07-21 19:05:41.09]: All plugins are up to date /Users/changmingli/.rvm/gems/ruby-2.4.1/gems/fastlane-2.100.1/fastlane_core/lib/fastlane_core/ui/interface.rb:141:in `user_error!': [!] Exit status: 1 (FastlaneCore::Interface::FastlaneError)

HIIgor commented 6 years ago

@CodeCMLee I tried to find a solution on the internet. Unfortunately, I can't find a solution to this problem. In theory, a warning should not go wrong. I guess there's something I don't know about the configuration of the environment that's different from mine, because this plug-in is fine on my and my colleagues' computers. I hope someone who knows better can solve this problem.