Build:
  1. 0
2024-08-30 15:04.31: New job: docker build {
                                             "compose-or-build": true,
                                             "commit": "a0b8ef0917eb0a8979777e922337a1d7678e8dda",
                                             "dockerfile": {
                                               "file": "Dockerfile"
                                             },
                                             "docker_context": null,
                                             "squash": false,
                                             "build_args": [],
                                             "path": null
                                           }
2024-08-30 15:04.31: Checking out commit a0b8ef09. To reproduce:
                       git clone --recursive "https://github.com/quantifyearth/tmf-implementation.git" -b "aew85-evaluations" && cd "tmf-implementation" && git reset --hard a0b8ef09
2024-08-30 15:04.31: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/tmf-implementation.git-5332eb8f4e9a0e164ac8337c5fb9bb231623a1b49513d9e0b7e8093b59f0e60b/.git" 
                           "/tmp/git-checkout11344cff"
2024-08-30 15:04.31: Exec: "git" "-C" "/tmp/git-checkout11344cff" "reset" 
                           "--hard" "-q" "a0b8ef0917eb0a8979777e922337a1d7678e8dda"
2024-08-30 15:04.31: Exec: "docker" "build" "--pull" "-f" "/tmp/git-checkout11344cff/Dockerfile" 
                           "--iidfile" "/tmp/git-checkout11344cff/docker-iid" 
                           "--" "/tmp/git-checkout11344cff"
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  2.828MB

Step 1/16 : FROM golang:bullseye AS littlejohn
bullseye: Pulling from library/golang
Digest: sha256:ecef8303ced05b7cd1addf3c8ea98974f9231d4c5a0c230d23b37bb623714a23
Status: Image is up to date for golang:bullseye
 ---> 48f8b7439c53
Step 2/16 : RUN git clone https://github.com/carboncredits/littlejohn.git
 ---> Using cache
 ---> 0dbe8e1e6122
Step 3/16 : WORKDIR littlejohn
 ---> Using cache
 ---> 7a7b86d6cd3d
Step 4/16 : RUN go build
 ---> Using cache
 ---> a717c84baf63
Step 5/16 : FROM ghcr.io/osgeo/gdal:ubuntu-small-3.8.4
ubuntu-small-3.8.4: Pulling from osgeo/gdal
Digest: sha256:60d3bc2f8b09ca1a7ef2db0239699b2c03713aa02be6e525e731c0020bbb10a4
Status: Image is up to date for ghcr.io/osgeo/gdal:ubuntu-small-3.8.4
 ---> b6b70289e4cd
Step 6/16 : COPY --from=littlejohn /go/littlejohn/littlejohn /bin/littlejohn
 ---> Using cache
 ---> 06de88da2876
Step 7/16 : RUN apt-get update -qqy && apt-get install -qy 	git 	libpq-dev 	python3-pip && rm -rf /var/lib/apt/lists/* && rm -rf /var/cache/apt/*
 ---> Using cache
 ---> 58abd6d3b0d3
Step 8/16 : RUN pip install --upgrade pip
 ---> Using cache
 ---> 483fb524eec4
Step 9/16 : RUN pip install numpy
 ---> Using cache
 ---> b9ec17c29bc6
Step 10/16 : RUN pip install gdal[numpy]==3.8.4
 ---> Using cache
 ---> c730e669c6a4
Step 11/16 : WORKDIR /usr/src/app
 ---> Using cache
 ---> e2a4e81c9148
Step 12/16 : COPY requirements.txt ./
 ---> Using cache
 ---> 9087daf41915
Step 13/16 : RUN pip install --no-cache-dir -r requirements.txt
 ---> Using cache
 ---> 96ec6a545550
Step 14/16 : COPY . ./
 ---> 18909e1efa50
Step 15/16 : RUN make lint && make type && make test
 ---> Running in 3b40e4fea06c
python -m pylint methods

------------------------------------
Your code has been rated at 10.00/10

python -m pylint test

------------------------------------
Your code has been rated at 10.00/10

python -m mypy methods
Success: no issues found in 40 source files
python3 -m pytest -vv
============================= test session starts ==============================
platform linux -- Python 3.10.12, pytest-8.3.2, pluggy-1.5.0 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /usr/src/app
collecting ... collected 29 items

test/test_additionality.py::test_additionality_all_forest PASSED         [  3%]
test/test_additionality.py::test_additionality_all_additional PASSED     [  6%]
test/test_boundary.py::test_utm_band[52.205276-0.119167-32631] PASSED    [ 10%]
test/test_boundary.py::test_utm_band[-52.205276-0.119167-32731] PASSED   [ 13%]
test/test_boundary.py::test_utm_band[6.152938-38.202316-32637] PASSED    [ 17%]
test/test_boundary.py::test_utm_band[4.710989--74.07209-32618] PASSED    [ 20%]
test/test_boundary.py::test_expand_boundary[52.205276-0.119167] PASSED   [ 24%]
test/test_boundary.py::test_expand_boundary[-52.205276-0.119167] PASSED  [ 27%]
test/test_boundary.py::test_expand_boundary[6.152938-38.202316] PASSED   [ 31%]
test/test_boundary.py::test_expand_boundary[4.710989--74.07209] PASSED   [ 34%]
test/test_boundary.py::test_simplify_output_geometry[polygon_list0-1] PASSED [ 37%]
test/test_boundary.py::test_simplify_output_geometry[polygon_list1-1] PASSED [ 41%]
test/test_boundary.py::test_simplify_output_geometry[polygon_list2-2] PASSED [ 44%]
test/test_boundary.py::test_simplify_output_geometry[polygon_list3-1] PASSED [ 48%]
test/test_chunks.py::test_chunk_large_area[0.1-0.2-1] PASSED             [ 51%]
test/test_chunks.py::test_chunk_large_area[0.2-0.2-1] PASSED             [ 55%]
test/test_chunks.py::test_chunk_large_area[0.2-0.1-4] PASSED             [ 58%]
test/test_chunks.py::test_chunk_large_area[0.4-0.1-16] PASSED            [ 62%]
test/test_dranged_tree.py::test_dranged_tree_matches_as_expected PASSED  [ 65%]
test/test_find_pairs.py::test_batch_mahalanobis PASSED                   [ 68%]
test/test_find_pairs.py::test_make_s_set_mask PASSED                     [ 72%]
test/test_find_pairs.py::test_rows_all_true PASSED                       [ 75%]
test/test_geometry.py::test_wgs_aspect_ratio_at[0-0.993] PASSED          [ 79%]
test/test_geometry.py::test_wgs_aspect_ratio_at[38-1.2637362637362637] PASSED [ 82%]
test/test_geometry.py::test_wgs_aspect_ratio_at[60-1.996] PASSED         [ 86%]
test/test_permanence.py::test_net_sequester PASSED                       [ 89%]
test/test_permanence.py::test_release PASSED                             [ 93%]
test/test_permanence.py::test_adjust PASSED                              [ 96%]
test/test_permanence.py::test_make_release PASSED                        [100%]

=============================== warnings summary ===============================
test/test_boundary.py::test_expand_boundary[52.205276-0.119167]
test/test_boundary.py::test_expand_boundary[-52.205276-0.119167]
test/test_boundary.py::test_expand_boundary[6.152938-38.202316]
test/test_boundary.py::test_expand_boundary[4.710989--74.07209]
test/test_boundary.py::test_simplify_output_geometry[polygon_list0-1]
test/test_boundary.py::test_simplify_output_geometry[polygon_list1-1]
test/test_boundary.py::test_simplify_output_geometry[polygon_list2-2]
test/test_boundary.py::test_simplify_output_geometry[polygon_list3-1]
  /usr/src/app/methods/common/geometry.py:35: DeprecationWarning: The 'unary_union' attribute is deprecated, use the 'union_all()' method instead.
    project = projected_boundaries.unary_union

test/test_chunks.py::test_chunk_large_area[0.1-0.2-1]
  /usr/lib/python3/dist-packages/osgeo/osr.py:413: FutureWarning: Neither osr.UseExceptions() nor osr.DontUseExceptions() has been explicitly called. In GDAL 4.0, exceptions will be enabled by default.
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================= 29 passed, 9 warnings in 33.65s ========================
Removing intermediate container 3b40e4fea06c
 ---> 8759274d4054
Step 16/16 : RUN pip freeze
 ---> Running in 5be6f7f2c9dc
affine==2.4.0
astroid==3.2.4
attrs==24.2.0
biomassrecovery @ git+https://github.com/carboncredits/biomass-recovery@9e54f80832a7eca915ebd13b03df9db2a08aee9d
bleach==6.1.0
bokeh==3.4.3
certifi==2024.7.4
charset-normalizer==3.3.2
click==8.1.7
click-plugins==1.1.1
cligj==0.7.2
colorcet==3.1.0
contourpy==1.2.1
cycler==0.12.1
dill==0.3.8
exceptiongroup==1.2.2
fonttools==4.53.1
GDAL==3.8.4
GeoAlchemy2==0.15.2
geojson==3.1.0
geopandas==1.0.1
greenlet==3.0.3
h5py==3.11.0
holoviews==1.19.1
hvplot==0.10.0
idna==3.7
imageio==2.35.1
iniconfig==2.0.0
isort==5.13.2
Jinja2==3.1.4
kiwisolver==1.4.5
lazy_loader==0.4
linkify-it-py==2.0.3
llvmlite==0.43.0
Markdown==3.7
markdown-it-py==3.0.0
MarkupSafe==2.1.5
matplotlib==3.9.2
mccabe==0.7.0
mdit-py-plugins==0.4.1
mdurl==0.1.2
mypy==1.11.1
mypy-extensions==1.0.0
networkx==3.3
numba==0.60.0
numpy==1.26.4
packaging==24.1
pandas==2.2.2
pandas-stubs==2.2.2.240807
panel==1.4.5
param==2.1.1
patsy==0.5.6
pillow==10.4.0
platformdirs==4.2.2
pluggy==1.5.0
polars==1.5.0
psutil==6.0.0
psycopg2==2.9.9
py4j==0.10.9.7
pyarrow==17.0.0
pylint==3.2.6
pylr2==0.1.0
pyogrio==0.9.0
pyparsing==3.1.2
pyproj==3.6.1
pyspark==3.5.2
pytest==8.3.2
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
pytz==2024.1
pyviz_comms==3.0.3
PyYAML==6.0.2
rasterio==1.3.10
requests==2.32.3
rioxarray==0.17.0
scikit-image==0.24.0
scipy==1.14.0
shapely==2.0.6
six==1.16.0
snuggs==1.4.7
SQLAlchemy==2.0.32
statsmodels==0.14.2
tifffile==2024.8.10
tomli==2.0.1
tomlkit==0.13.2
tornado==6.4.1
tqdm==4.66.5
types-pytz==2024.1.0.20240417
types-requests==2.31.0.6
types-urllib3==1.26.25.14
typing_extensions==4.12.2
tzdata==2024.1
uc-micro-py==1.0.3
urllib3==1.26.19
utm==0.7.0
webencodings==0.5.1
xarray==2024.7.0
xyzservices==2024.6.0
yirgacheffe @ git+https://github.com/quantifyearth/yirgacheffe@cc89b4d8a0e97c1a11b730cd688a58b680023336
Removing intermediate container 5be6f7f2c9dc
 ---> d6e4c2b9be8e
Successfully built d6e4c2b9be8e
2024-08-30 15:07.32: Job succeeded