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

Retry variable incorrectly scoped causes exceptions during long Teamcity scans #155

Open
AntGarSil opened this issue Jun 17, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@AntGarSil
Copy link

Description

Retries on authentication failures do not reset on succesful authentication.

Expected Behavior

The Teamcity plugin utilises Cx-Client-Common with a failure tolerance of 3 authentication errors.  This should reset after succesful authentication.

Actual Behavior

Failed authentication retries do not reset after succesfull authentication.  Tokens expire after an hour and are reset succesfully, however after 3 hours the retries become 0, and the plugin throws an exception.

Reproduction

Configure a scan using the Checkmarx Teamcity plugin that takes over 3 hours.  A null pointer exception will be triggered.

Environment Details

  • Teamcity Checkmarx plugin 2020.3.8
@AntGarSil AntGarSil added the bug Something isn't working label Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant