/srv/irclogs.ubuntu.com/2024/01/30/#ubuntu-devel.txt

=== JanC_ is now known as JanC
arraybolt3LocutusOfBorg: Focal verification done on VBox, should be ready to push to production February 2.04:10
adriensergiodj: perfect, thanks a lot! :)06:22
LocutusOfBorgthanks!07:06
slyon@pilot in10:04
=== ChanServ changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support) | Build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of Focal-Mantic | Patch Pilots: slyon
=== sem2peie- is now known as sem2peie
=== cpaelzer_ is now known as cpaelzer
slyon@pilot out15:58
=== ChanServ changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support) | Build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of Focal-Mantic | Patch Pilots: N/A
lvoytek@pilot in16:00
=== ChanServ changed the topic of #ubuntu-devel to: Archive: open | Devel of Ubuntu (not support) | Build failures: http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of Focal-Mantic | Patch Pilots: lvoytek
=== pushkarnk1 is now known as pushkarnk
tsimonq2jjohansen: So, I've just spent the last two hours writing AppArmor profiles for various elements of my system. That's what I get for running Noble, but what could have possibly changed to cause this?17:30
tsimonq2jjohansen: Will happily file a bug and follow up there too, just wondering if you had an idea of what I'm talking about.17:30
jjohansentsimonq2: I would assume user namespace mediation, and unconfined no longer allowing certain operations if the user is unprivileged17:33
jjohansenagain mostly around user namespace mediation17:33
tsimonq2jjohansen: Got it. Do you happen to have documentation handy on how this is best handled from a user perspective?17:40
tsimonq2(Update a profile?)17:40
jjohansentsimonq2: there are some changes coming that might be worth testing, https://launchpad.net/~apparmor-dev/+archive/ubuntu/unprivileged-userns17:40
tsimonq2oooh this seems promising17:41
jjohansentsimonq2: we have some documentation around what is currently in noble, we need to update for what is in the ppa17:42
jjohansentsimonq2: https://gitlab.com/apparmor/apparmor/-/wikis/unprivileged_userns_restriction17:42
jjohansenwe are trying to get it updated this week17:43
jjohansenthe ppa makes some significant changes17:43
jjohanseninstead of unconfined denying unprivileged user namespace creation, it allows it and transitions the task to the unprivileged_userns profile17:44
jjohansenwhich have no capabilities within the user namespace17:44
jjohanseneven if this causes failures, we have found most applications handle denials of capabilities better than denial of userns creation17:45
jjohansentsimonq2: please do file a bug with what you have hit/done. The more feedback, bugs, etc we get back means we can get fixes in place17:48
tsimonq2jjohansen: Sorry, got pulled into a meeting. I'll be happy to, I really appreciate all the information here. :)18:09
=== pushkarnk1 is now known as pushkarnk
=== arraybolt3 is now known as arraybolt3_wc
=== shettysudhird is now known as sshetty
dokohow do I report a bug against a snap package, in Launchpad?20:53
rbasakBugs in snaps aren't necessarily tracked in Launchpad20:59
rbasaksnap info $package20:59
rbasakAnd then what it says under "contact" is the closest thing we have to being connected to the correct bug tracker AIUI21:00
=== arraybolt3_wc is now known as arraybolt3
cpetetsimonq2: I have a pending mp in lp:ubuntu-dev-tools, are you interested in taking a look? https://code.launchpad.net/~cpete/ubuntu-dev-tools/+git/ubuntu-dev-tools/+merge/45900221:15
=== shettysudhird is now known as sshetty
LocutusOfBorgcpete, is the test a timing bomb?22:01
LocutusOfBorglike something that will fail once 20.04 is EOL?22:02
cpeteLocutusOfBorg: I don't understand what you mean22:04
LocutusOfBorgubuntutools/running_autopkgtests.py22:04
LocutusOfBorgwhat is it supposed to test?22:04
LocutusOfBorgI mean <rbasak> Bugs in snaps aren't necessarily tracked in Launchpad22:04
LocutusOfBorg<rbasak> snap info $package22:04
LocutusOfBorg<rbasak> And then what it says under "contact" is the closest thing we have to being connected to the correct bug tracker AIUI22:04
LocutusOfBorg* sil2100 has quit (Ping timeout: 268 seconds)22:04
LocutusOfBorgsorry22:04
LocutusOfBorgwe can continue here22:07
LocutusOfBorgsorry rbasak for the ping, I copy-pasted wrongly22:08
cpeteThe tests are in ubuntutools/test/test_running_autokgtests.py. ubuntutools/running_autopkgtests is the module with the meat of the functionality22:08
LocutusOfBorgok but what about not hardcoding a specific ubuntu version there?22:12
LocutusOfBorgare the tests using internet in some ways? or are they just using stub answers?22:12
LocutusOfBorg(sorry it's EOD here, I won't look deeply until tomorrow)22:13
LocutusOfBorgbut maybe some test description won't hurt22:13
vorlonif the tests are hitting the production server: they shouldn't22:14
vorlonthat's a recipe for flakiness22:14
vorlonautopkgtests should not depend on mutable resources on the Internet22:14
cpeteThe tests are using dummy data I hard coded into the tests for sure22:15
cpeteI didn't see where there's a hard coded ubuntu version but I'll double check22:15
cpetethanks for looking LocutusOfBorg22:15
LocutusOfBorgcpete, +QUEUED_DATA = b'{"ubuntu": {"noble": {"arm64": ["libobject-accessor-perl {\\"requester\\": \\"someone\\", \\"submit-time\\": \\"2024-01-18 01:08:55\\", \\"triggers\\": [\\"perl/5.38.2-3\\", \\"liblocale-gettext-perl/1.07-6build1\\"]}"]}}}'22:16
LocutusOfBorgI'm seeing this22:16
LocutusOfBorgthat said, if this is about providing fake data, and checking if we can parse it, fine for me22:17
LocutusOfBorgbut if the infrastructure changes, we won't detect anything.22:17
LocutusOfBorgsadly, as vorlon said, autopkgtests should not depend on mutable resources on the internet22:17
LocutusOfBorgbut if autopkgtest is meant to check a functionality of downloading stuff from internet, not testing it is meh22:18
cpeteOh yeah, thanks. I'll add some comments to clarify but yes this is about testing behavior on a dummy response from the autopkgtest server22:18
LocutusOfBorgbut cpete please tell me if I'm wrong: if somebody changes totally the output json formatting of autopkgtests, will the test detect it? will the running-autopkgtests fail?22:19
LocutusOfBorgMy answers are no, yes22:19
LocutusOfBorg:D22:19
cpeteRight,  tests won't detect it and the script will fail22:21
cpeteWould a test validating the json format from the autopkgtest server be reasonable test to run in autopkgtest?22:24
LocutusOfBorgvorlon, ^^22:25
LocutusOfBorgnot sure sorry22:25

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