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

corelib plugin tests fail on Android

    XMLWordPrintable

Details

    • Android
    • 54c25c7c3 (dev), 043d7acca (6.6), abcb58a39 (tqtc/lts-6.5)

    Description

      corelib plugin qplugin, qlibrary and qpluginloader, qfactoryloader fail on Android for Qt 6.0.0

      /home/qt/work/install/bin/androiddeployqt --input /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin1/android-plugin1_x86-deployment-settings.json --output /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin1/android-build --apk /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin1/android-build/plugin1_x86.apk
      agent:2020/09/24 08:53:05 build.go:302: Cannot read from input file: /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin1/android-plugin1_x86-deployment-settings.json
      agent:2020/09/24 08:53:05 build.go:302: make[4]: *** [Makefile:155: apk] Error 2
      agent:2020/09/24 08:53:05 build.go:302: make[4]: Leaving directory '/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin1'
      agent:2020/09/24 08:53:05 build.go:302: make[3]: *** [Makefile:304: sub-plugin1-apk] Error 2
      agent:2020/09/24 08:53:05 build.go:302: cd plugin2/ && ( test -e Makefile || /home/qt/work/install/bin/qmake -o Makefile /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2/plugin2.pro ANDROID_ABIS=x86 -after QT+=gui ) && make -f Makefile apk
      agent:2020/09/24 08:53:06 build.go:302: make[4]: Entering directory '/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2'
      agent:2020/09/24 08:53:06 build.go:302: /opt/android/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -c -target i686-linux-android23 -mstackrealign -fno-limit-debug-info -fPIC -fstack-protector-strong -DANDROID -O2 -std=gnu++1z -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -I. -I/home/qt/work/install/include -I/home/qt/work/install/include/QtGui -I/home/qt/work/install/include/QtCore -I.moc/x86 -I/home/qt/openssl/android/openssl-1.1.1g/include -I../../../../../../mkspecs/android-clang -o .obj/x86/plugin2.o plugin2.cpp
      agent:2020/09/24 08:53:07 build.go:302: > Task :mergeDebugJniLibFolders
      agent:2020/09/24 08:53:07 build.go:302: > Task :mergeProjectDexDebug
      agent:2020/09/24 08:53:07 build.go:302: > Task :validateSigningDebug FROM-CACHE
      agent:2020/09/24 08:53:07 build.go:302: /opt/android/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target i686-linux-android23 -mstackrealign -fno-limit-debug-info -fPIC -fstack-protector-strong -DANDROID -O2 -std=gnu++1z -fno-exceptions -Wall -W -dM -E -o .moc/x86/moc_predefs.h /home/qt/work/install/mkspecs/features/data/dummy.cpp
      agent:2020/09/24 08:53:08 build.go:302: /home/qt/work/install/bin/moc -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ --include /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2/.moc/x86/moc_predefs.h -I/home/qt/work/qt/qtbase/mkspecs/android-clang -I/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2 -I/home/qt/work/install/include -I/home/qt/work/install/include/QtGui -I/home/qt/work/install/include/QtCore -I/opt/rh/devtoolset-7/root/usr/include/c++/7 -I/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux -I/opt/rh/devtoolset-7/root/usr/include/c++/7/backward -I/usr/local/include -I/opt/android/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang/9.0.8/include -I/usr/include plugin2.h -o .moc/x86/moc_plugin2.cpp
      agent:2020/09/24 08:53:08 build.go:302: /opt/android/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -c -target i686-linux-android23 -mstackrealign -fno-limit-debug-info -fPIC -fstack-protector-strong -DANDROID -O2 -std=gnu++1z -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -I. -I/home/qt/work/install/include -I/home/qt/work/install/include/QtGui -I/home/qt/work/install/include/QtCore -I.moc/x86 -I/home/qt/openssl/android/openssl-1.1.1g/include -I../../../../../../mkspecs/android-clang -o .obj/x86/moc_plugin2.o .moc/x86/moc_plugin2.cpp
      agent:2020/09/24 08:53:09 build.go:302: > Task :mergeDebugNativeLibs
      agent:2020/09/24 08:53:10 build.go:302: rm -f libplugin2_x86.so
      agent:2020/09/24 08:53:10 build.go:302: /opt/android/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target i686-linux-android23 -mstackrealign -fno-limit-debug-info -Wl,--enable-new-dtags -Wl,--build-id=sha1 -Wl,--no-undefined -Wl,-z,noexecstack -shared -Wl,-soname,libplugin2_x86.so -o libplugin2_x86.so .obj/x86/plugin2.o .obj/x86/moc_plugin2.o  /home/qt/work/install/lib/libQt6Gui_x86.so /home/qt/work/install/lib/libQt6Core_x86.so -lGLESv2   -llog -lz -lm -ldl -lc 
      agent:2020/09/24 08:53:10 build.go:302: mv -f libplugin2_x86.so ../bin/libplugin2_x86.so
      agent:2020/09/24 08:53:10 build.go:302: make -f Makefile INSTALL_ROOT=/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2/android-build install
      agent:2020/09/24 08:53:10 build.go:302: make[5]: Entering directory '/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2'
      agent:2020/09/24 08:53:10 build.go:302: /home/qt/work/install/bin/qmake -install qinstall -exe ../bin/libplugin2_x86.so /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2/android-build/home/qt/work/install/tests/tst_qfactoryloader/bin/libplugin2_x86.so
      agent:2020/09/24 08:53:10 build.go:302: make[5]: Leaving directory '/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2'
      agent:2020/09/24 08:53:10 build.go:302: /home/qt/work/install/bin/androiddeployqt --input /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2/android-plugin2_x86-deployment-settings.json --output /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2/android-build --apk /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2/android-build/plugin2_x86.apk
      agent:2020/09/24 08:53:10 build.go:302: Cannot read from input file: /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2/android-plugin2_x86-deployment-settings.json
      agent:2020/09/24 08:53:10 build.go:302: make[4]: *** [Makefile:155: apk] Error 2
      agent:2020/09/24 08:53:10 build.go:302: make[4]: Leaving directory '/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2'
      agent:2020/09/24 08:53:10 build.go:302: make[3]: *** [Makefile:307: sub-plugin2-apk] Error 2
      agent:2020/09/24 08:53:10 build.go:302: make[3]: Target 'apk' not remade because of errors.
      agent:2020/09/24 08:53:10 build.go:302: make[3]: Leaving directory '/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader'
      agent:2020/09/24 08:53:10 build.go:302: make[2]: *** [Makefile:371: sub-qfactoryloader-apk] Error 2

      Also, 

      agent:2020/09/24 10:22:19 build.go:302: make[2]: Entering directory '/home/qt/work/qt/qtbase/tests/auto/corelib/plugin'
      agent:2020/09/24 10:22:19 build.go:302: cd qfactoryloader/ && ( test -e Makefile || /home/qt/work/install/bin/qmake -o Makefile /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/qfactoryloader.pro ANDROID_ABIS=x86 -after QT+=gui ) && make -f Makefile check
      agent:2020/09/24 10:22:19 build.go:302: make[3]: Entering directory '/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader'
      agent:2020/09/24 10:22:19 build.go:302: cd plugin1/ && ( test -e Makefile || /home/qt/work/install/bin/qmake -o Makefile /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin1/plugin1.pro ANDROID_ABIS=x86 -after QT+=gui ) && make -f Makefile check
      agent:2020/09/24 10:22:19 build.go:302: make[4]: Entering directory '/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin1'
      agent:2020/09/24 10:22:19 build.go:302: make[4]: Nothing to be done for 'check'.
      agent:2020/09/24 10:22:19 build.go:302: make[4]: Leaving directory '/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin1'
      agent:2020/09/24 10:22:19 build.go:302: cd plugin2/ && ( test -e Makefile || /home/qt/work/install/bin/qmake -o Makefile /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2/plugin2.pro ANDROID_ABIS=x86 -after QT+=gui ) && make -f Makefile check
      agent:2020/09/24 10:22:19 build.go:302: make[4]: Entering directory '/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2'
      agent:2020/09/24 10:22:19 build.go:302: make[4]: Nothing to be done for 'check'.
      agent:2020/09/24 10:22:19 build.go:302: make[4]: Leaving directory '/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2'
      agent:2020/09/24 10:22:19 build.go:302: cd test/ && ( test -e Makefile || /home/qt/work/install/bin/qmake -o Makefile /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/test/test.pro ANDROID_ABIS=x86 -after QT+=gui ) && make -f Makefile check
      agent:2020/09/24 10:22:19 build.go:302: make[4]: Entering directory '/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/test'
      agent:2020/09/24 10:22:19 build.go:302: /opt/android/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target i686-linux-android23 -mstackrealign -fno-limit-debug-info -fPIC -fstack-protector-strong -DANDROID -O2 -std=gnu++1z -Wall -W -dM -E -o .moc/x86/moc_predefs.h /home/qt/work/install/mkspecs/features/data/dummy.cpp
      agent:2020/09/24 10:22:19 build.go:302: /home/qt/work/install/bin/rcc -name qmake_libs .rcc/x86/qmake_libs.qrc -o .rcc/x86/qrc_qmake_libs.cpp
      agent:2020/09/24 10:22:19 build.go:302: /home/qt/work/install/bin/moc -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/test"' -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ --include /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/test/.moc/x86/moc_predefs.h -I/home/qt/work/qt/qtbase/mkspecs/android-clang -I/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/test -I/home/qt/work/install/include/QtCore/6.0.0 -I/home/qt/work/install/include/QtCore/6.0.0/QtCore -I/home/qt/work/install/include -I/home/qt/work/install/include/QtTest -I/home/qt/work/install/include/QtGui -I/home/qt/work/install/include/QtCore -I/opt/rh/devtoolset-7/root/usr/include/c++/7 -I/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux -I/opt/rh/devtoolset-7/root/usr/include/c++/7/backward -I/usr/local/include -I/opt/android/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang/9.0.8/include -I/usr/include ../tst_qfactoryloader.cpp -o .moc/x86/tst_qfactoryloader.moc
      agent:2020/09/24 10:22:20 build.go:302: /opt/android/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -c -target i686-linux-android23 -mstackrealign -fno-limit-debug-info -fPIC -fstack-protector-strong -DANDROID -O2 -std=gnu++1z -Wall -W -D_REENTRANT -fPIC -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/test"' -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -I. -I/home/qt/work/install/include/QtCore/6.0.0 -I/home/qt/work/install/include/QtCore/6.0.0/QtCore -I/home/qt/work/install/include -I/home/qt/work/install/include/QtTest -I/home/qt/work/install/include/QtGui -I/home/qt/work/install/include/QtCore -I.moc/x86 -I/home/qt/openssl/android/openssl-1.1.1g/include -I../../../../../../mkspecs/android-clang -o .obj/x86/qrc_qmake_libs.o .rcc/x86/qrc_qmake_libs.cpp
      agent:2020/09/24 10:22:20 build.go:302: /opt/android/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -c -target i686-linux-android23 -mstackrealign -fno-limit-debug-info -fPIC -fstack-protector-strong -DANDROID -O2 -std=gnu++1z -Wall -W -D_REENTRANT -fPIC -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_DEBUG -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/test"' -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -I. -I/home/qt/work/install/include/QtCore/6.0.0 -I/home/qt/work/install/include/QtCore/6.0.0/QtCore -I/home/qt/work/install/include -I/home/qt/work/install/include/QtTest -I/home/qt/work/install/include/QtGui -I/home/qt/work/install/include/QtCore -I.moc/x86 -I/home/qt/openssl/android/openssl-1.1.1g/include -I../../../../../../mkspecs/android-clang -o .obj/x86/tst_qfactoryloader.o ../tst_qfactoryloader.cpp
      agent:2020/09/24 10:22:23 build.go:302: /opt/android/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ -target i686-linux-android23 -mstackrealign -fno-limit-debug-info -Wl,--enable-new-dtags -Wl,-soname,libtst_qfactoryloader_x86.so -Wl,--build-id=sha1 -Wl,--no-undefined -Wl,-z,noexecstack -shared -o ../libtst_qfactoryloader_x86.so .obj/x86/tst_qfactoryloader.o .obj/x86/qrc_qmake_libs.o   /home/qt/work/install/lib/libQt6Test_x86.so /home/qt/work/install/lib/libQt6Gui_x86.so /home/qt/work/install/lib/libQt6Core_x86.so -lGLESv2   -llog -lz -lm -ldl -lc
      agent:2020/09/24 10:22:23 build.go:302: cd .. && /home/qt/work/install/bin/androidtestrunner --path "/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/test/android-build" --adb "/opt/android/sdk/platform-tools/adb" --make "make apk" --apk /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/test/android-build/tst_qfactoryloader.apk  --
      agent:2020/09/24 10:22:23 build.go:302: Cannot read from input file: /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin1/android-plugin1_x86-deployment-settings.json
      agent:2020/09/24 10:22:23 build.go:302: make[6]: *** [Makefile:155: apk] Error 2
      agent:2020/09/24 10:22:23 build.go:302: make[5]: *** [Makefile:304: sub-plugin1-apk] Error 2
      agent:2020/09/24 10:22:23 build.go:302: Cannot read from input file: /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2/android-plugin2_x86-deployment-settings.json
      agent:2020/09/24 10:22:23 build.go:302: make[6]: *** [Makefile:155: apk] Error 2
      agent:2020/09/24 10:22:23 build.go:302: make[5]: *** [Makefile:307: sub-plugin2-apk] Error 2
      agent:2020/09/24 10:22:23 build.go:302: make[5]: Target 'apk' not remade because of errors.
      agent:2020/09/24 10:22:23 build.go:302: Cannot read from input file: /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin1/android-plugin1_x86-deployment-settings.json
      agent:2020/09/24 10:22:23 build.go:302: make[6]: *** [Makefile:155: apk] Error 2
      agent:2020/09/24 10:22:23 build.go:302: make[5]: *** [Makefile:304: sub-plugin1-apk] Error 2
      agent:2020/09/24 10:22:23 build.go:302: Cannot read from input file: /home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader/plugin2/android-plugin2_x86-deployment-settings.json
      agent:2020/09/24 10:22:23 build.go:302: make[6]: *** [Makefile:155: apk] Error 2
      agent:2020/09/24 10:22:23 build.go:302: make[5]: *** [Makefile:307: sub-plugin2-apk] Error 2
      agent:2020/09/24 10:22:23 build.go:302: make[5]: Target 'apk' not remade because of errors.
      agent:2020/09/24 10:22:23 build.go:302: Execute make apk.
      agent:2020/09/24 10:22:23 build.go:302: make[5]: Entering directory '/home/qt/work/qt/qtbase/tests/auto/corelib/plugin/qfactoryloader'
      

      Attachments

        Issue Links

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

          Activity

            People

              ivan.solovev Ivan Solovev
              assam Assam Boudjelthia
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: