Closed Bug 1144897 Opened 11 years ago Closed 11 years ago

checkout_tools should use bundles

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: rail, Assigned: rail)

Details

Attachments

(2 files)

No description provided.
Attached patch bundles.diffSplinter Review
I generated the bundles by https://hg.mozilla.org/build/braindump/rev/573fbe04db08, which should be automated as well.
Attachment #8579623 - Flags: review?(catlee)
Attachment #8579623 - Flags: review?(catlee) → review+
[cltbld@bld-linux64-spot-381.build.releng.usw2.mozilla.com log]$ cat runner.log 2015-03-18 21:03:16,293 - INFO - iteration 1 Traceback (most recent call last): File "<string>", line 1, in <module> IOError: [Errno 13] Permission denied: '/etc/instance_metadata.json'
The mode of /etc/instance_metadata.json is 600, despite examples of 'chmod 644' in puppet/modules/instance_metadata/templates/*. The task appears to be running as cltbld. Backing out for next golden AMI generation: https://hg.mozilla.org/build/puppet/rev/4f5fd29e86a8 https://hg.mozilla.org/build/puppet/rev/59ad3b18e9bd Working on killing bad golden AMIs and the instances running them.
Cleaned up the 4 variations for build/try and usw2/use1.
It turns out we have a bunch of work arounds to chmod the file instead of fixing the root close. Let's do eet! This happens because tempfile.mkstemp()'s default is 600.
Attachment #8580014 - Flags: review?(winter2718)
Attachment #8579623 - Flags: checked-in+ → checked-in-
Comment on attachment 8580014 [details] [diff] [review] instance_metadata_chmod.diff Makes sense!
Attachment #8580014 - Flags: review?(winter2718) → review+
Attachment #8580014 - Flags: checked-in+
BTW, just found this 2015-03-19 08:00:39,158 - DEBUG - tasks: ['0-checkout_tools', '00-instance_metadata', '1-cleanslate', '1-cleanup', '1-mig_agent', '1-purge_builds', '3-config_mockbuild', '3-populate_shared_repos', '3-update_shared_repos', '4-buildbot.py', '99-post_flight'] 00-instance_metadata runs after 0-checkout_tools, this is why the mode was not consistent. I'm going to file another bug to fix that.
bundleclone should handle this
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: