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