New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 629136 link

Starred by 3 users

Issue metadata

Status: Verified
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

[Parrot-IVB/Parrot/Mario] AU/Recovery failed due to required firmware updater is not available

Project Member Reported by abod...@chromium.org, Jul 18 2016

Issue description

Perform AU from 8350.31.0(M52) => 8530.20.0(M53).

Expected Result:
Device should be update to 8530.20.0(M53).

Actual Result:
AU failed.

PostInstall Configured: (B, /dev/sda5, /dev/sda4, /dev/sda12)

FROM (rootfs):
CHROMEOS_AUSERVER=https://tools.google.com/service/update2
CHROMEOS_BOARD_APPID={9D137383-EB72-4BA9-A523-91AC0853F8AD}
CHROMEOS_CANARY_APPID={90F229CE-83E2-4FAF-8479-E368A34938B1}
CHROMEOS_DEVSERVER=
CHROMEOS_RELEASE_APPID={9D137383-EB72-4BA9-A523-91AC0853F8AD}
CHROMEOS_RELEASE_BOARD=parrot_ivb-signed-mp-v3keys
CHROMEOS_RELEASE_BRANCH_NUMBER=31
CHROMEOS_RELEASE_BUILD_NUMBER=8350
CHROMEOS_RELEASE_BUILD_TYPE=Official Build
CHROMEOS_RELEASE_CHROME_MILESTONE=52
CHROMEOS_RELEASE_DESCRIPTION=8350.31.0 (Official Build) beta-channel parrot_ivb 
CHROMEOS_RELEASE_NAME=Chrome OS
CHROMEOS_RELEASE_PATCH_NUMBER=0
CHROMEOS_RELEASE_TRACK=beta-channel
CHROMEOS_RELEASE_VERSION=8350.31.0
DEVICETYPE=CHROMEBOOK
GOOGLE_RELEASE=8350.31.0

FROM (stateful):
CHROMEOS_IS_POWERWASH_ALLOWED=false
CHROMEOS_RELEASE_TRACK=dev-channel

TO:
CHROMEOS_AUSERVER=https://tools.google.com/service/update2
CHROMEOS_BOARD_APPID={9D137383-EB72-4BA9-A523-91AC0853F8AD}
CHROMEOS_CANARY_APPID={90F229CE-83E2-4FAF-8479-E368A34938B1}
CHROMEOS_DEVSERVER=
CHROMEOS_RELEASE_APPID={9D137383-EB72-4BA9-A523-91AC0853F8AD}
CHROMEOS_RELEASE_BOARD=parrot_ivb-signed-mp-v3keys
CHROMEOS_RELEASE_BRANCH_NUMBER=20
CHROMEOS_RELEASE_BUILD_NUMBER=8530
CHROMEOS_RELEASE_BUILD_TYPE=Official Build
CHROMEOS_RELEASE_CHROME_MILESTONE=53
CHROMEOS_RELEASE_DESCRIPTION=8530.20.0 (Official Build) dev-channel parrot_ivb 
CHROMEOS_RELEASE_NAME=Chrome OS
CHROMEOS_RELEASE_PATCH_NUMBER=0
CHROMEOS_RELEASE_TRACK=dev-channel
CHROMEOS_RELEASE_VERSION=8530.20.0
DEVICETYPE=CHROMEBOOK
GOOGLE_RELEASE=8530.20.0

ChromeosChrootPostinst(8350.31.0)
Set boot target to /dev/sda5: Partition 5, Slot B
SetImage
KERNEL_CONFIG: console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-1 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="2 vboot none ro 1,0 2545920 bootcache PARTUUID=%U/PARTNROFF=1 2545920 7500b283bedf12361bb0d8cfd1c5fa7ec31ca853 512 20000 100000, vroot none ro 1,0 2506752 verity payload=254:0 hashtree=254:0 hashstart=2506752 alg=sha1 root_hexdigest=0b29361c1da8bf21bdf664c648c726d28ecfa741 salt=bb16e47fe94bed409ca9b2c02fcbe8c6ec90ea58cfbcfbc0a8d86dfcd2751338" noinitrd vt.global_cursor_default=0 kern_guid=%U add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic iTCO_vendor_support.vendorsupport=3  
Setting up verity.
Finished after 13 seconds.
Clearing network driver boot cache: /var/lib/preload-network-drivers.
Syncing filesystems before changing boot order...
Finished after 0 seconds.
Updating Partition Table Attributes using CgptManager...
Updated kernel 4 with Successful = 0 and NumTriesLeft = 6
Checking /mnt/stateful_partition/unencrypted permission.
Permission is ok.
No firmware updates available.
Rolling back update due to failure installing required firmware.
Successfully updated GPT with all settings to rollback.
PostInstall Failed

[0718/101427:ERROR:postinstall_runner_action.cc(291)] Postinst command failed with code: 1
[0718/101427:ERROR:postinstall_runner_action.cc(328)] Postinstall action failed.
[0718/101427:INFO:action_processor.cc(116)] ActionProcessor: finished PostinstallRunnerAction with code ErrorCode::kPostinstallRunnerError
[0718/101427:INFO:action_processor.cc(121)] ActionProcessor: Aborting processing due to failure.
[0718/101427:INFO:update_attempter.cc(909)] Processing Done.
[0718/101427:INFO:cpu_limiter.cc(71)] Setting cgroup cpu shares to  1024
[0718/101427:INFO:cpu_limiter.cc(79)] CPU shares = 1024
[0718/101427:ERROR:update_attempter.cc(1333)] Update failed.
[0718/101427:INFO:payload_state.cc(247)] Updating payload state for error code: 5 (ErrorCode::kPostinstallRunnerError)
 
update_engine.20160715-173023.txt
97.5 KB View Download

Comment 1 by dchan@google.com, Jul 18 2016

Cc: dhend...@chromium.org
Labels: M-53

Comment 4 by dchan@google.com, Jul 18 2016

might not be related, but i filed https://b.corp.google.com/u/0/issues/30193565
Yeah, seems like a build issue. Another clue from the update_engine log:
No firmware updates available.
Rolling back update due to failure installing required firmware.

As you point out in #4, it appears that the firmware image isn't being bundled with the AU image.
Project Member

Comment 6 by sheriffbot@chromium.org, Jul 19 2016

Labels: -M-53 M-54 MovedFrom-53
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: ReleaseBlock-Beta M-53
AU failed on M53 builds. 
Cc: ka...@chromium.org sontis@chromium.org
Failed Recovery install too. attached recovery log. 
recovery.log
110 KB View Download

Comment 9 by son...@google.com, Jul 19 2016

Labels: -ReleaseBlock-Beta ReleaseBlock-Dev
Summary: [Parrot-IVB] AU/Recovery failed due to required firmware updater is not available (was: [Parrot-IVB] AU failed due to required firmware updater is not available )
From recovery log:
==================================
KERNEL_CONFIG: console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-1 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="2 vboot none ro 1,0 2545920 bootcache PARTUUID=%U/PARTNROFF=1 2545920 6b003ee529f9588ebade5da7a50cb3bc679b13f5 512 20000 100000, vroot none ro 1,0 2506752 verity payload=254:0 hashtree=254:0 hashstart=2506752 alg=sha1 root_hexdigest=6868068ec832359d1a3f4dcca5a243ea5800ce60 salt=4b602562f36d0aa9d19da95d3440caa4788b0c433a8bd777f023b16ef9da4514" noinitrd vt.global_cursor_default=0 kern_guid=%U add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic iTCO_vendor_support.vendorsupport=3  
Setting up verity.
Finished after 12 seconds.
Clearing network driver boot cache: /var/lib/preload-network-drivers.
Syncing filesystems before changing boot order...
Finished after 0 seconds.
Updating Partition Table Attributes using CgptManager...
Updated kernel 2 with Successful = 1 and NumTriesLeft = 6
Checking /mnt/stateful_partition/unencrypted permission.
RemovePackFiles Failed
Touch(/mnt/stateful_partition/.install_completed) FAILED
No firmware updates available.
Rolling back update due to failure installing required firmware.
Successfully updated GPT with all settings to rollback.
PostInstall Failed
======================================================
Labels: -M-53
removing M53 since this has been moved to M54.

Comment 11 by son...@google.com, Jul 19 2016

Labels: -Pri-2 Pri-1
Summary: [Parrot-IVB/Parrot/Mario] AU/Recovery failed due to required firmware updater is not available (was: [Parrot-IVB] AU/Recovery failed due to required firmware updater is not available )
ketakid@, I don't follow #10. Could you please elaborate? What has been moved to M54? 

Comment 13 by dchan@google.com, Jul 19 2016

Labels: -M-54 -MovedFrom-53 M-53
This is a M53 problem and apply only to 53, not 54.

Comment 14 by dchan@google.com, Jul 19 2016

Components: Build Infra>Platform>Buildbot
the automated sheriffbot had moved this bug to M54 per comment#6. That's what i was referring to. This is a recovery scenario which mostly applies to Stable builds. Is there a reason we are blocking dev for that?

Comment 16 by son...@google.com, Jul 19 2016

Facing this issue with both Auto-Update and Recovery. So this issue should be a dev blocker.

Note: Recovery issues blocks only stable if Auto-Update works fine.
Cc: reinauer@chromium.org dshi@chromium.org kevcheng@chromium.org
dshi@/kevcheng@ - can you please confirm that there have been no builder config changes to these builders for parrot/ivb/mario?

reinauer@ _ can you please confirm there haven't been any fw changes for these boards?
There doesn't seem to be any recent changes with regards to parrot/ivb/mario.
sontis@ We didn't see this issue on the last dev we did. so something has definitely changed between that build and this one. 

Comment 20 by son...@google.com, Jul 20 2016

Firmware version is not displaying for parrot and parrot-ivb in M53 build.
Please find the attachments.
parrot.png
28.4 KB View Download
parrot_ivb.png
27.8 KB View Download
Cc: -dshi@chromium.org -dhadd...@chromium.org hungte@chromium.org
There are no pending firmware updates for parrot (that I know of).

30193565 definitely looks like the same issue, not sure why it was closed as works as intended.

I noticed this:
Checking /mnt/stateful_partition/unencrypted permission.
RemovePackFiles Failed
Touch(/mnt/stateful_partition/.install_completed) FAILED


Is there an issue with stateful? 

Hung-Te, can you please have a look what might be going wrong here?
The firmware updater is running successfully:

[0715/173107:INFO:subprocess.cc(156)] Subprocess output:
Starting Google_Parrot firmware updater v3 (bootok)...
 - Updater package: [Google_Parrot.2685.54.0 / 00BE107A00]
 - Current system:  [RO:Google_Parrot.2685.54.0 [RO_NORMAL], ACT:Google_Parrot.2685.54.0 / 00BE107A00]
Warning: wpsw_cur is not availble, using wpsw_boot (1)
 - Write protection: Hardware: ON, Software: Main=off
Warning: EC FMAP layout file is overridden by ec.layout.
 * invoke: flashrom -p host -i RW_SECTION_A:_dup2_temp_from -i RW_SECTION_B:_dup2_temp_to -r _dup2_temp_image
Firmware update (bootok) completed.


Owner: dnojiri@chromium.org
Status: Assigned (was: Untriaged)
Re#22

 The 'bootok' is executed by the 'current image', not the 'imaged downloaded for AU'.
 It's true the images do not have firmware updater, and it's caused by
   https://chrome-internal-review.googlesource.com/#/c/267686/
 Same as my comment - it may break AU.

 The CL was later fixed by 
   https://chrome-internal-review.googlesource.com/#/c/268306/

 So 8529~8537 are all broken.
 
M53 unfortunately cuts the branch at 8530, which falls into the broken period.

Daisuke, please cherry-pick change 268306 into M53, thanks!
Daisuke, can we get this change cherry picked into M53 asap? I can approve merge right away.
Status: Fixed (was: Assigned)
AU is fine on parrot-M53(8530.35.0) but not tested on mario because of build is missing. 

Comment 28 by son...@google.com, Jul 29 2016

Status: Verified (was: Fixed)
Recovery is working fine.

Sign in to add a comment