Since 2017-02-02, Magento 2.2 includes a new «Magento_CatalogInventoryConfigurableProduct» module

This module now produces the bug: «Item (Magento\CatalogInventory\Model\Stock\Status\Interceptor) with the same ID already exists».