Skip to content

org.keycloak.documentation.test.ExternalLinksTest fails with incorrect status code reported back in the results #28330

Closed

Description

@kami619

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

docs

Describe the bug

In the below run and other scheduled Docs runs

https://github.com/keycloak/keycloak/actions/runs/8507434651/job/23299272388

org.keycloak.documentation.test.ExternalLinksTest
Error:  checkExternalLinks{String}[2]  Time elapsed: 65.593 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: 
Broken links (7) in guide 'release_notes': 
		- https://github.com/nngo (invalid status code 429)
		- https://github.com/dasniko (invalid status code 429)
		- https://github.com/rhyamada (invalid status code 429)
		- https://github.com/jonkoops (invalid status code 429)
		- https://github.com/fredbi (invalid status code 429)
		- https://github.com/daniel-ac-martin (invalid status code 429)
		- https://github.com/fiji-flo (invalid status code 429)

Version

nightly

Regression

  • The issue is a regression

Expected behavior

The links listed by the test are returning a valid status code of 200

Actual behavior

The test fails complaining about the status code was invalid

How to Reproduce?

watch the Keycloak Docs CI for recent failures in the ExternalLinksTest

https://github.com/keycloak/keycloak/actions/workflows/documentation.yml

Anything else?

Running this on my local returns a status code of 200

> curl -kI https://github.com/nngo
HTTP/2 200
server: GitHub.com
date: Mon, 01 Apr 2024 15:22:55 GMT

Activity

  1. added
    kind/bug
    on Apr 1, 2024
  2. added
    area/docs
    on Apr 1, 2024
  3. ahus1 commented on Apr 2, 2024

    @ahus1
    Member

    The code 429 represents "Too Many Requests", which means we're hitting an API limit.

    Either we ignore this code, or we might be able to use an the GitHub token from the action get around the API limit.

  4. stianst commented on Apr 3, 2024

    @stianst
    Contributor
  5. added a commit that references this issue on Apr 5, 2024
    6a136a5
  6. added a commit that references this issue on Apr 5, 2024
    b9feaec
  7. added 2 commits that reference this issue on Apr 16, 2024
    8afc60a
  8. added 2 commits that reference this issue on May 6, 2024
    e1c1af0
    109f20e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/docskind/bugrelease/22.0.10release/25.0.0team/production-readiness

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions