Skip to content
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

Build is currently failing for segments visitEndServerDate, visitEndServerMonth, visitEndServerDayOfWeek #12606

Closed
mattab opened this issue Mar 8, 2018 · 0 comments · Fixed by #12610
Assignees
Labels
c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Mar 8, 2018

There were 3 failures:
1) Piwik\Tests\System\AutoSuggestAPITest::testAnotherApi with data set #9 ('VisitsSummary.get', array(1, '2018-02-05,today', 'range', '_visitEndServerDate', 'visitEndServerDate'))
Piwik\Tests\System\AutoSuggestAPITest: Differences with expected in '/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/../../System/processed/test_AutoSuggestAPITest_visitEndServerDate__VisitsSummary.get_range.xml'
Failed asserting that two DOM documents are equal.
--- Expected
+++ Actual
@@ @@
 <?xml version="1.0"?>
 <result>
-  <nb_visits>2</nb_visits>
-  <nb_actions>5</nb_actions>
-  <nb_visits_converted>2</nb_visits_converted>
-  <bounce_count>1</bounce_count>
-  <sum_visit_length>1621</sum_visit_length>
-  <max_actions>4</max_actions>
-  <bounce_rate>50%</bounce_rate>
-  <nb_actions_per_visit>2.5</nb_actions_per_visit>
-  <avg_time_on_site>811</avg_time_on_site>
+  <nb_visits>0</nb_visits>
+  <nb_actions>0</nb_actions>
+  <nb_visits_converted>0</nb_visits_converted>
+  <bounce_count>0</bounce_count>
+  <sum_visit_length>0</sum_visit_length>
+  <max_actions>0</max_actions>
+  <bounce_rate>0%</bounce_rate>
+  <nb_actions_per_visit>0</nb_actions_per_visit>
+  <avg_time_on_site>0</avg_time_on_site>
 </result>
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestRequest/Response.php:76
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/SystemTestCase.php:401
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/SystemTestCase.php:541
/home/travis/build/matomo-org/matomo/tests/PHPUnit/System/AutoSuggestAPITest.php:110
2) Piwik\Tests\System\AutoSuggestAPITest::testAnotherApi with data set #11 ('VisitsSummary.get', array(1, '2018-02-05,today', 'range', '_visitEndServerDayOfWeek', 'visitEndServerDayOfWeek'))
Piwik\Tests\System\AutoSuggestAPITest: Differences with expected in '/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/../../System/processed/test_AutoSuggestAPITest_visitEndServerDayOfWeek__VisitsSummary.get_range.xml'
Failed asserting that two DOM documents are equal.
--- Expected
+++ Actual
@@ @@
 <?xml version="1.0"?>
 <result>
-  <nb_visits>10</nb_visits>
-  <nb_actions>29</nb_actions>
-  <nb_visits_converted>10</nb_visits_converted>
-  <bounce_count>5</bounce_count>
-  <sum_visit_length>8105</sum_visit_length>
+  <nb_visits>3</nb_visits>
+  <nb_actions>7</nb_actions>
+  <nb_visits_converted>3</nb_visits_converted>
+  <bounce_count>2</bounce_count>
+  <sum_visit_length>1621</sum_visit_length>
   <max_actions>5</max_actions>
-  <bounce_rate>50%</bounce_rate>
-  <nb_actions_per_visit>2.9</nb_actions_per_visit>
-  <avg_time_on_site>811</avg_time_on_site>
+  <bounce_rate>67%</bounce_rate>
+  <nb_actions_per_visit>2.3</nb_actions_per_visit>
+  <avg_time_on_site>540</avg_time_on_site>
 </result>
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestRequest/Response.php:76
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/SystemTestCase.php:401
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/SystemTestCase.php:541
/home/travis/build/matomo-org/matomo/tests/PHPUnit/System/AutoSuggestAPITest.php:110
3) Piwik\Tests\System\AutoSuggestAPITest::testAnotherApi with data set #14 ('VisitsSummary.get', array(1, '2018-02-05,today', 'range', '_visitEndServerMonth', 'visitEndServerMonth'))
Piwik\Tests\System\AutoSuggestAPITest: Differences with expected in '/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/../../System/processed/test_AutoSuggestAPITest_visitEndServerMonth__VisitsSummary.get_range.xml'
Failed asserting that two DOM documents are equal.
--- Expected
+++ Actual
@@ @@
 <?xml version="1.0"?>
 <result>
-  <nb_visits>24</nb_visits>
-  <nb_actions>66</nb_actions>
-  <nb_visits_converted>24</nb_visits_converted>
-  <bounce_count>12</bounce_count>
-  <sum_visit_length>19452</sum_visit_length>
-  <max_actions>5</max_actions>
-  <bounce_rate>50%</bounce_rate>
-  <nb_actions_per_visit>2.8</nb_actions_per_visit>
-  <avg_time_on_site>811</avg_time_on_site>
+  <nb_visits>0</nb_visits>
+  <nb_actions>0</nb_actions>
+  <nb_visits_converted>0</nb_visits_converted>
+  <bounce_count>0</bounce_count>
+  <sum_visit_length>0</sum_visit_length>
+  <max_actions>0</max_actions>
+  <bounce_rate>0%</bounce_rate>
+  <nb_actions_per_visit>0</nb_actions_per_visit>
+  <avg_time_on_site>0</avg_time_on_site>
 </result>
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestRequest/Response.php:76
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/SystemTestCase.php:401
/home/travis/build/matomo-org/matomo/tests/PHPUnit/Framework/TestCase/SystemTestCase.php:541
/home/travis/build/matomo-org/matomo/tests/PHPUnit/System/AutoSuggestAPITest.php:110

@mattab mattab added c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels Mar 8, 2018
@mattab mattab added this to the 3.3.1 milestone Mar 8, 2018
@sgiehl sgiehl self-assigned this Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants