FreeBSD Jenkins ERROR: Failed to parse POMs

Thursday, November 8, 2018

We recently ran into an issue where the version of Maven under FreeBSD wasn’t updated enough (ports/pkg was behind) for the version of Jenkins in ports/pkg. It produced an error like the following: [INFO] Installing /usr/local/jenkins/workspace/bdd_framework_test/pom.xml to /usr/local/jenkins/.m2/repository/Cucumber_Framework/BDD_SearchLock_Safelist_Final/0.0.1-SNAPSHOT/BDD_SearchLock_Safelist_Final-0.0.1-SNAPSHOT.pom [WARNING] Attempt to (de-)serialize anonymous class hudson.maven.reporters.MavenArtifactArchiver$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/ java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)… Read more »

Expand ZFS To Use Larger Disks / Free Space

Monday, June 11, 2018

One of the great features of ZFS is to be able to expand it using new, larger disks — even while it is online. To do this you’ll replace each disk, one by one with a larger disk. After each replacement you’ll rebuild the zpool, and then move on to the next disk. Once all… Read more »

Debian 8 Under Bhyve Networking Problem: Packets Over 230 Bytes Truncated

Tuesday, February 13, 2018

We’re a big fan of FreeBSD’s Bhyve hypervisor, including writing an open source lightweight management interface for it called BMT. While setting up a Debian 8 guest VM we ran into a perplexing issue where networking was not working correctly. After much troubleshooting we narrowed down the symptom to be that packets larger than 230… Read more »

FreeBSD 11.0 Deployment Soon!

Thursday, November 17, 2016

FreeBSD 11 was formally released last month and we’re very excited to start rolling it out to our clients in the coming weeks. FreeBSD 11.0 brings a host of new features and improvements including: Improved BHyve: BHyve is FreeBSD’s type-2 native hypervisor which boots virtually any FreeBSD and Linux version and now includes a native… Read more »

HOW TO: Windows 10 Under Bhyve /w FreeBSD 11

Thursday, October 27, 2016

With FreeBSD 11 comes a new version of Bhyve with a feature that makes installing Windows 10 a snap: a VNC accessible framebuffer driver! This lets any GUI OS, such as Windows, boot into graphics mode on the console. Previously getting Windows working was possible but required a lot of effort to create a custom… Read more »

SOLVED: FreeBSD + pip + virtualenv = file not found

Friday, August 19, 2016

We love python virtual environments, but under FreeBSD we occasionally see issues where pip is not correctly using the /usr/local/include and /usr/local/lib paths to compile installable modules. The Problem This can produce errors such as the below, which we saw when doing a ‘pip install pycrypto’ operation: src/_fastmath.c:36:11: fatal error: ‘gmp.h’ file not found Even… Read more »

FreeBSD Hangs on “Trying to mount root from zfs:zroot”

Friday, April 8, 2016

There are many reasons this can happen, but this one I believe is unique in terms of searching the internet for the error. We’d see a newly imaged (or restored from backup) ZFS-based server boot fine then hang here: Trying to mount root from zfs:zroot After banging my head into it for some time thinking… Read more »

A-Team Systems