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