Bug 1679307

Summary: idna system tests are failing, some names are not rejected
Product: Red Hat Enterprise Linux 8 Reporter: Petr Menšík <pemensik>
Component: bindAssignee: Petr Menšík <pemensik>
Status: CLOSED ERRATA QA Contact: Petr Sklenar <psklenar>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.0CC: psklenar
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: bind-9.11.4-23.P2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 22:13:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1680920    
Bug Blocks: 1684588, 1701002    

Description Petr Menšík 2019-02-20 20:54:51 UTC
Description of problem:
Catched problem by internal test suite, test bin/tests/system/idna.

Version-Release number of selected component (if applicable):
bind-9.11.4-15.P2.el8.x86_64

How reproducible:
always

Steps to Reproduce:
1. rhpkg clone bind && rhpkg compile
2. cd bind-9.11* && sh bin/tests/system/ifconfig.sh up
3. cd build/bin/tests/system && sh run.sh idna

Actual results:
:idna:Wed Feb 20 15:20:41 EST 2019
T:idna:1:A
A:idna:System test idna
I:idna:PORTRANGE:5300 - 5399
I:idna:IDNA is enabled, all IDNA tests will be performed
I:idna:Checking valid ASCII label (1)
I:idna:Checking valid ASCII label: +noidnin +noidnout (2)
I:idna:Checking valid ASCII label: +noidnin +idnout (3)
I:idna:Checking valid ASCII label: +idnin   +noidnout (4)
I:idna:Checking valid ASCII label: +idnin   +idnout (5)
I:idna:Checking valid non-ASCII label (6)
I:idna:Checking valid non-ASCII label: +noidnin +noidnout (7)
I:idna:Checking valid non-ASCII label: +noidnin +idnout (8)
I:idna:Checking valid non-ASCII label: +idnin   +noidnout (9)
I:idna:Checking valid non-ASCII label: +idnin   +idnout (10)
I:idna:Checking that non-transitional IDNA processing is used (11)
I:idna:Checking that non-transitional IDNA processing is used: +noidnin +noidnout (12)
I:idna:Checking that non-transitional IDNA processing is used: +noidnin +idnout (13)
I:idna:Checking that non-transitional IDNA processing is used: +idnin   +noidnout (14)
I:idna:Checking that non-transitional IDNA processing is used: +idnin   +idnout (15)
I:idna:Second check that non-transitional IDNA processing is used (16)
I:idna:Second check that non-transitional IDNA processing is used: +noidnin +noidnout (17)
I:idna:Second check that non-transitional IDNA processing is used: +noidnin +idnout (18)
I:idna:Second check that non-transitional IDNA processing is used: +idnin   +noidnout (19)
I:idna:Second check that non-transitional IDNA processing is used: +idnin   +idnout (20)
I:idna:Checking valid A-label (21)
I:idna:Checking valid A-label: +noidnin +noidnout (22)
I:idna:Checking valid A-label: +noidnin +idnout (23)
I:idna:Checking valid A-label: +idnin +noidnout (24)
I:idna:Checking valid A-label: +idnin +idnout (25)
I:idna:Checking punycode label shorter than minimum valid length (26)
I:idna:Checking punycode label shorter than minimum valid length: +noidnin +noidnout (27)
I:idna:Checking punycode label shorter than minimum valid length: +noidnin   +idnout (28)
I:idna:Checking punycode label shorter than minimum valid length: +idnin   +noidnout (29)
I:idna:Checking punycode label shorter than minimum valid length: +idnin     +idnout (30)
I:idna:Checking fake A-label (31)
I:idna:Checking fake A-label: +noidnin +noidnout (32)
I:idna:Checking fake A-label: +noidnin   +idnout (33)
I:idna:failed: expected answer xn--ahahah., actual result 

                                                          .
I:idna:Checking fake A-label: +idnin   +noidnout (34)
I:idna:Checking fake A-label: +idnin     +idnout (35)
I:idna:Checking punycode label shorter than minimum valid length (36)
I:idna:Checking punycode label shorter than minimum valid length: +noidnin +noidnout (37)
I:idna:Checking punycode label shorter than minimum valid length: +noidnin   +idnout (38)
I:idna:Checking punycode label shorter than minimum valid length: +idnin   +noidnout (39)
I:idna:Checking punycode label shorter than minimum valid length: +idnin     +idnout (40)
I:idna:Checking invalid U-label (41)
I:idna:Checking invalid U-label: +noidnin +noidnout (42)
I:idna:Checking invalid U-label: +noidnin +idnout (43)
I:idna:Checking invalid U-label: +idnin   +noidnout (44)
I:idna:Checking invalid U-label: +idnin   +idnout (45)
R:idna:FAIL
E:idna:Wed Feb 20 15:20:44 EST 2019


Expected results:
...
R:idna:PASS


Additional info:
Requires fix from upstream commit [1]. Alternative is to rebase to 9.11.5 release.

1. https://gitlab.isc.org/isc-projects/bind9/commit/b896fc497212e97cc36119adcf4fe9a8a406cbce

Comment 14 errata-xmlrpc 2019-11-05 22:13:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:3552