Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [bvdirect@BVDirect-prod-web1 bvdirect]$ ./test-application.sh
- Running tests for the CoreBundle
- The CoreBundle did not encounter any issues during testing
- Running tests for the ApiBundle
- The ApiBundle did not encounter any issues during testing
- Running tests for the ScriptBundle/Command/Info
- The ScriptBundle/Command/Info had at least one issue while running PHPUnit
- // Clearing the cache for the test environment with debug true
- // Removing old cache directory...
- // Finished
- [OK] Cache for the "test" environment (debug=true) was successfully cleared.
- PHPUnit 7.5.1 by Sebastian Bergmann and contributors.
- .F..FFFF.F..................................................... 63 / 144 ( 43%)
- .........................S..................................... 126 / 144 ( 87%)
- .................. 144 / 144 (100%)
- Time: 56.07 seconds, Memory: 64.25MB
- There were 6 failures:
- 1) Tests\ScriptBundle\Command\Info\CacheManagerTest::shouldDisplayMessageIfAllocationWasExceeded
- Failed asserting that '[03-15-2019 09:20:02] Starting Bvdirect Cache Manager.\n
- [03-15-2019 09:20:02] The command has begun checking ListingCacher statuses.\n
- [03-15-2019 09:20:03] An email would have been sent to bvmonitor@woboinc.com with the contents Node ID #1 has had its AmazonStatus changed from not-running to running.\n
- [03-15-2019 09:20:03] An email would have been sent to bvmonitor@woboinc.com with the contents Node ID #2 has had its AmazonStatus changed from not-running to running.\n
- [03-15-2019 09:20:03] An email would have been sent to bvmonitor@woboinc.com with the contents Node ID #1 has had its AlibrisStatus changed from not-running to running.\n
- [03-15-2019 09:20:03] An email would have been sent to bvmonitor@woboinc.com with the contents Node ID #2 has had its AlibrisStatus changed from not-running to running.\n
- [03-15-2019 09:20:03] An email would have been sent to bvmonitor@woboinc.com with the contents Node ID #1 has had its AbebooksStatus changed from not-running to running.\n
- [03-15-2019 09:20:03] An email would have been sent to bvmonitor@woboinc.com with the contents Node ID #2 has had its AbebooksStatus changed from not-running to running.\n
- [03-15-2019 09:20:03] The command has finished checking ListingCacher statuses.\n
- [03-15-2019 09:20:03] The command has begun checking ProductInfo statuses.\n
- [03-15-2019 09:20:03] Node ID #3 Products Cacher has become unavailable. All assigned requests have been unassigned.\n
- [03-15-2019 09:20:03] Node ID #4 Products Cacher has become unavailable. All assigned requests have been unassigned.\n
- [03-15-2019 09:20:03] The command has finished checking ProductInfo statuses.\n
- [03-15-2019 09:20:03] The command has begun distributing ISBNs to nodes.\n
- [03-15-2019 09:20:03] Allocating Application Priority slots for applications with ISBNs ready to cache.\n
- [03-15-2019 09:20:03] Node ID #1 has been reallocated 500 slots of Application Priority 1.\n
- [03-15-2019 09:20:03] Allocating Caching Priority slots for applications with ISBNs ready to cache.\n
- [03-15-2019 09:20:03] Node ID #1 has been allocated 25 ISBN slots of Caching Priority 1 for Application 2.\n
- [03-15-2019 09:20:03] Node ID #1 has been allocated 150 ISBN slots of Caching Priority 2 for Application 2.\n
- [03-15-2019 09:20:03] Node ID #1 has been allocated 125 ISBN slots of Caching Priority 3 for Application 2.\n
- [03-15-2019 09:20:03] Node ID #1 has been allocated 154 ISBN slots of Caching Priority 4 for Application 2.\n
- [03-15-2019 09:20:03] Node ID #1 has unused slots of Caching Priority 1 for Application 2. Unsused slots will be reallocated.\n
- [03-15-2019 09:20:03] Node ID #1 has unused slots of Caching Priority 2 for Application 2. Unsused slots will be reallocated.\n
- [03-15-2019 09:20:03] Node ID #1 has unused slots of Caching Priority 3 for Application 2. Unsused slots will be reallocated.\n
- [03-15-2019 09:20:03] Node ID #1 has unused slots of Caching Priority 4 for Application 2. Unsused slots will be reallocated.\n
- [03-15-2019 09:20:03] Node ID #1 contains 354 slots available for redistribution. These slots will be divided amongst Caching Priorities that have reached their cap.\n
- [03-15-2019 09:20:03] There are no remaining ISBNs to assign for remaining application slots.\n
- [03-15-2019 09:20:03] Node ID #1 has been assigned 100 ISBNs of Caching Priority 4 for Application 2.\n
- [03-15-2019 09:20:03] The status for CacherApiProcess #4 has been updated to in_process.\n
- [03-15-2019 09:20:03] The command has finished distributing isbns to nodes.\n
- [03-15-2019 09:20:03] The command has begun checking the API Process statuses.\n
- [03-15-2019 09:20:03] The command has marked API Process 2 as ready.\n
- [03-15-2019 09:20:03] The command has marked API Process 3 as ready.\n
- [03-15-2019 09:20:03] The command has marked API Process 6 as ready.\n
- [03-15-2019 09:20:03] The command has marked API Process 9 as ready.\n
- [03-15-2019 09:20:03] The command has marked API Process 10 as ready.\n
- [03-15-2019 09:20:03] The command has marked API Process 11 as ready.\n
- [03-15-2019 09:20:03] The command has finished checking the API Process statuses.\n
- [03-15-2019 09:20:03] Bvdirect Cache Manager has finished working and will now exit.\n
- ' contains "Node ID #1 is currently exceeding its capacity for Caching Priority 4 by 6 slots, the command will attempt to redistribute ISBNs to this node during redistribution if there are remaining slots.".
- /var/www/html/bvdirect/tests/ScriptBundle/Command/Info/CacheManagerTest.php:105
- 2) Tests\ScriptBundle\Command\Info\CacheManagerTest::shouldDivideRemainingCapSpaceToPrioritiesThatHaveReachedTheirCap
- Failed asserting that 100 matches expected 19.
- /var/www/html/bvdirect/tests/ScriptBundle/Command/Info/CacheManagerTest.php:188
- 3) Tests\ScriptBundle\Command\Info\CacheManagerTest::shouldDistributeIsbnsEvenlyAmongApplications
- Failed asserting that 250 matches expected 50.
- /var/www/html/bvdirect/tests/ScriptBundle/Command/Info/CacheManagerTest.php:249
- 4) Tests\ScriptBundle\Command\Info\CacheManagerTest::shouldDistributeIsbnsByApplicationPriority
- Failed asserting that 20 matches expected 10.
- /var/www/html/bvdirect/tests/ScriptBundle/Command/Info/CacheManagerTest.php:319
- 5) Tests\ScriptBundle\Command\Info\CacheManagerTest::shouldDistributeIsbnsEvenlyWithSameApplicationPriority
- Failed asserting that 50 matches expected 25.
- /var/www/html/bvdirect/tests/ScriptBundle/Command/Info/CacheManagerTest.php:401
- 6) Tests\ScriptBundle\Command\Info\CacheManagerTest::shouldNotUpdateStatusForCacherApiProcess
- Failed asserting that '[03-15-2019 09:20:13] Starting Bvdirect Cache Manager.\n
- [03-15-2019 09:20:13] The command has begun checking ListingCacher statuses.\n
- [03-15-2019 09:20:13] An email would have been sent to bvmonitor@woboinc.com with the contents Node ID #1 has had its AmazonStatus changed from not-running to running.\n
- [03-15-2019 09:20:13] An email would have been sent to bvmonitor@woboinc.com with the contents Node ID #2 has had its AmazonStatus changed from not-running to running.\n
- [03-15-2019 09:20:13] An email would have been sent to bvmonitor@woboinc.com with the contents Node ID #1 has had its AlibrisStatus changed from not-running to running.\n
- [03-15-2019 09:20:13] An email would have been sent to bvmonitor@woboinc.com with the contents Node ID #2 has had its AlibrisStatus changed from not-running to running.\n
- [03-15-2019 09:20:13] An email would have been sent to bvmonitor@woboinc.com with the contents Node ID #1 has had its AbebooksStatus changed from not-running to running.\n
- [03-15-2019 09:20:13] An email would have been sent to bvmonitor@woboinc.com with the contents Node ID #2 has had its AbebooksStatus changed from not-running to running.\n
- [03-15-2019 09:20:13] The command has finished checking ListingCacher statuses.\n
- [03-15-2019 09:20:13] The command has begun checking ProductInfo statuses.\n
- [03-15-2019 09:20:13] Node ID #3 Products Cacher has become unavailable. All assigned requests have been unassigned.\n
- [03-15-2019 09:20:13] Node ID #4 Products Cacher has become unavailable. All assigned requests have been unassigned.\n
- [03-15-2019 09:20:13] The command has finished checking ProductInfo statuses.\n
- [03-15-2019 09:20:13] The command has begun distributing ISBNs to nodes.\n
- [03-15-2019 09:20:13] Allocating Application Priority slots for applications with ISBNs ready to cache.\n
- [03-15-2019 09:20:13] Node ID #1 has been reallocated 500 slots of Application Priority 1.\n
- [03-15-2019 09:20:13] Allocating Caching Priority slots for applications with ISBNs ready to cache.\n
- [03-15-2019 09:20:13] Node ID #1 has been allocated 25 ISBN slots of Caching Priority 1 for Application 1.\n
- [03-15-2019 09:20:13] Node ID #1 has been allocated 150 ISBN slots of Caching Priority 2 for Application 1.\n
- [03-15-2019 09:20:13] Node ID #1 has been allocated 125 ISBN slots of Caching Priority 3 for Application 1.\n
- [03-15-2019 09:20:13] Node ID #1 has been allocated 200 ISBN slots of Caching Priority 4 for Application 1.\n
- [03-15-2019 09:20:13] Node ID #1 has unused slots of Caching Priority 1 for Application 1. Unsused slots will be reallocated.\n
- [03-15-2019 09:20:13] Node ID #1 has unused slots of Caching Priority 2 for Application 1. Unsused slots will be reallocated.\n
- [03-15-2019 09:20:13] Node ID #1 has unused slots of Caching Priority 4 for Application 1. Unsused slots will be reallocated.\n
- [03-15-2019 09:20:13] Node ID #1 does not contain 375 slots available for redistribution. These slots will be divided amongst Caching Priorities that have reached their cap.\n
- [03-15-2019 09:20:13] Node ID #1 has been reallocated 500 ISBN slots of Caching Priority 3 for Application 1.\n
- [03-15-2019 09:20:13] Node ID #1 has been assigned 300 ISBNs of Caching Priority 3 for Application 1.\n
- [03-15-2019 09:20:13] The status for CacherApiProcess #2 has been updated to in_process.\n
- [03-15-2019 09:20:13] The status for CacherApiProcess #4 has been updated to in_process.\n
- [03-15-2019 09:20:13] The status for CacherApiProcess #6 has been updated to in_process.\n
- [03-15-2019 09:20:13] The command has finished distributing isbns to nodes.\n
- [03-15-2019 09:20:13] The command has begun checking the API Process statuses.\n
- [03-15-2019 09:20:14] The command has marked API Process 3 as ready.\n
- [03-15-2019 09:20:14] The command has marked API Process 9 as ready.\n
- [03-15-2019 09:20:14] The command has marked API Process 10 as ready.\n
- [03-15-2019 09:20:14] The command has marked API Process 11 as ready.\n
- [03-15-2019 09:20:14] The command has finished checking the API Process statuses.\n
- [03-15-2019 09:20:14] Bvdirect Cache Manager has finished working and will now exit.\n
- ' does not contain "The status for CacherApiProcess #6 has been updated to in_process.".
- /var/www/html/bvdirect/tests/ScriptBundle/Command/Info/CacheManagerTest.php:474
- FAILURES!
- Tests: 144, Assertions: 317, Failures: 6, Skipped: 1.
- Running tests for the ScriptBundle/Command/Maintenance
- The ScriptBundle/Command/Maintenance did not encounter any issues during testing
- Running tests for the ScriptBundle/Command/Order
- The ScriptBundle/Command/Order did not encounter any issues during testing
- Running tests for the ScriptBundle/Monitor
- The ScriptBundle/Monitor did not encounter any issues during testing
- Running tests for the ScriptBundle/Util
- The ScriptBundle/Util did not encounter any issues during testing
- Running tests for the ScriptBundle/Services
- The ScriptBundle/Services did not encounter any issues during testing
- Running tests for the UserBundle
- The UserBundle did not encounter any issues during testing
- At least one test encountered a problem.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement