[pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/place-scripts] 2026-08-05T16:28:42.733510815-05:00 2026/08/05 21:28:42 Decoded script /tekton/scripts/script-0-2nw8r [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.599220773-05:00 ==> edge-ota-install: img=/workspace/source/edge/.selfinstall-amd64/storeminder-edge-amd64-0.0.0-rbtest2-selfinstall.img [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.599267113-05:00 ==> edge-ota-install: self-signing a probe artifact from slot A (gate runs before publish) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.613196835-05:00 ==> edge-ota-install (edge#471): real mender-update standalone install of the bake's .mender [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.615052506-05:00 [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.615067516-05:00 ==== edge-ota-install selftest (Layer 1): rootfs-image standalone env-dir contract ==== [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.618068952-05:00 [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.618080172-05:00 ==== selftest BRANCH A: self-install ESP layout (edge#470 state) -> install MUST fail ==== [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.623979393-05:00 PASS: A: mender-update install exits status 2 (the metal rc) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.625338327-05:00 PASS: A: reproduces the literal 'Cannot determine environment directory' (edge#470) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.627039188-05:00 PASS: A: upgrade_available NOT set (no switch recorded) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.627057198-05:00 PASS: A: slot B untouched (box stays on slot A -- 'unharmed' on metal) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.627067238-05:00 [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.627071278-05:00 ==== selftest BRANCH B: post-edge#470 ESP layout -> install MUST succeed ==== [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.638153935-05:00 PASS: B: mender-update install exits 0 (env dir determined) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.640339634-05:00 PASS: B: upgrade_available=1 (slot switch recorded) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.640406934-05:00 PASS: B: slot B (UROOTB) written with the new rootfs payload [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.641700837-05:00 [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.641714897-05:00 ==== selftest anchor: does the SHIPPED self-install yet expose a mender env dir? ==== [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.644005416-05:00 WARN: anchor: install-system.sh NOW lays a grub-mender-grubenv env dir -> Layer 2 should be GREEN (edge#470 landed) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.646081896-05:00 WARN: anchor: mender.conf.j2 NOW declares a bootloader-env location -> reconciled with mender-update [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.646306645-05:00 [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.646311915-05:00 ==== edge-ota-install Layer 2: materialize the self-install disk, then real mender-update install ==== [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.650368585-05:00 image : /workspace/source/edge/.selfinstall-amd64/storeminder-edge-amd64-0.0.0-rbtest2-selfinstall.img [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.650379505-05:00 work : /workspace/source/edge/.ota-install-amd64 [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.659288682-05:00 [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.659342952-05:00 ==== Phase 1: mount the shipped installer payload from the self-install .img (IROOT) ==== [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.699279789-05:00 PASS: installer payload: /workspace/source/edge/.ota-install-amd64/ota-install.iroot/opt/installer (install-system.sh: /workspace/source/edge/.ota-install-amd64/ota-install.iroot/opt/installer/install-system.sh) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.699377158-05:00 [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.699382618-05:00 ==== Phase 2: run the shipped install-system.sh -> materialize the A/B target disk ==== [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:28:47.743323426-05:00 running: INSTALL_TARGET_DISK=/dev/loop42 sh /workspace/source/edge/.ota-install-amd64/ota-install.iroot/opt/installer/install-system.sh (log: /workspace/source/edge/.ota-install-amd64/ota-materialize.log) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:10.167756176-05:00 PASS: materialize: install-system.sh laid the A/B target disk (slot A + ESP + grubenv) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:10.209305226-05:00 [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:10.209324915-05:00 ==== Phase 3: real shipped mender-update standalone install onto the materialized disk ==== [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:10.217992194-05:00 PASS: materialized slots: ESP=/dev/loop42p1 UROOTA=/dev/loop42p2 UROOTB=/dev/loop42p3 DATA=/dev/loop42p4 [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:10.236675183-05:00 PASS: shipped client: slot A carries mender-update at /usr/bin/mender-update [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:10.274303281-05:00 WARN: no .mender provided -> self-signing a probe artifact from slot A (ephemeral key) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:33.471688248-05:00 PASS: install artifact: self-signed /workspace/source/edge/.ota-install-amd64/ota.mender from slot A [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:33.535742989-05:00 [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:33.535817649-05:00 ==== RUN: chroot slot A -> /usr/bin/mender-update install /ota.mender ==== [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.001112772-05:00 ---- mender-update install output (rc=0) ---- [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.002604935-05:00 mu| record_id=1 severity=info time="2026-Aug-05 21:29:33.597281" name="Global" msg="Installing the bootstrap Artifact" [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.002624275-05:00 mu| Installing artifact... [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.002629675-05:00 mu| record_id=2 severity=info time="2026-Aug-05 21:29:33.843960" name="Global" msg="Running State Script: /etc/mender/scripts/Download_Enter_00_slot_incomplete" [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.002635115-05:00 mu| record_id=3 severity=info time="2026-Aug-05 21:29:33.873824" name="Global" msg="Collected output (stdout) while running script: [slot-marker] no completeness marker on the slot(s) about to be written (3) -- nothing to clear, deployment proceeds" [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.002639595-05:00 mu| 0% 1% 2% 3% 4% 5% 6% 7% 8% 9% 10% 11% 12% 13% 14% 15% 16% 17% 18% 19% 20% 21% 22% 23% 24% 25% 26% 27% 28% 29% 30% 31% 32% 33% 34% 35% 36% 37% 38% 39% 40% 41% 42% 43% 44% 45% 46% 47% 48% 49% 50% 51% 52% 53% 54% 55% 56% 57% 58% 59% 60% 61% 62% 63% 64% 65% 66% 67% 68% 69% 70% 71% 72% 73% 74% 75% 76% 77% 78% 79% 80% 81% 82% 83% 84% 85% 86% 87% 88% 89% 90% 91% 92% 93% 94% 95% 96% 97% 98% 99% 100%record_id=4 severity=info time="2026-Aug-05 21:29:57.213981" name="Global" msg="Update Module output (stdout): ================ STATISTICS ================" [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.002645535-05:00 mu| record_id=5 severity=info time="2026-Aug-05 21:29:57.214059" name="Global" msg="Update Module output (stdout): Blocks written: 17" [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.002649425-05:00 mu| record_id=6 severity=info time="2026-Aug-05 21:29:57.214076" name="Global" msg="Update Module output (stdout): Blocks omitted: 7019" [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.002653455-05:00 mu| record_id=7 severity=info time="2026-Aug-05 21:29:57.214087" name="Global" msg="Update Module output (stdout): Bytes written: 17825792" [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.002657265-05:00 mu| record_id=8 severity=info time="2026-Aug-05 21:29:57.214096" name="Global" msg="Update Module output (stdout): ============================================" [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.002668415-05:00 mu| Installed, but not committed. [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.002675144-05:00 mu| Use 'commit' to update, or 'rollback' to roll back the update. [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.002678974-05:00 mu| At least one payload requested a reboot of the device it updated. [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.002756094-05:00 ---- end output ---- [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.002804954-05:00 PASS: install: shipped mender-update install exited 0 [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.012451977-05:00 PASS: install: slot B (UROOTB) written with a populated rootfs [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.012572727-05:00 PASS: install: client EXTRACTED the artifact-carried gate to /data/mender/scripts (edge#521 -- the exact file #543 found MISSING is now present; ArtifactCommit_Enter can run on commit) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.016353559-05:00 PASS: install: bootloader-env upgrade_available=1 (slot switch armed) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.021254485-05:00 PASS: mapping: client armed the PASSIVE slot (mender_boot_part=3=UROOTB) (edge#508) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.021276695-05:00 PASS: mapping: ACTIVE slot A untouched (its mender-update binary survives the install) (edge#508) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.021329625-05:00 PASS: mapping: probe payload marker absent from slot A (nothing landed on the active slot) (edge#508) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.030997468-05:00 PASS: mapping: probe payload marker present on slot B (payload landed on the PASSIVE slot) (edge#508) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.547577898-05:00 [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.547838387-05:00 ==> summary: 16 passed, 0 failed [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.547851237-05:00 ==> edge-ota-install: OK (env-dir contract modelled; real install passed or cleanly SKIPPED) [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/step-ota-install] 2026-08-05T16:29:58.547857007-05:00 ==> edge-ota-install: GREEN -- the bake's .mender installs onto the bake's disk layout [pod/edge-image-builder-rcval-5pcs7-ota-install-amd64-pod/prepare] 2026-08-05T16:28:41.526712885-05:00 2026/08/05 21:28:41 Entrypoint initialization