Skip to content
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

[BUG] cypress-test workflow failing on main #1779

Closed
derek-ho opened this issue Feb 12, 2024 · 2 comments · Fixed by #1780
Closed

[BUG] cypress-test workflow failing on main #1779

derek-ho opened this issue Feb 12, 2024 · 2 comments · Fixed by #1780
Labels
bug Something isn't working triaged

Comments

@derek-ho
Copy link
Collaborator

What is the bug?
Cypress-test workflow started failing on main. This needs to be looked into/resolved. It doesn't seem to affect 2.x line, so there may have been some change upstream on OSD or FTR.

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

What is the expected behavior?
A clear and concise description of what you expected to happen.

What is your host/environment?

  • OS: [e.g. iOS]
  • Version [e.g. 22]
  • Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Do you have any additional context?
Add any other context about the problem.

@derek-ho derek-ho added bug Something isn't working untriaged labels Feb 12, 2024
@stephen-crawford
Copy link
Contributor

[Triage] Hi @derek-ho, thank you for filing this issue. Since this is about a failing workflow we can close this issue once the workflow is fixed. Reproduction steps would then be to make a change to trigger the workflow and review the logs.

@derek-ho
Copy link
Collaborator Author

Doing what the github runner is doing under the hood succeeds:

runner@fv-az1391-58:~/work/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/opensearch-dashboards-functional-test$ curl -XPOST http://localhost:5601/api/saved_objects/index-pattern/index-pattern1 -H "osd-xsrf: true" -H "Content-Type: application/json" -d '{"attributes": {"title": "s*", "timeFieldName": "timestamp"}, "references": []}' -u "admin:testPassword123_"
{"statusCode":401,"error":"Unauthorized","message":"Authentication Exception"}runner@fv-az1391-58:~/work/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/opensearch-dashboards-functional-test$ curl -XPOST http://localhost:5601/api/saved_objects/index-pattern/index-pattern1 -H "osd-xsrf: true" -H "Content-Type: application/json" -d '{"attributes": {"title": "s*", "timeFieldName": "timestamp"}, "references": []}' -u "admin:myStrongPassword123!"
{"type":"index-pattern","id":"index-pattern1","attributes":{"title":"s*","timeFieldName":"timestamp"},"references":[],"migrationVersion":{"index-pattern":"7.6.0"},"updated_at":"2024-02-12T21:45:29.096Z","version":"WzAsMV0=","namespaces":[["__user__admin"]]}```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged
Projects
None yet
2 participants