Details

    • Sub-task
    • Resolution: Unresolved
    • P5: Not important
    • None
    • SerialBus: CAN Bus
    • None
    • Linux/X11

    Description

      Looks like test suite fails

      + cd qtserialbus-everywhere-src-6.7.1
      + /usr/bin/ctest --test-dir x86_64-redhat-linux-gnu --output-on-failure --force-new-ctest-process -j48
      Internal ctest changing into directory: /home/tkloczko/rpmbuild/BUILD/qtserialbus-everywhere-src-6.7.1/x86_64-redhat-linux-gnu
      Test project /home/tkloczko/rpmbuild/BUILD/qtserialbus-everywhere-src-6.7.1/x86_64-redhat-linux-gnu
            Start  1: module_includes
            Start  2: tst_qcanbusframe
            Start  3: tst_qcanbusdevice
            Start  4: tst_qcandbcfileparser
            Start  5: tst_qcanframeprocessor
            Start  6: tst_qcanmessagedescription
            Start  7: tst_qcansignaldescription
            Start  8: tst_qcanuniqueiddescription
            Start  9: tst_qmodbusdataunit
            Start 10: tst_qmodbusreply
            Start 11: tst_qmodbusdevice
            Start 12: tst_qmodbuspdu
            Start 13: tst_qmodbusserver
            Start 14: tst_qmodbuscommevent
            Start 15: tst_qmodbusadu
            Start 16: tst_qmodbusdeviceidentification
            Start 17: tst_qmodbusrtuserialclient
            Start 18: tst_qcanbus
       1/18 Test  #9: tst_qmodbusdataunit ...............   Passed    0.03 sec
       2/18 Test  #2: tst_qcanbusframe ..................   Passed    0.04 sec
       3/18 Test  #6: tst_qcanmessagedescription ........   Passed    0.03 sec
       4/18 Test  #7: tst_qcansignaldescription .........   Passed    0.04 sec
       5/18 Test #14: tst_qmodbuscommevent ..............   Passed    0.03 sec
       6/18 Test  #8: tst_qcanuniqueiddescription .......   Passed    0.04 sec
       7/18 Test  #5: tst_qcanframeprocessor ............   Passed    0.04 sec
       8/18 Test #10: tst_qmodbusreply ..................   Passed    0.03 sec
       9/18 Test #11: tst_qmodbusdevice .................   Passed    0.03 sec
      10/18 Test #12: tst_qmodbuspdu ....................***Failed    0.03 sec
      ********* Start testing of tst_QModbusPdu *********
      Config: Using QtTest library 6.7.1, Qt 6.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.1.1 20240522 (Red Hat 14.1.1-4)), fedora 41
      PASS   : tst_QModbusPdu::initTestCase()
      PASS   : tst_QModbusPdu::testDefaultConstructor()
      PASS   : tst_QModbusPdu::testVaridicConstructor()
      PASS   : tst_QModbusPdu::testQByteArrayConstructor()
      PASS   : tst_QModbusPdu::testCopyConstructorAndAssignment()
      PASS   : tst_QModbusPdu::testEncodeDecode()
      PASS   : tst_QModbusPdu::testQModbusExceptionResponsePdu()
      FAIL!  : tst_QModbusPdu::testQDebugStreamOperator() Compared values are not the same
         Actual   (s_msg)                                     : ""
         Expected (QString::fromLatin1("0x00 0x00 0x00 0x00")): "0x00 0x00 0x00 0x00"
         Loc: [/home/tkloczko/rpmbuild/BUILD/qtserialbus-everywhere-src-6.7.1/tests/auto/qmodbuspdu/tst_qmodbuspdu.cpp(267)]
      PASS   : tst_QModbusPdu::testMinimumDataSize()
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(ReadCoils)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(ReadDiscreteInputs)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(ReadHoldingRegisters)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(ReadInputRegisters)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(WriteSingleCoil)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(WriteSingleRegister)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(ReadExceptionStatus)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(Diagnostics)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(GetCommEventCounter)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(GetCommEventLog)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(WriteMultipleCoils)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(WriteMultipleRegisters)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(ReportServerId)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(ReadFileRecord)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(WriteFileRecord)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(MaskWriteRegister)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(ReadWriteMultipleRegisters)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(ReadFifoQueue)
      PASS   : tst_QModbusPdu::testQModbusRequestStreamOperator(EncapsulatedInterfaceTransport)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(ReadCoils)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(ReadDiscreteInputs)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(ReadHoldingRegisters)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(ReadInputRegisters)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(WriteSingleCoil)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(WriteSingleRegister)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(ReadExceptionStatus)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(Diagnostics)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(GetCommEventCounter)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(GetCommEventLog)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(WriteMultipleCoils)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(WriteMultipleRegisters)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(ReportServerId)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(ReadFileRecord)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(WriteFileRecord)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(MaskWriteRegister)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(ReadWriteMultipleRegisters)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(ReadFifoQueue)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(EncapsulatedInterfaceTransport)
      PASS   : tst_QModbusPdu::testQModbusResponseStreamOperator(StreamExceptionResponse)
      PASS   : tst_QModbusPdu::testEncapsulatedInterfaceTransportStreamOperator()
      PASS   : tst_QModbusPdu::testCalculateDataSize()
      PASS   : tst_QModbusPdu::testCustomCalculator()
      PASS   : tst_QModbusPdu::testCalculateLongDataSize()
      PASS   : tst_QModbusPdu::cleanupTestCase()
      Totals: 52 passed, 1 failed, 0 skipped, 0 blacklisted, 1ms
      ********* Finished testing of tst_QModbusPdu *********
      CMake Error at tst_qmodbuspduWrapperRelWithDebInfo.cmake:18 (message):  /home/tkloczko/rpmbuild/BUILD/qtserialbus-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/tests/auto/qmodbuspdu/tst_qmodbuspdu
        execution failed with exit code 1.11/18 Test #13: tst_qmodbusserver .................***Failed    0.03 sec
      ********* Start testing of tst_QModbusServer *********
      Config: Using QtTest library 6.7.1, Qt 6.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.1.1 20240522 (Red Hat 14.1.1-4)), fedora 41
      PASS   : tst_QModbusServer::initTestCase()
      PASS   : tst_QModbusServer::testServerAddress()
      PASS   : tst_QModbusServer::testProcessRequestReadWriteSingleMultipleCoils()
      PASS   : tst_QModbusServer::testProcessReadDiscreteInputsRequest()
      PASS   : tst_QModbusServer::testProcessReadHoldingRegistersRequest()
      PASS   : tst_QModbusServer::testProcessReadInputRegistersRequest()
      PASS   : tst_QModbusServer::testProcessWriteSingleRegisterRequest()
      PASS   : tst_QModbusServer::testProcessReadExceptionStatus()
      PASS   : tst_QModbusServer::testProcessDiagnosticsRequest()
      PASS   : tst_QModbusServer::testProcessGetCommEventCounter()
      PASS   : tst_QModbusServer::testProcessGetCommEventLogRequest()
      PASS   : tst_QModbusServer::testProcessWriteMultipleRegistersRequest()
      PASS   : tst_QModbusServer::testReportServerId()
      PASS   : tst_QModbusServer::testMaskWriteRegister()
      PASS   : tst_QModbusServer::testProcessReadWriteMultipleRegistersRequest()
      PASS   : tst_QModbusServer::testProcessReadFifoQueue()
      PASS   : tst_QModbusServer::tst_dataCalls(InitCoils)
      PASS   : tst_QModbusServer::tst_dataCalls(InitDiscreteInputs)
      PASS   : tst_QModbusServer::tst_dataCalls(InitInputRegisters)
      PASS   : tst_QModbusServer::tst_dataCalls(InitHoldingRegisters)
      PASS   : tst_QModbusServer::tst_dataCalls(InitInvalid)
      PASS   : tst_QModbusServer::tst_dataCallsShiftedIndex()
      PASS   : tst_QModbusServer::tst_serverAddress()
      PASS   : tst_QModbusServer::tst_diagnosticRegister()
      PASS   : tst_QModbusServer::tst_exceptionStatusOffset()
      FAIL!  : tst_QModbusServer::tst_readWriteDataInheritance() Compared values are not the same
         Actual   (s_msg)                                                                  : ""
         Expected (QString("QModbusServer::data() call did end in the expected OVERRIDE.")): "QModbusServer::data() call did end in the expected OVERRIDE."
         Loc: [/home/tkloczko/rpmbuild/BUILD/qtserialbus-everywhere-src-6.7.1/tests/auto/qmodbusserver/tst_qmodbusserver.cpp(1144)]
      PASS   : tst_QModbusServer::testReadWriteDataMissingOrInvalidRegister()
      PASS   : tst_QModbusServer::testIllegalTcpFunctionCodes()
      PASS   : tst_QModbusServer::testQModbusServerOptions()
      PASS   : tst_QModbusServer::testClearOverrunCounterAndFlag()
      PASS   : tst_QModbusServer::testProcessEncapsulatedInterfaceTransportRequest()
      PASS   : tst_QModbusServer::cleanupTestCase()
      Totals: 31 passed, 1 failed, 0 skipped, 0 blacklisted, 2ms
      ********* Finished testing of tst_QModbusServer *********
      CMake Error at tst_qmodbusserverWrapperRelWithDebInfo.cmake:18 (message):  /home/tkloczko/rpmbuild/BUILD/qtserialbus-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/tests/auto/qmodbusserver/tst_qmodbusserver
        execution failed with exit code 1.12/18 Test #16: tst_qmodbusdeviceidentification ...   Passed    0.03 sec
      13/18 Test #15: tst_qmodbusadu ....................   Passed    0.03 sec
      14/18 Test #17: tst_qmodbusrtuserialclient ........   Passed    0.03 sec
      15/18 Test #18: tst_qcanbus .......................   Passed    0.03 sec
      16/18 Test  #4: tst_qcandbcfileparser .............   Passed    0.06 sec
      17/18 Test  #1: module_includes ...................***Failed    0.68 sec
      Internal cmake changing into directory: /home/tkloczko/rpmbuild/BUILD/qtserialbus-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/tests/auto/cmake/module_includes/build
      Error: cmake execution failed
      The C compiler identification is GNU 14.1.1
      The CXX compiler identification is GNU 14.1.1
      Detecting C compiler ABI info
      Detecting C compiler ABI info - done
      Check for working C compiler: /usr/bin/gcc - skipped
      Detecting C compile features
      Detecting C compile features - done
      Detecting CXX compiler ABI info
      Detecting CXX compiler ABI info - done
      Check for working CXX compiler: /usr/bin/g++ - skipped
      Detecting CXX compile features
      Detecting CXX compile features - done
      Could NOT find Qt6 (missing: Qt6_DIR)
      CMake Error at /home/tkloczko/rpmbuild/BUILD/qtserialbus-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/lib64/cmake/Qt6SerialBus/Qt6SerialBusConfig.cmake:54 (_qt_internal_suggest_dependency_debugging):
        Unknown CMake command "_qt_internal_suggest_dependency_debugging".
      Call Stack (most recent call first):
        CMakeLists.txt:6 (find_package)
      CMake Error at CMakeLists.txt:6 (find_package):
        Found package configuration file:    /home/tkloczko/rpmbuild/BUILD/qtserialbus-everywhere-src-6.7.1/x86_64-redhat-linux-gnu/lib64/cmake/Qt6SerialBus/Qt6SerialBusConfig.cmake  but it set Qt6SerialBus_FOUND to FALSE so package "Qt6SerialBus" is
        considered to be NOT FOUND.  Reason given by package:  Qt6SerialBus could not be found because dependency Qt6 could not be found.Configuring incomplete, errors occurred!
      18/18 Test  #3: tst_qcanbusdevice .................   Passed   28.97 sec83% tests passed, 3 tests failed out of 18Label Time Summary:
      tests/auto/qcanbus/tst_qcanbus                                            =   0.03 sec*proc (1 test)
      tests/auto/qcanbusdevice/tst_qcanbusdevice                                =  28.97 sec*proc (1 test)
      tests/auto/qcanbusframe/tst_qcanbusframe                                  =   0.04 sec*proc (1 test)
      tests/auto/qcandbcfileparser/tst_qcandbcfileparser                        =   0.06 sec*proc (1 test)
      tests/auto/qcanframeprocessor/tst_qcanframeprocessor                      =   0.04 sec*proc (1 test)
      tests/auto/qcanmessagedescription/tst_qcanmessagedescription              =   0.03 sec*proc (1 test)
      tests/auto/qcansignaldescription/tst_qcansignaldescription                =   0.04 sec*proc (1 test)
      tests/auto/qcanuniqueiddescription/tst_qcanuniqueiddescription            =   0.04 sec*proc (1 test)
      tests/auto/qmodbusadu/tst_qmodbusadu                                      =   0.03 sec*proc (1 test)
      tests/auto/qmodbuscommevent/tst_qmodbuscommevent                          =   0.03 sec*proc (1 test)
      tests/auto/qmodbusdataunit/tst_qmodbusdataunit                            =   0.03 sec*proc (1 test)
      tests/auto/qmodbusdevice/tst_qmodbusdevice                                =   0.03 sec*proc (1 test)
      tests/auto/qmodbusdeviceidentification/tst_qmodbusdeviceidentification    =   0.03 sec*proc (1 test)
      tests/auto/qmodbuspdu/tst_qmodbuspdu                                      =   0.03 sec*proc (1 test)
      tests/auto/qmodbusreply/tst_qmodbusreply                                  =   0.03 sec*proc (1 test)
      tests/auto/qmodbusrtuserialclient/tst_qmodbusrtuserialclient              =   0.03 sec*proc (1 test)
      tests/auto/qmodbusserver/tst_qmodbusserver                                =   0.03 sec*proc (1 test)Total Test time (real) =  28.98 secThe following tests FAILED:
                1 - module_includes (Failed)
               12 - tst_qmodbuspdu (Failed)
               13 - tst_qmodbusserver (Failed)
      Errors while running CTest
       

      Attachments

        Issue Links

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

          Activity

            People

              heimrich Karsten Heimrich
              kloczek Tomasz Kloczko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes