Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-21909

Unittest failure in server_options_test on PPC64LE

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Portability
    • Platforms E (01/08/16)

    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.

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            nishidha Nishidha
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: