My favorites | Sign in
Project Home Downloads Wiki Issues Code Search
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 201665: cros_au_test_harness runs image_to_vm which fails in buildbot during e2fsck
1 person starred this issue and may be notified of changes. Back to list
 
Project Member Reported by kmix...@chromium.org, Aug 2, 2011
http://chromeos-botmaster.mtv:8026/builders/x86-zgb%20binary%200.13.587.B/builds/89/steps/cbuildbot/logs/stdio

It appears that running auto update tests involves creating a VM image.  The VM image creation involves running e2fsck.  e2fsck fails, causing the test to fail, causing the tree to close.

Here are the pertinent messages:

************************************************************
** Start Stage Test - 10:57:30
** 
** Stage that performs testing steps.
************************************************************
...
INFO: RunCommand: ['bin/cros_au_test_harness', '--base_image=/b/cbuild/x86-zgb-binary-0.13.587.B/src/scripts/latest_download/chromiumos_test_image.bin', '--target_image=/b/cbuild/x86-zgb-binary-0.13.587.B/src/build/images/x86-zgb/0.13.587.101-a1/chromiumos_test_image.bin', '--board=x86-zgb', '--type=vm', '--remote=0.0.0.0', '--test_results_root=/b/cbuild/x86-zgb-binary-0.13.587.B/chroot/tmp/cbuildbot7TY1CV/test_harness', '--no_graphics', '--clean', '--private_key=/b/cbuild/x86-zgb-binary-0.13.587.B/src/platform/crostestutils/ctest/../../../../src/scripts/../platform/update_engine/unittest_key.pem', '--public_key=public_key.pem'] in /b/cbuild/x86-zgb-binary-0.13.587.B/src/platform/crostestutils/ctest/../../../../src/scripts

INFO: Cleaning up previous work.

INFO: Using /b/cbuild/x86-zgb-binary-0.13.587.B/chroot/tmp/cbuildbot7TY1CV/test_harness as the test results root

INFO: Creating /b/cbuild/x86-zgb-binary-0.13.587.B/src/build/images/x86-zgb/0.13.587.101-a1/chromiumos_qemu_image.bin

INFO: PROGRAM(cros_au_test_harness) -> RunCommand: ['./enter_chroot.sh', '--', './image_to_vm.sh', '--full', '--from=/home/chrome-bot/trunk/src/build/images/x86-zgb/0.13.587.101-a1', '--vdisk_size=6072', '--statefulfs_size=3074', '--board=x86-zgb', '--test_image'] in dir /b/cbuild/x86-zgb-binary-0.13.587.B/src/scripts/lib/..
~/trunk/src/build/images/x86-zgb/0.13.587.101-a1 ~/trunk/src/scripts

...

INFO    : Running e2fsck to check root file system for errors
e2fsck 1.41.9 (22-Aug-2009)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Free blocks count wrong for group #3 (280, counted=281).
Fix? no

Free blocks count wrong (58698, counted=58699).
Fix? no

Free inodes count wrong for group #3 (5026, counted=5027).
Fix? no

Free inodes count wrong (45144, counted=45145).
Fix? no


C-ROOT: ********** WARNING: Filesystem still has errors **********


C-ROOT: ********** WARNING: Filesystem still has errors **********

C-ROOT: 9288/54432 files (0.5% non-contiguous), 158902/217600 blocks
ERROR   : Root file system has errors, please ensure boot.desc and/or command line parameters are correct

INFO: Cleaning up.  Removing keys added as part of testing.
Traceback (most recent call last):
  File "bin/cros_au_test_harness", line 303, in <module>
    main()
  File "bin/cros_au_test_harness", line 272, in main
    update_cache = _PregenerateUpdates(options)
  File "bin/cros_au_test_harness", line 124, in _PregenerateUpdates
    'Error finding updates to generate.')
update_exception.UpdateException: Error finding updates to generate.
Traceback (most recent call last):
  File "bin/ctest", line 343, in <module>
    main()
  File "bin/ctest", line 339, in main
    not options.cache, options.test_results_root)
  File "bin/ctest", line 305, in RunAUTestHarness
    cros_lib.RunCommand(cmd, cwd=crosutils_root)
  File "/b/cbuild/x86-zgb-binary-0.13.587.B/src/platform/crostestutils/ctest/../../../../chromite/lib/cros_build_lib.py", line 151, in RunCommand
    raise RunCommandError(msg, cmd)
chromite.lib.cros_build_lib.RunCommandError: Command "['bin/cros_au_test_harness', '--base_image=/b/cbuild/x86-zgb-binary-0.13.587.B/src/scripts/latest_download/chromiumos_test_image.bin', '--target_image=/b/cbuild/x86-zgb-binary-0.13.587.B/src/build/images/x86-zgb/0.13.587.101-a1/chromiumos_test_image.bin', '--board=x86-zgb', '--type=vm', '--remote=0.0.0.0', '--test_results_root=/b/cbuild/x86-zgb-binary-0.13.587.B/chroot/tmp/cbuildbot7TY1CV/test_harness', '--no_graphics', '--clean', '--private_key=/b/cbuild/x86-zgb-binary-0.13.587.B/src/platform/crostestutils/ctest/../../../../src/scripts/../platform/update_engine/unittest_key.pem', '--public_key=public_key.pem']" with extra env None


INFO: PROGRAM(cbuildbot) -> RunCommand: ['tar', 'czf', '/b/cbuild/x86-zgb-binary-0.13.587.B/test_results.tgz', '--directory=/b/cbuild/x86-zgb-binary-0.13.587.B/chroot/tmp/cbuildbot7TY1CV', '.'] in dir None
Traceback (most recent call last):
  File "/b/build/slave/x86-zgb-binary-0.13.587.B/build/chromite/buildbot/cbuildbot_stages.py", line 339, in Run
    self._PerformStage()
  File "/b/build/slave/x86-zgb-binary-0.13.587.B/build/chromite/buildbot/cbuildbot_stages.py", line 554, in _PerformStage
    full=(not self._build_config['quick_vm']))
  File "/b/build/slave/x86-zgb-binary-0.13.587.B/build/chromite/buildbot/cbuildbot_commands.py", line 339, in RunTestSuite
    cros_lib.OldRunCommand(cmd, cwd=cwd, error_ok=False)
  File "/b/build/slave/x86-zgb-binary-0.13.587.B/build/chromite/lib/cros_build_lib.py", line 478, in OldRunCommand
    raise e
RunCommandException: Command "['bin/ctest', '--board=x86-zgb', '--channel=dev-channel', '--zipbase=http://chromeos-images.corp.google.com' '--type=vm', '--no_graphics', '--test_results_root=/b/cbuild/x86-zgb-binary-0.13.587.B/chroot/tmp/cbuildbot7TY1CV/test_harness']" failed.

Mar 16, 2013
#1 bugdroid1@chromium.org
(No comment was entered for this change.)
Mergedinto: chromium-os:19205
Aug 9, 2011
#2 su...@chromium.org
Andrew, can you please take a look?
Status: Assigned
Owner: adlr@chromium.org
Aug 9, 2011
#3 adlr@chromium.org
I was unable to reproduce this bug. Is it occurring often on the bots? When it happens again, can I get all the bin files (specifically that one that's fed into image_to_vm)?
Sep 2, 2011
#4 davidjames@google.com
Suspecting this is a dup of  Issue 19205 
Status: Duplicate
Mergedinto: 19205
Mar 6, 2013
#5 lafo...@google.com
(No comment was entered for this change.)
Labels: OS-Chrome
Mar 9, 2013
#6 bugdroid1@chromium.org
(No comment was entered for this change.)
Labels: -Area-Installer -TreeCloser Cr-Internals-Installer Hotlist-TreeCloser
Sign in to add a comment

Powered by Google Project Hosting