#9205 [ipatests] wrong datetime parameters in test_integration/test_krbtpolicy.py
Closed: fixed a year ago by frenaud. Opened 2 years ago by fdvorak.

ipa-server-4.10.0-2.el9.noarch

test_integration/test_krbtpolicy.py started to failed because there is a problem with a wrong python3.9 datetime parameters (datetime.strptime) from TGT ticket.

Fix:
change %Y to %y

      raise ValueError("time data %r does not match format %r" %
                         (data_string, format))

E ValueError: time data '07/18/22 07:04:14' does not match format '%m/%d/%Y %H:%M:%S'


Metadata Update from @amore:
- Issue assigned to fdvorak

2 years ago

Metadata Update from @fdvorak:
- Issue tagged with: test-failure

2 years ago

master:

  • 1611d54 ipa tests: Add LANG before kinit command to fix issue with locale settings

ipa-4-10:

  • 2520a7a ipa tests: Add LANG before kinit command to fix issue with locale settings

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata