/srv/irclogs.ubuntu.com/2021/01/13/#snappy.txt

mupPR snapd#9830 opened: Clarify error message <Created by SeanColombo> <https://github.com/snapcore/snapd/pull/9830>02:33
mborzeckimorning06:18
pstolowskimorning08:16
mvogood morning pstolowski08:19
mborzeckipstolowski: mvo : hey08:33
mvogood morning mborzecki08:33
mborzeckipstolowski: can you take a look at https://github.com/snapcore/snapd/pull/9828 ?08:34
mupPR #9828: sandbox/cgroup, tess/main: fix unit tests on v2 system, disable broken tests on sid <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9828>08:34
zygahey guys08:36
zygaI've sent some more patches for spread and I will continue until the CI systems fixed08:37
mvogood morning zyga08:37
zygahey mvo, how are things?08:37
pstolowski+108:37
mvozyga: good, good, how are you?08:37
pstolowskihey zyga08:37
* zyga starts first scrum-like cycle today, so some extra planning and non-coding work08:38
mborzeckiheh, we keep on getting 429 Too Many Requests when tryting to pull the commands list from the store08:39
mborzeckiand tests/main/snap-advise-command and apt-hooks keep failing because of that08:40
mborzeckihmm https://github.com/snapcore/snapd/pull/9830 looks off, or am i missing something?08:43
mupPR #9830: Clarify error message <Created by SeanColombo> <https://github.com/snapcore/snapd/pull/9830>08:43
mborzeckimvo: can we land https://github.com/snapcore/snapd/pull/9828 ?09:20
mupPR #9828: sandbox/cgroup, tess/main: fix unit tests on v2 system, disable broken tests on sid <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9828>09:20
mborzeckithe failures are unrelated09:20
mvomborzecki: sure09:26
mborzeckimvo: thanks!09:26
zygamborzecki, it's really happening :)09:27
mborzeckizyga: hm?09:27
mborzeckiwhat is happening?09:27
zygav2 support09:27
zygaonce debian gets it09:27
zygaubuntu will have it sooner or later09:28
mborzeckizyga: rbalint wanted to enable it in 21.x, but we're still not ready in snapd09:29
mborzeckizyga: see https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1850667/09:30
mupBug #1850667: cgroup v2 is not fully supported yet, proceeding with partial confinement <docker.io (Ubuntu):New> <lxc (Ubuntu):Fix Released> <lxcfs (Ubuntu):Fix Released> <lxd (Ubuntu):Fix Released> <snapd (Ubuntu):In Progress by maciek-borzecki> <https://launchpad.net/bugs/1850667>09:30
mupPR snapd#9828 closed: sandbox/cgroup, tess/main: fix unit tests on v2 system, disable broken tests on sid <Simple 😃> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9828>09:30
mupPR snapd#9803 closed: many: clarify gadget role-usage consistency checks for UC16/18 vs UC20 <Cleanup :broom:> <Run nested> <UC20> <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/9803>09:55
zyganiemeyer, hello10:03
zyganiemeyer, I've sent a small PR to unbreak CI in spread: https://github.com/snapcore/spread/pull/11210:03
mupPR spread#112: Bump base version of go to 1.13 <Created by zyga> <https://github.com/snapcore/spread/pull/112>10:03
zyganiemeyer, and a small fix for one of the issues picked up by go vet: https://github.com/snapcore/spread/pull/11110:03
mupPR spread#111: Do not copy log.Logger and the contained sync.Mutex <Created by zyga> <https://github.com/snapcore/spread/pull/111>10:03
niemeyerzyga: Thanks!10:04
zyganiemeyer, I have one more for more go vet issues in humbox but I need to spend some more time on it10:04
pstolowskimborzecki: do you think you could take a look at #9732?11:01
mupPR #9732: asserts: snapasserts method to validate installed snaps against validation sets <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9732>11:01
mborzeckipstolowski: sure11:02
pstolowskity!11:02
pstolowskishould we disable snap-advise-command test temporarily?11:19
mborzeckipstolowski: idk, pedronis do you know more about store side of things? is this temporary?11:48
mborzeckipedronis: we're seeing 429 accessing /api/v1/snaps/names11:48
mupPR snapd#9457 closed: [RFC] o/snapshotstate: test for roundtrip with corrupted zip file inside exported snapshot <Created by stolowski> <Closed by stolowski> <https://github.com/snapcore/snapd/pull/9457>11:51
pstolowskimborzecki, pedronis: i can also add an extra check in the test not to fail on 42911:53
pstolowski(just warn and exit)11:53
mupPR snapd#9831 opened: interfaces/builtin: fix unit test expecting snap-device-helper at /usr/lib/snapd <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9831>11:56
pstolowskii asked in the store channel11:57
mupPR snapd#9833 opened: tests: skip main part of snap-advise test if 429 error is encountered <Test Robustness> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9833>12:26
* pstolowski lunch13:06
mupPR snapd#9834 opened: tests: normalize test tools - part 1 <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9834>13:41
mupPR snapcraft#3413 opened: elf: add a class to check for dependency problems in a group of files <Created by jhenstridge> <https://github.com/snapcore/snapcraft/pull/3413>14:19
pstolowskipedronis: we ought to talk about validations sets, i wasn't pushing for it this morning because i still had stuff to do, but maybe later/tomorrow morning?14:43
pedronispstolowski: yes, sorry14:44
pstolowskicachio: updated #983315:09
mupPR #9833: tests: skip main part of snap-advise test if 429 error is encountered <Test Robustness> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9833>15:09
cachiopstolowski, thanks15:10
cachiopstolowski, +115:16
pstolowskity15:17
cachiopstolowski, apt-hooks test is havin same problem15:17
cachioI can replicate the solution for that as well15:18
pstolowskicachio: ah15:19
pstolowskicachio: ok, please do, thanks15:19
cachiopstolowski, sure15:19
pstolowskicachio: although - fingers crossed - it shouldn't be a problem for now after they changed store config15:20
cachiopstolowski, yes, but I just re run tests and failed with that error15:20
cachiore-ran15:20
ijohnsonogra: hey if you didn't already could you file a bug about snapctl needing CAP_NET_ADMIN ?15:21
pstolowskicachio: oh, so still an issue, not good15:21
cachiolets wait a bit15:22
ograijohnson, eventually ... 🙂15:23
ijohnsonk, thanks15:23
* cachio lunch15:23
* ogra curses ... 15:57
ograso wh the heck does the python snapcraft plugin break in massive ways with each new base i need to port to15:57
cjp256:-( what's the problem ogra16:03
ogracjp256, https://github.com/ogra1/nodered-snap/blob/master/snap/snapcraft.yaml#L13016:03
ograi'm trying to move that somehow to core2016:03
ograi'm at a point where, while getting a lot bdist_wheel errors at the start, the pip install seems to at least finish on the second run16:04
ogra(if i take oout the Adafruit DHT stuff that needs special treatment before building)16:05
cjp256python2 ?16:05
ograyeah16:05
cjp256well i see a potential bug in python plugin for python2..16:06
cjp256as far as wheel, you can install that python package (it's no longer automatically installed)16:06
ograyeah, i gathered that from the forum ... but i still get the bdist_wheel errors on first try ... it re-trie then and succeeds16:07
ogra*re-tries16:07
cjp256ogra: i'm not sure what you are seeing in your log, but the wheel errors generally can be ignored, python should still chug along without the wheels16:13
ograokay ...16:13
ograhmm there is no pip anymore in 20.04 it seems16:14
ogra(for py2)16:14
* ogra doesnt see how he can ever get that to work 16:18
ogracjp256, so what i'm seeing when using py3 is https://paste.ubuntu.com/p/nHHsT5Kq4s/ ... but i doubt the modules will work since they are all written for py2 (and are unlikely to get ported)16:21
ograwhen setting "SNAPCRAFT_PYTHON_INTERPRETER: "python2"" it just falls flat on its face telling me it doesnt have venv16:22
cjp256yeah, the core20 plugin really expects python316:24
mupPR snapd#9835 opened: tests: apply workaround done for snap-advise-command to apt-hooks test <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9835>16:25
pstolowskimvo: can you merge #9833 manually, there are a couple of unrelated failures16:32
mupPR #9833: tests: skip main part of snap-advise test if 429 error is encountered <Test Robustness> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9833>16:32
cjp256ogra: i think a custom override is in order for this, want me to help you create one?  might be worth creating a python2 plugin16:32
ogracjp256, well, there is no venv in the archive at all ... how would i get that ?16:33
cjp256orgra: virtualenv16:33
mvopstolowski: sure16:33
cjp256ogra: `python2 -m pip install virtual` if you used pip16:33
ogracjp256, oh, that works for py2 still ?16:33
cjp256err virtualenv^16:33
cjp256yeah seems to for me16:34
pstolowskimvo: ty!16:34
pstolowskicachio: you may want to update your PR with master now16:34
cjp256ogra: you use the get-pip.py to install pip?16:34
mupPR snapd#9833 closed: tests: skip main part of snap-advise test if 429 error is encountered <Test Robustness> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9833>16:35
ogranot yet, wheer do i find that ?16:35
ogra*where16:35
cjp256`curl https://bootstrap.pypa.io/get-pip.py --output get-pip.py ; python2 get-pip.py`16:36
ograthat gets me pip, yeah ...16:38
ograbut then ...16:38
ogra+ python2 -m venv /root/nodered-snap/parts/sensor-libs/install16:38
ograFailed to build 'sensor-libs'.16:38
ogragrrr16:38
ogra/usr/bin/python2: No module named venv16:38
cjp256ogra: use nil plugin for now16:41
cjp256i'll ping sergio about adding an equivalent python2 plugin16:43
ograheh ... symlinking venv to virtualenv in dist-packages helps16:43
cjp256hah yeah, that'd do it :P16:43
ograso where are the python packages stored now ... i need to modify one of them before building16:44
ogra(there used to be a "python-packages" dir)16:45
cjp256should be in $SNAPCRAFT_PART_INSTALL if that's where you installed the virtualenv16:46
cjp256something like $SNAPCRAFT_PART_INSTALL/lib/python2.7/site-packages/...16:46
ograwell, i need the tarball ... before building anything ... in core18 this was downloaded during the pull step16:48
ograoh my ...16:55
ograit goes to /root/.cache ?!?16:55
ograah, no, thats the result ...16:55
mupPR snapd#9836 opened: cmd/snap-repair: save base snap and mode in device info; other misc cleanups <Simple 😃> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9836>17:05
mupPR snapcraft#3414 opened: project loader: export SNAPCRAFT_TARGET_ARCH in build environment <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3414>17:20
mupPR snapcraft#3415 opened: cli: enable SNAPCRAFT_TARGET_ARCH envvar matching --target-arch <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3415>17:25
mupPR snapcraft#3416 opened: repo: default to target arch for stage package cache <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3416>17:50
mupPR snapcraft#3409 closed: Fix a few licenses in ros-related test files <Created by artivis> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3409>18:45
mupPR snapcraft#3412 closed: grammar: ensure all dictionary primitives are captured <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3412>18:55
mupPR snapcraft#3343 closed: build providers: set snapd proxy settings prior to _setup_snapcraft() <Created by cjp256> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/3343>19:00
mupPR snapcraft#3414 closed: project loader: export SNAPCRAFT_TARGET_ARCH in build environment <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3414>19:40
mupPR snapcraft#3371 closed: snap: get legacy branch from local <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/3371>19:55
mupPR snapcraft#3198 closed: snap: drop legacy, switch to core20 for bootstrap <do-not-merge> <Created by xnox> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/pull/3198>20:00
mupPR snapcraft#3407 closed: Add new gnome-3-38 extension which uses gnome-3-38-2004 and core20 <Created by kenvandine> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3407>20:00
mupPR snapcraft#3417 opened: Allow validation assertions to be revoked <Created by nessita> <https://github.com/snapcore/snapcraft/pull/3417>20:35
mupPR snapd#9837 opened: cmd/snap-repair: filter repair assertions based on bases + modes <Needs Samuele review> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9837>21:31
mupPR snapcraft#3418 opened: project: always set target arch even if not cross compiling <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3418>21:55
mupBug #1911480 opened: cgroupv2 support <Snappy:New> <https://launchpad.net/bugs/1911480>22:29
mupBug #1911480 changed: cgroupv2 support <Snappy:New> <https://launchpad.net/bugs/1911480>22:59

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