Bug 14463 - intermittent date.DateTest.test_date failure
Summary: intermittent date.DateTest.test_date failure
Status: RESOLVED FIXED
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: oeqa/runtime (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.4 M3
Assignee: Alexandre Belloni
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2021-06-30 22:18 UTC by Alexandre Belloni
Modified: 2021-08-17 12:55 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Belloni 2021-06-30 22:18:58 UTC
date.DateTest.test_date failed with:

Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemux86-64-alt/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemux86-64-alt/build/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/home/pokybuild/yocto-worker/qemux86-64-alt/build/meta/lib/oeqa/runtime/cases/date.py", line 38, in test_date
    self.assertTrue(p, msg=msg)
AssertionError: None is not true : The date was not set correctly, output: Tue, 09 Aug 2016 10:01:00 +0000

As written, the test uses the broken out tie and can only handle about 59s of delay, this needs to be changed to use the UNIX timestamp to allow for a bigger delay.