[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Failing testcase in kpasswdservertest [kde-runtime]
From:       Albert Astals Cid <aacid () kde ! org>
Date:       2013-12-10 18:45:01
Message-ID: 2874225.JC43bhFN2K () xps
[Download RAW message or body]

El Dimarts, 10 de desembre de 2013, a les 08:57:47, Dawit A va escriure:
> Sorry for the late response. I did not see this email for some reason. None
> of the test cases in testRetryDialog hit that assert on my machine. 

Is your Qt compiled in debug or release? Because as my original e-mail says if 
it's in release the assert won't trigger.

> If this
> unit test fails on your system, can you please enable the debug area for
> KPasswdServer, run the unit test only for testRetryDialog only and provide
> the output from it? 

Attached, is that enough?

> I am curious to know why it would start failing all of
> the sudden since nothing was changed in that code base in a very long time.

Because we switched to a debug Qt that now has asserts enabled.

Cheers,
  Albert

> 
> On Mon, Dec 9, 2013 at 6:35 PM, Albert Astals Cid <aacid@kde.org> wrote:
> > Dawit? Are you there? Or anyone?
> > 
> > This is still asserting and the tagging of 4.12 is in two days, I'd prefer
> > not
> > to have to delay it because of the failing test.
> > 
> > Cheers,
> > 
> >   Albert
> > 
> > El Diumenge, 24 de novembre de 2013, a les 23:26:38, Albert Astals Cid va
> > 
> > escriure:
> > > Hi Dawit, can you please have a look at kpasswdservertest?
> > > 
> > > It's asserting in
> > > 
> > > QFATAL : KPasswdServerTest::testRetryDialog() ASSERT: "request" in file
> > 
> > /srv/jenkins/workspace/kde-runtime_stable/kpasswdserver/kpasswdserver.cpp,
> > 
> > > line 1041
> > > 
> > > Looking at the code there's an "if (request)" just after the
> > > "Q_ASSERT(request)" so it works in release mode, but i'd like to know if
> > > 
> > > a) we should fix something
> > > b) we should just remove the assert
> > > 
> > > To get the test passing again.
> > > 
> > > Cheers,
> > > 
> > >   Albert

["trace" (trace)]

********* Start testing of KPasswdServerTest *********
Config: Using QTest library 4.8.4, Qt 4.8.4
PASS   : KPasswdServerTest::initTestCase()
QDEBUG : KPasswdServerTest::simpleTest() qttest(10251)/KPasswdServer \
KPasswdServer::checkAuthInfoAsync: User = "" , WindowId = 42 QDEBUG : \
KPasswdServerTest::simpleTest() qttest(10251)/KPasswdServer \
KPasswdServer::addAuthInfo: User = "toto" , Realm = "" , WindowId = 42 QDEBUG : \
KPasswdServerTest::simpleTest() qttest(10251)/KPasswdServer \
KPasswdServer::addAuthInfoItem: key= "http-www.example.com:-1" window-id= 42 \
username= "toto" realm= "" seqNr= 1 keepPassword? false canceled? false QDEBUG : \
KPasswdServerTest::simpleTest() qttest(10251)/KPasswdServer \
KPasswdServer::addAuthInfoItem: Creating AuthInfoContainer QDEBUG : \
KPasswdServerTest::simpleTest() qttest(10251)/KPasswdServer \
KPasswdServer::updateAuthExpire: key= "http-www.example.com:-1" expire= 2 window-id= \
42 keep= false QDEBUG : KPasswdServerTest::simpleTest() qttest(10251)/KPasswdServer \
KPasswdServer::queryAuthInfoAsync: User = "" , WindowId = 42 seqNr = 2 , errorMsg = \
"<NoAuthPrompt>" QDEBUG : KPasswdServerTest::simpleTest() qttest(10251)/KPasswdServer \
KPasswdServer::processRequest: key= "http-www.example.com:-1" , user= "" seqNr: \
request= 2 , result= 1 QDEBUG : KPasswdServerTest::simpleTest() \
qttest(10251)/KPasswdServer KPasswdServer::sendResponse: key= \
"http-www.example.com:-1" QDEBUG : KPasswdServerTest::simpleTest() \
qttest(10251)/KPasswdServer KPasswdServer::checkAuthInfoAsync: User = "" , WindowId = \
42 QDEBUG : KPasswdServerTest::simpleTest() qttest(10251)/KPasswdServer \
KPasswdServer::updateAuthExpire: key= "http-www.example.com:-1" expire= 1 window-id= \
42 keep= false QDEBUG : KPasswdServerTest::simpleTest() qttest(10251)/KPasswdServer \
KPasswdServer::removeAuthInfo: "http" "www.example.com" "" QDEBUG : \
KPasswdServerTest::simpleTest() qttest(10251)/KPasswdServer \
KPasswdServer::removeAuthInfo: Evaluating:  "http" "www.example.com" "toto" QDEBUG : \
KPasswdServerTest::simpleTest() qttest(10251)/KPasswdServer \
KPasswdServer::removeAuthInfo: Removing this entry QDEBUG : \
KPasswdServerTest::simpleTest() qttest(10251)/KPasswdServer \
KPasswdServer::checkAuthInfoAsync: User = "" , WindowId = 42 PASS   : \
KPasswdServerTest::simpleTest() QDEBUG : KPasswdServerTest::testCheckDuringQuery() \
qttest(10251)/KPasswdServer KPasswdServer::queryAuthInfoAsync: User = "" , WindowId = \
42 seqNr = 2 , errorMsg = "<NoAuthPrompt>" QDEBUG : \
KPasswdServerTest::testCheckDuringQuery() qttest(10251)/KPasswdServer \
KPasswdServer::checkAuthInfoAsync: User = "" , WindowId = 42 QDEBUG : \
KPasswdServerTest::testCheckDuringQuery() qttest(10251)/KPasswdServer \
KPasswdServer::processRequest: key= "http-www.kde.org:-1" , user= "" seqNr: request= \
2 , result= -1 QDEBUG : KPasswdServerTest::testCheckDuringQuery() \
qttest(10251)/KPasswdServer KPasswdServer::sendResponse: key= "http-www.kde.org:-1" \
PASS   : KPasswdServerTest::testCheckDuringQuery() QDEBUG : \
KPasswdServerTest::testExpiry() qttest(10251)/KPasswdServer \
KPasswdServer::addAuthInfo: User = "toto" , Realm = "" , WindowId = 42 QDEBUG : \
KPasswdServerTest::testExpiry() qttest(10251)/KPasswdServer \
KPasswdServer::addAuthInfoItem: key= "http-www.example.com:-1" window-id= 42 \
username= "toto" realm= "" seqNr= 1 keepPassword? false canceled? false QDEBUG : \
KPasswdServerTest::testExpiry() qttest(10251)/KPasswdServer \
KPasswdServer::addAuthInfoItem: Creating AuthInfoContainer QDEBUG : \
KPasswdServerTest::testExpiry() qttest(10251)/KPasswdServer \
KPasswdServer::updateAuthExpire: key= "http-www.example.com:-1" expire= 2 window-id= \
42 keep= false QDEBUG : KPasswdServerTest::testExpiry() qttest(10251)/KPasswdServer \
KPasswdServer::checkAuthInfoAsync: User = "" , WindowId = 42 QDEBUG : \
KPasswdServerTest::testExpiry() qttest(10251)/KPasswdServer \
KPasswdServer::updateAuthExpire: key= "http-www.example.com:-1" expire= 1 window-id= \
42 keep= false QDEBUG : KPasswdServerTest::testExpiry() qttest(10251)/KPasswdServer \
KPasswdServer::checkAuthInfoAsync: User = "" , WindowId = 42 QDEBUG : \
KPasswdServerTest::testExpiry() qttest(10251)/KPasswdServer \
KPasswdServer::updateAuthExpire: key= "http-www.example.com:-1" expire= 1 window-id= \
42 keep= false QDEBUG : KPasswdServerTest::testExpiry() qttest(10251)/KPasswdServer \
KPasswdServer::checkAuthInfoAsync: User = "" , WindowId = 42 PASS   : \
KPasswdServerTest::testExpiry() QDEBUG : KPasswdServerTest::testFillDialog() \
qttest(10251)/KPasswdServer KPasswdServer::queryAuthInfoAsync: User = "" , WindowId = \
42 seqNr = 2 , errorMsg = "" QDEBUG : KPasswdServerTest::testFillDialog() \
qttest(10251)/KPasswdServer KPasswdServer::processRequest: key= \
"http-www.example.com:-1" , user= "" seqNr: request= 2 , result= -1 QDEBUG : \
KPasswdServerTest::testFillDialog() qttest(10251)/KPasswdServer \
KPasswdServer::showPasswordDialog: Widget for 42 QObject(0x0)  QObject(0x0) QDEBUG : \
KPasswdServerTest::testFillDialog() qttest(10251)/KPasswdServer \
KPasswdServer::showPasswordDialog: Showing password dialog KPasswordDialog(0x18bba50) \
, window-id= 42 QDEBUG : KPasswdServerTest::testFillDialog() \
qttest(10251)/KPasswdServer KPasswdServer::passwordDialogDone: dialog result= 1 , \
bypassCacheAndKWallet? false QDEBUG : KPasswdServerTest::testFillDialog() \
qttest(10251)/KPasswdServer KPasswdServer::addAuthInfoItem: key= \
"http-www.example.com:-1" window-id= 42 username= "dfaure" realm= "" seqNr= 1 \
keepPassword? false canceled? false QDEBUG : KPasswdServerTest::testFillDialog() \
qttest(10251)/KPasswdServer KPasswdServer::addAuthInfoItem: Creating \
AuthInfoContainer QDEBUG : KPasswdServerTest::testFillDialog() \
qttest(10251)/KPasswdServer KPasswdServer::updateAuthExpire: key= \
"http-www.example.com:-1" expire= 2 window-id= 42 keep= false QDEBUG : \
KPasswdServerTest::testFillDialog() qttest(10251)/KPasswdServer \
KPasswdServer::sendResponse: key= "http-www.example.com:-1" PASS   : \
KPasswdServerTest::testFillDialog() QDEBUG : KPasswdServerTest::testRetryDialog() \
qttest(10251)/KPasswdServer KPasswdServer::queryAuthInfoAsync: User = "" , WindowId = \
42 seqNr = 2 , errorMsg = "" QDEBUG : KPasswdServerTest::testRetryDialog() \
qttest(10251)/KPasswdServer KPasswdServer::processRequest: key= \
"http-www.example.com:-1" , user= "" seqNr: request= 2 , result= -1 QDEBUG : \
KPasswdServerTest::testRetryDialog() qttest(10251)/KPasswdServer \
KPasswdServer::showPasswordDialog: Widget for 42 QObject(0x0)  QObject(0x0) QDEBUG : \
KPasswdServerTest::testRetryDialog() qttest(10251)/KPasswdServer \
KPasswdServer::showPasswordDialog: Showing password dialog KPasswordDialog(0x18bb370) \
, window-id= 42 QDEBUG : KPasswdServerTest::testRetryDialog() \
qttest(10251)/KPasswdServer KPasswdServer::passwordDialogDone: dialog result= 1 , \
bypassCacheAndKWallet? false QDEBUG : KPasswdServerTest::testRetryDialog() \
qttest(10251)/KPasswdServer KPasswdServer::addAuthInfoItem: key= \
"http-www.example.com:-1" window-id= 42 username= "username" realm= "" seqNr= 1 \
keepPassword? false canceled? false QDEBUG : KPasswdServerTest::testRetryDialog() \
qttest(10251)/KPasswdServer KPasswdServer::addAuthInfoItem: Creating \
AuthInfoContainer QDEBUG : KPasswdServerTest::testRetryDialog() \
qttest(10251)/KPasswdServer KPasswdServer::updateAuthExpire: key= \
"http-www.example.com:-1" expire= 2 window-id= 42 keep= false QDEBUG : \
KPasswdServerTest::testRetryDialog() qttest(10251)/KPasswdServer \
KPasswdServer::sendResponse: key= "http-www.example.com:-1" QDEBUG : \
KPasswdServerTest::testRetryDialog() qttest(10251)/KPasswdServer \
KPasswdServer::queryAuthInfoAsync: User = "" , WindowId = 42 seqNr = 2 , errorMsg = \
"Invalid username or password" QDEBUG : KPasswdServerTest::testRetryDialog() \
qttest(10251)/KPasswdServer KPasswdServer::processRequest: key= \
"http-www.example.com:-1" , user= "" seqNr: request= 2 , result= 1 QDEBUG : \
KPasswdServerTest::testRetryDialog() qttest(10251)/KPasswdServer \
KPasswdServer::processRequest: Calling open on retry dialog KDialog(0x19e4930, name = \
"warningOKCancel") QDEBUG : KPasswdServerTest::testRetryDialog() \
qttest(10251)/KPasswdServer KPasswdServer::sendResponse: key= \
"http-www.example.com:-1" QWARN  : KPasswdServerTest::testRetryDialog() X Error: \
BadWindow (invalid Window parameter) 3  Major opcode: 20 (X_GetProperty)
  Resource id:  0x7000012
QDEBUG : KPasswdServerTest::testRetryDialog() qttest(10251)/KPasswdServer \
KPasswdServer::queryAuthInfoAsync: User = "" , WindowId = 42 seqNr = 2 , errorMsg = \
"Invalid username or password" QDEBUG : KPasswdServerTest::testRetryDialog() \
qttest(10251)/KPasswdServer KPasswdServer::processRequest: key= \
"http-www.example.com:-1" , user= "" seqNr: request= 2 , result= -1 QDEBUG : \
KPasswdServerTest::testRetryDialog() qttest(10251)/KPasswdServer \
KPasswdServer::showPasswordDialog: Widget for 42 QObject(0x0)  QObject(0x0) QDEBUG : \
KPasswdServerTest::testRetryDialog() qttest(10251)/KPasswdServer \
KPasswdServer::showPasswordDialog: Showing password dialog KPasswordDialog(0x18bbc40) \
, window-id= 42 QFATAL : KPasswdServerTest::testRetryDialog() ASSERT: "request" in \
file /home/kdeunstable/kde-runtime/kpasswdserver/kpasswdserver.cpp, line 1041



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic