There's an ongoing issue with the autobuilder NFS:
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/6463/steps/14/logs/stdio

The file entry exists, but os.stat returns a 'file not found; error. It's not
clear how and why such entries appear, but they do produce printdiff test 
failures
and should not be relevant in context of the printdiff.

Signed-off-by: Alexander Kanavin <a...@linutronix.de>
---
 meta/lib/oe/sstatesig.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index aa891ecf0a0..61770fbe673 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -418,7 +418,10 @@ def find_siginfo(pn, taskname, taskhashlist, d):
                 actual_hashval = get_hashval(fullpath)
                 if actual_hashval in hashfiles:
                     continue
-                hashfiles[actual_hashval] = {'path':fullpath, 'sstate':True, 
'time':get_time(fullpath)}
+                try:
+                    hashfiles[actual_hashval] = {'path':fullpath, 
'sstate':True, 'time':get_time(fullpath)}
+                except FileNotFoundError:
+                    bb.warn("Could not obtain mtime for {}".format(fullpath))
 
     return hashfiles
 
-- 
2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#196260): 
https://lists.openembedded.org/g/openembedded-core/message/196260
Mute This Topic: https://lists.openembedded.org/mt/104600582/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to