App认证套件因“hello World”而失败应用 [英] App certification kit fail for "hello World" app

查看:117
本文介绍了App认证套件因“hello World”而失败应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发Metro应用程序,我想测试证书流程。 它在"发布时间性能"上失败了和"暂停演出"。 我删除了所有逻辑和大多数UI元素。 它现在只是一个按钮(后面没有代码)和一个文本框。 
没有启动逻辑(全部注释掉),除了默认情况下没有其他参考。 手动运行时,应用会执行您期望的操作 - 打开和关闭。 但是,应用程序证书仍然在这两个
项目上失败。 我跑了 测试多次,无法理解原因。

Hi, I am developing a Metro app and I wanted to test the cert process.  It failed on "Launch Time Performance" and "Suspend Performance".  I removed all logic and most UI elements.  It is now simply a button (with no code behind) and a textbox.  There is no start-up logic (all commented out) and no additional references beyond those that are there by default.  When run manually the app does what you would expect - opens and closes fine.  However, the app cert still fails it on these two items.  I have run  the test many times and cannot understand the cause.

以下是原始XML失败元素:     

Here is the raw XML failure element:   

    < REQUIREMENT NUMBER =" 17" TITLE ="发布时间表现" RATIONALE ="应用程序应具有快速响应的启动体验,同时消耗合理数量的系统资源(CPU,文件IO,内存等),以便在以前未打开的应用程序之间实现快速
切换和多任务处理。"> ;
$
      < TEST INDEX =" 43" NAME ="性能启动" DESCRIPTION ="应用程序应具有响应的启动时间,具有合理的CPU,文件IO和内存使用率"。 EXECUTIONTIME =" 00h:07m:06s.80ms">

        <结果><![CDATA [FAIL]]>< /结果>

        < MESSAGES>

          < MESSAGE TEXT ="基础结构错误:处理应用程序App时发生故障。 请考虑重新运行测试,并避免在测试运行时与应用程序进行交互。
/>

          < MESSAGE TEXT ="例外: 基础结构错误:运行C:\Program Files \ Windows Wits\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
请考虑重新运行测试和 避免在测试运行时与应用程序交互。" />
$
        < / MESSAGES>

        < Observed_Values />

      < / TEST>

    < / REQUIREMENT>

    < REQUIREMENT NUMBER =" 18" TITLE ="暂停表现" RATIONALE ="应用程序应具有快速且响应迅速的挂起体验,同时消耗合理数量的系统资源(CPU,文件IO,内存等)并确保以高效方式释放
资源。" >

      < TEST INDEX =" 44" NAME =" Performance Suspend" DESCRIPTION ="应用程序应具有响应性挂起,具有合理的CPU和文件IO使用率" EXECUTIONTIME =" 00h:15m:02s.38ms">

        <结果><![CDATA [FAIL]]>< /结果>

        < MESSAGES>

          < MESSAGE TEXT ="基础结构错误:处理应用程序App时发生故障。 请考虑重新运行测试,并避免在测试运行时与应用程序进行交互。
/>

          < MESSAGE TEXT ="例外: 基础结构错误:运行C:\Program Files \ Windows Wits\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
请考虑重新运行测试和 避免在测试运行时与应用程序交互。" />
$
        < / MESSAGES>

        < Observed_Values />

      < / TEST>

    < / REQUIREMENT>

    <REQUIREMENT NUMBER="17" TITLE="Launch time performance" RATIONALE="The application should have a fast and responsive launch experience while consuming a reasonable amount of system resources (CPU, File IO, Memory etc.) to enable fast switching and multitasking between previously unopened applications.">
      <TEST INDEX="43" NAME="Performance Launch" DESCRIPTION="Application should have a responsive launch time with reasonable CPU, File IO and Memory usage" EXECUTIONTIME="00h:07m:06s.80ms">
        <RESULT><![CDATA[FAIL]]></RESULT>
        <MESSAGES>
          <MESSAGE TEXT="Infrastructure Error: Failure occurred while processing application App.  Please consider re-running the test and avoid interacting with the application while tests are running." />
          <MESSAGE TEXT="Exception:  Infrastructure Error: Timeout occurred during testing 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." />
        </MESSAGES>
        <Observed_Values />
      </TEST>
    </REQUIREMENT>
    <REQUIREMENT NUMBER="18" TITLE="Suspend performance" RATIONALE="The application should have a fast and responsive suspend experience while consuming a reasonable amount of system resources (CPU, File IO, Memory etc.) and making sure that resources are released in a performant manner.">
      <TEST INDEX="44" NAME="Performance Suspend" DESCRIPTION="Application should have a responsive suspend with reasonable CPU and File IO usage" EXECUTIONTIME="00h:15m:02s.38ms">
        <RESULT><![CDATA[FAIL]]></RESULT>
        <MESSAGES>
          <MESSAGE TEXT="Infrastructure Error: Failure occurred while processing application App.  Please consider re-running the test and avoid interacting with the application while tests are running." />
          <MESSAGE TEXT="Exception:  Infrastructure Error: Timeout occurred during testing 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." />
        </MESSAGES>
        <Observed_Values />
      </TEST>
    </REQUIREMENT>

推荐答案

Hi Shane,

Hi Shane,

我需要检查您是否遇到了类似于将来在xperf.exe版本中修复的错误的问题。 您是否在%userprofile%\ AppData \ Local @\\Microsoft \ AppCertKit \LaunchData.etl中有一个文件? 如果是这样,你可以双击它上面的
在Windows性能分析器中打开它。 是开放还是有任何警告? 在你运行appcertkit的地方,机器有多少RAM?

I need to check if you are running into an issue that is similar to a bug that will be fixed in a future release of xperf.exe.  Do you have a file in %userprofile%\AppData\Local\Microsoft\AppCertKit\LaunchData.etl?  If so, can you double click on it to open it up in Windows Performance Analyzer.  Does it open fine or are there any warnings?  Also how much RAM does the machine have where you are running the appcertkit?

非常感谢,

mike


这篇关于App认证套件因“hello World”而失败应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆