--- /dev/null
--- /dev/null
++SAM:INFO:2024-06-18,17:14:59:engine_factory.py: 39> Engines for language python are created: ['SAMEngineRadon', 'SAMEnginePmdcpd']
++SAM:ERROR:2024-06-18,17:14:59: sam_errors.py: 44>
++======================================================================
++ ERROR OCCURRED
++======================================================================
++| Error code: SAM-CM-01
++|
++| Directory /srv/wangbiao/SAM/mic/.sam-dir is not empty, but it is not for SAM Directory
++|
++| Help message:
++| Please check the error message.
++======================================================================
++Please follow the guide in the help message to resolve the issue.
++======================================================================
++
++SAM:INFO:2024-06-18,17:15:00:request_util_runner.py: 32> b"HTTPSConnectionPool(host='analysishub.sec.samsung.net', port=443): Max retries exceeded with url: /sam/stats/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)'),))\n"
--- /dev/null
--- /dev/null
++{"histories": [{"cwd": "/srv/wangbiao/SAM/mic", "options": {"version": false, "action": "scan", "build_command": [], "language": "PYTHON", "sam_dir": ".sam-dir", "source_path": "/srv/wangbiao/SAM/scm_CQM/mic", "log_level": "INFO", "svace_path": null, "exclude": null, "pmd_heap_size": null, "only_pmd": false, "skip_pmd": false, "skip_svace": false, "script_scra": false, "py_relation": false, "clean_command": "", "pmd_use_built_path": false}, "args": ["/srv/wangbiao/SAM/SAM_v7.3.0-linux/bin/__init__.py", "scan", "--language", "python", "--source-path", "/srv/wangbiao/SAM/scm_CQM/mic"], "timestamp": 1718698499665.9834}]}
rpmloc = h
hdr = readRpmHeader(self.ts, h)
- m = re.match("(.*)-(\d+.*)-(\d+\.\d+)\.(.+)\.rpm", os.path.basename(rpmloc))
- #if m:
+ m = re.match(r"(.*)-(\d+.*)-(\d+\.\d+)\.(.+)\.rpm", os.path.basename(rpmloc))
+ if m:
pkgname = m.group(1)
- else:
+ #else:
pkgname = os.path.basename(rpmloc)
msger.info("Next install: %s " % pkgname)
except:
rpmloc = h
- m = re.match("(.*)-(\d+.*)-(\d+\.\d+)\.(.+)\.rpm", os.path.basename(rpmloc))
- #if m:
+ m = re.match(r"(.*)-(\d+.*)-(\d+\.\d+)\.(.+)\.rpm", os.path.basename(rpmloc))
+ if m:
pkgname = m.group(1)
- else:
+ #else:
pkgname = os.path.basename(rpmloc)
- if self.output:
+ #if self.output:
fmt = self._makefmt(percent)
msg = fmt % (self.headmsg, pkgname)
- if msg != self.lastmsg:
+ #if msg != self.lastmsg:
self.lastmsg = msg
msger.info(msg)