Skip to main content

e2e-analyze

Analyze test errors

来源信息

仓库
openshift/hypershift
最近来源活动
2026年8月12日 13:51
检测到的 SKILL.md 语言
英语
星标
548
Forks
586

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
e2e-analyze
description
Analyze test errors
# General instructions - Validate that "$3" is an existing directory; fail if it is not. Do NOT create the directory. - Extract {BUILD_NUMBER} from "$1" by matching a 10–20 digit sequence; fail if none is found. - Use the extracted number as {BUILD_NUMBER}. - Use curl to download the file build-log.txt under "$1". Only allow HTTPS URLs (reject HTTP). - When fetching, use: `curl -fsSL --max-time 20 --retry 3 --retry-connrefused --proto '=https' --max-filesize 100M "${1}/build-log.txt"`. - The build-log.txt file contains e2e failures, store the artifacts related to failure "$2" under directory specified by "$3" to determine a possible root cause for the failure. - Use the "gcloud storage" command to fetch given artifacts under "$3" and make sure to use {BUILD_NUMBER} in URLs. - Provide evidence for the failure. - Try to find additional evidence. For example, in logs and events. - Do not delete downloaded artifacts during the cleanup phase. # Output format - The output should be formatted as: ```text Error: {Error message here} Summary: {Failure analysis here} Evidence: {Evidence here} Additional evidence: {Additional evidence here} ```
在 GitHub 查看