The options you mentioned are not clear.
It will fail when trying to run against tempdb database.
It will fail when trying to run against the master database
DBCC CheckDB does not "fail" while running against master or tempdb databases.
"Keep Trying"