# Failing py\_RSNA2012ProstateDemo test

**URL:** <https://discourse.slicer.org/t/failing-py-rsna2012prostatedemo-test/9119>\
**Category:** Development\
**Created:** [November 12, 2019, 5:38pm UTC](https://discourse.slicer.org/t/failing-py-rsna2012prostatedemo-test/9119 "2019-11-12T17:38:04Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [November 12, 2019, 5:38pm UTC](https://discourse.slicer.org/t/failing-py-rsna2012prostatedemo-test/9119/1 "2019-11-12T17:38:04Z")

</div>

I have been fixing long time failing tests however I’m unable to replicate the failure of py\_RSNA2012ProstateDemo test locally on my Windows machine. The test only fails on Windows and doesn’t provide any helpful output as seen [here](http://slicer.cdash.org/testDetails.php?test=9751329&build=1745675). The test has been failing since June 1st of this year. Looking at commits merged on May 31st, there doesn’t seem to be anything that would make this start to fail.

My suspicion is that the download of the MRB file used by the test got corrupted some how.

Maybe @Sam_Horvath you can delete the file on the build machine at “…\AppData\Local\Temp\Slicer-tmp\RemoteIO\RSNA2012ProstateDemo.mrb” to potentially fix it?

Anyone else able to replicate this failing test?

---

<div class="post-metadata">

**Author:** ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Post date:** [November 12, 2019, 6:15pm UTC](https://discourse.slicer.org/t/failing-py-rsna2012prostatedemo-test/9119/2 "2019-11-12T18:15:32Z")

</div>

I have deleted the file

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [November 13, 2019, 12:23pm UTC](https://discourse.slicer.org/t/failing-py-rsna2012prostatedemo-test/9119/3 "2019-11-13T12:23:51Z")

</div>

Unfortunately the test is still [failing](http://slicer.cdash.org/testDetails.php?test=9751329&build=1746598) on the build machine.

Another guess would be simply a difference in the Qt version as I’m using 5.12.5 instead of 5.10.1 or maybe also since I’m using Windows 10 instead of Windows 7.

Could someone provide the LastTest.log with the detailed output of the test?

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [November 19, 2019, 2:54am UTC](https://discourse.slicer.org/t/failing-py-rsna2012prostatedemo-test/9119/4 "2019-11-19T02:54:23Z")

</div>

The failing test is no longer and it has been passing since 11-16-2019. See [passed results](http://slicer.cdash.org/testDetails.php?test=9231074&build=1748752).

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 20, 2019, 6:25pm UTC](https://discourse.slicer.org/t/failing-py-rsna2012prostatedemo-test/9119/5 "2019-11-20T18:25:37Z")

</div>

> [@jamesobutler](#):
>
> The failing test is no longer

This is great, thank you very much.

How did you fix the py\_RSNA2012ProstateDemo test?

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [November 20, 2019, 9:11pm UTC](https://discourse.slicer.org/t/failing-py-rsna2012prostatedemo-test/9119/6 "2019-11-20T21:11:09Z")

</div>

I personally did not make any changes on 11-15-2019, so not sure exactly why it began to pass.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [November 20, 2019, 10:07pm UTC](https://discourse.slicer.org/t/failing-py-rsna2012prostatedemo-test/9119/7 "2019-11-20T22:07:08Z")

</div>

I understood @Sam_Horvath was going to look at cleaning up something on the factory machine? Maybe that fixed it.

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [November 21, 2019, 12:41am UTC](https://discourse.slicer.org/t/failing-py-rsna2012prostatedemo-test/9119/8 "2019-11-21T00:41:51Z")

</div>

I posted above in this thread where I checked the following day after Sam said she deleted the file and it didn’t fix the test. So I don’t believe it was that unless the file was actually deleted some days later.

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [November 21, 2019, 5:17pm UTC](https://discourse.slicer.org/t/failing-py-rsna2012prostatedemo-test/9119/9 "2019-11-21T17:17:20Z")

</div>

And the test is mysteriously failing again as of today. See [results](http://slicer.cdash.org/testDetails.php?test=9751329&build=1753213).

---

<div class="post-metadata">

**Author:** ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Post date:** [November 21, 2019, 6:28pm UTC](https://discourse.slicer.org/t/failing-py-rsna2012prostatedemo-test/9119/10 "2019-11-21T18:28:19Z")

</div>

So, I just ran the test on the factory (both through ctest and direct from command line), and it completes without any errors.

```
D:\D\P\Slicer-0-build\Slicer-build>C:\cmake-3.15.1\bin\ctest.exe -R py_RSNA2012ProstateDemo -C Relea
se
Test project D:/D/P/Slicer-0-build/Slicer-build
    Start 651: py_RSNA2012ProstateDemo
1/1 Test #651: py_RSNA2012ProstateDemo .......... Passed 52.51 sec

100% tests passed, 0 tests failed out of 1

Total Test time (real) = 52.74 sec
```
