Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1073950 - Test suite failure: test_cookie_str_changed_mac
Test suite failure: test_cookie_str_changed_mac
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: m2crypto (Show other bugs)
7.0
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: Miloslav Trmač
Stanislav Zidek
:
Depends On:
Blocks: 1244705 1579772
  Show dependency treegraph
 
Reported: 2014-03-07 09:45 EST by Hubert Kario
Modified: 2018-05-18 05:59 EDT (History)
2 users (show)

See Also:
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 07:58:19 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
m2crypto-0.21.1-test_cookie_str_changed.patch (1.30 KB, patch)
2015-07-07 08:56 EDT, Miloslav Trmač
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2165 normal SHIPPED_LIVE m2crypto update 2015-11-19 06:21:50 EST

  None (edit)
Description Hubert Kario 2014-03-07 09:45:52 EST
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 Product and Program Management 2014-03-22 01:50:25 EDT
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 08:56:42 EDT
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 07:58:19 EST
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

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