Project

General

Profile

Actions

Bug #56170

closed

TestRGWLuaBackground failures in 'make check'

Added by Casey Bodley almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
High
Target version:
-
% Done:

0%

Source:
Tags:
lua
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

from https://jenkins.ceph.com/job/ceph-pull-requests/97827/consoleFull#-813366076e840cee4-f4a4-4183-81dd-42855615f2c1

211/282 Test #227: unittest_rgw_lua ..........................***Failed   27.38 sec
Running main() from gmock_main.cc
[==========] Running 46 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 26 tests from TestRGWLua
[ RUN      ] TestRGWLua.EmptyScript
[       OK ] TestRGWLua.EmptyScript (0 ms)
[ RUN      ] TestRGWLua.SyntaxError
[       OK ] TestRGWLua.SyntaxError (0 ms)
[ RUN      ] TestRGWLua.Hello
[       OK ] TestRGWLua.Hello (0 ms)
[ RUN      ] TestRGWLua.RGWDebugLogNumber
[       OK ] TestRGWLua.RGWDebugLogNumber (1 ms)
[ RUN      ] TestRGWLua.RGWDebugNil
[       OK ] TestRGWLua.RGWDebugNil (0 ms)
[ RUN      ] TestRGWLua.URI
[       OK ] TestRGWLua.URI (0 ms)
[ RUN      ] TestRGWLua.Response
[       OK ] TestRGWLua.Response (0 ms)
[ RUN      ] TestRGWLua.SetResponse
[       OK ] TestRGWLua.SetResponse (0 ms)
[ RUN      ] TestRGWLua.RGWIdNotWriteable
[       OK ] TestRGWLua.RGWIdNotWriteable (0 ms)
[ RUN      ] TestRGWLua.InvalidField
[       OK ] TestRGWLua.InvalidField (1 ms)
[ RUN      ] TestRGWLua.InvalidSubField
[       OK ] TestRGWLua.InvalidSubField (0 ms)
[ RUN      ] TestRGWLua.Bucket
[       OK ] TestRGWLua.Bucket (0 ms)
[ RUN      ] TestRGWLua.GenericAttributes
[       OK ] TestRGWLua.GenericAttributes (0 ms)
[ RUN      ] TestRGWLua.Environment
[       OK ] TestRGWLua.Environment (0 ms)
[ RUN      ] TestRGWLua.Tags
[       OK ] TestRGWLua.Tags (1 ms)
[ RUN      ] TestRGWLua.TagsNotWriteable
[       OK ] TestRGWLua.TagsNotWriteable (0 ms)
[ RUN      ] TestRGWLua.Metadata
[       OK ] TestRGWLua.Metadata (0 ms)
[ RUN      ] TestRGWLua.Acl
Grant Type: 2
Grant Group Type: 1
Grant Referer: 
Grant Type: 0
Grant Group Type: 0
Grant Referer: 
Grant User.Tenant: jane
Grant User.Id: doe
Grant Type: 0
Grant Group Type: 0
Grant Referer: 
Grant User.Tenant: john
Grant User.Id: doe
[       OK ] TestRGWLua.Acl (0 ms)
[ RUN      ] TestRGWLua.User
[       OK ] TestRGWLua.User (1 ms)
[ RUN      ] TestRGWLua.UseFunction
Owner Dispaly Name: user two
Owner Id: user2
Owner Tenanet: tenant2
UserACL Owner
Owner Dispaly Name: user three
Owner Id: user3
Owner Tenanet: tenant3
BucketACL Owner
Owner Dispaly Name: user four
Owner Id: user4
Owner Tenanet: tenant4
ObjectACL Owner
Owner Dispaly Name: user five
Owner Id: user5
Owner Tenanet: tenant5
[       OK ] TestRGWLua.UseFunction (0 ms)
[ RUN      ] TestRGWLua.WithLib
[       OK ] TestRGWLua.WithLib (0 ms)
[ RUN      ] TestRGWLua.NotAllowedInLib
[       OK ] TestRGWLua.NotAllowedInLib (0 ms)
[ RUN      ] TestRGWLua.OpsLog
[       OK ] TestRGWLua.OpsLog (1 ms)
[ RUN      ] TestRGWLua.TracingSetAttribute
[       OK ] TestRGWLua.TracingSetAttribute (0 ms)
[ RUN      ] TestRGWLua.TracingSetBadAttribute
[       OK ] TestRGWLua.TracingSetBadAttribute (1 ms)
[ RUN      ] TestRGWLua.TracingAddEvent
[       OK ] TestRGWLua.TracingAddEvent (0 ms)
[----------] 26 tests from TestRGWLua (6 ms total)

[----------] 20 tests from TestRGWLuaBackground
[ RUN      ] TestRGWLuaBackground.Start
[       OK ] TestRGWLuaBackground.Start (0 ms)
[ RUN      ] TestRGWLuaBackground.Script
expected RGW[hello] to be: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
unknown file: Failure
C++ exception with description "std::get: wrong index for variant" thrown in the test body.
[  FAILED  ] TestRGWLuaBackground.Script (3001 ms)
[ RUN      ] TestRGWLuaBackground.RequestScript
../src/test/rgw/test_rgw_lua.cc:738: Failure
Expected equality of these values:
  rc
    Which is: -1
  0
[  FAILED  ] TestRGWLuaBackground.RequestScript (3000 ms)
[ RUN      ] TestRGWLuaBackground.Pause
expected RGW[hello] to be: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
unknown file: Failure
C++ exception with description "std::get: wrong index for variant" thrown in the test body.
[  FAILED  ] TestRGWLuaBackground.Pause (3001 ms)
[ RUN      ] TestRGWLuaBackground.PauseWhileReading
expected RGW[hello] to be: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
unknown file: Failure
C++ exception with description "std::get: wrong index for variant" thrown in the test body.
[  FAILED  ] TestRGWLuaBackground.PauseWhileReading (6000 ms)
[ RUN      ] TestRGWLuaBackground.ReadWhilePaused
expected RGW[hello] to be: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
unknown file: Failure
C++ exception with description "std::get: wrong index for variant" thrown in the test body.
[  FAILED  ] TestRGWLuaBackground.ReadWhilePaused (6001 ms)
[ RUN      ] TestRGWLuaBackground.PauseResume
expected RGW[hello] to be: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
unknown file: Failure
C++ exception with description "std::get: wrong index for variant" thrown in the test body.
[  FAILED  ] TestRGWLuaBackground.PauseResume (3000 ms)
[ RUN      ] TestRGWLuaBackground.MultipleStarts
expected RGW[hello] to be: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
unknown file: Failure
C++ exception with description "std::get: wrong index for variant" thrown in the test body.
[  FAILED  ] TestRGWLuaBackground.MultipleStarts (3001 ms)
[ RUN      ] TestRGWLuaBackground.TableValues
expected RGW[key1] to be: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
unknown file: Failure
C++ exception with description "std::get: wrong index for variant" thrown in the test body.
[  FAILED  ] TestRGWLuaBackground.TableValues (0 ms)
[ RUN      ] TestRGWLuaBackground.TablePersist
expected RGW[key1] to be: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
unknown file: Failure
C++ exception with description "std::get: wrong index for variant" thrown in the test body.
[  FAILED  ] TestRGWLuaBackground.TablePersist (0 ms)
[ RUN      ] TestRGWLuaBackground.TableValuesFromRequest
expected RGW[key2] to be: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
unknown file: Failure
C++ exception with description "std::get: wrong index for variant" thrown in the test body.
[  FAILED  ] TestRGWLuaBackground.TableValuesFromRequest (1 ms)
[ RUN      ] TestRGWLuaBackground.TableInvalidValue
expected RGW[key1] to be: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
unknown file: Failure
C++ exception with description "std::get: wrong index for variant" thrown in the test body.
[  FAILED  ] TestRGWLuaBackground.TableInvalidValue (1 ms)
[ RUN      ] TestRGWLuaBackground.TableErase
expected RGW[key1] to be: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
unknown file: Failure
C++ exception with description "std::get: wrong index for variant" thrown in the test body.
[  FAILED  ] TestRGWLuaBackground.TableErase (0 ms)
[ RUN      ] TestRGWLuaBackground.TableIterate
expected RGW[key1] to be: NSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
unknown file: Failure
C++ exception with description "std::get: wrong index for variant" thrown in the test body.
[  FAILED  ] TestRGWLuaBackground.TableIterate (0 ms)
[ RUN      ] TestRGWLuaBackground.TableIncrement
[       OK ] TestRGWLuaBackground.TableIncrement (0 ms)
[ RUN      ] TestRGWLuaBackground.TableIncrementBy
[       OK ] TestRGWLuaBackground.TableIncrementBy (0 ms)
[ RUN      ] TestRGWLuaBackground.TableDecrement
[       OK ] TestRGWLuaBackground.TableDecrement (1 ms)
[ RUN      ] TestRGWLuaBackground.TableDecrementBy
[       OK ] TestRGWLuaBackground.TableDecrementBy (0 ms)
[ RUN      ] TestRGWLuaBackground.TableIncrementValueError
[       OK ] TestRGWLuaBackground.TableIncrementValueError (0 ms)
[ RUN      ] TestRGWLuaBackground.TableIncrementError
[       OK ] TestRGWLuaBackground.TableIncrementError (0 ms)
[----------] 20 tests from TestRGWLuaBackground (27007 ms total)

[----------] Global test environment tear-down
[==========] 46 tests from 2 test suites ran. (27013 ms total)
[  PASSED  ] 33 tests.
[  FAILED  ] 13 tests, listed below:
[  FAILED  ] TestRGWLuaBackground.Script
[  FAILED  ] TestRGWLuaBackground.RequestScript
[  FAILED  ] TestRGWLuaBackground.Pause
[  FAILED  ] TestRGWLuaBackground.PauseWhileReading
[  FAILED  ] TestRGWLuaBackground.ReadWhilePaused
[  FAILED  ] TestRGWLuaBackground.PauseResume
[  FAILED  ] TestRGWLuaBackground.MultipleStarts
[  FAILED  ] TestRGWLuaBackground.TableValues
[  FAILED  ] TestRGWLuaBackground.TablePersist
[  FAILED  ] TestRGWLuaBackground.TableValuesFromRequest
[  FAILED  ] TestRGWLuaBackground.TableInvalidValue
[  FAILED  ] TestRGWLuaBackground.TableErase
[  FAILED  ] TestRGWLuaBackground.TableIterate

13 FAILED TESTS

Actions #1

Updated by Casey Bodley almost 2 years ago

bump, still showing up occassionally in PR checks

Actions #2

Updated by David Galloway almost 2 years ago

Just hit this on a docs build

Actions #3

Updated by Yuval Lifshitz almost 2 years ago

the issue is due to the assignment of char* to std::string that does not work in: g++ (GCC) 8.5.0

Actions #4

Updated by Yuval Lifshitz almost 2 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 47209
Actions #5

Updated by Kefu Chai almost 2 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF