/srv/irclogs.ubuntu.com/2020/02/07/#ubuntu-devel.txt

=== joelkraehemann is now known as joel2001k
RAOFArgh! Why don't I get any email for Mir build failures?!01:55
Skuggenahasenack: Hi! (it's early morning here now)04:45
=== bpsecret- is now known as bpsecret
jibelxnox, yes we still use autopilot for UI tests of ubiquity06:50
RAOFxnox: I've uploaded Mir 1.7.0 with all the build-fixes I know about; assuming ppc64el and s390x aren't more than usually hateful that should build everywhere and be migrateable.07:42
dokoxnox: dropping python2 stuff is ok, I probably just needed it for the python removal, which likely isn't necessary anymore08:22
=== md_5- is now known as md_5
tkamppeterdoko, could you help on a gcc problem with ppc64: bug 1862053?08:53
ubottubug 1862053 in gcc (Ubuntu) "Compiler gets stuck (or extremely slow) on ppc64el" [High,New] https://launchpad.net/bugs/186205308:53
dokotkamppeter: could you attach the preprocessed source of that file, including the command line options to build it?09:01
tarzeaui guess that's still valid? https://www.phoronix.com/scan.php?page=news_item&px=No-Wayland-Default-20.04-LTS09:03
tkamppeterdoko, the command line options to compile it are in the log right before the line telling that the build process got terminated.09:03
dokobut not the preprocessed source09:03
tkamppeterdoko, but how does one obtain a pre-processed source?09:03
dokotkamppeter: build the file with -save-temps and look for .i or .ii file09:06
tkamppeterdoko, will try.09:07
dokota09:07
dokoon ppc64el of course09:08
tkamppeterdoko, could you not do this step also?09:13
dokotkamppeter: I can try, but not my priority for next week09:24
tkamppeterdoko, OK.09:26
dokotkamppeter: but everybody has access to ppc64el boxes09:32
LocutusOfBorgdoko, python-importlib-metadata syncd, it doesn't FTBFS anymore09:40
dokoMario Limonciello here?10:03
Laneydoko: that is superm1, but not often on IRC - email works better ime10:06
dokoyep, sent it10:11
mitya57xnox: python3-windowmocker uses Qt 4, unfortunately. But at least it's Python 3.10:28
mitya57If you could remove autopilot's dependency on any window-mocker, that would be ideal of course.10:29
dokojibel: ^^^10:36
xnoxjibel:  i think ubiquity needs to declare an build-depends on autopilot, such that automated tools don't forget that it is used there!10:51
cpaelzerI might need soem foreign/mutliarch help - http://paste.ubuntu.com/p/8DYhgMRstF/10:58
cpaelzerI don't see what would be missing, other tests worked that way but here it just says no without further details10:58
cpaelzerwell - it didn't build i386 binaries - as it isn't in the whitelist I guess https://launchpad.net/ubuntu/+source/strongswan/5.8.2-1ubuntu111:09
cpaelzerbut then why doe it trigger the i386 test http://autopkgtest.ubuntu.com/packages/s/strongswan/focal/i38611:09
cpaelzerHmm, I'll file a badtest but I must admit I seem to miss a piece of the i386-puzzle on this one11:09
xnoxcpaelzer:  we have bugs that things get triggered on i386 when it shouldn't11:12
xnoxvorlon:  has been managing these; after the first time, britney does finally forget about i386 for them.11:12
jibelxnox, it could but autopilot is not really a build-dep of ubiquity.11:13
cpaelzerthanks xnox11:15
cpaelzerI'll file a force-badtest MP and explain why - if the solution is different than the force-badtest that can be done in response to the MP instead of merging it11:16
cpaelzerbut knowing that there were some odd cases makes me feel better11:17
xnoxjibel:  i know, but just to highlight it purely as documentation, even if it's not in fact used.11:18
RikMillsmitya57 jibel: just drop the qt4 plugin of windowmocker? the changelog and file lists say there is a Qt5 one shipped11:21
mitya57+1. I think we should switch python3-autopilot-tests to python3-windowmocker and then drop the Python 2 and Qt 4 parts of window-mocker.11:22
jibelxnox, did you upload the changes you did yesterday to the vcs?11:27
jibelcan someone file a bug against autopilot, i'll have a look next week.11:29
Laneynow what's happened to seeded-in-ubuntu11:29
jibelunless someone want to to it11:29
xnoxjibel:  for which package? =)11:41
xnoxjibel:  the previous autopilot upload into the archive was from me in 2017, and it was on top of last CI-train release from march that year11:42
Laneyah, we lost tab completion in lp-shell at some point :(11:44
jibelxnox, for autopilot11:45
xnoxjibel:  should we vendorise autopilot in ubiquity?! =)11:53
ahasenackrbalint: I wanted to probe your memory of https://git.launchpad.net/~usd-import-team/ubuntu/+source/isc-kea/tree/debian/patches/mysql-8.012:01
ahasenackrbalint: sorry12:01
ahasenackrbasak: I wanted to probe your memory of https://git.launchpad.net/~usd-import-team/ubuntu/+source/isc-kea/tree/debian/patches/mysql-8.012:01
ahasenackrbasak: in particular, the "Instead we drop the test" bit of the description, which doesn't seem to be part of the patch12:01
rbasakLooking12:02
dokobryce: your spammassassin upload still requires python (unversioned) in the autopkg tests12:03
mitya57jibel: filed bug 1862344. I tried to fix it myself, but the package FTBFS locally for some reason, so I gave up.12:03
ubottubug 1862344 in autopilot (Ubuntu) "Please switch from python-windowmocker to python3-windowmocker" [Undecided,New] https://launchpad.net/bugs/186234412:03
rbasakahasenack: I think "the test" was this, or similar: https://gitlab.isc.org/isc-projects/kea/commit/ef559d3c3881dafd527b43ac3fc6e771091d6198#7e2229fde9f8ea99bd48e7fb735236b2ddbd1aec_19_1912:04
rbasakahasenack: by "drop the test", I meant we're altering the commit from upstream12:04
ahasenackrbasak: there is a configure check for my_bool, it finds it, because of our workaround in mysql-8 I believe12:05
ahasenackbut then makes wrong assumptions, thinking it's NOT mysql-8 that it's dealing with12:05
rbasakThat's sort of correct12:05
rbasakThis is a mess :(12:05
ahasenackrbasak: will we be keeping the workaround for 20.04?12:05
rbasakMySQL 8 dropped my_bool12:05
rbasakFavouring bool instead12:05
rbasakWe re-added it because it broke too many reverse deps12:06
ahasenackbut now they will never be fixed12:06
ahasenackwell, "never" is a strong word12:06
rbasakBut upstreams that do version testing, rather than feature testing, are now assuming the wrong thing12:07
ahasenackand it's perhaps starting to introduce other sorts of problems, like the one I described12:07
rbasakWe were hoping it'd be fixed by upstreams building from not-Ubuntu12:07
rbasakThey all need to be using bools and stop using my_bool12:07
rbasakIIRC, we still haven't finished sending all the patches upstream yet12:08
rbasakIt needs yet more effort to resolve properly, I agree12:08
rbasakI'd like to chat about this at our next sprint12:08
rbasakThe other problem with all of this is that C++ has a specialist implementation of std::vector<bool> that uses bitfields12:10
rbasakAnd when that is done, you can no longer take an address of an element inside the vector12:10
ahasenackSkuggen: hi :) That's what my ping from yesterday was about, fyi ^12:10
rbasakC++ programs that did this with std::vector<my_bool> break when my_bool is typedeffed to a bool12:10
ahasenackyeah, that's the build error I got12:10
ahasenackbecause it detected my_bool12:10
rbasakAre you sure?12:11
ahasenack~50%12:12
ahasenackthis beast takes 30min to build12:12
ahasenackand fails with parallel building12:12
rbasakOne way around it is to put the my_bool in a single-element struct and change all the code to indirect through it.12:13
ahasenackdamn, I overwrote those logs12:13
rbasakThat's the only real long term fix for the C++ vector of my_bool pattern for results AFAIK12:13
ahasenackI'm going to tell it to not find my_bool12:13
ahasenackthe code has ifdefs for that already12:14
ahasenackand uses <char> in that vector thing, if that makes any sense12:14
rbasakI'm not sure that the behaviour is properly defined to use a char instead12:14
rbasakBut that's what upstream did and it seemed to work12:14
rbasakWhat change has caused this to be an issue again?12:15
ahasenacknew upstream version, which ironically has the patch you backported above12:15
rbasakAh, I see12:15
rbasakSo you want to apply just my backport as a patch to it12:15
ahasenackand I was looking for the "disabled test"12:16
ahasenackyour patch is there, just surrounded by ifdefs12:16
ahasenackwhich trigger on my_bool being found, because we still define it12:16
rbasakYeah12:16
rbasakSo I pulled out the ifdefs12:16
ahasenackand gcc picks the wrong ifdef result12:16
rbasakIf you apply an equivalent patch to the modification I made, the result should be the same12:16
ddstreetLaney i'll have seeded-in-ubuntu MP ready shortly, btw12:16
ahasenackor, I remove the configure test for my_bool so it doesn't find it, and takes the other path12:17
ahasenackassuming correctly it's mysql812:17
rbasakI think that would be more confusing12:17
Laneyddstreet: ah ok, I just fixed it too12:18
rbasakBecause there are two "mysql8"s12:18
Laneybut you can do it12:18
rbasakOne with the typedef, and one without12:18
Laneywhy did it just break, do you know?12:18
rbasakThat's why I did it the other way12:18
LaneyLooks like it came from a quite old commit12:18
ahasenackyou mean the real one, and ubuntu's hack12:18
rbasakRight12:18
ddstreetLaney i rewrote most of ubuntutools12:18
Laneyor did that only just get merged?12:18
ahasenackI'm surprised upstream is ok with us doing that12:18
rbasakAnd the presence or absence of my_bool now gives you an inconclusive result12:18
ddstreetyes just merged for focal12:19
Laneynod12:19
rbasakI patched it that way because I figured that in an Ubuntu-specific patch, the answer is known and no configure test is not required12:19
rbasakSo it's clearer in a quilt patch to drop the #if directives in the direction that we know to be correct in our case12:19
rbasakno configure test is required12:20
ahasenackdon't we still have time to fix this for 20.04?12:20
ahasenackthis was in eoan, right?12:20
ahasenackcpaelzer: I got a file conflict updating qemu-system-common, on /usr/bin/ivshmem-client, is that known/expected?12:21
rbasakWe could, if we want to take that work on right now12:21
rbasakIt is true that users might get upset at us for the patch during the 20.04 lifetime when they try to build things against our MySQL12:22
ahasenackrbasak: does debian have that change too?12:22
cpaelzerahasenack: yes it is known and the fix alread yuploaded12:22
rbasakDebian doesn't have 8.0 yet12:22
ahasenackcpaelzer: ok12:22
ahasenackrbasak: so they likely won't have that patch12:23
rbasakAlso, Debian builds against MariaDB12:23
ahasenackah, right12:23
rbasakHowever this all affects configure scripts only12:23
rbasakSince really an upstream project wanting to support a build against MySQL 8.0 should be avoiding use of the my_bool typedef12:23
cpaelzerahasenack: 1862287 if you want to look12:23
rbasakOur patch makes the decision making process in the configure script a little more complicated12:23
ahasenackrbasak: we all know checking for versions can be brittle, it's always best to check for features12:23
ahasenackand my_bool is a "feature"12:23
rbasakUnfortunately we introduced "my_bool might be a real bool, rather than an int"12:24
rbasakWhich it turns out in C++ breaks std::vector12:24
ahasenack"do we have my_bool?" "is it mysql8?" "is it ubuntu's mysql8?"12:24
rbasakHowever the point of the typedef is that we should be able to change its definition without breaking the API12:25
rbasakSo someone wanting to support all three needs to do "do we have my_bool? If so support it being either an int or a bool. If not, use a bool"12:25
rbasakPerhaps it would suffice if we (I?) wrote that up somewhere for affected users to find.12:27
ahasenackI'd prefer if we didn't have to carry that workaround :)12:27
SkuggenHm, I wonder where I put the work I did related to this (list of upstreams with bugs reported for it, scripts to do reverse-dep builds in the ppa, etc)12:28
SkuggenWe could do a set of ppa builds with an 8.0 without the patch to see how many still haven't been updated?12:29
rbasakSure - that'd be a good first step12:31
ahasenackand how about adding the typedef just to the affected apps, instead of mysql as a whole?12:34
ahasenack1 vs N problem?12:35
ahasenackat least we would have a known set of affected apps, and could revisit each one everytime it's updated12:35
ahasenackinstead of leaving it in mysql and wondering when it could be dropped12:35
=== Wryhder is now known as Lucas_Gray
tkamppeterdoko, I am trying to get a ppc64el machine on juju, but it seems to take ages until it is ready.12:43
ahasenacktkamppeter: canonistack?12:45
tkamppeterahasenack, yes12:45
ahasenackit usually work. I don't use juju for that, though12:45
tkamppeterahasenack, how do you access?12:45
ahasenacktkamppeter: let me give you a one liner12:45
ahasenacktkamppeter: focal ppc64el?12:45
tkamppeterahasenack, where do I have to enter it?12:46
ahasenacktkamppeter: your shell, after having sourced the credentials file for canonistack12:46
ahasenacktkamppeter: openstack server create --key-name andreas_canonistack-bos01 --flavor cpu1-ram2-disk20 --image 108d7998-a3a7-44ed-b43d-82c30634f976 focal-ppc64el12:47
ahasenackthat will give you a focal ppc64 instance with 1 core, 2G of ram, 20G of disk, called focal-ppc64el (visible with "nova list" after the launch)12:47
ahasenacktkamppeter: ah, well, details12:47
ahasenackthe ssh key12:47
ahasenack(--key-name)12:47
ahasenackdo you know how to create one for openstack?12:47
Laneydunno, it's taking ages to schedule for me, might actually be a problem there12:47
ahasenackcould be too12:48
LaneyI asked the sysadmins if they could take a look12:51
tkamppeterahasenack, no, I do not know how to create that key12:57
ahasenackdoko: hi, I was replacing python 3.7 with 3.8 in a lxd container to rebuild something with py3.8, and then ran autoremove, but it failed like this: https://pastebin.ubuntu.com/p/KGJNsy8xNm/12:57
cjwatsontkamppeter: https://wiki.canonical.com/InformationInfrastructure/IS/CanoniStack-BOS01#Non-Juju12:58
LaneyTIL about the Juju workflow12:58
cjwatson(With ahasenack's adjustments for getting a ppc64el instance specifically)12:59
dokoUnlinking and removing bytecode for runtime python3.712:59
dokoupdate-binfmts: warning: unable to open /proc/sys/fs/binfmt_misc/python3.7 for writing: Permission denied12:59
dokoupdate-binfmts: warning: unable to disable binary format python3.712:59
dokoupdate-binfmts: exiting due to previous errors12:59
ahasenackyep13:00
dokoa warning, and then exiting with an error? maybe ask the update-binfmts maintainer ;p13:00
cjwatsonplease file a bug?13:01
cjwatsonI do binfmt-support in my free time13:01
ahasenackyeah, was just looking what the src package was13:01
cjwatsonIt would help if python* updated to use --unimport though13:04
cjwatsonSee /usr/share/doc/binfmt-support/README.Debian13:04
cjwatsonThat would make it not be a fatal error here13:04
ahasenackI used ubuntu-bug, waiting for launchpad while it does the refresh every 10s thingy13:04
ahasenackok, almost there13:04
ahasenackcjwatson: doko https://bugs.launchpad.net/ubuntu/+source/binfmt-support/+bug/186234713:06
ahasenackthx13:06
ubottuLaunchpad bug 1862347 in binfmt-support (Ubuntu) "apparmor error while removing python3.7 in lxd" [Undecided,New]13:06
cjwatsonthanks13:06
tkamppeterahasenack, I succeeded creating this server now, at openstack they are much faster going to the attic, getting an old ppc64el server, undusting it, putting it into a rack, installing focal, and then assigning it to me than at juju.13:11
tkamppeterahasenack, now I need somehow to SSH into it.13:12
=== ricab is now known as ricab|lunch
ahasenackyou didn't create an ssh key before?13:12
tkamppeterYes, I created it now with the commands on  https://wiki.canonical.com/InformationInfrastructure/IS/CanoniStack-BOS01#Non-Juju13:14
tkamppeterWithout I was not able to create the server.13:14
tkamppeterNow I have the server and it is "active".13:14
ahasenackrbasak: cpaelzer: hah, similar case to ethtool iirc: #186230213:21
ahasenacknew hwe kernel requires new userland tools13:22
Skuggenahasenack: Yeah, we added it to MySQL because there were quite a few reverse-deps that needed it13:22
tkamppeterahasenack, I succeeded now, folloeing all the instructions.13:36
ahasenacknice13:36
tkamppeterahasenack, thank you very much.13:37
ahasenackgood luck in your debugging :)13:37
tkamppeterdoko, I succeeded to generate this pre-processed file. It is attached to bug 1862053 now.14:04
ubottubug 1862053 in gcc (Ubuntu) "Compiler gets stuck (or extremely slow) on ppc64el" [High,New] https://launchpad.net/bugs/186205314:04
tkamppeterAlso the manual initiation of the package build on the ppc64el server hung at the same point and the command line for the pre-processing also, but the hang seems after the pre-processing, as the *.i file looks complete.14:05
=== ricab|lunch is now known as ricab
ahasenackrbasak: +1 to add to the whitelist? https://paste.ubuntu.com/p/nwnqwx3ctj/14:50
ahasenackoh, one more, vmvm14:50
ahasenack1s14:50
ahasenackrbasak: https://paste.ubuntu.com/p/KYcM5ZQwYs/14:50
=== ricab is now known as ricab|bbl
rbasakahasenack: +114:54
ahasenackrhx14:55
ahasenackrbasak: I'll import them manually next, ok?14:55
rbasakSure14:55
rbasakIn a screen please14:55
rbasak(just so others can find it if it errors, etc)14:56
ahasenacksure14:56
ahasenackrbasak: ok, all 3 imported15:07
=== ricab|bbl is now known as ricab
=== ginggs_ is now known as ginggs
julianktjaalton: to reduce the risk of forgetting: 2nd hang fix just pushed by Chris Wilson in https://gitlab.freedesktop.org/drm/intel/issues/1164 -23:28
juliankFunnily he closed my 1150 as duplicate of 1164, not sure why, but as long as it's getting fixed, I can't complain ...23:29

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