daniels changed the topic of #freedesktop to: https://www.freedesktop.org infrastructure and online services || for questions about freedesktop.org projects, please see each project's contact || for discussions about specifications, please use https://gitlab.freedesktop.org/xdg or xdg@lists.freedesktop.org
privacy has quit [Remote host closed the connection]
<pinchartl>
is there a way, in gitlab CI job rules, to set the compare_to to the branch base when pushing a new branch ?
<pinchartl>
also, is there a way to run jobs for every commit from the base, instead of running them on the branch head only ? the goal is to catch bisection breakages
<pinchartl>
bentiss: you even commented on that issue :-)
<pinchartl>
looks like I'll have to implement this manually
Leopold has quit [Remote host closed the connection]
AnuthaDev has quit []
ndufresne is now known as Guest12944
ndufresne has joined #freedesktop
__tim9 has joined #freedesktop
ocrete2 has joined #freedesktop
__tim has quit [Read error: Connection reset by peer]
__tim9 is now known as __tim
<pinchartl>
would anyone have implemented a script to test all commits in a branch by any chance ? it shouldn't be hard to do but I'd rather not reinvent the wheel
<bentiss>
pinchartl: but I'm still off til next Monday, so likely not being able to help you on that right now
<pinchartl>
bentiss: thanks
<pinchartl>
interesting, so your CI pipeline triggers the run of another CI pipeline
<bentiss>
yeah, the point is to have each commit its green badge
* pinchartl
wonders how much CO2 a run generates
<mupuf>
pinchartl: I had the same question, and this is definitely something I want in ci-tron
<mupuf>
when using shelly plugs to control each DUT, we can get the full run's energy usage
<mupuf>
then we can check the current carbon intensity for the country the machine is in
<mupuf>
and the price
<pinchartl>
it would be good to get the same for the CPU time used on the fd.o shared runners
<mupuf>
then boom, you get: Run consumed 0.123kWh (~0.05 euros, 30g of CO2)
<mupuf>
that's a little harder, unless you trust RAPL ;)
<mupuf>
or AMD's equivalent
<eric_engestrom>
pinchartl: re- `compare_to:`, if you try to use it be aware that they designed it badly, to the point where it cannot be used in mesa because we allow people to fork the repo (we even rely on it) and they didn't think about that use case: https://gitlab.com/gitlab-org/gitlab/-/issues/424584
<eric_engestrom>
(or auto-delete from a script or something)
<eric_engestrom>
the rootfs builds worked until at least 2 days ago; I'm not sure if I ran one yesterday, but today they are broken because the file has been deleted
<pinchartl>
eric_engestrom: thanks. it seems fairly badly designed indeed
<pinchartl>
I would have expected gitlab to do much better in this area, it's disappointing
<eric_engestrom>
yeah :(
<martink>
heya, I have Q re gitlab.freedesktop.org access tokens: so my original access token expired, and I'm trying to create a new one, but the token I get each time is not a valid base64 string -- it has "-" in it, and so docker login does not like that when trying to login to registry.freedesktop.org. Clearly I'm missing something
* pinchartl
wonders if gitlab is being actively developed
<pinchartl>
every time I run into a problem and find an open issue, it's several years old, still open, and ends with people pinging every few months with no reply from gitlab.com
<martink>
it's weird, as if I'm using the wrong token filed to copy from in the gitlab token generation wizard. Each time I get a new token starting with "glpat-" which clearly is not valid base64.
<pinchartl>
martink: how do you create the new toek ?
<pinchartl>
*token
<pinchartl>
to push to the registry, you need a deploy token, not a project access token as far as I know
<pinchartl>
make sure to tick both 'read_registry' and 'write_registry', even if you only want to push, as the push command needs to read the registry to see if the image is already present
<martink>
pinchartl: I need it for registry access alone, so I have just read_registry and write_registry, and nothing else
<pinchartl>
can you try to create a project deploy token instead of a personal access token ?
<pinchartl>
or possibly remove the glpat- prefix from your personal access token ?
<pinchartl>
(the latter is just a wild guess)
<martink>
pinchartl: I just tried -/settings/access_tokens and it keeps producing "gplat-" tokens, both visually in the token field and in the clipboard.
<martink>
pinchartl: Ok, tried that -- generated tokens there are valid base64, but docker login still does not like them, as by eyeballing them they're just too short.
<martink>
(the old expired token was notably longer)
<pinchartl>
I've used a deploy token successfully with docker, so I don't know what else to say :-S
<pinchartl>
where $token is the token and $user the user name you specified when creating the otken
<pinchartl>
eric_engestrom: your bug report has very nicely been classified as abuse by an ML model, lovely
<martink>
pinchartl: doh, operator error: I was trying to use the token in the json config, instead of passing it on the CLI as -p. My bad. Thank you for the patience!
<pinchartl>
if you don't use compare_to in mesa, what do you use to skip jobs for new branches ?
<pinchartl>
martink: you're welcome
<pinchartl>
eric_engestrom: or does pushing a new branch to a fork triggers all tests ?
<emersion>
getting a 500 when posting a GL comment
Leopold_ has joined #freedesktop
spithash has joined #freedesktop
vkareh has joined #freedesktop
spithash has quit [Quit: leaving]
cat has left #freedesktop [#freedesktop]
<pinchartl>
bentiss: I'm puzzled. your CI pipeline seems to assume that $CI_COMMIT_SHA always points to the head of the branch being tested. when you force-push intermediate commits, doesn't that change CI_COMMIT_SHA in the pipeline that gets triggered ?
<pinchartl>
or do I understand the code incorrectly ? I'm looking at
<bentiss>
pinchartl: there is an after_script that pushes back the head after the intermediate commit
<pinchartl>
aahhhhhh
<pinchartl>
isn't that racy though ?
<pinchartl>
but even with the after_script, the history_next_stage job is triggered by the git push that pushes the intermediate commit
<pinchartl>
so CI_COMMIT_SHA will be the intermediate commit for that pipeline
<pinchartl>
ah got it
<pinchartl>
you're using ... not ..
ximion has joined #freedesktop
<pinchartl>
origin/$CI_COMMIT_REF_NAME is actually more recent than $CI_COMMIT_SHA
<pinchartl>
it's still racy though, but the race is likely impossible to hit in practice
todi1 has joined #freedesktop
<eric_engestrom>
pinchartl: re- some ML model classifying my report as abuse, I saw that back then, but I have no idea what triggered it, and even if I did, I assume replying would not help, I would have to copy/paste into a new issue with that one word that triggers it modified, and I don't have the patience to play games with whatever fucking "AI" they got scammed into hooking up into their issue tracker...
todi has quit [Ping timeout: 480 seconds]
<eric_engestrom>
pinchartl: re- new branches, they trigger all the jobs right now, we didn't find a way to fix that (they need to fix `compare_to`, that will be the fix IMO)
<pinchartl>
eric_engestrom: thanks
mripard has quit [Remote host closed the connection]
Haaninjo has joined #freedesktop
turmite has joined #freedesktop
lsd|2 has joined #freedesktop
<DavidHeidelberg>
Can I set unlimitwd eypiration to specific files within some S3 bucket?
<DavidHeidelberg>
*expiration
<enunes>
eric_engestrom: DavidHeidelberg: saw this discussion now, I'm hitting the v6.6.4-for-mesa-ci-e4f4c500f7fb missing files as well trying to re-enable my lab
<DavidHeidelberg>
rebuild triggered :/ ~ 12 min ETA
<DavidHeidelberg>
eric_engestrom: nah, probably some autodelete. It seems to me that I need to explicitly set expiration to the kernels which are used in CI
<DavidHeidelberg>
s/used/actively used/
<eric_engestrom>
DavidHeidelberg: I think you should disable auto-delete for all of them; it's not much storage space used, and trying to auto-detect which ones are used will always have some case where it fails
<eric_engestrom>
(btw, thanks for re-generating that kernel 🙏)
MrCooper has quit [Remote host closed the connection]
<DavidHeidelberg>
Sometimes I run bisect there, so lot of artifacts.. But still better than failure
MrCooper has joined #freedesktop
turmite_ has joined #freedesktop
turmite__ has joined #freedesktop
turmite has quit [Ping timeout: 480 seconds]
turmite__ has quit []
ximion has quit [Quit: Detached from the Matrix]
turmite_ has quit [Ping timeout: 480 seconds]
tzimmermann has quit [Quit: Leaving]
pjakobsson has quit [Remote host closed the connection]
AbleBacon has joined #freedesktop
ximion has joined #freedesktop
anholt has quit [Quit: Leaving]
anholt has joined #freedesktop
turmite has joined #freedesktop
<daniels>
mesa-lava gets autodeleted because it has everything - we can make a separate bucket with no expiration or do what the rootfs/etc pulls do and re-upload to s3 if something’s missing
<daniels>
(s3 is assumed to be ephemeral, we have no backups etc)
anholt_ has joined #freedesktop
anholt has quit [Read error: Connection reset by peer]
vkareh has quit [Quit: WeeChat 4.1.2]
alanc has quit [Remote host closed the connection]
alanc has joined #freedesktop
JoshuaAshton has quit [Quit: Gone froggin!]
mvlad has quit [Remote host closed the connection]
zanettoso has joined #freedesktop
zanettoso has quit []
JoshuaAshton has joined #freedesktop
jarthur has joined #freedesktop
atticf is now known as Guest13006
atticf has joined #freedesktop
atticf has quit [Remote host closed the connection]