# Intermittent build failures after successful dotnet core tests script step

**URL:** <https://discuss.bitrise.io/t/intermittent-build-failures-after-successful-dotnet-core-tests-script-step/9985>\
**Category:** Builds\
**Created:** [August 20, 2019, 6:37pm UTC](https://discuss.bitrise.io/t/intermittent-build-failures-after-successful-dotnet-core-tests-script-step/9985 "2019-08-20T18:37:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![emarshaljpl](https://avatars.discourse-cdn.com/v4/letter/e/9f8e36/32.png) [@emarshaljpl](https://discuss.bitrise.io/u/emarshaljpl)\
**Post date:** [August 20, 2019, 6:37pm UTC](https://discuss.bitrise.io/t/intermittent-build-failures-after-successful-dotnet-core-tests-script-step/9985/1 "2019-08-20T18:37:40Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

We have a script step in our workflow that has a few dotnet core tests (e.g. “dotnet test foobar.csproj”) Sometimes this step will fail with “script (exit code: 1)” even after all the tests complete successfully.

## Environment:

**Where did the issue happen?**

[Bitrise.io](http://Bitrise.io), Visual Studio for Mac, Stable Channel

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

script v1.1.5

## Reproducibility

- \_Does a “Rebuild” help? Sometimes. Seems to happen with the same frequency on rebuild as with initial build.
- _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](http://devcenter.bitrise.io/caching/about-caching/#downloading-and-deleting-caches)._ : No, it doesn’t look like we’ve ever used the cache features.
- _Does the issue happen sporadically, or every time?_ : Sporadically, can’t determine any pattern.
- _Does upgrading the build Step to the latest version help?_ : Already latest version
- _When did the issue start?_ : Looks like first instance of this issue was on build at 2019.08.13 @ 12:41.

### Local reproduction

\_Can it be reproduced on your own Mac/PC by following our [local debug guide](http://discuss.bitrise.io/t/how-to-debug-your-build-locally-it-works-on-my-mac-pc-but-not-on-bitrise-io/392)?  
No, it always completes successfully locally.

## Build log

_Please copy paste the build’s [bitrise.io](http://bitrise.io) URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - [https://www.bitrise.io/contact](https://www.bitrise.io/contact) ), with a link to the related Discuss issue._  
[https://app.bitrise.io/build/01d213019a94e78f](https://app.bitrise.io/build/01d213019a94e78f)

---

<div class="post-metadata">

**Author:** ![Roland-Bak](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/roland-bak/32/3480_2.png) [@Roland-Bak](https://discuss.bitrise.io/u/Roland-Bak)\
**Post date:** [August 27, 2019, 1:07pm UTC](https://discuss.bitrise.io/t/intermittent-build-failures-after-successful-dotnet-core-tests-script-step/9985/2 "2019-08-27T13:07:53Z")

</div>

Hi there @emarshaljpl!

Can you please also enable Support Access on the `Settings` tab of the app ( [Enabling the Bitrise Support user for your app | Bitrise DevCenter](https://devcenter.bitrise.io/troubleshooting/enabling-bitrise-support-user/) ) so that we can take a more in-depth look? 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [September 26, 2019, 1:07pm UTC](https://discuss.bitrise.io/t/intermittent-build-failures-after-successful-dotnet-core-tests-script-step/9985/3 "2019-09-26T13:07:56Z")

</div>

Closed on September 26, 2019, 1:07pm UTC

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