Page MenuHomePhabricator

Activate Test also for arc diff builds to avoid missed unit test errors
Open, NormalPublic


As discussed, we also should activate test checks for the arc diff. To support developers with ensuring green dash boards.
Also promised that with Q1.

Event Timeline

floca triaged this task as High priority.May 29 2020, 9:05 PM
floca created this task.
kislinsk added a subscriber: kislinsk.

Activated tests on Linux Differential clients. Buildable is currently running. If it works as expected, I will also activate the tests for macOS and Windows.

Damn. As long as the test fail we cannot activate the tests, as reviews will never leave draft state.

Win and MacOs are ok.

But as you stated at linux the mitkPluginGeneratorBuildTest has problems. From the log, my first guess would be a openMP problem.

 19/459 Test #457: mitkPluginGeneratorBuildTest-Release .....................................***Failed    8.61 sec
Scanning dependencies of target GP-Utilities
[  4%] Creating directories for 'GP-Utilities'
[  8%] No download step for 'GP-Utilities'
[ 12%] No patch step for 'GP-Utilities'
[ 16%] No update step for 'GP-Utilities'
[ 20%] No configure step for 'GP-Utilities'
[ 25%] No build step for 'GP-Utilities'
[ 29%] No install step for 'GP-Utilities'
[ 33%] Completed 'GP-Utilities'
[ 33%] Built target GP-Utilities
Scanning dependencies of target GP-Configure
[ 37%] Creating directories for 'GP-Configure'
[ 41%] No download step for 'GP-Configure'
[ 45%] No patch step for 'GP-Configure'
[ 50%] No update step for 'GP-Configure'
[ 54%] Performing configure step for 'GP-Configure'
loading initial cache file /home/ubuntu/jenkins-agent/workspace/MITK/Differential/Linux/build/MITK-build/GP-bin/CMakeExternals/tmp/GP-Configure/GP-Configure-cache-Release.cmake
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python3: /usr/bin/python3.6 (found version "3.6.9") found components: Interpreter Development NumPy 
-- Found Eigen: /home/ubuntu/jenkins-agent/workspace/MITK/Differential/Linux/build/ep/include/eigen3  
-- Found OpenCV: /home/ubuntu/jenkins-agent/workspace/MITK/Differential/Linux/build/ep (found version "3.4.8") 
-- Found Boost: /home/ubuntu/jenkins-agent/workspace/MITK/Differential/Linux/build/ep/include (found version "1.70.0")  
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/ (found version "1.2.11") 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/ (found version "3.6.9") 
-- Trying to find DCMTK expecting DCMTKConfig.cmake
-- Trying to find DCMTK expecting DCMTKConfig.cmake - ok
-- Trying to find DCMTK expecting DCMTKConfig.cmake
-- Trying to find DCMTK expecting DCMTKConfig.cmake - ok
-- Found DCMQI: /home/ubuntu/jenkins-agent/workspace/MITK/Differential/Linux/build/ep/src/DCMQI-build/include;/home/ubuntu/jenkins-agent/workspace/MITK/Differential/Linux/build/ep/src/DCMQI/include;/home/ubuntu/jenkins-agent/workspace/MITK/Differential/Linux/build/ep/src/DCMQI/jsoncpp;/home/ubuntu/jenkins-agent/workspace/MITK/Differential/Linux/build/ep/src/DCMQI-build  
Checking for CppMicroServices resource linking capability...yes
Setting BLUEBERRY_USE_QT_HELP to OFF because Doxygen version 1.8.7 or newer not found.
-- Found Git: /usr/bin/git  
-- Could NOT find Subversion (missing: Subversion_SVN_EXECUTABLE) 
-- Generated: /home/ubuntu/jenkins-agent/workspace/MITK/Differential/Linux/build/MITK-build/GP-bin/GP-build/DGraphInput-alldep-withext.txt
-- Creating CTK plugin org_test_plugin
-- Checking to see if CXX compiler accepts flag -fvisibility=hidden
-- Checking to see if CXX compiler accepts flag -fvisibility=hidden - yes
-- Checking to see if CXX compiler accepts flag -fvisibility-inlines-hidden
-- Checking to see if CXX compiler accepts flag -fvisibility-inlines-hidden - yes
-- Performing Test HAS_CXX_FLAG__Werror
-- Performing Test HAS_CXX_FLAG__Werror - Success
-- Performing Test HAS_C_FLAG__Werror
-- Performing Test HAS_C_FLAG__Werror - Success
-- Performing Test HAS_CXX_FLAG__Wno_error=c0x_static_nonintegral_init
-- Performing Test HAS_CXX_FLAG__Wno_error=c0x_static_nonintegral_init - Failed
-- Performing Test HAS_C_FLAG__Wno_error=c0x_static_nonintegral_init
-- Performing Test HAS_C_FLAG__Wno_error=c0x_static_nonintegral_init - Failed
-- Performing Test HAS_CXX_FLAG__Wno_error=static_member_init
-- Performing Test HAS_CXX_FLAG__Wno_error=static_member_init - Failed
-- Performing Test HAS_C_FLAG__Wno_error=static_member_init
-- Performing Test HAS_C_FLAG__Wno_error=static_member_init - Failed
-- Performing Test HAS_CXX_FLAG__Wno_error=unknown_warning
-- Performing Test HAS_CXX_FLAG__Wno_error=unknown_warning - Failed
-- Performing Test HAS_C_FLAG__Wno_error=unknown_warning
-- Performing Test HAS_C_FLAG__Wno_error=unknown_warning - Failed
-- Performing Test HAS_CXX_FLAG__Wno_error=gnu
-- Performing Test HAS_CXX_FLAG__Wno_error=gnu - Failed
-- Performing Test HAS_C_FLAG__Wno_error=gnu
-- Performing Test HAS_C_FLAG__Wno_error=gnu - Failed
-- Performing Test HAS_CXX_FLAG__Wno_error=cast_function_type
-- Performing Test HAS_CXX_FLAG__Wno_error=cast_function_type - Failed
-- Performing Test HAS_C_FLAG__Wno_error=cast_function_type
-- Performing Test HAS_C_FLAG__Wno_error=cast_function_type - Failed
-- Performing Test HAS_CXX_FLAG__Wno_error=inconsistent_missing_override
-- Performing Test HAS_CXX_FLAG__Wno_error=inconsistent_missing_override - Failed
-- Performing Test HAS_C_FLAG__Wno_error=inconsistent_missing_override
-- Performing Test HAS_C_FLAG__Wno_error=inconsistent_missing_override - Failed
-- Configuring done
CMake Error at /home/ubuntu/jenkins-agent/workspace/MITK/Differential/Linux/build/ep/src/CTK/CMake/ctkMacroBuildPlugin.cmake:291 (add_library):
  Target "org_test_plugin" links to target "OpenMP::OpenMP_CXX" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  /home/ubuntu/jenkins-agent/workspace/MITK/Differential/Linux/src/CMake/mitkFunctionCreatePlugin.cmake:187 (ctkMacroBuildPlugin)
  Plugins/org.test.plugin/CMakeLists.txt:3 (mitk_create_plugin)

Note that it's only on Linux as it is the only client where I activated tests. I will disable them for now again and we can decide on Wednesday how we want to proceed.

Poor man's backup of the settings: 😄

Capture.PNG (354×685 px, 18 KB)

kislinsk lowered the priority of this task from High to Normal.