Maybe rather than care about the number of lines of output (if that is not reliable), the tempest test should just ensure that this line is in the output:
"\nlogin as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.\ncirros login: "
Maybe rather than care about the number of lines of output (if that is not reliable), the tempest test should just ensure that this line is in the output:
"\nlogin as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.\ncirros login: "