-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Labels
Description
We have multiple repos using the v2 and v3 action versions. They are both using 1.82.5 and are consistently failing with:
Run echo "TAILSCALE_LATEST=$(curl -s "https://pkgs.tailscale.com/stable/?mode=json" | jq -r .Version)" \
echo "TAILSCALE_LATEST=$(curl -s "https://pkgs.tailscale.com/stable/?mode=json" | jq -r .Version)" \
>> "$GITHUB_OUTPUT"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
Run tailscale/github-action@v2
with:
oauth-client-id: ***
oauth-secret: ***
tags: <tags>
version: 1.82.5
Run if [ X64 = "ARM64" ]; then
if [ X64 = "ARM64" ]; then
TS_ARCH="arm64"
elif [ X64 = "ARM" ]; then
TS_ARCH="arm"
elif [ X64 = "X86" ]; then
TS_ARCH="386"
elif [ X64 = "X64" ]; then
TS_ARCH="amd64"
else
TS_ARCH="amd64"
fi
MINOR=$(echo "$VERSION" | awk -F '.' {'print $2'})
if [ $((MINOR % 2)) -eq 0 ]; then
URL="https://pkgs.tailscale.com/stable/tailscale_${VERSION}_${TS_ARCH}.tgz"
else
URL="https://pkgs.tailscale.com/unstable/tailscale_${VERSION}_${TS_ARCH}.tgz"
fi
if ! [[ "$SHA256SUM" ]] ; then
SHA256SUM="$(curl -H user-agent:tailscale-github-action -L "${URL}.sha256")"
fi
curl -H user-agent:tailscale-github-action -L "$URL" -o tailscale.tgz --max-time 300
echo "$SHA256SUM tailscale.tgz" | sha256sum -c
tar -C /tmp -xzf tailscale.tgz
rm tailscale.tgz
TSPATH=/tmp/tailscale_${VERSION}_${TS_ARCH}
sudo mv "${TSPATH}/tailscale" "${TSPATH}/tailscaled" /usr/bin
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
VERSION: 1.82.5
SHA256SUM:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 64 100 64 0 0 438 0 --:--:-- --:--:-- --:--:-- 441
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 81 100 81 0 0 615 0 --:--:-- --:--:-- --:--:-- 618
0 30.0M 0 8499 0 0 27476 0 0:19:06 --:--:-- 0:19:06 27476
100 30.0M 100 30.0M 0 0 37.2M 0 --:--:-- --:--:-- --:--:-- 60.4M
tailscale.tgz: OK
Run sudo -E tailscaled --state=mem: ${ADDITIONAL_DAEMON_ARGS} 2>~/tailscaled.log &
sudo -E tailscaled --state=mem: ${ADDITIONAL_DAEMON_ARGS} 2>~/tailscaled.log &
# And check that tailscaled came up. The CLI will block for a bit waiting
# for it. And --json will make it exit with status 0 even if we're logged
# out (as we will be). Without --json it returns an error if we're not up.
sudo -E tailscale status --json >/dev/null
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
ADDITIONAL_DAEMON_ARGS:
Run if [ -z "${HOSTNAME}" ]; then
if [ -z "${HOSTNAME}" ]; then
HOSTNAME="github-$(cat /etc/hostname)"
fi
if [ -n "***" ]; then
TAILSCALE_AUTHKEY="***?preauthorized=true&ephemeral=true"
TAGS_ARG="--advertise-tags=<tags>"
fi
timeout 5m sudo -E tailscale up ${TAGS_ARG} --authkey=${TAILSCALE_AUTHKEY} --hostname=${HOSTNAME} --accept-routes ${ADDITIONAL_ARGS}
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
TAILSCALE_AUTHKEY:
ADDITIONAL_ARGS:
HOSTNAME:
TS_EXPERIMENT_OAUTH_AUTHKEY: true
context canceled
Error: Process completed with exit code 124.
Our workflow files have this step:
- name: Activate TailScale
uses: tailscale/github-action@v3
with:
oauth-client-id: ${{ inputs.TS_OAUTH_ID }}
oauth-secret: ${{ inputs.TS_OAUTH_SECRET }}
tags: <tags>
version: latest
use-cache: true
Any thoughts on what could be going on?
kylefossum, PierrickV, restanrm, rblaine95, AntonAM and 11 more