Monday, 2023-02-20

@q:fricklercloud.deI'm seeing a lot of errors like this both in my lokal zuul install currently running on Friday's master as in the opendev setup:08:53
```
2023-02-20 08:48:56,904 DEBUG zuul.Scheduler: [e: 2bfb728aa6314f3aa8e6ee8374e994fc] [build: 653a6053697d4e0e92f48226e8f26668] Processing result event <BuildCompletedEvent build=653a6053697d4
e0e92f48226e8f26668 job=neutron-ovs-grenade-dvr-multinode>
2023-02-20 08:48:56,904 WARNING zuul.Scheduler: [e: 2bfb728aa6314f3aa8e6ee8374e994fc] [build: 653a6053697d4e0e92f48226e8f26668] Build set e464544f2ade4d7ab00994db0d58f21b is not current
2023-02-20 08:48:56,904 ERROR zuul.Scheduler: Unable to find build 653a6053697d4e0e92f48226e8f26668. Creating a fake build to clean up build resources.
2023-02-20 08:48:56,905 DEBUG zuul.ExecutorClient: [e: 2bfb728aa6314f3aa8e6ee8374e994fc] Removing build 653a6053697d4e0e92f48226e8f26668
```
doesn't look right to me
@clarkb:matrix.orgq: I would probably double check that the build is reporting and running properly just to make sure results are being lost. But I wonder if that is due to some of the optimizations around locking and cleanups that have been made. If so the logging arund that should probably be made less scary. If not we'd need to run it down more?16:21
@clarkb:matrix.orgI can't really dig into it today as I'm traveling16:21
@flaper87:matrix.org👋 anyone here has an example of how to configure a nodeool provider for kubernetes? I saw the docs but I gotta admit I'm a bit confused 🤣18:05
@flaper87:matrix.orgBasically, I don't see jobs bein picked or any pods created18:06
@flaper87:matrix.orgShould I add this configs to the `nodeset` too? 18:07
@clarkb:matrix.orgYou need to configure nodepool to provide resources from kubernetes. These map onto nodepool labels which are logical entities to capture what you've got in your providers. Then on the zuul side you have nodesets that include one or more labels to the job18:10
@flaper87:matrix.orgClark: thanks! Will make sure these labels align18:12
@flaper87:matrix.orgOk, labels should now be correct but I still don't see any job triggered. This Zuul instance is connected to a GH repo. I see the events in the scheduler log but nothing else after that18:24
@flaper87:matrix.orgAny guidance on where I should/could look?18:24
@clarkb:matrix.orgIf you grep the service logs for the event id (it should be in the logs you already see) then you should get a pretty complete accounting of what zuul did for that event 18:28
@flaper87:matrix.orgI only see the event in the scheduler. Is that even possible? (andn o errors)18:33
`2023-02-20 18:29:33,184 INFO zuul.GithubConnection: [e: 840b0920-b14c-11ed-84b2-9246925a02e2] Updating <Change 0x7fc65430a010 */zuul-ci-test 1,bb71193c6a7109efb4f07a6fc9262f1e9605b58c>`
@flaper87:matrix.org * I only see the event in the scheduler. Is that even possible? (andn o errors)18:33
`2023-02-20 18:29:33,184 INFO zuul.GithubConnection: [e: 840b0920-b14c-11ed-84b2-9246925a02e2] Updating <Change 0x7fc65430a010 org/zuul-ci-test 1,bb71193c6a7109efb4f07a6fc9262f1e9605b58c>`
@flaper87:matrix.orgI grepped for 840b0920-b14c-11ed-84b2-9246925a02e2 in all the logs for the zuul containers18:33
@clarkb:matrix.orgHrm is debug logging enabled?18:34
@flaper87:matrix.orgno, let me enable it18:34
@flaper87:matrix.orgmmh, I don't seem to be getting any relevant info, not even in debug mode. I must be missing something18:45
@flaper87:matrix.orgeverything seems to get to the scheduler and then goes nowhere18:46
@flaper87:matrix.orgI see a `2023-02-20 18:44:05,037 DEBUG zuul.GithubConnection: [e: 8b39f470-b14e-11ed-8c85-280d6db80f0a] Scheduling event from github:` message18:46
@clarkb:matrix.orgThe scheduler should decide if the event applies to any pipelines and then schedule merge jobs then the test jobs18:49
@clarkb:matrix.orgIf you don't see anything on the merger or in the scheduler log about merging things then I'm guessing that the scheduler doesn't think your event applies to any pipelinrs18:49
@q:fricklercloud.dedo you have `exclude-unprotected-branches: true` set for your tenant? if no, you really should. if yes, verify that branch protection is actually enabled for your target branch20:23

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