Page MenuHomeFreeBSD

CI: Add full test support
Needs ReviewPublic

Authored by bofh on Dec 10 2024, 12:51 PM.

Details

Reviewers
lwhsu
olivier
imp
Summary

The patch adds support for running full tests in the local CI Environment. New features added:

  • New target ci-full which runs the full test. This is also the default now
  • Renamed the previous target ci-smokeit to `ci-smoke
  • Added user overridable variable CIDISABLED which supports disabling some tests. For now the available usages are disks, dtrace, notyet and zfs or a space separated mix of all of those.
  • Unlike previous if the available memory is more than 16G a default of 8G will be used
  • Added local installation of the xmlstartet pkg
  • Removed some unnecessary debug messages
  • Added dummybuf kernel module to the list of modules to be loaded on the VM

Things to do:

  • I am still trying to make the results create some meaningful display in the terminal
  • Start using these in our CI pipeline
Test Plan

The features that can be tested:

  • make TARGET=<TARGET> TARGET_ARCH=<TARGET_ARCH> CITYPE=full ci
  • make TARGET=<TARGET> TARGET_ARCH=<TARGET_ARCH> ci is also the same as above as CITYPE full is the default now
  • make TARGET=<TARGET> TARGET_ARCH=<TARGET_ARCH> CIDISABLED="disks dtrace notyet zfs" ci will disable all the mentioned test disks, dtrace, notyet and zfs

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped