Tuesday, 2023-01-17

*** soniya29|rover is now known as soniya29|rover|brb07:12
*** soniya29|rover|brb is now known as soniya29|rover08:15
*** jpena|off is now known as jpena08:21
*** soniya29|rover is now known as soniya29|rover|lunch09:16
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: Add Opensearch dashboards backup script; add dashboards objects  https://review.opendev.org/c/openstack/ci-log-processing/+/86081109:40
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: Ensure that important files are downloaded  https://review.opendev.org/c/openstack/ci-log-processing/+/86490510:02
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: Add Opensearch dashboards backup script; add dashboards objects  https://review.opendev.org/c/openstack/ci-log-processing/+/86081110:09
opendevreviewMerged openstack/ci-log-processing master: Change container image tag to latest; remove basepython from tox.ini  https://review.opendev.org/c/openstack/ci-log-processing/+/86954210:09
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: Add Opensearch dashboards backup script; add dashboards objects  https://review.opendev.org/c/openstack/ci-log-processing/+/86081110:11
opendevreviewdaniel.pawlik proposed openstack/ci-log-processing master: Ensure that important files are downloaded  https://review.opendev.org/c/openstack/ci-log-processing/+/86490510:12
*** soniya29|rover|lunch is now known as soniya29|rover10:44
*** rlandy|out is now known as rlandy11:14
*** dviroel|out is now known as dviroel11:44
*** dasm|off is now known as dasm14:07
*** soniya is now known as soniya|rover14:34
*** dviroel is now known as dviroel|lunch15:28
*** soniya|rover is now known as soniya|rover|out15:52
*** dviroel|lunch is now known as dviroel16:35
fungiclarkb: stephenfin: does the problem described in the commit message for https://review.opendev.org/870844 seem at all familiar, and if so what have other projects done to address it?16:58
clarkbfungi: I think when it installs the project itself17:01
clarkbfungi: our tox logs should be verbose enough to pinpoint when it happens17:01
clarkbiirc tox installs deps first into he venv. THen it installs the project itself. When it installs the project itself it still uses pip install -U which can upgrade a previously constrained dep17:02
fungiunfortunately tox v4's logs are not verbose at all. they say "i'm performing these various steps" followed by "these are the versions i installed"17:04
fungiyou don't get the intermediate version info17:05
fungiclarkb: do you happen to know if the patch there is the way other projects might have already addressed it?17:06
clarkbyes I think that is a common appraoch17:06
fungiputting constraints into tox.install_command instead of testenv.deps, or in addition to?17:07
clarkbI think I've seen both17:08
clarkbbut not sure if pip will complain about -c being set twice?17:08
fungii think the tricky situation for that solution is when some testenvs need a different constraints list (lower constraints jobs, or a loca17:08
fungil python 2.7 constraints list like swift uses)17:08
fungisince tox.install_command is global and can't be overridden on a per-env basis17:09
clarkbuse nox? (only half joking, nox gives you far more control over things like this)17:10
clarkbI'm not sure how to address that. Maybe if you set the lower constraints env var in the env for a test env that will sufficientl override things?17:11
fungioh, right, i keep forgetting the url is only used for local runs17:12
fungiso if it does break, zuul will probably mask it17:12
clarkbright would likely only be a local issue17:13
*** jpena is now known as jpena|off17:26
timburkeclarkb, given the frequency of breakage recently, "use nox" is kind of appealing -- would we need to get https://governance.openstack.org/tc/reference/pti/python.html updated, though?18:43
timburkegiven the general python-community movement toward pyproject.toml, we should probably re-evaluate that anyway -- it seems unlikely that we want to stick with setup.py indefinitely18:45
clarkbtimburke: yes, the TC would need to get involved and a bunch of tooling thatassumes tox would need to be modified to also handle nox. I did some of the porting in zuul-jobs already and so far the porting has been straightforward just needs work18:47
clarkbtimburke: I think gmann was suggesting this could be something that is discussed at the PTG18:47
clarkbas far as pyproject.toml goes that is a separate issue18:47
timburke👍18:47
clarkbAt this point there are a handlful of "standard" python tools that can roughly approximate what PBR does. The big missing feature is semver understanding in predicting versions18:48
clarkbPBR does also attempt to support pyproject.toml via the setuptools shim stuff so leaving PBR shouldn't be required to use prproject.toml18:48
clarkbbut I think there is potential for streamlining in that conversion should it happen18:49
fungiyes, i have a project which uses a pyproject.toml instead of setup.cfg with pbr just fine18:51
JayFI dug into nox somewhat for research 18:52
JayFand I'm on the nox train18:52
JayFI reimplemented the entire ironic-python-agent test suite in nox in ~1 hour18:52
JayFhttps://www.youtube.com/watch?v=cAkMVIBTFbQ (I did it during my office hours so it's actually on video)  18:53
JayFI really, really like the tagging of environments to run groups of 'em18:53
clarkbJayF: yup, and the way it handles python versions is really nice too18:54
clarkbits more explicit and less implied which I prefer for CI where you really want to be explicit and only run under a specific version18:54
JayFyeah basically I had a list of "but it needs X" and the more I learned the more I could strike off the list18:56
*** Tengu7 is now known as Tengu18:59
opendevreviewMerged openstack/project-config master: Add FIPS job for ubuntu  https://review.opendev.org/c/openstack/project-config/+/86711219:45
*** rlandy is now known as rlandy|brb19:50
ianwade_lee: the zuul-jobs fips stuff looks ok to me, but i do have a question about the enable flag pointed out by fungi19:53
ianwwe haven't generally accepted "we don't think anyone uses this" for making backwards incompat changes, so i feel like it's better if we don't invert the enable flag.  is there a strong reason to?19:54
*** dviroel_ is now known as dviroel|afk19:57
fungii think it's so that the job can be a parent (many generations deep) of lots of jobs the majority of which don't need that feature, so only the few which do need to be edited to turn it on20:08
fungie.g. all devstack/tempest jobs20:09
fungithe problem is that the changes it needs to make and reboot it performs when enabled have to happen very, very early in pre-run, so getting it into that position relative to all the other parents/children either means it needs to be in the ancestry of a majority of those jobs, or needs a completely parallel set of job definitions separately parented to it20:10
ianw... ok ... why wouldn't the job just do like "include_role: enable-fips" with a when: based on a variable?  like why always include the role?20:11
fungithat seems like a viable alternative. it doesn't solve the ancestry issue making it need to be disabeld by default though20:12
ianwthat is a fair point though about the earliness of it all20:12
fungiit's an unfortunate inflexibility of zuul's onion inheritance model20:13
fungiand teh fact that we never figured out how to properly do mix-ins20:13
ianwohhh, i see, that enable_fips is an argument to the pre playbook20:14
fungiright20:15
ianwi'll have to double think about it, but yeah i get more an idea what's going on now20:16
fungiit's a head-scratcher. if you have better ideas, i'm all for them20:17
*** rlandy|brb is now known as rlandy20:43
clarkbianw: fungi: should I hold off on reviewing/+2'ing the change then if we are tring to come up with a better solution?21:05
fungii'd at least wait for ianw to finish reviewing it21:11
ianwok, i've reviewed more fully and come down at -1 pending a bit more clarity on what's going on.  my objection is that it seems to be intended that you parent to -fips versions of jobs, but have a foot-gun loaded in that this won't actually enable fips ...22:26
fungiyes, i saw and concur with your analysis. at the very least, if the idea is to have devstack-base reparented to openstack-multinode-fips then that needs to be spelled out in the commit message22:34
fungi(right now devstack-base's parent is multinode from zuul-jobs)22:35
opendevreviewIan Wienand proposed openstack/project-config master: linaro-us : set max-servers to 0  https://review.opendev.org/c/openstack/project-config/+/87087623:41

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