Closed Bug 805674 Opened 12 years ago Closed 12 years ago

[mozharness] Clean up upload dir of previous files before adding current files to it

Categories

(Release Engineering :: General, defect, P2)

x86
All
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 800364

People

(Reporter: nthomas, Unassigned)

Details

(Whiteboard: [b2g][cleanup][mozharness])

Eg this panda log 03:01:34 INFO - ##### 03:01:34 INFO - ##### Running prep-upload step. 03:01:34 INFO - ##### 03:01:34 INFO - copying files to upload directory 03:01:34 INFO - copying /builds/slave/b2g-m-cen-panda-dep/build/out/target/product/panda/system/build.prop to upload directory 03:01:34 INFO - copying /builds/slave/b2g-m-cen-panda-dep/build/sources.xml to upload directory 03:01:34 INFO - copying /builds/slave/b2g-m-cen-panda-dep/build/out/target/product/panda/userdata.tar.bz2 to upload directory 03:01:34 INFO - copying /builds/slave/b2g-m-cen-panda-dep/build/out/target/product/panda/system.tar.bz2 to upload directory 03:01:35 INFO - copying /builds/slave/b2g-m-cen-panda-dep/build/out/target/product/panda/boot.tar.bz2 to upload directory 03:01:35 INFO - copying /builds/slave/b2g-m-cen-panda-dep/build/objdir-gecko/dist/b2g-update/b2g-gecko-update.mar to upload directory 03:01:35 INFO - copying /builds/slave/b2g-m-cen-panda-dep/build/objdir-gecko/dist/b2g-19.0a1.en-US.eabi-arm.tar.gz to upload directory 03:01:35 INFO - Copying logs to upload dir... 03:01:35 INFO - ##### 03:01:35 INFO - ##### Running upload step. 03:01:35 INFO - ##### ... 03:01:35 INFO - sending incremental file list 03:01:35 INFO - ./ 03:01:35 INFO - b2g-18.0a1.en-US.eabi-arm.tar.gz 03:01:36 INFO - b2g-19.0a1.en-US.eabi-arm.tar.gz 03:01:36 INFO - b2g-gecko-update.mar 03:01:36 INFO - boot.tar.bz2 03:01:36 INFO - build.prop 03:01:36 INFO - sources.xml 03:01:36 INFO - system.tar.bz2 03:01:37 INFO - userdata.tar.bz2 03:01:37 INFO - logs/ 03:01:37 INFO - logs/localconfig.json 03:01:37 INFO - logs/localconfig.json.1 03:01:37 INFO - logs/log_critical.log 03:01:37 INFO - logs/log_critical.log.1 03:01:37 INFO - logs/log_error.log 03:01:37 INFO - logs/log_error.log.1 03:01:37 INFO - logs/log_fatal.log 03:01:37 INFO - logs/log_fatal.log.1 03:01:37 INFO - logs/log_info.log 03:01:37 INFO - logs/log_info.log.1 03:01:37 INFO - logs/log_raw.log 03:01:37 INFO - logs/log_raw.log.1 03:01:37 INFO - logs/log_warning.log 03:01:37 INFO - logs/log_warning.log.1 03:01:37 INFO - sent 100584693 bytes received 437 bytes 40234052.00 bytes/sec Extras from previous jobs there are b2g-18.0a1.en-US.eabi-arm.tar.gz logs/*.1 The former comes from not emptying upload/ prior to populating it. The logs/*.1 too, but also because mozharness.base.script.copy_logs_to_upload_dir() calls copy_to_upload_dir() with rotate=True.
Priority: -- → P2
Whiteboard: [b2g][cleanup]
Whiteboard: [b2g][cleanup] → [b2g][cleanup][mozharness]
I double checked on ftp and didn't find any logs/*.1 there. Thanks for digging up the reference.
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(nthomas)
Resolution: --- → DUPLICATE
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.