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