-
Notifications
You must be signed in to change notification settings - Fork 386
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Command to trigger the tests: env POLARIS_HOST=localhost ./regtests/run.sh. Here are the error message:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f = <function cli.<locals>.cli_inner.<locals>.f at 0x10747c900>, exception_str = '--storage-type'
def check_exception(f, exception_str):
throws = True
try:
f()
throws = False
except Exception as e:
> assert exception_str in str(e)
E AssertionError: assert '--storage-type' in '/Users/ygu/tmp/bugbash/polaris/regtests/t_cli/src/../../../client/python/../../polaris: line 40: ./gradlew: No such file or directory\n'
E + where '/Users/ygu/tmp/bugbash/polaris/regtests/t_cli/src/../../../client/python/../../polaris: line 40: ./gradlew: No such file or directory\n' = str(Exception('/Users/ygu/tmp/bugbash/polaris/regtests/t_cli/src/../../../client/python/../../polaris: line 40: ./gradlew: No such file or directory\n'))
t_cli/src/test_cli.py:76: AssertionError
---------------------------------------------- Captured stdout call -----------------------------------------------
CompletedProcess(args=['bash', '/Users/ygu/tmp/bugbash/polaris/regtests/t_cli/src/../../../client/python/../../polaris', '--access-token', 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJwb2xhcmlzIiwic3ViIjoiMSIsImlhdCI6MTc0OTY2MjE3NiwiZXhwIjoxNzQ5NjY1Nzc2LCJqdGkiOiIzNWI3M2E5NC05OWYwLTRkNWEtYjY5Ni0zYmUwN2IyYjBmZDUiLCJhY3RpdmUiOnRydWUsImNsaWVudF9pZCI6InJvb3QiLCJwcmluY2lwYWxJZCI6MSwic2NvcGUiOiJQUklOQ0lQQUxfUk9MRTpBTEwifQ.VOskoAawUUKpO6KUJ-DTDDF2AtPn3BHDwtOHr-QdAYoex0djDjAxN2BrLAEcKMWc9RVi4uz3OYySRwGnP8QAuIsUK6kprsH-73EoRSDOGM02KTLFRRsKwHdN9SV2xCtoweIJ528ItVgJbqTSpMOVyqdEGwaOMNYDokHJFrEQcgplFYCE3Jc6hLbpLdt4j0G6Yl0VJ3u9itdvS3Rp0RA04Pjb_yuH9kEgLoXJspvck_VH9jpi9ZDFYBUXKV2zBo6BPV95QGw47uOtvEVBeR1AlnM57FVZaZR1FYpQrgtb7YqIvOePtzOz9eodeRT-X7qTN3pRI5vxNY_0umugZGjlVw', '--host', 'localhost', 'catalogs', 'create', 'test_catalog'], returncode=1, stdout='Performing first-time setup for the Python client...\n', stderr='/Users/ygu/tmp/bugbash/polaris/regtests/t_cli/src/../../../client/python/../../polaris: line 40: ./gradlew: No such file or directory\n')
============================================= short test summary info =============================================
FAILED t_cli/src/test_cli.py::test_quickstart_flow - Exception: /Users/ygu/tmp/bugbash/polaris/regtests/t_cli/src/../../../client/python/../../polaris: line 40: ./...
FAILED t_cli/src/test_cli.py::test_catalog_storage_config - Exception: /Users/ygu/tmp/bugbash/polaris/regtests/t_cli/src/../../../client/python/../../polaris: line 40: ./...
FAILED t_cli/src/test_cli.py::test_update_catalog - Exception: /Users/ygu/tmp/bugbash/polaris/regtests/t_cli/src/../../../client/python/../../polaris: line 40: ./...
FAILED t_cli/src/test_cli.py::test_update_principal - Exception: /Users/ygu/tmp/bugbash/polaris/regtests/t_cli/src/../../../client/python/../../polaris: line 40: ./...
FAILED t_cli/src/test_cli.py::test_update_principal_role - Exception: /Users/ygu/tmp/bugbash/polaris/regtests/t_cli/src/../../../client/python/../../polaris: line 40: ./...
FAILED t_cli/src/test_cli.py::test_update_catalog_role - Exception: /Users/ygu/tmp/bugbash/polaris/regtests/t_cli/src/../../../client/python/../../polaris: line 40: ./...
FAILED t_cli/src/test_cli.py::test_nested_namespace - Exception: /Users/ygu/tmp/bugbash/polaris/regtests/t_cli/src/../../../client/python/../../polaris: line 40: ./...
FAILED t_cli/src/test_cli.py::test_list_privileges - Exception: /Users/ygu/tmp/bugbash/polaris/regtests/t_cli/src/../../../client/python/../../polaris: line 40: ./...
FAILED t_cli/src/test_cli.py::test_invalid_commands - AssertionError: assert '--storage-type' in '/Users/ygu/tmp/bugbash/polaris/regtests/t_cli/src/../../../client/...
================================================ 9 failed in 0.43s ================================================
Wed Jun 11 10:16:20 PDT 2025: Test FAILED: t_cli:test_cli.py
To Reproduce
No response
Actual Behavior
No response
Expected Behavior
No response
Additional context
No response
System information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working