Language Selection

English French German Italian Portuguese Spanish

Testing in the Yocto Project

Filed under

The ever-increasing complexity of the software stacks we work with has given testing an important role. There was a recent intersection between the automated testing being done by the Yocto Project (YP) and a bug introduced into the Linux kernel that gives some insight into what the future holds and the potential available with this kind of testing.

YP provides a way of building and maintaining customized Linux distribution; most distributions are one specific binary build, or a small set of such builds, but the output from YP depends on how you configure it. That raises some interesting testing challenges and the key to that is automation. The YP's build processes are all automated and its test infrastructure can build compilers, binaries, packages, and then images, for four principal architectures (ARM, MIPS, PowerPC, and x86) in 32- and 64-bit variants, and for multiple C libraries, init systems, and software stacks (no-X11, X11/GTK+, Wayland, etc.). It can then build and boot-test them all under QEMU, which takes around six hours if everything needs to be rebuilt; that can drop to under two hours if there are a lot of hits in the prebuilt-object cache.

Not content with that, YP has been adding support for running the test suites that many open-source projects include on a regular and automated basis. These are referred to as packaged tests or "ptests" within the project. For example, a ptest might be what would run if you did "make check" in the source directory for the given piece of software, but packaged up to be able to run on the target. There are many challenges in packaging these up into entities that can run standalone on a cross-platform target and parsing the output into a standard format suited to automation. But YP has a standard for the output and the installed location of these tests, so they can be discovered and run.

While all architectures are boot-tested under QEMU, and those tests are run on batches of commits before they're merged into YP, right now only architectures with KVM acceleration have the ptests run. Also, the ptests are run less regularly due to the time they take (3.5 hours). This means ptests are currently run on 64-bit x86 a few times a week and aarch64 is in testing using ARM server hardware.

Read more

More in Tux Machines

Games: Tannenberg, Project Zomboid and Jackbox Party Pack 6

  • Tannenberg the WWI FPS adds the new Ukraine map, still on sale in a bundle

    M2H and Blackmill Games have just release another pretty big update to Tannenberg, their impressive WWI first-person shooter. Today's update adds in the Ukraine map which the developers say has plenty of open ground for HMGs to get you in their sights, with extensive trench networks to give some cover.

  • Project Zomboid just had the biggest Beta release ever overhauling loads of features

    Move over 7 Days to Die, you're not the only Zombie survival game in town with a recent overhaul. Project Zomboid is another that just released an absolutely massive Beta update to try out. Included in their "IWBUMS" (I Will Back Up My Save) Beta branch on Steam (not on GOG until stable) is the first step towards Project Zomboid version 41. The amount of changes included is quite ridiculous. The Indie Stone even said it's the "most fundamental and wide-ranging update that Project Zomboid has ever had" and they're not wrong. This latest Beta is work towards making Project Zomboid feel a little more alive and have a wider variety for everything. It's a foundation to bring even more big changes to PZ, with the new animation work in this build helping to bring wild animals in the next major build. This Beta is expected to last a while, as they have more to add back into it.

  • The Jackbox Party Pack 6 has officially released with Linux support

    In the mood to have a party? Well you're in luck as The Jackbox Party Pack 6 is now available with Linux support. Continuing their great support of Linux gaming, all six packs have Linux versions which is excellent! What makes the Jackbox Party Pack (any of them) great is how you connect to play them. No need to hook up 4 or 5 gamepads, stretch wires across the floor or anything annoying like that. You load the game, tell everyone to pull out their phone or tablet and connect up to their website with a room code and—pop, you're in the game.

GhostBSD Reaffirms To Being TrueOS+BSD Desktop OS With Official MATE Desktop

With Project Trident moving away from a TrueOS/FreeBSD base to instead Void Linux, if you are looking for a good BSD-based desktop operating system it largely comes down to the likes of MidnightBSD and GhostBSD providing good out-of-the-box setups. As for GhostBSD, they are reaffirming their commitment to using TrueOS/FreeBSD and MATE as their official desktop. The project reaffirmed on Wednesday that they are sticking to their TrueOS with FreeBSD 12-STABLE base while being a "slow-moving rolling release' that will eventually migrate to TrueOS with FreeBSD 13-STABLE after it is available. Read more Direct: Dealing with the misunderstandings of what is GhostBSD Also: Codebase: Neck Deep | BSD Now 320

OpenBSD 6.6 Released

  • OpenBSD 6.6

    This is a partial list of new features and systems included in OpenBSD 6.6. For a comprehensive list, see the changelog leading to 6.6.

  • OpenBSD 6.6 Arrives: Disables GCC In Base For ARMv7/i386, SMP Improvements, AMDGPU Added

    Theo de Raadt released OpenBSD 6.6 today as the newest feature update to this popular BSD operating system known for its security focus. OpenBSD 6.6 has moved to disabling GCC in its base packages for i386 and ARMv7, LLVM Clang platform support has been expanded, various SMP improvements and more system calls being unlocked, improved Linux compatibility with ACPI interfaces, a number of new hardware drivers, wired and wireless networking stack improvements, various installation enhancements, and the never-ending work on improving the security. OpenBSD 6.6 ships with OpenSSH 8.1, LibreSSL 3.0.2, OpenSMTPD 6.6, and other updated packages.

antiX-19 isos available.

antiX-19 is based on Debian Buster and systemd-free. As usual we offer the following systemd-free flavours for both 32 and 64 bit architecture. Read more