Bug 1073950

Summary: Test suite failure: test_cookie_str_changed_mac
Product: Red Hat Enterprise Linux 7 Reporter: Alicja Kario <hkario>
Component: m2cryptoAssignee: Miloslav Trmač <mitr>
Status: CLOSED ERRATA QA Contact: Stanislav Zidek <szidek>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: ksrot, mitr
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: m2crypto-0.21.1-17.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1244705 1579772 (view as bug list) Environment:
Last Closed: 2015-11-19 12:58:19 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:    
Bug Blocks: 1244705, 1579772    
Attachments:
Description Flags
m2crypto-0.21.1-test_cookie_str_changed.patch none

Description Alicja Kario 2014-03-07 14:45:52 UTC
Description of problem:
case test_cookie_str_changed_mac fails in test suite

Version-Release number of selected component (if applicable):
m2crypto-0.21.1-14.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Downlad srpm
2. run python alltests.py
3.

Actual results:
======================================================================
FAIL: test_cookie_str_changed_mac (test_authcookie.AuthCookieTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/M2Crypto-0.21.1/tests/test_authcookie.py", line 136, in test_cookie_str_changed_mac
    self.failIf(self.jar.isGoodCookieString(s.output()))
AssertionError: True is not false

----------------------------------------------------------------------
Ran 240 tests in 92.020s

FAILED (failures=1, skipped=1)

Expected results:
all tests pass

Additional info:

Comment 1 RHEL Program Management 2014-03-22 05:50:25 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 Miloslav Trmač 2015-07-07 12:56:42 UTC
Created attachment 1049278 [details]
m2crypto-0.21.1-test_cookie_str_changed.patch

The test tests that a modification of MAC is detected by replacing one character by 'X', but from time to time the original MAC may have an 'X' in that place, in which case the modification doesn’t happen.

Comment 9 errata-xmlrpc 2015-11-19 12:58:19 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://rhn.redhat.com/errata/RHBA-2015-2165.html