My favorites | Sign in
Project Home Downloads Wiki Issues Code Search
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 202068: Race condition causes archive_build failure
1 person starred this issue and may be notified of changes. Back to list
 
Project Member Reported by davidjames@chromium.org, Aug 10, 2011
From http://chromeos-botmaster.mtv.corp.google.com:8026/builders/x86-alex-binary/builds/809:

Done.  Image created in /home/chrome-bot/trunk/src/build/images/x86-alex/0.15.877.0-a4
Chromium OS image created as chromiumos_base_image.bin
Developer image created as chromiumos_image.bin
Elapsed time: 12m8s
To copy to USB keyfob, do something like:
  ./image_to_usb.sh --from=../build/images/x86-alex/0.15.877.0-a4 --to=/dev/sdX
To convert to VMWare image, INSIDE the chroot, do something like:
  ./image_to_vm.sh --from=../build/images/x86-alex/0.15.877.0-a4 --board=x86-alex
from the scripts directory where you entered the chroot.
Using alternate emerge
Creating test image from original...
pv: /home/chrome-bot/trunk/src/build/images/x86-alex/0.15.877.0-a1/chromiumos_image.bin: No such file or directory
ERROR   : Cannot copy /home/chrome-bot/trunk/src/build/images/x86-alex/0.15.877.0-a1/chromiumos_image.bin to test image



Aug 11, 2011
#1 dlau...@chromium.org
Saw again this morning:

Done.  Image created in /home/chrome-bot/trunk/src/build/images/x86-zgb/0.15.882.0-a4
Chromium OS image created as chromiumos_base_image.bin
Developer image created as chromiumos_image.bin
Elapsed time: 11m1s
To copy to USB keyfob, do something like:
  ./image_to_usb.sh --from=../build/images/x86-zgb/0.15.882.0-a4 --to=/dev/sdX
To convert to VMWare image, INSIDE the chroot, do something like:
  ./image_to_vm.sh --from=../build/images/x86-zgb/0.15.882.0-a4 --board=x86-zgb
from the scripts directory where you entered the chroot.
Using alternate emerge
Creating test image from original...
pv: /home/chrome-bot/trunk/src/build/images/x86-zgb/0.15.882.0-a1/chromiumos_image.bin: No such file or directory
ERROR   : Cannot copy /home/chrome-bot/trunk/src/build/images/x86-zgb/0.15.882.0-a1/chromiumos_image.bin to test image

Aug 11, 2011
#2 bugdroid1@chromium.org
Commit: 4dd4c54ccb1e41e37ef7708376ae1f2ca28712cf
 Email: davidjames@chromium.org

Fix race condition by using different symlinks for factory images.

Both the tests and archive_build read and write the latest symlink.
This CL fixes a race condition in archive_build by moving away from
using the latest symlink in archive_build.

BUG=chromium-os:18967
TEST=Run release cbuildbot archive_build on x86-mario-release.
     Verify it completes successfully and that latest symlink
     is unchanged now.

Change-Id: Ia32d20903f3ef74e360944fbabdd9834c0edb99a
Reviewed-on: http://gerrit.chromium.org/gerrit/5746
Reviewed-by: David James <davidjames@chromium.org>
Tested-by: David James <davidjames@chromium.org>

M	archive_build.sh
M	build_image
M	make_netboot.sh
Aug 11, 2011
#3 davidjames@chromium.org
(No comment was entered for this change.)
Status: Fixed
Aug 17, 2011
#4 kr...@chromium.org
(No comment was entered for this change.)
Status: Verified
Aug 18, 2011
#5 or...@chromium.org
(No comment was entered for this change.)
Labels: Iteration-36
Sep 13, 2011
#6 chromeos...@chromium.org
(No comment was entered for this change.)
Labels: FixedIn-0.15-884.0
Oct 25, 2011
#7 chromeos...@chromium.org
(No comment was entered for this change.)
Labels: -FixedIn-0.15-884.0 FixedIn-884.0.0
Jan 20, 2012
#8 chromeos...@chromium.org
(No comment was entered for this change.)
Labels: FixedInIndex-1e
Mar 6, 2013
#9 bugdroid1@chromium.org
(No comment was entered for this change.)
Labels: OS-Chrome
Mar 9, 2013
#10 bugdroid1@chromium.org
(No comment was entered for this change.)
Labels: -Area-Build -TreeCloser Build Hotlist-TreeCloser
Sign in to add a comment

Powered by Google Project Hosting