Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-6390

tst_QFloat16Format::format() failed on linux arm64

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.8
    • None
    • Linux/Wayland, Linux/X11
    • fa72ab35f (dev), 62af14097 (dev), af77e84b8 (6.8)

    Description

      https://testresults.qt.io/coin/integration/qt/qtbase/tasks/web_qt_qtbase_1717873877956
      https://testresults.qt.io/coin/api/log/qt/qtbase/19e0e2b702bec6c2fd6a8c9197973b12b720e3c7/LinuxUbuntu_24_04aarch64LinuxUbuntu_24_04aarch64GCCqtci-linux-Ubuntu-24.04-aarch64-50-57847fInsignificantTests_TestOnly/860d6584b095137001acae3e0e2883e9199fb9ac/test_1717873881/log.txt.gz

      agent:2024/06/08 19:48:35 build.go:404: 96: ********* Start testing of tst_QFloat16Format *********
      agent:2024/06/08 19:48:35 build.go:404: 96: Config: Using QtTest library 6.9.0, Qt 6.9.0 (arm64-little_endian-lp64 shared (dynamic) release build; by GCC 13.2.0), ubuntu 24.04
      agent:2024/06/08 19:48:35 build.go:404: 96: PASS   : tst_QFloat16Format::initTestCase()
      agent:2024/06/08 19:48:35 build.go:404: 96: PASS   : tst_QFloat16Format::formatCompileTime()
      agent:2024/06/08 19:48:35 build.go:404: 96: PASS   : tst_QFloat16Format::format({})
      agent:2024/06/08 19:48:35 build.go:404: 96: PASS   : tst_QFloat16Format::format({:#})
      agent:2024/06/08 19:48:35 build.go:404: 96: PASS   : tst_QFloat16Format::format({:f})
      agent:2024/06/08 19:48:35 build.go:404: 96: PASS   : tst_QFloat16Format::format({:*>10.2a})
      agent:2024/06/08 19:48:35 build.go:404: 96: FAIL!  : tst_QFloat16Format::format() Caught unhandled exception
      agent:2024/06/08 19:48:35 build.go:404: 96:    Loc: [/home/qt/work/qt/qtbase/src/testlib/qtestcase.cpp(1956)]
      agent:2024/06/08 19:48:35 build.go:404: 96: Totals: 6 passed, 1 failed, 0 skipped, 0 blacklisted, 6ms
      agent:2024/06/08 19:48:35 build.go:404: 96: ********* Finished testing of tst_QFloat16Format *********
      agent:2024/06/08 19:48:35 build.go:404: 96: terminate called after throwing an instance of 'std::runtime_error'
      agent:2024/06/08 19:48:35 build.go:404: 96:   what():  locale::facet::_S_create_c_locale name not valid
      agent:2024/06/08 19:48:35 build.go:404: 96: Received signal 6 (SIGABRT)
      agent:2024/06/08 19:48:35 build.go:404: 96:          [Non-test] function time: 3ms, total time: 6ms
      agent:2024/06/08 19:48:35 build.go:404: 96: 
      agent:2024/06/08 19:48:35 build.go:404: 96: === Stack trace ===
      agent:2024/06/08 19:48:39 build.go:404: 96: Could not attach to process.  If your uid matches the uid of the target
      agent:2024/06/08 19:48:39 build.go:404: 96: process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
      agent:2024/06/08 19:48:39 build.go:404: 96: again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
      agent:2024/06/08 19:48:39 build.go:404: 96: ptrace: Inappropriate ioctl for device.
      agent:2024/06/08 19:48:39 build.go:404: 96: === End of stack trace ===
      agent:2024/06/08 19:48:39 build.go:404: 96: qt-testrunner.py     INFO: Test process exited with code: -6
      agent:2024/06/08 19:48:39 build.go:404: 96: qt-testrunner.py     INFO: Parsed XML file /home/qt/work/testresults/tst_qfloat16format-1717876115546.xml in 0.000 seconds
      agent:2024/06/08 19:48:39 build.go:404: 96: qt-testrunner.py     INFO: Found 6 passes and 1 failures
      
      ********* Start testing of tst_QFloat16Format *********
      Config: Using QtTest library 6.9.0, Qt 6.9.0 (arm64-little_endian-lp64 shared (dynamic) debug build; by GCC 13.2.0), ubuntu 24.04
      PASS   : tst_QFloat16Format::initTestCase()
      PASS   : tst_QFloat16Format::format({})
      PASS   : tst_QFloat16Format::format({:#})
      PASS   : tst_QFloat16Format::format({:f})
      PASS   : tst_QFloat16Format::format({:*>10.2a})
      FAIL!  : tst_QFloat16Format::format() Caught unhandled exception
         Loc: [/home/qt/qt/qtbase/src/testlib/qtestcase.cpp(1956)]
      Totals: 5 passed, 1 failed, 0 skipped, 0 blacklisted, 1ms
      ********* Finished testing of tst_QFloat16Format *********
      terminate called after throwing an instance of 'std::runtime_error'
        what():  locale::facet::_S_create_c_locale name not valid
      
      Program received signal SIGABRT, Aborted.
      __pthread_kill_implementation (threadid=281474842424416, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
      warning: 44	./nptl/pthread_kill.c: No such file or directory
      (gdb) bt
      #0  __pthread_kill_implementation (threadid=281474842424416, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
      #1  0x0000fffff6cc7690 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
      #2  0x0000fffff6c7cb3c in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
      #3  0x0000fffff6c67e00 in __GI_abort () at ./stdlib/abort.c:79
      #4  0x0000fffff6eadd2c in __gnu_cxx::__verbose_terminate_handler() () from /lib/aarch64-linux-gnu/libstdc++.so.6
      #5  0x0000fffff6ea9f8c in ?? () from /lib/aarch64-linux-gnu/libstdc++.so.6
      #6  0x0000fffff6ea0d3c in std::terminate() () from /lib/aarch64-linux-gnu/libstdc++.so.6
      #7  0x0000fffff6eaa3a0 in __cxa_rethrow () from /lib/aarch64-linux-gnu/libstdc++.so.6
      #8  0x0000fffff7f0ab6c in QTest::qRun () at /home/qt/qt/qtbase/src/testlib/qtestcase.cpp:1965
      #9  0x0000fffff7f0a21c in QTest::qExec (testObject=0xfffffffff098, argc=2, argv=0xfffffffff248) at /home/qt/qt/qtbase/src/testlib/qtestcase.cpp:1827
      #10 0x0000aaaaaaaa52e4 in main (argc=2, argv=0xfffffffff248) at /home/qt/qt/qtbase/tests/auto/corelib/io/qfloat16format/tst_qfloat16format.cpp:167
      

      Attachments

        Issue Links

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

          Activity

            People

              liaqi Liang Qi
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes