-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magento 2.3.2 default magento unit test failed #24463
Comments
Hi @mani513. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @mani513 do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Yes, I'm able to reproduce the issue on vanilla Magento instance. Preconditions (*) Steps to reproduce Expected result (*) Actual result There were 3 errors:
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Model/Product/TierPriceManagement.php:94
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Model/Product/TierPriceManagement.php:94
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Model/Product/TierPriceManagement.php:94 -- There were 3 failures:
-- There were 43 incomplete tests:
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/CategoryTest.php:185
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/CategoryTest.php:231
/var/www/html/magento2-2.3.2/app/code/Magento/GroupedProduct/Test/Unit/Model/ProductTest.php:311
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Block/Adminhtml/Export/FilterTest.php:295
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Block/Adminhtml/Import/Edit/FormTest.php:75
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php:327
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php:349
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php:357
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php:365
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php:373
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php:381
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php:389
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php:397
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php:405
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php:413
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php:421
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/ImportTest.php:652
/var/www/html/magento2-2.3.2/app/code/Magento/Paypal/Test/Unit/Controller/ExpressTest.php:62
/var/www/html/magento2-2.3.2/app/code/Magento/Paypal/Test/Unit/Controller/ExpressTest.php:62
/var/www/html/magento2-2.3.2/app/code/Magento/Paypal/Test/Unit/Controller/ExpressTest.php:62
/var/www/html/magento2-2.3.2/app/code/Magento/Paypal/Test/Unit/Controller/ExpressTest.php:62
/var/www/html/magento2-2.3.2/app/code/Magento/Paypal/Test/Unit/Controller/ExpressTest.php:62
/var/www/html/magento2-2.3.2/app/code/Magento/Paypal/Test/Unit/Controller/ExpressTest.php:62
/var/www/html/magento2-2.3.2/app/code/Magento/Paypal/Test/Unit/Controller/ExpressTest.php:62
/var/www/html/magento2-2.3.2/app/code/Magento/Paypal/Test/Unit/Controller/ExpressTest.php:62
/var/www/html/magento2-2.3.2/app/code/Magento/Paypal/Test/Unit/Controller/ExpressTest.php:62
/var/www/html/magento2-2.3.2/app/code/Magento/Paypal/Test/Unit/Controller/ExpressTest.php:62
/var/www/html/magento2-2.3.2/app/code/Magento/Paypal/Test/Unit/Controller/ExpressTest.php:62
/var/www/html/magento2-2.3.2/app/code/Magento/Paypal/Test/Unit/Controller/ExpressTest.php:62
/var/www/html/magento2-2.3.2/app/code/Magento/Paypal/Test/Unit/Controller/ExpressTest.php:62
/var/www/html/magento2-2.3.2/app/code/Magento/Sales/Test/Unit/Block/Reorder/SidebarTest.php:68
/var/www/html/magento2-2.3.2/app/code/Magento/Sales/Test/Unit/Block/Reorder/SidebarTest.php:68
/var/www/html/magento2-2.3.2/app/code/Magento/Sales/Test/Unit/Block/Reorder/SidebarTest.php:68
/var/www/html/magento2-2.3.2/app/code/Magento/Sales/Test/Unit/Block/Reorder/SidebarTest.php:68
/var/www/html/magento2-2.3.2/app/code/Magento/Tax/Test/Unit/Model/Sales/Total/Quote/ShippingTest.php:121
/var/www/html/magento2-2.3.2/app/code/Magento/Tax/Test/Unit/Model/Sales/Total/Quote/TaxTest.php:46
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/Module/Test/Unit/Setup/MigrationTest.php:191
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/Module/Test/Unit/Setup/MigrationTest.php:191
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/Module/Test/Unit/Setup/MigrationTest.php:191
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/Module/Test/Unit/Setup/MigrationTest.php:191
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/Module/Test/Unit/Setup/MigrationTest.php:191
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/Module/Test/Unit/Setup/MigrationTest.php:191
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/Translate/Test/Unit/AdapterTest.php:59 -- There were 115 skipped tests:
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Category/SaveTest.php:134
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Category/SaveTest.php:134
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Product/AttributeTest.php:114
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Product/AttributeTest.php:114
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Controller/Adminhtml/Product/AttributeTest.php:114
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Catalog/Test/Unit/Model/Category/Attribute/Backend/SortbyTest.php:35
/var/www/html/magento2-2.3.2/app/code/Magento/Customer/Test/Unit/Controller/Account/CreatePostTest.php:141
/var/www/html/magento2-2.3.2/app/code/Magento/Customer/Test/Unit/Controller/Account/CreatePostTest.php:141
/var/www/html/magento2-2.3.2/app/code/Magento/Customer/Test/Unit/Controller/Account/CreatePostTest.php:141
/var/www/html/magento2-2.3.2/app/code/Magento/Customer/Test/Unit/Controller/Account/CreatePostTest.php:141
/var/www/html/magento2-2.3.2/app/code/Magento/Customer/Test/Unit/Controller/Account/CreatePostTest.php:141
/var/www/html/magento2-2.3.2/app/code/Magento/Customer/Test/Unit/Controller/Account/CreatePostTest.php:141
/var/www/html/magento2-2.3.2/app/code/Magento/Customer/Test/Unit/Controller/Account/CreatePostTest.php:141
/var/www/html/magento2-2.3.2/app/code/Magento/Customer/Test/Unit/Controller/Account/CreatePostTest.php:141
/var/www/html/magento2-2.3.2/app/code/Magento/Customer/Test/Unit/Controller/Adminhtml/File/Address/UploadTest.php:80
/var/www/html/magento2-2.3.2/app/code/Magento/Customer/Test/Unit/Controller/Adminhtml/File/Customer/UploadTest.php:79
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/FileTest.php:121
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/FileTest.php:121
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/FileTest.php:121
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/FileTest.php:121
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/FileTest.php:121
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/FileTest.php:121
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/FileTest.php:121
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/FileTest.php:121
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/FileTest.php:121
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/FileTest.php:121
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/FileTest.php:121
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/ImageTest.php:18
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/ImageTest.php:18
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/ImageTest.php:18
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/ImageTest.php:18
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/ImageTest.php:18
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/ImageTest.php:18
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/ImageTest.php:18
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/ImageTest.php:18
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/ImageTest.php:18
/var/www/html/magento2-2.3.2/app/code/Magento/Eav/Test/Unit/Model/Attribute/Data/ImageTest.php:18
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/Import/AdapterTest.php:24
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/Import/AdapterTest.php:29
/var/www/html/magento2-2.3.2/app/code/Magento/ImportExport/Test/Unit/Model/Import/Source/CsvTest.php:42
/var/www/html/magento2-2.3.2/app/code/Magento/OfflineShipping/Test/Unit/Model/Carrier/FlatrateTest.php:112
/var/www/html/magento2-2.3.2/app/code/Magento/OfflineShipping/Test/Unit/Model/Carrier/FlatrateTest.php:112
/var/www/html/magento2-2.3.2/app/code/Magento/Review/Test/Unit/Model/ResourceModel/Review/Product/CollectionTest.php:37
/var/www/html/magento2-2.3.2/app/code/Magento/Review/Test/Unit/Model/ResourceModel/Review/Product/CollectionTest.php:37
/var/www/html/magento2-2.3.2/app/code/Magento/Review/Test/Unit/Model/ResourceModel/Review/Product/CollectionTest.php:37
/var/www/html/magento2-2.3.2/app/code/Magento/Review/Test/Unit/Model/ResourceModel/Review/Product/CollectionTest.php:37
/var/www/html/magento2-2.3.2/app/code/Magento/Review/Test/Unit/Model/ResourceModel/Review/Product/CollectionTest.php:37
/var/www/html/magento2-2.3.2/app/code/Magento/Review/Test/Unit/Model/ResourceModel/Review/Product/CollectionTest.php:37
/var/www/html/magento2-2.3.2/app/code/Magento/Review/Test/Unit/Model/ResourceModel/Review/Product/CollectionTest.php:37
/var/www/html/magento2-2.3.2/app/code/Magento/Review/Test/Unit/Model/ResourceModel/Review/Product/CollectionTest.php:37
/var/www/html/magento2-2.3.2/app/code/Magento/Review/Test/Unit/Model/ResourceModel/Review/Product/CollectionTest.php:37
/var/www/html/magento2-2.3.2/app/code/Magento/Review/Test/Unit/Model/ResourceModel/Review/Product/CollectionTest.php:37
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/Archive/Test/Unit/ZipTest.php:46
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/Archive/Test/Unit/ZipTest.php:54
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/Lock/Test/Unit/Backend/ZookeeperTest.php:37
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/Lock/Test/Unit/Backend/ZookeeperTest.php:37
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/Lock/Test/Unit/Backend/ZookeeperTest.php:37
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/Session/Test/Unit/SessionManagerTest.php:55
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41
/var/www/html/magento2-2.3.2/lib/internal/Magento/Framework/View/Test/Unit/ContextTest.php:41 ERRORS! |
Hi @magento-engcom-team , |
I am also facing this same issue. Could you please help us to resolve this issue. |
Hi @engcom-Charlie. Thank you for working on this issue.
|
✅ Confirmed by @engcom-Charlie Issue Available: @engcom-Charlie, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
Hi @ihor-sviziev. Thank you for working on this issue.
|
Unfortunately tests still failing on 2.4-develop... php -d memory_limit=-1 ./vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist Here is the current output:
|
hi. I moved the website to another server but all command [
|
3 years after original post on fresh 2.4-develop is still actual
|
Magento 2.4.7 Commerce PHP 8.2, 4 years after original post I'm getting 282 errors with: Feels like the number of errors is growing instead of decreasing. |
Preconditions (*)
In Magento 2.3.2 opensource version & 2.3-develop too, run unit tests with the fresh installation.
Steps to reproduce
In Magento 2.3.2 opensource version, run unit tests with the fresh installation.
vendor/bin/phpunit --verbose -c dev/tests/unit/phpunit.xml.dist
Expected result (*)
All tests should pass
Actual result
after running this command i'm getting this result - Tests: 21867, Assertions: 61116, Errors: 3, Failures: 5, Skipped: 119, Incomplete: 43
If i see the details of this results its showing something like this-
There were 119 skipped tests:-
2)Magento\Framework\Lock\Test\Unit\Backend\ZookeeperTest::testConstructionWithPathException Test was skipped because php extension Zookeeper is not installed.
The text was updated successfully, but these errors were encountered: