usimd / pi-gen-action

Action to build Raspberry Pi images using official pi-gen tool
MIT License
34 stars 9 forks source link

Buster crashes #125

Open Meisterschueler opened 1 month ago

Meisterschueler commented 1 month ago

Describe the bug I cant run this action for a buster image (no problems at all with bookworm and bullseye)

To Reproduce Steps to reproduce the behavior:

Expected behavior With this configuration I expect a "buster lite" image. With same configuration for bookworm or bullseye (different attributes: release, pi-gen-version) I see no problems.

Logs

2024-06-06T14:41:58.8550386Z Current runner version: '2.317.0'
2024-06-06T14:41:58.8576696Z ##[group]Operating System
2024-06-06T14:41:58.8577366Z Ubuntu
2024-06-06T14:41:58.8577697Z 22.04.4
2024-06-06T14:41:58.8578109Z LTS
2024-06-06T14:41:58.8578448Z ##[endgroup]
2024-06-06T14:41:58.8578806Z ##[group]Runner Image
2024-06-06T14:41:58.8579316Z Image: ubuntu-22.04
2024-06-06T14:41:58.8579716Z Version: 20240603.1.0
2024-06-06T14:41:58.8580694Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240603.1/images/ubuntu/Ubuntu2204-Readme.md
2024-06-06T14:41:58.8582205Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240603.1
2024-06-06T14:41:58.8583079Z ##[endgroup]
2024-06-06T14:41:58.8583438Z ##[group]Runner Image Provisioner
2024-06-06T14:41:58.8583989Z 2.0.370.1
2024-06-06T14:41:58.8584344Z ##[endgroup]
2024-06-06T14:41:58.8586623Z ##[group]GITHUB_TOKEN Permissions
2024-06-06T14:41:58.8588424Z Actions: write
2024-06-06T14:41:58.8589007Z Attestations: write
2024-06-06T14:41:58.8589651Z Checks: write
2024-06-06T14:41:58.8589989Z Contents: write
2024-06-06T14:41:58.8590446Z Deployments: write
2024-06-06T14:41:58.8590873Z Discussions: write
2024-06-06T14:41:58.8591223Z Issues: write
2024-06-06T14:41:58.8591643Z Metadata: read
2024-06-06T14:41:58.8592032Z Packages: write
2024-06-06T14:41:58.8592690Z Pages: write
2024-06-06T14:41:58.8593266Z PullRequests: write
2024-06-06T14:41:58.8593709Z RepositoryProjects: write
2024-06-06T14:41:58.8594128Z SecurityEvents: write
2024-06-06T14:41:58.8594636Z Statuses: write
2024-06-06T14:41:58.8595025Z ##[endgroup]
2024-06-06T14:41:58.8598131Z Secret source: Actions
2024-06-06T14:41:58.8598885Z Prepare workflow directory
2024-06-06T14:41:58.9229128Z Prepare all required actions
2024-06-06T14:41:58.9389096Z Getting action download info
2024-06-06T14:41:59.1242194Z Download action repository 'usimd/pi-gen-action@v1' (SHA:bf082dedce15e8eb4b2f74b0817a808e00f9494d)
2024-06-06T14:41:59.7981273Z Complete job name: pi-gen-upload-image
2024-06-06T14:41:59.9265486Z ##[group]Run usimd/pi-gen-action@v1
2024-06-06T14:41:59.9266166Z with:
2024-06-06T14:41:59.9266692Z   image-name: minimal-example
2024-06-06T14:41:59.9267203Z   stage-list: stage0 stage1 stage2
2024-06-06T14:41:59.9267675Z   release: buster
2024-06-06T14:41:59.9268210Z   pi-gen-version: 2023-05-03-raspios-buster
2024-06-06T14:41:59.9268786Z   verbose-output: true
2024-06-06T14:41:59.9269247Z   pi-gen-release: Raspberry Pi reference
2024-06-06T14:41:59.9269866Z   compression: zip
2024-06-06T14:41:59.9270290Z   compression-level: 6
2024-06-06T14:41:59.9270679Z   locale: en_GB.UTF-8
2024-06-06T14:41:59.9271176Z   hostname: raspberrypi
2024-06-06T14:41:59.9271630Z   keyboard-keymap: gb
2024-06-06T14:41:59.9272046Z   keyboard-layout: English (UK)
2024-06-06T14:41:59.9272999Z   timezone: Europe/London
2024-06-06T14:41:59.9273463Z   username: pi
2024-06-06T14:41:59.9273842Z   disable-first-boot-user-rename: 0
2024-06-06T14:41:59.9274445Z   enable-ssh: 0
2024-06-06T14:41:59.9274915Z   pubkey-only-ssh: 0
2024-06-06T14:41:59.9275446Z   pi-gen-repository: RPi-Distro/pi-gen
2024-06-06T14:41:59.9276019Z   export-last-stage-only: true
2024-06-06T14:41:59.9276463Z   enable-noobs: false
2024-06-06T14:41:59.9276947Z   pi-gen-dir: pi-gen
2024-06-06T14:41:59.9277673Z   github-token: ***
2024-06-06T14:41:59.9278126Z ##[endgroup]
2024-06-06T14:42:00.0859922Z ##[group]Validating input and generating pi-gen config
2024-06-06T14:42:00.2484922Z {
2024-06-06T14:42:00.2487699Z   "imgName": "minimal-example",
2024-06-06T14:42:00.2489152Z   "piGenRelease": "Raspberry Pi reference",
2024-06-06T14:42:00.2490338Z   "release": "buster",
2024-06-06T14:42:00.2491305Z   "deployCompression": "zip",
2024-06-06T14:42:00.2492473Z   "compressionLevel": "6",
2024-06-06T14:42:00.2494116Z   "localeDefault": "en_GB.UTF-8",
2024-06-06T14:42:00.2495148Z   "targetHostname": "raspberrypi",
2024-06-06T14:42:00.2496293Z   "keyboardKeymap": "gb",
2024-06-06T14:42:00.2497287Z   "keyboardLayout": "English (UK)",
2024-06-06T14:42:00.2498174Z   "timezoneDefault": "Europe/London",
2024-06-06T14:42:00.2499023Z   "firstUserName": "pi",
2024-06-06T14:42:00.2499862Z   "enableSsh": "0",
2024-06-06T14:42:00.2500621Z   "pubkeyOnlySsh": "0",
2024-06-06T14:42:00.2501387Z   "stageList": [
2024-06-06T14:42:00.2501984Z     "stage0",
2024-06-06T14:42:00.2502505Z     "stage1",
2024-06-06T14:42:00.2503013Z     "stage2"
2024-06-06T14:42:00.2503463Z   ],
2024-06-06T14:42:00.2504091Z   "enableNoobs": "false",
2024-06-06T14:42:00.2504948Z   "exportLastStageOnly": "true",
2024-06-06T14:42:00.2505762Z   "firstUserPass": "***",
2024-06-06T14:42:00.2506596Z   "disableFirstBootUserRename": "0",
2024-06-06T14:42:00.2507437Z   "wpaPassword": "***"
2024-06-06T14:42:00.2507959Z }
2024-06-06T14:42:00.2508841Z ##[endgroup]
2024-06-06T14:42:00.2509690Z ##[group]Cloning pi-gen repository
2024-06-06T14:42:00.6112646Z [command]/usr/bin/git remote add origin https://github.com/RPi-Distro/pi-gen
2024-06-06T14:42:00.6158245Z [command]/usr/bin/git fetch --progress --prune --no-tags --no-recurse-submodules --depth=1 origin +refs/heads/2023-05-03-raspios-buster*:refs/remotes/origin/2023-05-03-raspios-buster* +refs/tags/2023-05-03-raspios-buster*:refs/tags/2023-05-03-raspios-buster*
2024-06-06T14:42:01.1587569Z remote: Enumerating objects: 149, done.        
2024-06-06T14:42:01.1589071Z remote: Counting objects:   0% (1/149)        
2024-06-06T14:42:01.1589990Z remote: Counting objects:   1% (2/149)        
2024-06-06T14:42:01.1590802Z remote: Counting objects:   2% (3/149)        
2024-06-06T14:42:01.1591414Z remote: Counting objects:   3% (5/149)        
2024-06-06T14:42:01.1591912Z remote: Counting objects:   4% (6/149)        
2024-06-06T14:42:01.1592700Z remote: Counting objects:   5% (8/149)        
2024-06-06T14:42:01.1593299Z remote: Counting objects:   6% (9/149)        
2024-06-06T14:42:01.1593867Z remote: Counting objects:   7% (11/149)        
2024-06-06T14:42:01.1594331Z remote: Counting objects:   8% (12/149)        
2024-06-06T14:42:01.1594884Z remote: Counting objects:   9% (14/149)        
2024-06-06T14:42:01.1595353Z remote: Counting objects:  10% (15/149)        
2024-06-06T14:42:01.1595775Z remote: Counting objects:  11% (17/149)        
2024-06-06T14:42:01.1596313Z remote: Counting objects:  12% (18/149)        
2024-06-06T14:42:01.1596766Z remote: Counting objects:  13% (20/149)        
2024-06-06T14:42:01.1597180Z remote: Counting objects:  14% (21/149)        
2024-06-06T14:42:01.1597718Z remote: Counting objects:  15% (23/149)        
2024-06-06T14:42:01.1598166Z remote: Counting objects:  16% (24/149)        
2024-06-06T14:42:01.1598578Z remote: Counting objects:  17% (26/149)        
2024-06-06T14:42:01.1599121Z remote: Counting objects:  18% (27/149)        
2024-06-06T14:42:01.1599569Z remote: Counting objects:  19% (29/149)        
2024-06-06T14:42:01.1599984Z remote: Counting objects:  20% (30/149)        
2024-06-06T14:42:01.1600536Z remote: Counting objects:  21% (32/149)        
2024-06-06T14:42:01.1601295Z remote: Counting objects:  22% (33/149)        
2024-06-06T14:42:01.1601726Z remote: Counting objects:  23% (35/149)        
2024-06-06T14:42:01.1602250Z remote: Counting objects:  24% (36/149)        
2024-06-06T14:42:01.1602708Z remote: Counting objects:  25% (38/149)        
2024-06-06T14:42:01.1603166Z remote: Counting objects:  26% (39/149)        
2024-06-06T14:42:01.1603646Z remote: Counting objects:  27% (41/149)        
2024-06-06T14:42:01.1604087Z remote: Counting objects:  28% (42/149)        
2024-06-06T14:42:01.1604564Z remote: Counting objects:  29% (44/149)        
2024-06-06T14:42:01.1605038Z remote: Counting objects:  30% (45/149)        
2024-06-06T14:42:01.1605496Z remote: Counting objects:  31% (47/149)        
2024-06-06T14:42:01.1605937Z remote: Counting objects:  32% (48/149)        
2024-06-06T14:42:01.1606408Z remote: Counting objects:  33% (50/149)        
2024-06-06T14:42:01.1606875Z remote: Counting objects:  34% (51/149)        
2024-06-06T14:42:01.1607327Z remote: Counting objects:  35% (53/149)        
2024-06-06T14:42:01.1607798Z remote: Counting objects:  36% (54/149)        
2024-06-06T14:42:01.1608262Z remote: Counting objects:  37% (56/149)        
2024-06-06T14:42:01.1608704Z remote: Counting objects:  38% (57/149)        
2024-06-06T14:42:01.1609180Z remote: Counting objects:  39% (59/149)        
2024-06-06T14:42:01.1609641Z remote: Counting objects:  40% (60/149)        
2024-06-06T14:42:01.1610080Z remote: Counting objects:  41% (62/149)        
2024-06-06T14:42:01.1610549Z remote: Counting objects:  42% (63/149)        
2024-06-06T14:42:01.1611007Z remote: Counting objects:  43% (65/149)        
2024-06-06T14:42:01.1611449Z remote: Counting objects:  44% (66/149)        
2024-06-06T14:42:01.1611926Z remote: Counting objects:  45% (68/149)        
2024-06-06T14:42:01.1612389Z remote: Counting objects:  46% (69/149)        
2024-06-06T14:42:01.1613056Z remote: Counting objects:  47% (71/149)        
2024-06-06T14:42:01.1613624Z remote: Counting objects:  48% (72/149)        
2024-06-06T14:42:01.1614034Z remote: Counting objects:  49% (74/149)        
2024-06-06T14:42:01.1614477Z remote: Counting objects:  50% (75/149)        
2024-06-06T14:42:01.1615003Z remote: Counting objects:  51% (76/149)        
2024-06-06T14:42:01.1615411Z remote: Counting objects:  52% (78/149)        
2024-06-06T14:42:01.1615868Z remote: Counting objects:  53% (79/149)        
2024-06-06T14:42:01.1616375Z remote: Counting objects:  54% (81/149)        
2024-06-06T14:42:01.1616781Z remote: Counting objects:  55% (82/149)        
2024-06-06T14:42:01.1617239Z remote: Counting objects:  56% (84/149)        
2024-06-06T14:42:01.1617751Z remote: Counting objects:  57% (85/149)        
2024-06-06T14:42:01.1618160Z remote: Counting objects:  58% (87/149)        
2024-06-06T14:42:01.1618626Z remote: Counting objects:  59% (88/149)        
2024-06-06T14:42:01.1619161Z remote: Counting objects:  60% (90/149)        
2024-06-06T14:42:01.1619581Z remote: Counting objects:  61% (91/149)        
2024-06-06T14:42:01.1620048Z remote: Counting objects:  62% (93/149)        
2024-06-06T14:42:01.1620552Z remote: Counting objects:  63% (94/149)        
2024-06-06T14:42:01.1621027Z remote: Counting objects:  64% (96/149)        
2024-06-06T14:42:01.1621435Z remote: Counting objects:  65% (97/149)        
2024-06-06T14:42:01.1621941Z remote: Counting objects:  66% (99/149)        
2024-06-06T14:42:01.1622410Z remote: Counting objects:  67% (100/149)        
2024-06-06T14:42:01.1622843Z remote: Counting objects:  68% (102/149)        
2024-06-06T14:42:01.1623384Z remote: Counting objects:  69% (103/149)        
2024-06-06T14:42:01.1623878Z remote: Counting objects:  70% (105/149)        
2024-06-06T14:42:01.1624304Z remote: Counting objects:  71% (106/149)        
2024-06-06T14:42:01.1624833Z remote: Counting objects:  72% (108/149)        
2024-06-06T14:42:01.1625304Z remote: Counting objects:  73% (109/149)        
2024-06-06T14:42:01.1625728Z remote: Counting objects:  74% (111/149)        
2024-06-06T14:42:01.1626425Z remote: Counting objects:  75% (112/149)        
2024-06-06T14:42:01.1626885Z remote: Counting objects:  76% (114/149)        
2024-06-06T14:42:01.1627304Z remote: Counting objects:  77% (115/149)        
2024-06-06T14:42:01.1627841Z remote: Counting objects:  78% (117/149)        
2024-06-06T14:42:01.1628292Z remote: Counting objects:  79% (118/149)        
2024-06-06T14:42:01.1628707Z remote: Counting objects:  80% (120/149)        
2024-06-06T14:42:01.1629235Z remote: Counting objects:  81% (121/149)        
2024-06-06T14:42:01.1629688Z remote: Counting objects:  82% (123/149)        
2024-06-06T14:42:01.1630200Z remote: Counting objects:  83% (124/149)        
2024-06-06T14:42:01.1630636Z remote: Counting objects:  84% (126/149)        
2024-06-06T14:42:01.1631085Z remote: Counting objects:  85% (127/149)        
2024-06-06T14:42:01.1631629Z remote: Counting objects:  86% (129/149)        
2024-06-06T14:42:01.1632053Z remote: Counting objects:  87% (130/149)        
2024-06-06T14:42:01.1632749Z remote: Counting objects:  88% (132/149)        
2024-06-06T14:42:01.1633302Z remote: Counting objects:  89% (133/149)        
2024-06-06T14:42:01.1633721Z remote: Counting objects:  90% (135/149)        
2024-06-06T14:42:01.1634177Z remote: Counting objects:  91% (136/149)        
2024-06-06T14:42:01.1634715Z remote: Counting objects:  92% (138/149)        
2024-06-06T14:42:01.1635139Z remote: Counting objects:  93% (139/149)        
2024-06-06T14:42:01.1635597Z remote: Counting objects:  94% (141/149)        
2024-06-06T14:42:01.1636120Z remote: Counting objects:  95% (142/149)        
2024-06-06T14:42:01.1636534Z remote: Counting objects:  96% (144/149)        
2024-06-06T14:42:01.1636980Z remote: Counting objects:  97% (145/149)        
2024-06-06T14:42:01.1637504Z remote: Counting objects:  98% (147/149)        
2024-06-06T14:42:01.1637917Z remote: Counting objects:  99% (148/149)        
2024-06-06T14:42:01.1638551Z remote: Counting objects: 100% (149/149)        
2024-06-06T14:42:01.1639138Z remote: Counting objects: 100% (149/149), done.        
2024-06-06T14:42:01.1639614Z remote: Compressing objects:   0% (1/118)        
2024-06-06T14:42:01.1660296Z remote: Compressing objects:   1% (2/118)        
2024-06-06T14:42:01.1661258Z remote: Compressing objects:   2% (3/118)        
2024-06-06T14:42:01.1662102Z remote: Compressing objects:   3% (4/118)        
2024-06-06T14:42:01.1663032Z remote: Compressing objects:   4% (5/118)        
2024-06-06T14:42:01.1663890Z remote: Compressing objects:   5% (6/118)        
2024-06-06T14:42:01.1664696Z remote: Compressing objects:   6% (8/118)        
2024-06-06T14:42:01.1665561Z remote: Compressing objects:   7% (9/118)        
2024-06-06T14:42:01.1666301Z remote: Compressing objects:   8% (10/118)        
2024-06-06T14:42:01.1667167Z remote: Compressing objects:   9% (11/118)        
2024-06-06T14:42:01.1668076Z remote: Compressing objects:  10% (12/118)        
2024-06-06T14:42:01.1668888Z remote: Compressing objects:  11% (13/118)        
2024-06-06T14:42:01.1669666Z remote: Compressing objects:  12% (15/118)        
2024-06-06T14:42:01.1670546Z remote: Compressing objects:  13% (16/118)        
2024-06-06T14:42:01.1671356Z remote: Compressing objects:  14% (17/118)        
2024-06-06T14:42:01.1672090Z remote: Compressing objects:  15% (18/118)        
2024-06-06T14:42:01.1673197Z remote: Compressing objects:  16% (19/118)        
2024-06-06T14:42:01.1674002Z remote: Compressing objects:  17% (21/118)        
2024-06-06T14:42:01.1674733Z remote: Compressing objects:  18% (22/118)        
2024-06-06T14:42:01.1675610Z remote: Compressing objects:  19% (23/118)        
2024-06-06T14:42:01.1676416Z remote: Compressing objects:  20% (24/118)        
2024-06-06T14:42:01.1677164Z remote: Compressing objects:  21% (25/118)        
2024-06-06T14:42:01.1678049Z remote: Compressing objects:  22% (26/118)        
2024-06-06T14:42:01.1678849Z remote: Compressing objects:  23% (28/118)        
2024-06-06T14:42:01.1679588Z remote: Compressing objects:  24% (29/118)        
2024-06-06T14:42:01.1680798Z remote: Compressing objects:  25% (30/118)        
2024-06-06T14:42:01.1681592Z remote: Compressing objects:  26% (31/118)        
2024-06-06T14:42:01.1682353Z remote: Compressing objects:  27% (32/118)        
2024-06-06T14:42:01.1683271Z remote: Compressing objects:  28% (34/118)        
2024-06-06T14:42:01.1684010Z remote: Compressing objects:  29% (35/118)        
2024-06-06T14:42:01.1684752Z remote: Compressing objects:  30% (36/118)        
2024-06-06T14:42:01.1685595Z remote: Compressing objects:  31% (37/118)        
2024-06-06T14:42:01.1686404Z remote: Compressing objects:  32% (38/118)        
2024-06-06T14:42:01.1687416Z remote: Compressing objects:  33% (39/118)        
2024-06-06T14:42:01.1688206Z remote: Compressing objects:  34% (41/118)        
2024-06-06T14:42:01.1688999Z remote: Compressing objects:  35% (42/118)        
2024-06-06T14:42:01.1689906Z remote: Compressing objects:  36% (43/118)        
2024-06-06T14:42:01.1690710Z remote: Compressing objects:  37% (44/118)        
2024-06-06T14:42:01.1691548Z remote: Compressing objects:  38% (45/118)        
2024-06-06T14:42:01.1692518Z remote: Compressing objects:  39% (47/118)        
2024-06-06T14:42:01.1693324Z remote: Compressing objects:  40% (48/118)        
2024-06-06T14:42:01.1694076Z remote: Compressing objects:  41% (49/118)        
2024-06-06T14:42:01.1694966Z remote: Compressing objects:  42% (50/118)        
2024-06-06T14:42:01.1695694Z remote: Compressing objects:  43% (51/118)        
2024-06-06T14:42:01.1696489Z remote: Compressing objects:  44% (52/118)        
2024-06-06T14:42:01.1697369Z remote: Compressing objects:  45% (54/118)        
2024-06-06T14:42:01.1698097Z remote: Compressing objects:  46% (55/118)        
2024-06-06T14:42:01.1698896Z remote: Compressing objects:  47% (56/118)        
2024-06-06T14:42:01.1699815Z remote: Compressing objects:  48% (57/118)        
2024-06-06T14:42:01.1700908Z remote: Compressing objects:  49% (58/118)        
2024-06-06T14:42:01.1701720Z remote: Compressing objects:  50% (59/118)        
2024-06-06T14:42:01.1702675Z remote: Compressing objects:  51% (61/118)        
2024-06-06T14:42:01.1703422Z remote: Compressing objects:  52% (62/118)        
2024-06-06T14:42:01.1704193Z remote: Compressing objects:  53% (63/118)        
2024-06-06T14:42:01.1705084Z remote: Compressing objects:  54% (64/118)        
2024-06-06T14:42:01.1705840Z remote: Compressing objects:  55% (65/118)        
2024-06-06T14:42:01.1706741Z remote: Compressing objects:  56% (67/118)        
2024-06-06T14:42:01.1707535Z remote: Compressing objects:  57% (68/118)        
2024-06-06T14:42:01.1708267Z remote: Compressing objects:  58% (69/118)        
2024-06-06T14:42:01.1709252Z remote: Compressing objects:  59% (70/118)        
2024-06-06T14:42:01.1710123Z remote: Compressing objects:  60% (71/118)        
2024-06-06T14:42:01.1711012Z remote: Compressing objects:  61% (72/118)        
2024-06-06T14:42:01.1712026Z remote: Compressing objects:  62% (74/118)        
2024-06-06T14:42:01.1713131Z remote: Compressing objects:  63% (75/118)        
2024-06-06T14:42:01.1714047Z remote: Compressing objects:  64% (76/118)        
2024-06-06T14:42:01.1715137Z remote: Compressing objects:  65% (77/118)        
2024-06-06T14:42:01.1716017Z remote: Compressing objects:  66% (78/118)        
2024-06-06T14:42:01.1716926Z remote: Compressing objects:  67% (80/118)        
2024-06-06T14:42:01.1717921Z remote: Compressing objects:  68% (81/118)        
2024-06-06T14:42:01.1718727Z remote: Compressing objects:  69% (82/118)        
2024-06-06T14:42:01.1719637Z remote: Compressing objects:  70% (83/118)        
2024-06-06T14:42:01.1720591Z remote: Compressing objects:  71% (84/118)        
2024-06-06T14:42:01.1721488Z remote: Compressing objects:  72% (85/118)        
2024-06-06T14:42:01.1722355Z remote: Compressing objects:  73% (87/118)        
2024-06-06T14:42:01.1723375Z remote: Compressing objects:  74% (88/118)        
2024-06-06T14:42:01.1724202Z remote: Compressing objects:  75% (89/118)        
2024-06-06T14:42:01.1725430Z remote: Compressing objects:  76% (90/118)        
2024-06-06T14:42:01.1726504Z remote: Compressing objects:  77% (91/118)        
2024-06-06T14:42:01.1727395Z remote: Compressing objects:  78% (93/118)        
2024-06-06T14:42:01.1728347Z remote: Compressing objects:  79% (94/118)        
2024-06-06T14:42:01.1729343Z remote: Compressing objects:  80% (95/118)        
2024-06-06T14:42:01.1730203Z remote: Compressing objects:  81% (96/118)        
2024-06-06T14:42:01.1731021Z remote: Compressing objects:  82% (97/118)        
2024-06-06T14:42:01.1732106Z remote: Compressing objects:  83% (98/118)        
2024-06-06T14:42:01.1732951Z remote: Compressing objects:  84% (100/118)        
2024-06-06T14:42:01.1733844Z remote: Compressing objects:  85% (101/118)        
2024-06-06T14:42:01.1734954Z remote: Compressing objects:  86% (102/118)        
2024-06-06T14:42:01.1735855Z remote: Compressing objects:  87% (103/118)        
2024-06-06T14:42:01.1736725Z remote: Compressing objects:  88% (104/118)        
2024-06-06T14:42:01.1737873Z remote: Compressing objects:  89% (106/118)        
2024-06-06T14:42:01.1738799Z remote: Compressing objects:  90% (107/118)        
2024-06-06T14:42:01.1739731Z remote: Compressing objects:  91% (108/118)        
2024-06-06T14:42:01.1740776Z remote: Compressing objects:  92% (109/118)        
2024-06-06T14:42:01.1741510Z remote: Compressing objects:  93% (110/118)        
2024-06-06T14:42:01.1742022Z remote: Compressing objects:  94% (111/118)        
2024-06-06T14:42:01.1742578Z remote: Compressing objects:  95% (113/118)        
2024-06-06T14:42:01.1743089Z remote: Compressing objects:  96% (114/118)        
2024-06-06T14:42:01.1743597Z remote: Compressing objects:  97% (115/118)        
2024-06-06T14:42:01.1744162Z remote: Compressing objects:  98% (116/118)        
2024-06-06T14:42:01.1744610Z remote: Compressing objects:  99% (117/118)        
2024-06-06T14:42:01.1745318Z remote: Compressing objects: 100% (118/118)        
2024-06-06T14:42:01.1745967Z remote: Compressing objects: 100% (118/118), done.        
2024-06-06T14:42:01.1790838Z Receiving objects:   0% (1/149)
2024-06-06T14:42:01.1792020Z Receiving objects:   1% (2/149)
2024-06-06T14:42:01.1795840Z Receiving objects:   2% (3/149)
2024-06-06T14:42:01.1796453Z Receiving objects:   3% (5/149)
2024-06-06T14:42:01.1796978Z Receiving objects:   4% (6/149)
2024-06-06T14:42:01.1797383Z Receiving objects:   5% (8/149)
2024-06-06T14:42:01.1797916Z Receiving objects:   6% (9/149)
2024-06-06T14:42:01.1798869Z Receiving objects:   7% (11/149)
2024-06-06T14:42:01.1799563Z Receiving objects:   8% (12/149)
2024-06-06T14:42:01.1800070Z Receiving objects:   9% (14/149)
2024-06-06T14:42:01.1800551Z Receiving objects:  10% (15/149)
2024-06-06T14:42:01.1800975Z Receiving objects:  11% (17/149)
2024-06-06T14:42:01.1801401Z Receiving objects:  12% (18/149)
2024-06-06T14:42:01.1801957Z Receiving objects:  13% (20/149)
2024-06-06T14:42:01.1802414Z Receiving objects:  14% (21/149)
2024-06-06T14:42:01.1802768Z Receiving objects:  15% (23/149)
2024-06-06T14:42:01.1803213Z Receiving objects:  16% (24/149)
2024-06-06T14:42:01.1803605Z Receiving objects:  17% (26/149)
2024-06-06T14:42:01.1803960Z Receiving objects:  18% (27/149)
2024-06-06T14:42:01.1804412Z Receiving objects:  19% (29/149)
2024-06-06T14:42:01.1804811Z Receiving objects:  20% (30/149)
2024-06-06T14:42:01.1805152Z Receiving objects:  21% (32/149)
2024-06-06T14:42:01.1805604Z Receiving objects:  22% (33/149)
2024-06-06T14:42:01.1805983Z Receiving objects:  23% (35/149)
2024-06-06T14:42:01.1806322Z Receiving objects:  24% (36/149)
2024-06-06T14:42:01.1806777Z Receiving objects:  25% (38/149)
2024-06-06T14:42:01.1807173Z Receiving objects:  26% (39/149)
2024-06-06T14:42:01.1807523Z Receiving objects:  27% (41/149)
2024-06-06T14:42:01.1807985Z Receiving objects:  28% (42/149)
2024-06-06T14:42:01.1808370Z Receiving objects:  29% (44/149)
2024-06-06T14:42:01.1808715Z Receiving objects:  30% (45/149)
2024-06-06T14:42:01.1809167Z Receiving objects:  31% (47/149)
2024-06-06T14:42:01.1809793Z Receiving objects:  32% (48/149)
2024-06-06T14:42:01.1810157Z Receiving objects:  33% (50/149)
2024-06-06T14:42:01.1810610Z Receiving objects:  34% (51/149)
2024-06-06T14:42:01.1810986Z Receiving objects:  35% (53/149)
2024-06-06T14:42:01.1873507Z Receiving objects:  36% (54/149)
2024-06-06T14:42:01.1874766Z Receiving objects:  37% (56/149)
2024-06-06T14:42:01.1876896Z Receiving objects:  38% (57/149)
2024-06-06T14:42:01.1877490Z Receiving objects:  39% (59/149)
2024-06-06T14:42:01.1878094Z Receiving objects:  40% (60/149)
2024-06-06T14:42:01.1878503Z Receiving objects:  41% (62/149)
2024-06-06T14:42:01.1878854Z Receiving objects:  42% (63/149)
2024-06-06T14:42:01.1879306Z Receiving objects:  43% (65/149)
2024-06-06T14:42:01.2057687Z Receiving objects:  44% (66/149)
2024-06-06T14:42:01.2136891Z Receiving objects:  45% (68/149)
2024-06-06T14:42:01.2402098Z Receiving objects:  46% (69/149)
2024-06-06T14:42:01.2501931Z Receiving objects:  47% (71/149)
2024-06-06T14:42:01.2527414Z Receiving objects:  48% (72/149)
2024-06-06T14:42:01.2528717Z Receiving objects:  49% (74/149)
2024-06-06T14:42:01.2529616Z Receiving objects:  50% (75/149)
2024-06-06T14:42:01.2531199Z Receiving objects:  51% (76/149)
2024-06-06T14:42:01.2532296Z Receiving objects:  52% (78/149)
2024-06-06T14:42:01.2533463Z Receiving objects:  53% (79/149)
2024-06-06T14:42:01.2534212Z Receiving objects:  54% (81/149)
2024-06-06T14:42:01.2535759Z Receiving objects:  55% (82/149)
2024-06-06T14:42:01.2536377Z Receiving objects:  56% (84/149)
2024-06-06T14:42:01.2537068Z Receiving objects:  57% (85/149)
2024-06-06T14:42:01.2537871Z Receiving objects:  58% (87/149)
2024-06-06T14:42:01.2580273Z Receiving objects:  59% (88/149)
2024-06-06T14:42:01.2581502Z Receiving objects:  60% (90/149)
2024-06-06T14:42:01.2582851Z Receiving objects:  61% (91/149)
2024-06-06T14:42:01.2583995Z Receiving objects:  62% (93/149)
2024-06-06T14:42:01.2584793Z Receiving objects:  63% (94/149)
2024-06-06T14:42:01.2586374Z Receiving objects:  64% (96/149)
2024-06-06T14:42:01.2587500Z Receiving objects:  65% (97/149)
2024-06-06T14:42:01.2588548Z Receiving objects:  66% (99/149)
2024-06-06T14:42:01.2589465Z Receiving objects:  67% (100/149)
2024-06-06T14:42:01.2590542Z Receiving objects:  68% (102/149)
2024-06-06T14:42:01.2591547Z Receiving objects:  69% (103/149)
2024-06-06T14:42:01.2592715Z Receiving objects:  70% (105/149)
2024-06-06T14:42:01.2593840Z Receiving objects:  71% (106/149)
2024-06-06T14:42:01.2594981Z Receiving objects:  72% (108/149)
2024-06-06T14:42:01.2596648Z remote: Total 149 (delta 0), reused 102 (delta 0), pack-reused 0        
2024-06-06T14:42:01.2597887Z Receiving objects:  73% (109/149)
2024-06-06T14:42:01.2598929Z Receiving objects:  74% (111/149)
2024-06-06T14:42:01.2600068Z Receiving objects:  75% (112/149)
2024-06-06T14:42:01.2600961Z Receiving objects:  76% (114/149)
2024-06-06T14:42:01.2601975Z Receiving objects:  77% (115/149)
2024-06-06T14:42:01.2603140Z Receiving objects:  78% (117/149)
2024-06-06T14:42:01.2605909Z Receiving objects:  79% (118/149)
2024-06-06T14:42:01.2606791Z Receiving objects:  80% (120/149)
2024-06-06T14:42:01.2607531Z Receiving objects:  81% (121/149)
2024-06-06T14:42:01.2608545Z Receiving objects:  82% (123/149)
2024-06-06T14:42:01.2609274Z Receiving objects:  83% (124/149)
2024-06-06T14:42:01.2610006Z Receiving objects:  84% (126/149)
2024-06-06T14:42:01.2610902Z Receiving objects:  85% (127/149)
2024-06-06T14:42:01.2611613Z Receiving objects:  86% (129/149)
2024-06-06T14:42:01.2612373Z Receiving objects:  87% (130/149)
2024-06-06T14:42:01.2613561Z Receiving objects:  88% (132/149)
2024-06-06T14:42:01.2614260Z Receiving objects:  89% (133/149)
2024-06-06T14:42:01.2614967Z Receiving objects:  90% (135/149)
2024-06-06T14:42:01.2615754Z Receiving objects:  91% (136/149)
2024-06-06T14:42:01.2616591Z Receiving objects:  92% (138/149)
2024-06-06T14:42:01.2617350Z Receiving objects:  93% (139/149)
2024-06-06T14:42:01.2618098Z Receiving objects:  94% (141/149)
2024-06-06T14:42:01.2618511Z Receiving objects:  95% (142/149)
2024-06-06T14:42:01.2619503Z Receiving objects:  96% (144/149)
2024-06-06T14:42:01.2620281Z Receiving objects:  97% (145/149)
2024-06-06T14:42:01.2620914Z Receiving objects:  98% (147/149)
2024-06-06T14:42:01.2621547Z Receiving objects:  99% (148/149)
2024-06-06T14:42:01.2622251Z Receiving objects: 100% (149/149)
2024-06-06T14:42:01.2623019Z Receiving objects: 100% (149/149), 592.08 KiB | 7.05 MiB/s, done.
2024-06-06T14:42:01.2702620Z From https://github.com/RPi-Distro/pi-gen
2024-06-06T14:42:01.2703923Z  * [new tag]         2023-05-03-raspios-buster -> 2023-05-03-raspios-buster
2024-06-06T14:42:01.2732939Z [command]/usr/bin/git tag --list 2023-05-03-raspios-buster
2024-06-06T14:42:01.2772989Z 2023-05-03-raspios-buster
2024-06-06T14:42:01.2781152Z [command]/usr/bin/git checkout --force --progress 2023-05-03-raspios-buster
2024-06-06T14:42:01.2902036Z Note: switching to '2023-05-03-raspios-buster'.
2024-06-06T14:42:01.2902593Z 
2024-06-06T14:42:01.2903330Z You are in 'detached HEAD' state. You can look around, make experimental
2024-06-06T14:42:01.2904283Z changes and commit them, and you can discard any commits you make in this
2024-06-06T14:42:01.2905565Z state without impacting any branches by switching back to a branch.
2024-06-06T14:42:01.2906469Z 
2024-06-06T14:42:01.2907152Z If you want to create a new branch to retain commits you create, you may
2024-06-06T14:42:01.2908545Z do so (now or later) by using -c with the switch command. Example:
2024-06-06T14:42:01.2909237Z 
2024-06-06T14:42:01.2909643Z   git switch -c <new-branch-name>
2024-06-06T14:42:01.2910085Z 
2024-06-06T14:42:01.2910511Z Or undo this operation with:
2024-06-06T14:42:01.2910967Z 
2024-06-06T14:42:01.2911198Z   git switch -
2024-06-06T14:42:01.2911500Z 
2024-06-06T14:42:01.2912025Z Turn off this advice by setting config variable advice.detachedHead to false
2024-06-06T14:42:01.2913125Z 
2024-06-06T14:42:01.2913476Z HEAD is now at 638c752 Update release notes
2024-06-06T14:42:01.2915419Z ##[endgroup]
2024-06-06T14:42:01.2916816Z ##[group]Installing build dependencies on host
2024-06-06T14:42:01.2946202Z [command]/usr/bin/sudo -E apt-get -qq -o Dpkg::Use-Pty=0 update
2024-06-06T14:42:07.8817136Z [command]/usr/bin/sudo -E apt-get -qq -o Dpkg::Use-Pty=0 --no-install-recommends --no-install-suggests install -y binfmt-support qemu-user-static qemu-utils nbd-server nbd-client openssh-client quilt parted coreutils debootstrap zerofree zip dosfstools libcap2-bin libarchive-tools grep rsync xz-utils curl xxd file git kmod bc kpartx pigz
2024-06-06T14:42:10.0220707Z Preconfiguring packages ...
2024-06-06T14:42:10.3599278Z (Reading database ... 269491 files and directories currently installed.)
2024-06-06T14:42:10.3656992Z Preparing to unpack .../00-xxd_2%3a8.2.3995-1ubuntu2.17_amd64.deb ...
2024-06-06T14:42:10.3704522Z Unpacking xxd (2:8.2.3995-1ubuntu2.17) over (2:8.2.3995-1ubuntu2.16) ...
2024-06-06T14:42:10.4050241Z Selecting previously unselected package diffstat.
2024-06-06T14:42:10.4212727Z Preparing to unpack .../01-diffstat_1.64-1build2_amd64.deb ...
2024-06-06T14:42:10.4255327Z Unpacking diffstat (1.64-1build2) ...
2024-06-06T14:42:10.4498068Z Selecting previously unselected package gettext.
2024-06-06T14:42:10.4658129Z Preparing to unpack .../02-gettext_0.21-4ubuntu4_amd64.deb ...
2024-06-06T14:42:10.4674386Z Unpacking gettext (0.21-4ubuntu4) ...
2024-06-06T14:42:10.5384201Z Preparing to unpack .../03-libarchive13_3.6.0-1ubuntu1.1_amd64.deb ...
2024-06-06T14:42:10.5626113Z Unpacking libarchive13:amd64 (3.6.0-1ubuntu1.1) over (3.6.0-1ubuntu1) ...
2024-06-06T14:42:10.5963352Z Selecting previously unselected package libarchive-tools.
2024-06-06T14:42:10.6123674Z Preparing to unpack .../04-libarchive-tools_3.6.0-1ubuntu1.1_amd64.deb ...
2024-06-06T14:42:10.6130730Z Unpacking libarchive-tools (3.6.0-1ubuntu1.1) ...
2024-06-06T14:42:10.6396088Z Selecting previously unselected package liburing2:amd64.
2024-06-06T14:42:10.6562261Z Preparing to unpack .../05-liburing2_2.1-2build1_amd64.deb ...
2024-06-06T14:42:10.6572288Z Unpacking liburing2:amd64 (2.1-2build1) ...
2024-06-06T14:42:10.6834851Z Selecting previously unselected package nbd-client.
2024-06-06T14:42:10.7002686Z Preparing to unpack .../06-nbd-client_1%3a3.23-3ubuntu1.22.04.1_amd64.deb ...
2024-06-06T14:42:10.7067463Z Unpacking nbd-client (1:3.23-3ubuntu1.22.04.1) ...
2024-06-06T14:42:10.7354580Z Selecting previously unselected package nbd-server.
2024-06-06T14:42:10.7521925Z Preparing to unpack .../07-nbd-server_1%3a3.23-3ubuntu1.22.04.1_amd64.deb ...
2024-06-06T14:42:10.7531118Z Unpacking nbd-server (1:3.23-3ubuntu1.22.04.1) ...
2024-06-06T14:42:10.7801582Z Selecting previously unselected package qemu-user-static.
2024-06-06T14:42:10.7964378Z Preparing to unpack .../08-qemu-user-static_1%3a6.2+dfsg-2ubuntu6.21_amd64.deb ...
2024-06-06T14:42:10.7998677Z Unpacking qemu-user-static (1:6.2+dfsg-2ubuntu6.21) ...
2024-06-06T14:42:11.2655822Z Selecting previously unselected package qemu-utils.
2024-06-06T14:42:11.2817234Z Preparing to unpack .../09-qemu-utils_1%3a6.2+dfsg-2ubuntu6.21_amd64.deb ...
2024-06-06T14:42:11.2824349Z Unpacking qemu-utils (1:6.2+dfsg-2ubuntu6.21) ...
2024-06-06T14:42:11.3357236Z Selecting previously unselected package quilt.
2024-06-06T14:42:11.3517476Z Preparing to unpack .../10-quilt_0.66-2.1_all.deb ...
2024-06-06T14:42:11.3592915Z Unpacking quilt (0.66-2.1) ...
2024-06-06T14:42:11.4110814Z Selecting previously unselected package debootstrap.
2024-06-06T14:42:11.4276116Z Preparing to unpack .../11-debootstrap_1.0.126+nmu1ubuntu0.7_all.deb ...
2024-06-06T14:42:11.4283744Z Unpacking debootstrap (1.0.126+nmu1ubuntu0.7) ...
2024-06-06T14:42:11.4844453Z Setting up debootstrap (1.0.126+nmu1ubuntu0.7) ...
2024-06-06T14:42:11.4868074Z Setting up gettext (0.21-4ubuntu4) ...
2024-06-06T14:42:11.4891931Z Setting up libarchive13:amd64 (3.6.0-1ubuntu1.1) ...
2024-06-06T14:42:11.4913477Z Setting up qemu-user-static (1:6.2+dfsg-2ubuntu6.21) ...
2024-06-06T14:42:11.5282940Z Setting up xxd (2:8.2.3995-1ubuntu2.17) ...
2024-06-06T14:42:11.5304082Z Setting up nbd-server (1:3.23-3ubuntu1.22.04.1) ...
2024-06-06T14:42:11.6667992Z 
2024-06-06T14:42:11.6669377Z Creating config file /etc/nbd-server/config with new version
2024-06-06T14:42:11.7327041Z Adding system user `nbd' (UID 118) ...
2024-06-06T14:42:11.7327845Z Adding new group `nbd' (GID 128) ...
2024-06-06T14:42:11.7420444Z Adding new user `nbd' (UID 118) with group `nbd' ...
2024-06-06T14:42:11.7663380Z Not creating home directory `/etc/nbd-server'.
2024-06-06T14:42:12.0737281Z Setting up diffstat (1.64-1build2) ...
2024-06-06T14:42:12.0762568Z Setting up nbd-client (1:3.23-3ubuntu1.22.04.1) ...
2024-06-06T14:42:12.2007923Z update-initramfs: deferring update (trigger activated)
2024-06-06T14:42:12.2070513Z update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
2024-06-06T14:42:12.4662540Z Setting up liburing2:amd64 (2.1-2build1) ...
2024-06-06T14:42:12.4685145Z Setting up libarchive-tools (3.6.0-1ubuntu1.1) ...
2024-06-06T14:42:12.4704878Z Setting up quilt (0.66-2.1) ...
2024-06-06T14:42:12.4792091Z Setting up qemu-utils (1:6.2+dfsg-2ubuntu6.21) ...
2024-06-06T14:42:12.4819182Z Processing triggers for initramfs-tools (0.140ubuntu13.4) ...
2024-06-06T14:42:12.5468370Z update-initramfs: Generating /boot/initrd.img-6.5.0-1021-azure
2024-06-06T14:42:21.3326773Z Processing triggers for libc-bin (2.35-0ubuntu3.7) ...
2024-06-06T14:42:21.3579825Z Processing triggers for mandb (2.10.2-1) ...
2024-06-06T14:42:21.7813952Z Processing triggers for install-info (6.8-4build1) ...
2024-06-06T14:42:22.1233939Z NEEDRESTART-VER: 3.5
2024-06-06T14:42:22.3926698Z NEEDRESTART-KCUR: 6.5.0-1021-azure
2024-06-06T14:42:22.3927239Z NEEDRESTART-KEXP: 6.5.0-1021-azure
2024-06-06T14:42:22.3927671Z NEEDRESTART-KSTA: 1
2024-06-06T14:42:24.4980170Z [command]/usr/bin/sudo modprobe -a binfmt_misc nbd
2024-06-06T14:42:24.5197391Z Installed packages on host: binfmt-support qemu-user-static qemu-utils nbd-server nbd-client openssh-client quilt parted coreutils debootstrap zerofree zip dosfstools libcap2-bin libarchive-tools grep rsync xz-utils curl xxd file git kmod bc kpartx pigz
2024-06-06T14:42:24.5200560Z Loaded modules on host: binfmt_misc nbd
2024-06-06T14:42:24.5202441Z ##[endgroup]
2024-06-06T14:42:24.5203677Z ##[group]Running pi-gen build
2024-06-06T14:42:24.5210301Z ##[endgroup]
2024-06-06T14:42:24.5244720Z ##[error]pi-gen directory at pi-gen is invalid
undefined
2024-06-06T14:42:24.5751742Z Post job cleanup.
2024-06-06T14:42:24.6554523Z ##[group]Removing pi-gen build container
2024-06-06T14:42:24.6598394Z [command]/usr/bin/docker rm -v pigen_work
2024-06-06T14:42:24.7008894Z Error response from daemon: No such container: pigen_work
2024-06-06T14:42:24.7038105Z ##[endgroup]
2024-06-06T14:42:24.7290222Z Cleaning up orphan processes

Additional context Add any other context about the problem here.

usimd commented 1 month ago

Thanks for reporting this. Was able to reproduce, debug logging reported:

##[debug]Not all required directories in pi-gen dir. Required: stage0, stage1, stage2, stage3, stage4, stage5 but found .git, export-image, export-noobs, scripts, stage0, stage1, stage2, stage3, stage4

The configured ref of pi-gen at https://github.com/RPi-Distro/pi-gen/tree/2023-05-03-raspios-buster does indeed not contain a stage5. Not entirely sure about the ramifications, but I think we could relax the verification check here to always verify stages 0 to 4 instead. This was anyhow only implemented to prevent people from running on anything that does not look like an actual pi-gen clone.

If you agree, we could move forward with this fix. A PR would be welcome and should be easy enough by just adding an additional filter step to strip stage5 at https://github.com/usimd/pi-gen-action/blob/master/src/pi-gen.ts#L126-L128.

Meisterschueler commented 4 weeks ago

Thanks for the analysis. Would it be possible to add the filter only when the release is set to Bullseye? I'm not in your code and I'm not in TypeScript either ...