[SERVER-20696] Aggregation Suite Failure in server6190.js Created: 30/Sep/15 Updated: 25/Aug/16 Resolved: 01/Oct/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | 3.1.8 |
| Fix Version/s: | 3.1.9 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Nishidha | Assignee: | Ramon Fernandez Marina |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Participants: |
| Description |
|
Issue:
Cause: When I checked system date, I found x86 VM had date in EDT timezone whereas ppc64le has in IST. Difference in IST time and EDT time is also 9.5 hrs. Hence, on machines with IST timezone (there could be others timezones too), this test suite fails in calculating week number for given date owing to the difference in current time (milliseconds since epoch time differs for different timezones). Solution: Hence, this is a bug which is not specific to ppc64le but a common problem when you've different timezone set. |
| Comments |
| Comment by Ramon Fernandez Marina [ 05/Oct/15 ] |
|
Thanks for confirming the fix npanpaliya. The fix will be included in the next development release (3.1.9), and I'm also requesting a backport to the v3.0 branch. |
| Comment by Nishidha [ 05/Oct/15 ] |
|
Thank you ramon.fernandez for fixing this. I verified this test with the latest code of mongod server and the test passed. Could you also please confirm the server version in which this fix has been released? I see 3.1.9 in version.json in the latest code. Is that correct? Regards, |
| Comment by Ramon Fernandez Marina [ 01/Oct/15 ] |
|
Thanks for reporting this npanpaliya, we've fixed the test to work on all time zones. Here's the new version of the test, feel free to give it a try and report back. Cheers, |
| Comment by Githook User [ 01/Oct/15 ] |
|
Author: {u'name': u'Ramon Fernandez', u'email': u'ramon@mongodb.com'}Message: |
| Comment by Ramon Fernandez Marina [ 30/Sep/15 ] |
|
Thanks for the detailed report npanpaliya, we're investigating. |