Wednesday, 2022-11-09

*** yadnesh|away is now known as yadnesh05:28
*** yadnesh is now known as yadnesh|afk08:09
*** yadnesh|afk is now known as yadnesh08:53
*** dviroel_ is now known as dviroel09:40
*** slaweq_ is now known as slaweq14:09
*** dasm|off is now known as dasm14:10
*** dviroel is now known as dviroel|lunch15:50
clarkbvishalmanchanda: re https://review.opendev.org/c/zuul/zuul-jobs/+/864119 I've left a -1 because I'm worried that this will break users on ubnutu bionic if they explicitly require chromium. Instead I think we need to do our best to fix the chromium install or only exclude the install on platforms where it is known to be broken. Can you share log links for where it is breaking?16:37
vishalmanchandaclarkb: error logs https://zuul.opendev.org/t/openstack/build/afdcbc4bad4f421bbc7fec5614966d9f/log/job-output.txt#53816:39
fungiclarkb: see the failures linked from the earlier discussion too: https://meetings.opendev.org/irclogs/%23openstack-infra/%23openstack-infra.2022-11-02.log.html16:39
clarkbin the log all we are getting is dpkg returning 10016:41
clarkbI see no indicating that the error is due to a /home symlink (which we don't do) and I'm not sure https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491 applies either since we don't do upgrades of ubuntu but fresh minimal installs using debootstrap16:41
clarkbdo we have something with a bit more verbosity on what is failing or do we need to hold a jammy node and install chromium-browser then check dpkg logs?16:42
*** yadnesh is now known as yadnesh|away16:42
clarkbzuul-jobs is expected to be a library of roles that all zuul users can use. For this reason we need to be careful when making changes like that. In this particular case I think we need to better understand the failure so that we can make an appropriate decision on how to fix or workaround the problem16:43
*** dviroel|lunch is now known as dviroel16:46
vishalmanchandayeah if we upgrade node to jammy, then we hit more issues which I discussed above with fungi16:47
clarkbvishalmanchanda: is the error happening on both focal and jammy then? did the behavior recently change on focal?16:49
vishalmanchandaclarkb: yeah we are seeing this issue on focal from today morning, otherwise it is working fine.16:51
clarkbgot it. So there may be two different issues here16:51
vishalmanchandaclarkb: fro jammy, we hit different bug https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/195149116:52
vishalmanchandaclarkb: yes.16:52
vishalmanchandaclarkb: let me recheck on my patch, if we hit https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1927513 on jammy as well.16:53
vishalmanchandarecheck on https://review.opendev.org/c/openstack/horizon/+/86114016:54
clarkbvishalmanchanda: I'm not convinced https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1927513 is the problem you are hitting on focal16:54
clarkbwe don't symlink homedirs16:54
clarkband if the behavior changed today then I suspect something new16:54
vishalmanchandaclarkb: ok.16:55
vishalmanchandaclarkb: let me know if you find any solution or workaround.16:56
vishalmanchandaI am also investigating.16:56
vishalmanchandaclarkb: thanks16:56
clarkbvishalmanchanda: is there a focal change we can recheck too? I can put a job hold in place16:58
clarkbthen we can inspect the dpkg logs and try to understand why it is failing16:58
vishalmanchandaclarkb: here https://review.opendev.org/c/openstack/horizon/+/86406216:59
clarkbvishalmanchanda: thanks I've put a hold on horizon-nodejs16-run-test for that change and rechecked it17:02
clarkbfwiw I think ianw ran into similar jammy update problems but with firefox17:03
clarkband the underlying issues are snaps being different. In the firefox case I think selenium didn't know how to talk to the snap?17:03
clarkbso it wasn't an install issue17:03
clarkbya looks like the jammy recheck does manage to install firefox and chromium so it fails later. I think that matches what ianw say17:06
clarkbs/say/saw/17:06
clarkbvishalmanchanda: looks like the chromium-browser install succeeded on that horizon job I rechecked. I wonder if they just temporarily broke the snap17:21
vishalmanchandaclarkb: yeah, it is passing now for focal.17:23
clarkbI'll leave the hold in place now in case the behavior comes back but will plan to delete it later today17:25
vishalmanchandaok.17:25
vishalmanchandaclarkb: Please take a look at jammy node as well, that's a separate issue.17:27
vishalmanchandaand still happen17:27
vishalmanchandaSee https://zuul.opendev.org/t/openstack/build/2143f3af585043f78917baa09a6c3f63/log/job-output.txt#271617:27
vishalmanchandahttps://bugs.launchpad.net/ubuntu/+source/snapd/+bug/195149117:27
vishalmanchandaHere is test patch https://review.opendev.org/c/openstack/horizon/+/86114017:28
clarkbvishalmanchanda: I think this is the same issue that ianw ran into on our side. I don't know if that has been addressed yet17:35
clarkbBut it seems the issue is that xvfb and our user session are not running in a way that firefox expects.17:36
vishalmanchandaclarkb: ok.17:37
vishalmanchandaianw: Did you find any solution to fix it?17:37
vishalmanchanda^^17:37
clarkbhttps://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/31 might be something to try?17:42
clarkbskimming the whole thread it seems to be something related to dbus and logins not being fully configured for it. The assumption seems to be that your login manager will do all this setup for you. But in our case wer are ssh'd in and don't have gdm etc17:43
vishalmanchandaI tried here https://review.opendev.org/c/openstack/horizon/+/861140/9/package.json17:43
clarkbdoes unsetting the env var set the value?17:44
clarkbin the linked comment the set the value to the actual bus location aiui17:44
vishalmanchandaclarkb: I don't know how to check if value is set or not17:47
clarkbvishalmanchanda: the `env` command will dump everything set in the current env. In this case `env | grep DBUS` should do it. Why unset the var though if the comment says it needs to be set?17:48
clarkbquickly checking on a jammy node there is no XDG_RUNTIME_DIR either17:55
clarkbthere is no bus socket in /run/user/$UID/17:56
vishalmanchandaclarkb: because it is suggested here in bug discussion https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/6617:56
fungithis sounds eerily like the suggestions i made last week about the problem17:57
fungiincluding suggesting where in the horizon repo it could be tested17:57
clarkbya the var isn't set as far as I can tell and the bus doesn't exist17:57
clarkbI guess maybe in some situations unsetting things indicates to snap/firefox to not look for that dbus but in others you set it so it can find it successfully?17:58
clarkbI'm confused though why sometimes setting and sometimes unsetting it is fixing it for different people18:02
clarkbit seems like snap wants to be able to talk to dbus in order to manage user cgroup stuff so that it can further isolate process like firefox18:02
clarkband it is doing that because it is running into cgroupv2 and needing to rely on dbus to manage cgroupv2 things (but doesn't under v1 cgroups?)18:02
fungiright, switching to cgroups v1 seemed to be the workaround some users went with18:04
clarkband ya xvfb is just a framebuffer not an entire desktop session login18:04
fungithe xvfb package could be augmented with the necessary session setup steps though, maybe as a wrapper script18:05
clarkbI agree it seems the fundamental underlying issue here is that snap + firefox expect an entire desktop session with all of the bits that come along with that. We've not needed that in the past but maybe we need to do that somehow. Or stop using snap firefox or something else18:05
fungiit's possible jamespage or coreycb have some additional insights on it as well, since i'm sure we're not the only ones trying to run ubuntu packaged browsers in a headless environment for webapp testing18:06
fungiit seems like ubuntu openstack has some testing of its own, so presumably covers horizon as well18:07
clarkbxvfb-run exists, but I don't think it has the sessions management. But maybe updating it to include that would make sense18:08
clarkbdigging around I think we may need dbus-user-session package installed?18:19
clarkband possibly need to relogin after installing that?18:19
clarkbIt looks like horizon manages xvfb directly in the test suite via xcfbwrapper though18:19
vishalmanchandaclarkb: maybe.18:25
*** dviroel is now known as dviroel|biba19:51
*** dviroel|biba is now known as dviroel|biab19:51
ianw(unhelpful but i did not find a solution to using firefox directly.  in infra we use the selenium-firefox container, and talk to it using the remote api.  this is not 100% ideal as you can't access some firefox specific things from that api, like the full page screenshot that only firefox provides)20:01
fungithat does sound like a possible alternative solution for horizon's tests though20:07
opendevreviewNikolay Vinogradov proposed openstack/project-config master: Add the cinder-infinidat charm to Openstack charms  https://review.opendev.org/c/openstack/project-config/+/86395423:00
*** dasm is now known as dasm|offp23:03
*** dasm|offp is now known as dasm|off23:03
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: rpm-openafs: bump to 1.8.9pre1  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/86414923:05
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: rpm-openafs: bump to 1.8.9pre1  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/86414923:26
opendevreviewNikolay Vinogradov proposed openstack/project-config master: Add the cinder-infinidat charm to Openstack charms  https://review.opendev.org/c/openstack/project-config/+/86395423:26
opendevreviewNikolay Vinogradov proposed openstack/project-config master: Add the infinidat-tools charm to Openstack charms  https://review.opendev.org/c/openstack/project-config/+/86395523:31
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: rpm-openafs: bump to 1.8.9pre1  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/86414923:32
opendevreviewNikolay Vinogradov proposed openstack/project-config master: Add manila-infinidat backend charm to OpenStack charms  https://review.opendev.org/c/openstack/project-config/+/86395723:33
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: rpm-openafs: bump to 1.8.9pre1  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/86414923:42
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: rpm-openafs: bump to 1.8.9pre1  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/86414923:55
opendevreviewIan Wienand proposed openstack/openstack-zuul-jobs master: rpm-openafs: bump to 1.8.9pre1  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/86414923:59

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!