Bitrise Build Issue Report template
Description of the issue
We have written our unit tests using the Mockk Framework:
This is the testImplementation section of our gradle file as it stands today:
testImplementation group: ‘org.jetbrains.kotlinx’, name: ‘kotlinx-serialization-runtime-common’, version: ‘0.4.1’
For the sake of troubleshooting on Bitrise, I have removed all except for a single unit test. The unit test is failing on Bitrise. The symptoms are similar to this thread. I followed the suggestions provided in that thread to no prevail.
This is the error that I received:
* What went wrong:
Execution failed for task ':tradesy:testDevDebugUnitTest'. > Received a completed event for test with unknown id '7.4'. Registered test ids: '[7.2, 7.1, :tradesy:testDevDebugUnitTest]'
If you have access, a link to the most recent log is located here.
Where did the issue happen?
Which build Step causes the issue and which version of the step?
- Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
Does a rebuild without caches help? (You can remove the
Cache:Pushsteps temporarily to not to use the cache, or you can delete all the caches on the
Settingstab of the app. : NO
- Does the issue happen sporadically, or every time? : Every time
- Does upgrading the build Step to the latest version help? : NO
- When did the issue start? : I created this app today, and pointed to a particular branch, which contains the latest source code changes exclusively for Bitrise.
Can it be reproduced on your own Mac/PC by following our local debug guide? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what bitrise.io will get when it does a git clone in the clean environment! If possible please note which sections you tried.
Local reproduction: Linux / Android (docker based) stack builds
Can it be reproduced by running the build locally, after doing a new git clone of the repository into the
/tmp directory and running the build from there with the Bitrise CLI ( https://www.bitrise.io/cli )? If no, can it be reproduced with Docker (using the same docker images / environment we use on bitrise.io)? Related guide: http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/ .