/srv/irclogs.ubuntu.com/2017/09/11/#ubuntu-devel.txt

pittidoko: hey, wie gehts?05:58
LocutusOfBorgmaxb, #ubuntu-release seems more appropriate06:10
zyga-ubuntucyphermox: hey, remember my network-manager/modem-manager issue? I updated this bug report with some more details: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/171603407:58
ubottuLaunchpad bug 1716034 in network-manager (Ubuntu) "Network manager stops managing Ethernet links after upgrade" [Undecided,Confirmed]07:58
zyga-ubuntupitti: hey, since you wrote netplan initially, can you perhaps have a look as well?07:59
zyga-ubuntupitti: tl;dr; version is that xenial -> zesty breaks networking because of a debian patch you made there08:00
zyga-ubuntupitti: and perhaps you know how this was supposed to be changed on updates08:00
juliankxnox: Not sure if you noticed, but apt-helper wait-online (a dumb version just running nm-online/systemd-networkd-wait-online when their services are active) landed in artful. Catching up with automatic updates should be more reliable at resume now. SRUs will come in a few weeks if that works out well :)08:10
juliankthe timeout is 30 seconds right now, we can still change that if we want to wait longer for network08:11
juliank(if you use multiple network management services, the time outs add up, though)08:11
juliankWe might want to patch network manager or docker.io to make this reliable on systems with docker, as described in https://bugzilla.gnome.org/show_bug.cgi?id=78748708:14
ubottuGnome bug 787487 in general "Please add "docker[0-9]*" to 85-nm-unmanaged.rules" [Normal,New]08:14
juliank* more reliable08:14
xnoxjuliank, do you really need multiple wait onlines? as the networked-wait-online currently waits for any one interface to become routable.08:58
xnoxjuliank, however i think that this thus may be buggy08:58
xnoxjuliank, and there are bug reports in artful now that wait-online stuff causes boot hangs and delays as if it is not working correctly.08:58
juliankxnox: need is a strong word, I just figured it's the best choice.  I also moved the network-online dep from the timer to the target, that might improve boot performance.08:59
juliank* to the service08:59
juliankthis way basic.target does not pull it in anymore08:59
juliankAnd we only run systemd-networkd-wait-online if networkd is running; or nm-online if NetworkManager is running09:00
juliankbecause it just hung before09:00
julianks/before/without the service running/09:02
juliankin theory it should already not be impacting boot performance, as basic.target has a mere Wants on timers.target, and no After=09:03
juliankBut if it did for some reason, it should be better now09:03
pittizyga-ubuntu: so that's different to bug 1690992 ? I thought that already avoided the disabling on all upgrades09:44
ubottubug 1690992 in network-manager (Ubuntu Zesty) "fix for bug #1569649 left NetworkManager-wait-online disabled on some systems" [Undecided,Fix released] https://launchpad.net/bugs/169099209:45
zyga-ubuntupitti: that feels different09:47
zyga-ubuntupitti: essentially N-M was igoring all but wifi09:47
zyga-ubuntupitti: ethernet was disabled09:48
zyga-ubuntupitti: as was my wwan (called "gsm" here) connection09:48
zyga-ubuntupitti: this also affects my desktop running artful09:48
zyga-ubuntupitti: (both are upgrades from xenial)09:48
pittizyga-ubuntu: right, sorry, mistyped the bug #; I followed up with the right one in your's09:57
pittizyga-ubuntu: I mean bug 167654709:58
ubottubug 1676547 in network-manager (Ubuntu) "No network connectivity after upgrade from 16.04 to 16.10" [Critical,In progress] https://launchpad.net/bugs/167654709:58
zyga-ubuntupitti: aha10:00
zyga-ubuntupitti: how was it supposed to work?10:01
zyga-ubuntupitti: the crippling file is in /usr/lib by default10:01
zyga-ubuntupitti: what was to ensure that the counterweight is in /etc on non-server systems?10:01
pittizyga-ubuntu: NM should continue to work as-is on updates, and not manage eth on new installs10:01
pittizyga-ubuntu: the empty conf file (shadowing the one in /usr) was supposed to be created by the postinst10:01
pittibut apparently there was some logic error10:01
zyga-ubuntupitti: why should NM not manage ethernet?10:02
zyga-ubuntupitti: note *on desktops*10:02
zyga-ubuntupitti: I don't mind servers10:02
pittizyga-ubuntu: because on new installs netplan will do that10:02
pittioh, on desktops it should manage everything, yes10:02
pittibut that's done by a netplan conf snippet which (re-)enables eth for NM10:03
Unit193But amusingly, to remove nplan which is unused, you remove ubuntu-standard too. :P10:03
zyga-ubuntupitti: but on desktop netplan is not doing anything for me10:03
zyga-ubuntupitti: no default config or anything, how was it supposed to be triggered?10:03
pittithere should be a default config10:04
zyga-ubuntuwhere?10:04
zyga-ubuntuI don't see one in the package10:04
pittithe installer should plant an /etc/netplan/ snippet which assingns all ethernets to NM10:04
zyga-ubuntu/etc/netplan10:04
zyga-ubuntupitti: that's on new installs, what about updates?10:04
pittimind you, if that is an upgrade, none of this will/should happen10:04
zyga-ubuntupitti: is this just a lot of people doing dist-upgrade the old way?10:04
zyga-ubuntuand then running into a problem?10:04
pittion upgrades, NM is simply meant to create the empty "shadowing" of the /usr/lib/ NM config file via postinst10:05
pittidist-upgrade should be fine, the logic is in postinst, not update-manager10:05
pittithe postinst logic was simply not sufficient10:05
zyga-ubuntuaha10:05
zyga-ubuntuI see, thank you10:05
zyga-ubuntuare you still interested in fixing this or ENOTIME anymore?10:05
juliankI thought netplan was just generating NM config files?10:06
pittizyga-ubuntu: cyphermox has already fixed this, or is at it10:06
pittijuliank: yes, that or networkd config files, depending on the config10:06
zyga-ubuntupitti: I see, thank you!10:06
zyga-ubuntu    if dpkg --compare-versions "$2" le-nl "1.2.2-0ubuntu4"; then10:06
zyga-ubuntu        mkdir -p /etc/NetworkManager/conf.d || true10:06
zyga-ubuntu        # for old versions, override the global config with a null config10:06
zyga-ubuntu        touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf10:06
zyga-ubuntu    fi10:06
Unit193juliank: It's kind of backwards though, network-manager ships the config file that disables nm by default, whereas that snippet really should be in nplan package. :P10:06
pittiyeah, that would work, too - feel free to toss it around :)10:07
Unit193I did, the bug was closed.10:07
zyga-ubuntupitti: that's in the postins file, for whatever reason it didn't run10:07
zyga-ubuntupitti: thank you again!10:07
pittizyga-ubuntu: the reason is that 1.2.6 was uploaded to xenial-updates10:08
pittizyga-ubuntu: so the version comparison did not match any more10:08
pittiso I think it should just be bumped to the version that introduces the file10:09
juliankxnox: I think boot speed might have improved with apt 1.5~rc2 indeed. The past time it always spent 10s in userspace now it's at 5 seconds10:45
juliankcuriously, total time went from 35s down to 20s10:46
juliankdespite the other times being the same10:46
juliankA: Startup finished in 1.138s (kernel) + 9.957s (initrd) + 10.063s (userspace) = 35.269s10:46
juliankB: Startup finished in 1.156s (kernel) + 8.399s (initrd) + 4.632s (userspace) = 20.473s.10:46
juliankAlthough I must say that the timer or the service never was in the critical chain10:47
juliankLet's downgrade and reboot10:48
juliankand yup, it's back at 10s10:50
juliankBut that's mostly a reporting problem I guess10:51
juliankIf the timer depends on network-online, the boot is not considered complete.10:52
juliankIf you move the dep to the service, the boot is considered complete earlier10:52
juliankBut well, perception matters to10:52
julianko10:52
juliankboot plots: https://people.debian.org/~jak/boot-rc1.svg  https://people.debian.org/~jak/boot-rc2.svg10:52
juliankI mean, unless the timer has elapsed we don't even pull in wait-online stuff during boot anymore10:55
=== freyes__ is now known as freyes
=== mnepton is now known as mneptok
sil2100jbicha: hey! I see14:55
sil2100Argh, copy-paste error14:55
sil2100jbicha: hey! I see the evolution-data-server you recently uploaded enables the installed-tests autopkgtests, but those seem to be horribly flaky14:56
sil2100jbicha: they were disabled with the previous versions, now they seem to be failing in artful-proposed for some archs14:56
sil2100When running on my chroot I see they're indeed very unreliable, getting different failures with every run14:57
sil2100jbicha: maybe we should disable them again?15:05
LocutusOfBorgdoko, I tried to debug potemkin-clojure failure, and I failed, do you have some debug/progress to share?15:13
dokono15:14
LocutusOfBorgmaybe I'll ask to debian-java if you didn't already15:15
LocutusOfBorgdoko, could you please include https://launchpad.net/ubuntu/+source/automake-1.15/1:1.15.1-2.1ubuntu1 if you have chances to do a new test rebuild?15:29
juliankSo, how do the servers boot with networking? I'm currently dropping the Wants=network-online.target from apt as that has weird implications (and we have our own wait-online helper for network-manager, systemd-networkd, and connman). We still have an After=network.target, so stuff like ifupdown will still run before the service.15:31
juliankThe question is if that's enough, or if there is something else to look out for15:31
juliankxenial, zesty, and artful15:31
juliankWell I guess it seems fine15:35
juliankI'm currently waiting 30s per service, so if someone has connman, NM, and systemd-networkd active, but no connection, it would wait 90s.15:41
juliankkind of weird15:41
juliank(but easy)15:42
dokoLocutusOfBorg: the next test rebuild will be the one once glibc migrates15:42
LocutusOfBorgso will you include that upload?15:43
seb128juliank, that might be a question for xnox15:43
LocutusOfBorgit is not part of artful15:43
LocutusOfBorgjbicha, are you located in florida?15:44
xnoxjuliank, servers default to networkd in artful and up15:45
xnoxjuliank, prior to that they defaulted to ifupdown15:46
juliankRight15:46
juliankThe question was mostly solved anyway because ifupdown's wait-online helper did not exist back then15:46
dokocyphermox: ping nplan failures15:47
dokojamespage: please could you have a look at http://autopkgtest.ubuntu.com/packages/o/openvswitch/artful/i386 ?15:57
dokoor is this temporary?15:57
xnoxdoko, unping cyphermox15:58
xnoxdoko, nplan fails due to bad base cloud-image15:58
dokoahh, ok15:58
xnoxdoko, and we need to get a new cloud-image which is currently broken due to multiple reasons, all of which are in various stages of being fixed.15:59
jamespagedoko: that looks like the transient issues with had some some architectures when I did some previous uploads - the tests just timeout15:59
dokook, retrying15:59
Laneydoko: Earlier today I retried everything; openvswitch is currently running16:01
dokoohh, ok. so better continue tomorrow with the analysis16:02
Laneyas you wish - some results will be in already - but I wouldn't retry things again16:02
slangasekcolord looks crazy16:02
slangasekvalgrind in an autopkgtest?16:03
slangasek... which fails because of stderr output16:03
naccheh16:03
dokofitspng is caused by https://sourceware.org/bugzilla/show_bug.cgi?id=1664016:05
ubottusourceware.org bug 16640 in string "string/strtok.c: undefined behaviour inconsistent between x86 and other generic code" [Minor,Resolved: fixed]16:05
powersjcyphermox: https://paste.ubuntu.com/25515376/ looks like the ISO tests are still getting asked for the keyboard-config, can you take another look?16:20
=== JanC_ is now known as JanC
dokotyhicks: please could you have a look at the autopkg test failures triggered by file?17:09
tyhicksdoko: I saw the emails come in over the weekend but haven't had a chance to look yet this morning17:12
tyhickssbeattie: ^17:12
tyhickssbeattie: fyi, I restarted a test that was preventing bzr from migrating and now it looks to be ready to migrate17:14
dokochrisccoulson: what is our firefox story? I noticed that there were no artful uploads at all17:15
dokoricotz: ^^^17:15
sbeattiedoko, tyhicks: yeah, I was looking at the file one, debian has a newer version of diffoscope, but I haven't confirmed it addresses the failure.17:18
sarnolddoko: I understand that artful firefox is blocked behind N different rustc update failures, a different one for each arch17:19
dokosarnold: https://launchpad.net/ubuntu/+source/rustc/1.18.0+dfsg1-4ubuntu1 looks fine17:19
=== nacc_ is now known as nacc
sarnoldit kinda sucks that we care about firefox on more platforms than are tier1 platforms for the rustc team17:19
sarnolddoko: that's two releases too old17:20
dokoahh, ok17:20
ricotzsarnold, no, it is enough17:20
ricotzdoko, hi17:20
sarnoldricotz: oh? I understood 1.19 was needed for the newest firefox, and 1.20 will be needed right quick..17:20
dokoanyway, you need to fix the glibc-2.26 triggered build failures17:20
ricotzsarnold, ff57 is a long way to go17:21
chrisccoulsondoko, I just need to upload it, but it doesn't work at all on arm at the moment17:21
ricotzff56 is good with 1.17.017:21
ricotzdoko, yeah, confince infinity to let is pass from proposed despite the failure17:22
doko?17:22
dokoit ftbfs17:22
ricotzbecause upstream only care about tier1 archs17:23
ricotze.g. https://bugzilla.mozilla.org/show_bug.cgi?id=139112617:23
ubottuMozilla bug 1391126 in General "toolkit/components/backgroundhangmonitor/HangStack.cpp:2:10: fatal error: shared-libraries.h: No such file or directory" [Normal,New]17:23
chrisccoulsonthat's not even the main problem. If you get it to build it doesn't run, because of what looks like a miscompilation17:25
ricotzchrisccoulson, did you forward the rustc fix for llvm4.0 to artful?17:28
chrisccoulsonwhich fix?17:28
ricotzadd debian/patches/fix-computeKnownBits-for-ARMISD::CMOV.patch17:28
chrisccoulsonis that not there already?17:29
ricotzI am asking you17:29
ricotzdoko, ^?17:29
chrisccoulsonoh, it's probably not. It's not in debian either17:30
dokoI just saw that it builds on debian s390x, but not on Ubuntu17:30
ricotzchrisccoulson, same for llvm3.9, I guess17:31
ricotzchrisccoulson, doko, also, could be that ff55 is not happy with gcc717:32
chrisccoulsondoko, can I get https://github.com/llvm-mirror/llvm/commit/cdc303e5ed4d3110e6f70931775a70bb1de44ed6 in llvm-toolchain-4.0 in artful please? (it's required for rust)17:33
chrisccoulsonwell, it's required for a future version of rust, that I'm in the process of preparing17:33
chrisccoulsonit's already in the 3.9 package17:33
xnoxdoko, what package is that specifically that builds in debian, but not in ubuntu? i'm failing to get context from above17:34
dokoxnox: firefox17:37
xnoxphh17:37
ricotzchrisccoulson, I don't think it is in llvm3.9/artful17:37
chrisccoulsonricotz, it is17:38
dokochrisccoulson: if you want to use 3.9, please fix the build. or use 4.0 / 5.017:38
ricotzchrisccoulson, ah ok, missed it17:38
xnoxdoko, but debian/fedora/etc do not use piles of embedded libraries to do builds like we do. Hence it builds :-(17:38
ricotzespecialy nss/nspr17:39
dokoxnox: so maybe it's time to change that, at least for the architectures we are not interested in?17:39
xnoxdoko, i'm not sure anybody cares though =/ cause firefox is out of scope on s390x17:40
dokoohh, but then you can't build libreoffice17:41
* doko hides17:41
dokocan't you run libreoffice in server mode these days?17:41
xnoxdoko, i'm sure you can boot to libreoffice, cause it embeds systemd =)17:43
cyphermoxpowersj: I think that will be fixed in a couple of hours?17:46
powersjcyphermox: ok thx, I'll sit tight and check results tomorrow morning17:46
cyphermoxpowersj: or it could be that I never uploaded the fix, I got distracted, oops17:47
cyphermoxpowersj: ok, the fix is in17:48
cyphermoxit's just waiting for the d-i build to finish17:48
powersjok thanks for checking!17:48
cyphermoxonce it's done building I'll take the mini.iso to make sure things are good :)17:48
jbichaLocutusOfBorg: yes (in FL) but I'm ok18:13
jbichasil2100: yes I intend to disable them again since they're still flaky even with a few changes18:18
=== led_ir23 is now known as led_ir22
sil2100jbicha: thanks!18:42
=== ubott2 is now known as ubottu
=== tdaitx_ is now known as tdaitx
=== dkessel_ is now known as dkessel
=== andyrock_ is now known as andyrock
=== stokachu_ is now known as stokachu
=== LocutusO- is now known as LocutusOfBorg
xnoxcjwatson, yeah i couldn't get start-stop-daemon to do something sensible under systemd either. i think stuff interferes because there is init.d and systemd unit but i gave up. It should just work, but i'm not sure how wide spread the problem is. And I'm sure the real answer here is to do use "systemd-run" which is equivalent of "run a one-off managed service"23:25
xnoxhm, i wonder if start-stop-daemon should really actually use systemd-run on systemd machines.23:26
sarnoldoh god the abstractions upon abstractions ..23:28
xnoxsarnold, it's not over until one embeds src:linux src:systemd src:network-manager!23:28
* sarnold cries quietly in the corner23:29
xnoxsarnold, at least one no longer needs to embed openssl, as src:linux does that now.23:31
sarnoldhahahaha23:31

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