Skip to content

Instantly share code, notes, and snippets.

@CrackerJackMack
Created February 7, 2018 08:46
Show Gist options
  • Save CrackerJackMack/c77370ff8fb8b242c7be7dcef4ad0389 to your computer and use it in GitHub Desktop.
Save CrackerJackMack/c77370ff8fb8b242c7be7dcef4ad0389 to your computer and use it in GitHub Desktop.
[INFO ] Running state [/opt/wkhtmltopdf] at time 08:33:55.587328
[INFO ] Executing state file.directory for [/opt/wkhtmltopdf]
[INFO ] Directory /opt/wkhtmltopdf is in the correct state
Directory /opt/wkhtmltopdf updated
[INFO ] Completed state [/opt/wkhtmltopdf] at time 08:33:55.589224 duration_in_ms=1.897
[DEBUG ] LazyLoaded archive.extracted
[INFO ] Running state [/opt/wkhtmltopdf] at time 08:33:55.592188
[INFO ] Executing state archive.extracted for [/opt/wkhtmltopdf]
[DEBUG ] Initializing new AsyncZeroMQReqChannel for ('/etc/salt/pki/minion', 'minion', 'tcp://192.168.37.10:4506', 'aes')
[DEBUG ] Initializing new AsyncAuth for ('/etc/salt/pki/minion', 'minion', 'tcp://192.168.37.10:4506')
[DEBUG ] Requesting URL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/SHA256SUMS using GET method
[DEBUG ] file.extract_hash: Extracting any supported hash for file matching source_hash_name '*wkhtmltox-0.12.4_linux-generic-amd64.tar.xz'
[DEBUG ] file.extract_hash: If no source_hash_name match found, will extract any supported hash for file matching: https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
[DEBUG ] file.extract_hash: Line '049b2cdec9a8254f0ef8ac273afaf54f7e25459a273e27189591edc7d7cf29db *wkhtmltox-0.12.4_linux-generic-amd64.tar.xz' matches source_hash_name '*wkhtmltox-0.12.4_linux-generic-amd64.tar.xz'
[DEBUG ] file.extract_hash: Line '4087b264ec860ab0b0f9b7299ef733fc51e8e39f42047a06724b7450016ab9b8 *wkhtmltox-0.12.4_linux-generic-i386.tar.xz' contains sha256 hash '4087b264ec860ab0b0f9b7299ef733fc51e8e39f42047a06724b7450016ab9b8', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Line '2788d14d24eae350940b5757b82728e870b2f1b8767fe8842ca179f46c2b6dc5 *wkhtmltox-0.12.4_mingw-w64-cross-win32.exe' contains sha256 hash '2788d14d24eae350940b5757b82728e870b2f1b8767fe8842ca179f46c2b6dc5', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Line '6ccf4d4056fdee7b25d173b830429f2ceaf7febcc309ee9a21e6fd932edaf4ed *wkhtmltox-0.12.4_mingw-w64-cross-win64.exe' contains sha256 hash '6ccf4d4056fdee7b25d173b830429f2ceaf7febcc309ee9a21e6fd932edaf4ed', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Line '6883d1456201bc9d421cb7dd32a99458be3d56631ea4f292e51b3c1aecbe2723 *wkhtmltox-0.12.4_msvc2015-win32.exe' contains sha256 hash '6883d1456201bc9d421cb7dd32a99458be3d56631ea4f292e51b3c1aecbe2723', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Line '14a5996adc77dc606944dbc0dc682bff104cd38cc1bec19253444cb87f259797 *wkhtmltox-0.12.4_msvc2015-win64.exe' contains sha256 hash '14a5996adc77dc606944dbc0dc682bff104cd38cc1bec19253444cb87f259797', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Line '04561bbb3222826b206bc7f304f283fca8ac8d3cad80d3b1c7414b1c03cb5f70 *wkhtmltox-0.12.4_osx-carbon-i386.pkg' contains sha256 hash '04561bbb3222826b206bc7f304f283fca8ac8d3cad80d3b1c7414b1c03cb5f70', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Line '402209589279e092c94d17c76e6fdda6be5cadb21ce12e7c093c41f82b757506 *wkhtmltox-0.12.4_osx-cocoa-x86-64.pkg' contains sha256 hash '402209589279e092c94d17c76e6fdda6be5cadb21ce12e7c093c41f82b757506', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Line 'edd5eeff7232a0ac817e65f07a464c8ea2df02bc661e5c8507cf90f624fb7b93 *wkhtmltox-0.12.4.tar.bz2' contains sha256 hash 'edd5eeff7232a0ac817e65f07a464c8ea2df02bc661e5c8507cf90f624fb7b93', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Returning sha256 hash '049b2cdec9a8254f0ef8ac273afaf54f7e25459a273e27189591edc7d7cf29db' as a match of *wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
[DEBUG ] file.extract_hash: Extracting any supported hash for file matching source_hash_name '*wkhtmltox-0.12.4_linux-generic-amd64.tar.xz'
[DEBUG ] file.extract_hash: If no source_hash_name match found, will extract any supported hash for file matching: https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
[DEBUG ] file.extract_hash: Line '049b2cdec9a8254f0ef8ac273afaf54f7e25459a273e27189591edc7d7cf29db *wkhtmltox-0.12.4_linux-generic-amd64.tar.xz' matches source_hash_name '*wkhtmltox-0.12.4_linux-generic-amd64.tar.xz'
[DEBUG ] file.extract_hash: Line '4087b264ec860ab0b0f9b7299ef733fc51e8e39f42047a06724b7450016ab9b8 *wkhtmltox-0.12.4_linux-generic-i386.tar.xz' contains sha256 hash '4087b264ec860ab0b0f9b7299ef733fc51e8e39f42047a06724b7450016ab9b8', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Line '2788d14d24eae350940b5757b82728e870b2f1b8767fe8842ca179f46c2b6dc5 *wkhtmltox-0.12.4_mingw-w64-cross-win32.exe' contains sha256 hash '2788d14d24eae350940b5757b82728e870b2f1b8767fe8842ca179f46c2b6dc5', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Line '6ccf4d4056fdee7b25d173b830429f2ceaf7febcc309ee9a21e6fd932edaf4ed *wkhtmltox-0.12.4_mingw-w64-cross-win64.exe' contains sha256 hash '6ccf4d4056fdee7b25d173b830429f2ceaf7febcc309ee9a21e6fd932edaf4ed', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Line '6883d1456201bc9d421cb7dd32a99458be3d56631ea4f292e51b3c1aecbe2723 *wkhtmltox-0.12.4_msvc2015-win32.exe' contains sha256 hash '6883d1456201bc9d421cb7dd32a99458be3d56631ea4f292e51b3c1aecbe2723', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Line '14a5996adc77dc606944dbc0dc682bff104cd38cc1bec19253444cb87f259797 *wkhtmltox-0.12.4_msvc2015-win64.exe' contains sha256 hash '14a5996adc77dc606944dbc0dc682bff104cd38cc1bec19253444cb87f259797', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Line '04561bbb3222826b206bc7f304f283fca8ac8d3cad80d3b1c7414b1c03cb5f70 *wkhtmltox-0.12.4_osx-carbon-i386.pkg' contains sha256 hash '04561bbb3222826b206bc7f304f283fca8ac8d3cad80d3b1c7414b1c03cb5f70', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Line '402209589279e092c94d17c76e6fdda6be5cadb21ce12e7c093c41f82b757506 *wkhtmltox-0.12.4_osx-cocoa-x86-64.pkg' contains sha256 hash '402209589279e092c94d17c76e6fdda6be5cadb21ce12e7c093c41f82b757506', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Line 'edd5eeff7232a0ac817e65f07a464c8ea2df02bc661e5c8507cf90f624fb7b93 *wkhtmltox-0.12.4.tar.bz2' contains sha256 hash 'edd5eeff7232a0ac817e65f07a464c8ea2df02bc661e5c8507cf90f624fb7b93', but line did not meet the search criteria
[DEBUG ] file.extract_hash: Returning sha256 hash '049b2cdec9a8254f0ef8ac273afaf54f7e25459a273e27189591edc7d7cf29db' as a match of *wkhtmltox-0.12.4_linux-generic-amd64.tar.xz
[DEBUG ] file.cached: {'comment': 'File is already cached to /var/cache/salt/minion/extrn_files/devenv/github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz with hash 049b2cdec9a8254f0ef8ac273afaf54f7e25459a273e27189591edc7d7cf29db', 'changes': {}, 'name': 'https:/$
github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz', 'result': True}
[ERROR ] An exception occurred in this state: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1851, in call
**cdata['kwargs'])
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1795, in wrapper
return f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/salt/states/archive.py", line 986, in extracted
existing_cached_source_sum = _read_cached_checksum(cached)
File "/usr/lib/python2.7/dist-packages/salt/states/archive.py", line 115, in _read_cached_checksum
checksum_file = _checksum_file_path(path)
File "/usr/lib/python2.7/dist-packages/salt/states/archive.py", line 66, in _checksum_file_path
relpath = '.'.join((os.path.relpath(path, __opts__['cachedir']), 'hash'))
File "/usr/lib/python2.7/posixpath.py", line 428, in relpath
raise ValueError("no path specified")
ValueError: no path specified
[INFO ] Completed state [/opt/wkhtmltopdf] at time 08:33:56.306775 duration_in_ms=714.587
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment