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

ovn-org / ovn-kubernetes / 9808048934
53%

Build:
DEFAULT BRANCH: master
Ran 05 Jul 2024 12:35PM UTC
Jobs 1
Files 232
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

04 Jul 2024 08:45AM UTC coverage: 52.667% (+0.05%) from 52.62%
9808048934

push

github

jcaamano
Refactor NAD controller: Do not attach to default network

Default network does add NADs.
This is a follow up from PR https://github.com/ovn-org/ovn-kubernetes/pull/4461.

This change addresses the following panic:

Image built from ovn-kubernetes ref: refs/heads/master  commit: 0a6853062

I0703 14:17:52.721946      52 shared_informer.go:311] Waiting for caches to sync for [cluster-manager NAD controller]
I0703 14:17:52.721970      52 shared_informer.go:318] Caches are synced for [cluster-manager NAD controller]
panic: unexpected call for default network

goroutine 89 [running]:
github.com/ovn-org/ovn-kubernetes/go-controller/pkg/util.(*DefaultNetInfo).AddNADs(0x205a120?, {0xc0005d6d50?, 0x23f9ce2?, 0x7?})
    /builds/nithyar/ovn_upstream_validation/ovn-kubernetes/go-controller/pkg/util/multi_network.go:148 +0x25

github.com/ovn-org/ovn-kubernetes/go-controller/pkg/network-attach-def-controller.(*NetAttachDefinitionController).syncNAD(0xc0004c1630, {0xc000e3ae40, 0x13}, 0x43e02e?)
    /builds/nithyar/ovn_upstream_validation/ovn-kubernetes/go-controller/pkg/network-attach-def-controller/network_attach_def_controller.go:243 +0x67b

github.com/ovn-org/ovn-kubernetes/go-controller/pkg/network-attach-def-controller.(*NetAttachDefinitionController).syncAll(0xc0004c1630)
    /builds/nithyar/ovn_upstream_validation/ovn-kubernetes/go-controller/pkg/network-attach-def-controller/network_attach_def_controller.go:139 +0x2ba

github.com/ovn-org/ovn-kubernetes/go-controller/pkg/controller.StartWithInitialSync(0xc000e03e08, {0xc00050bdf8, 0x1, 0x0?})
    /builds/nithyar/ovn_upstream_validation/ovn-kubernetes/go-controller/pkg/controller/controller.go:293 +0x18e

github.com/ovn-org/ovn-kubernetes/go-controller/pkg/network-attach-def-controller.(*NetAttachDefinitionController).Start(0xc0004c1630)
    /builds/nithyar/ovn_upstream_validation/ovn-kubernetes/go-controller/pkg/network-attach-def-controller/network_attach_def_controller.go:100... (continued)

1 of 4 new or added lines in 1 file covered. (25.0%)

7 existing lines in 4 files now uncovered.

28958 of 54983 relevant lines covered (52.67%)

99.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9808048934.1 05 Jul 2024 12:35PM UTC 0
52.67
GitHub Action Run
Source Files on build 9808048934
Detailed source file information is not available for this build.
  • Back to Repo
  • f4c015b1 on github
  • Prev Build on master (#9786492301)
  • Next Build on master (#9814972896)
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