/srv/irclogs.ubuntu.com/2015/09/10/#ubuntu-devel.txt

infinitywin 1900:06
Unit193infinity: Pokepoke!  Seen these https://code.launchpad.net/~unit193/ubuntu-cdimage/xubuntu-core/+merge/268167 ? (And of course all the ones linked in there.)00:31
pittiGood morning04:58
=== davidcalle_ is now known as davidcalle
=== Guest8229 is now known as Tm_Tr
sitterpitti: update_excuses says ubiquity armhf test is in progress for >12 hours while in fact it finished quite a while ago :/08:30
pittisitter: will look in a minute08:30
pittisitter: they actually didn't -- there is no result for 2.21.29 on http://autopkgtest.ubuntu.com/packages/u/ubiquity/wily/armhf/08:32
pittioops, the pre-last one08:32
pittisitter: incidentally, this is a transient bug which I'm currently working on08:32
sitterah08:33
sitterpitti: ok thanks :)08:34
flexiondotorgI have a dump in /var/crash created when Caja encountered a segfault.08:36
flexiondotorgapprot-gtk simply didn't upload anything when it detected the crash.08:36
flexiondotorgI've create a bug report and would like to submit the crash report, manually invoking apport-gtk had the same issue. It just silenty closed when I tried to submit the report.08:37
flexiondotorgCan anyone help me get the crash report submitted?08:37
pittiflexiondotorg: sounds like it reported it to errors.u.c. only?09:08
Laneydid we leave LP reporting off this cycle?09:09
pittioops, it seems we never actually enabled it09:09
flexiondotorgAh!09:09
Laneyha09:09
flexiondotorg:-)09:09
Laneyadd that to NRCP or so?09:09
flexiondotorgSo, does that mean there might be an entry in errros.ubuntu.com?09:10
pittiLaney: we don't actually want to enable it that early, usually around alpha-209:10
pittiflexiondotorg: there should, yes09:10
pittiI'll finish something else first, and then do a new apport upload09:10
* flexiondotorg goes searching.09:10
Laneypitti: I don't have the impression that early release is that wild-westy any more09:10
pittitrue that09:11
Laneybut if you can think of a good process checkpoint later on09:11
flexiondotorgCan I just understand why it was disabled?09:13
pittiwe don't want users of stable releases report to LP, just to errors.u.c.09:13
pittiso we disable that right before release, and re-enable it at some (not well-defined) appropriate point in time after opening the new devel series09:14
flexiondotorgpitti, OK.09:14
pittiapw: hm, and now linux regressed again -- were the two successful runs just good luck, or did 9.9 actually break something again?09:25
pittioh, curiously they pass the regression suite, but fail "rebuild", wut?09:26
apwpitti, bah ... hate09:26
pittidpkg-checkbuilddeps: Unmet build dependencies: makedumpfile libelf-dev libnewt-dev libiberty-dev libdw-dev libpci-dev pkg-config flex bison libunwind8-dev libaudit-dev bc python-dev libudev-dev autoconf automake libtool xmlto docbook-utils ghostscript transfig sharutils asciidoc09:26
apwpitti, erm ... how is that possible even ... wtf ?09:26
pittiapw: did that lose the Depends: @builddeps@ or so?09:27
apwTests: rebuild09:27
apwDepends: @builddeps@, fakeroot09:27
apwRestrictions: allow-stderr09:27
apwlooks ok ...09:27
apwpitti, OH do you use a profile ?09:28
pittino, I don't think so09:28
pittiapw: no, I don't09:29
apwdo you parse debian/control directly, could you be being confused by the new use of profiles09:29
pittiapw: I use libdpkg-perl, but I fixed autopkgtest to get along with profiles a fair while ago09:29
pittiapw: ah, but trusty's libdpkg-perl might not09:29
pittiapw: so all these missing ones have a build profile now? how do they look? (to spare me apt-get source linux)09:30
pitti<!stage1> or something?09:30
apwhttp://paste.ubuntu.com/12327328/09:30
apwpitti, i'd say for an instant fix you could just rip them ... as we only use them to pare down deps for bootstrapping09:31
pittiapw: thanks; let me look into this09:31
apwpitti, thanks as always09:35
pittitest_build_deps_profiles (__main__.ChrootRunner)09:35
pittitest depends on build dependencies with build profiles ... FAIL09:35
pittibingo09:35
apw:)09:35
pittiapw: ^ this is the test suite running on the production box (trusty)09:35
apwpitti, makes sense09:35
pittiapw: I'll see to adding a fallback, like just blatantly ignoring them09:35
pittiI don't think it's practical to backport a newer dpkg to trusty09:35
apwpitti, yeah i recon just rip them on average, clearly they arn't used much else other people would be moaning09:35
apwpitti, and i assume if we can't figure it out, we can enumerate @buildeps@ by hand and be happy09:36
pittiapw: nah, this needs to work09:36
pittiplease don't change the kernel for this, othe rpackages use profiles too now09:36
pittiand this likely causes some other failure09:36
apwpitti, i meant if we were doing something that "just ripping them" doesn't fix ...09:38
pittiah09:38
apwwhich we arn't09:38
apwpitti, what happened to the results for -8.8 i wonder09:38
pittiapw: there is no such thing, at least not in ubuntu09:39
pittihttps://launchpad.net/ubuntu/+source/linux/+changelog09:39
pittiapw: apparently it never got copied?09:39
apwwierd ...09:39
apwyeah must be ... i wil beat tim to find out what occured later then :)09:40
apwpitti, and when you get bored you can try and explain how the one below ever occured, it looks like one binary package from linux-meta is published but not the others, which makes my head hurt:09:41
apwhttps://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-wily/wily/amd64/l/linux/20150909_203426@/log.gz09:41
pittiflexiondotorg: apport uploaded; if you want, you can apply the simple config change locally: http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu/wily/apport/ubuntu/revision/245309:50
pittiapw: we got tons of such failures over night09:51
pittiapw: as linux and linux-signed were stuck in binNEW; I NEWed them, and then retried all temp failures09:51
apwpitti, ahh i guess htat if i asked it to install the second one listed, it would blame something deeper ... ok its just confusng me09:51
pittiapw: this was again the case of linux-meta being updated with its dependencies not being installable09:51
apwpitti, yeah, i see that now, the reported error had me confused, but its just being lazy and telling me the top not the real missing package10:02
apwpitti, is htere something wrong with ppc64el/armhf testing atm ?  i seem to have no results for dkms packages for wily for -9.9 on those10:26
pittiapw: ok, fixed in http://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=69561dae , rolled out, and linux retried on i386/amd6410:32
pittiapw: nothing wrong that I'm aware of10:33
pittiapw: http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#linux-meta is full of bling?10:33
pittiapw: well, pretty much all the dkms packages fail on armhf/ppc64el for sure10:33
pittiapw: we can't actually install newer kernels in LXC10:34
pittibut at least formally they get triggered10:34
apwpitti, of course, they are run they just don't mean anything ... doh10:34
pittiapw: I hear ppc64el scalingstack support is coming RSN, then these will work10:34
pittiapw: yeah, I don't bother adding some special cases for those -- they fail fast enough10:34
=== nudtrobert1 is now known as nudtrobert
apwpitti, we're going to need that "report kernel" i guess before we get lts backports to work anyhow, but that likely should tell you if it is a host kernel or not10:40
pittiapw: yep, working on that now10:41
pittiapw: ok, it's past build dep installation, that worked now10:49
* pitti now lets it do its three-hour thing10:49
apwreat ...10:49
apwgreat10:49
pittiapw: so for bug 1491865 -- 1) just means you want to see it in the log, right?10:50
ubottubug 1491865 in autopkgtest (Ubuntu) "report and record the actual booted kernel with test results" [High,In progress] https://launchpad.net/bugs/149186510:50
pittiapw: which is hard for machine parsing, but for humans10:51
pittiapw: and 2) is to add this to result.tar10:51
apwyeah i think when a human reads the log and they see a reboot, each and every reboot should report the kernel as it comes up10:51
pittiright, that's trivial10:51
apwand in a perfect world the computer would check that it was concistent throughout the run (but ...)10:52
pittiand for 2) I think it would be the kernel version that the test bed has after the initial setup10:52
pittiwell, a test might actually go and install a different kernel10:52
apwright after you "update everything and reboot if /boot changed" phase10:52
pittiright, that's the point I meant10:52
pittialrighty10:52
pittisomething to do after lunch10:53
apwdo we expect that, or do you handle lts-XXX outside, i think you will ?10:53
apwpitti, or ... you could make that a list of kernels10:53
apwand record after any reboot10:53
pittiapw: we already have a list of kernels, I thought the point was to know which kernel actually ran?10:53
apwnot a list of installed kernels, but a list of "each kernel in each reboot"10:53
apwso if the test installs and reboots it owuld like say10:54
apw[ V1, V2 ]10:54
pittiapw: not sure yet about lts-XXX -- either it'll become part of what the dkms autopkgtest script does, but that's impractical for some reasons10:54
pittiapw: I think I'd rather special-case it in the autopkgtest cloud worker, and install that kernel when it is the test trigger10:54
pitti(as part of setup-commands)10:54
apwyep i can see how that makes sense10:54
apwanyhow, i thnk i'd say make the kernel thing a list of an entry after each reboot if that is doable10:55
apwin the main it will be just one anyhow10:55
pittiit's less obvious for reproducing locally, but avoids SRUing the dkms-autopkgtset script all over again, and instaslling yet another kernel into the testbeds and another reboot10:55
apwheh10:55
apwat least if every consumer is keying off the kernel listed in the test results we don't care how it gets made10:56
pittiapw: a list would only make sense if you expect tests to isntall/reboot into different kernels10:56
pittido you want to do that actually?10:56
apwpitti, well i don't think i do, but its more about whether something will reboot more than once10:56
apwpitti, if it does, then recording what you booted each time catches bugs in the test10:57
apwpitti, we can see tht it should be X each time and it went X, Y, Y or whatever10:57
pittiapw: okay10:57
apwits as much about being able to tell a result is right as anything10:57
apwfor my purposes i will check it is consistant throughout or bin the result10:58
pittiapw: so this would be a testname → reboot ID → kernel version map10:58
pittiapw: where "reboot ID" is the string the test passes to /tmp/autopkgtest-reboot <ID>10:58
pittihm, but most tests don't do that10:58
apwwhat is the first one called, the one you do after /boot10:59
pittiso perhaps "testname → initial -> kernel version" for those?10:59
pittiapw: it doesn't have one, as that's not triggerd by the test10:59
pittibut for the yaml we need to make up something10:59
apwso you are saying i'd have for each testname what kernel version it had underneath? and if it reboots it would have initial -> v and ID -> w11:00
apwsort of thing11:00
pittiactually, we don't even need the per-test initial thing, it's always the same11:00
pittiapw: so perhaps:11:00
apwalways the same ?11:00
pittikernel_version: <initial kernel after test bed init/upgrade>11:00
pittiand *if* a test installs a different one,11:00
pittitest_kernel_versions: testname -> ID -> version11:01
pitti(and we usually don't expect the latter at all)11:01
apwis testname ID there is that like testname: [(id, version), ...]11:02
pittiapw: "testname" -> name in Tests: in d/t/control11:02
pittiapw: I mean the reboot ID, as explained above (autopkgtest-reboot ID)11:03
pittitest_kernel_versions:11:03
pitti    test_with_utopic_lts:11:03
pitti     reboot_new_kernel:   # (from claling autopkgtest-reboot reboot_new_kernel)11:03
pitti     3.14.0-blah11:04
pitti(imagine some more indentation in the last line)11:04
apwi guess it depends if we care to look them up by test name ...11:04
pittifrom Tests: test_with_utopic_lts11:04
apwin my mind i was seeing more: (python form) kernel_version: [ ('setup', None, V), (testname1, ID1, V2), ... ]11:05
pittiapw: well, otherwise you wouldn't really know what/when it happened?11:05
apwor even kernel_version: [ (None, None, V), (testname1, ID1, V2) ]11:05
pittiapw: isn't that mostly the same, except a list insted of a testname -> bootid map?11:05
apwwell i have ordering information that way11:05
pittiah, ok11:06
apwthough i'd almost wonder if you have test1 test2 test3 in your control11:06
pittiapw: not sure that None can be represented adequately in yaml11:06
pittiapw: I was thinking of only adding entries to that complicated structure which actually differ from the default version, as we almost always expect tests to use one and the same11:07
apwthat it would be " [ ('setup', '', V), (test1, '', V), (test2, '', V), (test2, 'ID', V2), (test3, '', V2) ]11:07
pittiand put the initial version into a different field, so that it's much easier to parse11:07
apwyeah that simlpification is fine indeed11:07
apwi am looking to be able to trivaily know for any test what kernel was it run under11:08
apwso knowing when the tests run relative to the reboots if any11:08
apw(this is something we found valuable when doing testing in a previous life, allowing validation of test results)11:10
pittiapw: btw, would you terribly mind json insted of yaml? json is built into python, yaml is a separate module; I'd like to avoid new deps if I can11:10
apwpitti, i care not at all what the format indeed, use what you find most convienient11:10
pittiapw: we usually reset the testbed in between tests; should that be reflected in your list?11:11
apwas long as python can parse it later11:11
pitti[ ('setup', '', V), (test1, '', V),  ('setup', '', V), (test2, '', V) ...]11:11
apwso it is a phase list not a test list, that seems ok11:12
apwcan we use that somehow to make it an event11:12
pitti(still not entirely sure what the goal of this is, so you tell me :) )11:12
pittibut the above seems both highly redundant to me and not that useful11:13
pittiin 99% of cases all the Vs are the same11:13
apwultimatly i want to know what tests ran under what kernels and preferably to know the order, but i guess i can tell that from teh control file11:13
apwso i can tell if a reboot failed and we got the wrong kernel, like a grub bug picking the wong kernel on reboot11:13
pittiapw: ah, so no ('setup') at all then? as the initial one would already be in ('test1', '', V)11:13
pittiapw: i. e. I don't understand the difference between (setup, '') and (test1, '')11:14
apwthat is essentially (test1, setup, V) yes11:14
pittiah, ok11:14
cjwatsonpitti: for LP we mostly take the approach of just stripping off build profiles, although you have to be quite careful with that because obviously < and > have other meanings too.  There's a giant regex in modern libdpkg-perl that can sensibly be appropriated for the purpose.11:15
pittiso, [ (test1, '', V), (test2, '', V), (test2, 'reboot_id', V2), ...]11:15
pittiapw: ^11:15
apwpitti, that seems more than enough indeed ... i hope we anr't overdoing it11:15
pitticjwatson: ack, thanks11:15
apwpitti, and would you have kernel_version: as the "after update" one for the common case ?11:15
pittiapw: "after test bed setup" would be the first entry with the special reboot ID ''11:16
apwie at the start of the first test, so always the first entry in fact11:17
pittiright, and it's a list, thus ordered11:17
pittiapw: with that we only need exactly one kernel_versions: with that list of triples11:17
apwwell that works for my use case :)11:17
apwironically i will just run the list and make sure V does not change, and use it11:18
pittiapw: http://paste.ubuntu.com/12327750/11:19
pittiapw: (no tuples in json, they become lists, but *shrug*)11:19
apwthat looks good to my eye, over engineered to hell and back i am sure, but yes11:20
apwpitti, is this going to be like a systeminfo file with other things later ?11:21
pittiapw: so that's one option; the other is http://paste.ubuntu.com/12327760/11:21
pittiapw: yeah, hence the top-level dict11:21
pittiapw: I don't want to add yet another file in the future for similar system state info11:21
pittiapw: and in fact I'd like to merge testbed-packages into this one11:22
apwpitti, the second one is simpler for the normal case, and provides the same info as long we include any test which runs != 1.2 in the bottom11:22
pittiapw: a file like this sounds interesting if/once we run tests on real iron11:23
apwie if there was test3 which didn't reboot after test211:23
pittiapw: it's a reduced list, so if there is a test3 which doesn't reboot, it'd just use teh default kernel11:23
apwpitti, but we rebooted in test2 and are on that kernel now no ?11:24
pittiwell, I suppose you can construct a package test which runs test3 without reinitializing the testbed11:24
pittiapw: but it would appear in the list then11:24
pittiapw: i. e. the idea was to not show anything in the list which has (_, _, default_kernel_version)11:24
pittiapw: so that your check reduces to "this list must be empty"11:25
apwright, if thats what it is doing, that works too11:25
pittiapw: but I don't care much either way, pick your poison :)11:25
apwwell the second is much shorter in the common case where theer is no reboot11:25
apwso ... making it harder for those who care is fine with me :)11:25
apwpitti, so i think i am voting for kernel_version + test_kernel_versions form11:26
pittiapw: ack; I sent a summary to the bug11:28
pittiand now, lunch for realz11:28
apwperhaps kernel_version_changes: to get them to sit by each other in the json11:28
apwas it is a delta list effectivly11:29
pittinoted in the bug, good call11:29
apwpitti, you should record the trigger in there too11:29
apwjust becasue, and name the file such that it can :)11:30
pittiapw: *nod*11:35
=== MacSlow is now known as MacSlow|lunch
=== MacSlow|lunch is now known as MacSlow
tewardat what point did we switch to predictable interface names?  Is that a recent thing?  (First proposal email I can find is May 2015...)14:42
ogra_heh ... i still cant stop laughing about that naming :)14:45
ogra_teward, i think in wily at some point14:46
tewardogra_: what about retroactive changes?  Trusty (all variants) still on the older system?14:46
ogra_pitti might have the exact date14:46
ogra_yeah, trusty still uses properly guessable names14:47
pittiteward: https://lists.ubuntu.com/archives/ubuntu-devel/2015-June/038786.html14:47
pittion June 1714:47
ogra_such an insane move14:47
tewardpitti: and that was never implemented retroactively, or for the latest trusty point releases?14:47
pittiteward: heck, no -- that's a rather intrusive change, it's really not backportable14:48
ogra_haha, yeah14:48
tewardpitti: tell that to dschatz_ in -server14:48
pittiwell, "able" yes, but we so much won't14:48
tewardright, i knew it was being enabled in Wily, heck I even discovered the server installer iso bug where it was still using the older system and not the one it should be (the 'installer installs eth# which means networking doesn't load after reboot' problem)14:50
tewardwhich was fixed same-day xD14:50
ogra_well, but that shows pretty good why backporting would be insane :)14:51
tewardand i'm fairly familiar with "Yeah not backporting sorry" things, from all the 'security' changes from the SSL vulns and such that prompted default-config changes in http server packages and such that didn't get backported to other ubuntu releases, but meh.  was fairly certain that was the case.14:51
tewardogra_: indeed14:51
ogra_lots of scripts to change etc etc14:51
tewardmhm14:51
tewardoop that reminds me.  Note to self: update wily VM >.<14:51
pittiapw: http://autopkgtest.ubuntu.com/packages/l/linux/ \o/15:59
apwpitti, sweet ... thanks for that15:59
=== mnepton is now known as mneptok

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