/srv/irclogs.ubuntu.com/2022/06/14/#ubuntu-desktop.txt

=== cpaelzer_ is now known as cpaelzer
oSoMoNgood morning desktoppers06:04
dufluMorning oSoMoN 06:13
oSoMoNhey duflu 06:14
bittinmorning06:42
dufluHi bittin 06:48
didrocksgood morning07:06
ricotzgood morning desktopers!07:10
seb128goood morning desktopers07:12
didrockshey ricotz, seb128 07:14
seb128lut ricotz, en forme ?07:15
lissyxoSoMoN, hello07:17
dufluMorning didrocks, ricotz, seb128, lissyx 07:17
lissyxoSoMoN, I pingued you a bit, but there's one kinda more important07:18
seb128duflu, hey, how are you?07:18
seb128lut lissyx, oSoMoN 07:18
lissyxoSoMoN, https://bugzilla.mozilla.org/show_bug.cgi?id=1766901#c1407:18
ubottuMozilla bug 1766901 in Toolkit "Scrape symbols from Ubuntu snap builds" [S1, New]07:18
dufluseb128, pretty good. How are you coping?07:18
seb128duflu, doing alright!07:18
lissyxoSoMoN, trying to abuse snapcraft by adding a task depending on firefox, and so we could upload symbol during its override-pull07:19
lissyxoSoMoN, however I dont know how much this can really work on launchpad infra07:19
lissyxseb128, hello07:19
didrockshey duflu 07:22
oSoMoNgood morning bittin, didrocks, ricotz, seb128, lissyx 07:47
oSoMoNlissyx, let me take a closer look07:47
seb128oSoMoN, lissyx, uploading the symbols will require internet access at the end of the build right?07:49
lissyxseb128, I assume "override-pull" will be allowed to perform network operations07:50
lissyxbut I dont know you infra, so I dont know if it's valid07:50
seb128sounds logical yes07:51
oSoMoNlissyx, the problem isn't in which step the network accesses are done, it's "when" in absolute time. The launchpad builders have a hardcoded timeout after which network accesses are denied, so if the build takes too long, network accesses will fail after a while07:54
oSoMoNbut it's worth trying anyway07:54
lissyxhm07:58
oSoMoNlissyx, I like your idea of building the debug symbols, uploading them to the Mozilla servers, and then discarding them in the final snap. I don't know what's the current value of the launchpad timeout for network accesses these days (I'll inquire), but it might be doable. amd64 builds typically take between 2 and 3 hours, maybe the timeout is high enough to allow this approach?08:00
lissyxI'm going to put my changes on github08:01
lissyxyou can try08:01
lissyxit works locally08:01
seb128if not we should try to talk to the launchpad team to see what options we could have08:02
lissyxoSoMoN, here: https://github.com/canonical/firefox-snap/pull/108:02
ubottuPull 1 in canonical/firefox-snap "WIP - Adding debug symbols" [Open]08:02
lissyxI'm off to some sport08:03
seb128oSoMoN, lissyx, https://bugs.launchpad.net/launchpad/+bug/1885164 states 120 minutes timeout08:07
ubottuLaunchpad bug 1885164 in Rutabaga "snap builds: network access timeout" [High, Triaged]08:07
seb128ah, they bumped to 3 hours according to Colin08:07
oSoMoNso that would work for amd64 builds, presumably08:10
seb128right, the recent builds were finished under 3 hours08:11
oSoMoNlissyx, why is your PR targetting the nightly branch?08:13
oSoMoNlissyx, and what would be the mechanism to upload build symbols to the Mozilla servers, is there some sort of API for that?08:14
oSoMoNfrom my perspective, it would be best to upload the symbols at the end of the build, rather than keeping them in the final snap, because it would potentially result in a significant increase of the snap's size08:21
lissyxoSoMoN, that's nightly because this is what I was working on10:22
lissyxoSoMoN, I agree we should avoid keeping the zip file inside the snap10:22
oSoMoNlissyx, but debug symbols would be most useful for stable and beta builds, right?10:22
lissyxthey are useful for all builds10:22
lissyxit's just a WIP to see if we could do it10:23
lissyxand we have mach uploadsymbols to do the upload to socorro10:23
lissyxoSoMoN, uploading might require some credentials, and since it seems we cannot pass env variabes from |snap run snapcraft| CLI to the build itself, I am not sure how this can be addressed10:27
oSoMoNlissyx, I just checked in a local build and mach doesn't seem to know of the uploadsymbols command10:28
lissyxah no it's not directly in mach10:29
lissyxhttps://firefox-source-docs.mozilla.org/crash-reporting/uploading_symbol.html10:30
lissyxand 10:30
lissyxhttps://firefox-source-docs.mozilla.org/setup/building_with_debug_symbols.html10:30
lissyxthe upload itself is not super complicated10:31
lissyxhttps://searchfox.org/mozilla-central/source/toolkit/crashreporter/tools/upload_symbols.py10:31
lissyx(and you could even directly reuse the script I guess)10:32
lissyxlooks like I can extract the debug symbols zip file by copying it to $SNAPCRAFT_PROJECT_DIR/ ?11:09
lissyxoSoMoN, according to |snap info firefox|, today's nightly on snap store is 180MB, my local build of a snap with debug symbols enabled is 173MB11:36
oSoMoNlissyx, what's the compression of your local build? by default the firefox snap uses lzo for better decompression performance, at the expense of total size. Could it be that somehow your build is using the default compression, which is optimized for size?11:43
lissyxI have not changed that11:43
lissyxso it should be lzo as well11:43
lissyxwhen I say "with debug symbols", it means with the binary not strippped11:44
lissyxbut I have removed the zip file from the snap, obviously11:44
jbichagood morning11:50
nteodosiohey jbicha, good morning!12:12
seb128jbicha, hey, how are you? had a nice time away from the keyboard?12:41
seb128lissyx, weird that unstripped is smaller, is that the same firefox version?12:42
jbichahi, yes, nice break12:44
seb128great!12:44
lissyxseb128, should be12:49
seb128weird, snap aside what's the binary size difference stripped vs unstripped?12:49
lissyxno idea12:52
lissyxI'm in a meeting12:52
lissyxI'll look later12:52
lissyx(it's a complicated day)12:52
KGB-0gnome-bluetooth3 signed tags 2519364 Jeremy Bicha upstream/42.1 * Upstream version 42.1 * https://deb.li/ixkNg13:08
KGB-0gnome-bluetooth3 pristine-tar 3ca827a Jeremy Bicha gnome-bluetooth3_42.1.orig.tar.xz.delta gnome-bluetooth3_42.1.orig.tar.xz.id * pristine-tar data for gnome-bluetooth3_42.1.orig.tar.xz * https://deb.li/ip9kd13:08
KGB-2gnome-bluetooth3 upstream/latest a6a53a1 Jeremy Bicha * pushed 9 commits (first 5 follow) * https://deb.li/uhb713:08
KGB-2gnome-bluetooth3 upstream/latest caedae9 Rūdolfs Mazurs po/lv.po * Update Latvian translation * https://deb.li/3jT9h13:08
KGB-2gnome-bluetooth3 upstream/latest 8517795 Nathan Follens po/nl.po * Update Dutch translation * https://deb.li/Y9S213:08
KGB-2gnome-bluetooth3 upstream/latest 20bc1c0 Jordi Mas po/ca.po * Update Catalan translation * https://deb.li/3AkXC13:08
KGB-2gnome-bluetooth3 upstream/latest 2b01a94 Fabio Tomat po/fur.po * Update Friulian translation * https://deb.li/FUHU13:08
KGB-2gnome-bluetooth3 upstream/latest 2c53d6b Ngọc Quân Trần po/vi.po * Update Vietnamese translation * https://deb.li/3dd5F13:09
seb128jbicha, could you review https://salsa.debian.org/gnome-team/gnome-text-editor/-/merge_requests/1 ?13:09
ubottuMerge 1 in gnome-team/gnome-text-editor "Update to 42.2" [Opened]13:09
seb128I didn't get to it yesterday and today doesn't seem it will be better13:09
jbichasure13:21
lissyxseb128, oSoMoN, still a hack, no token bundled but a local build would upload successfully to staging :) https://github.com/lissyx/firefox-snap/commit/abd316f6c41371c455db10021488b1d867996cea13:22
ubottuCommit abd316f in lissyx/firefox-snap "WIP - Adding debug symbols"13:22
seb128jbicha, thanks13:23
seb128lissyx, great!13:23
lissyxnow it's just a matter of how to store those creds (I saw some apitokens with gpg ?) and if it can hold in your infra :)13:24
seb128being able to store a private key or taken is sadly a feature missing from launchpad today :/ 13:26
seb128https://bugs.launchpad.net/launchpad/+bug/193382513:26
ubottuLaunchpad bug 1933825 in Launchpad itself "Feature request: store private API keys or secrets for use at build time by public recipes" [Undecided, New]13:26
lissyx:/13:30
lissyxseb128, maybe it is fine if the file is not committed?13:31
lissyxI dont know your workflow13:31
lissyxGitHub Actions can have some secrets as much as I remember from using it13:31
lissyxso beta/stable and esr might live without the token being stored?13:31
oSoMoNyes, github actions can have secrets, but launchpad doesn't have a similar feature yet13:33
lissyxI'd be interested if you can verify this is working on launchpad13:37
seb128if the build is reproducible I guess we could do another build on github not uploaded to the store just to collect the debug informations13:51
lissyxfrom #snappy I got that launchpad builds would not guarantee that :/13:51
seb128:-(13:51
seb128brb, need to drop to change location but I will read the backlog in case there is anything more for me to reply to13:52
lissyxthat was my idea at first, adding a taskcluster task that would just pull your firefox-snap and build with debug and upload13:52
KGB-2evolution signed tags 254ff6b Jeremy Bicha ubuntu/3.44.2-0ubuntu2 * evolution Debian release 3.44.2-0ubuntu2 * https://deb.li/KOCI14:52
KGB-2gnome-text-editor pristine-tar a6b4eed Nathan Pratta Teodosio gnome-text-editor_42.2.orig.tar.xz.delta gnome-text-editor_42.2.orig.tar.xz.id * pristine-tar data for gnome-text-editor_42.2.orig.tar.xz * https://deb.li/3YbSC15:15
KGB-2gnome-text-editor signed tags ee589bd Jeremy Bicha ubuntu/42.2-0ubuntu1 * gnome-text-editor Debian release 42.2-0ubuntu1 * https://deb.li/XAgI15:24
KGB-2gnome-text-editor ubuntu/jammy 6537d62 Jeremy Bicha * pushed 32 commits (first 5 follow) * https://deb.li/iU2IA15:25
KGB-2gnome-text-editor ubuntu/jammy 1fd2400 Christian Hergert .gitlab-ci.yml * .gitlab-ci.yml: disable macos builder for now * https://deb.li/qAkM15:25
KGB-2gnome-text-editor ubuntu/jammy 5fac051 Christian Hergert src/editor-utils.c * utils: fix inconsistent line-ending(s) use * https://deb.li/3V21j15:25
KGB-2gnome-text-editor ubuntu/jammy b846c02 Christian Hergert src/editor-search-bar.ui * searchbar: fix warning from GtkBuilder * https://deb.li/tAQF15:25
KGB-2gnome-text-editor ubuntu/jammy 9692034 Piotr Drąg po/pl.po * Update Polish translation * https://deb.li/3E29115:25
KGB-2gnome-text-editor ubuntu/jammy d41e983 Pawan Chitrakar po/ne.po * Update Nepali translation * https://deb.li/ynSd15:25
KBarHello, everyone! I know it's late for this, but the 22.04 release rocks! My favorite release since 16.04. It's been a long time, but now I feel like I have come back home after a long journey. Fantastic experience. Brilliant job by every single one of us. From the bottom of my heart, thank you!15:50
MaikKBar: i feel exactly the same way. :)16:01
seb128KBar, thanks!18:06
seb128& Maik!18:06
=== rs20090 is now known as rs2009
=== KGB-0_ is now known as KGB-0
=== sarnold_ is now known as sarnold
diddledanimight be of interest to desktoppers: https://youtu.be/OrMjQtPxo5Y (still processing. will be available in ~10 mintues)21:25
diddledaniit's an investigation into using Intel binaries using Rosetta from macOS inside an Ubuntu 22.04 VM!21:26

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