You're using Fatalf, but you're not providing any format specifiers. Either use Fatal or drop a ': %v' on the end of your string. This goes for several of your calls to `t.Fatalf`.