simple 18-Oct-2024 12:19:24 Build CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.8 #70 (CASA-RECPA-CFKMM2014P3-70) is being prepared for building on agent cbt-el7-6.cv.nrao.edu (2), bamboo version: 9.2.17 simple 18-Oct-2024 12:19:24 Remote agent on host cbt-el7-6.cv.nrao.edu simple 18-Oct-2024 12:19:24 Build working directory is /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P3 simple 18-Oct-2024 12:19:24 Executing build CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.8 #70 (CASA-RECPA-CFKMM2014P3-70) simple 18-Oct-2024 12:19:24 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask' simple 18-Oct-2024 12:19:24 Cleaning working directory '/export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P3' simple 18-Oct-2024 12:19:24 Finished task 'Clean working directory task' with result: Success simple 18-Oct-2024 12:19:24 Running pre-build action: Build Log Labeller Pre Build Action simple 18-Oct-2024 12:19:24 Running pre-build action: VCS Version Collector simple 18-Oct-2024 12:19:24 Build CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.8 #70 (CASA-RECPA-CFKMM2014P3-70) started building on agent 'cbt-el7-6.cv.nrao.edu (2)' (Remote agent on host cbt-el7-6.cv.nrao.edu) command 18-Oct-2024 12:19:24 Substituting variable: ${bamboo.planRepository.branchName} with master simple 18-Oct-2024 12:19:24 Starting task 'Check if this is a 6.4.1 ticket' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 18-Oct-2024 12:19:24 Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.8 #70 (CASA-RECPA-CFKMM2014P3-70)'\n ... running command line: \n/export/home/cbt-el7-6/bamboohome/temp/CASA-RECPA-CFKMM2014P3-70-ScriptBuildTask-4155453134143674680.sh\n ... in: /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P3\n error 18-Oct-2024 12:19:24 % Total % Received % Xferd Average Speed Time Time Time Current error 18-Oct-2024 12:19:24 Dload Upload Total Spent Left Speed error 18-Oct-2024 12:19:24 error 18-Oct-2024 12:19:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 error 18-Oct-2024 12:19:24 100 6002k 100 6002k 0 0 22.1M 0 --:--:-- --:--:-- --:--:-- 22.3M error 18-Oct-2024 12:19:24 [20587] Failed to execute script 'atlutil' due to unhandled exception! error 18-Oct-2024 12:19:24 Traceback (most recent call last): error 18-Oct-2024 12:19:24 File "atlutil.py", line 200, in error 18-Oct-2024 12:19:24 File "atlutil.py", line 165, in has_fix_version error 18-Oct-2024 12:19:24 KeyError: 'fields' simple 18-Oct-2024 12:19:24 Finished task 'Check if this is a 6.4.1 ticket' with result: Success simple 18-Oct-2024 12:19:24 Starting task 'Inject is_641' of type 'com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin:inject' simple 18-Oct-2024 12:19:24 Injected variable bamboo.inject.is_641=False in LOCAL scope simple 18-Oct-2024 12:19:24 Finished task 'Inject is_641' with result: Success simple 18-Oct-2024 12:19:24 Starting task 'Download casalith' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask' simple 18-Oct-2024 12:19:24 Preparing to download plan result CASA-CMBC-123 artifact: Required shared artifact Http Compression On : [Sys GRPC ManyLinux2014 Python 3.8 Tar 2], patterns: [*.xz] anchored at: [source/wheels] simple 18-Oct-2024 12:19:54 Artifact [Sys GRPC ManyLinux2014 Python 3.8 Tar 2] downloaded successfully in 29.53 s to dockershare/ simple 18-Oct-2024 12:19:54 Finished task 'Download casalith' with result: Success command 18-Oct-2024 12:19:54 Substituting variable: ${bamboo.working.directory} with /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P3 simple 18-Oct-2024 12:19:54 Starting task 'Docker' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli' simple 18-Oct-2024 12:19:54 Running image name (casa-docker.nrao.edu:5000/casa-test-casalith:1) command 18-Oct-2024 12:19:54 Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.8 #70 (CASA-RECPA-CFKMM2014P3-70)'\n ... running command line: \n/bin/docker run --volume /opt/casa/data/:/opt/casa/data --volume /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P3/dockershare:/dockershare --detach --privileged --name test-container casa-docker.nrao.edu:5000/casa-test-casalith:1 tail -f /dev/null\n ... in: /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P3\n build 18-Oct-2024 12:19:57 fbdbb4798a99defe78f2d12a7534b0df4410a536fa0a5db857ae8c15e76a5b7c simple 18-Oct-2024 12:19:57 Finished task 'Docker' with result: Success command 18-Oct-2024 12:19:57 Substituting variable: ${bamboo.planRepository.branchName} with master simple 18-Oct-2024 12:19:57 Starting task 'Run Audit' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 18-Oct-2024 12:19:57 Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.8 #70 (CASA-RECPA-CFKMM2014P3-70)'\n ... running command line: \n/export/home/cbt-el7-6/bamboohome/temp/CASA-RECPA-CFKMM2014P3-70-ScriptBuildTask-9001140408758296017.sh\n ... in: /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P3\n build 18-Oct-2024 12:19:57 branch: master build 18-Oct-2024 12:19:57 /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P3 build 18-Oct-2024 12:19:57 datapath=[ "/opt/casa/data/master","/opt/casa/data/casatestdata"] build 18-Oct-2024 12:19:57 measurespath="/opt/casa/data/master" build 18-Oct-2024 12:19:57 measures_auto_update=False build 18-Oct-2024 12:19:57 data_auto_update=False build 18-Oct-2024 12:19:58 total 921364 build 18-Oct-2024 12:19:58 -rw-r--r-- 1 9285 15001 943469132 Oct 18 16:19 casa-6.7.0-11-py3.8.el7.tar.xz build 18-Oct-2024 12:19:59 Cloning into 'casa-build-utils'... build 18-Oct-2024 12:20:00 Branch CAS-14256 set up to track remote branch CAS-14256 from origin. error 18-Oct-2024 12:20:00 Switched to a new branch 'CAS-14256' build 18-Oct-2024 12:20:00 datapath=[ "/opt/casa/data/master","/opt/casa/data/casatestdata"] build 18-Oct-2024 12:20:00 measurespath="/opt/casa/data/master" build 18-Oct-2024 12:20:00 measures_auto_update=False build 18-Oct-2024 12:20:00 data_auto_update=False build 18-Oct-2024 12:20:04 Collecting requests build 18-Oct-2024 12:20:04 Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/requests/2.23.0/requests-2.23.0-py2.py3-none-any.whl (58kB) build 18-Oct-2024 12:20:04 Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests) build 18-Oct-2024 12:20:04 Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/urllib3/1.25.9/urllib3-1.25.9-py2.py3-none-any.whl (126kB) build 18-Oct-2024 12:20:04 Collecting idna<3,>=2.5 (from requests) build 18-Oct-2024 12:20:04 Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/idna/2.9/idna-2.9-py2.py3-none-any.whl (58kB) build 18-Oct-2024 12:20:04 Collecting certifi>=2017.4.17 (from requests) build 18-Oct-2024 12:20:04 Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/certifi/2020.12.5/certifi-2020.12.5-py2.py3-none-any.whl (147kB) build 18-Oct-2024 12:20:04 Collecting chardet<4,>=3.0.2 (from requests) build 18-Oct-2024 12:20:04 Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/chardet/3.0.4/chardet-3.0.4-py2.py3-none-any.whl (133kB) build 18-Oct-2024 12:20:04 Installing collected packages: urllib3, idna, certifi, chardet, requests build 18-Oct-2024 12:20:04 Successfully installed certifi-2020.12.5 chardet-3.0.4 idna-2.9 requests-2.23.0 urllib3-1.25.9 build 18-Oct-2024 12:20:48 Namespace(json_to_xml=None, list_malicious=False, outputdir='/home/casatest/', package='/dockershare/casa-6.7.0-11-py3.8.el7.tar.xz', verbose=True, work_dir=None) build 18-Oct-2024 12:20:48 System: Linux build 18-Oct-2024 12:20:48 Unpacking tarball: /dockershare/casa-6.7.0-11-py3.8.el7.tar.xz to /home/casatest/ build 18-Oct-2024 12:20:48 Outputdir contents:/home/casatest/ build 18-Oct-2024 12:20:48 casa-6.7.0-11-py3.8.el7 build 18-Oct-2024 12:20:48 installpath: casa-6.7.0-11-py3.8.el7 build 18-Oct-2024 12:20:48 .casa build 18-Oct-2024 12:20:48 casa-build-utils build 18-Oct-2024 12:20:48 installpath: casa-build-utils build 18-Oct-2024 12:20:48 .config error 18-Oct-2024 12:20:48 Traceback (most recent call last): error 18-Oct-2024 12:20:48 File "malicious_pypi_pkgs_checker.py", line 282, in error 18-Oct-2024 12:20:48 run(args.package, args.work_dir, args.outputdir, args.verbose) error 18-Oct-2024 12:20:48 File "malicious_pypi_pkgs_checker.py", line 117, in run error 18-Oct-2024 12:20:48 py_minor_version = subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=False).decode("utf-8").strip() error 18-Oct-2024 12:20:48 File "/usr/local/lib/python3.6/subprocess.py", line 336, in check_output error 18-Oct-2024 12:20:48 **kwargs).stdout error 18-Oct-2024 12:20:48 File "/usr/local/lib/python3.6/subprocess.py", line 403, in run error 18-Oct-2024 12:20:48 with Popen(*popenargs, **kwargs) as process: error 18-Oct-2024 12:20:48 File "/usr/local/lib/python3.6/subprocess.py", line 709, in __init__ error 18-Oct-2024 12:20:48 restore_signals, start_new_session) error 18-Oct-2024 12:20:48 File "/usr/local/lib/python3.6/subprocess.py", line 1344, in _execute_child error 18-Oct-2024 12:20:48 raise child_exception_type(errno_num, err_msg, err_filename) error 18-Oct-2024 12:20:48 FileNotFoundError: [Errno 2] No such file or directory: '/home/casatest//casa-build-utils/bin/python3': '/home/casatest//casa-build-utils/bin/python3' error 18-Oct-2024 12:20:48 mv: cannot stat '/home/casatest/casa-build-utils/test/output_malicious.xml': No such file or directory build 18-Oct-2024 12:20:48 total 921364 build 18-Oct-2024 12:20:48 -rw-r--r-- 1 casaci 15001 943469132 Oct 18 16:19 casa-6.7.0-11-py3.8.el7.tar.xz simple 18-Oct-2024 12:20:48 Finished task 'Run Audit' with result: Success simple 18-Oct-2024 12:20:48 Starting task 'Parse test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' simple 18-Oct-2024 12:20:48 Parsing test results under /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P3... simple 18-Oct-2024 12:20:48 Failing task since test cases were expected but none were found. simple 18-Oct-2024 12:20:48 Finished task 'Parse test results' with result: Failed simple 18-Oct-2024 12:20:48 Starting task 'Cleanup' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 18-Oct-2024 12:20:48 Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.8 #70 (CASA-RECPA-CFKMM2014P3-70)'\n ... running command line: \n/export/home/cbt-el7-6/bamboohome/temp/CASA-RECPA-CFKMM2014P3-70-ScriptBuildTask-3646218971982994311.sh\n ... in: /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P3\n build 18-Oct-2024 12:20:48 Starting cleanup build 18-Oct-2024 12:21:03 test-container build 18-Oct-2024 12:21:03 test-container build 18-Oct-2024 12:21:03 Cleanup complete simple 18-Oct-2024 12:21:03 Finished task 'Cleanup' with result: Success simple 18-Oct-2024 12:21:03 Running post build plugin 'Docker Container Cleanup' command 18-Oct-2024 12:21:03 Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.8 #70 (CASA-RECPA-CFKMM2014P3-70)'\n ... running command line: \n/bin/docker rm -f test-container\n ... in: /export/home/cbt-el7-6/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P3\n error 18-Oct-2024 12:21:03 Error response from daemon: No such container: test-container simple 18-Oct-2024 12:21:03 Running post build plugin 'NCover Results Collector' simple 18-Oct-2024 12:21:03 Running post build plugin 'Build Results Label Collector' simple 18-Oct-2024 12:21:03 Running post build plugin 'Clover Results Collector' simple 18-Oct-2024 12:21:03 Running post build plugin 'npm Cache Cleanup' simple 18-Oct-2024 12:21:03 Running post build plugin 'Artifact Copier' simple 18-Oct-2024 12:21:03 Finalising the build... simple 18-Oct-2024 12:21:03 Stopping timer. simple 18-Oct-2024 12:21:03 Build CASA-RECPA-CFKMM2014P3-70 completed. simple 18-Oct-2024 12:21:03 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 18-Oct-2024 12:21:03 Running on server: post build plugin 'NCover Results Collector' simple 18-Oct-2024 12:21:03 Running on server: post build plugin 'Build Labeller' simple 18-Oct-2024 12:21:03 Running on server: post build plugin 'Clover Delta Calculator' simple 18-Oct-2024 12:21:03 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 18-Oct-2024 12:21:03 All post build plugins have finished simple 18-Oct-2024 12:21:03 Generating build results summary... simple 18-Oct-2024 12:21:03 Saving build results to disk... simple 18-Oct-2024 12:21:03 Store variable context... simple 18-Oct-2024 12:21:03 Finished building CASA-RECPA-CFKMM2014P3-70.