simple 23-Jul-2020 19:38:41 Build CASA - Notarize 5.7.x release packages - release-5.7.0 - Notarize 10.15 #6 (CASA-N5P0-JOB1-6) started building on agent cbt-osx1015-bld-c6.cv.nrao.edu simple 23-Jul-2020 19:38:41 Remote agent on host cbt-osx1015-bld-c6.cv.nrao.edu simple 23-Jul-2020 19:38:41 Build working directory is /Users/casaci/bamboohome/xml-data/build-dir/CASA-N5P0-JOB1 simple 23-Jul-2020 19:38:41 Executing build CASA - Notarize 5.7.x release packages - release-5.7.0 - Notarize 10.15 #6 (CASA-N5P0-JOB1-6) simple 23-Jul-2020 19:38:41 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask' simple 23-Jul-2020 19:38:41 Cleaning working directory '/Users/casaci/bamboohome/xml-data/build-dir/CASA-N5P0-JOB1' simple 23-Jul-2020 19:38:41 Finished task 'Clean working directory task' with result: Success simple 23-Jul-2020 19:38:41 Running pre-build action: VCS Version Collector simple 23-Jul-2020 19:38:41 Starting task 'Get OSX 10.15 dmg' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask' simple 23-Jul-2020 19:38:41 Preparing to download plan result CASA-RELPREP57X0-6 artifact: Non required shared artifact: [OSX10.15DMG], pattern: [*.dmg] anchored at: [pub/] simple 23-Jul-2020 19:39:25 Artifact [OSX10.15DMG] downloaded successfully in 43.54 s to working directory simple 23-Jul-2020 19:39:25 Finished task 'Get OSX 10.15 dmg' with result: Success command 23-Jul-2020 19:39:25 Substituting variable: ${bamboo.build.working.directory} with /Users/casaci/bamboohome/xml-data/build-dir/CASA-N5P0-JOB1 command 23-Jul-2020 19:39:25 Substituting variable: ${bamboo.build.working.directory} with /Users/casaci/bamboohome/xml-data/build-dir/CASA-N5P0-JOB1 simple 23-Jul-2020 19:39:25 Starting task 'Script' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 23-Jul-2020 19:39:25 Beginning to execute external process for build 'CASA - Notarize 5.7.x release packages - release-5.7.0 - Notarize 10.15 #6 (CASA-N5P0-JOB1-6)'\n ... running command line: \n/Users/casaci/bamboohome/temp/CASA-N5P0-JOB1-6-ScriptBuildTask-5550676757317155066.sh\n ... in: /Users/casaci/bamboohome/xml-data/build-dir/CASA-N5P0-JOB1\n ... using extra environment variables: \nbamboo_planRepository_1_branch=release/5.7.0\nbamboo_capability_buildmachinetype=casa6build\nbamboo_repository_44728511_branch_name=release/5.7.0\nbamboo_repository_44728511_revision_number=f4e2ca91583af85d34cc4ebb6ad6ea5e3b855688\nbamboo_planRepository_1_branchDisplayName=release/5.7.0\nbamboo_repository_revision_number=f4e2ca91583af85d34cc4ebb6ad6ea5e3b855688\nbamboo_resultsUrl=https://open-bamboo.nrao.edu/browse/CASA-N5P0-JOB1-6\nbamboo_build_working_directory=/Users/casaci/bamboohome/xml-data/build-dir/CASA-N5P0-JOB1\nbamboo_planRepository_1_name=casa6\nbamboo_buildKey=CASA-N5P0-JOB1\nbamboo_repository_44728511_git_username=\nbamboo_shortPlanName=Notarize 5.7.x release packages\nbamboo_capability_hostname=cbt-osx1015-bld-c6\nbamboo_capability_system_builder_xcode_Simulator___iOS_13_2=iphonesimulator13.2\nbamboo_capability_system_builder_xcode_Simulator___iOS_11_4=iphonesimulator11.4\nbamboo_planRepository_name=casa6\nbamboo_capability_system_builder_xcode_iOS_13_2=iphoneos13.2\nbamboo_capability_system_builder_xcode_iOS_11_4=iphoneos11.4\nbamboo_buildNumber=6\nbamboo_shortJobName=Notarize 10.15\nbamboo_buildResultsUrl=https://open-bamboo.nrao.edu/browse/CASA-N5P0-JOB1-6\nbamboo_username=vsuorant@nrao.edu\nbamboo_planRepository_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa6.git\nbamboo_repository_44728511_git_branch=release/5.7.0\nbamboo_agentId=32964609\nbamboo_planName=CASA - Notarize 5.7.x release packages - release-5.7.0\nbamboo_shortPlanKey=N5P0\nbamboo_al_password=********\nbamboo_shortJobKey=JOB1\nbamboo_signature=08EA1D734E321F460FE5FE050129891F2F79A822\nbamboo_planRepository_revision=f4e2ca91583af85d34cc4ebb6ad6ea5e3b855688\nbamboo_buildTimeStamp=2020-07-23T19:38:41.494-04:00\nbamboo_repository_previous_revision_number=f4e2ca91583af85d34cc4ebb6ad6ea5e3b855688\nbamboo_planRepository_previousRevision=f4e2ca91583af85d34cc4ebb6ad6ea5e3b855688\nbamboo_repository_git_branch=release/5.7.0\nbamboo_buildResultKey=CASA-N5P0-JOB1-6\nbamboo_repository_branch_name=release/5.7.0\nbamboo_buildPlanName=CASA - Notarize 5.7.x release packages - release-5.7.0 - Notarize 10.15\nbamboo_repository_44728511_previous_revision_number=f4e2ca91583af85d34cc4ebb6ad6ea5e3b855688\nbamboo_planRepository_1_revision=f4e2ca91583af85d34cc4ebb6ad6ea5e3b855688\nbamboo_repository_name=casa6\nbamboo_dependenciesDisabled=false\nbamboo_buildFailed=false\nbamboo_repository_44728511_name=casa6\nbamboo_capability_system_jdk_JDK_1_8_0_191=/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre\nbamboo_planRepository_branch=release/5.7.0\nbamboo_agentWorkingDirectory=/Users/casaci/bamboohome/xml-data/build-dir\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_repository_git_username=\nbamboo_planRepository_1_previousRevision=f4e2ca91583af85d34cc4ebb6ad6ea5e3b855688\nbamboo_capability_operating_system=OSX10.15\nbamboo_planRepository_branchDisplayName=release/5.7.0\nbamboo_planRepository_1_type=bbserver\nbamboo_planRepository_branchName=release/5.7.0\nbamboo_repository_44728511_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa6.git\nbamboo_capability_project=CASA\nbamboo_capability_system_jdk_JDK=/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre\nbamboo_plan_storageTag=plan-44597481\nbamboo_hg_cache_directory=/Users/casaci/bamboohome/xml-data/build-dir/_hg-repositories-cache\nbamboo_planRepository_1_username=\nbamboo_planRepository_type=bbserver\nbamboo_git_cache_directory=/Users/casaci/bamboohome/xml-data/build-dir/_git-repositories-cache\nbamboo_ManualBuildTriggerReason_userName=vsuorant\nbamboo_repository_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa6.git\nbamboo_tmp_directory=/Users/casaci/bamboohome/temp\nbamboo_working_directory=/Users/casaci/bamboohome/xml-data/build-dir/CASA-N5P0-JOB1\nbamboo_planKey=CASA-N5P0\nbamboo_planRepository_1_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa6.git\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_8=/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre\nbamboo_planRepository_1_branchName=release/5.7.0\n error 23-Jul-2020 19:39:25 Cloning into 'casa-build-utils'... error 23-Jul-2020 19:39:25 Switched to a new branch '5xnota' build 23-Jul-2020 19:39:25 Branch '5xnota' set up to track remote branch '5xnota' from 'origin'. build 23-Jul-2020 19:40:24 Working directory: /Users/casaci/bamboohome/xml-data/build-dir/CASA-N5P0-JOB1/work build 23-Jul-2020 19:40:24 Dmg: /Users/casaci/bamboohome/xml-data/build-dir/CASA-N5P0-JOB1/casa-release-5.7.0-132-10.15.dmg build 23-Jul-2020 19:40:24 Filename: casa-release-5.7.0-132-10.15.dmg build 23-Jul-2020 19:40:24 ent.plist: /Volumes/DATA/bamboohome/xml-data/build-dir/CASA-N5P0-JOB1/casa-build-utils/notarization/ent.plist build 23-Jul-2020 19:40:24 Attaching /Users/casaci/bamboohome/xml-data/build-dir/CASA-N5P0-JOB1/casa-release-5.7.0-132-10.15.dmg build 23-Jul-2020 19:40:24 Executing: ['hdiutil', 'attach', '/Users/casaci/bamboohome/xml-data/build-dir/CASA-N5P0-JOB1/casa-release-5.7.0-132-10.15.dmg'] build 23-Jul-2020 19:40:24 Checksumming Protective Master Boot Record (MBR : 0)… build 23-Jul-2020 19:40:24 Protective Master Boot Record (MBR :: verified CRC32 $C75C7CFB build 23-Jul-2020 19:40:24 Checksumming GPT Header (Primary GPT Header : 1)… build 23-Jul-2020 19:40:24 GPT Header (Primary GPT Header : 1): verified CRC32 $0C8E0F17 build 23-Jul-2020 19:40:24 Checksumming GPT Partition Data (Primary GPT Table : 2)… build 23-Jul-2020 19:40:24 GPT Partition Data (Primary GPT Tabl: verified CRC32 $FCFAF5A4 build 23-Jul-2020 19:40:24 Checksumming (Apple_Free : 3)… build 23-Jul-2020 19:40:24 (Apple_Free : 3): verified CRC32 $00000000 build 23-Jul-2020 19:40:24 Checksumming disk image (Apple_HFS : 4)… build 23-Jul-2020 19:40:24 disk image (Apple_HFS : 4): verified CRC32 $FFAC74E1 build 23-Jul-2020 19:40:24 Checksumming (Apple_Free : 5)… build 23-Jul-2020 19:40:24 (Apple_Free : 5): verified CRC32 $00000000 build 23-Jul-2020 19:40:24 Checksumming GPT Partition Data (Backup GPT Table : 6)… build 23-Jul-2020 19:40:24 GPT Partition Data (Backup GPT Table: verified CRC32 $FCFAF5A4 build 23-Jul-2020 19:40:24 Checksumming GPT Header (Backup GPT Header : 7)… build 23-Jul-2020 19:40:24 GPT Header (Backup GPT Header : 7): verified CRC32 $C98CCBD3 build 23-Jul-2020 19:40:24 verified CRC32 $78937E6A build 23-Jul-2020 19:40:24 /dev/disk8 GUID_partition_scheme build 23-Jul-2020 19:40:24 /dev/disk8s1 Apple_HFS /Volumes/CASA_Macintosh_10.15_5.7.0 build 23-Jul-2020 19:40:24 0 error 23-Jul-2020 19:40:24 Traceback (most recent call last): error 23-Jul-2020 19:40:24 File "notarize5x.py", line 204, in error 23-Jul-2020 19:40:24 copy_app() error 23-Jul-2020 19:40:24 File "notarize5x.py", line 77, in copy_app error 23-Jul-2020 19:40:24 dmg=getMountPathFor5xRelease(dmg) error 23-Jul-2020 19:40:24 UnboundLocalError: local variable 'dmg' referenced before assignment simple 23-Jul-2020 19:40:24 Failing task since return code of [/Users/casaci/bamboohome/temp/CASA-N5P0-JOB1-6-ScriptBuildTask-5550676757317155066.sh] was 1 while expected 0 simple 23-Jul-2020 19:40:24 Finished task 'Script' with result: Failed simple 23-Jul-2020 19:40:24 Running post build plugin 'Docker Container Cleanup' simple 23-Jul-2020 19:40:24 Running post build plugin 'NCover Results Collector' simple 23-Jul-2020 19:40:24 Running post build plugin 'Clover Results Collector' simple 23-Jul-2020 19:40:24 Running post build plugin 'npm Cache Cleanup' simple 23-Jul-2020 19:40:24 Running post build plugin 'Artifact Copier' simple 23-Jul-2020 19:40:24 Publishing an artifact: OSX10.15 DMG error 23-Jul-2020 19:40:24 Unable to publish artifact [OSX10.15 DMG]: error 23-Jul-2020 19:40:24 The artifact is required, build will now fail. simple 23-Jul-2020 19:40:24 The artifact hasn't been successfully published after 40.25 ms simple 23-Jul-2020 19:40:24 Finalising the build... simple 23-Jul-2020 19:40:24 Stopping timer. simple 23-Jul-2020 19:40:24 Build CASA-N5P0-JOB1-6 completed. simple 23-Jul-2020 19:40:24 Running on server: post build plugin 'NCover Results Collector' simple 23-Jul-2020 19:40:24 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 23-Jul-2020 19:40:24 Running on server: post build plugin 'Clover Delta Calculator' simple 23-Jul-2020 19:40:24 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 23-Jul-2020 19:40:24 All post build plugins have finished simple 23-Jul-2020 19:40:24 Generating build results summary... simple 23-Jul-2020 19:40:24 Saving build results to disk... simple 23-Jul-2020 19:40:24 Logging substituted variables... simple 23-Jul-2020 19:40:24 Indexing build results... simple 23-Jul-2020 19:40:24 Finished building CASA-N5P0-JOB1-6.