Reason: the t.Fatalf and t.Fatal must be invoked by test routine, not by other routine, or the the test will not stopped [1]. [1] megacheck SA2002