Hi,
The DWH test run via kaltura-sanity.sh sometimes fails due to too long processing.
What I suggest you do is:
A. make sure you are playing the entry from outside of KMC, because entries played via the KMC preview do not count. You can, for the test, go to preview and embed for the entry, open the tiny URL displayed there and play the entry from there
B. once you did that, in /opt/kaltura/log/kaltura_apache_access.log or /opt/kaltura/log/kaltura_apache_errors_ssl.log depending on whether it is SSL or not, you should see lines that have:/api_v3/index.php?service=stats&action=collect
These records is what the Analytics mechanism uses to populate the DB with.
Once you confirmed we have that, run:
# /opt/kaltura/bin/kaltura-run-dwh.sh
which triggers a full dwh cycle.
Then check KMC:)