Improved Mesos containerizer invariant checking.
Improved Mesos containerizer invariant checking.

One of the reasons for MESOS-5763 is due to the lack invariant
checking. Mesos containerizer transitions the container state in
particular ways so when continuation chains could potentially be
interleaved with other actions we should verify the state transitions.

Review: https://reviews.apache.org/r/49652

Aman-Jain-14/customizedMesos,jpeach/mesos,dforsyth/mesos,reneploetz/mesos,craimbert/mesos,yuquanshan/customizedMesos,gsantovena/mesos,gsantovena/mesos,verizonlabs/mesos,reneploetz/mesos,asamerh4/mesos,zmalik/mesos,chhsia0/mesos,kaysoky/mesos,jpeach/mesos,craimbert/mesos,gsantovena/mesos,kaysoky/mesos,abudnik/mesos,andschwa/mesos,asamerh4/mesos,gsantovena/mesos,verizonlabs/mesos,andschwa/mesos,yuquanshan/customizedMesos,yuquanshan/customizedMesos,Aman-Jain-14/customizedMesos,verizonlabs/mesos,andschwa/mesos,zmalik/mesos,Gilbert88/mesos,zmalik/mesos,Gilbert88/mesos,abudnik/mesos,Gilbert88/mesos,chhsia0/mesos,zmalik/mesos,yuquanshan/customizedMesos,abudnik/mesos,asamerh4/mesos,kaysoky/mesos,kaysoky/mesos,abudnik/mesos,jpeach/mesos,abudnik/mesos,neilconway/mesos,reneploetz/mesos,Gilbert88/mesos,jpeach/mesos,asamerh4/mesos,craimbert/mesos,chhsia0/mesos,asamerh4/mesos,reneploetz/mesos,kaysoky/mesos,verizonlabs/mesos,reneploetz/mesos,jpeach/mesos,neilconway/mesos,andschwa/mesos,reneploetz/mesos,gsantovena/mesos,yuquanshan/customizedMesos,jpeach/mesos,kaysoky/mesos,jpeach/mesos,neilconway/mesos,andschwa/mesos,asamerh4/mesos,dforsyth/mesos,verizonlabs/mesos,gsantovena/mesos,gsantovena/mesos,neilconway/mesos,dforsyth/mesos,zmalik/mesos,abudnik/mesos,chhsia0/mesos,chhsia0/mesos,verizonlabs/mesos,chhsia0/mesos,kaysoky/mesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,chhsia0/mesos,craimbert/mesos,Gilbert88/mesos,dforsyth/mesos,dforsyth/mesos,reneploetz/mesos,Gilbert88/mesos,andschwa/mesos,Gilbert88/mesos,yuquanshan/customizedMesos,dforsyth/mesos,Aman-Jain-14/customizedMesos,Aman-Jain-14/customizedMesos,Aman-Jain-14/customizedMesos,zmalik/mesos,zmalik/mesos,asamerh4/mesos,abudnik/mesos,neilconway/mesos,craimbert/mesos,neilconway/mesos,neilconway/mesos,andschwa/mesos,craimbert/mesos,verizonlabs/mesos