
Bug: Url rewrite "test-product-2.html => test-product-3.html (redirect_type = 301)" is absent.
The bug is in class \Magento\CatalogUrlRewrite\Model\ProductUrlRewriteGenerator (/vendor/magento/module-catalog-url-rewrite/Model/ProductUrlRewriteGenerator.php line 181):

We should use getRequestPath() instead of getTargetPath().
We already have an internal jira ticket MAGETWO-60911, which once fixed will resolve this issue.
Thanks for your report.
I have the same issue on magento 2.1.6.
This ticket is since Nov 2016, what's the status of the issue?
@DmitryChukhnov, thank you for your report.
The issue is already fixed in develop branch
But we will consider to backport the fix to patch releases
Hi @TomashKhamlai. Thank you for working on this issue.
Looks like this issue is already verified and confirmed. But if your want to validate it one more time, please, go though the following instruction:
Component: XXXXX label(s) to the ticket, indicating the components it may be related to.[x] 2. Verify that the issue is reproducible on 2.3-develop branchDetails
- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!
[ ] 3. Verify that the issue is reproducible on 2.2-develop branch. Details
- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x
[ ] 4. If the issue is not relevant or is not reproducible any more, feel free to close it.
The issue was re-tested and we can confirm that it was fixed on the 2.3 release branch. We closing this issue as fixed due to upcoming 2.3 release that will be available soon.