Closed tombates-pdr closed 3 years ago
I'm facing same issue. Any update on this?
It does not seem to be caused by the step itself. Will forward this issue to bitrise team.
FTR: issue #15137 on zendesk
Thanks @koral-- I had initially raised it to them but was told to come here. I was worried that I might get sent in circles.
My zendesk ref: #14651
Bitrise has now agreed to me that it does seem to be their end. I assume they are looking into it
I'm still facing this issue. Where do you report bugs to bitrise team? tks
@renanvs here is the report form: https://support.bitrise.io/hc/en-us/requests/new
I'll keep this issue open until underlying Bitrise support request is open.
As this is still an issue, I decided to also file an issue to bitrise (maybe this creates some more pressure on their side to fix it). Zendesk ref: #15412
I got a message from Bitrise yesterday, saying they thought the issue had resolved itself. Unfortunately, it doesn't seem to have resolved for me 😞
Hi, we're facing same issue.. I've also created a ticket on Bitrise but they previously told me it was an issue on the step not on their side. Maybe they'll change their mind 🙏
@zocario They have said to me after originally saying it was the step's issue that they think it is in fact their end. I don't think they know the root cause of the issue, but sounds like they managed to get a test project passing the other day, my job is still just hanging though. I messaged back yesterday to tell them it still wasn't resolved for my project.
Given that they don't know the root cause yet, it is going to make it one of those really annoying issues to fix.
I just had an answer from bitrise @tombates-pdr it appears the problem was the script step I use for the jdk installation:
I was using system
instead of version 11
, updating this code:
#!/usr/bin/env bash
jenv global system
export JAVA_HOME="$(jenv prefix)"
envman add --key JAVA_HOME --value "$(jenv prefix)"
To this one fixed the issue I had on my pull request:
#!/usr/bin/env bash
jenv global 11
export JAVA_HOME="$(jenv prefix)"
envman add --key JAVA_HOME --value "$(jenv prefix)"
Hope this can help :)
Hello everyone, Oliver from Bitrise here.
We have found the root cause and it's not related to any step at all. The problem only happens when the build is run on the Xcode 12.5 stack AND a previous step installs JDK11 on the VM. The root cause is that the existing JDK upgrade script we recommend here is not compatible with macOS Big Sur.
We have pushed an update to our docs with an updated JDK11 script, but the short version is that you have to replace jenv global system
with jenv global 11
in your script step.
OK, so I'm closing this ticket as it is not a step issue. I'll update step description to mention this change.
Latest Xcode builds seem to just hang at this stage until it times out and doesn't actually run the scan. I have no idea where to begin, but the same build runs without the Sonar step just fine.