Add a failing test case for issue #12017 [ci skip]