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

Massive log output after v2.8.4 #343

Closed
efeubiqube opened this issue Apr 2, 2021 · 8 comments
Closed

Massive log output after v2.8.4 #343

efeubiqube opened this issue Apr 2, 2021 · 8 comments

Comments

@efeubiqube
Copy link

After upgrading from v2.8.4. I am getting a massive logs on all runs which seems to be cause by how the cache is uncompressed.

on v2.8.4


134 Received 729076687 of 729076687 (100.0%), 9.3 MBs/sec
135 Cache Size: ~695 MB (729076687 B)
136 /bin/tar -z -xf /home/runner/actions-runner/_work/_temp/c8b5a04f-39dc-4ec3-a291-359198871c8d/cache.tgz -P -C /home/runner/actions-runner/_work/my_project/my_project
137 ##[debug]npm cache hit yarn-linux-x64-
.....

2.9.0+


71 Received 34643528 of 34643528 (100.0%), 3.3 MBs/sec
72 /bin/tar -z -tf /home/runner/actions-runner/_work/_temp/c18677f0-4588-4bdd-a00a-445a5a0f987c/cache.tgz -P
73 ../../../../.cache/yarn/
74 ../../../../.cache/yarn/v6/

I don't understand why this -C ... part got remove or why this is happening now.

@bahmutov
Copy link
Contributor

bahmutov commented Apr 2, 2021

You mean the logs of every file downloaded and unzipped by the cache action?

@efeubiqube
Copy link
Author

You mean the logs of every file downloaded and unzipped by the cache action?

Something like that. Log gets so big that it affects the job itself. It makes very complicated to follow along the job watch the logs.

the only difference I see is the -C... part that seems to prevent that massive verbose.

@bahmutov
Copy link
Contributor

bahmutov commented Apr 2, 2021

Do you have the debugging on? https://github.com/cypress-io/github-action#debugging

Because that's what causing the massive logs from actions/cache I noticed actions/cache#560

@efeubiqube
Copy link
Author

efeubiqube commented Apr 2, 2021

No DEBUG was enable. Only thing that changed was the cypress-io/github-action from 2.8.4 to 2.9.7.

Btw, I had fixed to 2.8.4 when @v2 upgrade to. 2.9.0 because of this.

@bahmutov
Copy link
Contributor

bahmutov commented Apr 2, 2021

Weird. Can you figure out which commit or dependency version bump is causing the problem?

@efeubiqube
Copy link
Author

efeubiqube commented Apr 2, 2021

Weird. Can you figure out which commit or dependency version bump is causing the problem?

I see a huge refactor on the index.js. The line seems be dist/index.js@46200, but it seems to be only removing the ^M character.

I see that the -C is there, but for some reason it's not happening on v2.9+

@dhadka
Copy link

dhadka commented Apr 12, 2021

Looks like actions/toolkit#650 introduced this issue as it started printing the contents if debugging output is enabled.

@efeubiqube Can you please double-check that the ACTIONS_STEP_DEBUG secret is not set on the affected repo?

@efeubiqube
Copy link
Author

@dhadka yes, ACTIONS_STEP_DEBUG secret was set. I missed that this variable was on secret, I was only looking at the yml file. My bad.

I have removed that and it's working. Thanks

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

No branches or pull requests

3 participants