Just in case anybody else has this issue when they try to use amp config with CiviBuild. It is probably not entirely clear that you first need to create the user that you are inputting into the Enter dsn>
You first need to create a user in mysql with sufficent privileges. Remember, one does not log in as root anymore! Use 'sudo su' and then run your ...
I had the same problem, and I think it's simply likely to mean that civicrm is not installed in your new site. I solved the problem by re-running
civibuild destroy mysitename
civibuild create mysitename --url http://localhost:8080
My initial install command contained an error which explains why civicrm was not downloaded/installed successfully. Short of ...
I found the answer: I was using a backup: the CiviCRM unit test framework uses files and services not found without doing a git clone (or buildkit equivalent). The folders you need from a git clone are Tests and Tools.
Leaving this here in case it assists someone who encounters the same problem.