Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48504

tst_qfile fails on Win 10 / MSVC 2015

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.6
    • Core: I/O
    • Win 10, MSVC 2015, both x86 and x86-64

    Description

      jom 1.0.14 - empower your cores
      
      	C:\utils\jom\jom.exe -f Makefile.Release check
      	cd .. && (set QT_PLUGIN_PATH=C:\Users\qt\work\qt\qtbase\plugins) & (set PATH=C:\Users\qt\work\qt\qtbase\lib;%%PATH:)=^)%%) &  tst_qfile.exe -o c:\Users\qt\work\testresults\tests\auto\corelib\io\qfile\test705607348,xml -o -,txt
      ********* Start testing of tst_QFile *********
      Config: Using QtTest library 5.6.0, Qt 5.6.0 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2015)
      PASS   : tst_QFile::initTestCase()
      FAIL!  : tst_QFile::exists() 'unc.exists()' returned FALSE. ()
      ..\tst_qfile.cpp(479) : failure location
      PASS   : tst_QFile::open(exist_readOnly)
      PASS   : tst_QFile::open(exist_writeOnly)
      PASS   : tst_QFile::open(exist_append)
      PASS   : tst_QFile::open(nonexist_readOnly)
      PASS   : tst_QFile::open(emptyfile)
      PASS   : tst_QFile::open(nullfile)
      PASS   : tst_QFile::open(two-dots)
      PASS   : tst_QFile::open(readonlyfile)
      XFAIL  : tst_QFile::open(noreadfile) Windows does not currently support non-readable files.
      ..\tst_qfile.cpp(561) : failure location
      PASS   : tst_QFile::open(noreadfile)
      PASS   : tst_QFile::open(//./PhysicalDrive0)
      FAIL!  : tst_QFile::open(uncFile) Compared values are not the same
         Actual   (f.open( QIODevice::OpenMode(mode) )): 0
         Expected (ok)                                 : 1
      ..\tst_qfile.cpp(561) : failure location
      PASS   : tst_QFile::openUnbuffered()
      PASS   : tst_QFile::size(exist01)
      FAIL!  : tst_QFile::size(unc) Compared values are not the same
         Actual   (f.size()): 0
         Expected (size)    : 34
      ..\tst_qfile.cpp(619) : failure location
      PASS   : tst_QFile::sizeNoExist()
      PASS   : tst_QFile::seek()
      PASS   : tst_QFile::setSize()
      PASS   : tst_QFile::setSizeSeek()
      PASS   : tst_QFile::atEnd()
      PASS   : tst_QFile::readLine()
      PASS   : tst_QFile::readLine2()
      PASS   : tst_QFile::readLineNullInLine()
      PASS   : tst_QFile::readAll(TextMode unixfile)
      PASS   : tst_QFile::readAll(BinaryMode unixfile)
      PASS   : tst_QFile::readAll(TextMode dosfile)
      PASS   : tst_QFile::readAll(BinaryMode dosfile)
      PASS   : tst_QFile::readAll(TextMode bigfile)
      PASS   : tst_QFile::readAll(BinaryMode  bigfile)
      PASS   : tst_QFile::readAllBuffer()
      PASS   : tst_QFile::readAllStdin()
      FAIL!  : tst_QFile::readLineStdin() Compared values are not the same
         Actual   (array.size())         : 4960
         Expected (lotsOfData.size() * 5): 5120
      ..\tst_qfile.cpp(927) : failure location
      FAIL!  : tst_QFile::readLineStdin_lineByLine() Compared values are not the same
         Actual   (process.readAll()): "line 0"
         Expected (line)             : "line 0\n"
      ..\tst_qfile.cpp(956) : failure location
      QWARN  : tst_QFile::readLineStdin_lineByLine() QProcess: Destroyed while process ("C:\\Users\\qt\\work\\qt\\qtbase\\tests\\auto\\corelib\\io\\qfile\\stdinprocess\\stdinprocess") is still running.
      PASS   : tst_QFile::text()
      PASS   : tst_QFile::missingEndOfLine()
      PASS   : tst_QFile::readBlock()
      PASS   : tst_QFile::getch()
      PASS   : tst_QFile::ungetChar()
      PASS   : tst_QFile::createFile()
      PASS   : tst_QFile::append()
      PASS   : tst_QFile::permissions(data0)
      PASS   : tst_QFile::permissions(data1)
      PASS   : tst_QFile::permissions(readonly)
      PASS   : tst_QFile::permissions(longfile)
      PASS   : tst_QFile::permissions(resource1)
      PASS   : tst_QFile::permissions(resource2)
      PASS   : tst_QFile::permissions(resource3)
      PASS   : tst_QFile::permissionsNtfs(data0)
      PASS   : tst_QFile::permissionsNtfs(data1)
      XFAIL  : tst_QFile::permissionsNtfs(readonly) QTBUG-25630
      ..\tst_qfile.cpp(1208) : failure location
      PASS   : tst_QFile::permissionsNtfs(readonly)
      PASS   : tst_QFile::permissionsNtfs(longfile)
      PASS   : tst_QFile::permissionsNtfs(resource1)
      PASS   : tst_QFile::permissionsNtfs(resource2)
      PASS   : tst_QFile::permissionsNtfs(resource3)
      PASS   : tst_QFile::setPermissions()
      PASS   : tst_QFile::copy()
      PASS   : tst_QFile::copyAfterFail()
      PASS   : tst_QFile::copyRemovesTemporaryFile()
      PASS   : tst_QFile::copyShouldntOverwrite()
      PASS   : tst_QFile::copyFallback()
      PASS   : tst_QFile::link()
      PASS   : tst_QFile::linkToDir()
      XFAIL  : tst_QFile::absolutePathLinkToRelativePath() Symlinking using relative paths is currently different on Windows and Unix
      ..\tst_qfile.cpp(1449) : failure location
      PASS   : tst_QFile::absolutePathLinkToRelativePath()
      PASS   : tst_QFile::readBrokenLink()
      PASS   : tst_QFile::readTextFile(empty)
      PASS   : tst_QFile::readTextFile(a)
      PASS   : tst_QFile::readTextFile(a\rb)
      PASS   : tst_QFile::readTextFile(\n)
      PASS   : tst_QFile::readTextFile(\r\n)
      PASS   : tst_QFile::readTextFile(\r)
      PASS   : tst_QFile::readTextFile(twolines)
      PASS   : tst_QFile::readTextFile(twolines no endline)
      PASS   : tst_QFile::readTextFile2()
      PASS   : tst_QFile::writeTextFile(empty)
      PASS   : tst_QFile::writeTextFile(a)
      PASS   : tst_QFile::writeTextFile(a\rb)
      PASS   : tst_QFile::writeTextFile(\n)
      PASS   : tst_QFile::writeTextFile(\r\n)
      PASS   : tst_QFile::writeTextFile(\r)
      PASS   : tst_QFile::writeTextFile(twolines crlf)
      PASS   : tst_QFile::writeTextFile(twolines crlf no endline)
      PASS   : tst_QFile::writeTextFile(twolines lf)
      PASS   : tst_QFile::writeTextFile(twolines lf no endline)
      PASS   : tst_QFile::writeTextFile(mixed)
      FAIL!  : tst_QFile::largeUncFileSupport() Compared values are not the same
         Actual   (file.size()): 0
         Expected (size)       : 8589934592
      ..\tst_qfile.cpp(1558) : failure location
      PASS   : tst_QFile::flush()
      PASS   : tst_QFile::bufferedRead()
      PASS   : tst_QFile::encodeName()
      PASS   : tst_QFile::truncate()
      PASS   : tst_QFile::seekToPos()
      PASS   : tst_QFile::seekAfterEndOfFile()
      PASS   : tst_QFile::FILEReadWrite()
      PASS   : tst_QFile::i18nFileName(01)
      PASS   : tst_QFile::longFileName(16 chars)
      PASS   : tst_QFile::longFileName(52 chars)
      PASS   : tst_QFile::longFileName(148 chars)
      PASS   : tst_QFile::longFileName(244 chars)
      PASS   : tst_QFile::longFileName(244 chars to absolutepath)
      PASS   : tst_QFile::fileEngineHandler()
      PASS   : tst_QFile::getCharFF()
      PASS   : tst_QFile::remove_and_exists()
      PASS   : tst_QFile::removeOpenFile()
      SKIP   : tst_QFile::fullDisk() /dev/full doesn't exist on this system
      ..\tst_qfile.cpp(2209) : failure location
      PASS   : tst_QFile::writeLargeDataBlock(localfile-QFile)
      PASS   : tst_QFile::writeLargeDataBlock(localfile-Fd)
      PASS   : tst_QFile::writeLargeDataBlock(localfile-Stream)
      FAIL!  : tst_QFile::writeLargeDataBlock(unc file) 'openFile(file, QIODevice::WriteOnly, (FileType)type)' returned FALSE. (Couldn't open file for writing: [//qt-test-server.qt-test-net/TESTSHAREWRITABLE/largefile-DESKTOP-B1IN600-735.txt])
      ..\tst_qfile.cpp(2292) : failure location
      PASS   : tst_QFile::readFromWriteOnlyFile()
      PASS   : tst_QFile::writeToReadOnlyFile()
      PASS   : tst_QFile::textFile()
      PASS   : tst_QFile::rename(a -> b)
      PASS   : tst_QFile::rename(a -> .)
      PASS   : tst_QFile::rename(renamefile -> renamefile)
      PASS   : tst_QFile::rename(renamefile -> noreadfile)
      PASS   : tst_QFile::rename(renamefile -> renamedfile)
      PASS   : tst_QFile::rename(renamefile -> ..)
      PASS   : tst_QFile::rename(renamefile -> rEnAmEfIlE)
      PASS   : tst_QFile::renameWithAtEndSpecialFile()
      PASS   : tst_QFile::renameFallback()
      PASS   : tst_QFile::renameMultiple()
      PASS   : tst_QFile::appendAndRead()
      FAIL!  : tst_QFile::miscWithUncPathAsCurrentDir() 'QDir::setCurrent("//" + QtNetworkSettings::winServerName() + "/testshare")' returned FALSE. ()
      ..\tst_qfile.cpp(2615) : failure location
      PASS   : tst_QFile::standarderror()
      PASS   : tst_QFile::handle()
      PASS   : tst_QFile::nativeHandleLeaks()
      PASS   : tst_QFile::readEof(buffered)
      PASS   : tst_QFile::readEof(unbuffered)
      PASS   : tst_QFile::map(zero)
      PASS   : tst_QFile::map(small, but 0)
      PASS   : tst_QFile::map(a page)
      PASS   : tst_QFile::map(+page)
      PASS   : tst_QFile::map(++page)
      PASS   : tst_QFile::map(bad size)
      PASS   : tst_QFile::map(bad offset)
      PASS   : tst_QFile::map(zerozero)
      PASS   : tst_QFile::mapResource(0, 0)
      PASS   : tst_QFile::mapResource(0, BIG)
      PASS   : tst_QFile::mapResource(-1, 0)
      PASS   : tst_QFile::mapResource(0, -1)
      PASS   : tst_QFile::mapResource(0, 0)
      PASS   : tst_QFile::mapResource(0, BIG)
      PASS   : tst_QFile::mapResource(-1, 0)
      PASS   : tst_QFile::mapResource(0, -1)
      PASS   : tst_QFile::mapResource(0, 1)
      PASS   : tst_QFile::mapOpenMode(ReadOnly)
      PASS   : tst_QFile::mapOpenMode(ReadWrite)
      PASS   : tst_QFile::mapOpenMode(ReadOnly,Unbuffered)
      PASS   : tst_QFile::mapOpenMode(ReadWrite,Unbuffered)
      PASS   : tst_QFile::mapOpenMode(ReadOnly + MapPrivate)
      PASS   : tst_QFile::mapOpenMode(ReadWrite + MapPrivate)
      PASS   : tst_QFile::mapWrittenFile(buffered)
      PASS   : tst_QFile::mapWrittenFile(unbuffered)
      PASS   : tst_QFile::openStandardStreamsFileDescriptors()
      PASS   : tst_QFile::openStandardStreamsBufferedStreams()
      PASS   : tst_QFile::resize(native)
      PASS   : tst_QFile::resize(fileno)
      PASS   : tst_QFile::resize(stream)
      PASS   : tst_QFile::objectConstructors()
      PASS   : tst_QFile::caseSensitivity()
      PASS   : tst_QFile::autocloseHandle()
      PASS   : tst_QFile::posAfterFailedStat()
      PASS   : tst_QFile::openDirectory()
      PASS   : tst_QFile::writeNothing()
      PASS   : tst_QFile::invalidFile(colon2)
      PASS   : tst_QFile::invalidFile(colon3)
      PASS   : tst_QFile::invalidFile(forwardslash)
      PASS   : tst_QFile::invalidFile(asterisk)
      PASS   : tst_QFile::invalidFile(questionmark)
      PASS   : tst_QFile::invalidFile(quote)
      PASS   : tst_QFile::invalidFile(lt)
      PASS   : tst_QFile::invalidFile(gt)
      PASS   : tst_QFile::invalidFile(pipe)
      PASS   : tst_QFile::cleanupTestCase()
      Totals: 165 passed, 8 failed, 1 skipped, 0 blacklisted
      ********* Finished testing of tst_QFile *********
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              laknoll Lars Knoll
              frederik Frederik Gladhorn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews