DEBUG: Executing python function fetcher_hashes_dummyfunc
DEBUG: Python function fetcher_hashes_dummyfunc finished
DEBUG: Executing python function do_fetch
NOTE: Current time: Wed Jan 21 06:47:44 2026; DB time: Tue Jan 20 06:45:21 2026
NOTE: Updating 2002
ERROR: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_fetch(d)
     0003:
File: '/srv/pokybuild/yocto-worker/metrics/build/layers/openembedded-core/meta/recipes-core/meta/cve-update-db-native.bb', lineno: 80, function: do_fetch
     0076:    bb.utils.mkdirhier(os.path.dirname(db_tmp_file))
     0077:    if os.path.exists(db_file):
     0078:        shutil.copy2(db_file, db_tmp_file)
     0079:
 *** 0080:    if update_db_file(db_tmp_file, d):
     0081:        # Update downloaded correctly, we can swap files. To avoid potential
     0082:        # NFS caching issues, ensure that the destination file has a new inode
     0083:        # number. We do this in two steps as the downloads directory may be on
     0084:        # a different filesystem to tmpdir we're working in.
File: '/srv/pokybuild/yocto-worker/metrics/build/layers/openembedded-core/meta/recipes-core/meta/cve-update-db-native.bb', lineno: 167, function: update_db_file
     0163:            json_url, meta_url = db_file_names(d, year, is_nvd)
     0164:
     0165:            # Retrieve meta last modified date
     0166:            try:
 *** 0167:                response = urllib.request.urlopen(meta_url, timeout=cve_socket_timeout)
     0168:            except urllib.error.URLError as e:
     0169:                cve_f.write('Warning: CVE db update error, Unable to fetch CVE data.\n\n')
     0170:                bb.warn("Failed to fetch CVE data (%s)" % e)
     0171:                import socket
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/urllib/request.py', lineno: 189, function: urlopen
     0185:    elif _opener is None:
     0186:        _opener = opener = build_opener()
     0187:    else:
     0188:        opener = _opener
 *** 0189:    return opener.open(url, data, timeout)
     0190:
     0191:def install_opener(opener):
     0192:    global _opener
     0193:    _opener = opener
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/urllib/request.py', lineno: 489, function: open
     0485:            meth = getattr(processor, meth_name)
     0486:            req = meth(req)
     0487:
     0488:        sys.audit('urllib.Request', req.full_url, req.data, req.headers, req.get_method())
 *** 0489:        response = self._open(req, data)
     0490:
     0491:        # post-process response
     0492:        meth_name = protocol+"_response"
     0493:        for processor in self.process_response.get(protocol, []):
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/urllib/request.py', lineno: 506, function: _open
     0502:        if result:
     0503:            return result
     0504:
     0505:        protocol = req.type
 *** 0506:        result = self._call_chain(self.handle_open, protocol, protocol +
     0507:                                  '_open', req)
     0508:        if result:
     0509:            return result
     0510:
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/urllib/request.py', lineno: 466, function: _call_chain
     0462:        # could.  Otherwise, they return the response.
     0463:        handlers = chain.get(kind, ())
     0464:        for handler in handlers:
     0465:            func = getattr(handler, meth_name)
 *** 0466:            result = func(*args)
     0467:            if result is not None:
     0468:                return result
     0469:
     0470:    def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/urllib/request.py', lineno: 1367, function: https_open
     1363:                context.check_hostname = check_hostname
     1364:            self._context = context
     1365:
     1366:        def https_open(self, req):
 *** 1367:            return self.do_open(http.client.HTTPSConnection, req,
     1368:                                context=self._context)
     1369:
     1370:        https_request = AbstractHTTPHandler.do_request_
     1371:
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/urllib/request.py', lineno: 1323, function: do_open
     1319:                h.request(req.get_method(), req.selector, req.data, headers,
     1320:                          encode_chunked=req.has_header('Transfer-encoding'))
     1321:            except OSError as err: # timeout error
     1322:                raise URLError(err)
 *** 1323:            r = h.getresponse()
     1324:        except:
     1325:            h.close()
     1326:            raise
     1327:
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/http/client.py', lineno: 1428, function: getresponse
     1424:            response = self.response_class(self.sock, method=self._method)
     1425:
     1426:        try:
     1427:            try:
 *** 1428:                response.begin()
     1429:            except ConnectionError:
     1430:                self.close()
     1431:                raise
     1432:            assert response.will_close != _UNKNOWN
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/http/client.py', lineno: 331, function: begin
     0327:            return
     0328:
     0329:        # read until we get a non-100 response
     0330:        while True:
 *** 0331:            version, status, reason = self._read_status()
     0332:            if status != CONTINUE:
     0333:                break
     0334:            # skip the header from the 100 response
     0335:            skipped_headers = _read_headers(self.fp)
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/http/client.py', lineno: 292, function: _read_status
     0288:        self.length = _UNKNOWN          # number of bytes left in response
     0289:        self.will_close = _UNKNOWN      # conn will close at end of response
     0290:
     0291:    def _read_status(self):
 *** 0292:        line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
     0293:        if len(line) > _MAXLINE:
     0294:            raise LineTooLong("status line")
     0295:        if self.debuglevel > 0:
     0296:            print("reply:", repr(line))
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/socket.py', lineno: 719, function: readinto
     0715:        self._checkReadable()
     0716:        if self._timeout_occurred:
     0717:            raise OSError("cannot read from timed out object")
     0718:        try:
 *** 0719:            return self._sock.recv_into(b)
     0720:        except timeout:
     0721:            self._timeout_occurred = True
     0722:            raise
     0723:        except error as e:
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/ssl.py', lineno: 1304, function: recv_into
     1300:            if flags != 0:
     1301:                raise ValueError(
     1302:                  "non-zero flags not allowed in calls to recv_into() on %s" %
     1303:                  self.__class__)
 *** 1304:            return self.read(nbytes, buffer)
     1305:        else:
     1306:            return super().recv_into(buffer, nbytes, flags)
     1307:
     1308:    def recvfrom(self, buflen=1024, flags=0):
File: 'TOPDIRtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/ssl.py', lineno: 1138, function: read
     1134:        if self._sslobj is None:
     1135:            raise ValueError("Read on closed or unwrapped SSL socket.")
     1136:        try:
     1137:            if buffer is not None:
 *** 1138:                return self._sslobj.read(len, buffer)
     1139:            else:
     1140:                return self._sslobj.read(len)
     1141:        except SSLError as x:
     1142:            if x.args[0] == SSL_ERROR_EOF and self.suppress_ragged_eofs:
Exception: TimeoutError: The read operation timed out

DEBUG: Python function do_fetch finished

Error details

Submitted on:
21/01/26 00:52
Error type:
Recipe
Task:
do_fetch
Recipe:
cve-update-db-native
Recipe version:
1.0-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
opensuseleap-15.5/opensuseleap-15.5
Branch:
whinlatter
Commit:
dd10706cfafb5574b7cf316fca2300d166ef71b0
Build:
#225218
Submitter:
yp-ab-opensuse155-vk-2.yocto.io
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/103/builds/2630
Similar errors:
0
Open a bug