New issue
Advanced search Search tips

Issue 832849 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: May 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Fuchsia
Pri: 2
Type: Bug



Sign in to add a comment

/data minfs creation sometimes flakes in runner_v2

Project Member Reported by kmarshall@chromium.org, Apr 13 2018

Issue description

Sometimes swarming bots fail to create the minfs /data partition which we use to supply SSH server credentials to the VM. Could be due to a bug in the minfs creation tools, or we need to wait for a flush...?

https://chromium-swarm.appspot.com/task?id=3cd9071748e45410&refresh=10&show_raw=1

Traceback (most recent call last):
  File "/mnt/data/b/s/w/ir/build/fuchsia/runner_v2/test_runner.py", line 118, in <module>
    sys.exit(main())
  File "/mnt/data/b/s/w/ir/build/fuchsia/runner_v2/test_runner.py", line 93, in main
    target.Start()
  File "/mnt/data/b/s/w/ir/build/fuchsia/runner_v2/qemu_target.py", line 83, in Start
    False)),
  File "/mnt/data/b/s/w/ir/build/fuchsia/runner_v2/boot_data.py", line 128, in ConfigureDataFVM
    os.remove(data_file)
OSError: [Errno 2] No such file or directory: '/mnt/data/b/s/w/ir/out/repro_arm/data.minfs.bin'
 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 26 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9cc30ac0243a42f29f450acea6454c78d3352a81

commit 9cc30ac0243a42f29f450acea6454c78d3352a81
Author: Kevin Marshall <kmarshall@chromium.org>
Date: Thu Apr 26 04:05:35 2018

Fuchsia: Write temporary minfs data files to tmpdir.

This change uses the tempfile library to manage temporary named files
instead of using a DIY try/finally approach.

Bug:  832849 
Change-Id: I439ff29edfb0e8791202604d56f891827d79f0a2
Reviewed-on: https://chromium-review.googlesource.com/1029212
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553908}
[modify] https://crrev.com/9cc30ac0243a42f29f450acea6454c78d3352a81/build/fuchsia/runner_v2/boot_data.py

Status: Verified (was: Assigned)
Haven't seen this error recur since the the fix CL.

Sign in to add a comment