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

forced termination of actions #99

Open
gergimentr opened this issue Nov 6, 2021 · 8 comments
Open

forced termination of actions #99

gergimentr opened this issue Nov 6, 2021 · 8 comments
Labels

Comments

@gergimentr
Copy link

Good afternoon.
why does your action work no more than 45 minutes, then breaks?
even if you are using a timeout.

@jessehui
Copy link

Forced termination here too. About 1 hour. Previously, it can run for 6 hours.

@phil-blain
Copy link

Same thing here, last time I used it I had the full 6 hours, now after about 45-60 minutes it stops.

@dscho
Copy link
Collaborator

dscho commented Feb 13, 2022

The most likely reason is that there are issues on tmate.io's side. That's unfortunately outside our control.

@gergimentr
Copy link
Author

sorry, dropped out of the discussion.
interesting speculation about current issues on the tmate side, this does happen sometimes.
However, I'm interested in the hourly shutdown of the action side from the github.
tmate started up, works without problems and stops working after an hour of actions.
what's with the tmate?

@1-1-2
Copy link

1-1-2 commented Jul 15, 2022

I've got the logs below

2022-07-15T07:17:25.9139944Z Created new session successfully
2022-07-15T07:17:26.6543414Z Entering main loop
...
2022-07-15T08:18:45.2955883Z ##[error]The runner has received a shutdown signal. This can happen when the runner service is stopped, or a manually started runner is canceled.
2022-07-15T08:18:45.3576461Z Cleaning up orphan processes

By any chance, there is a limitation to use tmate in actions?

1-1-2 added a commit to 1-1-2/OpenWrt-Custom that referenced this issue Jul 15, 2022
1. wrtbwmon 只在 lede 中有,从 both 移动到 lean's lede 序列。
2. luci-app-easymesh 依赖 mesh-wolfssl,与默认勾选的 basic-wolfssl 冲突,在序列中指定。
3. kenzok8 中没有 luci-app-gost
4. banip 已被标记为 broken openwrt/luci@8837f76
5. luci-app-unblockneteasemusic 依赖 node,node 依赖 fpu。换用 maxlicheng/luci-app-unblockmusic。
6. luci-app-dockerman 上游有架构限制,lean's lede 去掉了,我也试一下。
P.S. 据研究,github可能对 tmate 有限制,一个小时会关机 mxschmitt/action-tmate#99 (comment)
1-1-2 added a commit to 1-1-2/OpenWrt-Custom that referenced this issue Jul 18, 2022
1. wrtbwmon 只在 lede 中有,从 both 移动到 lean's lede 序列。
2. luci-app-easymesh 依赖 mesh-wolfssl,与默认勾选的 basic-wolfssl 冲突,在序列中指定。
3. kenzok8 中没有 luci-app-gost
4. banip 已被标记为 broken openwrt/luci@8837f76
5. luci-app-unblockneteasemusic 依赖 node,node 依赖 fpu。换用 maxlicheng/luci-app-unblockmusic。
6. luci-app-dockerman 上游有架构限制,lean's lede 去掉了,我也试一下。
P.S. 据研究,github可能对 tmate 有限制,一个小时会关机 mxschmitt/action-tmate#99 (comment)
@fawazahmed0
Copy link

fawazahmed0 commented Jan 27, 2023

I installed webssh in GitHub CI and then exposed it to web using cloudflare tunnel (free and reliable alternative to ngrok).
Here is the code(cloudflare link will be printed in logs):

wget -O cloudflared https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64
chmod 777 cloudflared
pip install webssh
wssh &
./cloudflared tunnel --url http://localhost:8888 &
echo "Username@hostname" $(whoami)@$(hostname)

After you have connected through webssh browser terminal, execute the below line, to avoid disconnection

while true; do echo ''; sleep 60; done &

Update: action-upterm doesn't have termination issue, it uses upterm instead of tmate

1-1-2 added a commit to 1-1-2/OpenWrt-Custom that referenced this issue Aug 15, 2023
1. wrtbwmon 只在 lede 中有,从 both 移动到 lean's lede 序列。
2. luci-app-easymesh 依赖 mesh-wolfssl,与默认勾选的 basic-wolfssl 冲突,在序列中指定。
3. kenzok8 中没有 luci-app-gost
4. banip 已被标记为 broken openwrt/luci@8837f76
5. luci-app-unblockneteasemusic 依赖 node,node 依赖 fpu。换用 maxlicheng/luci-app-unblockmusic。
6. luci-app-dockerman 上游有架构限制,lean's lede 去掉了,我也试一下。
P.S. 据研究,github可能对 tmate 有限制,一个小时会关机 mxschmitt/action-tmate#99 (comment)
@fawazahmed0
Copy link

Hi everyone, I have made a new Github action package for debugging.
It doesn't have forced termination issue.
Here is the link:
https://github.com/fawazahmed0/action-debug

@M-Kepler
Copy link

Hi everyone, I have made a new Github action package for debugging. It doesn't have forced termination issue. Here is the link: https://github.com/fawazahmed0/action-debug

Nice, thank you

and up-term will disconnect too!

image

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

No branches or pull requests

8 participants