/srv/irclogs.ubuntu.com/2021/09/20/#launchpad.txt

GunnarHjHi cjwatson! Last night gnome-software was built and the translations were stripped off, but no imports to Rosetta seem to have happened. The build logs mention some lock... Can you please take a look?10:04
cjwatsonGunnarHj: What exactly did the build logs say?10:06
GunnarHjcjwatson: https://launchpadlibrarian.net/559175519/buildlog_ubuntu-impish-amd64.gnome-software_40.4-1_BUILDING.txt.gz10:07
GunnarHjMaybe not important, considering that the translation tarballs were created.10:08
cjwatsonGunnarHj: Do you mean things like "INFO: pkgstripfiles: waiting for lock (gnome-software-plugin-flatpak) ..."?  That's purely internal to the build, related to parallelism.10:08
GunnarHjcjwatson: That's what I meant.10:08
cjwatsonHowever, there is another lock apparently stuck.  Let's check with IS10:11
GunnarHjTnx.10:11
cjwatsonGunnarHj: Thanks for lettign us know.  The queue is clearing now10:28
cjwatson*letting10:28
seb128GunnarHj, https://translations.launchpad.net/ubuntu/impish/+source/gnome-software states ' This source package is sharing translations with GNOME Software trunk series. ', which usually prevents import from sources?10:28
cjwatsonThe import job should still at least run10:29
seb128shrug, the sharing is enabled again for most sources it seems10:31
seb128checked https://translations.launchpad.net/ubuntu/impish/+source/nautilus as an example10:31
cjwatsonI never did get my head entirely around sharing10:31
seb128I did manually unset it for most things previous cycle, 10:31
seb128cjwatson, me neither, but my understanding is that when sharing is enable then it doesn't import things from the ubuntu source uploads10:32
seb128which isn't what we want we we have downstream strings changes10:32
seb128also often the upstream imports are outdated, especially GNOME ones as described on https://answers.launchpad.net/launchpad/+question/69874410:34
seb128cjwatson, what would be the right way to get the sharing thing reviewed more into details? It's a real issue than the options keeps turning itself on every cycle, it's screwing our translations for Ubuntu10:35
cjwatsonIs there a bug explaining the problem as a starting point, at least?10:36
cjwatsonI *thought* that sharing meant that imports still happened but possibly turned into suggestions instead; but my understanding is fuzzy10:38
cjwatsonAnd AFAICS it's controlled by the distroseries/productseries packaging links, which have very open permissions10:38
cjwatsonHowever I should probably stop speculating because fuzzy understanding10:39
seb128I didn't open a bug since I'm unsure there is a bug there10:39
seb128afaik it's working as intended, just that somehow the sharing got re-enabled despite being manually turned off (or is on for new ubuntu series rather than using the value from the previous one)10:40
seb128and the fact that it isn't what we want for most GNOME components since our Vcs imports are outdated and we have downstream changes10:40
seb128but yeah, a bug would give us a place to discuss the issue and it can turn into a question if needed10:41
cjwatsonIf I'm understanding things correctly and it's controlled by the packaging links, then those are writable by pretty much anyone and the UI rather encourages people to make links where it looks sensible10:42
cjwatsonPerhaps we need a separate flag10:42
seb128I'm also not sure my understand how the feature is right10:43
seb128but I think to remember from observation that 10:43
seb128but I think to remember from observation that translations for a source would not end up in the import queue for a package upload if the setting is enabled10:43
cjwatsonI can't find evidence of that in the code10:45
cjwatsonThis may be something I'm overlooking, but it's not obvious to me at least10:45
GunnarHjcjwatson: The behavior described by seb128 makes sense, sort of. A sharing link should go to a repo, i.e. it tells the project to import translations fram that repo, and hence assume that the package's .po files are not needed. But with that said, we don't rely on repos in most cases and want it to import from build tarballs instead.10:59
cjwatsonThis wasn't what I understood the intent of sharing to be, though - I thought the point was to merge translations from both distroseries and productseries, rather than to force the productseries to have primacy11:02
cjwatson(Where "merge" might end up with a bunch of suggestions that come from one side or the other)11:03
GunnarHjcjwatson: If that was the intention, there is a bug.11:07
GunnarHjseb128: Saw you removed the sharing link. (Why do I never remember to check that?) Just did a no-change rebuild of g-s. Let's see.11:10
cjwatsonI'm hoping we can get a bug report (either a new one or a pointer to an existing one) with details of the incorrect behaviour11:10
GunnarHjcjwatson: Makes sense.11:11
seb128I will write one now11:12
cjwatsonAlso not sure a no-change rebuild was needed since the existing upload job queue hasn't cleared yet and it's probably still in there ...11:12
GunnarHjcjwatson: Ah, sorry.11:13
cjwatsonWow, this is certainly a heck of a queue for PackageTranslationsUploadJob14:17
cjwatsonI don't have a current view of its length, but I'm guesstimating it's about 75% of the way through14:18
cjwatson(There were 1250 WAITING jobs in the last production dump from about four days ago that was restored onto staging; the lock had been stuck for about 14 days :-(; and it's processed 1343 jobs today)14:19
cjwatson2021-09-20 14:27:22 INFO    Running <PackageTranslationsUploadJob for gnome-software in ubuntu impish> (ID 66174304) in status Waiting14:30
cjwatsonSo it's definitely doing *something* for gnome-software14:30
cjwatsonAnd I see it in the import queue: https://translations.launchpad.net/ubuntu/impish/+source/gnome-software/+imports14:31
cjwatsonThat's even though it still says "This source package is sharing translations with GNOME Software trunk series" on https://translations.launchpad.net/ubuntu/impish/+source/gnome-software14:32
cjwatsonseb128: ^14:32
cjwatsonI can't rule out that it's filtered out at some later stage of course, because this is a complex system and I don't understand all of it, but it is at least getting that far14:34
cjwatsonSeems to be evidence against "translations for a source would not end up in the import queue for a package upload if the setting is enabled" from above?14:34
seb128indeed, thanks14:35
cjwatsonI'd be interested in information on whether this makes it all the way through the pipeline.  I expect the import queue similarly has a large backlog at the moment so maybe worth checking back tomorrow14:36
seb128I will keep an eye for that14:38
seb128I don't remember the details of the issue we had past cycles, I know I had discussions about that wgrant in the past14:39
cjwatsonOK, can dig back through IRC logs if we need to14:39
seb128maybe launchpad's behaviour got improved in recent cycles14:39
cjwatsonI don't think so14:40
cjwatsonIf it did it was unintentional :)14:40
seb128checking for example https://translations.launchpad.net/ubuntu/impish/+source/gnome-disk-utility/+sharing-details the automatic sync is disabled for some reason and the options are greyed out for me14:41
cjwatsonTranslations has had quite a bit of code churn to port to Python 3 (there's a fair bit of bytes/text subtlety there, as you might imagine) and other things like that, but I think the last substantive model-level behaviour change was removing XPI imports14:41
seb128cjwatson, trying random examples, https://translations.launchpad.net/ubuntu/impish/+source/evolution/+imports has no .po for example14:43
seb128but it has a template in the queue from a recent upload14:43
cjwatsonqhttps://translations.launchpad.net/ubuntu/impish/+source/gnome-software/+imports has po files though14:44
cjwatsoner, https://translations.launchpad.net/ubuntu/impish/+source/gnome-software/+imports14:44
seb128right, I don't understand why sometimes they are there and sometime not14:46
seb128it's black magic to me14:46
seb128or https://translations.launchpad.net/ubuntu/impish/+source/deja-dup/+imports14:48
seb128where the recent build had translations, https://launchpad.net/ubuntu/impish/+upload/26714247/+files/deja-dup_42.8-1ubuntu1_amd64_translations.tar.gz14:48
seb128but it doesn't help that filtering on 'imported' isn't really showing the full history14:49
seb128iirc wgrant said on the past that it has memory only of recent activities for some reason and that having nothing showing as imported wouldn't mean nothing had been imported14:50
seb128so you need to see on recent enough uploads14:50
cjwatsonHm, so if has_sharing_translation_templates is true, then the translations upload job only considers .pot files14:53
cjwatsonThat is true if the source package has a sharing partner *and* the sharing partner has "current" templates14:54
cjwatsonWhich is exported on the webservice API for that template as the "active" attribute14:55
cjwatsonhttps://translations.launchpad.net/gnome-software has no templates, so they can't be current14:58
seb128k, I see, so we got lucky there14:58
cjwatsonhttps://translations.launchpad.net/gnome-software/trunk rather14:58
seb128at least, it makes some sense now!14:58
cjwatsonBut https://translations.launchpad.net/evolution/head does14:58
cjwatsonI think I've reached the limit of what I can figure out by reading code and intuition though.  I don't know why the "don't import .po files if the sharing partner has current templates" rule is there14:59
cjwatsonThere used to be a comment on similar code that said "We do not want to override upstream translations, if translation sharing is enabled"15:01
cjwatsonIt used to suppress even .pot imports15:01
cjwatsonhttps://bugs.launchpad.net/launchpad/+bug/732612 maybe?15:02
cjwatsonBut I think for any more reasoning than that we need whatever institutional memory wgrant has15:03
seb128cjwatson, thanks for digging the details, at least now it makes some sense and match what we have been seeing in past cycles, I opened https://bugs.launchpad.net/launchpad/+bug/194421115:05
seb128https://answers.launchpad.net/launchpad/+question/698744 is also making the issue more important15:05
cjwatsonTrue, though we can't rely on git-to-bzr imports for those forever anyway - in some cases those are nearly-unfixably broken15:09
cjwatsonseb128: Hm, would one approach be if we gave you a dump of all the git.gnome.org branches / code import URLs we have registered, and somebody at your end prepared the mapping?  We can certainly hand off individual projects from ~registry if needed as well, it's just likely to require a bit more case-by-case thought15:12
cjwatsonseb128: Added such a dump to the question now15:19
seb128cjwatson, sorry, I had to step out just before you asked the question earlier, providing the old<->new url table seems easy enough, I will get that added to the question tomorrow17:30
cjwatsonseb128: ta18:00
toddcHow/Who can change owner of https://launchpad.net/~ubuntu-arizona to https://launchpad.net/~tcole3737 ???18:33
cjwatsontoddc: The current owner is https://launchpad.net/~todd-bailey - are they contactable?19:50
cjwatsontoddc: If they aren't, you can email rt@ubuntu.com, describe the situation and what efforts you've made to contact them, and ask Canonical's sysadmins to change the owner19:51
toddccjwatson: thank you I will do that --not heard from him in 8-10 years minor detail 19:54
cjwatsonRight, we normally prefer to have the existing owner pass things on through normal processes, but there are always options if not.  (I see you're already an admin of that team.)19:57
cjwatsonEr, assuming that account is yours.19:57
cjwatson(Ah yes, IRC link matches.)19:57
kyrofaAre there known issues with the snap builders right now? All my builds seem to be failing trying to reach ftpmaster.internal21:38
cjwatsonkyrofa: if you read this in logs or whatever, please provide links so that we can investigate23:33

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