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

tst_QHostInfo::reverseLookup fails with Ubuntu 22.04 xorg

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.5.0 Beta1
    • 6.5
    • Network: DNS
    • None
    • Linux/X11
    • 7e7c23669c (qt/qt5/dev) 7e7c23669c (qt/tqtc-qt5/dev)

    Description

      https://testresults.qt.io/coin/integration/qt/qtbase/tasks/nightly1661531308

      https://testresults.qt.io/coin/api/results/qt/qtbase/de5e4b05acbb089a9ea5bba43d09bea52b93c9cb/LinuxUbuntu_22_04x86_64LinuxQEMUarm64GCCqtci-linux-Ubuntu-22.04-x86_64-51-fbc30aSccache/429c8019d10d7a197ed6799e77ac6f961210a4ce/test_1661531332/log.txt.gz

      QDEBUG : tst_QHostInfo::reverseLookup(WithCache) Python failed, falling back to nslookup
      QDEBUG : tst_QHostInfo::reverseLookup(WithCache) Python failed, falling back to nslookup
      QDEBUG : tst_QHostInfo::reverseLookup(WithCache) Python failed, falling back to nslookup
      QDEBUG : tst_QHostInfo::reverseLookup(WithCache) Python failed, falling back to nslookup
      QDEBUG : tst_QHostInfo::reverseLookup(WithCache:dns.google) Failure: expecting QList("dns.google") ,got  "8.8.8.8"
      FAIL!  : tst_QHostInfo::reverseLookup(WithCache:dns.google) 'hostNames.contains(info.hostName())' returned FALSE. ()
         Loc: [/home/qt/qt/qtbase/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp(456)]
      QDEBUG : tst_QHostInfo::reverseLookup(WithCache:one.one.one.one) Failure: expecting QList("one.one.one.one") ,got  "1.1.1.1"
      FAIL!  : tst_QHostInfo::reverseLookup(WithCache:one.one.one.one) 'hostNames.contains(info.hostName())' returned FALSE. ()
         Loc: [/home/qt/qt/qtbase/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp(456)]
      PASS   : tst_QHostInfo::reverseLookup(WithCache:dns.google IPv6)
      PASS   : tst_QHostInfo::reverseLookup(WithCache:cloudflare IPv6)
      PASS   : tst_QHostInfo::reverseLookup(WithCache:bogus-name IPv6)
      QDEBUG : tst_QHostInfo::reverseLookup(WithoutCache:dns.google) Failure: expecting QList("dns.google") ,got  "8.8.8.8"
      FAIL!  : tst_QHostInfo::reverseLookup(WithoutCache:dns.google) 'hostNames.contains(info.hostName())' returned FALSE. ()
         Loc: [/home/qt/qt/qtbase/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp(456)]
      QDEBUG : tst_QHostInfo::reverseLookup(WithoutCache:one.one.one.one) Failure: expecting QList("one.one.one.one") ,got  "1.1.1.1"
      FAIL!  : tst_QHostInfo::reverseLookup(WithoutCache:one.one.one.one) 'hostNames.contains(info.hostName())' returned FALSE. ()
         Loc: [/home/qt/qt/qtbase/tests/auto/network/kernel/qhostinfo/tst_qhostinfo.cpp(456)]
      PASS   : tst_QHostInfo::reverseLookup(WithoutCache:dns.google IPv6)
      PASS   : tst_QHostInfo::reverseLookup(WithoutCache:cloudflare IPv6)
      PASS   : tst_QHostInfo::reverseLookup(WithoutCache:bogus-name IPv6)
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-106013
          # Subject Branch Project Status CR V

          Activity

            People

              liaqi Liang Qi
              hehalmet Heikki Halmet
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes