IRC-SPHERE / HyperStream

HyperStream
https://irc-sphere.github.io/HyperStream/
MIT License
13 stars 5 forks source link

warning in unit test for sessions #17

Open tdiethe opened 7 years ago

tdiethe commented 7 years ago

logging output:

WARNING:root:Stream session: [uuid=254ac60a-70bb-11e7-9956-42010a0a149f] not available for time interval (0001-01-01 00:00:00+00:00, 2017-07-24 21:57:54.507000+00:00]. Perhaps upstream calculations haven't been performed
So-Cool commented 7 years ago

I get almost the same warning message when I'm running the first tutorial on the designated Docker container

tdiethe commented 7 years ago

Can you confirm if this is still the case?

perellonieto commented 7 years ago

When I run the Docker container it runs by default a unittest. This unittests in my case finishes with the following:

hyperstream_1         | ---------------------------------------------------------------------------------------------------------------------
hyperstream_1         | TOTAL                                                                                             31183  19363    38%
hyperstream_1         | ----------------------------------------------------------------------
hyperstream_1         | Ran 28 tests in 11.898s
hyperstream_1         | 
hyperstream_1         | OK

EDIT: I run the previous test again, as it seems that the build version was old. But still all the tests are OK in the docker.

However, when I run the docker-tutorials in the different tutorials I get a variety of Warning that I need to explore further. One of them is in the tutorial 1 with the warning:

2017-07-27 20:21:54,062 [WARNI]  Stream clock_stream not available for time interval (2017-07-27 06:21:53.990254+00:00, 2017-07-27 15:21:54.036463+00:00]. Perhaps upstream calculations haven't been performed

But I think this problem could be about the timezones.