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