/srv/irclogs.ubuntu.com/2017/06/22/#ubuntu-devel.txt

naccxnox: cyphermox: am i correct in understanding htat in a working environment (which I have yet to consistenly make), the scopes for lxdbr0 would be DNS LLMNR/IPv4 LLMNR/IPv6? Does everyone else just have working host -> container lookups of their LXDs and not hit this at all? :)00:14
naccstgraber: --^ :)00:14
naccxnox: cyphermox: i wonder if this is all because lxd itself doesn't start a boot ... so possibly that boot-time race i saw earlier was just relative to when the dns records were cached/recorded?00:18
Unit193mwhudson: There's regressions http://people.canonical.com/~ubuntu-archive/proposed-migration/artful/update_excuses.html#golang-github-jacobsa-crypto00:27
sarnoldthat line-wrapped here at cry\npto and my brain turned that into "cry potato"00:28
Unit193Heh, it just pushed the url to its own line for me, I think I like your version better though.00:30
Unit193Also, you lost identification to services during the splits.00:30
sarnold:(00:30
sarnoldwait how am I here? I thought this channel forbid joins by unregistered?00:31
Unit193That was disabled since the spam hadn't been hitting elsewhere.00:31
sarnoldah nice :) it was always annoying to discover I'd been parted from this channel for a day or several00:34
Unit193More so since ubuntulog did too.00:34
sarnoldbdmurray: interesting, the cancer spreads beyond openssl -- 1699630 -- openssl has trouble, and then nothing else makes sense, and then other packages get stuck half-way too01:13
bigonis ubuntu somehow shipping a  policy-rc.d file by default? I'm asking because of https://bugs.launchpad.net/ubuntu/+source/audit/+bug/164601507:45
ubottuLaunchpad bug 1646015 in audit (Ubuntu) "update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults" [Undecided,Confirmed]07:45
pittibigon: mk-sbuild does, but certainly not normal installs08:02
bigonidd08:08
bigonapparently it's a docker thing (after some quick googleing)08:08
=== iulian is now known as Guest25938
cpaelzermitya57: ping08:48
mitya57o/08:48
cpaelzermitya57: saw you replying so you are awake :-)08:48
cpaelzermitya57: tell me how I could help once you read my reply to the s390x issues08:48
mitya57oh, thanks a lot08:49
* mitya57 reads08:49
mitya57cpaelzer, how difficult is it to get the stack trace of the hung process?08:51
cpaelzermitya57: like while hanging - or in advance while it runs into it ?08:51
mitya57while hanged08:52
cpaelzereasy I'd think, let me rekick it into the case08:52
cpaelzerbut it doesn't seem to spin so we likely get only one - the poll it is hanging on08:52
cpaelzeranyway - it started - I'll ping you once it is hanging so we can joint debug it then08:53
cpaelzermitya57: and nobody on the mail said no - but at least from my experience I have not seen s390x specific hangs so far on any other builds08:54
Laneycpaelzer: actually I noticed one yesterday ;-)08:55
Laneyhttps://launchpad.net/ubuntu/+source/clutter-1.0/1.26.0+dfsg-4/+build/1255683608:55
mitya57cpaelzer, also it would be even more interesting to check https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/2819/+build/12784776, there all Qt test processes have exited, so the hang happens in make or some other part of the build system.08:55
cpaelzermitya57: sure I just picked the first one in your set of links08:56
cpaelzermitya57: once we looked at the strace of the one now runnign I can trigger the multimedia one08:57
cpaelzerinteresting Laney - and also on/after tests08:57
mitya57cpaelzer, thank you again! The first one is also interesting, maybe it will uncover some bug in Qt…08:57
xnoxnacc, dns only starts with the first container....08:58
Laneycpaelzer: yeah, although this is the first upload of that pkg where tests are run08:58
cpaelzerLaney: mitya57: maybe something in whatever test framework they use changed and now hangs (almost) all test son s390?08:58
mitya57cpaelzer: Our test frameworks are completely different.08:59
cpaelzer:-/08:59
cpaelzerso much for the theory08:59
Laneycould be a coincidence08:59
mitya57One thing in common is the GLib main loop, though.09:00
Laneyit didn't hang in debian but all the tests failed early there: https://buildd.debian.org/status/fetch.php?pkg=clutter-1.0&arch=s390x&ver=1.26.0+dfsg-4&stamp=1494334721&raw=009:01
cpaelzermitya57: the strace isn't great because we don't see the actual call of the program but instead that it was stopped and continued http://paste.ubuntu.com/24923578/09:04
cpaelzerwhich means I'd need a way to atatch earlier :-/09:04
* Laney tries some backports09:04
seb128Laney, you should try some hangout :-)09:05
Laneyffs09:05
cpaelzermaybe with follow forks to an interim one that stays a while09:05
seb128we are waiting for you :p09:05
mitya57cpaelzer, maybe you can attach gdb instead of strace?09:05
Laney:/09:05
Laneywait a minute09:05
mitya57cpaelzer, actually by stacktrace, I meant one from gdb09:05
mitya57(though it may be also not very interesting)09:07
cpaelzermitya57: it is just as borked http://paste.ubuntu.com/24923590/09:08
cpaelzerwhatever it is it already happened09:09
cpaelzerI'm starting the qtmultimedia one to avoid this being a complex red herring09:10
mitya57:(09:10
mitya57cpaelzer, yes, maybe qtmultimedia would be different09:11
cpaelzerAttached strace with -ff and such to  "/usr/bin/dh build" while it was running /usr/bin/dh_auto_build09:16
cpaelzerThat way it should track whatever follows09:16
cpaelzerAnd it is now in debian/rules override_dh_auto_test-arch - so who knows maybe we find something09:16
cpaelzerbut obviously this is a huge slowdown-fest now :-)09:16
cpaelzermitya57: hmm maybe - does that match your qtmultimedia hang http://paste.ubuntu.com/24923618/ ?09:18
cpaelzerhmm seems similar - this time ./tst_qdeclarativemultimediaglobal09:18
mitya57cpaelzer, yes, it does09:18
cpaelzerfull process chain http://paste.ubuntu.com/24923623/09:19
mitya57cpaelzer, I wonder how make[4] has exited if a child process is still running?09:20
mitya57Do you have the full log? (stdout/stderr, not strace)09:20
cpaelzerwell I have my console and buildlog09:22
cpaelzerso yes09:22
cpaelzerin any case the follow fork strace workd here FYI http://paste.ubuntu.com/24923638/09:23
cpaelzerthat is the haning pid09:23
cpaelzerhere also the build log so far http://paste.ubuntu.com/24923644/09:23
sil2100Laney: hey! I'm a bit of an autopkgtest noob - I triggered a test run through an explicit command through the request.cgi URL, I saw the test running and now that it's finished, where can I see the logs for it? I don't see it in http://autopkgtest.ubuntu.com/packages/matlab2tikz/artful/amd6409:23
Laneysil2100: for a PPA?09:24
sil2100Laney: yeah09:25
mitya57cpaelzer, thanks, so maybe the issue is actually somewhere in Qt test runner.09:25
Laneyhttps://wiki.ubuntu.com/ProposedMigration/#Testing_against_a_PPA09:25
* sil2100 reads up09:25
sil2100Laney: thanks!09:25
mitya57here we also have this:09:25
mitya57QWARN  : QDeclarativeMultimediaGlobal::test_convertVolume() file:///usr/lib/s390x-linux-gnu/qt5/qml/QtTest/TestCase.qml:1781: TypeError: Cannot read property 'tag' of undefined09:25
cpaelzermitya57: the gdb backtrace looks just the same09:26
cpaelzeras in the former case09:26
mitya57If the test runner was in C++, I would like to add a breakpoint on the line where that TypeError is printed, but it is in QML so that would be difficult.09:28
cpaelzerFD 5 which it polls on seems to be eventfd09:29
mitya57That doesn't say anything to me :(09:30
cpaelzerI wonder that the full starce has no open/socket/... that returns =509:31
cpaelzerusually that is what I expect for those FDs09:31
mitya57cpaelzer, what do you think about trying valgrind? bad idea?09:31
cpaelzerbad idea09:32
cpaelzervalgrind needs to rewrite code so you need to atatch upfront09:32
cpaelzerif I would set that up working I'd attach gdb09:32
cpaelzerthe hard part is to "catch" it in between all the build systems complexity09:32
cpaelzerthat is why the strace -ff was neat to track at least a bit09:32
mitya57cpaelzer, I can tell you how to run the test process directly09:32
cpaelzerwell lets try09:32
mitya57Then you should be able to set up gdb09:33
cpaelzerbut for that I'll first kill my sbuild and do a debian/rules build locally in the dir09:33
cpaelzerI hope that this hangs as well then09:33
mitya57You can use the already built files09:33
cpaelzerthis is the most default sbuild setup - not sure if it leaves something around if I kill it now09:34
mitya57You can chroot to it?09:34
cpaelzeralready searching the id09:34
cpaelzerhrm the mountpoint it had in the buildlog is gone09:37
cpaelzerand I don't want it to still hang with the sbuilds hanging processes09:37
cpaelzereven cleanup is not set and it said it didn't09:37
cpaelzerweird09:37
cpaelzerbut that reproduces pretty fast - I should soon have one ready09:37
cpaelzermaking build deps and all that avail ...09:39
cpaelzerI'll ping you then mitya5709:39
cpaelzeronce ready or once I've given up to screw my system into a non working state :-)09:39
mitya57cpaelzer, thanks once again for your efforts :)09:40
* cpaelzer has a mainframe heart09:40
=== Guest25938 is now known as iulian
mitya57cpaelzer, in any case, something like this http://paste.ubuntu.com/24923708/ should allow you to run the test directly09:40
mitya57(replace PKGBUILDDIR with /path/to/qtmultimedia-opensource-src-5.9.0/)09:40
mwhudsonUnit193: ugh09:41
cpaelzerok will let you know then09:41
cpaelzerah 12 cpus, now this should be faster :-)09:52
cpaelzermitya57: if that is any relive - at least repro-wise - /usr/bin/debuild -eDEB_BUILD_OPTIONS=parallel=12 -us -uc runs just into the same hang09:54
cpaelzerso all the sbuild is not needed to trigger - ehading to try the test manually now09:54
cpaelzermitya57: ok all complete I can trigger jsut the broken test now09:57
mitya57\o/09:58
cpaelzergdb atatched and running09:59
cpaelzermitya57: http://paste.ubuntu.com/24923770/10:00
cpaelzerI might need to make the libs debuggable10:01
cpaelzerdid you have dbgsyms in your ppa enabled?10:01
mitya57cpaelzer, not much interesting, the dbgsyms won't help.10:03
cpaelzermitya57: I'll have a longer lunch break soon'ish - you can then plan what you'd need from me when I'm back10:03
cpaelzeranything that would help to make that plans to exec immediately?10:04
mitya57I don't have many ideas :(10:04
mitya57Maybe my question about valgrind again?10:04
cpaelzerIt is too QT'y for me to have much ideas - most thing look like "Uh desktop?" to me10:04
Laneycpaelzer: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/2835/+packages looks like s390x is hanging on zesty and artful but passing earlier10:05
cpaelzerI can run it, although I'd not expect a lot from valgrind here - we are not looking for leaks do we?10:05
mitya57cpaelzer, Or maybe catch writes to stderr and get a stacktrace of the point where the warning is print?10:05
mitya57*printed10:05
cpaelzeryou mean the one about the tag?10:06
mitya57Yes10:06
cpaelzeryeah - can try that after lunch10:06
mitya57Sure10:06
mitya57Laney, interesting, with Qt we didn't get anything like this on Zesty.10:06
Laneyalthough...10:07
Laneyagain on y and x the tests are just failing10:07
Laneymitya57: I guess something different10:07
cpaelzervalgrind also thinks the program is exited yet hangs10:08
cpaelzermaybe the main thread went away10:09
cpaelzerpasting valgrind log for you and then back after lunch10:09
cpaelzermitya57: http://paste.ubuntu.com/24923957/10:09
cpaelzerif we want other valgrind tools later let me know10:09
mitya57I would expect some invalid read/write warnings right before that QWARN, but there are none10:12
mitya57cpaelzer, a question for after lunch: can you edit /usr/lib/s390x-linux-gnu/qt5/qml/QtTest/TestCase.qml? Maybe some debug prints there would give more information10:15
JudgeHi everyone. How can I see how an application in an Ubuntu package was compiled?10:21
Judge... or configured for compilation?10:22
pittiJudge: easiest is to check the build log10:24
pittie. g. https://launchpad.net/ubuntu/+source/cockpit -> select version -> select architecture -> buildlog10:26
xnoxJudge, pull-lp-source $srcpackage -> read debian/rules that should clearly show any non-default options.10:32
xnoxand patches applied from debian/patches10:32
Judgepitti: Perfect, thanks10:33
cpaelzermitya57: is there anything in qt like a "set -x" in shell?11:04
mitya57good question11:05
mitya57*maybe* QT_FATAL_WARNINGS=111:06
mitya57But with that variable it will fail on the "JIT is disabled for QML. Property bindings and animations will be very slow." warning11:07
Unit193mwhudson: Thanks for looking into it. :>11:07
mitya57cpaelzer, the debug symbols in my PPA are enabled, so you can install libqt5core5a-dbgsym and break on QMessageLogger::warning11:10
mitya57cpaelzer, but first please tell me if you can edit /usr/lib/s390x-linux-gnu/qt5/qml/QtTest/TestCase.qml11:11
cpaelzermitya57: already adding the 7th debug statement11:12
mitya57haha11:12
mitya57cpaelzer, for reference, this is how successful test output looks like: http://paste.ubuntu.com/24924174/11:13
mitya57It somehow passes for linear -> linear and linear -> cubic, but does not like linear -> logarithmic even though it is very similar.11:14
cpaelzerthe row object is non existant in the error case11:15
cpaelzerthe subsequent access to an element under that object makes it hang11:15
cpaelzerit doesn't reach the line afterwards11:15
cpaelzeris there a "is_defined" or anything like it?11:15
cpaelzermight need to skip the whole thing11:16
cpaelzerin case it is not existing11:16
mitya57try “foo !== undefined”11:16
cpaelzerbut also - why is this arch dependent11:16
mitya57it may be endianness dependent, as s390x is the only big endian arch in Ubuntu11:16
cpaelzercode uses "=== undefined"11:17
cpaelzerwill go with that11:17
mitya57yes, !== is the opposite to ===11:17
cpaelzerseems reasonbale :-)11:18
cpaelzerit goes into table[index] and gets an undefined11:18
cpaelzerso isn't that an out-of-bounds in some way11:18
cpaelzerneed to check what that table holds11:18
mitya57right11:21
cpaelzerseems to hold about 100 entries (the tests parameters I guess)11:22
cpaelzerbut on index 10 it breaks11:22
cpaelzerfrom the good test is the order of the testcases up to that the same?11:22
mitya57Yes, the same11:23
cpaelzer-1.0 from linear to logarithmic11:23
cpaelzerthat is what we would expect11:23
mitya57cpaelzer, the table should contain the entries defined in tst_qdeclarativemultimediaglobal.qml from line 6811:23
mitya57yes11:23
mitya57cpaelzer, what is table.length?11:24
mitya57It should be 88 if I count right.11:25
cpaelzer8811:25
cpaelzerall index above 10 are undefined11:25
cpaelzerI can "finish" the tests by skipping11:26
cpaelzermitya57: http://paste.ubuntu.com/24924216/11:26
mitya57cpaelzer, and what does that print?11:29
cpaelzerjust a sec, modifying the testcase def to see its influence11:30
cpaelzermitya57: http://paste.ubuntu.com/24924234/11:31
cpaelzerthat is with two tests taken out of the def11:31
cpaelzerand it proves it is not the definition of the case11:32
cpaelzerbut always test #1011:32
cpaelzerso I have a table of length 88 that I can only access 0-911:32
cpaelzerthe other issues might just as well be such out of bounds access11:33
mitya57cpaelzer, that is very strange, but also very interesting11:33
cpaelzerand it seems it can survive the first out of bounds - asnering with an undefined object11:34
cpaelzerbut the access to an element  of that undefined object then kills it11:34
cpaelzerit creates the QWARN we saw and hangs on there11:34
cpaelzermitya57: the fact that these lists are broken might be arch specific (maybe endiness as you suggested) - and the other part that the error hangs might be whatis new in artful11:37
mitya57cpaelzer, if you change the order of tests in tst_qdeclarativemultimediaglobal.qml, is behavior the same?11:37
cpaelzermitya57: yes11:37
cpaelzermitya57: always #1011:37
cpaelzermitya57: so it depends on size if anything11:37
cpaelzermitya57: http://paste.ubuntu.com/24924267/11:40
cpaelzerupdated debug code11:40
mitya57cpaelzer, minor nit: you need to wrap the two lines after “if (!row.tag)” in {...} otherwise the second line does not belong to if.11:41
cpaelzerit is wrapped in the updaet11:41
cpaelzerupdate11:41
cpaelzerI got that a few minutes ago11:42
mitya57No…11:42
cpaelzerah this one11:42
cpaelzeryeah same logic - right11:42
mitya57I think we already have enough material that I can report to Qt upstream.11:42
cpaelzeryeah that is the only thing that comes to my mind11:43
cpaelzermitya57: let me make updates diffs and output11:43
cpaelzerthat you can then report11:43
mitya57But maybe it will be a good idea to try creating a normal array and checking if indices >=10 work there.11:43
cpaelzermitya57: you can write some basic code that I can run while I collect the logs11:43
mitya57cpaelzer, try adding this somewhere:11:43
cpaelzermitya57: be aware that it might dpeend on the size of the elements11:43
mitya57I think it is an linked list rather than a vector11:44
cpaelzerwhat ot add somewhere?11:44
mitya57So how about this? var a = [0,1,2,3,4,5,6,7,8,9,10,11]; warn(a[10])11:45
mitya57and also warn(a["10"])11:47
mitya57When you use “for (var i in array)” construct, i is a string rather than a number11:48
mitya57cpaelzer, ^^11:48
cpaelzeryeah just on that11:49
cpaelzerI found iteration examples and will use those11:49
cpaelzerjust a fe wmins11:50
mitya57Ok11:50
cpaelzerfor (var i = 0; i < states.length; i++)11:50
cpaelzerlike that is the recommende daccess11:50
cpaelzerThat is it mitya5711:51
cpaelzerlet me send latest diff and output11:51
cpaelzerthe fix becomes clear now11:51
mitya57cpaelzer, In this case i would be an integer. But in the TestCase.qml index is a string. *That* might be broken.11:51
cpaelzerhttp://paste.ubuntu.com/24924309/ http://paste.ubuntu.com/24924307/11:51
cpaelzermitya57: look at the arr iteration11:52
cpaelzerwith the for i in it is broken as soon as it is double digit11:52
cpaelzerand with the alternative iteration on numbers it works11:52
mitya57Oh oh oh we found the bug!11:52
cpaelzeryeah11:52
mitya57Thanks a lot!11:52
cpaelzerI'll code up the fix for this case and try with that11:52
cpaelzeryou likely can apply that to about everywhere you block then11:52
mitya57I think I can try to write a patch myself.11:53
cpaelzerfix: http://paste.ubuntu.com/24924317/ - good case log http://paste.ubuntu.com/24924318/11:54
cpaelzermitya57: done11:54
mitya57\o/11:54
cpaelzermitya57: but as I said this has to be fixed in many places for sure - maybe way more than the few hangs you had11:54
cpaelzermitya57: you can use all the output I pastebinit'ed before as example on your upstream contrib then11:55
mitya57Either I or Qt upstream should figure out why array["10"] does not work — it should be supported11:55
cpaelzerI think I reply our IRC log of the last hours onto the ML so that nobody spends time about thinking what might be wrong on LP-infra or s390x11:55
cpaelzermitya57: are you ok with that?11:55
mitya57cpaelzer, OK!11:56
mitya57But I still have no idea why this bug does not occur on Debian s390x11:56
cpaelzerarray["10"] really might be the place where endieness hits11:56
cpaelzerI assume the warning for them is not having this blocking behaviour11:56
cpaelzermitya57: do they have the QWARN in their log?11:56
mitya57cpaelzer, no11:57
cpaelzeruuuh11:57
cpaelzerok well, I need to go on to the next package11:57
cpaelzerglad I could help that far mitya5711:57
mitya57cpaelzer, sure, your debugging helped me a *lot*11:57
cpaelzerback to my beloved systemd/ntp error again ...12:10
mitya57cpaelzer, tsimonq2: FYI https://bugreports.qt.io/browse/QTBUG-6157912:29
cpaelzerthanks for the info mitya5712:30
naccxnox: right, I understand that -- but it doesn't *always* do that, even then (it seems).15:05
slangasekinfinity: #ubuntu-meeting?15:06
=== JanC_ is now known as JanC
juliankxnox: Does it even make sense that you self-assign the apt tasks when I already uploaded everything? Seems a bit odd ;)15:55
* juliank should probably have assigned that some time ago.15:56
juliankBut it certainly makes sense for you to do the u-u part :)15:56
xnoxjuliank, yes it is odd.15:58
xnoxjuliank, i was doing that, such that people keep asking me for updates on it.15:58
xnoxjuliank, and such that it disappears from many reports of un-assigned bugs.15:58
xnoxthus it's mostly cosmetic change to pacify reports.15:58
juliank:)15:58
juliankWe should also open another bug for improved reliability of network availability (apt-helper wait-online and automatic restart of service).  I think I know what to write, but we need a tracking bug for that anyway.16:00
juliankI guess Ill do that once I'm on my laptop again.16:01
juliankxnox: We especially have to pick a nice exit value for the helper.16:02
juliank;916:02
juliankexit(42) or something16:02
rbasakslangasek: would you mind commenting on bug 1690228 please? I remember you saying that you considered ethtool to be deprecated, but I'm not sure I understand exactly why.16:25
ubottubug 1690228 in ethtool (Ubuntu) "Make ethtool installed by default in Ubuntu" [Undecided,Incomplete] https://launchpad.net/bugs/169022816:25
rbasak(or did I misunderstand?)16:25
naccrbasak: fyi, not sure if you saw, but folks are saying LP: #1590799 is not actually fixed16:47
ubottuLaunchpad bug 1590799 in nfs-utils (Ubuntu Yakkety) "nfs-kernel-server does not start because of dependency failure" [Medium,Fix committed] https://launchpad.net/bugs/159079916:47
rbasakThanks nacc16:48
rbasaktinoco: ^ could you investigate please?16:48
tinocorbasak: sure, adding to my list (next week most likely)16:49
nacctinoco: thanks -- had a user in #ubuntu also hit it (most likely)16:49
tinocoi'm afraid it is another race (not the initial one) hopefully i'll reproduce (or will just ask for systemd logs)16:49
rbasakThanks. Yeah it looks like it may be multiple bugs.16:49
juliankxnox: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/169985016:51
ubottuLaunchpad bug 1699850 in apt (Ubuntu) "Reliable network connectivity for apt-daily" [Undecided,New]16:51
juliankSummary: Wait for up to 30 s for network connectivity, and retry every 15 minutes if not online yet.16:53
xnoxjuliank, this might be easier on ubuntu, than on debian. in e.g. artful. by calling networkd-wait-online.16:55
juliankxnox: That might have network online but no internet connectivity or stuff. The apt-helper will check if the hosts we actually need are online.16:56
juliankxnox: The pseudo code is effectively optimized for the case where the first host is reachable, BTW.16:59
juliankI assume there's no non-blocking alternative to getaddrinfo()?17:00
juliank(Then we could just issue all DNS requests at once, potentially reducing wait time if first host is permanently offline - but how likely is that anyway)17:01
mitya57What is the status of checkbox-converged? Currently it seems to be the only package in main still using ubuntu-ui-toolkit. Will it be ported?17:03
juliankxnox: I'm unsure if we should just wait for one remote host, or maybe a majority17:03
juliankIf you configured localhost or something it might come up to early17:04
juliankI guess we can exclude loopback addresses, though17:04
juliankSo, exclude 127.* and the IPv6 equivalent, and 1 successful connection, and we should be good to go IMO17:05
juliankWe'll try http hosts on port 80 or specified, https on 443 or specified, and either ignore the other ones (ftp, rsh, torrent, whatever) or just try 80 or something (or well, only DNS)17:07
slangasekrbasak: what is this about it not being installed by default?  it's in the server and cloud-image seeds17:11
slangasekrbasak: I think we may have talked about moving it out a layer or two in the packagesets from where it was earlier, but doesn't seem to have been moved any farther than that17:13
julianktkamppeter: I was looking for you recently. I got a Brother HL-2130 and that's working mostly fine with HL-2140 drivers (hpijs-pcl5e or hl2150, slightly different rendering). Maybe it's worth it adding them as HL-2130 ones too?17:23
naccslangasek: aiui, it shouldn't matter that user is netbooting to install ubuntu server vs. iso installing, as far as the packages that get installed, right?17:23
julianktkamppeter: You might have seen a message from me in a Debian bug about the device17:23
juliankhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=63515717:24
ubottuDebian bug 635157 in openprinting-ppds "Brother HL-2130 laser printer support" [Wishlist,Open]17:24
juliankStuff like manual duplex is not working (duplex checkbox does nothing), and one of the drivers fails at the highest setting (1200x600), but apart from that, it seems to work fine.17:25
juliank(That's why I bought it in the first place, thanks to the Arch wiki, and it only costing me 25€ used with a toner with unknown capacity included)17:26
naccslangasek: rbasak: ok, that's the root cause of this bug, I'll respond in-bug17:36
slangaseknacc: the netboot image isn't a "server" image, it's a generic "d-i" image, so comes with no default task selection17:42
gpiccolinacc, slangasek, rbasak : just commented there on LP 169022817:49
ubottuLaunchpad bug 1690228 in ethtool (Ubuntu) "Make ethtool installed by default in Ubuntu" [Undecided,Incomplete] https://launchpad.net/bugs/169022817:49
gpiccoliNot sure if got mirrored already...17:49
gpiccoliI'm here too, if you prefer more dynamic conversation than launchpad posts heh17:49
gpiccolislangasek, so what is a generic "d-i" image?17:50
gpiccoliIf iproute2 got installed, why ethtool shouldn't be, for example?17:50
cjwatsoniproute2 is in the minimal set (i.e. what debootstrap installs) but ethtool isn't; that's not a statement of intent, just an observation of current reality17:55
cjwatsonbut I would hope developers would think hard before adding feature creep to minimal17:56
cjwatsonit isn't in general intended for the output of debootstrap to contain everything you might need to operate a server17:57
cjwatsonand personally I don't think it's a bug when the result of a netboot install is missing just about any package you might name; netboot installs are intended to be absolute bare minimum, and you can add more packages by preseeding or whatever17:58
gpiccolicjwatson, thanks! I partially agree with you18:04
gpiccoliI agree with the part: " I don't think it's a bug when the result of a netboot install is missing just about any package you might name"18:04
gpiccoliProblem is that: after the boot, how could I fix this, I mean, install this package, if I have no network?18:04
gpiccolihehehe18:04
gpiccoliegg/chicken issue...you might need the troubleshoot tooling to allow you fix network in order to use machine18:05
cjwatsonExcept if netboot works at all then by definition it can install things from the network.18:05
cjwatsonSo that isn't valid.18:05
gpiccoliSometimes, the 'issue' is on switch you don't have access, like it's refusing some configuration your NIC sends...ethtool might come handy to fix this, by configuring NIC18:06
cjwatsonIt must always be possible to nominate additional packages using preseeding, at the very least.18:06
gpiccoliYes, makes sense18:06
gpiccolibut then, we can raise the follow-up discussion: would it make sense to have ethtool on installer itself?18:06
cjwatsonI agree it's useful to have some minimal set of configuration utilities; every additional package has incremental cost, so it's a judgement call.18:07
gpiccoliFor netboot installers, I do believe we need it. If not, we might not be able to progress the installation18:07
gpiccolicool cjwatson, agree with you18:07
gpiccolilet's what will be this judgement heheh18:07
cjwatsonIf it's needed in d-i, then I think it needs some thought to define exactly what the possible requirements might be in order that netcfg could support them.18:08
cjwatsonJust the tool being present is only of limited use.18:08
cjwatsonNote that netcfg already contains an ethtool-lite.18:08
cjwatsonWhich is very cut-down and I think mostly read-only; but I think that indicates a design direction, i.e. just have netcfg implement the ioctls it needs to do the job rather than shipping ethtool.18:09
cjwatson(netcfg's ethtool-lite is mostly just for detecting link presence at the moment, I think.)18:10
naccslangasek: ack, just commented to the same effect after thinking about it in the bug18:11
gpiccolioh, i wasn't aware of this ethtool-lite18:15
cjwatsonLike I say it's mostly just link presence, but I think it would be weird to end up in a situation where we had both ethtool-lite and ethtool in the installer - it would indicate not having thought things through globally, IMO.18:18
gpiccoliexaclty, it makes sense18:23
gpiccolino need for ethtool0lite if we can have the full ethtool18:23
gpiccoliBy the way, how do I invoke ethtool-lite cjwatson ?18:23
gpiccoliduring installer, I mean18:23
cjwatsonalso no need for ethtool if we work out the relevant bits and add them to ethtool-lite.  ethtool has a bunch of quite sophisticated stuff that won't be needed during installation.18:24
cjwatson(or add them to netcfg directly.  whatever.)18:25
cjwatsonI don't recall, sorry.18:25
cjwatsonLook at the netcfg source package18:25
gpiccoliyes, we might add the features to ethtool-lite..could be difficult though to map all stuff we need18:26
naccgpiccoli: but for making a core change that is absolutely what is going to be required18:28
naccgpiccoli: it can't be hand-wavy we need ethtool because we need ethtool :)18:28
cjwatsonYep.  And in order to add installer UI it will be necessary to define the specific features that are needed.18:31
cjwatsonSeems that if we ended up with a system where we knew that some people were going to have to drop to a shell to use ethtool in the middle of the installation, we'd only have done half the job at best.18:32
gpiccoli"it can't be hand-wavy we need ethtool because we need ethtool" <- what do we need to justify here?18:32
gpiccoliHelp me wording the request hehehe18:32
sarnolda list of features that are preventing you frmo installing? :)18:33
cjwatsonSpecific features that are currently provided only by ethtool that might be strictly required in order to get a system's network up.18:33
gpiccolifor me, miss a tool to configure NICs in a small installer that only can work if network is fine, is a dangerous thing18:33
cjwatsonMost systems don't require ethtool.18:33
naccgpiccoli: just be specific as to what you can't do now18:33
gpiccolicjwatson and sarnold, thanks a lot! I'll raise such list18:33
naccgpiccoli: it can't be a theoretical list (IBM historical problem :)18:33
cjwatsonTry to keep it minimal.18:33
gpiccoligreat nacc, it's a good point!18:33
cjwatsonDon't just go over the man page and enumerate everything that looks kind of useful.18:33
cjwatsonIt has to be actual things that definitely hit real systems.18:34
gpiccoliI'll keep minimal, of course I won't say "I cannot see statistics of how much packets delayed more than X ms, so I cannot install" hahah18:34
cjwatsonAnd I would recommend a solution-neutral problem statement.18:34
gpiccoliyes, I have a use case already, for i40e. i'll improve it18:35
gpiccolisolution-neutral aka not say "I-need-ethtool-please" ?18:35
gpiccoliheheh18:35
cjwatsonIn each case, there might be some other sensible solution that doesn't involve people having to drop to a shell mid-install to use ethtool: kernel sorting it out by default, installer UI to configure things, embedding a couple of ioctls in some other tool, ...18:35
cjwatsonHaving to manually configure network devices is pretty 1990s and we should be able to do better.18:36
gpiccoliok cjwatson, it does make sense. i got your point here, all you folks said are really valid and I'll take into account. Thanks a lot for the great feedback18:36
cjwatsonThanks for listening :)18:36
gpiccoli90s was the best, I'm oldschool =D18:36
gpiccoliYw, thanks for your patience!18:37
mwhudsonwatching vim build is hard on the eyes23:10
naccmwhudson: fyi, LP: #1571967 seems relevant to our earlier *.lxd discussions23:11
ubottuLaunchpad bug 1571967 in lxd (Ubuntu) ".lxd domain resolution not working after standard installation" [Wishlist,Won't fix] https://launchpad.net/bugs/157196723:11
naccmwhudson: i've yet to actually get what we both wanted to 'just work', but stgraber's suggestion in there does make ssh work, at least23:12
mwhudsonwow that ssh suggestion is both awesome and terrible :)23:14
naccmwhudson: :)23:15
Unit193mwhudson: Oh hi!  Are you active in the server team?  Do you know why python-moinmoin is needed in main?23:15
mwhudsonUnit193: i'm foundations theses days, and, no23:15
Unit193OK.23:16
mwhudsondoesn't seem to have any rdeps in main though...23:16
mwhudsonso i guess it's seeded?23:16
naccmwhudson: not that i can see23:16
Unit193(LP 586492 didn't say specifically why it was needed.)23:19
ubottuLaunchpad bug 586492 in parsedatetime (Ubuntu) "[MIR] parsedatetime" [Undecided,Fix released] https://launchpad.net/bugs/58649223:19
naccUnit193: oh good thinking -- if moin can be in universe, then parsedatetime would migrate?23:20
Unit193nacc: They'd both have to go to universe, but yep.  And I don't see why moin is in main anyway.23:21
Unit19322371 seems to be as close as it gets, discusses main.23:22
naccUnit193: yeah that's the bug i was just reading23:22
naccslangasek: --^ are you able to help us determine this?23:22
naccUnit193: I *wonder* if the ubuntu wiki or something is moin23:23
naccUnit193: and so it's manually being held in main by request23:24
Unit193nacc: Ubuntu wiki is moinmoin.23:24
naccUnit193: that might be why?23:24
naccUnit193: presumably we'd want to support our own infra :)23:24
Unit193nacc: Heh, well by the name I thought it was a python module for interacting with it, would have expected the source to be 'moinmoin'.  Didn't look too closely at that.  We should just move to mediawiki to solve this then! :P23:26
naccUnit193: I am curious where that gets expressed. I wonder if it's an AA thing23:27
Unit193nacc: So, this sounds like a problem then.23:27
naccUnit193: ok, moin shows up here: http://people.canonical.com/~ubuntu-archive/germinate-output/ubuntu.artful/all+extra.sources23:27
naccUnit193: foudn it ... supported-misc-servers seed http://people.canonical.com/~ubuntu-archive/germinate-output/ubuntu.artful/supported-misc-servers.seed23:29
naccnow why didn't seeded-in-ubuntu tell me that?23:29
Unit193Because it doesn't like you.23:29
Unit193nacc: But yes, we did find out why.  Now, how does one move forward?23:30
naccUnit193: i think we need to look at MIR'ing python-future -- that was the revdep, right?23:31
Unit193Yeah, new parsedatetime also builds python3-parsedatetime too.23:31
infinityMIRing python-future seems like a sane thing to do.23:34
infinityActually a bit shocked it's avoided main this long.23:35
naccinfinity: yeah, i think it seems reasonable23:35
naccUnit193: do you want to file the MIR?23:35
Unit193nacc: That'd be better coming from a team member, wouldn't it?23:35
naccUnit193: well, it was your upload request :)23:36
naccUnit193: i can file it, though, probably not til tmrw23:36
Unit193nacc: Correct, but I'm not in the team so can't subscribe them to the bug mail, and making a MIR request on behalf of a team that I've not discussed it with seems bad form.23:38
naccUnit193: which team do you mean?23:38
Unit193Server team.23:38
naccUnit193: oh, i am :)23:38
naccUnit193: i am in that team, i mean23:39
naccinfinity: is it normal that seeded-in-ubuntu doesn't show the misc-server seed? e.g., above it didn't show that python-moinmoin and it's not showing me, e.g. that src:nagios3 has several packages seeded in supported-misc-servers23:40
Unit193nacc: FYI, this is all for the new gcalcli, which my sponsor is interested in pushing it to unstable rather than experimental.  It was ported to py3.23:42
naccUnit193: sure, but this other revdep path shows that the new parsedatetime would have gotten stuck anyways (and so python-future needs the promotion). So given that, I'll file the MIR :)23:43
Unit193nacc: Right, which was why I wasn't too stressed about my request for it.23:44
infinitynacc: It's normal that seeded-in-ubuntu isn't a perfect tool, I believe.  I'm sure the folks who run it would appreciate patches.23:44
Unit193I thought all Ubuntu tools were perfect and ported to py3. :323:44
infinityUnit193: Fairly sure neither of those things is true.23:45
Unit193infinity: Yep. :)23:45
Unit193(https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1099537)23:45
ubottuLaunchpad bug 1099537 in ubuntu-dev-tools (Ubuntu) "ubuntu-dev-scripts should be ported to Python 3" [Medium,In progress]23:45
naccinfinity: sure, i just noticed that particular quirk. I'm happy to work on it! :)23:46
naccinfinity: and sometimes what i perceive as a quirk is really PEBKAC23:46
infinitynacc: I have a 100% track record for blaming myself when the software's at fault, and vice versa.23:46
naccinfinity: heh23:47
slangaseknacc, Unit193, infinity: FTR, branch archaeology tells me moin is grandfathered into main from the original server seed and that this was last revisited only in 2009 when we moved it from server CD to supported.  It may be worth asking IS and/or the product manager if it still belongs23:48
naccslangasek: yep, i've filed a note to review that whole misc-servers seed23:48
naccslangasek: as there are some other old entries in there23:48
Unit193Might be nice to get pdt into universe, yeah.23:50
naccUnit193: yep, i've made a trello card (our newer tracking mechanism) for server and i'll review it with the team23:51
Unit193nacc: Thanks!23:51
nacchttps://trello.com/c/rr2vMcsr for documentation publicly23:51
naccrbasak: doing some more refactoring to `git ubuntu build` but i should have a pristine-tar version working tmrw, i think23:58

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