simple 24-Aug-2024 01:20:37 Build CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux228 Python 3.8 #60 (CASA-RECPA-CFKMMP3-60) is being prepared for building on agent cbt-el7-1.cv.nrao.edu, bamboo version: 9.2.16 simple 24-Aug-2024 01:20:37 Remote agent on host cbt-el7-1.cv.nrao.edu simple 24-Aug-2024 01:20:37 Build working directory is /export/home/cbt-el7-1/bamboo-home/xml-data/build-dir/CASA-RECPA-CFKMMP3 simple 24-Aug-2024 01:20:37 Executing build CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux228 Python 3.8 #60 (CASA-RECPA-CFKMMP3-60) simple 24-Aug-2024 01:20:37 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask' simple 24-Aug-2024 01:20:37 Cleaning working directory '/export/home/cbt-el7-1/bamboo-home/xml-data/build-dir/CASA-RECPA-CFKMMP3' simple 24-Aug-2024 01:20:37 Finished task 'Clean working directory task' with result: Success simple 24-Aug-2024 01:20:37 Running pre-build action: Build Log Labeller Pre Build Action simple 24-Aug-2024 01:20:37 Running pre-build action: VCS Version Collector simple 24-Aug-2024 01:20:37 Build CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux228 Python 3.8 #60 (CASA-RECPA-CFKMMP3-60) started building on agent 'cbt-el7-1.cv.nrao.edu' (Remote agent on host cbt-el7-1.cv.nrao.edu) command 24-Aug-2024 01:20:37 Substituting variable: ${bamboo.planRepository.branchName} with master simple 24-Aug-2024 01:20:37 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:20:37 Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux228 Python 3.8 #60 (CASA-RECPA-CFKMMP3-60)'\n ... running command line: \n/export/home/cbt-el7-1/bamboo-home/temp/CASA-RECPA-CFKMMP3-60-ScriptBuildTask-467513856039993798.sh\n ... in: /export/home/cbt-el7-1/bamboo-home/xml-data/build-dir/CASA-RECPA-CFKMMP3\n error 24-Aug-2024 01:20:37 % Total % Received % Xferd Average Speed Time Time Time Current error 24-Aug-2024 01:20:37 Dload Upload Total Spent Left Speed error 24-Aug-2024 01:20:37 error 24-Aug-2024 01:20:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 error 24-Aug-2024 01:20:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 error 24-Aug-2024 01:20:38 100 6002k 100 6002k 0 0 7861k 0 --:--:-- --:--:-- --:--:-- 7887k error 24-Aug-2024 01:20:38 [21676] Failed to execute script 'atlutil' due to unhandled exception! error 24-Aug-2024 01:20:38 Traceback (most recent call last): error 24-Aug-2024 01:20:38 File "atlutil.py", line 200, in error 24-Aug-2024 01:20:38 File "atlutil.py", line 165, in has_fix_version error 24-Aug-2024 01:20:38 KeyError: 'fields' simple 24-Aug-2024 01:20:39 Finished task 'Check if this is a 6.4.1 ticket' with result: Success simple 24-Aug-2024 01:20:39 Starting task 'Inject is_641' of type 'com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin:inject' simple 24-Aug-2024 01:20:39 Injected variable bamboo.inject.is_641=False in LOCAL scope simple 24-Aug-2024 01:20:39 Finished task 'Inject is_641' with result: Success simple 24-Aug-2024 01:20:39 Starting task 'Download casalith' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask' simple 24-Aug-2024 01:20:39 Preparing to download plan result CASA-CMBC-112 artifact: Required shared artifact Http Compression On : [ManyLinux228 Python 3.8 Tar 2], patterns: [*.xz] anchored at: [source/wheels] simple 24-Aug-2024 01:21:08 Artifact [ManyLinux228 Python 3.8 Tar 2] downloaded successfully in 29.47 s to dockershare/ simple 24-Aug-2024 01:21:08 Finished task 'Download casalith' with result: Success command 24-Aug-2024 01:21:08 Substituting variable: ${bamboo.working.directory} with /export/home/cbt-el7-1/bamboo-home/xml-data/build-dir/CASA-RECPA-CFKMMP3 simple 24-Aug-2024 01:21:08 Starting task 'Docker' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli' simple 24-Aug-2024 01:21:08 Running image name (casa-docker.nrao.edu:5000/casa-test-rocky-8.5:3) command 24-Aug-2024 01:21:08 Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux228 Python 3.8 #60 (CASA-RECPA-CFKMMP3-60)'\n ... running command line: \n/bin/docker run --volume /opt/casa/data/:/opt/casa/data --volume /export/home/cbt-el7-1/bamboo-home/xml-data/build-dir/CASA-RECPA-CFKMMP3/dockershare:/dockershare --detach --privileged --name test-container casa-docker.nrao.edu:5000/casa-test-rocky-8.5:3 tail -f /dev/null\n ... in: /export/home/cbt-el7-1/bamboo-home/xml-data/build-dir/CASA-RECPA-CFKMMP3\n build 24-Aug-2024 01:21:10 702d2231d4adfd4c84953a03c2eae31f1155284501a8421b6d2495a49d14d7e1 simple 24-Aug-2024 01:21:11 Finished task 'Docker' with result: Success command 24-Aug-2024 01:21:11 Substituting variable: ${bamboo.planRepository.branchName} with master simple 24-Aug-2024 01:21:11 Starting task 'Run Audit' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 24-Aug-2024 01:21:11 Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux228 Python 3.8 #60 (CASA-RECPA-CFKMMP3-60)'\n ... running command line: \n/export/home/cbt-el7-1/bamboo-home/temp/CASA-RECPA-CFKMMP3-60-ScriptBuildTask-7141247014003751795.sh\n ... in: /export/home/cbt-el7-1/bamboo-home/xml-data/build-dir/CASA-RECPA-CFKMMP3\n build 24-Aug-2024 01:21:11 branch: master build 24-Aug-2024 01:21:11 /export/home/cbt-el7-1/bamboo-home/xml-data/build-dir/CASA-RECPA-CFKMMP3 build 24-Aug-2024 01:21:11 datapath=[ "/opt/casa/data/master","/opt/casa/data/casatestdata"] build 24-Aug-2024 01:21:11 measurespath="/opt/casa/data/master" build 24-Aug-2024 01:21:11 measures_auto_update=False build 24-Aug-2024 01:21:11 data_auto_update=False build 24-Aug-2024 01:21:11 total 981064 build 24-Aug-2024 01:21:11 -rw-r--r-- 1 9285 15001 1004604308 Aug 24 05:21 casa-6.6.5-26-py3.8.el8.tar.xz error 24-Aug-2024 01:21:12 Cloning into 'casa-build-utils'... build 24-Aug-2024 01:21:12 Branch 'CAS-14256' set up to track remote branch 'CAS-14256' from 'origin'. error 24-Aug-2024 01:21:12 Switched to a new branch 'CAS-14256' build 24-Aug-2024 01:21:12 datapath=[ "/opt/casa/data/master","/opt/casa/data/casatestdata"] build 24-Aug-2024 01:21:12 measurespath="/opt/casa/data/master" build 24-Aug-2024 01:21:12 measures_auto_update=False build 24-Aug-2024 01:21:12 data_auto_update=False build 24-Aug-2024 01:21:14 Looking in indexes: https://casa-pip.nrao.edu:443/repository/pypi-group/simple build 24-Aug-2024 01:21:14 Collecting requests build 24-Aug-2024 01:21:14 Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/requests/2.23.0/requests-2.23.0-py2.py3-none-any.whl (58 kB) build 24-Aug-2024 01:21:14 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.4/58.4 KB 4.3 MB/s eta 0:00:00 build 24-Aug-2024 01:21:14 Collecting idna<3,>=2.5 build 24-Aug-2024 01:21:14 Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/idna/2.9/idna-2.9-py2.py3-none-any.whl (58 kB) build 24-Aug-2024 01:21:14 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.4/58.4 KB 8.0 MB/s eta 0:00:00 build 24-Aug-2024 01:21:15 Collecting chardet<4,>=3.0.2 build 24-Aug-2024 01:21:15 Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/chardet/3.0.4/chardet-3.0.4-py2.py3-none-any.whl (133 kB) build 24-Aug-2024 01:21:15 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 KB 9.4 MB/s eta 0:00:00 build 24-Aug-2024 01:21:15 Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 build 24-Aug-2024 01:21:15 Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/urllib3/1.25.9/urllib3-1.25.9-py2.py3-none-any.whl (126 kB) build 24-Aug-2024 01:21:15 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.7/126.7 KB 13.2 MB/s eta 0:00:00 build 24-Aug-2024 01:21:15 Collecting certifi>=2017.4.17 build 24-Aug-2024 01:21:15 Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/certifi/2020.12.5/certifi-2020.12.5-py2.py3-none-any.whl (147 kB) build 24-Aug-2024 01:21:15 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.5/147.5 KB 14.4 MB/s eta 0:00:00 build 24-Aug-2024 01:21:15 Installing collected packages: chardet, certifi, urllib3, idna, requests build 24-Aug-2024 01:21:16 Successfully installed certifi-2020.12.5 chardet-3.0.4 idna-2.9 requests-2.23.0 urllib3-1.25.9 error 24-Aug-2024 01:21:16 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv build 24-Aug-2024 01:22:08 Namespace(package='/dockershare/casa-6.6.5-26-py3.8.el8.tar.xz', verbose=True, outputdir='/home/casatest/', work_dir=None, list_malicious=False, json_to_xml=None) build 24-Aug-2024 01:22:08 System: Linux build 24-Aug-2024 01:22:08 Unpacking tarball: /dockershare/casa-6.6.5-26-py3.8.el8.tar.xz to /home/casatest/ build 24-Aug-2024 01:22:08 Outputdir contents:/home/casatest/ error 24-Aug-2024 01:22:08 Traceback (most recent call last): build 24-Aug-2024 01:22:08 casa-6.6.5-26-py3.8.el8 error 24-Aug-2024 01:22:08 File "/home/casatest/casa-build-utils/test/malicious_pypi_pkgs_checker.py", line 282, in build 24-Aug-2024 01:22:08 installpath: casa-6.6.5-26-py3.8.el8 error 24-Aug-2024 01:22:08 run(args.package, args.work_dir, args.outputdir, args.verbose) build 24-Aug-2024 01:22:08 casa-build-utils error 24-Aug-2024 01:22:08 File "/home/casatest/casa-build-utils/test/malicious_pypi_pkgs_checker.py", line 117, in run build 24-Aug-2024 01:22:08 installpath: casa-build-utils error 24-Aug-2024 01:22:08 py_minor_version = subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=False).decode("utf-8").strip() build 24-Aug-2024 01:22:08 .config error 24-Aug-2024 01:22:08 File "/usr/local/lib/python3.10/subprocess.py", line 420, in check_output build 24-Aug-2024 01:22:08 .casa error 24-Aug-2024 01:22:08 return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, error 24-Aug-2024 01:22:08 File "/usr/local/lib/python3.10/subprocess.py", line 501, in run error 24-Aug-2024 01:22:08 with Popen(*popenargs, **kwargs) as process: error 24-Aug-2024 01:22:08 File "/usr/local/lib/python3.10/subprocess.py", line 966, in __init__ error 24-Aug-2024 01:22:08 self._execute_child(args, executable, preexec_fn, close_fds, error 24-Aug-2024 01:22:08 File "/usr/local/lib/python3.10/subprocess.py", line 1842, in _execute_child error 24-Aug-2024 01:22:08 raise child_exception_type(errno_num, err_msg, err_filename) error 24-Aug-2024 01:22:08 FileNotFoundError: [Errno 2] No such file or directory: '/home/casatest//casa-build-utils/bin/python3' error 24-Aug-2024 01:22:08 mv: cannot stat '/home/casatest/casa-build-utils/test/output_malicious.xml': No such file or directory build 24-Aug-2024 01:22:08 total 981064 build 24-Aug-2024 01:22:08 -rw-r--r-- 1 casaci 15001 1004604308 Aug 24 05:21 casa-6.6.5-26-py3.8.el8.tar.xz simple 24-Aug-2024 01:22:08 Finished task 'Run Audit' with result: Success simple 24-Aug-2024 01:22:08 Starting task 'Parse test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' simple 24-Aug-2024 01:22:08 Parsing test results under /export/home/cbt-el7-1/bamboo-home/xml-data/build-dir/CASA-RECPA-CFKMMP3... simple 24-Aug-2024 01:22:08 Failing task since test cases were expected but none were found. simple 24-Aug-2024 01:22:08 Finished task 'Parse test results' with result: Failed simple 24-Aug-2024 01:22:08 Starting task 'Cleanup' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 24-Aug-2024 01:22:08 Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux228 Python 3.8 #60 (CASA-RECPA-CFKMMP3-60)'\n ... running command line: \n/export/home/cbt-el7-1/bamboo-home/temp/CASA-RECPA-CFKMMP3-60-ScriptBuildTask-2966795521600896551.sh\n ... in: /export/home/cbt-el7-1/bamboo-home/xml-data/build-dir/CASA-RECPA-CFKMMP3\n build 24-Aug-2024 01:22:08 Starting cleanup build 24-Aug-2024 01:22:19 test-container build 24-Aug-2024 01:22:20 test-container build 24-Aug-2024 01:22:20 Cleanup complete simple 24-Aug-2024 01:22:20 Finished task 'Cleanup' with result: Success simple 24-Aug-2024 01:22:20 Running post build plugin 'Docker Container Cleanup' command 24-Aug-2024 01:22:20 Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux228 Python 3.8 #60 (CASA-RECPA-CFKMMP3-60)'\n ... running command line: \n/bin/docker rm -f test-container\n ... in: /export/home/cbt-el7-1/bamboo-home/xml-data/build-dir/CASA-RECPA-CFKMMP3\n error 24-Aug-2024 01:22:20 Error response from daemon: No such container: test-container simple 24-Aug-2024 01:22:20 Running post build plugin 'NCover Results Collector' simple 24-Aug-2024 01:22:20 Running post build plugin 'Build Results Label Collector' simple 24-Aug-2024 01:22:20 Running post build plugin 'Clover Results Collector' simple 24-Aug-2024 01:22:20 Running post build plugin 'npm Cache Cleanup' simple 24-Aug-2024 01:22:20 Running post build plugin 'Artifact Copier' simple 24-Aug-2024 01:22:20 Finalising the build... simple 24-Aug-2024 01:22:20 Stopping timer. simple 24-Aug-2024 01:22:20 Build CASA-RECPA-CFKMMP3-60 completed. simple 24-Aug-2024 01:22:20 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 24-Aug-2024 01:22:20 Running on server: post build plugin 'NCover Results Collector' simple 24-Aug-2024 01:22:20 Running on server: post build plugin 'Build Labeller' simple 24-Aug-2024 01:22:20 Running on server: post build plugin 'Clover Delta Calculator' simple 24-Aug-2024 01:22:20 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 24-Aug-2024 01:22:20 All post build plugins have finished simple 24-Aug-2024 01:22:20 Generating build results summary... simple 24-Aug-2024 01:22:20 Saving build results to disk... simple 24-Aug-2024 01:22:20 Store variable context... simple 24-Aug-2024 01:22:20 Finished building CASA-RECPA-CFKMMP3-60.