Friday, 2014-07-11

*** mikal has quit IRC01:27
*** SergeyLukjanov has quit IRC01:27
*** jgriffith has quit IRC01:27
*** zz_johnthetubagu has quit IRC01:27
*** sdague has quit IRC01:27
*** devananda has quit IRC01:27
*** Kiall has quit IRC01:27
*** anteaya has quit IRC01:27
*** jraim has quit IRC01:27
*** zaneb has quit IRC01:27
*** morganfainberg_Z has quit IRC01:27
*** dhellmann has quit IRC01:27
*** ttx has quit IRC01:27
*** dolphm has quit IRC01:27
*** stevebaker has quit IRC01:27
*** notmyname has quit IRC01:27
*** ChanServ has quit IRC01:27
*** sdague has joined #openstack-relmgr-office01:30
*** Kiall has joined #openstack-relmgr-office01:30
*** devananda has joined #openstack-relmgr-office01:30
*** ttx has joined #openstack-relmgr-office01:58
*** notmyname has joined #openstack-relmgr-office01:58
*** stevebaker has joined #openstack-relmgr-office01:58
*** dolphm has joined #openstack-relmgr-office01:58
*** jraim has joined #openstack-relmgr-office01:58
*** zaneb has joined #openstack-relmgr-office01:58
*** anteaya has joined #openstack-relmgr-office01:58
*** mikal has joined #openstack-relmgr-office02:03
*** morganfainberg_Z has joined #openstack-relmgr-office02:03
*** SergeyLukjanov has joined #openstack-relmgr-office02:04
*** jgriffith has joined #openstack-relmgr-office02:04
*** dhellmann has joined #openstack-relmgr-office02:06
*** zz_johnthetubagu has joined #openstack-relmgr-office02:08
*** ChanServ has joined #openstack-relmgr-office02:20
*** dickson.freenode.net sets mode: +o ChanServ02:20
*** Azher has joined #openstack-relmgr-office02:44
*** markwash has joined #openstack-relmgr-office04:39
*** morganfainberg_Z is now known as morganfainberg06:03
*** morganfainberg is now known as morganfainberg_Z06:21
*** morganfainberg_Z is now known as morganfainberg06:23
*** openstack has joined #openstack-relmgr-office07:41
*** zz_johnthetubagu is now known as johnthetubaguy09:23
*** morganfainberg is now known as morganfainberg_Z10:13
*** Azher has quit IRC11:00
*** markwash has quit IRC11:36
*** markwash has joined #openstack-relmgr-office11:40
*** mestery has joined #openstack-relmgr-office12:42
*** russellb has joined #openstack-relmgr-office13:13
ttxrussellb: o/13:13
ttxrussellb: so you are volunteering for handling J213:13
* ttx emits an evil laugh13:14
russellbttx: o/13:14
russellbindeed13:14
russellbhopefully i don't screw it up13:14
ttxit's difficult to screw it up tbh13:14
russellbgood to hear13:14
ttxLet me add you to release managers group(s) first13:14
russellban occasional thing like this is probably good to help force you to write down your process ;)13:14
ttxthat gives you ultimate tagging and Launchpad rights13:14
russellbcool13:15
russellbPOWER13:15
ttxadded to lp13:15
ttxand to gerrit13:16
ttxOK, so the heart of the process is to push a 2014.2.b2 tag at a given time13:16
russellbk, i've pushed tags to gerrit before at least13:17
ttxthe new lightweight process just requires the tag to be pushed on master sometimes between Tuesday and Thursday13:17
russellbfor novaclient13:17
ttxI have scripts to actually do that and everything else required13:17
ttxso you don't even have to tag manually13:17
russellbnice13:17
ttxBUT you need to pester PTLs to get SHA they like for j2 tagging13:17
russellbright13:17
russellbso, be present, sync regularly with PTLs to identify the SHA for the tag13:17
ttxAND you need to make sure the juno-2 pages in LP are ... aligned13:17
russellbheh, "aligned" is a nice way to put it ?  :)13:18
ttxwhen you tag, everything should bne completed13:18
ttxso everything incomplete should be pushed to j313:18
ttxso the PTL hunting is more about them accepting that something will never make it to the milestone after all13:18
ttxand reluctantly blessing a tag in the milestone window13:19
russellbOK13:19
russellbdo you do this for just integrated?  or do you help the incubated projects do a milestone release as well?13:19
ttxI do incubated, but with slightly less hunting, and if they miss the window, no big deal13:19
ttxso let's look at it chronologically13:19
ttxThe week before (next week)13:19
ttxI'll still be around13:20
ttxbut it's nice if you can follow along13:20
russellbyes, i'll try to be in as many of the syncs and such as i can13:20
ttxthe goal that week is to start aligning the juno-2 pages with reality13:20
russellbdo you have a ptl sync schedule posted?13:20
ttxyes13:20
ttxhttps://wiki.openstack.org/wiki/Meetings/ProjectMeeting13:20
ttxat the bottom13:20
ttxno biggie if you miss the oens in the first column13:21
ttxyou can catch up in the logs13:21
ttxso ideally, they need to start removing stuff that will obviously not make it13:21
russellbOK, definitely would miss nova's13:21
russellbthe rest should be doable13:22
ttxand continue deferring stuff so that they get to 100% Implemented 100% FixCommitted sometimes in the milestone window13:22
ttxso the next Tuesday, when I'm away, feel free to adjust those 1:1s or just ping the PTLs13:23
ttx(July 22)13:23
russellbgot it13:23
ttxAt that point they need to cull the list to the point where there is only a few last-minute things they would like to see in the milestone before cutting it13:24
ttxI generally try to limit it to in-flight stuff13:24
ttxstuff that is approved and all, just trying to gate13:24
russellbyes, any anything else, not a big deal to defer, unless it's a show stopper13:25
ttxright13:25
ttxit's really not a big deal if something slips a milestone13:25
ttxa milestone is just a time marker13:25
russellbyep, a hopefully testable time marker though :)13:25
russellbdistros pick it up and such13:26
ttxbut then, if something just needs a couple more hours to be included in it, it's fine to wait until Wednesday13:26
russellbOK13:26
russellbso go ahead and start tagging as early as tuesday, wednesday if necessary to get last minute things in13:26
russellbthen, announcement and such thursday?13:26
ttxand Thursday for Murphy situations13:26
russellb"and such" <--- not sure what else is there13:26
russellbupdating launchpad i suspect13:27
ttxThe process is all described here: https://wiki.openstack.org/wiki/Release_Team/How_To_Release#Development_milestone_publication13:27
ttxlet's go through that13:27
ttxUses scripts from http://git.openstack.org/cgit/openstack-infra/release-tools13:27
russellbooh cool13:27
ttxPre-flight checks I usually run the Friday before the milestone week13:28
ttxthough they proved mostly useless recently13:28
ttx./repo_tarball_diff.sh just checks that the tarball contains the files from the repo13:28
ttxwe had so many regressions there13:28
ttxthat I have the habit of chcking it manually13:29
ttxbut it's been a long time since that failed13:29
ttxso feel free to skip it13:29
* russellb will skip nothing!13:29
* ttx needs to merge some fixes13:29
ttxso usually you just get a few ignores in the diff13:30
ttxlet me pastebin the keystone version, which is the noisiest13:31
ttxhttp://paste.ubuntu.com/7780241/13:31
ttxso that's the expected output (even if that sdx is a bit weird)13:32
ttx(for keystone)13:32
russellbheh, ok13:32
ttxmost projects will have AUTHORS and Changelog added, .gitignore and .gitreview removed13:33
ttxthe "check bugs" part I just don't sdo anymore13:33
russellbthat'd be a lot.13:33
ttxI usually checked the list for sanity, but at 10+ projects that's crazy now13:33
ttxI just trust people with their LP state13:34
ttx(I have a separate script that watches for manual FixCommitted and FixReleased changes to try to catch errors at the source)13:34
ttxso you can ignore that line, I should just remove it13:34
russellbi like milestone.sh13:35
russellbautomation ftw13:35
ttxso when the PTL finally admits that the current state of master is as good as it will be for the milestone, you just move to the next step13:35
ttxbasically, PTL gives you a SHA, you check that their juno-2 page is all Implemenetd/FixCommitted13:35
ttxat that point they might still have a pile of bugs targeted to juno-213:35
ttxI have a script to move them around now13:36
russellbdo you have a script for deferring?  or just manual13:36
russellbjinx13:36
ttxvery recent13:36
ttx./process_bugs.py glance --milestone juno-2 --settarget juno-313:36
ttxlet me edit the wiki13:36
russellbcool13:37
russellbi remember that script, just not that function13:37
ttxit's recent13:37
ttxnever used it13:37
ttxjust wrote it after I manually defrred 3013:38
ttxin one of those fuck that moments13:38
ttxok, so that will defer bugs, but not blueprints13:39
ttxbut usually the PTLs have a good handle on those13:39
russellbi used process_bugs for auto targeting fixed bugs13:39
ttxand there aren't that many of them13:39
ttxyes, milestone.sh just calls process_bugs13:39
ttxthen there is the all-in-one13:39
ttxWhich will tag, wait for tarball build, process FixCommitted bugs, check similarities and upload13:39
ttxIt will stop several times during that process13:40
ttxThe correct version is merging from https://review.openstack.org/#/c/105226/13:40
ttxmaybe we can read it together13:41
russellbsure13:41
ttxthe script specialcases swift oslo-incubator and oslo.messaging since they need slightly different actions13:42
ttxlet's follow the general case first13:42
ttxfirst it resolves juno-2 to 2014.2.b213:42
ttxthen it pushes a tag13:42
ttxit will stop to ask you to sign it13:43
ttxwell, unless you use passwordless gpg key (boo)13:43
russellbi dont :)13:43
ttxThen it waits for the tarball to be built13:43
ttxwhich is a bit flaky test polling zuul status13:44
ttxcan take a while until we get a worker13:44
ttx(zuul sees tag, pushes item to pre-release pipe, then executes $PROJECT-tarball job13:45
ttx)13:45
ttxthere is a sanity check that the tarball built from the tag is similar to the last produced master.tar.gz (in case you tagged HEAD)13:45
ttxit used to be similar with milestone-proposed branch, now it can differ if you tag before HEAD13:46
ttxhence the warning there13:46
russellbright13:46
ttxthen it runs process_bugs13:46
ttxto switch all bugs to FixReleased13:46
ttxthere is a bit of a race there , since bugs may be fixcommitted on master if you tag before HEAD too13:47
ttxgenerally taggign HEAD is therefore preferable13:47
russellbor running that part as soon as you tag13:47
russellband skipping it here13:47
russellbwell, i guess if you tag an older SHA after the fact, that won't work13:47
russellbnm13:48
ttxyeah, I had a version that ran process_bugs just after tag, but sometimes the tarball goes really fast and wait_for_tarball would start after it's completed13:48
ttxmissing the job13:48
ttxanyway, not a big deal if we are one bug off13:48
ttxSo at that point you hit the painful part13:48
ttxwhich is that some Launchpad bugs will timeout13:49
ttxthe script stop to give you a chance to updatethem manually13:49
*** markmcclain has joined #openstack-relmgr-office13:50
ttxI usually try to update them manually 3/4 times. I'm generally successful after 3 tries13:50
ttxIf you can't update them, no big deal, just make a list of them so that we don't lose them13:50
russellback13:51
ttxand I can try to get them updated when I come back the week after ;)13:51
ttxthen upload_release takes the tarball and uploads it to LP, marks milestone released etc13:51
ttxafter that point you can no longer target bugs to j213:51
ttxunless you mark the milestine manually as active again13:51
ttxNote that upload_release stops after tar tvf-ing the tarball for a quick check that the nova tarball you upload looks like a nova tarballv13:52
ttxthen checks that the MD5 between what LP has and what you have is consistent13:53
russellbcoo;13:53
russellbcool, too13:53
ttxI should probably make those scripts all a bit less noisy13:53
ttxsince it's been a while since that didn't work13:54
ttxso the error points in that script are:13:54
ttx- wait_for_tarball is a bit brittle13:54
ttxIt waits a long time, but sometimes not long enough13:54
ttxsometimes it fails to pick up the job13:54
ttxso it happened a few times I had to manually run the last 3 commands by hand13:55
ttxsimilar_tarballs.sh, process_bugs.py and upload_release.py13:55
ttx- process_bugs hits Launchpad timeouts for some bugs13:56
ttxit now recovers from that, but still leaves you with a set of bugs to manually update or ignore13:56
ttxEverything else should work quite well13:56
russellbcool, looks easy enough!13:56
russellband having been through the PTL rodeo helps13:57
ttxIt was modified to handle oslo-incubator (tag only) and oslo.messaging (release in LP only)13:57
ttxso running ./milestone.sh juno-2 foo oslo.messaging will mark all bugs fixreleased and mark the milestone "released" without tagging or uploading anything13:58
russellbfancy13:59
ttxand running ./milestone.sh juno-2 $SHA oslo-incubator will push tag, mark all bugs fixreleased and mark the milestone "released" without uploading13:59
ttxI say "should" because it's relatively new13:59
ttxIf scripts fail, don't panic, I should be around from time to time and we can look at failures14:00
russellbdoes oslo-incubator get tagged for the milestone?14:00
ttxyes14:00
russellbcool, but not the oslo libs..14:00
ttxright. oslo.messaging has a Launchpad page, so we make sure that's current14:01
russellbmakes sense14:01
ttxso we run process_bugs14:01
russellbthanks a bunch for this overview, super helpful14:01
ttxand we run upload_release in --nop mode which will skip the upload part14:01
ttxthe scripts should be pretty simple to understand14:01
russellbyeah, this one is very readable :)14:01
ttxLast thing14:01
ttxThe risk is to just forget about one project14:02
russellbyeah, was going to make myself a spreadsheet14:02
ttxthat's why I use those tracking pages14:02
ttxprint one out and just check boxes to make sure I don't overlook one14:02
russellbyeah nice idea14:02
russellbif you have one you can share, i can just use that14:03
russellbif it's more just for your use, no worries, i can make one14:03
ttxsure i'll send it to you14:03
russellbok, i've got to run to baby's dr appt14:03
ttxshoudl be in your inbox if you want to look at it now14:03
ttxyou want the "Others" tab14:04
russellbwill look at it when i get back, thanks again for your time14:04
ttxnot the "Swift" or the "RC" one14:04
ttxOK, run!14:04
* russellb runs14:04
* ttx realizes that that page is missing oslo/oslo.messaging14:05
ttxrussellb: sent you a fixed version14:10
ttxrussellb: new milestone.sh just merged, be sure to update your release-tools14:20
*** morganfainberg_Z is now known as morganfainberg14:27
*** david-lyle has joined #openstack-relmgr-office14:53
*** markwash has quit IRC15:22
*** markwash has joined #openstack-relmgr-office16:19
russellbudpated release tools!16:31
*** jgriffit1 has joined #openstack-relmgr-office17:17
*** jgriffith has quit IRC17:18
*** jgriffith has joined #openstack-relmgr-office17:19
*** johnthetubaguy is now known as zz_johnthetubagu17:37
*** jgriffit1 has joined #openstack-relmgr-office17:39
*** jgriffith has quit IRC17:41
*** zaneb has quit IRC17:41
*** dansmith is now known as superdan17:42
*** russellb is now known as rustlebee17:42
*** markmcclain has quit IRC17:44
*** zaneb has joined #openstack-relmgr-office17:49
*** markmcclain has joined #openstack-relmgr-office18:35
*** markmcclain has quit IRC19:26
*** mestery has quit IRC20:12
*** markmcclain has joined #openstack-relmgr-office20:52
*** markmcclain1 has joined #openstack-relmgr-office20:53
*** markmcclain has quit IRC20:56
*** markmcclain1 has quit IRC22:02
*** morganfainberg is now known as morganfainberg_Z22:10
*** david-lyle has quit IRC22:59
*** markwash has quit IRC23:22

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!