Build:
- 0
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442025-02-19 08:07.16: New job: docker build {
"compose-or-build": true,
"commit": "3dd3c6413a5abe54f9067401d4c537e09dc53b2f",
"dockerfile": {
"file": "Dockerfile"
},
"docker_context": null,
"squash": false,
"build_args": [],
"path": null
}
2025-02-19 08:07.16: Checking out commit 3dd3c641. To reproduce:
git clone --recursive "https://github.com/quantifyearth/tmf-implementation.git" -b "main" && cd "tmf-implementation" && git reset --hard 3dd3c641
2025-02-19 08:07.16: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/tmf-implementation.git-5332eb8f4e9a0e164ac8337c5fb9bb231623a1b49513d9e0b7e8093b59f0e60b/.git"
"/tmp/git-checkouteb4b5ec"
2025-02-19 08:07.16: Exec: "git" "-C" "/tmp/git-checkouteb4b5ec" "reset"
"--hard" "-q" "3dd3c6413a5abe54f9067401d4c537e09dc53b2f"
2025-02-19 08:07.16: Exec: "docker" "build" "--pull" "-f" "/tmp/git-checkouteb4b5ec/Dockerfile"
"--iidfile" "/tmp/git-checkouteb4b5ec/docker-iid"
"--" "/tmp/git-checkouteb4b5ec"
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 3.304MB
Step 1/15 : FROM golang:bullseye AS littlejohn
bullseye: Pulling from library/golang
Digest: sha256:cf29cafe674ad5e637311148fb7933f67c4e8cafa79ce066aad0e7aa708fc287
Status: Image is up to date for golang:bullseye
---> 310589e8caee
Step 2/15 : RUN git clone https://github.com/carboncredits/littlejohn.git
---> Using cache
---> 52eff5b9ebbc
Step 3/15 : WORKDIR littlejohn
---> Using cache
---> 6de335ebeb49
Step 4/15 : RUN go build
---> Using cache
---> 371ea56e898e
Step 5/15 : FROM ghcr.io/osgeo/gdal:ubuntu-small-3.10.1
ubuntu-small-3.10.1: Pulling from osgeo/gdal
Digest: sha256:e8606061e83065fcf317bc6244a1ea11afa68891c5adccea8449e3501e6fa917
Status: Image is up to date for ghcr.io/osgeo/gdal:ubuntu-small-3.10.1
---> 3f8a21dfad2b
Step 6/15 : COPY --from=littlejohn /go/littlejohn/littlejohn /bin/littlejohn
---> Using cache
---> 5909d7783b4d
Step 7/15 : 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
---> 6ca5b571d390
Step 8/15 : RUN pip config set global.break-system-packages true
---> Using cache
---> b8f9efc93318
Step 9/15 : RUN pip install gdal[numpy]==3.10.1
---> Using cache
---> e187121080c9
Step 10/15 : WORKDIR /usr/src/app
---> Using cache
---> c3143b179050
Step 11/15 : COPY requirements.txt ./
---> Using cache
---> f90607101102
Step 12/15 : RUN pip install --no-cache-dir -r requirements.txt
---> Using cache
---> 335920871899
Step 13/15 : COPY . ./
---> ad24974abbd4
Step 14/15 : RUN make lint && make type && make test
---> Running in 29fc4427ce23
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.12.3, pytest-8.3.4, 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:410: 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.14s ========================
---> Removed intermediate container 29fc4427ce23
---> ff809b7811f0
Step 15/15 : RUN pip freeze
---> Running in 3907ceb5fecd
affine==2.4.0
astroid==3.3.8
attrs==25.1.0
biomassrecovery @ git+https://github.com/carboncredits/biomass-recovery@9e54f80832a7eca915ebd13b03df9db2a08aee9d
bleach==6.2.0
bokeh==3.6.3
certifi==2025.1.31
charset-normalizer==3.4.1
click==8.1.8
click-plugins==1.1.1
cligj==0.7.2
colorcet==3.1.0
contourpy==1.3.1
cycler==0.12.1
dill==0.3.9
fonttools==4.56.0
GDAL==3.10.1
GeoAlchemy2==0.17.1
geojson==3.2.0
geopandas==1.0.1
greenlet==3.1.1
h5py==3.13.0
holoviews==1.20.0
hvplot==0.11.2
idna==3.10
imageio==2.37.0
iniconfig==2.0.0
isort==6.0.0
Jinja2==3.1.5
kiwisolver==1.4.8
lazy_loader==0.4
linkify-it-py==2.0.3
llvmlite==0.44.0
Markdown==3.7
markdown-it-py==3.0.0
MarkupSafe==3.0.2
matplotlib==3.10.0
mccabe==0.7.0
mdit-py-plugins==0.4.2
mdurl==0.1.2
mypy==1.15.0
mypy-extensions==1.0.0
networkx==3.4.2
numba==0.61.0
numpy==1.26.4
packaging==24.2
pandas==2.2.3
pandas-stubs==2.2.3.241126
panel==1.6.1
param==2.2.0
patsy==1.0.1
pillow==10.2.0
platformdirs==4.3.6
pluggy==1.5.0
polars==1.22.0
psutil==7.0.0
psycopg2==2.9.10
py4j==0.10.9.7
pyarrow==19.0.1
pylint==3.3.4
pylr2==0.1.0
pyogrio==0.10.0
pyparsing==3.2.1
pyproj==3.7.1
pyspark==3.5.4
pytest==8.3.4
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
pytz==2025.1
pyviz_comms==3.0.4
PyYAML==6.0.2
rasterio==1.4.3
requests==2.32.3
rioxarray==0.18.2
scikit-image==0.25.2
scipy==1.15.2
setuptools==68.1.2
shapely==2.0.7
six==1.17.0
SQLAlchemy==2.0.38
statsmodels==0.14.4
tifffile==2025.2.18
tomlkit==0.13.2
tornado==6.4.2
tqdm==4.67.1
types-pytz==2025.1.0.20250204
types-requests==2.31.0.6
types-urllib3==1.26.25.14
typing_extensions==4.12.2
tzdata==2025.1
uc-micro-py==1.0.3
urllib3==1.26.20
utm==0.8.0
webencodings==0.5.1
wheel==0.42.0
xarray==2025.1.2
xyzservices==2025.1.0
yirgacheffe @ git+https://github.com/quantifyearth/yirgacheffe@cc89b4d8a0e97c1a11b730cd688a58b680023336
---> Removed intermediate container 3907ceb5fecd
---> e24bbd01d1bb
Successfully built e24bbd01d1bb
2025-02-19 08:10.15: Job succeeded