# Android Instrumented Test succeeds on Bitrise but fail locally

**URL:** <https://discuss.bitrise.io/t/android-instrumented-test-succeeds-on-bitrise-but-fail-locally/23663>\
**Category:** Android\
**Created:** [January 12, 2024, 3:44pm UTC](https://discuss.bitrise.io/t/android-instrumented-test-succeeds-on-bitrise-but-fail-locally/23663 "2024-01-12T15:44:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![taar1](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/taar1/32/5479_2.png) [@taar1](https://discuss.bitrise.io/u/taar1)\
**Post date:** [January 12, 2024, 3:44pm UTC](https://discuss.bitrise.io/t/android-instrumented-test-succeeds-on-bitrise-but-fail-locally/23663/1 "2024-01-12T15:44:38Z")

</div>

we have a workflow for Android intstrumented tests. When we launch it on the Bitrise server it succeeds most of the time (rare fails) but when trying to launch the same workflow locally (“bitrise run build\_and\_uiautomator\_test”) the workflow almost always fails during the instrumented test step (“Android Instrumented Test (Failed)”). The log file I see in terminal is very scarce and doesn’t provide any insights of the problem.

How can I find more details about the fail? Is there a way to get a detailed log output from the local workflow run?  
Also is there maybe a common issue for this particular behavior I can look into?  
I’m using Mac and Terminal to launch the workflow.

Thank you 🙂

---

<div class="post-metadata">

**Author:** ![birmacher](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/birmacher/32/4864_2.png) [@birmacher](https://discuss.bitrise.io/u/birmacher)\
**Post date:** [February 13, 2024, 12:39pm UTC](https://discuss.bitrise.io/t/android-instrumented-test-succeeds-on-bitrise-but-fail-locally/23663/2 "2024-02-13T12:39:39Z")

</div>

Hi @taar1,

If you are still facing the issue, can you please reach out to our support team? [https://support.bitrise.io/hc/en-us/requests/new](https://support.bitrise.io/hc/en-us/requests/new)

Make sure to [enable support access](https://devcenter.bitrise.io/en/apps/enabling-the-bitrise-support-user-for-your-app.html) as well and we will take a look.
