フィルター処理は、定義済みのフィルター条件に一致し、「失敗」タスクの結果の状態を「合格」にオーバーライドする、失敗したタスクの結果の後処理です。 その後、さまざまなターゲットの認定のためにパッケージを送信できます。
フィルターは、一連のタスク結果を減らすために使用できる、一連の制約を表します。 タスクの結果が失敗すると、選択したフィルター内のログ ノードがタスクの結果ログと照合されます。 タスク結果の失敗/合格回数は、ログでフィルター処理されるテスト ケースの数に基づいて調整されます。
フィルターは、そのフィルター番号とバージョンによって一意に識別されます。 フィルターの状態と有効期限は、フィルターがアクティブか期限切れかを示します。 タイトルには、フィルターに関する簡単な説明が表示されます。 問題の説明と解決方法は、問題とその解決方法の詳細を示します。
フィルターの種類は次のとおりです。
Errata。テスト コンテンツ、オペレーティング システム、または Windows Hardware Lab Kit (Windows HLK) インフラストラクチャのバグが原因のテスト エラーを処理します。
特定のハードウェア障害に対して例外を許可するコンティジェンシー。
エラーの原因をトラブルシューティングするための自動トリアージ。 正誤表フィルターやコンティジェンシー フィルターとは異なり、自動トリアージ フィルターでは、タスクの結果は失敗から成功へと変更されることはありません。
フィルターの適用
タスクの結果が失敗したプロジェクトにフィルターを適用できます。 フィルターを適用する前に、Windows Quality Online Services (Winqual) の最新のフィルターでコントローラーを更新してください。 失敗したタスクの結果に対してコントローラーに一致するフィルターがある場合は、タスクの結果がフィルター処理されます。 ただし、タスクの結果は部分的にフィルター処理できます (つまり、フィルター処理されたエラーの数は、タスクの結果の失敗の総数よりも少ない)。
string projectName = "existing project";
string controllerName = args[0];
// first, connect to the server
ProjectManager manager = new DatabaseProjectManager(controllerName);
// load the project that has failing task results
Project project = manager.GetProject(projectName);
// instantiate the filter engine for the database project manager
DatabaseFilterEngine filterEngine = new DatabaseFilterEngine(manager);
// apply filters to the project; will try to find matching filters for
// the failing task results in the project
// it's a synchronous (or blocking) call, and depending on the size of
// the log files and the number of task results to be filtered in the
// project, the Filter method might take a while
filterEngine.Filter(project);
// retrieve the filters that were applied to the project
ReadOnlyCollection<IFilter> appliedFilters = project.GetAppliedFilters();
Console.Out.WriteLine("{0} filters were applied for project {1}",
appliedFilters.Count, projectName);
最新のフィルターのダウンロード
次の場所から最新のフィルターをダウンロードできます。