when deploy android, only boot.tar.bz2 is cached. system.tar.bz2 is not cached

Bug #853657 reported by Yongqin Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Dispatcher
Fix Released
Low
Yongqin Liu

Bug Description

When deploy linaro-android, all the images should be cached.
But only the first image(boot.tar.bz2) is cached, the others is not cached.

Cause:
in method download_with_cache of utils.py file, there is a line "os.makedirs(os.path.dirname(cache_loc))"
but the cache directory has been created in the first image downloading.
So, when use os.makedirs to create an exist directory , it will report an OSError, and it's errno is 17.
And then the cache process will be ignored.

Related branches

Yongqin Liu (liuyq0307)
Changed in lava-dispatcher:
assignee: nobody → Yongqin Liu (liuyq0307)
Yongqin Liu (liuyq0307)
Changed in lava-dispatcher:
milestone: none → 2011.09
Paul Larson (pwlars)
Changed in lava-dispatcher:
status: New → Fix Committed
Paul Larson (pwlars)
Changed in lava-dispatcher:
importance: Undecided → Low
Fathi Boudra (fboudra)
Changed in lava-dispatcher:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.