Seems like this broke the unit tests of Kaliop Mig Bundle
Last known good test - 8 days ago: build #515 - https://travis-ci.org/kaliop-uk/ezmigrationbundle/builds/295014875
(it failed on php 7.2 but that's because of netgen tags bundle having changed file structure)
First test known to fail - today: build #516 - https://travis-ci.org/kaliop-uk/ezmigrationbundle/builds/298673889
The failure is in the test that checks management of Object states.
The difference in between the 2 builds, on the side of the mig bundle, does not justify the new failure as it does not relate to obj states and is in fact just adding some code that was not even covered by any test (so not run as part of test suite).
Otoh I see that the latest ezpublish-kernel was updated from 6.7.5 to 6.7.6
In short: the failure happens when, within a migration, the code:
1. creates an obj state group and 2 states
2. updates the group, changing its identifier
3. tries to reload the list of states, to assign one of the states of the that group to a content
At first sight, I would say that there is some new cache in there that does not get cleared at step 2