← Back to team overview

maas-devel team mailing list archive

Hanging test?

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On my Quantal VM, I'm trying to do:
  make test

However, it seems to hang in the test:
maasserver.tests.test_rabbit.TestRabbitExchange.test_rabbit_queue_binds_queue
I also get a failure from
maasserver.tests.test_rabbit.TestRabbitExchange.test_exchange_publish


If I just ^C then it kills xargs and postgres and then a background
job that I can't kill goes off and screams 'EEEEE' all over the screen.

However, if I find the PID and just SIGINT the python process, then it
gave me a sane traceback (Cannot get message). I don't know how long
it hangs, but it does sit for long enough (5min?).

I have a feeling the hang is related to the failure (something about
rabbit isn't getting setup correctly, resulting in the failure, and
then a follow up test is hanging).

Anyone have ideas of how to debug it?

Is it possible to change how the test suite is run so that 'make test'
doesn't hide it behind xargs and ^C can be used to actually stop the
test runner?

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Cygwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBhnnYACgkQJdeBCYSNAAN4IgCgqXye7CANmFHaPxlaF9JgLyrR
hmsAnieY2+L7FjmahjANjWV45qp6a7SD
=EBnL
-----END PGP SIGNATURE-----


Follow ups