jssimporter / JSSImporter

JSSImporter is deprecated. Please see the wiki for alternatives
Apache License 2.0
147 stars 38 forks source link

[1.0.3] Unable to complete recipe run without erroring, but upload appears to succeed. #167

Open rtrouton opened 4 years ago

rtrouton commented 4 years ago

I'm seeing an odd problem with a Jamf Cloud-hosted server, where I can see the server return the ID number of the uploaded package, but JSSImporter isn't able to properly work with it for some reason:

JSSImporter: Waiting to get Package ID from server (none reported)...
JSSImporter: Package ID '4' verified on server
JSSImporter: Waiting to get Package ID from server (none reported)...
JSSImporter: Package ID '4' verified on server
Response Code: 500  Response: Internal Server Error. The server encountered an unexpected condition which prevented it from fulfilling the request https://servername.jamfcloud.com/JSSResource/packages/id/4.
Failed.

macOS 10.14.6 (fully updated) AutoPkg 1.2 python-jss version: 2.0.1. JSSImporter version: 1.0.3.

Jamf Pro server is running a beta version of 10.16.x.

Full output of run is below. In this case, I'm trying to upload a Mozilla Firefox installer package.

computername:~ autopkg$ autopkg run com.company.jss.MozillaFirefox -vvv
Processing com.company.jss.MozillaFirefox...
WARNING: com.company.jss.MozillaFirefox is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
{u'API_PASSWORD': u'Password_Goes_Here',
 u'API_USERNAME': u'Username_Goes_Here',
 'AUTOPKG_VERSION': u'1.2',
 u'CATEGORY': u'Apps',
 u'DESCRIPTION': u'Web Browser.',
 u'GIT_PATH': u'/Library/Developer/CommandLineTools/usr/bin/git',
 u'GROUP_NAME': u'Update-Smart-Firefox',
 u'GROUP_TEMPLATE': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/SmartGroupTemplate.xml',
 u'ICON': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/MozillaFirefox.png',
 u'JSS_REPOS': [{u'type': u'CDP'}],
 u'JSS_URL': u'https://servername.jamfcloud.com',
 u'LOCALE': u'en-US',
 u'NAME': u'Firefox',
 'PARENT_RECIPES': [u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/MozillaFirefox/MozillaFirefox.pkg.recipe',
                    u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/Mozilla/FirefoxSignedPkg.download.recipe'],
 u'POLICY_CATEGORY': u'Testing',
 u'POLICY_TEMPLATE': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/PolicyTemplate.xml',
 'RECIPE_CACHE_DIR': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox',
 'RECIPE_DIR': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS',
 'RECIPE_OVERRIDE_DIRS': ['~/Library/AutoPkg/RecipeOverrides'],
 'RECIPE_PATH': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/MozillaFirefox.jss.recipe',
 u'RECIPE_REPOS': {u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes': {u'URL': u'https://github.com/autopkg/apettinen-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes': {u'URL': u'https://github.com/autopkg/arubdesu-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.bkerns-recipes': {u'URL': u'https://github.com/autopkg/bkerns-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes': {u'URL': u'https://github.com/autopkg/cgerke-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes': {u'URL': u'https://github.com/autopkg/dataJAR-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahampugh-recipes': {u'URL': u'https://github.com/autopkg/grahampugh-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes': {u'URL': u'https://github.com/autopkg/hansen-m-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes': {u'URL': u'https://github.com/autopkg/hjuutilainen-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes': {u'URL': u'https://github.com/autopkg/homebysix-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.jss-recipes': {u'URL': u'https://github.com/autopkg/jss-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes': {u'URL': u'https://github.com/autopkg/justinrummel-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes': {u'URL': u'https://github.com/autopkg/killahquam-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes': {u'URL': u'https://github.com/autopkg/recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes': {u'URL': u'https://github.com/autopkg/rtrouton-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.smithjw-recipes': {u'URL': u'https://github.com/autopkg/smithjw-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes': {u'URL': u'https://github.com/rtrouton/autopkg_recipes'}},
 u'RECIPE_SEARCH_DIRS': [u'.',
                         u'~/Library/AutoPkg/Recipes',
                         u'/Library/AutoPkg/Recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.bkerns-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.jss-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.smithjw-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahampugh-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/MozillaFirefox'],
 u'SOFTWARETITLE': u'Firefox',
 u'VENDOR': u'Mozilla',
 'verbose': 3}
URLTextSearcher
{'Input': {'re_pattern': u'"LATEST_FIREFOX_VERSION": "([\\d\\.]+)"',
           'result_output_var_name': u'version',
           'url': u'https://product-details.mozilla.org/1.0/firefox_versions.json'}}
URLTextSearcher: No value supplied for CURL_PATH, setting default value of: /usr/bin/curl
URLTextSearcher: Found matching text (version): 69.0.2
{'Output': {u'version': '69.0.2'}}
URLDownloader
{'Input': {'CURL_PATH': '/usr/bin/curl',
           'filename': u'Firefox-69.0.2.pkg',
           'url': u'http://releases.mozilla.org/pub/firefox/releases/69.0.2/mac/en-US/Firefox%2069.0.2.pkg'}}
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: Item at URL is unchanged.
URLDownloader: Using existing /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg
{'Output': {'pathname': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg'}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg'}}
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "Firefox-69.0.2.pkg":
CodeSignatureVerifier:    Status: signed by a certificate trusted by Mac OS X
CodeSignatureVerifier:    Certificate Chain:
CodeSignatureVerifier:     1. Developer ID Installer: Mozilla Corporation (43AQ936H96)
CodeSignatureVerifier:        SHA1 fingerprint: 6E FE 9A 14 AE 39 59 E5 AB AD 4C C9 44 7E 1C D1 06 11 DE A9
CodeSignatureVerifier:        -----------------------------------------------------------------------------
CodeSignatureVerifier:     2. Developer ID Certification Authority
CodeSignatureVerifier:        SHA1 fingerprint: 3B 16 6C 3B 7D C4 B7 51 C9 FE 2A FA B9 13 56 41 E3 88 E1 86
CodeSignatureVerifier:        -----------------------------------------------------------------------------
CodeSignatureVerifier:     3. Apple Root CA
CodeSignatureVerifier:        SHA1 fingerprint: 61 1E 5B 66 2C 59 3A 08 FF 58 D1 4A E2 24 52 D1 98 DF 6C 60
CodeSignatureVerifier: 
CodeSignatureVerifier: Signature is valid
{'Output': {}}
FlatPkgUnpacker
{'Input': {'destination_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/unpack',
           'flat_pkg_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg'}}
FlatPkgUnpacker: Unpacked /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg to /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/unpack
{'Output': {}}
PkgPayloadUnpacker
{'Input': {'destination_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload',
           'pkg_payload_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/unpack/Payload'}}
PkgPayloadUnpacker: Unpacked /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/unpack/Payload to /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload
{'Output': {}}
Versioner
{'Input': {'input_plist_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload/Firefox.app/Contents/Info.plist',
           'plist_version_key': u'CFBundleShortVersionString'}}
Versioner: Found version 69.0.2 in file /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload/Firefox.app/Contents/Info.plist
{'Output': {'version': u'69.0.2'}}
PkgCopier
{'Input': {'pkg_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg',
           'source_pkg': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg'}}
PkgCopier: Copied /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg to /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg
{'Output': {'pkg_copier_summary_result': {'data': {'pkg_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg'},
                                          'summary_text': 'The following packages were copied:'},
            'pkg_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg'}}
PathDeleter
{'Input': {'path_list': (
    "/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload",
    "/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/unpack"
)}}
PathDeleter: Deleted /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload
PathDeleter: Deleted /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/unpack
{'Output': {}}
JSSImporter
{'Input': {'API_PASSWORD': u'Password_Goes_Here',
           'API_USERNAME': u'Username_Goes_Here',
           'JSS_REPOS': [{u'type': u'CDP'}],
           'JSS_URL': u'https://servername.jamfcloud.com',
           'category': u'Apps',
           'pkg_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg',
           'policy_category': u'Testing',
           'policy_template': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/PolicyTemplate.xml',
           'prod_name': u'Firefox',
           'self_service_description': u'Web Browser.',
           'self_service_icon': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/MozillaFirefox.png',
           'version': u'69.0.2'}}
JSSImporter: No value supplied for STOP_IF_NO_JSS_UPLOAD, setting default value of: True
JSSImporter: No value supplied for package_priority, setting default value of: 10
JSSImporter: No value supplied for JSS_VERIFY_SSL, setting default value of: True
JSSImporter: No value supplied for policy_action_type, setting default value of: Install
JSSImporter: No value supplied for package_info, setting default value of: 
JSSImporter: No value supplied for force_policy_state, setting default value of: True
JSSImporter: No value supplied for package_boot_volume_required, setting default value of: True
JSSImporter: No value supplied for skip_scope, setting default value of: False
JSSImporter: No value supplied for skip_scripts, setting default value of: False
JSSImporter: No value supplied for os_requirements, setting default value of: 
JSSImporter: No value supplied for package_notes, setting default value of: 
JSSImporter: No value supplied for package_reboot, setting default value of: False
JSSImporter: No value supplied for JSS_SUPPRESS_WARNINGS, setting default value of: True
JSSImporter: python-jss version: 2.0.1.
JSSImporter: JSSImporter version: 1.0.3.
JSSImporter: Jamf Pro version: '10.16.0-t1569851716'
JSSImporter: Category, type 'category', name 'Apps', already exists on the Jamf Pro server, moving on...
JSSImporter: Category, type 'policy_category', name 'Testing', already exists on the Jamf Pro server, moving on...
JSSImporter: Checking if DP already mounted...
JSSImporter: Package object does not already exist on the Jamf Pro server.
JSSImporter: Copying /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg to all distribution points.
JSSImporter: Copying to https://servername.jamfcloud.com
JSSImporter: Copied '/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg'
JSSImporter: Waiting to get Package ID from server (none reported)...
JSSImporter: Package ID '4' verified on server
JSSImporter: Waiting to get Package ID from server (none reported)...
JSSImporter: Package ID '4' verified on server
Response Code: 500  Response: Internal Server Error. The server encountered an unexpected condition which prevented it from fulfilling the request https://servername.jamfcloud.com/JSSResource/packages/id/4.
Failed.
Receipt written to /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/receipts/com.company.jss-receipt-20191007-191152.plist

The following recipes failed:
    com.company.jss.MozillaFirefox
        Error in com.company.jss.MozillaFirefox: Processor: JSSImporter: Error: Response Code: 500  Response: Internal Server Error. The server encountered an unexpected condition which prevented it from fulfilling the request https://servername.jamfcloud.com/JSSResource/packages/id/4.

The following packages were copied:
    Pkg Path                                                                                            
    --------                                                                                            
    /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg  
computername:~ autopkg$ 
rtrouton commented 4 years ago

I've tested it against another Jamf Cloud instance which is running the current 10.15.1 release and it looks like AutoPkg + JSSImporter is working correctly (please see output below).

I'm going to follow up with Jamf to see if this is an issue with the 10.16 beta version we're running on the first Jamf Cloud instance.

computername:~ autopkg$ autopkg run com.company.jss.MozillaFirefox -vvv
Processing com.company.jss.MozillaFirefox...
WARNING: com.company.jss.MozillaFirefox is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
{u'API_PASSWORD': u'Password_Goes_Here',
 u'API_USERNAME': u'Username_Goes_Here',
 'AUTOPKG_VERSION': u'1.2',
 u'CATEGORY': u'Apps',
 u'DESCRIPTION': u'Web Browser.',
 u'GIT_PATH': u'/Library/Developer/CommandLineTools/usr/bin/git',
 u'GROUP_NAME': u'Update-Smart-Firefox',
 u'GROUP_TEMPLATE': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/SmartGroupTemplate.xml',
 u'ICON': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/MozillaFirefox.png',
 u'JSS_REPOS': [{u'type': u'CDP'}],
 u'JSS_URL': u'https://otherserver.jamfcloud.com',
 u'LOCALE': u'en-US',
 u'NAME': u'Firefox',
 'PARENT_RECIPES': [u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/MozillaFirefox/MozillaFirefox.pkg.recipe',
                    u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/Mozilla/FirefoxSignedPkg.download.recipe'],
 u'POLICY_CATEGORY': u'Testing',
 u'POLICY_TEMPLATE': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/PolicyTemplate.xml',
 'RECIPE_CACHE_DIR': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox',
 'RECIPE_DIR': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS',
 'RECIPE_OVERRIDE_DIRS': ['~/Library/AutoPkg/RecipeOverrides'],
 'RECIPE_PATH': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/MozillaFirefox.jss.recipe',
 u'RECIPE_REPOS': {u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes': {u'URL': u'https://github.com/autopkg/apettinen-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes': {u'URL': u'https://github.com/autopkg/arubdesu-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.bkerns-recipes': {u'URL': u'https://github.com/autopkg/bkerns-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes': {u'URL': u'https://github.com/autopkg/cgerke-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes': {u'URL': u'https://github.com/autopkg/dataJAR-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahampugh-recipes': {u'URL': u'https://github.com/autopkg/grahampugh-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes': {u'URL': u'https://github.com/autopkg/hansen-m-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes': {u'URL': u'https://github.com/autopkg/hjuutilainen-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes': {u'URL': u'https://github.com/autopkg/homebysix-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.jss-recipes': {u'URL': u'https://github.com/autopkg/jss-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes': {u'URL': u'https://github.com/autopkg/justinrummel-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes': {u'URL': u'https://github.com/autopkg/killahquam-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes': {u'URL': u'https://github.com/autopkg/recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes': {u'URL': u'https://github.com/autopkg/rtrouton-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.smithjw-recipes': {u'URL': u'https://github.com/autopkg/smithjw-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes': {u'URL': u'https://github.com/rtrouton/autopkg_recipes'}},
 u'RECIPE_SEARCH_DIRS': [u'.',
                         u'~/Library/AutoPkg/Recipes',
                         u'/Library/AutoPkg/Recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.bkerns-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.jss-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.smithjw-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahampugh-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/MozillaFirefox'],
 u'SOFTWARETITLE': u'Firefox',
 u'VENDOR': u'Mozilla',
 'verbose': 3}
URLTextSearcher
{'Input': {'re_pattern': u'"LATEST_FIREFOX_VERSION": "([\\d\\.]+)"',
           'result_output_var_name': u'version',
           'url': u'https://product-details.mozilla.org/1.0/firefox_versions.json'}}
URLTextSearcher: No value supplied for CURL_PATH, setting default value of: /usr/bin/curl
URLTextSearcher: Found matching text (version): 69.0.2
{'Output': {u'version': '69.0.2'}}
URLDownloader
{'Input': {'CURL_PATH': '/usr/bin/curl',
           'filename': u'Firefox-69.0.2.pkg',
           'url': u'http://releases.mozilla.org/pub/firefox/releases/69.0.2/mac/en-US/Firefox%2069.0.2.pkg'}}
URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False
URLDownloader: Item at URL is unchanged.
URLDownloader: Using existing /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg
{'Output': {'pathname': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg'}}
EndOfCheckPhase
{'Input': {}}
{'Output': {}}
CodeSignatureVerifier
{'Input': {'input_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg'}}
CodeSignatureVerifier: Verifying installer package signature...
CodeSignatureVerifier: Package "Firefox-69.0.2.pkg":
CodeSignatureVerifier:    Status: signed by a certificate trusted by Mac OS X
CodeSignatureVerifier:    Certificate Chain:
CodeSignatureVerifier:     1. Developer ID Installer: Mozilla Corporation (43AQ936H96)
CodeSignatureVerifier:        SHA1 fingerprint: 6E FE 9A 14 AE 39 59 E5 AB AD 4C C9 44 7E 1C D1 06 11 DE A9
CodeSignatureVerifier:        -----------------------------------------------------------------------------
CodeSignatureVerifier:     2. Developer ID Certification Authority
CodeSignatureVerifier:        SHA1 fingerprint: 3B 16 6C 3B 7D C4 B7 51 C9 FE 2A FA B9 13 56 41 E3 88 E1 86
CodeSignatureVerifier:        -----------------------------------------------------------------------------
CodeSignatureVerifier:     3. Apple Root CA
CodeSignatureVerifier:        SHA1 fingerprint: 61 1E 5B 66 2C 59 3A 08 FF 58 D1 4A E2 24 52 D1 98 DF 6C 60
CodeSignatureVerifier: 
CodeSignatureVerifier: Signature is valid
{'Output': {}}
FlatPkgUnpacker
{'Input': {'destination_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/unpack',
           'flat_pkg_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg'}}
FlatPkgUnpacker: Unpacked /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg to /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/unpack
{'Output': {}}
PkgPayloadUnpacker
{'Input': {'destination_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload',
           'pkg_payload_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/unpack/Payload'}}
PkgPayloadUnpacker: Unpacked /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/unpack/Payload to /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload
{'Output': {}}
Versioner
{'Input': {'input_plist_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload/Firefox.app/Contents/Info.plist',
           'plist_version_key': u'CFBundleShortVersionString'}}
Versioner: Found version 69.0.2 in file /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload/Firefox.app/Contents/Info.plist
{'Output': {'version': u'69.0.2'}}
PkgCopier
{'Input': {'pkg_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg',
           'source_pkg': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg'}}
PkgCopier: Copied /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg to /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg
{'Output': {'pkg_copier_summary_result': {'data': {'pkg_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg'},
                                          'summary_text': 'The following packages were copied:'},
            'pkg_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg'}}
PathDeleter
{'Input': {'path_list': (
    "/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload",
    "/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/unpack"
)}}
PathDeleter: Deleted /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload
PathDeleter: Deleted /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/unpack
{'Output': {}}
JSSImporter
{'Input': {'API_PASSWORD': u'Password_Goes_Here',
           'API_USERNAME': u'Username_Goes_Here',
           'JSS_REPOS': [{u'type': u'CDP'}],
           'JSS_URL': u'https://otherserver.jamfcloud.com',
           'category': u'Apps',
           'pkg_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg',
           'policy_category': u'Testing',
           'policy_template': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/PolicyTemplate.xml',
           'prod_name': u'Firefox',
           'self_service_description': u'Web Browser.',
           'self_service_icon': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/MozillaFirefox.png',
           'version': u'69.0.2'}}
JSSImporter: No value supplied for STOP_IF_NO_JSS_UPLOAD, setting default value of: True
JSSImporter: No value supplied for package_priority, setting default value of: 10
JSSImporter: No value supplied for JSS_VERIFY_SSL, setting default value of: True
JSSImporter: No value supplied for policy_action_type, setting default value of: Install
JSSImporter: No value supplied for package_info, setting default value of: 
JSSImporter: No value supplied for force_policy_state, setting default value of: True
JSSImporter: No value supplied for package_boot_volume_required, setting default value of: True
JSSImporter: No value supplied for skip_scope, setting default value of: False
JSSImporter: No value supplied for skip_scripts, setting default value of: False
JSSImporter: No value supplied for os_requirements, setting default value of: 
JSSImporter: No value supplied for package_notes, setting default value of: 
JSSImporter: No value supplied for package_reboot, setting default value of: False
JSSImporter: No value supplied for JSS_SUPPRESS_WARNINGS, setting default value of: True
JSSImporter: python-jss version: 2.0.1.
JSSImporter: JSSImporter version: 1.0.3.
JSSImporter: Jamf Pro version: '10.15.1-t1569637051'
JSSImporter: Category, type 'category', name 'Apps', already exists on the Jamf Pro server, moving on...
JSSImporter: Category, type 'policy_category', name 'Testing', already exists on the Jamf Pro server, moving on...
JSSImporter: Checking if DP already mounted...
JSSImporter: Package object does not already exist on the Jamf Pro server.
JSSImporter: Copying /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg to all distribution points.
JSSImporter: Copying to https://otherserver.jamfcloud.com
JSSImporter: Copied '/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg'
JSSImporter: Package ID '2' verified on server
JSSImporter: Package ID '2' verified on server
JSSImporter: Package 'category' updated.
JSSImporter: Package 'reboot_required' updated.
JSSImporter: Package 'boot_volume_required' updated.
JSSImporter: Looking for Policy template file PolicyTemplate.xml...
JSSImporter: Found file: /Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/PolicyTemplate.xml
JSSImporter: Setting policy to 'Install' package.
JSSImporter: Policy ID '75' verified on server
JSSImporter: Policy 'Install Latest Firefox' created.
JSSImporter: Looking for Icon file /Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/MozillaFirefox.png...
JSSImporter: Found file: /Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/MozillaFirefox.png
JSSImporter: Icon name in existing policy: None
JSSImporter: Icon uploaded to the Jamf Pro server.
{'Output': {'jss_changed_objects': {'jss_category_added': [],
                                    'jss_extension_attribute_added': [],
                                    'jss_extension_attribute_updated': [],
                                    'jss_group_added': [],
                                    'jss_group_updated': [],
                                    'jss_icon_uploaded': [u'MozillaFirefox.png'],
                                    'jss_package_added': ['Mozilla_Firefox_69.0.2.pkg',
                                                          'Mozilla_Firefox_69.0.2.pkg',
                                                          'Mozilla_Firefox_69.0.2.pkg'],
                                    'jss_package_updated': [],
                                    'jss_policy_added': ['Install Latest Firefox'],
                                    'jss_policy_updated': [],
                                    'jss_repo_updated': [u'Mozilla_Firefox_69.0.2.pkg'],
                                    'jss_script_added': [],
                                    'jss_script_updated': []},
            'jss_importer_summary_result': {'data': {'Categories': '',
                                                     'Extension_Attributes': '',
                                                     'Groups': '',
                                                     'Icon': u'MozillaFirefox.png',
                                                     'Name': u'Firefox',
                                                     'Package': 'Mozilla_Firefox_69.0.2.pkg',
                                                     'Package_Uploaded': 'True',
                                                     'Policy': 'Install Latest Firefox',
                                                     'Scripts': '',
                                                     'Version': u'69.0.2'},
                                            'report_fields': ['Name',
                                                              'Package',
                                                              'Categories',
                                                              'Groups',
                                                              'Scripts',
                                                              'Extension_Attributes',
                                                              'Policy',
                                                              'Icon',
                                                              'Version',
                                                              'Package_Uploaded'],
                                            'summary_text': 'The following changes were made to the Jamf Pro Server:'}}}
{u'API_PASSWORD': u'Password_Goes_Here',
 u'API_USERNAME': u'Username_Goes_Here',
 'AUTOPKG_VERSION': u'1.2',
 u'CATEGORY': u'Apps',
 'CHECK_FILESIZE_ONLY': False,
 'CURL_PATH': '/usr/bin/curl',
 u'DESCRIPTION': u'Web Browser.',
 u'GIT_PATH': u'/Library/Developer/CommandLineTools/usr/bin/git',
 u'GROUP_NAME': u'Update-Smart-Firefox',
 u'GROUP_TEMPLATE': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/SmartGroupTemplate.xml',
 u'ICON': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/MozillaFirefox.png',
 u'JSS_REPOS': [{u'type': u'CDP'}],
 'JSS_SUPPRESS_WARNINGS': True,
 u'JSS_URL': u'https://otherserver.jamfcloud.com',
 'JSS_VERIFY_SSL': True,
 u'LOCALE': u'en-US',
 u'NAME': u'Firefox',
 'PARENT_RECIPES': [u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/MozillaFirefox/MozillaFirefox.pkg.recipe',
                    u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes/Mozilla/FirefoxSignedPkg.download.recipe'],
 u'POLICY_CATEGORY': u'Testing',
 u'POLICY_TEMPLATE': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/PolicyTemplate.xml',
 'RECIPE_CACHE_DIR': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox',
 'RECIPE_DIR': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS',
 'RECIPE_OVERRIDE_DIRS': ['~/Library/AutoPkg/RecipeOverrides'],
 'RECIPE_PATH': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/MozillaFirefox.jss.recipe',
 u'RECIPE_REPOS': {u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes': {u'URL': u'https://github.com/autopkg/apettinen-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes': {u'URL': u'https://github.com/autopkg/arubdesu-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.bkerns-recipes': {u'URL': u'https://github.com/autopkg/bkerns-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes': {u'URL': u'https://github.com/autopkg/cgerke-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes': {u'URL': u'https://github.com/autopkg/dataJAR-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahampugh-recipes': {u'URL': u'https://github.com/autopkg/grahampugh-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes': {u'URL': u'https://github.com/autopkg/hansen-m-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes': {u'URL': u'https://github.com/autopkg/hjuutilainen-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes': {u'URL': u'https://github.com/autopkg/homebysix-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.jss-recipes': {u'URL': u'https://github.com/autopkg/jss-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes': {u'URL': u'https://github.com/autopkg/justinrummel-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes': {u'URL': u'https://github.com/autopkg/killahquam-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes': {u'URL': u'https://github.com/autopkg/recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes': {u'URL': u'https://github.com/autopkg/rtrouton-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.smithjw-recipes': {u'URL': u'https://github.com/autopkg/smithjw-recipes'},
                   u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes': {u'URL': u'https://github.com/rtrouton/autopkg_recipes'}},
 u'RECIPE_SEARCH_DIRS': [u'.',
                         u'~/Library/AutoPkg/Recipes',
                         u'/Library/AutoPkg/Recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.apettinen-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.arubdesu-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.bkerns-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.cgerke-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.dataJAR-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.hansen-m-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.hjuutilainen-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.homebysix-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.jss-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.justinrummel-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.rtrouton-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.smithjw-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.autopkg.grahampugh-recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS',
                         u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/MozillaFirefox'],
 u'SOFTWARETITLE': u'Firefox',
 'STOP_IF_NO_JSS_UPLOAD': True,
 u'VENDOR': u'Mozilla',
 u'category': u'Apps',
 u'destination_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload',
 'download_changed': False,
 'etag': '',
 u'expected_authorities': (
    "Developer ID Installer: Mozilla Corporation (43AQ936H96)",
    "Developer ID Certification Authority",
    "Apple Root CA"
),
 u'filename': u'Firefox-69.0.2.pkg',
 u'flat_pkg_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg',
 'force_policy_state': True,
 u'input_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg',
 u'input_plist_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload/Firefox.app/Contents/Info.plist',
 'jss_changed_objects': {'jss_category_added': [],
                         'jss_extension_attribute_added': [],
                         'jss_extension_attribute_updated': [],
                         'jss_group_added': [],
                         'jss_group_updated': [],
                         'jss_icon_uploaded': [u'MozillaFirefox.png'],
                         'jss_package_added': ['Mozilla_Firefox_69.0.2.pkg',
                                               'Mozilla_Firefox_69.0.2.pkg',
                                               'Mozilla_Firefox_69.0.2.pkg'],
                         'jss_package_updated': [],
                         'jss_policy_added': ['Install Latest Firefox'],
                         'jss_policy_updated': [],
                         'jss_repo_updated': [u'Mozilla_Firefox_69.0.2.pkg'],
                         'jss_script_added': [],
                         'jss_script_updated': []},
 'jss_importer_summary_result': {'data': {'Categories': '',
                                          'Extension_Attributes': '',
                                          'Groups': '',
                                          'Icon': u'MozillaFirefox.png',
                                          'Name': u'Firefox',
                                          'Package': 'Mozilla_Firefox_69.0.2.pkg',
                                          'Package_Uploaded': 'True',
                                          'Policy': 'Install Latest Firefox',
                                          'Scripts': '',
                                          'Version': u'69.0.2'},
                                 'report_fields': ['Name',
                                                   'Package',
                                                   'Categories',
                                                   'Groups',
                                                   'Scripts',
                                                   'Extension_Attributes',
                                                   'Policy',
                                                   'Icon',
                                                   'Version',
                                                   'Package_Uploaded'],
                                 'summary_text': 'The following changes were made to the Jamf Pro Server:'},
 'last_modified': '',
 'os_requirements': '',
 'package_boot_volume_required': 'True',
 'package_info': '',
 'package_notes': '',
 'package_priority': '10',
 'package_reboot': 'False',
 u'path_list': (
    "/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/payload",
    "/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/unpack"
),
 'pathname': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg',
 'pkg_copier_summary_result': {'data': {'pkg_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg'},
                               'summary_text': 'The following packages were copied:'},
 u'pkg_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg',
 u'pkg_payload_path': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/unpack/Payload',
 u'plist_version_key': u'CFBundleShortVersionString',
 'policy_action_type': 'Install',
 u'policy_category': u'Testing',
 u'policy_template': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/PolicyTemplate.xml',
 u'prod_name': u'Firefox',
 u're_pattern': u'"LATEST_FIREFOX_VERSION": "([\\d\\.]+)"',
 u'result_output_var_name': u'version',
 u'self_service_description': u'Web Browser.',
 u'self_service_icon': u'/Users/autopkg/Library/AutoPkg/RecipeRepos/com.github.rtrouton.autopkg_recipes/JSS/MozillaFirefox.png',
 'skip_scope': False,
 'skip_scripts': False,
 u'source_pkg': u'/Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/downloads/Firefox-69.0.2.pkg',
 u'url': u'http://releases.mozilla.org/pub/firefox/releases/69.0.2/mac/en-US/Firefox%2069.0.2.pkg',
 'verbose': 3,
 u'version': u'69.0.2'}
Receipt written to /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/receipts/com.company.jss-receipt-20191008-073624.plist

The following changes were made to the Jamf Pro Server:
    Name     Package                     Categories  Groups  Scripts  Extension Attributes  Policy                  Icon                Version  Package Uploaded  
    ----     -------                     ----------  ------  -------  --------------------  ------                  ----                -------  ----------------  
    Firefox  Mozilla_Firefox_69.0.2.pkg                                                     Install Latest Firefox  MozillaFirefox.png  69.0.2   True              

The following packages were copied:
    Pkg Path                                                                                            
    --------                                                                                            
    /Users/autopkg/Library/AutoPkg/Cache/com.company.jss.MozillaFirefox/Mozilla_Firefox_69.0.2.pkg  
computername:~ autopkg$ 
grahampugh commented 4 years ago

Thanks for the updates @rtrouton. Bit busy today but will try and look at it as soon as I submit a certain draft presentation with a looming deadline ...

grahampugh commented 4 years ago

Hi Rich, Looking more closely at your logs (didn’t really have time earlier), I think JSSImporter worked as expected. I built in the wait loops, and I put 2 loops in there for a new load. So what I believe you are seeing is that it didn’t see the package in the first 10 seconds, but did the second time. Then, when it double checked, the same thing happened. That’s clustering for you.

But, after that check, the 500 error came. A 500 error is not what I’m normally coming across here; normally we see a 404 or 409. 500 is an internal server error, so I’d be looking to see if there’s some connection issue.

On new beta instances I normally get 503 errors for a while, until everything is spun up. I don’t think they actually spin up a repo until you request one (I.e. do something that requires one). But again: 503 is not 500.