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