You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/21 07:22:03 UTC

[GitHub] [pulsar] RobertIndie opened a new issue, #16156: Flaky-test: AuthPluginTest.testOauth2

RobertIndie opened a new issue, #16156:
URL: https://github.com/apache/pulsar/issues/16156

   <!--- 
   
   Instructions for reporting a flaky test using this issue template:
   
   1. Replace test_class in title and body with the short test class name WITHOUT the package name.
   2. Replace test_method in title and body with the test method that failed. Multiple methods are flaky, remove the content that refers to the test method.
   3. Replace "url here" with a url to an example failure. In the Github Actions workflow run logs, you can right click on the line number to copy a link to the line. Example of such url is https://github.com/apache/pulsar/pull/8892/checks?check_run_id=1531075794#step:9:377 . The logs are available for a limited amount of time (usually for a few weeks).
   4. Replace "relevant parts of the exception stacktrace here" with the a few lines of the stack trace that shows at least the exception message and the line of test code where the stacktrace occurred.
   5. Replace "full exception stacktrace here" with the full exception stacktrace from logs. This section will be hidden by default.
   6. Remove all unused fields / content to unclutter the reported issue. Remove this comment too.
   
   -->
   AuthPluginTest.testOauth2 is flaky. It fails sporadically.
   
   [example failure](https://github.com/apache/pulsar/runs/6979360746?check_suite_focus=true#step:11:75)
   
   ```
   [ RUN      ] AuthPluginTest.testOauth2
   2022-06-21 07:11:36.864 INFO  [1399[61](https://github.com/apache/pulsar/runs/6979360746?check_suite_focus=true#step:11:62)864007360] AuthPluginTest:352 | PARAMS: {
           "type": "client_credentials",
           "issuer_url": "https://dev-kt-aa9ne.us.auth0.com/",
           "client_id": "Xd23RHsUnvUlP7wchjNYOaIfazgeHd9x",
           "client_secret": "rT7ps7WY8uhdVuBTKWZkttwLdQotmdEliaM5rLfmgNibvqziZ-g07ZH52N_poGAb",
           "audience": "https://dev-kt-aa9ne.us.auth0.com/api/v2/"}
   2022-06-21 07:12:08.582 ERROR [1399618[64](https://github.com/apache/pulsar/runs/6979360746?check_suite_focus=true#step:11:65)007360] AuthOauth2:352 | Response failed for issuerurl https://dev-kt-aa9ne.us.auth0.com./ response Code 500 passedin: audience=https%3A%2F%2Fdev-kt-aa9ne.us.auth0.com%2Fapi%2Fv2%2F&client_id=Xd23RHsUnvUlP7wchjNYOaIfazgeHd9x&client_secret=rT7ps7WY8uhdVuBTKWZkttwLdQotmdEliaM5rLfmgNibvqziZ-g07ZH52N_poGAb&grant_type=client_credentials
   /pulsar/pulsar-client-cpp/tests/AuthPluginTest.cc:356: Failure
   Expected equality of these values:
     auth->getAuthData(data)
       Which is: AuthenticationError
     pulsar::ResultOk
       Which is: Ok
   [  FAILED  ] AuthPluginTest.testOauth2 (31[71](https://github.com/apache/pulsar/runs/6979360746?check_suite_focus=true#step:11:72)9 ms)
   ```
   
   <!-- optionally provide the full stacktrace ->
   <details>
   <summary>Full exception stacktrace</summary>
   <code><pre>
   full exception stacktrace here
   </pre></code>
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #16156: Flaky-test: AuthPluginTest.testOauth2

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16156:
URL: https://github.com/apache/pulsar/issues/16156#issuecomment-1192108625

   The issue had no activity for 30 days, mark with Stale label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] tisonkun closed issue #16156: Flaky-test: AuthPluginTest.testOauth2

Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun closed issue #16156: Flaky-test: AuthPluginTest.testOauth2
URL: https://github.com/apache/pulsar/issues/16156


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] tisonkun commented on issue #16156: Flaky-test: AuthPluginTest.testOauth2

Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on issue #16156:
URL: https://github.com/apache/pulsar/issues/16156#issuecomment-1519318565

   Closed as stale.
   
   Please open a new issue if it comes back.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org