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

Stop binding to iBridge interface when unit testing QTcpServer on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15.11, 6.2.6, 6.4.0 RC1
    • 6.3, 6.4, 5.15, 6.2
    • Network
    • None
    • macOS
    • 3
    • a0ce6b4461 (qt/qtbase/6.4) a0ce6b4461 (qt/tqtc-qtbase/6.4) 80d7e75928 (qt/qtbase/6.3) 80d7e75928 (qt/tqtc-qtbase/6.3) d4c95e467f (qt/tqtc-qtbase/6.2) 7d1b933965 (qt/tqtc-qtbase/5.15)
    • Foundation Sprint 61

    Description

      On Macs with a Touch Bar, there is registered a network interface, en5, which is used for communication with iBridge. The test tst_QtcpServer::linkLocal iterates through all interfaces, tries to start a QTcpServer on each of them, and tries to connect a QTcpSocket to each of them. This does not work for interface en5.

      This does not affect the Mac minis used for CI, because they do not have a Touch Bar, but it does affect MacBook Pros.

      Filter out this interface when adding interfaces to test on macOS.

      Attachments

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

        Activity

          People

            oyheskes Øystein Heskestad
            oyheskes Øystein Heskestad
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: