• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubeovn / kube-ovn / 22563793962
24%

Build:
DEFAULT BRANCH: master
Ran 02 Mar 2026 06:14AM UTC
Jobs 1
Files 204
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Mar 2026 06:12AM UTC coverage: 23.089%. Remained the same
22563793962

push

github

web-flow
fix(e2e): stabilize ANP domain E2E tests and fix hasDomainNames override bug (#6376)

The ANP domain E2E test "should dynamically add and remove domainName
deny rules in a single ANP" was flaky due to insufficient retry window
for DNS resolution. The CoreDNS dnsnameresolver plugin works reactively,
only intercepting DNS queries that flow through CoreDNS. When a domain
is already cached (e.g., google.com with 300s TTL), the plugin cannot
intercept queries until the cache expires, causing the address set to
remain empty and the deny rule to never take effect.

Fix the flaky tests by aligning with the already-fixed CNP domain tests:
- Add waitForDNSResolversCreated() to ensure DNSNameResolver CRs are
  created before testing deny rules
- Increase retry parameters from 20x1s to 30x3s to allow sufficient
  time for DNS resolution and OVN propagation

Also fix a bug in admin_network_policy.go where hasDomainNames was being
overwritten instead of accumulated across peers in a rule. When a rule
had multiple peers with the first having domain names but the last not,
hasDomainNames would incorrectly be set to false, potentially skipping
ACL creation.

Signed-off-by: Mengxin Liu <liumengxinfly@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

0 of 1 new or added line in 1 file covered. (0.0%)

12561 of 54402 relevant lines covered (23.09%)

0.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
8.55
0.0% pkg/controller/admin_network_policy.go
Jobs
ID Job ID Ran Files Coverage
1 22563793962.1 02 Mar 2026 06:14AM UTC 204
23.09
GitHub Action Run
Source Files on build 22563793962
  • Tree
  • List 204
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3543938b on github
  • Prev Build on master (#22562140476)
  • Next Build on master (#22566111437)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc