Started by timer
Running as SYSTEM
Building on the built-in node in workspace /storagepool/ci/jenkins/workspace/plasma-mobile-nightly-images
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir /storagepool/ci/jenkins/workspace/plasma-mobile-nightly-images/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/Sineware/plasma-mobile-nightly-img.git # timeout=10
Fetching upstream changes from https://github.com/Sineware/plasma-mobile-nightly-img.git
> git --version # timeout=10
> git --version # 'git version 2.25.1'
> git fetch --tags --force --progress -- https://github.com/Sineware/plasma-mobile-nightly-img.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/main^{commit} # timeout=10
Checking out Revision af4dee9218e57c04d32ce538fb5fa69659519144 (refs/remotes/origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f af4dee9218e57c04d32ce538fb5fa69659519144 # timeout=10
Commit message: "Update build.sh"
> git rev-list --no-walk af4dee9218e57c04d32ce538fb5fa69659519144 # timeout=10
true
[Set GitHub commit status (universal)] PENDING on repos [GHRepository@4d81733e[nodeId=R_kgDOIDmDQA,description=Image generation script wrapping pmbootstrap to produce device images of Plasma Mobile Nightly,homepage=<null>,name=plasma-mobile-nightly-img,fork=false,archived=false,visibility=public,size=61,milestones={},language=Shell,commits={},source=<null>,parent=<null>,isTemplate=false,compareUsePaginatedCommits=false,url=https://api.github.com/repos/Sineware/plasma-mobile-nightly-img,id=540640064,nodeId=<null>,createdAt=2022-09-23T22:46:07Z,updatedAt=2022-12-28T22:09:17Z]] (sha:af4dee9) with context:plasma-mobile-nightly-images
Setting commit status on GitHub for https://github.com/Sineware/plasma-mobile-nightly-img/commit/af4dee9218e57c04d32ce538fb5fa69659519144
[plasma-mobile-nightly-images] $ /usr/bin/env bash /tmp/jenkins15704928228146895396.sh
/storagepool/ci/jenkins/workspace/plasma-mobile-nightly-images /storagepool/ci/jenkins/workspace/plasma-mobile-nightly-images
From https://gitlab.com/postmarketOS/pmbootstrap
ecb7660f..09870a46 master -> origin/master
Updating ecb7660f..09870a46
Fast-forward
.build.yml | 4 ++--
.ci/flake8.sh | 24 ------------------------
.ci/ruff.sh | 19 +++++++++++++++++++
pmb/chroot/root.py | 6 ++++--
pmb/ci/__init__.py | 2 +-
pmb/config/__init__.py | 11 ++++++++++-
pmb/config/sudo.py | 11 +++++++++--
pmb/helpers/frontend.py | 4 +++-
pmb/helpers/run.py | 2 +-
pyproject.toml | 5 +++++
setup.cfg | 3 ---
test/test_run_core.py | 10 ++++++----
12 files changed, 60 insertions(+), 41 deletions(-)
delete mode 100755 .ci/flake8.sh
create mode 100755 .ci/ruff.sh
create mode 100644 pyproject.toml
Processing /home/swadmin/pmbootstrap
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: finished with status 'done'
Building wheels for collected packages: pmbootstrap
Building wheel for pmbootstrap (PEP 517): started
Building wheel for pmbootstrap (PEP 517): finished with status 'done'
Created wheel for pmbootstrap: filename=pmbootstrap-1.53.0-py3-none-any.whl size=244557 sha256=1b4320e5304c3dfc621d273e16218eb7e3838d44a192b6d472e3c4d9491840c7
Stored in directory: /tmp/pip-ephem-wheel-cache-37z45z5t/wheels/1d/da/c4/7885dd36d7592bdf6170ac765b7302a853d2e74e6bb8b82f2f
Successfully built pmbootstrap
Installing collected packages: pmbootstrap
Attempting uninstall: pmbootstrap
Found existing installation: pmbootstrap 1.53.0
Uninstalling pmbootstrap-1.53.0:
Successfully uninstalled pmbootstrap-1.53.0
WARNING: The script pmbootstrap is installed in '/home/swadmin/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pmbootstrap-1.53.0
/storagepool/ci/jenkins/workspace/plasma-mobile-nightly-images
swadmin
Building image for tablet-x64uefi
From https://gitlab.com/postmarketOS/pmaports
be819d747..e27bc8a84 master -> origin/master
* [new branch] newbyte/exynos4-6.3.5 -> origin/newbyte/exynos4-6.3.5
* [new branch] none-kernel -> origin/none-kernel
+ 57e67d19d...e8bfcb7e1 ondev2 -> origin/ondev2 (forced update)
Updating be819d747..e27bc8a84
Fast-forward
.ci/grep.sh | 7 +++++++
device/main/linux-purism-librem5/APKBUILD | 6 +++---
.../linux-purism-librem5/config-purism-librem5.aarch64 | 4 ++--
.../device-motorola-maserati/10-safestrap-maserati.sh | 2 +-
device/testing/device-motorola-maserati/APKBUILD | 6 +++---
.../10-geminipda-loopback-device.sh | 2 +-
device/testing/device-planet-geminipda/APKBUILD | 6 +++---
main/devicepkg-utils/APKBUILD | 16 ++++++++++++++++
main/devicepkg-utils/source_deviceinfo | 3 +++
main/osk-sdl/APKBUILD | 5 +++--
main/osk-sdl/unlock.sh | 3 +--
main/postmarketos-base/APKBUILD | 9 +++++----
main/postmarketos-base/postmarketos-base.trigger | 2 +-
main/postmarketos-base/rootfs-etc-conf.d-zram-init | 2 +-
main/postmarketos-base/rootfs-sbin-swapfile | 2 +-
main/postmarketos-bootsplash/99-shutdown-pbsplash.stop | 2 +-
main/postmarketos-bootsplash/APKBUILD | 8 ++++----
main/postmarketos-initramfs/00-initramfs-base.files | 1 +
main/postmarketos-initramfs/APKBUILD | 11 ++++++-----
main/postmarketos-initramfs/init.sh | 2 +-
main/postmarketos-initramfs/init_functions.sh | 5 -----
main/postmarketos-mkinitfs-hook-console-shell/APKBUILD | 6 +++---
.../console-shell.sh | 2 +-
.../20-debug-shell.sh | 2 +-
main/postmarketos-mkinitfs-hook-debug-shell/APKBUILD | 6 +++---
main/postmarketos-mkinitfs-hook-netboot/APKBUILD | 6 +++---
main/postmarketos-mkinitfs-hook-netboot/netboot.sh | 2 +-
main/postmarketos-update-depthcharge-kernel/APKBUILD | 6 +++---
.../update-depthcharge-kernel.sh | 3 +--
main/postmarketos-update-kernel/APKBUILD | 6 +++---
main/postmarketos-update-kernel/update-kernel.sh | 2 +-
31 files changed, 84 insertions(+), 61 deletions(-)
create mode 100644 main/devicepkg-utils/APKBUILD
create mode 100644 main/devicepkg-utils/source_deviceinfo
Traceback (most recent call last):
File "/home/swadmin/.local/bin/pmbootstrap", line 5, in <module>
from pmb import main
File "/home/swadmin/.local/lib/python3.8/site-packages/pmb/__init__.py", line 9, in <module>
from . import config
File "/home/swadmin/.local/lib/python3.8/site-packages/pmb/config/__init__.py", line 14, in <module>
from pmb.config.sudo import which_sudo
File "/home/swadmin/.local/lib/python3.8/site-packages/pmb/config/sudo.py", line 9, in <module>
def which_sudo() -> str | None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
Build step 'Execute shell' marked build as failure
[Set GitHub commit status (universal)] ERROR on repos [GHRepository@553d07b1[nodeId=R_kgDOIDmDQA,description=Image generation script wrapping pmbootstrap to produce device images of Plasma Mobile Nightly,homepage=<null>,name=plasma-mobile-nightly-img,fork=false,archived=false,visibility=public,size=61,milestones={},language=Shell,commits={},source=<null>,parent=<null>,isTemplate=false,compareUsePaginatedCommits=false,url=https://api.github.com/repos/Sineware/plasma-mobile-nightly-img,id=540640064,nodeId=<null>,createdAt=2022-09-23T22:46:07Z,updatedAt=2022-12-28T22:09:17Z]] (sha:af4dee9) with context:plasma-mobile-nightly-images
Setting commit status on GitHub for https://github.com/Sineware/plasma-mobile-nightly-img/commit/af4dee9218e57c04d32ce538fb5fa69659519144
Sending notification to Discord.
Finished: FAILURE