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

Systest Failure: 'test_corrupt_download'. #76

Closed
tseaver opened this issue Jul 24, 2019 · 1 comment · Fixed by #87
Closed

Systest Failure: 'test_corrupt_download'. #76

tseaver opened this issue Jul 24, 2019 · 1 comment · Fixed by #87
Assignees
Labels
build type: process A process-related concern. May include testing, release, or the like.

Comments

@tseaver
Copy link
Contributor

tseaver commented Jul 24, 2019

____________________________ test_corrupt_download _____________________________
Traceback (most recent call last):
  File "/home/tseaver/projects/agendaless/Google/src/grmp/tests/system/requests/test_download.py", line 239, in test_corrupt_download
    assert exc_info.value.args == (msg,)
AssertionError: assert ('Checksum mi...jgQ4nGw==\n',) == ('Checksum mis...4qz/PZQ==\n',)
  At index 0 diff: 'Checksum mismatch while downloading:\n\n  https://www.googleapis.com/download/storage/v1/b/grpm-systest-1563999706247/o/file.txt?alt=media\n\nThe X-Goog-Hash header indicated an MD5 checksum of:\n\n  1B2M2Y8AsgTpgAmY7PhCfg==\n\nbut the actual MD5 checksum of the downloaded contents was:\n\n  XHSHAr/SpIeZtZbjgQ4nGw==\n' != 'Checksum mismatch while downloading:\n\n  https://www.googleapis.com/download/storage/v1/b/grpm-systest-1563999706247/o/file.txt?alt=media\n\nThe X-Goog-Hash header indicated an MD5 checksum of:\n\n  1B2M2Y8AsgTpgAmY7PhCfg==\n\nbut ...
  
  ...Full output truncated (2 lines hidden), use '-vv' to show
@tseaver tseaver added build type: process A process-related concern. May include testing, release, or the like. labels Jul 24, 2019
@tseaver
Copy link
Contributor Author

tseaver commented Jul 24, 2019

From #67 (comment):

The failure in test_corrupt_download occurs only for the gzipped file, which likely indicates that the test is exercising #50.

@tseaver tseaver self-assigned this Aug 15, 2019
tseaver added a commit that referenced this issue Aug 27, 2019
Don't expect 'Content-Length' header for chunked downloads.

Closes #37.
Closes #49.
Closes #50.
Closes #56.
Closes #76.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build type: process A process-related concern. May include testing, release, or the like.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant