Project

General

Profile

Actions

Bug #65651

open

s3select: test_true_false_in_expressions s3test failure

Added by Casey Bodley 10 days ago. Updated 10 days ago.

Status:
New
Priority:
Urgent
Assignee:
Target version:
-
% Done:

0%

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

Description

from a rgw/sts job based on recent main
https://qa-proxy.ceph.com/teuthology/cbodley-2024-04-24_12:59:55-rgw-wip-cbodley-testing-distro-default-smithi/7671432/teuthology.log

2024-04-24T13:58:58.498 INFO:teuthology.orchestra.run.smithi007.stdout:=================================== FAILURES ===================================
2024-04-24T13:58:58.498 INFO:teuthology.orchestra.run.smithi007.stdout:________________________ test_true_false_in_expressions ________________________
2024-04-24T13:58:58.498 INFO:teuthology.orchestra.run.smithi007.stdout:
2024-04-24T13:58:58.498 INFO:teuthology.orchestra.run.smithi007.stdout:    @pytest.mark.s3select
2024-04-24T13:58:58.498 INFO:teuthology.orchestra.run.smithi007.stdout:    def test_true_false_in_expressions():
2024-04-24T13:58:58.498 INFO:teuthology.orchestra.run.smithi007.stdout:
2024-04-24T13:58:58.498 INFO:teuthology.orchestra.run.smithi007.stdout:        csv_obj = create_random_csv_object(10000,10)
2024-04-24T13:58:58.498 INFO:teuthology.orchestra.run.smithi007.stdout:
2024-04-24T13:58:58.498 INFO:teuthology.orchestra.run.smithi007.stdout:        csv_obj_name = get_random_string()
2024-04-24T13:58:58.498 INFO:teuthology.orchestra.run.smithi007.stdout:        bucket_name = "test" 
2024-04-24T13:58:58.498 INFO:teuthology.orchestra.run.smithi007.stdout:        upload_object(bucket_name,csv_obj_name,csv_obj)
2024-04-24T13:58:58.498 INFO:teuthology.orchestra.run.smithi007.stdout:
2024-04-24T13:58:58.498 INFO:teuthology.orchestra.run.smithi007.stdout:        res_s3select_in = remove_xml_tags_from_result(  run_s3select(bucket_name,csv_obj_name,'select int(_1) from s3object where (int(_1) in(1)) = true;')).replace("\n","")
2024-04-24T13:58:58.499 INFO:teuthology.orchestra.run.smithi007.stdout:
2024-04-24T13:58:58.499 INFO:teuthology.orchestra.run.smithi007.stdout:        res_s3select = remove_xml_tags_from_result(  run_s3select(bucket_name,csv_obj_name,'select int(_1) from s3object where int(_1) = 1;')).replace("\n","")
2024-04-24T13:58:58.499 INFO:teuthology.orchestra.run.smithi007.stdout:
2024-04-24T13:58:58.499 INFO:teuthology.orchestra.run.smithi007.stdout:>       s3select_assert_result( res_s3select_in, res_s3select )
2024-04-24T13:58:58.499 INFO:teuthology.orchestra.run.smithi007.stdout:
2024-04-24T13:58:58.499 INFO:teuthology.orchestra.run.smithi007.stdout:s3tests_boto3/functional/test_s3select.py:794:
2024-04-24T13:58:58.499 INFO:teuthology.orchestra.run.smithi007.stdout:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2024-04-24T13:58:58.499 INFO:teuthology.orchestra.run.smithi007.stdout:
2024-04-24T13:58:58.499 INFO:teuthology.orchestra.run.smithi007.stdout:a = '', b = ''
2024-04-24T13:58:58.499 INFO:teuthology.orchestra.run.smithi007.stdout:
2024-04-24T13:58:58.499 INFO:teuthology.orchestra.run.smithi007.stdout:    def s3select_assert_result(a,b):
2024-04-24T13:58:58.499 INFO:teuthology.orchestra.run.smithi007.stdout:        if type(a) == str:
2024-04-24T13:58:58.499 INFO:teuthology.orchestra.run.smithi007.stdout:            a_strip = a.strip()
2024-04-24T13:58:58.500 INFO:teuthology.orchestra.run.smithi007.stdout:            b_strip = b.strip()
2024-04-24T13:58:58.500 INFO:teuthology.orchestra.run.smithi007.stdout:>           assert a_strip != "" 
2024-04-24T13:58:58.500 INFO:teuthology.orchestra.run.smithi007.stdout:E           AssertionError: assert '' != ''
2024-04-24T13:58:58.500 INFO:teuthology.orchestra.run.smithi007.stdout:
2024-04-24T13:58:58.500 INFO:teuthology.orchestra.run.smithi007.stdout:s3tests_boto3/functional/test_s3select.py:113: AssertionError
2024-04-24T13:58:58.500 INFO:teuthology.orchestra.run.smithi007.stdout:--------------------------- Captured stdout teardown ---------------------------

Actions #1

Updated by Casey Bodley 10 days ago

  • Priority changed from Normal to Urgent
Actions

Also available in: Atom PDF