Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-94299

[virtio-win] SDV for some driver fail but build finished with zero exit code

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • No
    • None
    • rhel-virt-windows
    • ssg_virtualization
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      For example error occurs for vioscsi but build continue and finished with "BUILD COMPLETED SUCCESSFULLY."

      As a result we have missed binary for HLK testing

      Build - Performing SDV checks for vioscsi.vcxproj...
      Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
      Copyright (C) Microsoft Corporation. All rights reserved.

      Build started 5/28/2025 11:11:27 AM.
           1>Project "C:\jenkins\workspace\build-virtio-win-EWDK-24H2-21H2\vioscsi\vioscsi.vcxproj" on node 1 (sdv target(s)).
           1>sdv:
               staticdv /check /devenv
               SDV: c:\ewdk11\Program Files\Windows Kits\10\TOOLS\SDV
               SMV: c:\ewdk11\Program Files\Windows Kits\10\TOOLS\SDV\smv
               SDVAP: c:\ewdk11\Program Files\Windows Kits\10\TOOLS\SDV\smv\analysisplugins\sdv
               Build environment: msbuild
               [INFO] Cleaning ... 
               [INFO] Setting interceptor platform to x64
               [INFO] Setting platform to x86_amd64
               [INFO] Validating XML against schema: c:\ewdk11\Program Files\Windows Kits\10\TOOLS\SDV\smv\bin\Config.xsd
               [INFO] Running local scheduler with 12 threads
               [INFO] Driver type found: storport
               [INFO] Currently reading and validating XML settings from c:\ewdk11\Program Files\Windows Kits\10\TOOLS\SDV\data\storport\sdv-default.xml
               
               [INFO] 1 of 2 jobs remaining. Avg(s): 12.00. Std.Dev(s): 0.00
               [INFO] 1 of 3 jobs remaining. Avg(s): 21.00. Std.Dev(s): 9.00
               Scan ...Done
               
               [INFO] 0 of 3 jobs remaining. Avg(s): 14.00. Std.Dev(s): 12.33
               
               Building ...Done
               [INFO] Using plugin SdvPlugin.SmvSdv for analysis.
               [INFO] Running analysis on 3 precondition(s) & 43 rule(s) ...
               [INFO] Checking preconditions...
               
               [INFO] 3 of 7 jobs remaining. Avg(s): 13.25. Std.Dev(s): 10.76
               
               Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
                  at System.Collections.Generic.HashSet`1.AddIfNotPresent(T value)
                  at System.Collections.Generic.HashSet`1.Add(T item)
                  at SdvPlugin.SdvTelemetry.LogStageStart(String stageName)
                  at SdvPlugin.SmvSdv.PreAction(SMVAction action)
                  at SmvLibrary.Utility.ExecuteAction(SMVAction action, Boolean fromWorker, Boolean workerUseDb, String workerTaskId)
                  at SmvLibrary.LocalSMVActionScheduler.Execute()
                  at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
                  at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                  at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
                  at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
                  at System.Threading.ThreadHelper.ThreadStart()
               [INFO] 3 of 8 jobs remaining. Avg(s): 12.80. Std.Dev(s): 9.66
               [INFO] 3 of 9 jobs remaining. Avg(s): 12.67. Std.Dev(s): 8.83
               [INFO] 2 of 9 jobs remaining. Avg(s): 11.14. Std.Dev(s): 8.98
           1>c:\ewdk11\Program Files\Windows Kits\10\build\windowsdriver.Sdv.targets(136,9): error MSB3073: The command "staticdv /check /devenv" exited with code 255. [C:\jenkins\workspace\build-virtio-win-EWDK-24H2-21H2\vioscsi\vioscsi.vcxproj]
           1>Done Building Project "C:\jenkins\workspace\build-virtio-win-EWDK-24H2-21H2\vioscsi\vioscsi.vcxproj" (sdv target(s)) – FAILED.

      Build FAILED.

             "C:\jenkins\workspace\build-virtio-win-EWDK-24H2-21H2\vioscsi\vioscsi.vcxproj" (sdv target) (1) ->
             (sdv target) -> 
               c:\ewdk11\Program Files\Windows Kits\10\build\windowsdriver.Sdv.targets(136,9): error MSB3073: The command "staticdv /check /devenv" exited with code 255. [C:\jenkins\workspace\build-virtio-win-EWDK-24H2-21H2\vioscsi\vioscsi.vcxproj]

          0 Warning(s)
          1 Error(s)

      Time Elapsed 00:01:38.37

              yvugenfi@redhat.com Yan Vugenfirer
              rh-ee-kkostiuk Kostiantyn Kostiuk
              Virt Windows SST Bugs Virt Windows SST Bugs
              Qianqian Zhu Qianqian Zhu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: