[Ci-reports] fail on QtBase_5.4_Integration #1852

Qt Continuous Integration System ci-noreply at qt-project.org
Tue Mar 3 16:05:03 CET 2015


Autotest `tst_qmimedatabase-xml' failed :(

  Testing tst_QMimeDatabase
  FAIL!  : tst_QMimeDatabase::installNewGlobalMimeType() Compared values are not the same
     Actual   (db.mimeTypeForFile(QLatin1String("foo.ymu"), QMimeDatabase::MatchExtension).name()): "application/octet-stream"
     Expected (QString::fromLatin1("text/x-suse-ymu"))                                            : "text/x-suse-ymu"
  c:\work\build\qt\qtbase\tests\auto\corelib\mimetypes\qmimedatabase\qmimedatabase-xml\../tst_qmimedatabase.cpp(848) : failure location
  Totals: 60 passed, 1 failed, 4 skipped, 0 blacklisted
  QTemporaryDir: Unable to remove "C:\Users\qt\AppData\Local\Temp\tst_qmimedatabase-zvRqhH" most likely due to the presence of read-only files.
  QtQA::App::TestRunner: test failed, running again to see if it is flaky...
  ********* Start testing of tst_QMimeDatabase *********
  Config: Using QtTest library 5.4.2, Qt 5.4.2 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2010)
  QDEBUG : tst_QMimeDatabase::initTestCase()
  Local XDG_DATA_HOME:  "C:/Users/qt/AppData/Local/Temp/tst_qmimedatabase-bkIOm7/local"
  Global XDG_DATA_DIRS:  "C:/Users/qt/AppData/Local/Temp/tst_qmimedatabase-bkIOm7/global"
  WARNING: tst_QMimeDatabase::initTestCase() testdata testfiles could not be located!
  c:\work\build\qt\qtbase\tests\auto\corelib\mimetypes\qmimedatabase\qmimedatabase-xml\../tst_qmimedatabase.cpp(110) : failure location
  QWARN  : tst_QMimeDatabase::initTestCase()
  Cannot find the shared-mime-info test suite
  starting from: C:\work\build\qt\qtbase\tests\auto\corelib\mimetypes\qmimedatabase\qmimedatabase-xml
  cd tests\auto\corelib\mimetypes\qmimedatabase
  wget http://cgit.freedesktop.org/xdg/shared-mime-info/snapshot/Release-1-0.zip
  unzip Release-1-0.zip
  mkdir testfiles
  xcopy /s Release-1-0\tests testfiles
  
  PASS   : tst_QMimeDatabase::initTestCase()
  PASS   : tst_QMimeDatabase::mimeTypeForName()
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(text)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(case-insensitive search)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(case-sensitive uppercase match)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(case-sensitive lowercase match)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(case-sensitive long-extension match)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(case-sensitive-only match)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(case-sensitive-only match)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(desktop file)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(old kdelnk file is x-desktop too)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(double-extension file)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(single-extension file)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(.doc should assume msword)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(glob that uses [] syntax, 1)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(glob that uses [] syntax, 2)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(glob that ends with *, no extension)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(glob that ends with *, extension)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(glob that ends with *, also matches *.txt. Higher weight wins.)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(glob that ends with *, also matches *.nfo. Higher weight wins.)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(glob that ends with *, also matches *.pdf. *.pdf has higher weight)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(directory)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(doesn't exist, no extension)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(doesn't exist but has known extension)
  PASS   : tst_QMimeDatabase::mimeTypeForFileName(empty)
  PASS   : tst_QMimeDatabase::mimeTypesForFileName(txt, 1 hit)
  PASS   : tst_QMimeDatabase::mimeTypesForFileName(txtfoobar, 0 hit)
  PASS   : tst_QMimeDatabase::mimeTypesForFileName(m, 2 hits)
  PASS   : tst_QMimeDatabase::mimeTypesForFileName(sub, 3 hits)
  PASS   : tst_QMimeDatabase::inheritance()
  PASS   : tst_QMimeDatabase::aliases()
  PASS   : tst_QMimeDatabase::listAliases(csv)
  PASS   : tst_QMimeDatabase::listAliases(xml)
  PASS   : tst_QMimeDatabase::listAliases(xml2)
  PASS   : tst_QMimeDatabase::listAliases(no_mime)
  PASS   : tst_QMimeDatabase::icons()
  PASS   : tst_QMimeDatabase::mimeTypeForFileWithContent()
  PASS   : tst_QMimeDatabase::mimeTypeForUrl()
  PASS   : tst_QMimeDatabase::mimeTypeForData(tnef data, needs smi >= 0.20)
  PASS   : tst_QMimeDatabase::mimeTypeForData(PDF magic)
  PASS   : tst_QMimeDatabase::mimeTypeForData(PHP, High-priority rule)
  PASS   : tst_QMimeDatabase::mimeTypeForData(unknown)
  PASS   : tst_QMimeDatabase::mimeTypeForFileAndContent(plain text, no extension)
  PASS   : tst_QMimeDatabase::mimeTypeForFileAndContent(plain text, unknown extension)
  PASS   : tst_QMimeDatabase::mimeTypeForFileAndContent(msword file, unknown extension)
  PASS   : tst_QMimeDatabase::mimeTypeForFileAndContent(excel file, found by extension)
  PASS   : tst_QMimeDatabase::mimeTypeForFileAndContent(text.xls, found by extension, user is in control)
  PASS   : tst_QMimeDatabase::allMimeTypes()
  PASS   : tst_QMimeDatabase::suffixes(mimetype with a single pattern)
  PASS   : tst_QMimeDatabase::suffixes(mimetype with multiple patterns)
  PASS   : tst_QMimeDatabase::suffixes(jpeg)
  PASS   : tst_QMimeDatabase::suffixes(mimetype with many patterns)
  PASS   : tst_QMimeDatabase::suffixes(oasis text mimetype)
  PASS   : tst_QMimeDatabase::suffixes(oasis presentation mimetype)
  PASS   : tst_QMimeDatabase::suffixes(mimetype with multiple patterns)
  PASS   : tst_QMimeDatabase::suffixes(mimetype with uncommon pattern)
  PASS   : tst_QMimeDatabase::suffixes(mimetype with no patterns)
  PASS   : tst_QMimeDatabase::knownSuffix()
  PASS   : tst_QMimeDatabase::fromThreads()
  SKIP   : tst_QMimeDatabase::findByFileName() shared-mime-info test suite not available.
  c:\work\build\qt\qtbase\tests\auto\corelib\mimetypes\qmimedatabase\qmimedatabase-xml\../tst_qmimedatabase.cpp(596) : failure location
  SKIP   : tst_QMimeDatabase::findByData() shared-mime-info test suite not available.
  c:\work\build\qt\qtbase\tests\auto\corelib\mimetypes\qmimedatabase\qmimedatabase-xml\../tst_qmimedatabase.cpp(596) : failure location
  SKIP   : tst_QMimeDatabase::findByFile() shared-mime-info test suite not available.
  c:\work\build\qt\qtbase\tests\auto\corelib\mimetypes\qmimedatabase\qmimedatabase-xml\../tst_qmimedatabase.cpp(596) : failure location
  FAIL!  : tst_QMimeDatabase::installNewGlobalMimeType() Compared values are not the same
     Actual   (db.mimeTypeForFile(QLatin1String("foo.ymu"), QMimeDatabase::MatchExtension).name()): "application/octet-stream"
     Expected (QString::fromLatin1("text/x-suse-ymu"))                                            : "text/x-suse-ymu"
  c:\work\build\qt\qtbase\tests\auto\corelib\mimetypes\qmimedatabase\qmimedatabase-xml\../tst_qmimedatabase.cpp(848) : failure location
  QWARN  : tst_QMimeDatabase::installNewLocalMimeType() update-mime-database does not exist.
  SKIP   : tst_QMimeDatabase::installNewLocalMimeType() shared-mime-info not found, skipping mime.cache test (C:\Users\qt\AppData\Local\Temp\tst_qmimedatabase-bkIOm7\local\mime)
  c:\work\build\qt\qtbase\tests\auto\corelib\mimetypes\qmimedatabase\qmimedatabase-xml\../tst_qmimedatabase.cpp(894) : failure location
  PASS   : tst_QMimeDatabase::cleanupTestCase()
  Totals: 60 passed, 1 failed, 4 skipped, 0 blacklisted
  ********* Finished testing of tst_QMimeDatabase *********
  QTemporaryDir: Unable to remove "C:\Users\qt\AppData\Local\Temp\tst_qmimedatabase-bkIOm7" most likely due to the presence of read-only files.
  QtQA::App::TestRunner: test failure could be reproduced twice consecutively
  QtQA::App::TestRunner: end tst_qmimedatabase-xml: 1 seconds, exit code 1

  Build log: http://testresults.qt.io/ci/QtBase_5.4_Integration/build_01852/win32-msvc2010_opengl_dynamic_Windows_7/log.txt.gz

  Tested changes (refs/builds/5.4_1425391430):
    http://codereview.qt-project.org/105599 [PS3] - QMimeDatabase: warn instead of asserting on bad magic.
    http://codereview.qt-project.org/107613 [PS1] - Remove C++11 usage from NetworkManager bearer plugin
    http://codereview.qt-project.org/107603 [PS1] - Adjust wiki links to the new redirect



More information about the Ci-reports mailing list