Bug 430775

Summary: test projectmodel: timeout ? testing status ?
Product: [Applications] kdevelop Reporter: yopito <pierre.bourgin>
Component: Build tools: CMakeAssignee: kdevelop-bugs-null
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.6.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description yopito 2020-12-24 07:56:39 UTC
SUMMARY


While packaging kdevelop 5.6.1, I try to enable its testing. Build & tests happen within a chroot.  
But test #9 fails with a timeout error after a loooong time.

STEPS TO REPRODUCE
1.  export QT_QPA_PLATFORM=offscreen
2.  build from source and enable testing within a chroot
3. 

OBSERVED RESULT

- build is fine
- testing fails with timeout:
  9/127 Test   #9: test_projectmodel .......................***Timeout 1500.02 sec

EXPECTED RESULT

testing steps OK or FAIL, not timeout

SOFTWARE/OS VERSIONS
Windows: n/a
macOS:  n/a
Linux/KDE Plasma: (Void Linux distribution)
(available in About System)
KDE Plasma Version:
KDE Frameworks Version: 5.77
Qt Version: 5.12.2

ADDITIONAL INFORMATION

This happen with both "`export QT_QPA_PLATFORM=offscreen`" or "`export QT_QPA_PLATFORM=vnc`".  
This sounds needed since almost all tests are failing if `QT_QPA_PLATFORM` is not set.

Does auto-testing is working for kdevelop ?  
Do I miss something obvious ?

output log:
----------------
=> kdevelop-5.6.1_1: running do_check ...
Running tests...
Test project /builddir/kdevelop-5.6.1/build
        Start   1: test_areaoperation
  1/127 Test   #1: test_areaoperation ......................   Passed    0.22 sec
        Start   2: test_areawalker
  2/127 Test   #2: test_areawalker .........................   Passed    0.03 sec
        Start   3: test_view
  3/127 Test   #3: test_view ...............................   Passed    0.04 sec
        Start   4: test_document
  4/127 Test   #4: test_document ...........................   Passed    0.04 sec
        Start   5: test_controller
  5/127 Test   #5: test_controller .........................   Passed    0.24 sec
        Start   6: test_viewactivation
  6/127 Test   #6: test_viewactivation .....................   Passed    0.09 sec
        Start   7: test_aggregatemodel
  7/127 Test   #7: test_aggregatemodel .....................   Passed    0.03 sec
        Start   8: test_toolviewtoolbar
  8/127 Test   #8: test_toolviewtoolbar ....................   Passed    0.06 sec
        Start   9: test_projectmodel
  9/127 Test   #9: test_projectmodel .......................***Timeout 1500.02 sec
----------------


Thanks - Pierre
Comment 1 yopito 2020-12-25 22:41:30 UTC
CI jobs ([1]) show that tests are fine but needs a running X env (via xvfb).
so this bug is a kind of nonsense.


[1] https://invent.kde.org/kdevelop/kdevelop/-/jobs/