none
App Cert Kit 启动性能测试失败 RRS feed

  • 问题

  • 新建程序直接测试都失败,这是错误信息

    • Infrastructure Error: Failure occurred while processing application App.  Please consider re-running the test and avoid interacting with the application while tests are running.
    • Exception:  Infrastructure Error: Failure occurred during testing, Error code -2147023504 occurred while running E:\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.

    Win8开发群 QQ群:95331609, (Metro DirectX11.1)

    2012年3月24日 6:27

全部回复

  • 这是log

    INFO:[ProcessAction::Run] Starting Run of: E:\Program Files\Windows Kits\8.0\App Certification Kit\..\Windows Performance Toolkit\xperf.exe with arguments -i "E:\Users\Raptor\AppData\Local\Microsoft\AppCertKit\SuspendData.etl" -o "E:\Users\Raptor\AppData\Local\Microsoft\AppCertKit\xperfTemp.txt" -a dumper -provider {315a8872-923e-4ea2-9889-33cd4754bf64}
    INFO:[ProcessAction::WaitForExit] Waiting for exit with timeout of 300000
    INFO:[ProcessAction::myProcess_ErrorDataReceived] error data:   108 Events were lost in this trace.  Data may be unreliable.
    INFO:[ProcessAction::myProcess_ErrorDataReceived] error data:   This is usually caused by insufficient disk bandwidth for ETW logging.
    INFO:[ProcessAction::myProcess_ErrorDataReceived] error data:   Please try increasing the minimum and maximum number of buffers and/or
    INFO:[ProcessAction::myProcess_ErrorDataReceived] error data:   the buffer size.  Doubling these values would be a good first attempt.
    INFO:[ProcessAction::myProcess_ErrorDataReceived] error data:   Please note, though, that this action increases the amount of memory
    INFO:[ProcessAction::myProcess_ErrorDataReceived] error data:   reserved for ETW buffers, increasing memory pressure on your scenario.
    INFO:[ProcessAction::myProcess_ErrorDataReceived] error data:   See "xperf -help start" for the associated command line options.
    INFO:[ProcessAction::WaitForExit] Exitcode: -2147023504


    Win8开发群 QQ群:95331609, (Metro DirectX11.1)

    2012年3月24日 7:46
  • 是不是在测试的时候动过鼠标键盘,最好测试的时候啥都不做,再测试一下,把鼠标翻过来放,现在应该没有人有滚轮了吧,键盘也不要动哦

    2012年3月26日 3:01
  • 你好,

    请问你是新建的什么类型的项目? 你是通过VS启动的App Cert Kit 还是你独立运行的?

    根据他的错误建议: This is usually caused by insufficient disk bandwidth for ETW logging. Please try increasing the minimum and maximum number of buffers and/or the buffer size.  Doubling these values would be a good first attempt. Please note, though, that this action increases the amount of memory reserved for ETW buffers, increasing memory pressure on your scenario. See "xperf -help start" for the associated command line options.

    你尝试:


    Bob Bao [MSFT]
    MSDN Community Support | Feedback to us

    2012年3月26日 3:17
    版主
  • GUI和命令行错误一样。 appcert test -apptype metrostyle -packagefullname 6f59c099-eac3-4585-9d0a-74911b9bcac2_1.0.0.0_x86__6bhyyddqre4mr -reportoutputpath D:\MyReport1.xml

    这里改设置对测试时的参数好像没有影响。

    刚开始还可以的,看来要重装了。


    Win8开发群 QQ群:95331609, (Metro DirectX11.1)

    2012年3月27日 9:25
  • GUI和命令行错误一样。 appcert test -apptype metrostyle -packagefullname 6f59c099-eac3-4585-9d0a-74911b9bcac2_1.0.0.0_x86__6bhyyddqre4mr -reportoutputpath D:\MyReport1.xml

    这里改设置对测试时的参数好像没有影响。

    刚开始还可以的,看来要重装了。


    Win8开发群 QQ群:95331609, (Metro DirectX11.1)

    仅对Windows 8 做次reset 看看。 不过根据错误描述,属于工具无法跟踪到你的应用,我查了下英文论坛记录,有相类似的帖子, http://social.msdn.microsoft.com/Forums/en-US/toolsforwinapps/thread/38a3fc1d-1a1d-4f48-a379-ca68ea020805  不过具体原因未明。 你可以看看在模拟器下,或者是否和你的虚拟机等环境有关。

    Bob Bao [MSFT]
    MSDN Community Support | Feedback to us

    2012年3月27日 16:08
    版主