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

slow dependency download causes travis deployment to fail #295

Open
stephen-soltesz opened this issue Mar 8, 2022 · 1 comment
Open
Labels
review/triage Team should review and assign priority

Comments

@stephen-soltesz
Copy link
Contributor

stephen-soltesz commented Mar 8, 2022

The annotation service includes a dependency on google.golang.org/api which must be downloaded twice with the current configuration (once for testing by travis, once for deployment by AppEngine). The total package size is currently around ~719MB (it seems to grow over time). The annotation service has failed four times during the deployment phase while downloading this package.

The mechanism provided by travis to work around slow operations travis_wait is not available during deployment steps.

A third-party package that solves this problem travis-wait-improved provides a tool with the same effect (prevent timeouts) and usable from deployment steps. https://github.com/cisagov/travis-wait-improved

But it does not work, failing with:

Traceback (most recent call last):
  File "/home/travis/.local/bin/travis-wait-improved", line 5, in <module>
    from travis_wait_improved.sherpa import main
  File "/home/travis/.local/lib/python2.7/site-packages/travis_wait_improved/sherpa.py", line 29
SyntaxError: Non-ASCII character '\xe2' in file /home/travis/.local/lib/python2.7/site-packages/travis_wait_improved/sherpa.py on line 29, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Script failed with status 1
@autolabel autolabel bot added the review/triage Team should review and assign priority label Mar 8, 2022
@stephen-soltesz
Copy link
Contributor Author

See this attempted PR: #294

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review/triage Team should review and assign priority
Projects
None yet
Development

No branches or pull requests

1 participant