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

Stop binding to iBridge interface when unit testing QTcpServer on macOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15, 6.2, 6.3, 6.4
    • Fix Version/s: 5.15.11, 6.2.6, 6.4.0 RC1
    • Component/s: Network
    • Labels:
      None
    • Platform/s:
      macOS
    • Story Points:
      3
    • Commits:
      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)
    • Sprint:
      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

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

              Dates

              Created:
              Updated:
              Resolved: