[SERVER-21909] Unittest failure in server_options_test on PPC64LE Created: 15/Dec/15  Updated: 14/Apr/16  Resolved: 16/Dec/15

Status: Closed
Project: Core Server
Component/s: Portability
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Nishidha Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Duplicate Votes: 0
Labels: ppc64le_3_2_backport
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-21529 Sign of log severity values may get l... Closed
Sprint: Platforms E (01/08/16)
Participants:

 Description   

We are porting MongoDB server 3.2 on ppc64le architectures. While running unittests, one of the basic server tests is failing with below error -

[executor:cpp_unit_test:job0] 2015-12-15T22:12:45.617+0530 Running server_options_test...
build/opt/mongo/db/server_options_test
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.618+0530 Starting Program build/opt/mongo/db/server_options_test...
build/opt/mongo/db/server_options_test
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.651+0530 Program build/opt/mongo/db/server_options_test started with pid 29829.
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.681+0530 2015-12-15T22:12:45.681+0530 I -        [main] going to run suite: Verbosity
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.682+0530 2015-12-15T22:12:45.681+0530 I -        [main] 	 going to run test: Default
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.683+0530 2015-12-15T22:12:45.682+0530 I -        [main] FAIL: Default	Expected ::mongo::logger::globalLogDomain()->getMinimumLogSeverity() == ::mongo::logger::LogSeverity::Info() (debug == info) @src/mongo/db/server_options_test.cpp:89
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.683+0530 2015-12-15T22:12:45.682+0530 I -        [main] 	 going to run test: CommandLineImplicit
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.683+0530 2015-12-15T22:12:45.683+0530 I -        [main] 	 going to run test: CommandLineString
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.684+0530 2015-12-15T22:12:45.684+0530 I -        [main] 	 going to run test: CommandLineBadString
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.685+0530 2015-12-15T22:12:45.685+0530 I -        [main] 	 going to run test: INIConfigString
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.687+0530 2015-12-15T22:12:45.687+0530 I -        [main] 	 going to run test: INIConfigBadString
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.688+0530 2015-12-15T22:12:45.688+0530 I -        [main] 	 going to run test: INIConfigEmptyString
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.690+0530 2015-12-15T22:12:45.689+0530 I -        [main] 	 going to run test: JSONConfigString
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.691+0530 2015-12-15T22:12:45.691+0530 I -        [main] 	 going to run test: MultipleSourcesMultipleOptions
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.692+0530 2015-12-15T22:12:45.692+0530 I -        [main] 	 going to run test: YAMLConfigStringLogComponent
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.694+0530 2015-12-15T22:12:45.694+0530 I -        [main] 	 DONE running tests
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.694+0530 2015-12-15T22:12:45.694+0530 I -        [main] **************************************************
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.694+0530 2015-12-15T22:12:45.694+0530 I -        [main] Verbosity                      | tests:   10 | fails:    1 | assert calls:          0 | time secs:  0.012
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.695+0530 	Default	Expected ::mongo::logger::globalLogDomain()->getMinimumLogSeverity() == ::mongo::logger::LogSeverity::Info() (debug == info) @src/mongo/db/server_options_test.cpp:89
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.695+0530 2015-12-15T22:12:45.694+0530 I -        [main] TOTALS                         | tests:   10 | fails:    1 | assert calls:          0 | time secs:  0.012
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.695+0530 2015-12-15T22:12:45.694+0530 I -        [main] Failing tests:
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.695+0530 2015-12-15T22:12:45.694+0530 I -        [main] 	 Verbosity/Default Failed
[cpp_unit_test:server_options_test] 2015-12-15T22:12:45.696+0530 2015-12-15T22:12:45.694+0530 I -        [main] FAILURE - 1 tests in 1 suites failed
[executor:cpp_unit_test:job0] 2015-12-15T22:12:45.709+0530 server_options_test ran in 0.09 seconds.

We've fixed the failure. Kindly find attached patch with the fix and consider it for merging. Patch has been created on r3.2.0 tag.



 Comments   
Comment by Andrew Morrow (Inactive) [ 16/Dec/15 ]

Hi nishidha - I'm closing this as a duplicate of SERVER-21529.

Comment by Nishidha [ 16/Dec/15 ]

Removed patch as per Andrew's comment.

Generated at Thu Feb 08 03:58:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.