[CDRIVER-2034] test_create_index_fail error on zSeries Ubuntu without OpenSSL Created: 06/Feb/17 Updated: 03/May/17 Resolved: 21/Mar/17 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | 1.6.0 |
| Fix Version/s: | 1.7.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Comments |
| Comment by Githook User [ 21/Mar/17 ] | ||||||
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: On some of our zSeries build machines, example.com is aliased to | ||||||
| Comment by Githook User [ 21/Mar/17 ] | ||||||
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: Revert " 081b14527e2df05c884a86a948f844efd761675f | ||||||
| Comment by Bernie Hackett [ 20/Mar/17 ] | ||||||
|
It turns out example.com is aliased to localhost on a number of Evergreen machines, so connecting to example.com:27017 is going to succeed, since that's your running instance of mongod/mongos. Change "example.com" to something like "adnsnamethatforsuredoesntexist". | ||||||
| Comment by Bernie Hackett [ 17/Mar/17 ] | ||||||
|
jesse - try changing example.com to some truly nonsensical non existent domain. example.com is actually a thing. | ||||||
| Comment by Bernie Hackett [ 17/Mar/17 ] | ||||||
|
Believe it or not, PyMongo has a test failing for exactly the same reason, only on zSeries without TLS. See | ||||||
| Comment by Githook User [ 16/Mar/17 ] | ||||||
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: | ||||||
| Comment by A. Jesse Jiryu Davis [ 13/Mar/17 ] | ||||||
|
Nevermind, this has resumed failing. | ||||||
| Comment by Githook User [ 05/Mar/17 ] | ||||||
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: | ||||||
| Comment by A. Jesse Jiryu Davis [ 04/Mar/17 ] | ||||||
|
I've reenabled the test; it seems to pass now in the configuration where it had earlier been inexplicably failing. | ||||||
| Comment by Githook User [ 06/Feb/17 ] | ||||||
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: | ||||||
| Comment by A. Jesse Jiryu Davis [ 06/Feb/17 ] | ||||||
|
The test for
Solely on zSeries Ubuntu build variants without OpenSSL, the assert fails. That is, mongoc_collection_create_index_with_opts returns true. If OpenSSL is compiled in, the test succeeds. It also succeeds on zSeries SUSE, with or without OpenSSL. |