Thursday, 2021-06-03

ianwhttps://review.opendev.org/c/opendev/system-config/+/794353 i put in the queue to try and test an upstream ansible change00:36
ianwit appears to have caused a traceback00:37
ianw"2021-06-03 00:07:49,290 ERROR zuul.GithubConnection.GithubClientManager: No installation ID available for project ansible/ansible"00:37
ianwhttp://paste.openstack.org/show/806295/00:37
ianwinteresting, i've managed to run the graphql query and i get a status01:56
opendevreviewIan Wienand proposed zuul/zuul master: github driver: log graphql errors  https://review.opendev.org/c/zuul/zuul/+/79437104:13
opendevreviewIan Wienand proposed zuul/zuul master: github : show query response on missing fields  https://review.opendev.org/c/zuul/zuul/+/79437204:13
opendevreviewIan Wienand proposed zuul/zuul master: github: handle exceptions from _updateCanMergeInfo  https://review.opendev.org/c/zuul/zuul/+/79439304:13
opendevreviewIan Wienand proposed zuul/zuul master: github: log graphql errors  https://review.opendev.org/c/zuul/zuul/+/79437104:14
opendevreviewIan Wienand proposed zuul/zuul master: github: show query response on missing fields  https://review.opendev.org/c/zuul/zuul/+/79437204:14
opendevreviewIan Wienand proposed zuul/zuul master: github: handle exceptions from _updateCanMergeInfo  https://review.opendev.org/c/zuul/zuul/+/79439304:14
ianwtobiash / corvus : in summary; https://review.opendev.org/c/opendev/system-config/+/794353 appears to have triggered an issue with the github pull; details in https://storyboard.openstack.org/#!/story/2008940. ^^^ is some suggestions that i think would have perhaps dumped the query and handled the error better04:18
ianwhowever, i'm still not sure what the root cause is.  i'm not going to touch it any more in case there is some live state that might be helpful to debug04:18
*** marios has joined #zuul05:15
opendevreviewIan Wienand proposed zuul/zuul master: github: show query response on missing fields  https://review.opendev.org/c/zuul/zuul/+/79437205:49
opendevreviewIan Wienand proposed zuul/zuul master: github: handle exceptions from _updateCanMergeInfo  https://review.opendev.org/c/zuul/zuul/+/79439305:49
opendevreviewNiklas Borg proposed zuul/zuul-jobs master: Add properties to upload-artifactory  https://review.opendev.org/c/zuul/zuul-jobs/+/78954307:09
*** hashar has joined #zuul07:17
*** jpena|off is now known as jpena07:20
*** tosky has joined #zuul07:20
*** rpittau|afk is now known as rpittau07:34
avass[m]guillaumec: I also pushed an update to gitlabs docs about the protected branch api: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6289107:52
mhuhello zuul-maint, these 4 patches need one final +2 before we can release zuul-client 0.0.5 : https://review.opendev.org/q/topic:%2522builds_query%2522+status:open+label:%2522Code-Review%252B2%252208:15
opendevreviewSankar Palanivel proposed zuul/zuul-jobs master: TEST: Do not merge  https://review.opendev.org/c/zuul/zuul-jobs/+/79426808:30
opendevreviewSankar Palanivel proposed zuul/zuul-jobs master: TEST: Do not merge  https://review.opendev.org/c/zuul/zuul-jobs/+/79426809:23
*** jangutter has joined #zuul09:48
*** jangutter_ has quit IRC09:55
opendevreviewMatthieu Huin proposed zuul/zuul-client master: builds API: fix queries for boolean parameters  https://review.opendev.org/c/zuul/zuul-client/+/79455310:00
*** jangutter has quit IRC10:01
*** jangutter has joined #zuul10:01
*** jangutter has quit IRC10:14
*** jangutter_ has joined #zuul10:15
opendevreviewMatthieu Huin proposed zuul/zuul-client master: builds: fix API queries for boolean parameters, make tenant optional  https://review.opendev.org/c/zuul/zuul-client/+/79455310:33
*** jpena is now known as jpena|lunch11:33
*** jpena|lunch is now known as jpena12:23
*** Shrews has joined #zuul13:56
corvusmhu: q on 75123814:04
opendevreviewMerged zuul/zuul-jobs master: Add properties to upload-artifactory  https://review.opendev.org/c/zuul/zuul-jobs/+/78954314:05
mhucorvus: I'm not sure how to test this change. Is the console stream tested in zuul unit tests ?14:08
corvusmhu: it is indeed14:12
corvusboth the fingergw and websocket paths14:12
mhuI'll have a look how it's done and I'll add the tests then14:13
mhuzuul-maint, can we merge https://review.opendev.org/c/zuul/zuul-client/+/794553 which fixes an incorrect behavior when searching builds using boolean filters (final, voting, held)14:26
guillaumecmhu: If it can help you, I have a small series involing console stream https://review.opendev.org/c/zuul/zuul/+/77081814:26
mhuguillaumec, definitely! thanks14:27
*** persia has joined #zuul14:51
*** erlon has quit IRC15:13
*** hashar has quit IRC15:20
*** hashar has joined #zuul15:25
opendevreviewMatthieu Huin proposed zuul/zuul-client master: Add change-status subcommand  https://review.opendev.org/c/zuul/zuul-client/+/75983815:29
*** ironfoot has joined #zuul15:30
clarkbironfoot: welcome15:31
opendevreviewAde Lee proposed zuul/zuul-jobs master: Add role to enable FIPS on a node  https://review.opendev.org/c/zuul/zuul-jobs/+/78877815:33
ironfooto/15:38
*** hashar is now known as Guest74015:55
*** hashar has joined #zuul15:55
*** Guest740 has quit IRC16:02
*** marios is now known as marios|out16:08
*** rpittau is now known as rpittau|afk16:12
*** jpena is now known as jpena|off16:27
*** sshnaidm is now known as sshnaidm|afk16:32
*** marios|out has quit IRC16:40
*** bhavikdbavishi has joined #zuul16:42
*** josefwells has joined #zuul16:46
*** hashar has quit IRC17:19
*** bhavikdbavishi has quit IRC18:26
*** bhavikdbavishi has joined #zuul18:26
*** hashar has joined #zuul18:32
*** bhavikdbavishi has quit IRC18:38
*** dmsimard4 has joined #zuul19:14
*** dmsimard has quit IRC19:20
*** dmsimard4 is now known as dmsimard19:20
*** Shrews has quit IRC19:30
*** hashar has quit IRC19:47
*** hashar has joined #zuul20:34
*** hashar has quit IRC20:41
*** swest has quit IRC20:47
*** swest has joined #zuul20:48
ianwcorvus: not sure if you had any thoughts on 794353 not making it to the gate with github pull issues?  http://eavesdrop.openstack.org/irclogs/%23zuul/%23zuul.2021-06-03.log.html#t2021-06-03T04:18:1721:49
corvusianw: not off the top of my head; i'm not super familiar with that21:52
ianwnp.  i did manage to replay the graphql query with my own token, and it returned something that looked like it could be parsed.  i imagine it's something to do with however opendev zuul is authenticating22:00
ianwactually, i guess *i* should be able to replay the graphql query as zuul using the token on zuul02.  that might give a clue as to the error.  i didn't think of that ... will try and see if that enlightens anything22:01
corvusianw: i note from your log message, the http response code is 401 (unauthorized)22:04
corvusianw: so that seems like the likely immediate issue22:05
ianwresult: 401 ... indeed22:07
ianwi *totally* missed that22:07
corvuswe might want to change that from 'result' to 'response code'22:10
corvusit's a bit subtle22:10
ianwyeah and i think it should also bubble up an error rather than try and go on parsing; that's what my other changes try to do so not totally wasted time22:13
ianwwe do get "ERROR zuul.GithubConnection.GithubClientManager: No installation ID available for project ansible/ansible"22:15
ianwi'm guessing the installation id must be important22:15
corvusianw: we get one iff the repo has installed the zuul app (which ansible hasn't since the openstack stuff moved out)22:17
corvusianw: without it, it should perform anonymous queries; did you try your graphql query anon?22:17
ianwwell you have to be authenticated to do a graphql query i believe22:17
ianwTo communicate with the GraphQL server, you'll need an OAuth token with the right scopes.22:18
ianwhttps://docs.github.com/en/graphql/guides/forming-calls-with-graphql#authenticating-with-graphql22:18
corvusthis may be the crux of the problem then22:18
ianwthat may be a new thing?  i don't know what it used to be like :)22:19
ianwwe seem to have had graphql too long for that to have not been noticed, as a first though -> https://review.opendev.org/c/zuul/zuul/+/70983622:25
corvusianw: are you sure we've tried to run a job that required-projects ansible since then?22:26
corvus(if the hypothesis is: the graphql change broke internal cloning of github repos with only anonymous access; i'm not sure we have a lot of those in order to disprove it)22:27
corvusor is this a depends-on?  (doesn't change what i was trying to say; just clarifying)22:28
ianwthis is a depends-on; upstream ansible committed something that broke our ansible-devel system-config job, so was trying to test the pull request that is supposed to fix it22:29
ianwwe have "webhook_token"22:32
ianwis this saying it's looking for a config "api_token"? https://opendev.org/zuul/zuul/src/branch/master/zuul/driver/github/githubconnection.py#L115222:34
ianwi think that might be it.  i do not think we have an api_token set in our config22:36
ianwhttps://zuul-ci.org/docs/zuul/reference/drivers/github.html#attr-%3Cgithub%20connection%3E.api_token22:36
ianwwhich points to making a scoped api token22:37
*** tosky has quit IRC23:00

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