Check Packages for Installed Malicious Packages
Build: #62 failed
Job: Check For Known Malicious ManyLinux2014 Python 3.10 failed
Build log
The build generated 127 lines of output. Download or view full build log.
13-Sep-2024 10:20:14 | Build CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.10 #62 (CASA-RECPA-CFKMM2014P310-62) is being prepared for building on agent cbt-el7-2.cv.nrao.edu, bamboo version: 9.2.17 |
13-Sep-2024 10:20:14 | Remote agent on host cbt-el7-2.cv.nrao.edu |
13-Sep-2024 10:20:14 | Build working directory is /export/home/cbt-el7-2/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P310 |
13-Sep-2024 10:20:14 | Executing build CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.10 #62 (CASA-RECPA-CFKMM2014P310-62) |
13-Sep-2024 10:20:14 | Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask' |
13-Sep-2024 10:20:14 | Cleaning working directory '/export/home/cbt-el7-2/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P310' |
13-Sep-2024 10:20:14 | Finished task 'Clean working directory task' with result: Success |
13-Sep-2024 10:20:14 | Running pre-build action: Build Log Labeller Pre Build Action |
13-Sep-2024 10:20:15 | Running pre-build action: VCS Version Collector |
13-Sep-2024 10:20:15 | Build CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.10 #62 (CASA-RECPA-CFKMM2014P310-62) started building on agent 'cbt-el7-2.cv.nrao.edu' (Remote agent on host cbt-el7-2.cv.nrao.edu) |
13-Sep-2024 10:20:15 | Substituting variable: ${bamboo.planRepository.branchName} with master |
13-Sep-2024 10:20:15 | Starting task 'Check if this is a 6.4.1 ticket' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' |
13-Sep-2024 10:20:15 | Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.10 #62 (CASA-RECPA-CFKMM2014P310-62)' ... running command line: /export/home/cbt-el7-2/bamboohome/temp/CASA-RECPA-CFKMM2014P310-62-ScriptBuildTask-6552451458596974601.sh ... in: /export/home/cbt-el7-2/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P310 |
13-Sep-2024 10:20:15 | % Total % Received % Xferd Average Speed Time Time Time Current |
13-Sep-2024 10:20:15 | Dload Upload Total Spent Left Speed |
13-Sep-2024 10:20:15 | |
13-Sep-2024 10:20:15 | 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 |
13-Sep-2024 10:20:15 | 100 6002k 100 6002k 0 0 18.7M 0 --:--:-- --:--:-- --:--:-- 18.9M |
13-Sep-2024 10:20:15 | [10469] Failed to execute script 'atlutil' due to unhandled exception! |
13-Sep-2024 10:20:15 | Traceback (most recent call last): |
13-Sep-2024 10:20:15 | File "atlutil.py", line 200, in <module> |
13-Sep-2024 10:20:15 | File "atlutil.py", line 165, in has_fix_version |
13-Sep-2024 10:20:15 | KeyError: 'fields' |
13-Sep-2024 10:20:15 | Finished task 'Check if this is a 6.4.1 ticket' with result: Success |
13-Sep-2024 10:20:15 | Starting task 'Inject is_641' of type 'com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin:inject' |
13-Sep-2024 10:20:15 | Injected variable bamboo.inject.is_641=False in LOCAL scope |
13-Sep-2024 10:20:15 | Finished task 'Inject is_641' with result: Success |
13-Sep-2024 10:20:15 | Starting task 'Download casalith' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask' |
13-Sep-2024 10:20:15 | Preparing to download plan result CASA-CMBC-114 artifact: Required shared artifact Http Compression On : [ManyLinux2014 Python 3.10 Tarball], patterns: [*.xz] anchored at: [source/wheels] |
13-Sep-2024 10:20:54 | Artifact [ManyLinux2014 Python 3.10 Tarball] downloaded successfully in 38.75 s to dockershare/ |
13-Sep-2024 10:20:54 | Finished task 'Download casalith' with result: Success |
13-Sep-2024 10:20:54 | Substituting variable: ${bamboo.working.directory} with /export/home/cbt-el7-2/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P310 |
13-Sep-2024 10:20:54 | Starting task 'Docker' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli' |
13-Sep-2024 10:20:54 | Running image name (casa-docker.nrao.edu:5000/casa-test-casalith:1) |
13-Sep-2024 10:20:54 | Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.10 #62 (CASA-RECPA-CFKMM2014P310-62)' ... running command line: /bin/docker run --volume /opt/casa/data/:/opt/casa/data --volume /export/home/cbt-el7-2/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P310/dockershare:/dockershare --detach --privileged --name test-container casa-docker.nrao.edu:5000/casa-test-casalith:1 tail -f /dev/null ... in: /export/home/cbt-el7-2/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P310 |
13-Sep-2024 10:20:55 | 6f85b1e75fec48905528252c57af12ef785a481cc74e42d172188694e8219235 |
13-Sep-2024 10:20:56 | Finished task 'Docker' with result: Success |
13-Sep-2024 10:20:56 | Substituting variable: ${bamboo.planRepository.branchName} with master |
13-Sep-2024 10:20:56 | Starting task 'Run Audit' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' |
13-Sep-2024 10:20:56 | Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.10 #62 (CASA-RECPA-CFKMM2014P310-62)' ... running command line: /export/home/cbt-el7-2/bamboohome/temp/CASA-RECPA-CFKMM2014P310-62-ScriptBuildTask-5677170715873613147.sh ... in: /export/home/cbt-el7-2/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P310 |
13-Sep-2024 10:20:56 | branch: master |
13-Sep-2024 10:20:56 | /export/home/cbt-el7-2/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P310 |
13-Sep-2024 10:20:56 | datapath=[ "/opt/casa/data/master","/opt/casa/data/casatestdata"] |
13-Sep-2024 10:20:56 | measurespath="/opt/casa/data/master" |
13-Sep-2024 10:20:56 | measures_auto_update=False |
13-Sep-2024 10:20:56 | data_auto_update=False |
13-Sep-2024 10:20:56 | total 935304 |
13-Sep-2024 10:20:56 | -rw-r--r-- 1 9285 15001 957744048 Sep 13 14:20 casa-6.7.0-2-py3.10.el7.tar.xz |
13-Sep-2024 10:20:56 | Cloning into 'casa-build-utils'... |
13-Sep-2024 10:20:57 | Branch CAS-14256 set up to track remote branch CAS-14256 from origin. |
13-Sep-2024 10:20:57 | Switched to a new branch 'CAS-14256' |
13-Sep-2024 10:20:57 | datapath=[ "/opt/casa/data/master","/opt/casa/data/casatestdata"] |
13-Sep-2024 10:20:57 | measurespath="/opt/casa/data/master" |
13-Sep-2024 10:20:57 | measures_auto_update=False |
13-Sep-2024 10:20:57 | data_auto_update=False |
13-Sep-2024 10:20:57 | Collecting requests |
13-Sep-2024 10:20:57 | Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/requests/2.23.0/requests-2.23.0-py2.py3-none-any.whl (58kB) |
13-Sep-2024 10:20:57 | Collecting certifi>=2017.4.17 (from requests) |
13-Sep-2024 10:20:57 | Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/certifi/2020.12.5/certifi-2020.12.5-py2.py3-none-any.whl (147kB) |
13-Sep-2024 10:20:58 | Collecting idna<3,>=2.5 (from requests) |
13-Sep-2024 10:20:58 | Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/idna/2.9/idna-2.9-py2.py3-none-any.whl (58kB) |
13-Sep-2024 10:20:58 | Collecting chardet<4,>=3.0.2 (from requests) |
13-Sep-2024 10:20:58 | Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/chardet/3.0.4/chardet-3.0.4-py2.py3-none-any.whl (133kB) |
13-Sep-2024 10:20:58 | Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests) |
13-Sep-2024 10:20:58 | Downloading https://casa-pip.nrao.edu:443/repository/pypi-group/packages/urllib3/1.25.9/urllib3-1.25.9-py2.py3-none-any.whl (126kB) |
13-Sep-2024 10:20:58 | Installing collected packages: certifi, idna, chardet, urllib3, requests |
13-Sep-2024 10:20:58 | Successfully installed certifi-2020.12.5 chardet-3.0.4 idna-2.9 requests-2.23.0 urllib3-1.25.9 |
13-Sep-2024 10:21:48 | Namespace(json_to_xml=None, list_malicious=False, outputdir='/home/casatest/', package='/dockershare/casa-6.7.0-2-py3.10.el7.tar.xz', verbose=True, work_dir=None) |
13-Sep-2024 10:21:48 | System: Linux |
13-Sep-2024 10:21:48 | Unpacking tarball: /dockershare/casa-6.7.0-2-py3.10.el7.tar.xz to /home/casatest/ |
13-Sep-2024 10:21:48 | Outputdir contents:/home/casatest/ |
13-Sep-2024 10:21:48 | .casa |
13-Sep-2024 10:21:48 | casa-6.7.0-2-py3.10.el7 |
13-Sep-2024 10:21:48 | installpath: casa-6.7.0-2-py3.10.el7 |
13-Sep-2024 10:21:48 | casa-build-utils |
13-Sep-2024 10:21:48 | installpath: casa-build-utils |
13-Sep-2024 10:21:48 | .config |
13-Sep-2024 10:21:48 | Traceback (most recent call last): |
13-Sep-2024 10:21:48 | File "malicious_pypi_pkgs_checker.py", line 282, in <module> |
13-Sep-2024 10:21:48 | run(args.package, args.work_dir, args.outputdir, args.verbose) |
13-Sep-2024 10:21:48 | File "malicious_pypi_pkgs_checker.py", line 117, in run |
13-Sep-2024 10:21:48 | py_minor_version = subprocess.check_output(cmd,stderr=subprocess.STDOUT,shell=False).decode("utf-8").strip() |
13-Sep-2024 10:21:48 | File "/usr/local/lib/python3.6/subprocess.py", line 336, in check_output |
13-Sep-2024 10:21:48 | **kwargs).stdout |
13-Sep-2024 10:21:48 | File "/usr/local/lib/python3.6/subprocess.py", line 403, in run |
13-Sep-2024 10:21:48 | with Popen(*popenargs, **kwargs) as process: |
13-Sep-2024 10:21:48 | File "/usr/local/lib/python3.6/subprocess.py", line 709, in __init__ |
13-Sep-2024 10:21:48 | restore_signals, start_new_session) |
13-Sep-2024 10:21:48 | File "/usr/local/lib/python3.6/subprocess.py", line 1344, in _execute_child |
13-Sep-2024 10:21:48 | raise child_exception_type(errno_num, err_msg, err_filename) |
13-Sep-2024 10:21:48 | FileNotFoundError: [Errno 2] No such file or directory: '/home/casatest//casa-build-utils/bin/python3': '/home/casatest//casa-build-utils/bin/python3' |
13-Sep-2024 10:21:49 | mv: cannot stat '/home/casatest/casa-build-utils/test/output_malicious.xml': No such file or directory |
13-Sep-2024 10:21:49 | total 935304 |
13-Sep-2024 10:21:49 | -rw-r--r-- 1 casaci 15001 957744048 Sep 13 14:20 casa-6.7.0-2-py3.10.el7.tar.xz |
13-Sep-2024 10:21:49 | Finished task 'Run Audit' with result: Success |
13-Sep-2024 10:21:49 | Starting task 'Parse test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' |
13-Sep-2024 10:21:49 | Parsing test results under /export/home/cbt-el7-2/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P310... |
13-Sep-2024 10:21:49 | Failing task since test cases were expected but none were found. |
13-Sep-2024 10:21:49 | Finished task 'Parse test results' with result: Failed |
13-Sep-2024 10:21:49 | Starting task 'Cleanup' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' |
13-Sep-2024 10:21:49 | Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.10 #62 (CASA-RECPA-CFKMM2014P310-62)' ... running command line: /export/home/cbt-el7-2/bamboohome/temp/CASA-RECPA-CFKMM2014P310-62-ScriptBuildTask-5767068135449507384.sh ... in: /export/home/cbt-el7-2/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P310 |
13-Sep-2024 10:21:49 | Starting cleanup |
13-Sep-2024 10:22:01 | test-container |
13-Sep-2024 10:22:02 | test-container |
13-Sep-2024 10:22:02 | Cleanup complete |
13-Sep-2024 10:22:02 | Finished task 'Cleanup' with result: Success |
13-Sep-2024 10:22:02 | Running post build plugin 'Docker Container Cleanup' |
13-Sep-2024 10:22:02 | Beginning to execute external process for build 'CASA - Cmake Package Audit - Malicious - Check For Known Malicious ManyLinux2014 Python 3.10 #62 (CASA-RECPA-CFKMM2014P310-62)' ... running command line: /bin/docker rm -f test-container ... in: /export/home/cbt-el7-2/bamboohome/xml-data/build-dir/CASA-RECPA-CFKMM2014P310 |
13-Sep-2024 10:22:02 | Error response from daemon: No such container: test-container |
13-Sep-2024 10:22:02 | Running post build plugin 'NCover Results Collector' |
13-Sep-2024 10:22:02 | Running post build plugin 'Build Results Label Collector' |
13-Sep-2024 10:22:02 | Running post build plugin 'Clover Results Collector' |
13-Sep-2024 10:22:02 | Running post build plugin 'npm Cache Cleanup' |
13-Sep-2024 10:22:02 | Running post build plugin 'Artifact Copier' |
13-Sep-2024 10:22:02 | Finalising the build... |
13-Sep-2024 10:22:02 | Stopping timer. |
13-Sep-2024 10:22:02 | Build CASA-RECPA-CFKMM2014P310-62 completed. |
13-Sep-2024 10:22:02 | Running on server: post build plugin 'Build Hanging Detection Configuration' |
13-Sep-2024 10:22:02 | Running on server: post build plugin 'NCover Results Collector' |
13-Sep-2024 10:22:02 | Running on server: post build plugin 'Build Labeller' |
13-Sep-2024 10:22:02 | Running on server: post build plugin 'Clover Delta Calculator' |
13-Sep-2024 10:22:02 | Running on server: post build plugin 'Maven Dependencies Postprocessor' |
13-Sep-2024 10:22:02 | All post build plugins have finished |
13-Sep-2024 10:22:02 | Generating build results summary... |
13-Sep-2024 10:22:02 | Saving build results to disk... |
13-Sep-2024 10:22:02 | Store variable context... |
13-Sep-2024 10:22:02 | Finished building CASA-RECPA-CFKMM2014P310-62. |