Uploaded image for project: 'UGENE'
  1. UGENE
  2. UGENE-1482

Regular crashes related to time comparison when running tests on Linux in multithreaded mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12
    • Component/s: None
    • Labels:
      None
    • Environment:

      Ubuntu Linux 12.04, 8x core cpu, 16 GB RAM

    • Tests Type:
      Untestable
    • Affect Type:
      Technical

      Description

      When running suite PrecommitList_x64 on Linux with 8 threads in debug mode, the tests on regular basis fail in two particular assertions in GTest.cpp:

      line:416

      SAFE_POINT(logMessage.time >= logHelperStartTime,
              QString("Internal error in GTestLogHelper (incorrect start time): message '%1' with time '%2' appeared"
                  " in log at time '%3'. GTestLogHelper start time is '%4'.").arg(logMessage.text)
                      .arg(logMessage.time)
                      .arg(currentTime)
                      .arg(logHelperStartTime),
                      );
      

      2) line:425

       FAIL(QString("Internal error in GTestLogHelper (got a message after verifying the status):"
                  " message '%1' with time '%2' appeared"
                  " in log at time '%3'. GTestLogHelper end time is '%4'.").arg(logMessage.text)
                  .arg(logMessage.time)
                  .arg(currentTime)
                  .arg(logHelperEndTime),
                  );
      

      When running test with only 1 thread everything works fine.

        Attachments

          Activity

            People

            Assignee:
            dkandrov Denis Kandrov
            Reporter:
            kokonech Konstantin Okonechnikov
            Assigned Tester:
            Kirill Rasputin
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: