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

bobuhiro11 / gokvm
70%
main: 70%

Build:
Build:
LAST BUILD BRANCH: live-migration-with-disk
DEFAULT BRANCH: main
Repo Added 18 Mar 2021 03:06PM UTC
Files 38
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

LAST BUILD ON BRANCH run-tests-without-root
branch: run-tests-without-root
CHANGE BRANCH
x
Reset
  • run-tests-without-root
  • acpi
  • add_ethtool
  • add_goinitrd_gitignore
  • add_is_term
  • add_package/device
  • add_pciutils
  • add_tap
  • add_tx_for_virtio_net
  • add_unit_test
  • add_virt_queue
  • add_virtio_blk
  • add_virtio_blk2
  • add_virtio_rx
  • add_vq
  • bump_up_go_version
  • cache_busybox_and_kernel_building
  • cleanup_gdt_bytes
  • cleanup_io_device
  • cleanup_iodev
  • cleanup_make
  • copilot/add-daily-ci-schedule
  • copilot/fix-kvm-action-failures
  • cpuid
  • default_virtio_blk
  • fix-flaky-tests
  • fix_badege
  • fix_cpuid2
  • fix_doc
  • fix_flaky_test
  • fix_gitignore
  • fix_go_ver
  • fix_kernel_config
  • fix_linux_config
  • fix_make_clean
  • fix_rdinit
  • fix_readme
  • fix_syntax
  • fix_tap_if_name
  • fix_travis
  • fix_travis_badge
  • fix_typos_and_code_style
  • live-migration-with-disk
  • main
  • minor_fixes
  • multi_core_build
  • no-leaky-goroutines-use-errgroup
  • patch_pci_device_header
  • pvhBoot
  • recognize_virtio_net_as_netdev
  • refactor4
  • refactor_ebda
  • refactor_inject_irq
  • refactor_ping_check
  • refactor_syscall_err_handling
  • refactor_virtio
  • refactoring
  • refactoring3
  • rename_dir_name
  • rename_subcommands
  • rename_to_bobuhiro11
  • rework_flags
  • rm_busybox_initrd
  • rm_kong
  • rm_tags
  • searching_pci_conf_space
  • skip_tests_if_not_root
  • speedupci
  • support_ctx
  • support_intel_multiprocessor_specification
  • support_multiple_vcpus
  • tap_refactoring
  • unset_fsrm
  • update_linux_config
  • use_coverprofile_for_goveralls
  • use_goinitrd_as_default
  • v0.0.4
  • v0.0.5
  • v0.0.6
  • v0.0.7
  • vmm_package

28 Feb 2026 10:20AM UTC coverage: 69.731%. Remained the same
22518846885

Pull #189

github

bobuhiro11
test: run tests without root using unshare

- Remove 'Skipping test since we are not root' checks from
  kvm/ioctl_test.go, kvm/kvm_test.go, and tap/tap_test.go
- Update Makefile to run go test via unshare --user --net --map-root-user
  so KVM and TAP tests work without root privileges
- Update CI workflow: remove sudo from make commands, install util-linux
  for unshare, use unshare in stability test iterations, and grant
  world-readable /dev/kvm access for non-root test runner

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Signed-off-by: Nobuhiro MIKI <nob@bobuhiro11.net>
Pull Request #189: test: run tests without root using unshare

2435 of 3492 relevant lines covered (69.73%)

0.74 hits per line

Relevant lines Covered
Build:
Build:
3492 RELEVANT LINES 2435 COVERED LINES
0.74 HITS PER LINE
Source Files on run-tests-without-root
  • Tree
  • List 38
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
22518846885 run-tests-without-root test: run tests without root using unshare - Remove 'Skipping test since we are not root' checks from kvm/ioctl_test.go, kvm/kvm_test.go, and tap/tap_test.go - Update Makefile to run go test via unshare --user --net --map-root-user so KVM and... Pull #189 28 Feb 2026 10:31AM UTC bobuhiro11 github
69.73
22518780016 run-tests-without-root ci: grant world-readable /dev/kvm access for non-root test runner GitHub Actions runner user is not in the kvm group, so /dev/kvm is inaccessible even inside a user namespace. Set chmod 666 on /dev/kvm so unshare-based tests can open it without s... Pull #189 28 Feb 2026 10:26AM UTC bobuhiro11 github
69.73
See All Builds (827)
  • Repo on GitHub
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