#3185 buildtag policy test fails for some CGs
Closed: Fixed 2 years ago by tkopecek. Opened 2 years ago by tkopecek.

As CGs don't need to have buildtag attached to buildroots test can fail now (regression #2989)


Question is if it is safe to ignore such builds in the policies.

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

2 years ago

Question is if it is safe to ignore such builds in the policies.

The problem is we have a fairly heterogeneous data set. For most CG builds, the very notion of a build tag test doesn't make sense because there simply isn't a build tag. In such a case, the right thing to do is essentially ignore, as you have in the PR. Policy tests aren't meant to raise routine exceptions.

That said, it's possible that a CG build could actually have a build tag. It's worth thinking about how that would be indicated by the CG and detected in this test. That's future work though.

Metadata Update from @tkopecek:
- Issue tagged with: testing-ready

2 years ago

Metadata Update from @mfilip:
- Issue tagged with: testing-done

2 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #3186 Merged 2 years ago