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

Too many bytes error running the swiftly tests #128

Closed
cmcgee1024 opened this issue Jun 20, 2024 · 1 comment · Fixed by #129
Closed

Too many bytes error running the swiftly tests #128

cmcgee1024 opened this issue Jun 20, 2024 · 1 comment · Fixed by #129

Comments

@cmcgee1024
Copy link
Member

cmcgee1024 commented Jun 20, 2024

There is now an NIOTooManyBytesError() being thrown while running the xctests on Ubuntu Linux 22.04 on arm64.

Steps to reproduce:

  1. docker run -it -v $(pwd):/swiftly swift:5.10.1-jammy
  2. apt update && apt -y install gpg curl gcc make
  3. cd /swiftly
  4. ./scripts/install-libarchive.sh
  5. SWIFTLY_PLATFORM_NAME_PRETTY="Ubuntu 22.04" SWIFTLY_PLATFORM_NAME=ubuntu2204 SWIFTLY_PLATFORM_NAME_FULL=ubuntu22.04 swift test
@cmcgee1024
Copy link
Member Author

Providing a SWIFTLY_GITHUB_TOKEN from a generated personal access token appears to eliminate these errors, and 403's that come due to rate limiting. It seems that under load the GH API's will provide inaccurate content-lengths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant