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