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

Results are not being uploaded to the qmlbench dashboard

    XMLWordPrintable

Details

    Description

      Link here:
      https://testresults.qt.io/grafana/d/5ei7yHViz/qmlbench-daily-results

      The issue has been present for more than a month.

      The tests fail with the following output:

      failed to acquire GL context to get version info.
      qt.quick3d.general: Unable to find ideal GL version.
      QGLXContext: Failed to create dummy context
      QRhiGles2: Failed to create temporary context
      QRhiGles2: Failed to create context
      Failed to create RHI (backend 2)
      Failed to initialize graphics backend for OpenGL.
      
      Test crashed when run with arguments:  "--subprocess-mode -v --json --shell frame-count :benchmarks/auto/quick3d/lights.qml"
      Can't parse JSON for result for  ":benchmarks/auto/quick3d/lights.qml"
      Error:  "illegal value"
      

       
      The first line is a warning from this file:

      qmlbench/src/resultrecorder.cpp
      ...
      // The following code makes the assumption that an OpenGL context the GUI
      // thread will get the same capabilities as the render thread's OpenGL
      // context. Not 100% accurate, but it works...
      QOpenGLContext context;
      context.create();
      QOffscreenSurface surface;
      // In very odd cases, we can get incompatible configs here unless we pass the
      // GL context's format on to the offscreen format.
      surface.setFormat(context.format());
      surface.create();
      if (!context.makeCurrent(&surface)) {
          qWarning() << "failed to acquire GL context to get version info.";
          return;
      }
      ...
      

      The last successful upload had the timestamp 2024-02-28 04:20:00.

      The system log shows that packages were upgraded a short time after the upload. Immediately after the package upgrade, the kernel begins to compain.

      journalctl -S "2024-02-28 04:20" -U "2024-02-28 16:20"
      feb. 28 06:38:32 ubuntu-22-04-foucault systemd[1]: apt-daily-upgrade.service: Deactivated successfully.
      feb. 28 06:38:32 ubuntu-22-04-foucault systemd[1]: Finished Daily apt upgrade and clean activities.
      feb. 28 06:38:32 ubuntu-22-04-foucault systemd[1]: apt-daily-upgrade.service: Consumed 2min 24.243s CPU time.
      feb. 28 06:38:41 ubuntu-22-04-foucault kernel: NVRM: API mismatch: the client has the version 535.161.07, but
                                                     NVRM: this kernel module has the version 535.154.05.  Please
                                                     NVRM: make sure that this kernel module and all NVIDIA driver
                                                     NVRM: components have the same version.
      feb. 28 06:38:41 ubuntu-22-04-foucault kernel: NVRM: API mismatch: the client has the version 535.161.07, but
                                                     NVRM: this kernel module has the version 535.154.05.  Please
                                                     NVRM: make sure that this kernel module and all NVIDIA driver
                                                     NVRM: components have the same version.
      ...
      

      The package manager log shows that the NVIDIA driver and related kernel modules were upgraded:

      less /var/log/dpkg.log.2.gz
      ...
      2024-02-28 06:37:40 upgrade linux-modules-nvidia-530-generic-hwe-22.04:amd64 6.5.0-21.21~22.04.1 6.5.0-21.21~22.04.1+1
      ...
      2024-02-28 06:37:45 upgrade nvidia-driver-535:amd64 535.154.05-0ubuntu0.22.04.1 535.161.07-0ubuntu0.22.04.1
      ...
      

      No reboot was done:

      last reboot
      reboot   system boot  6.5.0-27-generic Tue Apr  9 14:35   still running
      reboot   system boot  6.5.0-21-generic Tue Feb 27 17:50 - 14:33 (41+19:43)
      ...
      

      Attachments

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

        Activity

          People

            ausutter Audun Sutterud
            ausutter Audun Sutterud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes