On Thu, Feb 27, 2020 at 01:27:46PM -0800, Adam Williamson wrote:
On Thu, 2020-02-27 at 17:49 +0100, Bruno Goncalves wrote:
> On Thu, Feb 27, 2020 at 5:04 PM Jan Pazdziora <jpazdziora(a)redhat.com> wrote:
> > On Thu, Feb 27, 2020 at 04:56:28PM +0100, Bruno Goncalves wrote:
> > > That is interesting, it looks like the pipeline didn't trigger
because
> > > bodhi didn't send a message for it.
> > >
> > > At least the only recent message that it sent about this package
> > > recently was for rawhide....
> > >
https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.pr...
> > >
> >
> > Thank you for looking into it.
> >
> > Does that sound like a bug in bodhi, so something to file an issue at
> >
> >
https://github.com/fedora-infra/bodhi/issues
> >
> > for?
>
> I'm not sure either, I'd rather if someone with more experience with
> bodhi could say when
>
"org.fedoraproject.prod.bodhi.update.status.testing.koji-build-group.build.complete"
> is sent.
Per the relevant doc string:
" Signal that the update has been moved to testing.
This happens in the following cases:
- for stable releases: the update lands in the testing repository
- for rawhide: all packages in an update have been built by koji
"
https://github.com/fedora-infra/bodhi/blob/develop/bodhi/server/models.py...
(that function does nothing but publish the message in question, and
nothing else publishes it).
Note that "the update lands in the testing repository" definitely is
*not* the same point in time as "the update is created". It will
usually be at least several minutes later, more usually several hours
later (pushes to updates-testing usually happen once a day per release,
more can be done manually if requested for some reason).
This was worse for F32 up until now - there haven't been *any* updates-
testing pushes for it yet. I just asked releng, and Mohan is going to
do one now. From then on there should be one a day.
This is all correct :)
So the 'typical' experience, as things stand, will (I expect)
be that
updates come up as failing gating shortly after they're created; then a
few hours later, an updates-testing push should happen, the tests
should be scheduled, and then the status should change to passing
gating (as long as the tests pass).
Correct again, it "fails" gating because the expected tests aren't present
yet
indeed.
Depending on how the pipeline actually *does* testing of updates,
you
*may* be able to schedule on the update being created or edited
instead/as well (this is how the openQA scheduler does it; we don't use
the koji-build-group.build.complete topic at all, we use
bodhi.update.request.testing (published when an update is created) and
bodhi.update.edit (published when an update is edited) instead.
However, you can only do that if the pipeline does not rely on the
packages actually being in the updates-testing repo, but retrieves them
itself. At the point those messages are published, the package files
cannot be relied upon to be present anywhere outside of Koji.
Well, when the update is created the RPMs are signed yet and we want to test the
signed RPM to make sure that we test what is being pushed to the users.
From reading this, I think things work as designed, it's just that there were no
push to update-testing for F32 yet.
Pierre