-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing test: Security Solution Cypress.x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/related_integrations/related_integrations·cy·ts - Related integrations related Integrations Advanced Setting is disabled rule details should display the integrations in the definition section should display the integrations in the definition section #173307
Comments
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
Pinging @elastic/security-solution (Team: SecuritySolution) |
@banderror Can you check the CODEOWNERS file as well to see why this ticket didn’t get tagged automatically? |
New failure: CI Build - main |
New failure: CI Build - main |
New failure: CI Build - main |
New failure: CI Build - main |
Skipped. main: 047f6cf |
Yep, will do @MindyRS 👍 |
@MindyRS @jpdjere Regarding CODEOWNERS: This is the flaky test file's path: We do have the whole Line 1343 in 37af741
To double-check that GitHub correctly identifies @elastic/security-detection-rule-management team as the code owner of this file, I changed this file and opened a test PR, where you can see that our team was automatically added as a mandatory reviewer based on CODEOWNERS: #173381 @oatkiller So this looks like a bug in the automation to me. It fails to identify owners of test files in some cases. I'd assume that some lines in CODEOWNERS can "break" it. For example, we have these lines which are 100% valid and correct in terms of the CODEOWNERS file syntax: Lines 1478 to 1479 in 99ab7a0
but these two lines are below this line: Line 1343 in 37af741
Could this be the reason? |
@banderror Yes, anything that matches lower in the file will take precedent. |
@banderror I did some debugging. I think the correct codeowner line is being referenced, but the script fails to parse the right team. The script thinks its owned by the rule starting with : "x-pack/test/security_solution_cypress/cypress/*" I'm fairly certain the error is in this file. @MadameSheema to debug this you need to create a personal github access token and then follow instructions in /triage directory in the same repo. |
@MindyRS @MadameSheema I opened a PR with a workaround #173527 for the Eng Prod team, please take a look. |
…lines in CODEOWNERS (#173527) ## Summary Context: #173307 (comment) Summary of the issue: the automation that assigns team labels to `failed-test` tickets sometimes doesn't assign a team label or can assign an incorrect label. This is because it scans the CODEOWNERS file from bottom to top instead of properly parsing it as GitHub does. This PR lifts some of the lines up, which should reduce the chance of the above issue happening again. But that's a temporary workaround.
A test failed on a tracked branch
First failure: CI Build - main
The text was updated successfully, but these errors were encountered: