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

test_import_plugins test doesn't pass with static build and tracing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.7
    • Core: Plugins
    • None

    Description

      The mentioned test doesn't pass with -static and -trace ctf.

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

      agent:2023/10/31 07:08:51 build.go:404: 269: 1: Working Directory: /home/qt/work/qt/qtbase_standalone_tests/tests/auto/cmake/test_import_plugins agent:2023/10/31 07:08:51 build.go:404: 269: 1: Test timeout computed to be: 10000000 agent:2023/10/31 07:08:51 build.go:404: 269: 1: Loaded plugins do not match what was expected! agent:2023/10/31 07:08:51 build.go:404: 269: 1: Expected plugins: agent:2023/10/31 07:08:51 build.go:404: 269: 1: QMock1Plugin agent:2023/10/31 07:08:51 build.go:404: 269: 1: QMock2Plugin agent:2023/10/31 07:08:51 build.go:404: 269: 1: QMock3Plugin agent:2023/10/31 07:08:51 build.go:404: 269: 1: agent:2023/10/31 07:08:51 build.go:404: 269: 1: Actual plugins: agent:2023/10/31 07:08:51 build.go:404: 269: 1: + QCtfTracePlugin agent:2023/10/31 07:08:51 build.go:404: 269: 1: + QGlibNetworkInformationBackendFactory agent:2023/10/31 07:08:51 build.go:404: 269: 1: QMock1Plugin agent:2023/10/31 07:08:51 build.go:404: 269: 1: QMock2Plugin agent:2023/10/31 07:08:51 build.go:404: 269: 1: QMock3Plugin agent:2023/10/31 07:08:51 build.go:404: 269: 1: + QNetworkManagerNetworkInformationBackendFactory agent:2023/10/31 07:08:51 build.go:404: 269: 1: + QTlsBackendOpenSSL

      This happens because the CTF plugin belongs to the tracing category, which is part of the Core module and gets automatically loaded with static build. The test_import_plugins assumes that there are no other loaded plugins except the ones in the test.

      Attachments

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

        Activity

          People

            anmaatta Antti Määttä
            anmaatta Antti Määttä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change