Bug 391278

Summary: autotests/libksieve fails autotests on sieveeditor-autocreatescripts-selectheadertypecomboboxtest
Product: [Applications] kmail2 Reporter: Rik Mills <rikmills>
Component: sieveAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.7.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Rik Mills 2018-03-02 07:41:46 UTC
Failure on KDE CI Since November 2017

sieveeditor-autocreatescripts-selectheadertypecomboboxtest

https://build.kde.org/job/Applications%20libksieve%20stable-kf5-qt5%20SUSEQt5.9/21/testReport/(root)/TestSuite/sieveeditor_autocreatescripts_selectheadertypecomboboxtest/

Also seen from apps 17.12 on ubuntu autotests

qt.qpa.screen: adding QXcbScreen(0x61100001bfc0, name="screen", geometry=1600x1200+0+0, availableGeometry=1600x1200+0+0, devicePixelRatio=1.0, logicalDpi=QPair(100.1,99.9), physicalSize=406.0x305.0mm, screenNumber=0, virtualSize=1600x1200 (1600.0x1200.0mm), orientation=Qt::ScreenOrientation(LandscapeOrientation), depth=24, refreshRate=0.0, root=32e, windowManagerName="Openbox") (Primary: true )
qt.qpa.screen: primary output is "screen"
qt.qpa.input.devices: XInput version 2.2 is available and Qt supports 2.2 or greater
qt.qpa.input.devices: input device  Virtual core XTEST pointer ID 4
qt.qpa.input.devices:    has 10 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.input.devices:    it's a scrolling device
qt.qpa.input.devices: input device  Xvfb mouse ID 6
qt.qpa.input.devices:    has 3 buttons
qt.qpa.input.devices:    has valuator "Rel X" recognized? true
qt.qpa.input.devices:    has valuator "Rel Y" recognized? true
qt.qpa.gl: Choosing xcb gl-integration based on following priority
 ("xcb_glx", "xcb_egl")
qt.qpa.gl: Xcb GLX gl-integration created
qt.qpa.gl: Xcb GLX gl-integration successfully initialized
********* Start testing of SelectHeaderTypeComboBoxTest *********
Config: Using QtTest library 5.9.4, Qt 5.9.4 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.3.0)
PASS   : SelectHeaderTypeComboBoxTest::initTestCase()
PASS   : SelectHeaderTypeComboBoxTest::shouldHaveDefaultValue()
PASS   : SelectHeaderTypeComboBoxTest::shouldSetCode(empty)
PASS   : SelectHeaderTypeComboBoxTest::shouldSetCode(empty only header)
FAIL!  : SelectHeaderTypeComboBoxTest::shouldSetCode(from) Compared values are not the same
   Actual   (combox.currentIndex()): 7
   Expected (index)                : 8
   Loc: [/home/jenkins/workspace/Applications libksieve stable-kf5-qt5 SUSEQt5.9/src/ksieveui/autocreatescripts/autotests/selectheadertypecomboboxtest.cpp(98)]
PASS   : SelectHeaderTypeComboBoxTest::cleanupTestCase()
Totals: 5 passed, 1 failed, 0 skipped, 0 blacklisted, 182ms
********* Finished testing of SelectHeaderTypeComboBoxTest *********
Comment 1 Rik Mills 2018-03-02 07:46:02 UTC
I note this is fixed in master branch.

https://cgit.kde.org/libksieve.git/commit/?id=9cf070c6a6dfbd2ebb47bf18d8e5446860c544da

Please apply to 17.12 branch for 17.12.3 release