我在 Ubuntu VM 上运行 Github Actions Self Hosted Runner:~$ cat /etc/os-releaseNAME=\'Ubuntu\'VERSION=\'20.04.6 LTS (Focal Fossa)\'ID=ubuntuID_LIKE=debianPRETTY_NAME=\'
我在 Ubuntu VM 上运行 Github Actions Self Hosted Runner:
~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
我正在运行 Actions Runner 版本 2.317.0
内容 如下:
我正在使用 GitHub Actions:
jobs:
my-job:
runs-on: [my-ubuntu]
timeout-minutes: 120
container:
image: my-image-path:latest
credentials:
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
steps:
- name: Checkout Source Code
uses: actions/[email protected]
但是当作业执行时,我 在作业日志中 错误
/usr/bin/docker exec XXXX sh -c "cat /etc/*release | grep ^ID"
/__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node)
在 Ubuntu VM 上,我已经安装了节点,并且它正在按预期运行;不确定为什么运行器抱怨无法运行 node 20
# Self-Hosted Runner Ubuntu 20.04
$ node -v
v20.15.0
附加信息:
$ ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.16) 2.31
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
目前,为了避免 CI 的停机,我正在运行如下脚本:
bash -c 'ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true run.sh' > nohup.out 2>&1 &
## and github actions
steps:
- name: Checkout Source Code
uses: actions/checkout@v3
应用程序无法启动。它在“在设备上启动”状态停留了很长时间(似乎没有停止)。有时它不是卡住而是给出错误“设备‘DEVICEID’未...
应用程序无法启动。它在“在设备上启动”状态停留了很长时间(似乎没有停止)。
有时它不会卡住,而是给出错误
'device 'DEVICEID' not found' error on device serial #DEVICEID executing service 'host-serial:DEVICEID:features'
一段时间后。
另外,请求设备权限的对话框有时仅在错误发生后才会出现(但并非总是如此)。
应用程序未启动。
该日志可能与长时间启动有关(它检测到了这一点)。
2024-07-16 19:14:11,930 [ 97057] WARN - #com.android.ddmlib - TimeoutException getting properties for device RZCTB0V5AWP
java.lang.Throwable: TimeoutException getting properties for device DEVICEID
at com.android.ddmlib.PropertyFetcher.handleException(PropertyFetcher.java:259)
at com.android.ddmlib.PropertyFetcher.access$600(PropertyFetcher.java:31)
at com.android.ddmlib.PropertyFetcher$1.run(PropertyFetcher.java:213)
Caused by: com.android.ddmlib.TimeoutException
at com.android.ddmlib.AdbHelper.read(AdbHelper.java:882)
at com.android.ddmlib.AdbHelper.readAdbResponse(AdbHelper.java:351)
at com.android.ddmlib.internal.DeviceImpl.lambda$executeRemoteCommand$18(DeviceImpl.java:795)
at com.android.ddmlib.internal.DeviceImpl.logRun1(DeviceImpl.java:1801)
at com.android.ddmlib.internal.DeviceImpl.executeRemoteCommand(DeviceImpl.java:755)
at com.android.ddmlib.internal.DeviceImpl.lambda$executeRemoteCommand$15(DeviceImpl.java:618)
at com.android.ddmlib.internal.DeviceImpl.logRun1(DeviceImpl.java:1801)
at com.android.ddmlib.internal.DeviceImpl.executeRemoteCommand(DeviceImpl.java:615)
at com.android.ddmlib.internal.DeviceImpl.lambda$executeShellCommand$13(DeviceImpl.java:557)
at com.android.ddmlib.internal.DeviceImpl.logRun1(DeviceImpl.java:1801)
at com.android.ddmlib.internal.DeviceImpl.executeShellCommand(DeviceImpl.java:554)
at com.android.ddmlib.PropertyFetcher$1.run(PropertyFetcher.java:209)
我试图解决其他问题,但现在它甚至无法启动。之前它正在不同的提交上工作,但现在甚至不知道那里。
adb devices
显示 id 为
主机的操作系统是 Ubuntu 24.04。手机运行的是 Android 14(One UI 6.1)。