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

xapi-project / xen-api / 17816292439 / 1
80%
master: 80%

Build:
Build:
LAST BUILD BRANCH: private/changleli/fix-xenops-cache
DEFAULT BRANCH: master
Ran 18 Sep 2025 02:41AM UTC
Files 34
Run time 1s
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

18 Sep 2025 02:37AM UTC coverage: 80.368%. Remained the same
17816292439.1

push

github

web-flow
CA-416959 Copy bonds and sriov from master using device position (#6669)

For pool join procedure, the slave host will go through
1 pre_join_check
2 update_non_vm_metadata: in this step, create pif objects for physical
pifs of slave host on master host db.
3 on slave xapi start: copy_bonds_from_master,
copy_network_sriovs_from_master, copy_vlans_from_master,
copy_tunnels_from_master

This issue happens on step 3 when copy bonds from master.
for every bond on master
- get the bond master pif on master
- get the bond slave pifs on master
- confirm the primary bond slaves via comparing the bond master pif mac
- find the corresponding pifs on slave host
- decide if create bond on slave host

In `find the corresponding pifs on slave host`, the previous method is
to compare the pif.device on master and slave hosts. Now we should
compare the position of pif device. Because the network device name is
no longer renamed to ethx, which x is actually the position.

It's similar for copy_network_sriovs_from_master.
For vlans and tunnels, they are based the underneath network, no
pif.device compare. So, this issue doesn't exist.

3496 of 4350 relevant lines covered (80.37%)

0.8 hits per line

Source Files on job python3.11 - 17816292439.1
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 17816292439
  • 99fd22d5 on github
  • Prev Job for on feature/host-network-device-ordering (#17574379141.1)
  • Next Job for on feature/host-network-device-ordering (#17817197338.1)
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

© 2025 Coveralls, Inc