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