Bug 14463

Summary: intermittent date.DateTest.test_date failure
Product: [QA/Testing] Runtime Testing Reporter: Alexandre Belloni <alexandre.belloni>
Component: oeqa/runtimeAssignee: Alexandre Belloni <alexandre.belloni>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: randy.macleod
Version: unspecified   
Target Milestone: 3.4 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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.