RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2005227 - Test case failure: /CoreOS/httpd/Regression/bz853128-Custom-HTTP-Error-codes-get-remapped-to-500er
Summary: Test case failure: /CoreOS/httpd/Regression/bz853128-Custom-HTTP-Error-codes-...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: httpd
Version: CentOS Stream
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Stepan Broz
QA Contact: icesalov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-17 07:43 UTC by Branislav Náter
Modified: 2023-05-31 06:22 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-31 06:22:49 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-97419 0 None None None 2021-09-17 07:45:18 UTC

Description Branislav Náter 2021-09-17 07:43:45 UTC
httpd provide different response compare to rhel-8 (see actual and expected result)

Version-Release number of selected component (if applicable):
RHEL-9.0.0-20210907.4
httpd-2.4.48-17.el9.x86_64

Steps to Reproduce: 
Run test in summary



Actual results: 
:: [ 02:27:02 ] :: [   PASS   ] :: Command 'curl -D headers http://localhost/rhts-bz853128 > output' (Expected 0, got 0)
HTTP/1.1 1100 
Content-Length: 5
Server: fake

HTTP/1.1 200 OK
Date: Fri, 17 Sep 2021 06:27:02 GMT
Server: Apache/2.4.48 (Red Hat Enterprise Linux)
Transfer-Encoding: chunked

XXX
abcde:: [ 02:27:07 ] :: [   FAIL   ] :: File '/var/log/httpd/error_log' should contain 'error reading status line from remote server' 
:: [ 02:27:07 ] :: [   PASS   ] :: File '/var/log/httpd/error_log' should not contain 'Segmentation fault' 








Expected results (rhel8):
:: [ 02:27:34 ] :: [   PASS   ] :: Command 'curl -D headers http://localhost/rhts-bz853128 > output' (Expected 0, got 0)
HTTP/1.1 1100 
Content-Length: 5
Server: fake

HTTP/1.1 502 Proxy Error
Date: Fri, 17 Sep 2021 06:27:34 GMT
Server: Apache/2.4.37 (Red Hat Enterprise Linux)
Content-Length: 341
Content-Type: text/html; charset=iso-8859-1

XXX
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Proxy Error</title>
</head><body>
<h1>Proxy Error</h1>
<p>The proxy server received an invalid
response from an upstream server.<br />
The proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>
</body></html>
:: [ 02:27:39 ] :: [   PASS   ] :: File '/var/log/httpd/error_log' should contain 'error reading status line from remote server' 
:: [ 02:27:39 ] :: [   PASS   ] :: File '/var/log/httpd/error_log' should not contain 'Segmentation fault'

Comment 9 RHEL Program Management 2023-03-17 07:27:54 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


Note You need to log in before you can comment on or make changes to this bug.