I noticed a while ago that about a dozen tests keep failing on the Slicer dashboard both for Windows and Mac. I ran the tests that I think I’d be responsible for fixing (py_SubjectHierarchyGenericSelfTest, qSlicerModelsModuleWidgetTest*), and all of these pass on my computer. The dashboard does not show any output for these tests for neither platform.
All of these tests actually start Slicer and show the GUI. Can the reason for the failing tests be that the GUI cannot be oponed on the factory? Or any other ideas? Thanks! @jcfr@Sam_Horvath
For py_SubjectHierarchyGenericSelfTest I see some test output on the cdash dashboard such as:
Test directory: /var/folders/6y/zp9dkw5d5wg35y8qvn29hpww0000gn/T/Slicer-tmp-kitware/SubjectHierarchyGenericSelfTest
Clear scene
Switching to temporary DICOM database: /var/folders/6y/zp9dkw5d5wg35y8qvn29hpww0000gn/T/Slicer-tmp-kitware/SubjectHierarchyGenericSelfTest/CtkDicomDatabase
QSqlDatabasePrivate::removeDatabase: connection 'SLICER' is still in use, all queries will cease to work.
QSqlDatabasePrivate::addDatabase: duplicate connection name 'SLICER', old connection removed.
Do you not see this output for Mac tests?
I’m also not sure why the Windows test output is usually less descriptive on cdash dashboard. That’s why I always look at the Mac output.
The test also appears to have been failing since April 16th. You seemed to have a discussion with JC about a DICOM browser commit but I can’t tell if anything was acted upon.
Same here. Not sure why I didn’t see this.
The log does not show much though, these messages are normal. It still seems to me that the GUI is not constructed.
Just to clarify, this is not normal, it is an error, most probably because multiple database connections are created with the same name. The easiest solution is to not provide a connection name to ctkDICOMDatabase.openDatabase (and then a random connection name is generated).