/srv/irclogs.ubuntu.com/2020/11/12/#ubuntu-devel.txt

=== guiverc2 is now known as guiverc
cpaelzerdoko: I can confirm (from PPA) that the postgresql bugs related to perl will vanish with the stable update that I'm preparing13:53
cpaelzerso that should be good over the weekend or on monday13:53
dokonice13:53
cpaelzerand libvirt >6.8 I already mentioned that I have that ready and will work on it next week (after +1)13:54
dokocpaelzer: what about libvirt?13:54
cpaelzerthat will unblock the two others13:54
dokoahh, ok. alternative would be remove that version from -proposed, and build with the old one13:54
cpaelzerno I'm rather close13:55
cpaelzergive me that few days to finalize it13:55
dokook13:55
cpaelzerif - when looking into the test results - it looks horrible, then I'll let you know that we should revert and build the odl version13:55
cpaelzeras an interim solution13:55
zygamwhudson: hey, is there a chance to backport a fix in go's IO loop: https://go-review.googlesource.com/c/go/+/232862/16:08
zygamwhudson: this bug incorrectly surfaces EINTR in valid go programs16:09
=== _hc[m] is now known as _hc
cristiangspHello everybody,16:17
cristiangspWe want to make you aware that on Friday November 20th and Saturday November 21st there will be a scheduled downtime in our Boston data center to move several compute nodes that form part of the Launchpad build farm.16:17
cristiangspDuring this maintenance window, the Launchpad build farm will not be able to perform builds on the following platforms: arm64, armhf, ppc64el, s390x, powerpc and armel.16:17
cristiangspWe appreciate your patience and understanding.If you have questions or issues, please submit them at: https://help.launchpad.net/Feedback.16:17
LaneyThat affects autopkgtest too FWIW.16:41
juliank:(16:41
LaneyI know, earlier today I was like "hmm, ok, they should be done by the end of the weekend"16:42
LaneyI wonder if it'll fix the bos01 ppc64el compute instance though, if the cloud gets turned off and on again16:46
Laneysilver lining?16:46
Laneyah actually, maybe no worries, that's a week tomorrow not tomorrow!16:48
mwhudsonzyga: probably! does it backport cleanly?18:08
=== ijohnson is now known as ijohnson|lunch
=== ijohnson|lunch is now known as ijohnson
seb128rcj, Odd_Bloke, so I finally got to try the old fashioned script and I think I got it working, thanks again for that! now how do I turn the .ext4 & co into an iso? using ubuntu-cdimage?19:09
rcjThat's a great question seb128 but I don't know for sure.  We trade in qcows and the like.  But someone like xnox or Laney might be able to tell you how they make the ISOs for server or desktop from your output.19:15
seb128rcj, alright, thanks19:19
seb128mwhudson, or maybe you know about ^ ?19:19
rcjis he awake yet?19:19
seb128he wrote on this channel an hour ago19:21
seb128and even if he's not, he might read the backlog later :)19:22
xnoxseb128:  i simply checkout ubuntu-cdimage; and checkout debian-cd branch and drive it normally as ubuntu-cdimage does.19:33
seb128xnox, how does ubuntu-cdimage knows where to find debian-cd ?19:34
xnoxseb128:  and i tweak config to use my own +livefs in launchpad, instead of the production ones.19:34
xnoxseb128:  it finds it in the cwd19:34
xnoxseb128:  readme says, to checkout the debian-cd ubuntu' fork.19:34
seb128xnox, is that https://code.launchpad.net/~ubuntu-cdimage/debian-cd/ubuntu ?19:34
xnoxi have no idea why they are separate repos, but they are.19:34
xnoxseb128:  sounds right.19:35
seb128xnox, I'm getting confused19:36
seb128$ DIST=bionic for-project ubuntu cron.daily-live --live19:36
seb128is what I try in a debian-cd checkout19:36
seb128(with the ubuntu-cdimage/bin in the path)19:36
seb128but it errors with19:36
seb128cdimage.livefs.LiveBuildsFailed: No live filesystem builds succeeded.19:36
seb128after export CDIMAGE_ROOT to the ubuntu-cdimage checkout I get19:39
seb128cdimage.livefs.UnknownArchitecture: No live filesystem builder known for amd6419:39
seb128I wonder how many people had to figure out again those details over the years19:39
seb128xnox, and re livefs, there is no way to do that locally, you need to hit launchpad?19:42
xnoxseb128:  not in debian-cd checkout19:47
xnoxseb128:  one dir above it.19:48
xnoxubuntu-cdimage/debian-cd/19:48
xnoxyou want to be in the ubuntu-cdimage19:48
xnoxwith debian-cd available, as ./debian-cd19:48
xnoxnormally19:48
seb128k, well I get19:48
seb128cdimage.livefs.UnknownArchitecture: No live filesystem builder known for amd6419:48
xnoxthat sounds like lack of permissions19:48
xnoxare you in ~ubuntu-cdimage?19:49
seb128yes19:49
xnoxcause in etc/livefs-launchpad, i normally do twek to use my own xnox/any name of livefs19:49
xnoxok19:49
xnoxpath = os.path.join(config.root, "production", "livefs-builders")19:50
xnoxi never have CDIMAGE_ROOT exported.....19:50
seb128do you add ubuntu-cdimage/bin to PATH?19:50
xnoxjust the bin added to path, and then i'm just in ubuntu-cdimage/ folder19:50
xnoxyes, add ubuntu-cdimage/bin to PATH, and be in ubuntu-cdimage19:51
seb128I should maybe edit etc/livefs-launchpad ?19:51
xnoxone sec, yeah, you ended up in the "ssh into builder" codepath (back in the day when we did not use launchpad as livefs builders)19:52
xnox        if lp_livefs is not None:19:52
xnoxif lp_livefs is not None19:52
seb128also how does it know where to find the artifact if those are local?19:52
xnoxyeap, your livefs got empty19:52
seb128$ ls ~/build.output/19:53
seb128binary.log  livecd.ubuntu.ext4            livecd.ubuntu.kernel-generic  livecd.ubuntu.manifest-minimal-remove  log19:53
seb128etc         livecd.ubuntu.initrd-generic  livecd.ubuntu.manifest        livecd.ubuntu.manifest-remove19:53
seb128it should use those right?19:53
xnoxseb128: no.19:53
xnoxseb128:  ubuntu-cdimage by default looks up livefs (the build it triggered, or the last one) and download things, and puts it into scratch dir, to invoke debian-cd against.19:53
xnoxyou can patch the download code, to just copy things from stuff you built locally.19:54
xnoxor sometimes i just comment out downloading, after one download and hack things myself byhand.19:54
seb128sounds like that should be an option rather than individuals redoing that patching :)19:54
xnoxseb128:  also i don't use old-fashioned, i simply use livefs builder in launchapd19:54
seb128doing local sounds better rather than wasting infra resources19:54
xnoxseb128:  well, if my teams upload would not be reverted we might have more time to work on cdimage ;-)19:55
seb128do you remember offhand where the download code you patch is?19:55
seb128xnox, punt :p19:55
xnoxseb128:  yeah, i should have it as the bzr shelve, one sec.19:55
xnoxand then i run the build without  the '--live' option19:55
xnoxdownload_live_filesystems and download_live_items19:56
xnoxare the ones i stub out.19:56
xnoxseb128:  but it would be nice, to fix ubuntu-cdimage local instance not able to talk to launchpad.19:56
xnoxseb128:  cause i guess you might want to have one end-to-end run, with everything stock.19:57
xnoxcause then there are logs & scratch dir with all the state, which then one can inspect and just run parts of it.19:57
xnoxseb128:  path = os.path.join(config.root, "etc", "livefs-launchpad") -> this must exists and does exists, if one is in the ubuntu-cdimage checkout.19:59
xnoxseb128:  and if your config.root is off, then lots of stuff will not work.19:59
xnoxseb128:  if you cd into your checkout of "ubuntu-cdimage" (i.e. ~/canonical/ubuntu-cdimage) and then run  DIST=bionic for-project ubuntu cron.daily-live20:00
xnoxdoes it work?20:01
xnoxit should download all the things, and just work.20:01
seb128Exception: RSYNC_SRC not configured!  Edit /home/ubuntu/ubuntu-cdimage/production/anonftpsync or /home/ubuntu/ubuntu-cdimage/etc/anonftpsync and try again.20:01
xnoxseb128:  horay, that's good!20:09
xnoxseb128:  adjust etc/anonftpsync to taste, or make change to skip mirroring stuff.20:09
seb128xnox, can you maybe share you download functions diff?20:10
xnoxseb128:  i have CDIMAGE_NOSYNC=1 =>20:10
seb128easier than redo that part20:10
seb128FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu/ubuntu-cdimage/ftp/dists/bionic/main/debian-installer/binary-amd64/Packages.gz'20:10
xnoxseb128:  i've looked for it, and i don't have it.20:10
xnoxseb128:  without a mirror, locally, one cannot make an iso. because it needs to download things. and there is no way to rsync unsplit mirror locally.20:11
xnoxseb128:  so i rsync the dists/ on people.canonical.com20:11
xnoxseb128:  and then rsync it locally; and update whenever i want newer bootloaders.20:11
xnoxseb128:  lately i had to build new images, with changes in livecd-rootfs => meaning full rebuilds.20:11
xnoxseb128:  but yeah ftp/disksts/$suites for the suites you want to build for are needed20:12
xnoxseb128:  and partial pools.20:12
seb128bah20:12
xnoxseb128:  i dream to rework cdimage to work off networked mirror with apt-get download20:12
xnoxseb128:  because one can totally add all the repos for all the arches locally. without this mirror bullshit.20:12
seb128I don't undestand why I need all this20:12
seb128old fashioned gave me the ext4 manifest etc20:12
seb128it sounds like building an ISO from those artifacts shouldn't that much overhead :/20:13
xnoxseb128:  to assemble the iso these things are ndeed https://paste.ubuntu.com/p/CpGHgDgTMV/20:13
xnoxseb128:  the iso consists of: squashfs, bios/uefi bootloader, pakcages pool of files with offline optional debs needed for install.20:13
xnoxseb128:  that's for recent series20:14
xnoxseb128:  for bionic it needs access to the bionic's isolinux ubuntu theme grub etc. to unpack them, put them in the scratch dir and pass them to the xorriso command when assembling the iso20:14
xnoxseb128:  and the pool on the production iso must be signed with the cdimage key....20:14
seb128I'm not interested in bionic, I just though it would give me a stable basis20:15
xnoxseb128:  hence launchpad/livecd-rootfs cannot spit out ready made iso, because it will not sign things on it.20:15
xnoxseb128:  which series you care aobut then?20:15
seb128xnox, so basically going down the path we were discussing, I need to  create a mirror in ftp/dists?20:15
xnoxseb128:  because every series supports different targets and behaves differently and is assembled differently, and needs differt amount of partial pool.20:15
xnoxseb128:  yes, you need ftp/dists for the suites you  want to build for.20:15
seb128xnox, hirsute, my goal is to fix the canary build to use it as a basis for the subiquity desktop project20:16
xnoxfor the arches you want to build ofr.20:16
seb128you don't have a command to rsync or create that pool? ;)20:16
seb128I'm still amazed that no-one properly documented those20:16
xnoxmost cdimage people.... simply ssh into old minster, and run builds from there.20:17
seb128there is probably a bunch of us that went through the exercice to get this somehow working20:17
seb128each having their own tricks20:17
xnoxi am one of the few who don't have that ssh access, hence have lcoal deployemnt; and i bootstrap julinak to it too20:17
xnoxseb128:  sync20:17
xnox$ cat bin/sync20:17
xnox#!/bin/sh20:17
xnoxset -x20:17
xnoxMIRROR=/home/xnox/mirror/ubuntu20:17
xnoxDEVEL=groovy20:17
xnoxrsync -av --exclude dapper\* --exclude edgy\* --exclude feisty\* --exclude gutsy\* --exclude hardy\* --exclude intrepid\* --exclude jaunty\* --exclude karmic\* --exclude lucid\* --exclude maverick\* --exclude natty\* --exclude oneiric\* --exclude quantal\* --exclude raring\* --exclude saucy\* --exclude utopic\* --exclude wily\* --exclude yakkety\* --exclude zesty\* --exclude artful\* --exclude bionic\*20:17
xnox--exclude disco\* --exclude cosmic\* --exclude eoan\* --exclude precise\* --exclude xenial\* --exclude trusty\* --exclude vivid\* --include Packages\* --include Sources\* --include Release\* --include InRelease\* --include udeb.list --include \*\*/installer-\*/current --include "**/$DEVEL/Contents-*" --include "**/focal*/Contents-*" --include \*/ --include i18n/\* --exclude \* --delete --delete-excluded20:17
xnox--prune-empty-dirs ftpmaster.internal::ubuntu-dists/ "$MIRROR/dists/"20:17
xnoxGERMINATE="/home/xnox/mirror/ubuntu-germinate"20:17
xnoxrsync -avz --include germinate.output --exclude _\* --exclude \*.new --include "*_groovy_*" --include "*_focal_*" --exclude \* --delete --delete-excluded ftpmaster.internal::ubuntu-germinate/ "$GERMINATE/"20:18
xnoxthat will give you dists..... bah20:18
xnoxhttps://paste.ubuntu.com/p/MWNb6zrYD3/20:18
seb128thanks20:18
xnoxseb128:  and then for the pool, i just run the build, see where it fails to fetch, mkdir  -p that dir, and then run like $ pull-lp-debs --arch $arch $pkg => for the right version, or series.20:18
xnoxi guess you will want the latest cd-boot-images-amd6420:18
xnoxit's 9 at the moment.20:19
xnoxand you will need the keyring too20:19
xnoxso pull-lp-debs ubuntu-keyring20:19
seb128xnox, alright, I'm doing a rsync and will probably come back to that in a while or tomorrow, thanks for the guidance20:20
seb128xnox, the other option would be to just restore the canary build and try to fix it by upload and watch the result on the official infra :p20:21
xnoxseb128:  yes that would be the quickest way, to just readd it in the etc/crontab20:21
xnoxseb128:  because then for example, i will see the logs too, as they would be publically mirrored.20:22
xnoxand anyone else.20:22
seb128xnox, well I expect the first thing is going to fix the kernel problem that was discussed back then when didrocks and ji_bel were working on it, I don't think that anyone handled it20:22
xnoxseb128:  especially if the canary image is to become the new subiquity-desktop playground.20:22
seb128that's the plan20:23
seb128but I wanted to iterate locally rather than waste infra resources to test things, I though it would also be quicker to iterate20:23
seb128I didn't expect it to be so complex to set up20:23
xnoxseb128:  what was the kernel problem? when we redid the bootloader, it didn't work for the canary build? a debian-cd / ubuntu-cdimage build log would be helpful for that.20:23
xnoxseb128:  this one is _easy_ =))))))) wait till you see the CPC or the OEM-images setup =)))))))))))))))))))20:24
xnox(the publishers there, were forked ubuntu-cdimage when it was shell with added ceph buckets and jenkins)20:24
seb128lol20:25
seb128xnox, what you wrote back then was 'We should make kernel/linux install be done in the is_live_layer only. Including regenerating the initrd as done in hacks, and rip it out.'20:25
xnoxseb128:  oooooh.20:30
xnoxseb128:  but that's in livecd-rootfs and live-build, not in ubuntu-cdimage/debian-cd levels.20:31
seb128xnox, right, well I'm trying to build up my way from bottom to top20:33
seb128I though old fashioned would drive livecd-rootfs for me20:34
seb128which is where I started20:34
seb128well; I think that's still true20:34
seb128if I replace the download code and use those artifacts20:34
xnoxyes that would drive livecd-rootfs & live-build, but not ubuntu-cdimage/debian-cd.20:35
seb128I can use old fashioned to build with the livecd-rootfs changes20:35
seb128and then I need the up stack to end up to the ISO20:35
xnoximho having a personal xnox/ubuntu +livefs build, in etc/launchpad-livefs is easier than old-fashioned.20:35
xnoxwith upload of livecd-rootfs / live-build to a ppa20:35
xnoxand launchpad the builds in that ppa20:35
xnoxthus iterating out of archive.20:35
seb128I don't know how to do that either20:35
seb128so much knowledge missing there :)20:35
xnoxseb128:  yes, we have teams that only do that. i.e. cpc & oem.20:36
seb128they should fix the canary image for us :p20:36
xnoxseb128:  which salesforce contract is it for? they have minimum revenue before they can be invoked =)20:36
xnoxseb128:  do you have pull-lp-source of live-build?20:37
xnoxseb128:  i don't know how layers work, but i think the ./scripts/build/lb_chroot_linux-image needs to be come layer aware20:37
xnoxand do nothing if the layered build is run and the layer is not the live-layer;20:38
seb128xnox, I will check later or tomorrow but I need to go for now, thanks again for the help and have a nice evening!20:39
xnoxseb128:  and separately we need to get UPDATE_INITRAMFS_OPTIONS="CASPER_GENERATE_UUID=1" into there too.20:39
xnoxi.e. if live-layer also rerun CASPER_GENERATE_UUID=1 update-initramfs -u20:39
seb128k20:39
xnoxbecause ./scripts/build/lb_chroot_hacks is not run at all, i think, or something like that.20:40
xnoxseb128:  so we had a headcount cancelled multiple times / postponed / fail to hire, to complete ubuntu-image => which is a snap, and just builds everything in one go.20:40
xnoxseb128:  it was meant to be able to do all classic images, reproducibly. but alas, still not here.20:40
xnoxaka replacement for debian-cd and the image building.20:41
seb128right20:41
seb128I with I had an IRC proxy but I don't, need to drop now sorry20:41
seb128xnox, thanks again for the help and the advices! enjoy your evening20:42
cjwatson16:49 <sil2100> openssh has two regressions, libssh and sshuttle - is anyone looking at it?21:46
cjwatsonbdmurray: ^ FWIW I just got libssh fixed in Debian today21:46
cjwatsonwill need a merge21:47
cjwatsonsshuttle looks plausibly transient - retrying21:48
bdmurraycjwatson: I'd already retried sshuttle21:49
bdmurraycjwatson: I also found debian bug 97403921:49
ubottuDebian bug 974039 in libssh "libssh: autopkgtest failure with openssh 8.4p1" [Important,Fixed] http://bugs.debian.org/97403921:49
cjwatsonah, I thought I'd checked sshuttle's history but maybe I failed21:52
bdmurrayIt's likely still in the queue21:52
cjwatsonack21:52
bdmurrayOh nope, its running right now21:53
GunnarHjbdmurray: Do you have an idea what's going on re bug #1903574? The Debian maintainer would appreciate a helping hand.22:18
ubottubug 1903574 in isenkram (Ubuntu) "isenkram-lookup crashed with SIGSEGV in g_type_check_instance_cast()" [Medium,New] https://launchpad.net/bugs/190357422:18
bdmurrayGunnarHj: I haven't looked at it other than trying to get it to retrace22:18
bdmurrayGunnarHj: sorry for the noise!22:19
GunnarHjbdmurray: Ok, n.p.22:19
=== ebarretto_ is now known as ebarretto

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