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

tst_qbluetoothdevicediscoveryagent and tst_qbluetoothservicediscoveryagent fail on Android 12 in CI

    XMLWordPrintable

Details

    • Android
    • 3
    • 1ef066bf7d (qt/qtconnectivity/dev) 1ef066bf7d (qt/tqtc-qtconnectivity/dev) f40a304204 (qt/qtconnectivity/6.3) 8caf21bc97 (qt/qtconnectivity/6.4) f40a304204 (qt/tqtc-qtconnectivity/6.3)
    • Foundation Sprint 64

    Description

      The two tests tst_qbluetoothdevicediscoveryagent and tst_qbluetoothservicediscoveryagent fail on Android 12 on CI emulator (seems to work on a local Android 12 emulator)

      agent:2022/08/09 09:32:37 build.go:394: 2: QDEBUG : tst_QBluetoothDeviceDiscoveryAgent::tst_startStopDeviceDiscoveries() : ACCESS_FINE_LOCATION permission available
      agent:2022/08/09 09:32:37 build.go:394: 2: QDEBUG : tst_QBluetoothDeviceDiscoveryAgent::tst_startStopDeviceDiscoveries() : Location turned on
      agent:2022/08/09 09:32:37 build.go:394: 2: QDEBUG : tst_QBluetoothDeviceDiscoveryAgent::tst_startStopDeviceDiscoveries() : QBluetoothDeviceDiscoveryAgentPrivate::start() - Classic search successfully started.
      agent:2022/08/09 09:32:37 build.go:394: 2: FAIL!  : tst_QBluetoothDeviceDiscoveryAgent::tst_startStopDeviceDiscoveries() '!cancelSpy.isEmpty()' returned FALSE. ()
      agent:2022/08/09 09:32:37 build.go:394: 2:    Loc: [/home/qt/work/qt/qtconnectivity/tests/auto/qbluetoothdevicediscoveryagent/tst_qbluetoothdevicediscoveryagent.cpp(176)]

       

      agent:2022/08/09 09:42:28 build.go:394: 6: ********* Start testing of tst_QBluetoothServiceDiscoveryAgent *********
      agent:2022/08/09 09:42:28 build.go:394: 6: Config: Using QtTest library 6.5.0, Qt 6.5.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by Android (7714059, based on r416183c1) Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)), android 12.0
      agent:2022/08/09 09:42:28 build.go:394: 6: QDEBUG : tst_QBluetoothServiceDiscoveryAgent::initTestCase() : ACCESS_FINE_LOCATION permission available
      agent:2022/08/09 09:42:28 build.go:394: 6: QDEBUG : tst_QBluetoothServiceDiscoveryAgent::initTestCase() : Location turned on
      agent:2022/08/09 09:42:28 build.go:394: 6: QDEBUG : tst_QBluetoothServiceDiscoveryAgent::initTestCase() : QBluetoothDeviceDiscoveryAgentPrivate::start() - Classic search successfully started.
      agent:2022/08/09 09:42:28 build.go:394: 6: QWARN  : tst_QBluetoothServiceDiscoveryAgent::initTestCase() : Discovery start not received, attempts left: 5
      agent:2022/08/09 09:42:28 build.go:394: 6: QWARN  : tst_QBluetoothServiceDiscoveryAgent::initTestCase() : Discovery start not received, attempts left: 4
      agent:2022/08/09 09:42:28 build.go:394: 6: QWARN  : tst_QBluetoothServiceDiscoveryAgent::initTestCase() : Discovery start not received, attempts left: 3
      agent:2022/08/09 09:42:28 build.go:394: 6: QWARN  : tst_QBluetoothServiceDiscoveryAgent::initTestCase() : Discovery start not received, attempts left: 2
      agent:2022/08/09 09:42:28 build.go:394: 6: QWARN  : tst_QBluetoothServiceDiscoveryAgent::initTestCase() : Discovery start not received, attempts left: 1
      agent:2022/08/09 09:42:28 build.go:394: 6: QWARN  : tst_QBluetoothServiceDiscoveryAgent::initTestCase() : Discovery start not received, attempts left: 0
      agent:2022/08/09 09:42:28 build.go:394: 6: QWARN  : tst_QBluetoothServiceDiscoveryAgent::initTestCase() : Classic device discovery failed to start
      agent:2022/08/09 09:42:28 build.go:394: 6: FAIL!  : tst_QBluetoothServiceDiscoveryAgent::initTestCase() 'finishedSpy.size() == 1' returned FALSE. ()
      agent:2022/08/09 09:42:28 build.go:394: 6:    Loc: [/home/qt/work/qt/qtconnectivity/tests/auto/qbluetoothservicediscoveryagent/tst_qbluetoothservicediscoveryagent.cpp(111)]
      agent:2022/08/09 09:42:28 build.go:394: 6: PASS   : tst_QBluetoothServiceDiscoveryAgent::cleanupTestCase()
      agent:2022/08/09 09:42:28 build.go:394: 6: Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted, 300265ms
      agent:2022/08/09 09:42:28 build.go:394: 6: ********* Finished testing of tst_QBluetoothServiceDiscoveryAgent *********
      

      Attachments

        Issue Links

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

          Activity

            People

              vuokko Juha Vuolle
              assam Assam Boudjelthia
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: