This is the console output in one case where it fails:
2013-11-15 18:08:49,526 Response Body: {"output": " ____ ____ ____\n / __/ __ ____ ____ / __ \\/ __/\n/ /__ / // __// __// /_/ /\\ \\ \n\\___//_//_/ /_/ \\____/___/ \n http://cirros-cloud.net\n\n\nlogin as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.\ncirros login: "}
It expects 10 lines when splitting on \n, but there are 9.
In another case the output is this:
"\nlogin as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.\ncirros login: "
So the mismatch is 3 != 10.
This is the console output in one case where it fails:
2013-11-15 18:08:49,526 Response Body: {"output": " ____ ____ ____\n / __/ __ ____ ____ / __ \\/ __/\n/ /__ / // __// __// /_/ /\\ \\ \n\\___//_//_/ /_/ \\____/___/ \n http:// cirros- cloud.net\n\n\nlogin as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.\ncirros login: "}
It expects 10 lines when splitting on \n, but there are 9.
In another case the output is this:
"\nlogin as 'cirros' user. default password: 'cubswin:)'. use 'sudo' for root.\ncirros login: "
So the mismatch is 3 != 10.