Build: #2 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

The build generated 161 lines of output. Download or view full build log.

25-Aug-2023 09:43:11 Build CoverCrop - API - feature-CCROP-424-update-default-experiment-file-for-2023-2024 - Default Job #2 (CCROP-API10-JOB1-2) is being prepared for building on agent buildserver-1.ncsa.illinois.edu, bamboo version: 9.3.1
25-Aug-2023 09:43:11 Remote agent on host buildserver-1.ncsa.illinois.edu
25-Aug-2023 09:43:11 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/CCROP-API10-JOB1
25-Aug-2023 09:43:11 Executing build CoverCrop - API - feature-CCROP-424-update-default-experiment-file-for-2023-2024 - Default Job #2 (CCROP-API10-JOB1-2)
25-Aug-2023 09:43:11 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
25-Aug-2023 09:43:11 Build always requires a clean checkout
25-Aug-2023 09:43:11 Cleaning build directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/CCROP-API10-JOB1'
25-Aug-2023 09:43:12 Checking out into /home/bamboo/bamboo-agent-home/xml-data/build-dir/CCROP-API10-JOB1
25-Aug-2023 09:43:12 Updating source code to revision: 204e0b855dc37d146561284197754cb232635ed4
25-Aug-2023 09:43:12 Creating local git repository in '/home/bamboo/bamboo-agent-home/xml-data/build-dir/CCROP-API10-JOB1/.git'.
25-Aug-2023 09:43:12 Initialized empty Git repository in /home/bamboo/bamboo-agent-home/xml-data/build-dir/CCROP-API10-JOB1/.git/
25-Aug-2023 09:43:12 Fetching 'refs/heads/feature/CCROP-424-update-default-experiment-file-for-2023-2024' from 'ssh://git@opensource.ncsa.illinois.edu:7999/ccrop/service.git'.
25-Aug-2023 09:43:13 Warning: Permanently added '[127.0.0.1]:32877' (RSA) to the list of known hosts.
25-Aug-2023 09:48:27 Checking out revision 204e0b855dc37d146561284197754cb232635ed4.
25-Aug-2023 09:48:30 Switched to branch 'feature/CCROP-424-update-default-experiment-file-for-2023-2024'
25-Aug-2023 09:48:31 Updated source code to revision: 204e0b855dc37d146561284197754cb232635ed4
25-Aug-2023 09:48:31 Finished task 'Checkout Default Repository' with result: Success
25-Aug-2023 09:48:31 Running pre-build action: Build Log Labeller Pre Build Action
25-Aug-2023 09:48:31 Running pre-build action: VCS Version Collector
25-Aug-2023 09:48:31 Build CoverCrop - API - feature-CCROP-424-update-default-experiment-file-for-2023-2024 - Default Job #2 (CCROP-API10-JOB1-2) started building on agent 'buildserver-1.ncsa.illinois.edu' (Remote agent on host buildserver-1.ncsa.illinois.edu)
25-Aug-2023 09:48:31 Starting task 'docker build' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
25-Aug-2023 09:48:31
Beginning to execute external process for build 'CoverCrop - API - feature-CCROP-424-update-default-experiment-file-for-2023-2024 - Default Job #2 (CCROP-API10-JOB1-2)'
... running command line:
/bin/sh docker.sh
... in: /home/bamboo/bamboo-agent-home/xml-data/build-dir/CCROP-API10-JOB1
25-Aug-2023 09:48:31 #1 [internal] load .dockerignore
25-Aug-2023 09:48:31 #1 transferring context:
25-Aug-2023 09:48:31 #1 transferring context: 812B 0.0s done
25-Aug-2023 09:48:31 #1 DONE 0.3s
25-Aug-2023 09:48:31
25-Aug-2023 09:48:31 #2 [internal] load build definition from Dockerfile
25-Aug-2023 09:48:31 #2 transferring dockerfile: 1.24kB 0.0s done
25-Aug-2023 09:48:31 #2 DONE 0.3s
25-Aug-2023 09:48:31
25-Aug-2023 09:48:31 #3 [internal] load metadata for docker.io/library/maven:3-jdk-8
25-Aug-2023 09:48:31 #3 DONE 0.3s
25-Aug-2023 09:48:31
25-Aug-2023 09:48:31 #4 [internal] load metadata for docker.io/library/openjdk:14-slim
25-Aug-2023 09:48:31 #4 DONE 0.3s
25-Aug-2023 09:48:31
25-Aug-2023 09:48:31 #5 [build 1/6] FROM docker.io/library/maven:3-jdk-8@sha256:ff18d86faefa15d1445d0fa4874408cc96dec068eb3487a0fc6d07f359a24607
25-Aug-2023 09:48:31 #5 DONE 0.0s
25-Aug-2023 09:48:31
25-Aug-2023 09:48:31 #6 [stage-1 1/9] FROM docker.io/library/openjdk:14-slim@sha256:95bd8202bd64d4e36ffdf824588c0551b35e8fc3f279492c561e8dfb4d404c70
25-Aug-2023 09:48:31 #6 DONE 0.0s
25-Aug-2023 09:48:31
25-Aug-2023 09:48:31 #7 [internal] load build context
25-Aug-2023 09:48:34 #7 transferring context: 391.45MB 2.8s done
25-Aug-2023 09:48:34 #7 DONE 2.9s
25-Aug-2023 09:48:34
25-Aug-2023 09:48:34 #8 [build 5/6] RUN unzip -o master.zip
25-Aug-2023 09:48:34 #8 CACHED
25-Aug-2023 09:48:34
25-Aug-2023 09:48:34 #9 [stage-1 5/9] COPY --from=build /src/translator-dssat-master/target/*.jar /root/service/lib/translator-dssat-master/target/
25-Aug-2023 09:48:34 #9 CACHED
25-Aug-2023 09:48:34
25-Aug-2023 09:48:34 #10 [stage-1 4/9] COPY ./requirements.txt /root/service/requirements.txt
25-Aug-2023 09:48:34 #10 CACHED
25-Aug-2023 09:48:34
25-Aug-2023 09:48:34 #11 [build 3/6] WORKDIR /src
25-Aug-2023 09:48:34 #11 CACHED
25-Aug-2023 09:48:34
25-Aug-2023 09:48:34 #12 [stage-1 3/9] RUN apt-get update &&    apt-get install -y python3 python3-dev python3-pip python3-setuptools binutils libproj-dev gdal-bin libgdal-dev g++ --no-install-recommends &&     apt-get clean -y
25-Aug-2023 09:48:34 #12 CACHED
25-Aug-2023 09:48:34
25-Aug-2023 09:48:34 #13 [build 4/6] RUN wget https://github.com/sandeep-ps/translator-dssat/archive/master.zip
25-Aug-2023 09:48:34 #13 CACHED
25-Aug-2023 09:48:34
25-Aug-2023 09:48:34 #14 [build 2/6] RUN apt-get update && apt-get -y install net-tools
25-Aug-2023 09:48:34 #14 CACHED
25-Aug-2023 09:48:34
25-Aug-2023 09:48:34 #15 [build 6/6] RUN mvn -f translator-dssat-master/pom.xml -DskipTests package
25-Aug-2023 09:48:34 #15 CACHED
25-Aug-2023 09:48:34
25-Aug-2023 09:48:34 #16 [stage-1 2/9] RUN apt update && apt upgrade -y
25-Aug-2023 09:48:34 #16 CACHED
25-Aug-2023 09:48:34
25-Aug-2023 09:48:34 #17 [stage-1 6/9] RUN pip3 install --upgrade pip
25-Aug-2023 09:48:34 #17 CACHED
25-Aug-2023 09:48:34
25-Aug-2023 09:48:34 #18 [stage-1 7/9] RUN pip3 install -r /root/service/requirements.txt
25-Aug-2023 09:48:35 #18 0.752 Collecting click==6.7 (from -r /root/service/requirements.txt (line 1))
25-Aug-2023 09:48:35 #18 0.807   Downloading click-6.7-py2.py3-none-any.whl (71 kB)
25-Aug-2023 09:48:35 #18 0.821      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.2/71.2 kB 6.1 MB/s eta 0:00:00
25-Aug-2023 09:48:35 #18 0.862 Collecting Flask==0.12.2 (from -r /root/service/requirements.txt (line 2))
25-Aug-2023 09:48:35 #18 0.873   Downloading Flask-0.12.2-py2.py3-none-any.whl (83 kB)
25-Aug-2023 09:48:35 #18 0.880      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.0/83.0 kB 16.9 MB/s eta 0:00:00
25-Aug-2023 09:48:35 #18 0.908 Collecting Flask-RESTful==0.3.6 (from -r /root/service/requirements.txt (line 3))
25-Aug-2023 09:48:35 #18 0.919   Downloading Flask_RESTful-0.3.6-py2.py3-none-any.whl (25 kB)
25-Aug-2023 09:48:35 #18 0.953 Collecting Flask-SQLAlchemy==2.3.2 (from -r /root/service/requirements.txt (line 4))
25-Aug-2023 09:48:35 #18 0.964   Downloading Flask_SQLAlchemy-2.3.2-py2.py3-none-any.whl (16 kB)
25-Aug-2023 09:48:35 #18 1.001 Collecting Flask-Cors==3.0.3 (from -r /root/service/requirements.txt (line 5))
25-Aug-2023 09:48:35 #18 1.010   Downloading Flask_Cors-3.0.3-py2.py3-none-any.whl (15 kB)
25-Aug-2023 09:48:35 #18 1.047 Collecting gdal==2.2.2 (from -r /root/service/requirements.txt (line 6))
25-Aug-2023 09:48:35 #18 1.059   Downloading GDAL-2.2.2.tar.gz (475 kB)
25-Aug-2023 09:48:35 #18 1.075      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 475.3/475.3 kB 37.1 MB/s eta 0:00:00
25-Aug-2023 09:48:35 #18 1.131   Installing build dependencies: started
25-Aug-2023 09:48:37 #18 2.832   Installing build dependencies: finished with status 'done'
25-Aug-2023 09:48:37 #18 2.834   Getting requirements to build wheel: started
25-Aug-2023 09:48:37 #18 3.044   Getting requirements to build wheel: finished with status 'error'
25-Aug-2023 09:48:37 #18 3.052   error: subprocess-exited-with-error
25-Aug-2023 09:48:37 #18 3.052   
25-Aug-2023 09:48:37 #18 3.052   × Getting requirements to build wheel did not run successfully.
25-Aug-2023 09:48:37 #18 3.052   │ exit code: 1
25-Aug-2023 09:48:37 #18 3.052   ╰─> [5 lines of output]
25-Aug-2023 09:48:37 #18 3.052       /tmp/pip-build-env-u6s81j81/overlay/lib/python3.7/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'use_2to3_fixers'
25-Aug-2023 09:48:37 #18 3.052         warnings.warn(msg)
25-Aug-2023 09:48:37 #18 3.052       /tmp/pip-build-env-u6s81j81/overlay/lib/python3.7/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'use_2to3_exclude_fixers'
25-Aug-2023 09:48:37 #18 3.052         warnings.warn(msg)
25-Aug-2023 09:48:37 #18 3.052       error in GDAL setup command: use_2to3 is invalid.
25-Aug-2023 09:48:37 #18 3.052       [end of output]
25-Aug-2023 09:48:37 #18 3.052   
25-Aug-2023 09:48:37 #18 3.052   note: This error originates from a subprocess, and is likely not a problem with pip.
25-Aug-2023 09:48:37 #18 3.054 error: subprocess-exited-with-error
25-Aug-2023 09:48:37 #18 3.054
25-Aug-2023 09:48:37 #18 3.054 × Getting requirements to build wheel did not run successfully.
25-Aug-2023 09:48:37 #18 3.054 │ exit code: 1
25-Aug-2023 09:48:37 #18 3.054 ╰─> See above for output.
25-Aug-2023 09:48:37 #18 3.054
25-Aug-2023 09:48:37 #18 3.054 note: This error originates from a subprocess, and is likely not a problem with pip.
25-Aug-2023 09:48:38 #18 ERROR: process "/bin/sh -c pip3 install -r /root/service/requirements.txt" did not complete successfully: exit code: 1
25-Aug-2023 09:48:38 ------
25-Aug-2023 09:48:38 > [stage-1 7/9] RUN pip3 install -r /root/service/requirements.txt:
25-Aug-2023 09:48:38 #18 3.052       [end of output]
25-Aug-2023 09:48:38 #18 3.052   
25-Aug-2023 09:48:38 #18 3.052   note: This error originates from a subprocess, and is likely not a problem with pip.
25-Aug-2023 09:48:38 #18 3.054 error: subprocess-exited-with-error
25-Aug-2023 09:48:38 #18 3.054
25-Aug-2023 09:48:38 #18 3.054 × Getting requirements to build wheel did not run successfully.
25-Aug-2023 09:48:38 #18 3.054 │ exit code: 1
25-Aug-2023 09:48:38 #18 3.054 ╰─> See above for output.
25-Aug-2023 09:48:38 #18 3.054
25-Aug-2023 09:48:38 #18 3.054 note: This error originates from a subprocess, and is likely not a problem with pip.
25-Aug-2023 09:48:38 ------
25-Aug-2023 09:48:38 Dockerfile:27
25-Aug-2023 09:48:38 --------------------
25-Aug-2023 09:48:38   25 |     RUN pip3 install --upgrade pip
25-Aug-2023 09:48:38   26 |     # Install service requirements
25-Aug-2023 09:48:38   27 | >>> RUN pip3 install -r /root/service/requirements.txt
25-Aug-2023 09:48:38   28 |     
25-Aug-2023 09:48:38   29 |     WORKDIR /root/service
25-Aug-2023 09:48:38 --------------------
25-Aug-2023 09:48:38 ERROR: failed to solve: process "/bin/sh -c pip3 install -r /root/service/requirements.txt" did not complete successfully: exit code: 1
25-Aug-2023 09:48:38 Failing task since return code of [/bin/sh docker.sh] was 1 while expected 0
25-Aug-2023 09:48:38 Finished task 'docker build' with result: Failed
25-Aug-2023 09:48:38 Running post build plugin 'Docker Container Cleanup'
25-Aug-2023 09:48:38 Running post build plugin 'NCover Results Collector'
25-Aug-2023 09:48:38 Running post build plugin 'Build Results Label Collector'
25-Aug-2023 09:48:38 Running post build plugin 'Clover Results Collector'
25-Aug-2023 09:48:38 Running post build plugin 'npm Cache Cleanup'
25-Aug-2023 09:48:38 Running post build plugin 'Artifact Copier'
25-Aug-2023 09:48:38 Finalising the build...
25-Aug-2023 09:48:38 Stopping timer.
25-Aug-2023 09:48:38 Build CCROP-API10-JOB1-2 completed.
25-Aug-2023 09:48:47 Running on server: post build plugin 'Build Hanging Detection Configuration'
25-Aug-2023 09:48:47 Running on server: post build plugin 'NCover Results Collector'
25-Aug-2023 09:48:47 Running on server: post build plugin 'Build Labeller'
25-Aug-2023 09:48:47 Running on server: post build plugin 'Clover Delta Calculator'
25-Aug-2023 09:48:47 Running on server: post build plugin 'Maven Dependencies Postprocessor'
25-Aug-2023 09:48:47 All post build plugins have finished
25-Aug-2023 09:48:47 Generating build results summary...
25-Aug-2023 09:48:47 Saving build results to disk...
25-Aug-2023 09:48:48 Store variable context...
25-Aug-2023 09:48:48 Finished building CCROP-API10-JOB1-2.