Runs
Release#8
- Event
- workflow_dispatch
- Branch
- cross-platform
- Commit
- c0a2f58
- Started
- Duration
- 3:51
Synced from GitHub
Linux packages
Took 0:26Annotations
- warning:
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
- failure:
Process completed with exit code 1.
- notice:
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
Steps
- 1Set up job, Success0:01
- 2Run actions/checkout@v4, Success0:01
- 3Run actions/setup-node@v4, Success0:01
- 4Install X11 tools, Success0:09
- 5Install dependencies, Success0:06
- 6Run the tracker tests, Success0:00
- 7Smoke-check the X11 reader, Failure0:06
- 8Stamp the version, Skipped0:00
- 9Build the packages, Skipped0:00
- 10Upload the build, Skipped0:00
- 19Post Run actions/setup-node@v4, Skipped0:00
- 20Post Run actions/checkout@v4, Success0:00
- 21Complete job, Success0:01
Whole log, 27 KB
Current runner version: '2.338.0'
▸ Runner Image Provisioner
Hosted Compute Agent
Version: 20261021.618
Commit: 21505ad2541d5be6135ed84fc33697146cf75b8e
Build Date: 2026-10-21T00:45:21Z
Worker ID: {09629e88-4233-40c9-bc7d-a8ae230f0b98}
Region: northcentralus
Cloud: Azure
▸ Operating System
Ubuntu
26.04.1
LTS
▸ Runner Image
Image: ubuntu-26.04
Version: 20261025.179.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu26/20261025.179/images/ubuntu/Ubuntu2604-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu26%2F20261025.179
▸ GITHUB_TOKEN Permissions
Contents: write
Metadata: read
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v4' (SHA:11d5960a326750d5838078e36cf38b85af677262)
Download action repository 'actions/setup-node@v4' (SHA:49933ea5288caeca8642d1e84afbd3f7d6820020)
Download action repository 'actions/upload-artifact@v4' (SHA:ea165f8d65b6e75b540449e92b4886f43607fa02)
Complete job name: Linux packages
▸ Run actions/checkout@v4
with:
repository: screen-gd/screen-time
token: ***
ssh-strict: true
ssh-user: git
persist-credentials: true
clean: true
sparse-checkout-cone-mode: true
fetch-depth: 1
fetch-tags: false
show-progress: true
lfs: false
submodules: false
set-safe-directory: true
allow-unsafe-pr-checkout: false
Syncing repository: screen-gd/screen-time
▸ Getting Git version info
Working directory is '/home/runner/work/screen-time/screen-time'
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/85e0c074-49d9-4c60-a982-781abc21f533' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/screen-time/screen-time
Deleting the contents of '/home/runner/work/screen-time/screen-time'
▸ Initializing the repository
[command]/usr/bin/git init /home/runner/work/screen-time/screen-time
hint: Using 'master' as the name for the initial branch. This default branch name
hint: will change to "main" in Git 3.0. To configure the initial branch name
hint: to use in all of your new repositories, which will suppress this warning,
hint: call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
hint:
hint: Disable this message with "git config set advice.defaultBranchName false"
Initialized empty Git repository in /home/runner/work/screen-time/screen-time/.git/
[command]/usr/bin/git remote add origin https://github.com/screen-gd/screen-time
▸ Disabling automatic garbage collection
[command]/usr/bin/git config --local gc.auto 0
▸ Setting up auth
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
[command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
▸ Fetching the repository
[command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +c0a2f58e0f7e263aad052c4efabe8d019c741adc:refs/remotes/origin/cross-platform
From https://github.com/screen-gd/screen-time
* [new ref] c0a2f58e0f7e263aad052c4efabe8d019c741adc -> origin/cross-platform
▸ Determining the checkout info
[command]/usr/bin/git sparse-checkout disable
[command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
▸ Checking out the ref
[command]/usr/bin/git checkout --progress --force -B cross-platform refs/remotes/origin/cross-platform
Switched to a new branch 'cross-platform'
branch 'cross-platform' set up to track 'origin/cross-platform'.
[command]/usr/bin/git log -1 --format=%H
c0a2f58e0f7e263aad052c4efabe8d019c741adc
▸ Run actions/setup-node@v4
with:
node-version: 22
cache: npm
always-auth: false
check-latest: false
token: ***
Found in cache @ /opt/hostedtoolcache/node/22.23.4/x64
(node:2371) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
▸ Environment details
(Use `node --trace-deprecation ...` to show where the warning was created)
node: v22.23.4
npm: 10.9.9
yarn: 1.22.22
[command]/opt/hostedtoolcache/node/22.23.4/x64/bin/npm config get cache
/home/runner/.npm
npm cache is not found
▸ Run sudo apt-get update && sudo apt-get install -y xvfb xterm x11-utils xdotool
sudo apt-get update && sudo apt-get install -y xvfb xterm x11-utils xdotool
shell: /usr/bin/bash -e {0}
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [144 B]
Get:6 https://packages.microsoft.com/ubuntu/26.04/prod resolute InRelease [3964 B]
Hit:2 http://azure.archive.ubuntu.com/ubuntu resolute InRelease
Get:3 http://azure.archive.ubuntu.com/ubuntu resolute-updates InRelease [137 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu resolute-backports InRelease [137 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu resolute-security InRelease [137 kB]
Get:7 https://packages.microsoft.com/ubuntu/26.04/prod resolute/main amd64 Packages [126 kB]
Get:8 https://packages.microsoft.com/ubuntu/26.04/prod resolute/main arm64 Packages [115 kB]
Get:9 http://azure.archive.ubuntu.com/ubuntu resolute-updates/main amd64v3 Packages [794 kB]
Get:10 http://azure.archive.ubuntu.com/ubuntu resolute-updates/main Translation-en [183 kB]
Get:11 http://azure.archive.ubuntu.com/ubuntu resolute-updates/universe amd64v3 Packages [335 kB]
Get:12 http://azure.archive.ubuntu.com/ubuntu resolute-updates/universe Translation-en [111 kB]
Get:13 http://azure.archive.ubuntu.com/ubuntu resolute-updates/restricted amd64v3 Packages [543 kB]
Get:14 http://azure.archive.ubuntu.com/ubuntu resolute-updates/restricted Translation-en [112 kB]
Get:15 http://azure.archive.ubuntu.com/ubuntu resolute-security/main amd64v3 Packages [608 kB]
Get:16 http://azure.archive.ubuntu.com/ubuntu resolute-security/main Translation-en [141 kB]
Get:17 http://azure.archive.ubuntu.com/ubuntu resolute-security/universe amd64v3 Packages [206 kB]
Get:18 http://azure.archive.ubuntu.com/ubuntu resolute-security/universe Translation-en [67.9 kB]
Fetched 3756 kB in 0s (10.6 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
xvfb is already the newest version (2:21.1.22-1ubuntu1.3).
Solving dependencies...
The following additional packages will be installed:
libutempter0 libxcb-shape0 libxdo3 libxv1 libxxf86dga1 luit xbitmaps
Suggested packages:
mesa-utils xfonts-cyrillic
The following NEW packages will be installed:
libutempter0 libxcb-shape0 libxdo3 libxv1 libxxf86dga1 luit x11-utils
xbitmaps xdotool xterm
0 upgraded, 10 newly installed, 0 to remove and 15 not upgraded.
Need to get 1289 kB of archives.
After this operation, 4085 kB of additional disk space will be used.
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [144 B]
Get:2 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 libutempter0 amd64 1.2.1-4build1 [9768 B]
Get:3 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 libxcb-shape0 amd64 1.17.0-2ubuntu1 [6196 B]
Get:4 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 libxv1 amd64 2:1.0.13-1 [11.0 kB]
Get:5 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 libxxf86dga1 amd64 2:1.1.5-1build2 [12.0 kB]
Get:6 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 luit amd64 2.0.20250912-1 [41.8 kB]
Get:7 http://azure.archive.ubuntu.com/ubuntu resolute/main amd64v3 x11-utils amd64 7.7+7build1 [192 kB]
Get:8 http://azure.archive.ubuntu.com/ubuntu resolute/universe amd64v3 xbitmaps all 1.1.1-2.2build1 [22.3 kB]
Get:9 http://azure.archive.ubuntu.com/ubuntu resolute/universe amd64v3 xterm amd64 407-1ubuntu1 [928 kB]
Get:10 http://azure.archive.ubuntu.com/ubuntu resolute/universe amd64v3 libxdo3 amd64 1:3.20160805.1-5.1build1 [22.6 kB]
Get:11 http://azure.archive.ubuntu.com/ubuntu resolute/universe amd64v3 xdotool amd64 1:3.20160805.1-5.1build1 [43.1 kB]
Fetched 1289 kB in 0s (4240 kB/s)
Selecting previously unselected package libutempter0:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 212715 files and directories currently installed.)
Preparing to unpack .../0-libutempter0_1.2.1-4build1_amd64v3.deb ...
Unpacking libutempter0:amd64 (1.2.1-4build1) ...
Selecting previously unselected package libxcb-shape0:amd64.
Preparing to unpack .../1-libxcb-shape0_1.17.0-2ubuntu1_amd64v3.deb ...
Unpacking libxcb-shape0:amd64 (1.17.0-2ubuntu1) ...
Selecting previously unselected package libxv1:amd64.
Preparing to unpack .../2-libxv1_2%3a1.0.13-1_amd64v3.deb ...
Unpacking libxv1:amd64 (2:1.0.13-1) ...
Selecting previously unselected package libxxf86dga1:amd64.
Preparing to unpack .../3-libxxf86dga1_2%3a1.1.5-1build2_amd64v3.deb ...
Unpacking libxxf86dga1:amd64 (2:1.1.5-1build2) ...
Selecting previously unselected package luit.
Preparing to unpack .../4-luit_2.0.20250912-1_amd64v3.deb ...
Adding 'diversion of /usr/bin/luit to /usr/bin/luit.x11-utils by luit'
Adding 'diversion of /usr/share/man/man1/luit.1.gz to /usr/share/man/man1/luit.x11-utils.1.gz by luit'
Unpacking luit (2.0.20250912-1) ...
Selecting previously unselected package x11-utils.
Preparing to unpack .../5-x11-utils_7.7+7build1_amd64v3.deb ...
Unpacking x11-utils (7.7+7build1) ...
Selecting previously unselected package xbitmaps.
Preparing to unpack .../6-xbitmaps_1.1.1-2.2build1_all.deb ...
Unpacking xbitmaps (1.1.1-2.2build1) ...
Selecting previously unselected package xterm.
Preparing to unpack .../7-xterm_407-1ubuntu1_amd64v3.deb ...
Unpacking xterm (407-1ubuntu1) ...
Selecting previously unselected package libxdo3:amd64.
Preparing to unpack .../8-libxdo3_1%3a3.20160805.1-5.1build1_amd64v3.deb ...
Unpacking libxdo3:amd64 (1:3.20160805.1-5.1build1) ...
Selecting previously unselected package xdotool.
Preparing to unpack .../9-xdotool_1%3a3.20160805.1-5.1build1_amd64v3.deb ...
Unpacking xdotool (1:3.20160805.1-5.1build1) ...
Setting up luit (2.0.20250912-1) ...
Setting up libxcb-shape0:amd64 (1.17.0-2ubuntu1) ...
Setting up libxxf86dga1:amd64 (2:1.1.5-1build2) ...
Setting up libxdo3:amd64 (1:3.20160805.1-5.1build1) ...
Setting up libxv1:amd64 (2:1.0.13-1) ...
Setting up libutempter0:amd64 (1.2.1-4build1) ...
Setting up x11-utils (7.7+7build1) ...
Setting up xbitmaps (1.1.1-2.2build1) ...
Setting up xdotool (1:3.20160805.1-5.1build1) ...
Setting up xterm (407-1ubuntu1) ...
update-alternatives: using /usr/bin/xterm to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode
update-alternatives: using /usr/bin/lxterm to provide /usr/bin/x-terminal-emulator (x-terminal-emulator) in auto mode
Processing triggers for libc-bin (2.43-2ubuntu2.4) ...
Processing triggers for man-db (2.13.1-1build1) ...
Not building database; man-db/auto-update is not 'true'.
Processing triggers for hicolor-icon-theme (0.18-2build1) ...
Running kernel seems to be up-to-date.
Restarting services...
Service restarts being deferred:
systemctl restart hosted-compute-agent.service
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
▸ Run npm ci
npm ci
shell: /usr/bin/bash -e {0}
npm warn deprecated rimraf@2.6.3: Rimraf versions prior to v4 are no longer supported
npm warn deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated boolean@3.2.0: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
added 291 packages, and audited 292 packages in 6s
48 packages are looking for funding
run `npm fund` for details
1 high severity vulnerability
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
▸ Run npm test
npm test
shell: /usr/bin/bash -e {0}
> tally-screen-time@1.2.2 test
> node scripts/tracker-test.js
ok input credits every sample
ok idle without media credits nothing
ok media in the front app keeps counting while idle
ok background media does not hold the clock
ok media starting after a pause credits one sample, not the gap
ok media stopping returns to idle
ok two hours of untouched media ends the run
ok the media ceiling is a setting, and never is allowed
ok a shorter ceiling stops media sooner
ok the reason follows the desk
ok paused and sleep both say so
ok a full-screen app counts as in use
ok a sleep gap is never credited
ok pausing stops credit and idle resumes it
ok suspending clears the timer
ok identify reads macOS apps by bundle id
ok identify reads Linux executables
ok rootsFor lays out each OS
ok an unsupported platform says why
all tracker rules hold
▸ Run Xvfb :99 -screen 0 1280x800x24 &
Xvfb :99 -screen 0 1280x800x24 &
export DISPLAY=:99
sleep 1
xterm -T tally-smoke &
id=""
for i in $(seq 1 20); do
id=$(xdotool search --name tally-smoke | head -n 1)
[ -n "$id" ] && break
sleep 0.5
done
if [ -z "$id" ]; then
echo "::error::xterm never appeared on Xvfb"
exit 1
fi
# xprop's format letter picks the property type: 'a' would set an
# ATOM (and intern "$id" as an atom name); 'c' stores the numeric
# window id as a 32-bit CARDINAL, which is what readers expect.
xprop -root -f _NET_ACTIVE_WINDOW 32c -set _NET_ACTIVE_WINDOW "$id"
xprop -root _NET_ACTIVE_WINDOW
XDG_SESSION_TYPE=x11 npm run check -- --expect xterm
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
xterm: cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
Error: Process completed with exit code 1.
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/526329a4-fbcc-48f8-b148-5bdd420b6f65' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/screen-time/screen-time
[command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
[command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
http.https://github.com/.extraheader
[command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes
Terminate orphan process: pid (2807) (Xvfb)
Terminate orphan process: pid (2811) (xterm)
Warning: Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/