locked
App Cert Kit hangs when testing a simple metro app with win32 dll

    Question

  • Previous App Cert Kit tool (Sept 2011 BUILD version) works ok, but this version from VS11 beta hangs.

    My metro test app is created from a Blank C++ metro app, and links to a win32 dll that links to another old win32 dll like this:

       metroapp.exe

          win32dll_vs11.dll

            mytest_vs2008.dll 

    is this a known issue? I've got the dump file, but don't know how to attach.

    any work-around?

    • Moved by Dawn MMicrosoft employee Friday, March 09, 2012 6:21 PM (From:Windows Store: Publishing Metro Style apps for Windows 8)
    Thursday, March 08, 2012 6:31 PM

All replies

  • How did you launch the app cert kit? Was it through Visual Studio or did you launch the kit directly standalone?

    When you say hang, do you mean validation never finishes? How long did you wait for?

    Thanks.

    Thursday, March 08, 2012 8:12 PM
  • I lunched it from desktop (run as admin), waited for more than 1hr. It never finish, both the metro app and the app cert kit are running.

    The metro app runs ok: correct result.

    The BUILD version of app cert kit reported some issues with mytest_vs2008.dll not being compliant. So I'm checking it again with the Beta version. but it hangs instead.

    Jennifer

    Thursday, March 08, 2012 8:21 PM
  • Can you please post the contents of the following file:

    %UserProfile%\AppData\Local\Microsoft\AppCertKit\logotest_trace_XXXX_XXXX.txt

    In this case, XXXX represents the date/time that you executed the Cert Kit.

    Thanks,

    -Raymond (MSFT)


    Raymond Parsons Microsoft Corporation This posting is provided "AS IS" with no warranties and confers no rights.

    Thursday, March 08, 2012 8:47 PM
  • Here is one version, this time, I did not wait that long.

    ==========================================

    appcertui.exe Information: 0 : INFO:Checking the localized config file at C:\Program Files\Windows Kits\8.0\App Certification Kit\en-US\configuration.xml
    appcertui.exe Information: 0 : INFO:Config file found C:\Program Files\Windows Kits\8.0\App Certification Kit\en-US\configuration.xml
    appcertui.exe Information: 0 : INFO:Beginning execution of phase PROLOG.
    appcertui.exe Information: 0 : INFO:Executing task ManageAppXDeployment.
    appcertui.exe Information: 0 : INFO:Task execution time: 00h:00m:00s.02ms
    appcertui.exe Information: 0 : INFO:Task execution result was success.
    appcertui.exe Information: 0 : INFO:Executing task ProgramInventory.
    appcertui.exe Information: 0 : INFO:Task execution time: 00h:00m:01s.24ms
    appcertui.exe Information: 0 : INFO:Task execution result was success.
    appcertui.exe Information: 0 : INFO:Executing task ModifyFaultTolerantHeap.
    appcertui.exe Information: 0 : INFO:ModifyFaultTolerantHeap Task execution was successful.
    appcertui.exe Information: 0 : INFO:Task execution time: 00h:00m:00s.51ms
    appcertui.exe Information: 0 : INFO:Task execution result was success.
    appcertui.exe Information: 0 : INFO:Executing task ModifyPCAService.
    appcertui.exe Information: 0 : INFO:ModifyPCAService Task execution was successful.
    appcertui.exe Information: 0 : INFO:Task execution time: 00h:00m:00s.12ms
    appcertui.exe Information: 0 : INFO:Task execution result was success.
    appcertui.exe Information: 0 : INFO:Executing task WindowsErrorReporting.
    appcertui.exe Information: 0 : INFO:TAEF command-line "C:\Program Files\Windows Kits\8.0\App Certification Kit\Microsoft.Windows.SoftwareLogo.Tests.dll" /select:"@Name='Microsoft.Windows.SoftwareLogo.Tests.WindowsErrorReporting.WindowsErrorReporting.ExecuteTest'" /enableWttLogging /logfile:C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit\Log_WindowsErrorReporting_PROLOG.xml /p:DataFilePath=C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit /p:TaskParameter=PRE_PROCESS /p:PackageFullName= /p:"AppxManifestFilePath=".
    appcertui.exe Information: 0 : INFO:Task execution time: 00h:00m:01s.72ms
    appcertui.exe Information: 0 : INFO:Task execution result was success.
    appcertui.exe Information: 0 : INFO:Execution of phase is complete.
    appcertui.exe Information: 0 : INFO:Beginning execution of phase VALIDATION.
    appcertui.exe Information: 0 : INFO:Executing task ClearNetIsoLoopbackExempt.
    appcertui.exe Information: 0 : INFO:ModifyPCAService Task execution was successful.
    appcertui.exe Information: 0 : INFO:Task execution time: 00h:00m:00s.03ms
    appcertui.exe Information: 0 : INFO:Task execution result was success.
    appcertui.exe Information: 0 : INFO:Executing task AppXManifestValidation.
    appcertui.exe Information: 0 : INFO:TAEF command-line "C:\Program Files\Windows Kits\8.0\App Certification Kit\Microsoft.Windows.SoftwareLogo.Tests.dll" /select:"@Name='Microsoft.Windows.SoftwareLogo.Tests.AppXManifestValidation.AppXManifestValidation.ExecuteTest'" /enableWttLogging /logfile:C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit\Log_AppXManifestValidation_VALIDATION.xml /p:DataFilePath=C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit /p:TaskParameter=POST_PROCESS /p:PackageFullName=metrotest2pkgname_1.0.0.15_x86__019qksbhs504y /p:"AppxManifestFilePath=C:\Program Files\WindowsApps\MetroTest2PkgName_1.0.0.15_x86__019qksbhs504y\AppxManifest.xml".
    appcertui.exe Information: 0 : INFO:Task execution time: 00h:00m:01s.20ms
    appcertui.exe Information: 0 : INFO:Task execution result was success.
    appcertui.exe Information: 0 : INFO:Executing task DependencyInformation.
    appcertui.exe Information: 0 : INFO:Task execution time: 00h:00m:01s.04ms
    appcertui.exe Information: 0 : INFO:Task execution result was success.
    appcertui.exe Information: 0 : INFO:Executing task SupportedApis.
    appcertui.exe Information: 0 : INFO:TAEF command-line "C:\Program Files\Windows Kits\8.0\App Certification Kit\Microsoft.Windows.SoftwareLogo.Tests.dll" /select:"@Name='Microsoft.Windows.SoftwareLogo.Tests.SupportedApis.SupportedApis.ExecuteTest'" /enableWttLogging /logfile:C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit\Log_SupportedApis_VALIDATION.xml /p:DataFilePath=C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit /p:TaskParameter=POST_PROCESS /p:PackageFullName=metrotest2pkgname_1.0.0.15_x86__019qksbhs504y /p:"AppxManifestFilePath=C:\Program Files\WindowsApps\MetroTest2PkgName_1.0.0.15_x86__019qksbhs504y\AppxManifest.xml".
    appcertui.exe Information: 0 : INFO:Task execution time: 00h:00m:02s.48ms
    appcertui.exe Information: 0 : INFO:Task execution result was success.
    appcertui.exe Information: 0 : INFO:Executing task AppxManifestResourcesValidation.
    appcertui.exe Information: 0 : INFO:TAEF command-line "C:\Program Files\Windows Kits\8.0\App Certification Kit\Microsoft.Windows.SoftwareLogo.AppxManifestResourcesValidation.Tests.dll" /select:"@Name='Microsoft::Windows::SoftwareLogo::Tests::AppxManifestResourcesValidation::AppxManifestResourcesValidation::ExecuteTest'" /enableWttLogging /logfile:C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit\Log_AppxManifestResourcesValidation_VALIDATION.xml /p:DataFilePath=C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit /p:TaskParameter=POST_PROCESS /p:PackageFullName=metrotest2pkgname_1.0.0.15_x86__019qksbhs504y /p:"AppxManifestFilePath=C:\Program Files\WindowsApps\MetroTest2PkgName_1.0.0.15_x86__019qksbhs504y\AppxManifest.xml".
    appcertui.exe Information: 0 : INFO:Task execution time: 00h:00m:00s.61ms
    appcertui.exe Information: 0 : INFO:Task execution result was success.
    appcertui.exe Information: 0 : INFO:Executing task Binscope.
    appcertui.exe Information: 0 : INFO:TAEF command-line "C:\Program Files\Windows Kits\8.0\App Certification Kit\Microsoft.Windows.SoftwareLogo.Binscope.dll" /select:"@Name='Microsoft.Windows.SoftwareLogo.Tests.Msec.Binscope.ExecuteTest'" /enableWttLogging /logfile:C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit\Log_Binscope_VALIDATION.xml /p:DataFilePath=C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit /p:TaskParameter=POST_PROCESS /p:PackageFullName=metrotest2pkgname_1.0.0.15_x86__019qksbhs504y /p:"AppxManifestFilePath=C:\Program Files\WindowsApps\MetroTest2PkgName_1.0.0.15_x86__019qksbhs504y\AppxManifest.xml".
    appcertui.exe Information: 0 : INFO:Task execution time: 00h:00m:01s.44ms
    appcertui.exe Information: 0 : INFO:Task execution result was success.
    appcertui.exe Information: 0 : INFO:Executing task DebugAppCheck.
    appcertui.exe Information: 0 : INFO:TAEF command-line "C:\Program Files\Windows Kits\8.0\App Certification Kit\Microsoft.Windows.SoftwareLogo.Tests.dll" /select:"@Name='Microsoft.Windows.SoftwareLogo.Tests.DebugAppCheck.DebugAppCheck.ExecuteTest'" /enableWttLogging /logfile:C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit\Log_DebugAppCheck_VALIDATION.xml /p:DataFilePath=C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit /p:TaskParameter=POST_PROCESS /p:PackageFullName=metrotest2pkgname_1.0.0.15_x86__019qksbhs504y /p:"AppxManifestFilePath=C:\Program Files\WindowsApps\MetroTest2PkgName_1.0.0.15_x86__019qksbhs504y\AppxManifest.xml".
    appcertui.exe Information: 0 : INFO:Task execution time: 00h:00m:02s.34ms
    appcertui.exe Information: 0 : INFO:Task execution result was success.
    appcertui.exe Information: 0 : INFO:Executing task PerformanceLaunch.
    appcertui.exe Information: 0 : INFO:TAEF command-line "C:\Program Files\Windows Kits\8.0\App Certification Kit\Microsoft.Windows.SoftwareLogo.Performance.dll" /select:"@Name='Microsoft.Windows.SoftwareLogo.Performance.Performance.Launch'" /enableWttLogging /logfile:C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit\Log_PerformanceLaunch_VALIDATION.xml /p:DataFilePath=C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit /p:TaskParameter=POST_PROCESS /p:PackageFullName=metrotest2pkgname_1.0.0.15_x86__019qksbhs504y /p:"AppxManifestFilePath=C:\Program Files\WindowsApps\MetroTest2PkgName_1.0.0.15_x86__019qksbhs504y\AppxManifest.xml".

    Thursday, March 08, 2012 8:58 PM
  • do you need any more info?

    Here is the performance.txt file content:

    INFO:[Tracing::Setup] TraceFilePath = C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit\Performance_Test__3_8_2012_13_12_5.txt
    INFO:[Tracing::Setup] DataFilePath = C:\Users\jljiang\AppData\Local\Microsoft\AppCertKit
    INFO:[Configuration:LoadSettings] overridepath - %localappdata%\Microsoft\AppCertKitPerfConfig
    INFO:[Configuration:LoadSettings] xperfpath - ..\Windows Performance Toolkit\xperf.exe
    INFO:[Configuration:LoadSettings] xperfflags - Base+FILE_IO+FILE_IO_INIT+CSWITCH+MEMORY
    INFO:[Configuration:LoadSettings] xperfuserflags - Microsoft-Windows-Immersive-Shell+Win32HeapRanges
    INFO:[Configuration:LoadSettings] xperfminbuffers - 80
    INFO:[Configuration:LoadSettings] xperftimeoutmsec - 300000
    INFO:[Configuration:LoadSettings] systemcfgtimeoutmsec - 10000
    INFO:[Configuration:LoadSettings] launchtesttimemsec - 10000
    INFO:[Configuration:LoadSettings] suspendtesttimemsec - 10000
    INFO:[Configuration:LoadSettings] maxlaunchdurationusec - 5000000
    INFO:[Configuration:LoadSettings] maxcpuusagepercent - 50.0
    INFO:[Configuration:LoadSettings] maxlaunchfileiobytes - 52428800
    INFO:[Configuration:LoadSettings] maxsuspendfileiobytes - 20971520
    INFO:[Configuration:LoadSettings] maxprivatepagesbytes - 26214400
    INFO:[Configuration:LoadSettings] maxsuspenddurationusec - 2000000
    INFO:[ConfigFile::GetConfig] Override path = C:\Users\jljiang\AppData\Local\Microsoft\AppCertKitPerfConfig\Microsoft.Windows.SoftwareLogo.Performance.dll.config
    INFO:[ConfigFile::ReadStringEntry] Reading entry: xperfpath
    INFO:[ConfigFile::ReadStringEntry] Reading entry: xperfflags
    INFO:[ConfigFile::ReadStringEntry] Reading entry: xperfuserflags
    INFO:[ConfigFile::ReadStringEntry] Reading entry: xperfminbuffers
    INFO:[ConfigFile::ReadStringEntry] Reading entry: xperftimeoutmsec
    INFO:[ConfigFile::ReadStringEntry] Reading entry: systemcfgtimeoutmsec
    INFO:[ConfigFile::ReadStringEntry] Reading entry: launchtesttimemsec
    INFO:[ConfigFile::ReadStringEntry] Reading entry: suspendtesttimemsec
    INFO:[ConfigFile::ReadStringEntry] Reading entry: maxlaunchdurationusec
    INFO:[ConfigFile::ReadStringEntry] Reading entry: maxcpuusagepercent
    INFO:[ConfigFile::ReadStringEntry] Reading entry: maxlaunchfileiobytes
    INFO:[ConfigFile::ReadStringEntry] Reading entry: maxsuspendfileiobytes
    INFO:[ConfigFile::ReadStringEntry] Reading entry: maxprivatepagesbytes
    INFO:[ConfigFile::ReadStringEntry] Reading entry: maxSuspendDurationusec
    INFO:[AppXPackage::GetPackageFromManifestFile] Loading Manifest.
    INFO:[AppXPackage::GetPackageFromManifestFile] Finding the Package node.
    INFO:[AppXPackage::GetPackageFromManifestFile] Creating namespace and identity node.
    INFO:[AppXPackage::GetPackageFromManifestFile] Loading applications.
    INFO:[AppXPackage::GetPackageFromManifestFile] Number of applications: 1.
    INFO:[AppXPackage::GetPackageFromManifestFile] New Application.
    INFO:[AppXPackage::GetPackageFromManifestFile] Loading id.
    INFO:[AppXPackage::GetPackageFromManifestFile] Id: MetroTest2AppID.
    INFO:[AppXPackage::GetPackageFromManifestFile] EntryPointType: MCA
    INFO:[AppXPackage::GetPackageFromManifestFile] Entrypoint value = MetroTest2.exe
    INFO:[AppXPackage::GetPackageFromManifestFile] Creating application node.
    INFO:[AppXPackage::GetPackageFromManifestFile] node created.
    INFO:[Performance::EnableDebugMode] Enabling debug mode.
    INFO:[Performance::EnableDebugMode] Package Full Name being passed to EnableDebugging is metrotest2pkgname_1.0.0.15_x86__019qksbhs504y
    INFO:[Performance::EnableDebugMode] EnableDebugMode retVal = 0
    INFO:[SystemConfigure::Setup] Retrieving active power scheme.
    INFO:[SystemConfigure::GetCurrentPowerScheme] Current Power Scheme Guid : 381b4222-f694-41f0-9685-ff5bb260df2e
    INFO:[SystemConfigure::Setup] Original power scheme guid: 381b4222-f694-41f0-9685-ff5bb260df2e
    INFO:[SystemConfigure::Setup] Duplicating active power scheme.
    INFO:[SystemConfigure::Setup] duplicate power scheme guid: e113977d-c44b-43d7-aab8-24bc1b31f395
    INFO:[SystemConfigure::Setup] Setting duplicate guid: e113977d-c44b-43d7-aab8-24bc1b31f395 to active.
    INFO:[ProcessAction::Run] Starting Run of: powercfg with arguments -S e113977d-c44b-43d7-aab8-24bc1b31f395
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 10000
    INFO:[ProcessAction::WaitForExit] Exitcode: 0
    INFO:[SystemConfigure::Setup] setting monitor timeout values.
    INFO:[ProcessAction::Run] Starting Run of: powercfg with arguments -X -monitor-timeout-ac 999
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 10000
    INFO:[ProcessAction::WaitForExit] Exitcode: 0
    INFO:[ProcessAction::Run] Starting Run of: powercfg with arguments -X -monitor-timeout-dc 999
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 10000
    INFO:[ProcessAction::WaitForExit] Exitcode: 0
    INFO:[SystemConfigure::Setup] setting disk timeout values.
    INFO:[ProcessAction::Run] Starting Run of: powercfg with arguments -X -disk-timeout-ac 999
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 10000
    INFO:[ProcessAction::WaitForExit] Exitcode: 0
    INFO:[ProcessAction::Run] Starting Run of: powercfg with arguments -X -disk-timeout-dc 999
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 10000
    INFO:[ProcessAction::WaitForExit] Exitcode: 0
    INFO:[SystemConfigure::Setup] setting standby timeout values.
    INFO:[ProcessAction::Run] Starting Run of: powercfg with arguments -X -standby-timeout-ac 999
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 10000
    INFO:[ProcessAction::WaitForExit] Exitcode: 0
    INFO:[ProcessAction::Run] Starting Run of: powercfg with arguments -X -standby-timeout-dc 999
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 10000
    INFO:[ProcessAction::WaitForExit] Exitcode: 0
    INFO:[SystemConfigure::Setup] setting hibernate timeout values.
    INFO:[ProcessAction::Run] Starting Run of: powercfg with arguments -X -hibernate-timeout-ac 999
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 10000
    INFO:[ProcessAction::WaitForExit] Exitcode: 0
    INFO:[ProcessAction::Run] Starting Run of: powercfg with arguments -X -hibernate-timeout-dc 999
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 10000
    INFO:[ProcessAction::WaitForExit] Exitcode: 0
    INFO:[SystemConfigure::Setup] Turning off screen saver.
    INFO:[NGenUtils::NGenAssembly] NgenAssembly C:\Program Files\WindowsApps\MetroTest2PkgName_1.0.0.15_x86__019qksbhs504y\MetroTest2.exe
    INFO:[NGenUtils::GetNGenPath] Ngen Path = C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe
    INFO:[ProcessAction::Run] Starting Run of: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe with arguments display "C:\Program Files\WindowsApps\MetroTest2PkgName_1.0.0.15_x86__019qksbhs504y\MetroTest2.exe" /nologo /silent
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 30000
    INFO:[ProcessAction::myProcess_OutputDataRecieved] output data: Error: The specified assembly is not installed.
    INFO:[ProcessAction::WaitForExit] Exitcode: -1
    INFO:[NGenUtils::InstallAssembly] Installing assembly C:\Program Files\WindowsApps\MetroTest2PkgName_1.0.0.15_x86__019qksbhs504y\MetroTest2.exe with ngen
    INFO:[NGenUtils::GetNGenPath] Ngen Path = C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe
    INFO:[ProcessAction::Run] Starting Run of: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ngen.exe with arguments install "C:\Program Files\WindowsApps\MetroTest2PkgName_1.0.0.15_x86__019qksbhs504y\MetroTest2.exe" /nologo
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 30000
    INFO:[ProcessAction::myProcess_OutputDataRecieved] output data: Uninstalling assembly C:\Program Files\WindowsApps\MetroTest2PkgName_1.0.0.15_x86__019qksbhs504y\MetroTest2.exe because of an error during compilation: Failed to load the runtime. (Exception from HRESULT: 0x80131700).
    INFO:[ProcessAction::myProcess_OutputDataRecieved] output data: Failed to load the runtime. (Exception from HRESULT: 0x80131700)
    INFO:[ProcessAction::WaitForExit] Exitcode: -1
    INFO:[Performance::RunTest] Launch once to negate cold launches in the workload
    INFO:[AppXApplication::Launch] Launching Application ID MetroTest2AppID.
    INFO:[AppXApplication::GetAppUserModelId] Base key SOFTWARE\Classes\ActivatableClasses\Package\metrotest2pkgname_1.0.0.15_x86__019qksbhs504y\Server\
    INFO:[AppXApplication::GetAppUserModelId] Subkey BackgroundTransferHost.1
    INFO:[AppXApplication::GetAppUserModelId] Subkey MetroTest2AppID.AppX41529ytwb1xybhqydt9nf5qbqz14eaqy.mca
    INFO:[AppXApplication::GetAppUserModelId] appUserModelId = MetroTest2PkgName_019qksbhs504y!MetroTest2AppID
    INFO:[AppXApplication::Launch] Launching MetroTest2PkgName_019qksbhs504y!MetroTest2AppID
    INFO:[AppXApplication.LaunchTailoredApp] Open current process token
    INFO:[AppXApplication.LaunchTailoredApp] Get handle of desktop shell
    INFO:[AppXApplication.LaunchTailoredApp] Get PID of desktop shell process
    INFO:[AppXApplication.LaunchTailoredApp] Get handle of desktop shell process
    INFO:[AppXApplication.LaunchTailoredApp] Get token of desktop shell process
    INFO:[AppXApplication.LaunchTailoredApp] Duplicate current process token
    INFO:[AppXApplication.LaunchTailoredApp] Launch appx launcher with duplicate token
    INFO:[AppXApplication.LaunchTailoredApp] Get process id for appx launcher
    INFO:[AppXApplication.LaunchTailoredApp] Get exit code for appx launcher
    INFO:[AppXApplication::Launch] process id = 2284
    INFO:[Performance::RunTest] Sleeping for 10000 msec.
    INFO:[Performance::RunTest] Suspend once to negate cold suspends in the workload
    INFO:[AppXApplication::Stop] Stopping application metrotest2pkgname_1.0.0.15_x86__019qksbhs504y
    INFO:[AppXApplication::SwitchToDesktop] Switching back to desktop using Win-D
    INFO:[AppXApplication::Suspend] Suspending application metrotest2pkgname_1.0.0.15_x86__019qksbhs504y
    INFO:[Performance::RunTest] Sleeping for 10000 msec.
    INFO:[Performance::RunTest] Starting Workload.
    INFO:[Performance::StartXperf] Starting xperf
    INFO:[XperfAction::On] The following two xperf -stop commands are expected to fail since xperf should not be running.
    INFO:[XperfAction::Run] Starting Xperf with arguments: -stop uSession
    INFO:[ProcessAction::Run] Starting Run of: C:\Program Files\Windows Kits\8.0\App Certification Kit\..\Windows Performance Toolkit\xperf.exe with arguments -stop uSession
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 300000
    INFO:[ProcessAction::WaitForExit] Exitcode: -3
    INFO:[XperfAction::Run] Xperf output:
    INFO:[XperfAction::Run] Starting Xperf with arguments: -stop
    INFO:[ProcessAction::Run] Starting Run of: C:\Program Files\Windows Kits\8.0\App Certification Kit\..\Windows Performance Toolkit\xperf.exe with arguments -stop
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 300000
    INFO:[ProcessAction::myProcess_ErrorDataReceived] error data: xperf: error: NT Kernel Logger: The instance name passed was not recognized as valid by a WMI data provider. (0x1069).
    INFO:[ProcessAction::WaitForExit] Exitcode: -2147020695
    INFO:[XperfAction::Run] Xperf output:
    INFO:[XperfAction::On] Starting xperf user and kernel sessions.
    INFO:[XperfAction::Run] Starting Xperf with arguments: -on Base+FILE_IO+FILE_IO_INIT+CSWITCH+MEMORY -Buffersize 512 -MinBuffers 80 -start uSession -on Microsoft-Windows-Immersive-Shell+Win32HeapRanges -Buffersize 512 -MinBuffers 80
    INFO:[ProcessAction::Run] Starting Run of: C:\Program Files\Windows Kits\8.0\App Certification Kit\..\Windows Performance Toolkit\xperf.exe with arguments -on Base+FILE_IO+FILE_IO_INIT+CSWITCH+MEMORY -Buffersize 512 -MinBuffers 80 -start uSession -on Microsoft-Windows-Immersive-Shell+Win32HeapRanges -Buffersize 512 -MinBuffers 80
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 300000
    INFO:[ProcessAction::myProcess_ErrorDataReceived] error data: xperf: error: uSession: Cannot create a file when that file already exists. (0xb7).
    INFO:[ProcessAction::WaitForExit] Exitcode: -2147024713
    ERROR:[PerformanceUtil::RunAndWait] Infrastructure Error: Failure occurred during testing, Error code -2147024713 occurred while running C:\Program Files\Windows Kits\8.0\App Certification Kit\..\Windows Performance Toolkit\xperf.exe.  Please consider re-running the test and  avoid interacting with the application while tests are running.
    INFO:[Performance::StopXperf] Setting end mark.
    INFO:[Performance::StopXperf] Stopping xperf.
    ERROR:[Performance::RunTest]  Failure occurred while processing application.
    Infrastructure Error: Failure occurred during testing, Error code -2147024713 occurred while running C:\Program Files\Windows Kits\8.0\App Certification Kit\..\Windows Performance Toolkit\xperf.exe.  Please consider re-running the test and  avoid interacting with the application while tests are running.
       at Microsoft.Windows.SoftwareLogo.Performance.PerformanceUtil.RunAndWait(String executablePath, String arguments, Int32 timeOutMSec, Boolean checkExitCode)
       at Microsoft.Windows.SoftwareLogo.Performance.XperfAction.Run(String xperfArgs, Boolean checkExitCode)
       at Microsoft.Windows.SoftwareLogo.Performance.XperfAction.On(String xperfFlags, String xperfUserFlags)
       at Microsoft.Windows.SoftwareLogo.Performance.Performance.StartXperf(XperfAction& xp)
       at Microsoft.Windows.SoftwareLogo.Performance.Performance.RunLaunchWorkload(AppXPackageApplication appX, String etlFilename)
       at Microsoft.Windows.SoftwareLogo.Performance.Performance.RunTest(TestType testType)
    INFO:[Performance::RunTest] Making sure the app is stopped, ignore any failure.
    INFO:[AppXApplication::Stop] Stopping application metrotest2pkgname_1.0.0.15_x86__019qksbhs504y
    INFO:[AppXApplication::SwitchToDesktop] Switching back to desktop using Win-D
    Invoking method [Cleanup]
    INFO:[Performance::Cleanup] Disabling debug mode.
    INFO:[Performance::Cleanup] Restoring system power configuration.
    INFO:[SystemConfigure::Cleanup] Setting original guid: 381b4222-f694-41f0-9685-ff5bb260df2e to active.
    INFO:[ProcessAction::Run] Starting Run of: powercfg with arguments -S 381b4222-f694-41f0-9685-ff5bb260df2e
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 10000
    INFO:[ProcessAction::WaitForExit] Exitcode: 0
    INFO:[SystemConfigure::Cleanup] Deleting duplicate guid.
    INFO:[ProcessAction::Run] Starting Run of: powercfg with arguments -DELETE e113977d-c44b-43d7-aab8-24bc1b31f395
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 10000
    INFO:[ProcessAction::WaitForExit] Exitcode: 0
    INFO:[SystemConfigure::Cleanup] Reseting screen saver.

    Friday, March 09, 2012 5:24 PM
  • Hello,

    can you contact me at mikewong at microsoft.com with your contact information?  It might be easier to do some live troubleshooting of this issue.

    much appreciated,

    mike wong

    Microsoft Developer Support

    Tuesday, March 20, 2012 9:28 PM
    Moderator
  • Have you managed to get to a resolution regarding the hanging of the App Cert Kit tool ? I am also in the same situation that the certification kit hangs in the Performance Launch phase. I tried out running from the App Cert Kit UI and also from a command prompt and no success yet.

    Please let me know if you managed to overcome the issue.

    Thanks.

    Thursday, May 10, 2012 11:10 AM
  • The issue went away later after I removed all the files under "%UserProfile%\AppData\Local\Microsoft\AppCertKit". it did not come back to me again.

    So try the same, and see if it fix the issue for you as well.

    Thursday, May 10, 2012 3:30 PM