Skip to content
Extraits de code Groupes Projets
Valider 8235b658 rédigé par mattab's avatar mattab
Parcourir les fichiers

Enable more segments in tests for archiveCron test

parent 68f22065
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -91,15 +91,15 @@ class ManySitesImportedLogs extends Fixture ...@@ -91,15 +91,15 @@ class ManySitesImportedLogs extends Fixture
'autoArchive' => false, 'autoArchive' => false,
'enabledAllUsers' => true), 'enabledAllUsers' => true),
// 'segmentPreArchived' => array('definition'=> self::SEGMENT_PRE_ARCHIVED, 'segmentPreArchived' => array('definition'=> self::SEGMENT_PRE_ARCHIVED,
// 'idSite' => 1, 'idSite' => 1,
// 'autoArchive' => true, 'autoArchive' => true,
// 'enabledAllUsers' => true), 'enabledAllUsers' => true),
//
// 'segmentPreArchivedWithUrlEncoding' => array('definition'=> self::SEGMENT_PRE_ARCHIVED_CONTAINS_ENCODED, 'segmentPreArchivedWithUrlEncoding' => array('definition'=> self::SEGMENT_PRE_ARCHIVED_CONTAINS_ENCODED,
// 'idSite' => 1, 'idSite' => 1,
// 'autoArchive' => true, 'autoArchive' => true,
// 'enabledAllUsers' => true) 'enabledAllUsers' => true)
// fails randomly and I really could not find why. // fails randomly and I really could not find why.
// 'segmentOnlySuperuser' => array('definition' => 'actions>1;customVariablePageName1=='.urlencode('HTTP-code'), // 'segmentOnlySuperuser' => array('definition' => 'actions>1;customVariablePageName1=='.urlencode('HTTP-code'),
......
...@@ -10,50 +10,57 @@ try 'php archive.php --url=http://your.piwik/path' ...@@ -10,50 +10,57 @@ try 'php archive.php --url=http://your.piwik/path'
------------------------------------------------------- -------------------------------------------------------
INFO CoreConsole[2014-12-15 06:44:17] --------------------------- INFO CoreConsole[2015-01-06 05:52:39] ---------------------------
INFO CoreConsole[2014-12-15 06:44:17] INIT INFO CoreConsole[2015-01-06 05:52:39] INIT
INFO CoreConsole[2014-12-15 06:44:17] Piwik is installed at: http://localhost/tests/PHPUnit/proxy/index.php INFO CoreConsole[2015-01-06 05:52:39] Piwik is installed at: http://localhost/tests/PHPUnit/proxy/index.php
INFO CoreConsole[2014-12-15 06:44:17] Running Piwik 2.10.0-b7 as Super User INFO CoreConsole[2015-01-06 05:52:39] Running Piwik 2.10.0 as Super User
INFO CoreConsole[2014-12-15 06:44:18] --------------------------- INFO CoreConsole[2015-01-06 05:52:39] ---------------------------
INFO CoreConsole[2014-12-15 06:44:18] NOTES INFO CoreConsole[2015-01-06 05:52:39] NOTES
INFO CoreConsole[2014-12-15 06:44:18] - If you execute this script at least once per hour (or more often) in a crontab, you may disable 'Browser trigger archiving' in Piwik UI > Settings > General Settings. INFO CoreConsole[2015-01-06 05:52:39] - If you execute this script at least once per hour (or more often) in a crontab, you may disable 'Browser trigger archiving' in Piwik UI > Settings > General Settings.
INFO CoreConsole[2014-12-15 06:44:18] See the doc at: http://piwik.org/docs/setup-auto-archiving/ INFO CoreConsole[2015-01-06 05:52:39] See the doc at: http://piwik.org/docs/setup-auto-archiving/
INFO CoreConsole[2014-12-15 06:44:18] - Reports for today will be processed at most every 150 seconds. You can change this value in Piwik UI > Settings > General Settings. INFO CoreConsole[2015-01-06 05:52:39] - Reports for today will be processed at most every 150 seconds. You can change this value in Piwik UI > Settings > General Settings.
INFO CoreConsole[2014-12-15 06:44:18] - Reports for the current week/month/year will be refreshed at most every 3600 seconds. INFO CoreConsole[2015-01-06 05:52:39] - Reports for the current week/month/year will be refreshed at most every 3600 seconds.
INFO CoreConsole[2014-12-15 06:44:18] - Will process 0 websites with new visits since 7 days 0 hours INFO CoreConsole[2015-01-06 05:52:39] Will invalidate archived reports for 2012-08-09 for following siteIds: 1
INFO CoreConsole[2014-12-15 06:44:18] - Will process 2 other websites because some old data reports have been invalidated (eg. using the Log Import script) , IDs: 1, 2 INFO CoreConsole[2015-01-06 05:52:40] Will invalidate archived reports for 2012-08-10 for following siteIds: 1
INFO CoreConsole[2014-12-15 06:44:18] --------------------------- INFO CoreConsole[2015-01-06 05:52:40] Will invalidate archived reports for 2012-08-11 for following siteIds: 1
INFO CoreConsole[2014-12-15 06:44:18] START INFO CoreConsole[2015-01-06 05:52:40] Will invalidate archived reports for 2012-08-15 for following siteIds: 1,2
INFO CoreConsole[2014-12-15 06:44:18] Starting Piwik reports archiving... INFO CoreConsole[2015-01-06 05:52:40] Will invalidate archived reports for 2012-09-30 for following siteIds: 1
INFO CoreConsole[2014-12-15 06:44:19] Will pre-process the following 1 Segments for this website (id = 1): browserCode==IE INFO CoreConsole[2015-01-06 05:52:40] Will invalidate archived reports for 2014-03-12 for following siteIds: 1
INFO CoreConsole[2014-12-15 06:44:21] Archived website id = 1, period = day, 0 visits in last last52 days, 0 visits today, Time elapsed: 3.188s INFO CoreConsole[2015-01-06 05:52:40] Will invalidate archived reports for 2014-03-13 for following siteIds: 1
INFO CoreConsole[2014-12-15 06:44:21] Will pre-process the following 1 Segments for this website (id = 1): browserCode==IE INFO CoreConsole[2015-01-06 05:52:40] - Will process 0 websites with new visits since 7 days 0 hours
INFO CoreConsole[2014-12-15 06:44:37] Archived website id = 1, period = week, 40 visits in last last260 weeks, 0 visits this week, Time elapsed: 16.493s INFO CoreConsole[2015-01-06 05:52:40] - Will process 2 other websites because some old data reports have been invalidated (eg. using the Log Import script) , IDs: 1, 2
INFO CoreConsole[2014-12-15 06:44:37] Will pre-process the following 1 Segments for this website (id = 1): browserCode==IE INFO CoreConsole[2015-01-06 05:52:40] ---------------------------
INFO CoreConsole[2014-12-15 06:44:47] Archived website id = 1, period = month, 40 visits in last last52 months, 0 visits this month, Time elapsed: 9.627s INFO CoreConsole[2015-01-06 05:52:40] START
INFO CoreConsole[2014-12-15 06:44:47] Will pre-process the following 1 Segments for this website (id = 1): browserCode==IE INFO CoreConsole[2015-01-06 05:52:40] Starting Piwik reports archiving...
INFO CoreConsole[2014-12-15 06:44:49] Archived website id = 1, period = year, 40 visits in last last7 years, 12 visits this year, Time elapsed: 1.944s INFO CoreConsole[2015-01-06 05:52:41] Will pre-process the following 1 Segments for this website (id = 1): browserCode==IE
INFO CoreConsole[2014-12-15 06:44:49] Archived website id = 1, 8 API requests, Time elapsed: 31.255s [1/2 done] INFO CoreConsole[2015-01-06 05:52:42] Archived website id = 1, period = day, 0 visits in last last52 days, 0 visits today, Time elapsed: 2.805s
INFO CoreConsole[2014-12-15 06:44:51] Archived website id = 2, period = day, 0 visits in last last52 days, 0 visits today, Time elapsed: 1.553s INFO CoreConsole[2015-01-06 05:52:42] Will pre-process the following 1 Segments for this website (id = 1): browserCode==IE
INFO CoreConsole[2014-12-15 06:45:02] Archived website id = 2, period = week, 1 visits in last last260 weeks, 0 visits this week, Time elapsed: 11.828s INFO CoreConsole[2015-01-06 05:52:55] Archived website id = 1, period = week, 40 visits in last last260 weeks, 0 visits this week, Time elapsed: 12.812s
INFO CoreConsole[2014-12-15 06:45:08] Archived website id = 2, period = month, 1 visits in last last52 months, 0 visits this month, Time elapsed: 5.630s INFO CoreConsole[2015-01-06 05:52:55] Will pre-process the following 1 Segments for this website (id = 1): browserCode==IE
INFO CoreConsole[2014-12-15 06:45:09] Archived website id = 2, period = year, 1 visits in last last7 years, 0 visits this year, Time elapsed: 1.185s INFO CoreConsole[2015-01-06 05:53:03] Archived website id = 1, period = month, 40 visits in last last52 months, 0 visits this month, Time elapsed: 7.424s
INFO CoreConsole[2014-12-15 06:45:09] Archived website id = 2, 4 API requests, Time elapsed: 20.199s [2/2 done] INFO CoreConsole[2015-01-06 05:53:03] Will pre-process the following 1 Segments for this website (id = 1): browserCode==IE
INFO CoreConsole[2014-12-15 06:45:09] Done archiving! INFO CoreConsole[2015-01-06 05:53:04] Archived website id = 1, period = year, 40 visits in last last7 years, 0 visits this year, Time elapsed: 1.530s
INFO CoreConsole[2014-12-15 06:45:09] --------------------------- INFO CoreConsole[2015-01-06 05:53:04] Archived website id = 1, 8 API requests, Time elapsed: 24.576s [1/2 done]
INFO CoreConsole[2014-12-15 06:45:09] SUMMARY INFO CoreConsole[2015-01-06 05:53:06] Archived website id = 2, period = day, 0 visits in last last52 days, 0 visits today, Time elapsed: 1.422s
INFO CoreConsole[2014-12-15 06:45:09] Total visits for today across archived websites: 0 INFO CoreConsole[2015-01-06 05:53:16] Archived website id = 2, period = week, 1 visits in last last260 weeks, 0 visits this week, Time elapsed: 9.869s
INFO CoreConsole[2014-12-15 06:45:09] Archived today's reports for 2 websites INFO CoreConsole[2015-01-06 05:53:20] Archived website id = 2, period = month, 1 visits in last last52 months, 0 visits this month, Time elapsed: 4.772s
INFO CoreConsole[2014-12-15 06:45:09] Archived week/month/year for 2 websites INFO CoreConsole[2015-01-06 05:53:21] Archived website id = 2, period = year, 1 visits in last last7 years, 0 visits this year, Time elapsed: 1.060s
INFO CoreConsole[2014-12-15 06:45:09] Skipped 0 websites: no new visit since the last script execution INFO CoreConsole[2015-01-06 05:53:21] Archived website id = 2, 4 API requests, Time elapsed: 17.127s [2/2 done]
INFO CoreConsole[2014-12-15 06:45:09] Skipped 0 websites day archiving: existing daily reports are less than 150 seconds old INFO CoreConsole[2015-01-06 05:53:21] Done archiving!
INFO CoreConsole[2014-12-15 06:45:09] Skipped 0 websites week/month/year archiving: existing periods reports are less than 3600 seconds old INFO CoreConsole[2015-01-06 05:53:21] ---------------------------
INFO CoreConsole[2014-12-15 06:45:09] Total API requests: 12 INFO CoreConsole[2015-01-06 05:53:21] SUMMARY
INFO CoreConsole[2014-12-15 06:45:09] done: 2/2 100%, 0 vtoday, 2 wtoday, 2 wperiods, 12 req, 51589 ms, no error INFO CoreConsole[2015-01-06 05:53:21] Total visits for today across archived websites: 0
INFO CoreConsole[2014-12-15 06:45:09] Time elapsed: 51.589s INFO CoreConsole[2015-01-06 05:53:21] Archived today's reports for 2 websites
INFO CoreConsole[2014-12-15 06:45:09] --------------------------- INFO CoreConsole[2015-01-06 05:53:21] Archived week/month/year for 2 websites
INFO CoreConsole[2014-12-15 06:45:09] SCHEDULED TASKS INFO CoreConsole[2015-01-06 05:53:21] Skipped 0 websites: no new visit since the last script execution
INFO CoreConsole[2014-12-15 06:45:09] Starting Scheduled tasks... INFO CoreConsole[2015-01-06 05:53:21] Skipped 0 websites day archiving: existing daily reports are less than 150 seconds old
INFO CoreConsole[2014-12-15 06:45:10] No task to run INFO CoreConsole[2015-01-06 05:53:21] Skipped 0 websites week/month/year archiving: existing periods reports are less than 3600 seconds old
INFO CoreConsole[2014-12-15 06:45:10] done INFO CoreConsole[2015-01-06 05:53:21] Total API requests: 12
INFO CoreConsole[2014-12-15 06:45:10] --------------------------- INFO CoreConsole[2015-01-06 05:53:21] done: 2/2 100%, 0 vtoday, 2 wtoday, 2 wperiods, 12 req, 41826 ms, no error
\ No newline at end of file INFO CoreConsole[2015-01-06 05:53:21] Time elapsed: 41.826s
INFO CoreConsole[2015-01-06 05:53:21] ---------------------------
INFO CoreConsole[2015-01-06 05:53:21] SCHEDULED TASKS
INFO CoreConsole[2015-01-06 05:53:21] Starting Scheduled tasks...
INFO CoreConsole[2015-01-06 05:53:22] No task to run
INFO CoreConsole[2015-01-06 05:53:22] done
INFO CoreConsole[2015-01-06 05:53:22] ---------------------------
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter