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

Error: Only 65535 characters are allowed #214

Closed
MrGadget1024 opened this issue Jan 8, 2023 · 12 comments
Closed

Error: Only 65535 characters are allowed #214

MrGadget1024 opened this issue Jan 8, 2023 · 12 comments
Labels
bug Something isn't working

Comments

@MrGadget1024
Copy link

Still getting this error, not fixed by b9980d6

- name: Run editor Tests
  continue-on-error: true
  uses: game-ci/unity-test-runner@main
Processing file editmode-results.xml...
Trying to open artifacts/editmode-results.xml
File artifacts/editmode-results.xml parsed...
Start analyzing results: editmode-results.xml
⚠️ editmode-results.xml - 991/1003, skipped: 12 - Passed in 107.210s
=================
Analyze result:
⚠️ Test Results - 991/1003, skipped: 12 - Passed in 107.210s
Posting results for 953944bREDACTEDf5fc69cf8e7c906d266cef5ef
Error: Invalid request.

Only 65535 characters are allowed; 75929 were supplied.
@MrGadget1024 MrGadget1024 added the bug Something isn't working label Jan 8, 2023
@MrGadget1024
Copy link
Author

Any progress on this, or ideas?

@timcassell
Copy link
Contributor

I'm surprised #206 didn't fix it. You can work around it by using another test reporting tool (see comments in #142).

@MrGadget1024
Copy link
Author

MrGadget1024 commented Mar 1, 2023

I'm surprised #206 didn't fix it. You can work around it by using another test reporting tool (see comments in #142).

Are we talking about the same point of failure? The failure I'm getting is before the archive step...

image

The error is in the Run editor Tests step...

image

Archive and Publish are working fine

image

Files inside the zip archive

image

I don't know where the "75929 were supplied" comes from but it's clearly not these files.

@timcassell
Copy link
Contributor

Yes, that looks like the same error to me. I see you are using another test reporter. Remove githubToken: ${{ secrets.GITHUB_TOKEN }} to disable the built-in test reporter.

@MrGadget1024
Copy link
Author

Yes, that looks like the same error to me. I see you are using another test reporter. Remove githubToken: ${{ secrets.GITHUB_TOKEN }} to disable the built-in test reporter.

This got rid of the error but leaving this ticket open as the issue still exists. Will work on a nicer test reporter tomorrow.

@johanhelsing-attensi
Copy link

Also hitting this one. Let me know if there's anything I can do to help.

@webbertakken
Copy link
Member

I think some worked around this by parallelising tests to different jobs. This might not be a solution for everyone though.


One idea we've had is to group logs on a per test suite basis.

We could most likely achieve that by optionally writing the unity logs to a file instead of stdout, and then doing some regex to specify the delimiters.

davidmfinol added a commit that referenced this issue Jun 15, 2024
@davidmfinol davidmfinol mentioned this issue Jun 15, 2024
4 tasks
davidmfinol added a commit that referenced this issue Jun 15, 2024
@MrGadget1024
Copy link
Author

@davidmfinol Should this be closed now?

@davidmfinol
Copy link
Member

@MrGadget1024 can you confirm it works OK now if you use game-ci/unity-test-runner@main?

@MrGadget1024
Copy link
Author

@davidmfinol Someone else like @johanhelsing-attensi will have to check...My workflow has changed and I wouldn't be able to reproduce it now.

@migwellian
Copy link

Hello, I can confirm it is fixed - I had the same issue so I switched from game-ci/unity-test-runner@v4 to game-ci/unity-test-runner@main and it fixed the issue.

@davidmfinol
Copy link
Member

Fix released in v4.3.1

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

6 participants