runner icon indicating copy to clipboard operation
runner copied to clipboard

Log lines for an active step are inaccessible

Open etaormm opened this issue 4 years ago • 40 comments

Last issue got closed without resolution -> https://github.com/actions/runner/issues/886

Describe the bug When opening the "run" page for an active job you can see:

Gray checkmarks and expandable sections for completed steps and all of their log lines. Yellow loading animation on any active steps. Circles for the future steps. The log lines for the active steps will then start streaming in, but the prior lines for that step are not there, and there appears to be no way to see them until the step completes.

To Reproduce Steps to reproduce the behavior:

Run an action Visit the run page after a few seconds and try to find the log lines for the currently running step that occurred before you loaded the page.

Expected behavior All of the log lines that were emit before I loaded the page should be visible, then new ones stream in afterwards.

etaormm avatar Sep 19 '22 09:09 etaormm

Same issue. It's not possible to see the previous log output if no new logs are coming. We need the ability to see what is happening if to open Action run later and job/step is "stuck on something", but without streaming any new logs. Now it is impossible to troubleshoot what is happening. Moreover, cancelletion is not an option for some use cases just to get log outputs.

ViacheslavKudinov avatar Sep 28 '22 15:09 ViacheslavKudinov

@nikola-jokic I don't like to bump issues, but when can we assign this to Developer?

etaormm avatar Jan 11 '23 09:01 etaormm

It is pretty poor that the first issue (886) got closed without any explanation. This issue has been a pain for me for a while. Whenever I have a step that runs far longer than expected, I cannot look at the log to see where it has reached. I can't determine whether it's near the finish line or stuck somewhere near the beginning.

If developer inconvenience is insufficient cause to fix this, then another way to look at it is cost. If I know a step is stuck near the beginning from the log, I will probably stop it rather than letting it run in the hope it is near completion. Imagine this unnecessary processing across many errant steps in multiple Actions from many projects and the resources add up.

This really needs to be prioritised and fixed.

mcarans avatar Jan 12 '23 03:01 mcarans

image

I'm sure that a lot of developers are suffering due to this issue. is that technically impossible? if so, please say so, so that I don't need to mind this issue anymore

dongho-jung avatar Jan 12 '23 03:01 dongho-jung

Same issue. It's not possible to understand what is happening when open log and there is no new lines. Is it stuck? Is it doing something? If so, should I wait or cancel? It is really poor experience with this behaviour of showing logs.

ViacheslavKudinov avatar Jan 12 '23 06:01 ViacheslavKudinov

If somebody were to ask me what's my number 1 annoyance with GHA, I would point them to this issue. It would be amazing if this could get prioritised.

umm0n avatar Jan 12 '23 13:01 umm0n

+1

amravazzi avatar Jan 12 '23 13:01 amravazzi

Hey @etaormm, This is not runner issue, other team is currently working on this feature. As mentioned in closed ticket this repo is just for Runner bugs so I'll close this issue. You can address it on GitHub feedback forum

ruvceskistefan avatar Jan 13 '23 11:01 ruvceskistefan

Hey @ruvceskistefan,

Okey but, this was first raised back in 2020 (someone mentioned in old ticket that this feature is in backlog) - so, 2 years ago and this issue is still present.... it is indeed a major issue, just look at GitLab - they don't have such bug with log output.

Since you're saying that other team is working on this issue (feature), is there any possibility that we can escalate this? This should be a priority.

etaormm avatar Jan 13 '23 12:01 etaormm

While ago when we asked Enterprise support, they pointed us out to address this issue in actions/runner repo. GitLab is not the one example, I've never had this issue with Jenkins, Google Cloud build, Bamboo, DroneCI, GoCD... It is really frustrating to have it on GitHub when we heavily rely on the platform these days.

ViacheslavKudinov avatar Jan 13 '23 13:01 ViacheslavKudinov

Hey @etaormm, This is not runner issue, other team is currently working on this feature. As mentioned in closed ticket this repo is just for Runner bugs so I'll close this issue. You can address it on GitHub feedback forum

I would classify this as a bug since not displaying any output for a step that is long running is not what I would describe as normal behaviour.

I have raised it on the GitHub Feedback Forum here: https://github.com/community/community/discussions/44250

mcarans avatar Jan 13 '23 18:01 mcarans

@ruvceskistefan Fair point, that it's not a runner issue. But this issue (or https://github.com/actions/runner/issues/886) is what people like me find when trying to find a solution or the current status. So, where should we look instead?

axel-h avatar Apr 17 '23 00:04 axel-h

Please GitHub provide visibility into this issue. We are wasting so much time and energy canceling and rerunning logs, not to mention the total inability to have multiple teammates in a work-from-home scenario be able to jointly view logs from active jobs. None of us are asking for the moon here. Visibility please.

jaredsinclair avatar Apr 18 '23 22:04 jaredsinclair

Lol closed and no fix, embarrassing...

tking16 avatar May 19 '23 12:05 tking16

Still not fixed.

adamwojt avatar Jun 27 '23 15:06 adamwojt

This feature will soon be released. I suggest you follow issue #886 for updates.

umm0n avatar Jun 27 '23 15:06 umm0n

Hm, but #886 is closed. @umm0n Was it the correct issue to follow?

ViacheslavKudinov avatar Jun 27 '23 15:06 ViacheslavKudinov

@ViacheslavKudinov It's the only issue I've seen with regular dev updates on this, last one being May 31 2023.

umm0n avatar Jun 27 '23 16:06 umm0n

I'm running Packer in my GitHub Workflow (self-hosted runners) and the log never shows up. As everyone knows, if it is completed/failed, then it is available. But, it is not live. Please provide a fix soon.

meyuviofficial avatar Jun 28 '23 10:06 meyuviofficial

I have this bug too on a Github Workflow (self-hosted runners), running Cypress tests.

kakesinfo avatar Jul 12 '23 07:07 kakesinfo