Build:
- 0
2024-10-22 13:33.26: New job: docker build { "compose-or-build": true, "commit": "192bd146e61cd5ded343b0d88f44c36875b38f7e", "dockerfile": { "file": "Dockerfile" }, "docker_context": null, "squash": false, "build_args": [], "path": null } 2024-10-22 13:33.26: Checking out commit 192bd146. To reproduce: git clone --recursive "https://github.com/quantifyearth/tmf-implementation.git" -b "main" && cd "tmf-implementation" && git reset --hard 192bd146 2024-10-22 13:33.26: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/tmf-implementation.git-5332eb8f4e9a0e164ac8337c5fb9bb231623a1b49513d9e0b7e8093b59f0e60b/.git" "/tmp/git-checkout16ca07b4" 2024-10-22 13:33.26: Exec: "git" "-C" "/tmp/git-checkout16ca07b4" "reset" "--hard" "-q" "192bd146e61cd5ded343b0d88f44c36875b38f7e" 2024-10-22 13:33.26: Exec: "docker" "build" "--pull" "-f" "/tmp/git-checkout16ca07b4/Dockerfile" "--iidfile" "/tmp/git-checkout16ca07b4/docker-iid" "--" "/tmp/git-checkout16ca07b4" 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.124MB Step 1/16 : FROM golang:bullseye AS littlejohn bullseye: Pulling from library/golang Digest: sha256:ecb3fe70e1fd6cef4c5c74246a7525c3b7d59c48ea0589bbb0e57b1b37321fb9 Status: Image is up to date for golang:bullseye ---> 9be600d787e1 Step 2/16 : RUN git clone https://github.com/carboncredits/littlejohn.git ---> Using cache ---> 22a4d71f60b5 Step 3/16 : WORKDIR littlejohn ---> Using cache ---> 6106c722b633 Step 4/16 : RUN go build ---> Using cache ---> c4c60b57cf29 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 ---> 47f5284b0876 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 ---> 4547317fefd5 Step 8/16 : RUN pip install --upgrade pip ---> Using cache ---> 717dac0284ad Step 9/16 : RUN pip install numpy ---> Using cache ---> 4c103e635bc4 Step 10/16 : RUN pip install gdal[numpy]==3.8.4 ---> Using cache ---> a0eabcfa9d04 Step 11/16 : WORKDIR /usr/src/app ---> Using cache ---> 9afd6029134b Step 12/16 : COPY requirements.txt ./ ---> Using cache ---> e2694fb79852 Step 13/16 : RUN pip install --no-cache-dir -r requirements.txt ---> Using cache ---> f28371cbb948 Step 14/16 : COPY . ./ ---> dc19beb76637 Step 15/16 : RUN make lint && make type && make test ---> Running in 96d526391fad 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.3, 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 34.83s ======================== Removing intermediate container 96d526391fad ---> 9c336b8019bd Step 16/16 : RUN pip freeze ---> Running in 2c9741c940b0 affine==2.4.0 astroid==3.3.5 attrs==24.2.0 biomassrecovery @ git+https://github.com/carboncredits/biomass-recovery@9e54f80832a7eca915ebd13b03df9db2a08aee9d bleach==6.1.0 bokeh==3.6.0 certifi==2024.8.30 charset-normalizer==3.4.0 click==8.1.7 click-plugins==1.1.1 cligj==0.7.2 colorcet==3.1.0 contourpy==1.3.0 cycler==0.12.1 dill==0.3.9 exceptiongroup==1.2.2 fonttools==4.54.1 GDAL==3.8.4 GeoAlchemy2==0.15.2 geojson==3.1.0 geopandas==1.0.1 greenlet==3.1.1 h5py==3.12.1 holoviews==1.19.1 hvplot==0.11.1 idna==3.10 imageio==2.36.0 iniconfig==2.0.0 isort==5.13.2 Jinja2==3.1.4 kiwisolver==1.4.7 lazy_loader==0.4 linkify-it-py==2.0.3 llvmlite==0.43.0 Markdown==3.7 markdown-it-py==3.0.0 MarkupSafe==3.0.2 matplotlib==3.9.2 mccabe==0.7.0 mdit-py-plugins==0.4.2 mdurl==0.1.2 mypy==1.12.1 mypy-extensions==1.0.0 networkx==3.4.2 numba==0.60.0 numpy==1.26.4 packaging==24.1 pandas==2.2.3 pandas-stubs==2.2.3.241009 panel==1.5.2 param==2.1.1 patsy==0.5.6 pillow==11.0.0 platformdirs==4.3.6 pluggy==1.5.0 polars==1.10.0 psutil==6.1.0 psycopg2==2.9.10 py4j==0.10.9.7 pyarrow==17.0.0 pylint==3.3.1 pylr2==0.1.0 pyogrio==0.10.0 pyparsing==3.2.0 pyproj==3.7.0 pyspark==3.5.3 pytest==8.3.3 python-dateutil==2.9.0.post0 python-dotenv==1.0.1 pytz==2024.2 pyviz_comms==3.0.3 PyYAML==6.0.2 rasterio==1.4.1 requests==2.32.3 rioxarray==0.17.0 scikit-image==0.24.0 scipy==1.14.1 shapely==2.0.6 six==1.16.0 SQLAlchemy==2.0.36 statsmodels==0.14.4 tifffile==2024.9.20 tomli==2.0.2 tomlkit==0.13.2 tornado==6.4.1 tqdm==4.66.5 types-pytz==2024.2.0.20241003 types-requests==2.31.0.6 types-urllib3==1.26.25.14 typing_extensions==4.12.2 tzdata==2024.2 uc-micro-py==1.0.3 urllib3==1.26.20 utm==0.7.0 webencodings==0.5.1 xarray==2024.9.0 xyzservices==2024.9.0 yirgacheffe @ git+https://github.com/quantifyearth/yirgacheffe@cc89b4d8a0e97c1a11b730cd688a58b680023336 Removing intermediate container 2c9741c940b0 ---> 263077bb0f90 Successfully built 263077bb0f90 2024-10-22 13:36.32: Job succeeded