Joe McDonnell created IMPALA-12262:
--------------------------------------
Summary: webserver-test's TestPostWithSpnego and
StartWithPasswordFileTest fail on Redhat 9
Key: IMPALA-12262
URL: https://issues.apache.org/jira/browse/IMPALA-12262
Project: IMPALA
Issue Type: Bug
Components: Backend
Affects Versions: Impala 4.3.0
Reporter: Joe McDonnell
On Redhat 9 / Ubuntu 22, two webserver tests fail:
{noformat}
curl -w "%{http_code}" -v -f -d '' -b db5f-b9c8-6ec2-bd50/cookiejar
'http://127.0.0.1:27890'
* Trying 127.0.0.1:27890...
* Connected to 127.0.0.1 (127.0.0.1) port 27890 (#0)
> POST / HTTP/1.1
> Host: 127.0.0.1:27890
> User-Agent: curl/7.76.1
> Accept: */*
> Cookie:
> impala.auth=1bAYOAwfXdLaMXoJbcA6FhIT7JWFt4d6B5ncwo5IfsQ=&[email protected]&t=7039356&r=182601386
> Content-Length: 0
> Content-Type: application/x-www-form-urlencoded
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 403 Forbidden
* Connection #0 to host 127.0.0.1 left intact
403/home/joe/impala/be/src/util/webserver-test.cc:643: Failure
Expected: (system(curl("-d '' -b " + cookie.path().string()).c_str())) != (0),
actual: 0 vs 0
{noformat}
What is weird is that curl is getting the 403 HTTP code, but it is still
returning a zero exit code (we have the --fail flag set). I added a "-w
%\{http_code}" argument to curl and it prints out 403. This could be a curl bug.
This looks like a test-only issue, given that we are returning the 403 code
properly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)