| signing | index /home/aki/wrk/git-mozharness-ro/mozharness/base/signing.py |
Generic signing methods.
| Modules | ||||||
| ||||||
| Classes | ||||||||||||||||||
|
| ||||||||||||||||||
| Data | ||
| DEBUG = 'debug' ERROR = 'error' FATAL = 'fatal' IGNORE = 'ignore' INFO = 'info' JarsignerErrorList = [{'level': 'fatal', 'substr': 'command not found'}, {'explanation': 'The store passphrase is probably incorrect!', 'level': 'fatal', 'substr': 'jarsigner error: java.lang.RuntimeException: key...tore was tampered with, or password was incorrect'}, {'explanation': 'The key passphrase is probably incorrect!', 'level': 'fatal', 'regex': <_sre.SRE_Pattern object at 0x8252ba8>}, {'explanation': "The keystore doesn't exist!", 'level': 'fatal', 'regex': <_sre.SRE_Pattern object at 0x82a62e8>}, {'explanation': 'The apk is missing!', 'level': 'fatal', 'substr': 'jarsigner: unable to open jar file:'}] TestJarsignerErrorList = [{'level': 'ignore', 'substr': 'jarsigner: unable to open jar file:'}, {'level': 'fatal', 'substr': 'command not found'}, {'explanation': 'The store passphrase is probably incorrect!', 'level': 'fatal', 'substr': 'jarsigner error: java.lang.RuntimeException: key...tore was tampered with, or password was incorrect'}, {'explanation': 'The key passphrase is probably incorrect!', 'level': 'fatal', 'regex': <_sre.SRE_Pattern object at 0x8252ba8>}, {'explanation': "The keystore doesn't exist!", 'level': 'fatal', 'regex': <_sre.SRE_Pattern object at 0x82a62e8>}, {'explanation': 'The apk is missing!', 'level': 'fatal', 'substr': 'jarsigner: unable to open jar file:'}] UnsignApkErrorList = [{'explanation': 'This apk is already unsigned.', 'level': 'info', 'regex': <_sre.SRE_Pattern object at 0x823d758>}, {'level': 'ignore', 'substr': 'zip error: Nothing to do!'}, {'level': 'error', 'substr': 'command not found'}, {'level': 'warning', 'substr': 'zip warning:'}, {'level': 'error', 'substr': 'zip error:'}, {'level': 'error', 'substr': 'Cannot open file: it does not appear to be a valid archive'}] ZipErrorList = [{'level': 'error', 'substr': 'command not found'}, {'level': 'warning', 'substr': 'zip warning:'}, {'level': 'error', 'substr': 'zip error:'}, {'level': 'error', 'substr': 'Cannot open file: it does not appear to be a valid archive'}] ZipalignErrorList = [{'level': 'error', 'substr': 'command not found'}, {'level': 'error', 'regex': <_sre.SRE_Pattern object at 0x829fe18>}, {'level': 'error', 'regex': <_sre.SRE_Pattern object at 0x826b0e8>}, {'level': 'error', 'substr': "Input and output can't be the same file"}] | ||