Running with gitlab-runner 13.5.0 (ece86343)
  on enpt_enmapboxapp_ci_runner__v0.8.5__mefe2 6ALFyLDv
section_start:1724837063:prepare_executor
Preparing the "docker" executor
Using Docker executor with image ds__enpt_enmapboxapp_ci:0.8.5 ...
Using docker image sha256:103183b07fa974836af374afd316b17058322a3a4b5466a2456d4cede1c85b82 for ds__enpt_enmapboxapp_ci:0.8.5 ...
section_end:1724837069:prepare_executor
section_start:1724837069:prepare_script
Preparing environment
Running on runner-6alfyldv-project-480-concurrent-0 via 8917bc49862a...
section_end:1724837071:prepare_script
section_start:1724837071:get_sources
Getting source from Git repository
Fetching changes...
Reinitialized existing Git repository in /builds/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/.git/
Checking out d410b710 as maintenance/modernize_setup...
Removing enpt_enmapboxapp.egg-info/

Skipping Git submodules setup
section_end:1724837076:get_sources
section_start:1724837076:step_script
Executing "step_script" stage of the job script
$ git lfs pull
Skipping object checkout, Git LFS is not installed for this repository.
Consider installing it with 'git lfs install'.
$ source /opt/conda/bin/activate ci_env
WARNING: No ICDs were found. Either,
- Install a conda package providing a OpenCL implementation (pocl, oclgrind, intel-compute-runtime, beignet) or 
- Make your system-wide implementation visible by installing ocl-icd-system conda package. 
$ pip install -e .
Obtaining file:///builds/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Checking if build backend supports build_editable: started
  Checking if build backend supports build_editable: finished with status 'done'
  Getting requirements to build editable: started
  Getting requirements to build editable: finished with status 'done'
  Preparing editable metadata (pyproject.toml): started
  Preparing editable metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: packaging in /opt/conda/envs/ci_env/lib/python3.11/site-packages (from enpt_enmapboxapp==0.8.6) (23.2)
Requirement already satisfied: psutil in /opt/conda/envs/ci_env/lib/python3.11/site-packages (from enpt_enmapboxapp==0.8.6) (5.9.8)
Building wheels for collected packages: enpt_enmapboxapp
  Building editable for enpt_enmapboxapp (pyproject.toml): started
  Building editable for enpt_enmapboxapp (pyproject.toml): finished with status 'done'
  Created wheel for enpt_enmapboxapp: filename=enpt_enmapboxapp-0.8.6-0.editable-py2.py3-none-any.whl size=7680 sha256=48679f902f23170152016bb6bf3c974668bf6d47dc782376026ab446618be754
  Stored in directory: /tmp/pip-ephem-wheel-cache-8f3nw074/wheels/22/f1/00/37893740ee8e042042bc0d697d8eee9a1fc7a72ecde4a124ac
Successfully built enpt_enmapboxapp
Installing collected packages: enpt_enmapboxapp
  Attempting uninstall: enpt_enmapboxapp
    Found existing installation: enpt_enmapboxapp 0.8.6
    Can't uninstall 'enpt_enmapboxapp'. No files were found to uninstall.
Successfully installed enpt_enmapboxapp-0.8.6
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
$ mamba install 'enpt>=0.20.1'
Transaction

  Prefix: /opt/conda/envs/ci_env

  Updating specs:

   - enpt[version='>=0.20.1']
   - ca-certificates
   - certifi
   - openssl


  Package             Version  Build         Channel          Size
────────────────────────────────────────────────────────────────────
  Upgrade:
────────────────────────────────────────────────────────────────────

  - enpt               0.20.0  pyhd8ed1ab_0  conda-forge     276kB
  + enpt               0.20.2  pyhd8ed1ab_0  conda-forge     277kB
  - certifi          2024.2.2  pyhd8ed1ab_0  conda-forge     161kB
  + certifi          2024.7.4  pyhd8ed1ab_0  conda-forge     159kB
  - ca-certificates  2024.2.2  hbcca054_0    conda-forge     155kB
  + ca-certificates  2024.7.4  hbcca054_0    conda-forge     155kB
  - openssl             3.2.1  hd590300_0    conda-forge       3MB
  + openssl             3.3.1  hb9d3cd8_3    conda-forge       3MB

  Summary:

  Upgrade: 4 packages

  Total download: 3MB

────────────────────────────────────────────────────────────────────


Confirm changes: [Y/n] 
Looking for: ["enpt[version='>=0.20.1']"]


Pinned packages:
  - python 3.11.*



Downloading and Extracting Packages: ...working... done
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
$ export IS_CI_ENV=1
$ export CONDA_ROOT=/opt/conda/
$ export IS_ENPT_GUI_TEST=1
$ export PYTHONPATH=$PYTHONPATH:/tmp/enmapbox
$ export PYTHONPATH=$PYTHONPATH:/opt/conda/envs/ci_env/share/qgis/python/
$ export LD_LIBRARY_PATH=LD_LIBRARY_PATH:/opt/conda/envs/ci_env/lib
$ make pytest
## don't call coverage erase here because make install calls make clean which calls make clean-test
## -> since make install should run without the test requirements we can't use coverage erase here
rm -fr .tox/
rm -f .coverage
rm -fr .coverage.*
rm -fr htmlcov/
rm -fr report.html
rm -fr report.xml
rm -fr coverage.xml
rm -fr .pytest_cache
## - puts the coverage results in the folder 'htmlcov'
## - generates cobertura 'coverage.xml' (needed to show coverage in GitLab MR changes)
## - generates 'report.html' based on pytest-reporter-html1
## - generates JUnit 'report.xml' to show the test report as a new tab in a GitLab MR
## NOTE: additional options pytest and coverage (plugin pytest-cov) are defined in .pytest.ini and .coveragerc
pytest tests \
	--verbosity=3 \
	--color=yes \
	--tb=short \
	--cov=enpt_enmapboxapp \
	--cov-report html:htmlcov \
	--cov-report term-missing \
	--cov-report xml:coverage.xml \
	--template=html1/index.html --report=report.html \
	--junitxml report.xml
============================= test session starts ==============================
platform linux -- Python 3.11.7, pytest-8.0.0, pluggy-1.4.0 -- /opt/conda/envs/ci_env/bin/python3.11
cachedir: .pytest_cache
rootdir: /builds/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp
plugins: typeguard-2.13.3, reporter-html1-0.8.3, cov-4.1.0, xvfb-3.0.0, reporter-0.5.2
collecting ... collected 4 items

tests/test_enpt_enmapboxapp.py::test_EnPTAlgorithm PASSED                [ 25%]
tests/test_enpt_enmapboxapp.py::test_ExternalEnPTAlgorithm PASSED        [ 50%]
tests/test_enpt_enmapboxapp.py::test_with_EnMAPBox PASSED                [ 75%]
tests/test_enpt_enmapboxapp.py::test_EnPTGUI PASSED                      [100%]

=============================== warnings summary ===============================
tests/test_enpt_enmapboxapp.py::test_with_EnMAPBox
  /opt/conda/envs/ci_env/share/qgis/python/qgis/utils.py:888: DeprecationWarning: 
  Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0),
  (to allow more performant data types, such as the Arrow string type, and better interoperability with other libraries)
  but was not found to be installed on your system.
  If this would cause problems for you,
  please provide us feedback at https://github.com/pandas-dev/pandas/issues/54466
          
    mod = _builtin_import(name, globals, locals, fromlist, level)

tests/test_enpt_enmapboxapp.py::test_with_EnMAPBox
  <frozen importlib._bootstrap>:241: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 232 from PyObject

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: /builds/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/report.xml -
- generated report: /builds/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/report.html -

---------- coverage: platform linux, python 3.11.7-final-0 -----------
Name                                          Stmts   Miss  Cover   Missing
---------------------------------------------------------------------------
enpt_enmapboxapp/__init__.py                      8      1    88%   46
enpt_enmapboxapp/_enpt_alg_base.py              198     39    80%   112, 121-129, 143, 466-476, 479, 483, 501, 519-524, 539-544, 551-552, 554-555, 558, 560, 572, 593-598, 603-606, 610, 621-622
enpt_enmapboxapp/enpt_algorithm.py               40      3    92%   50, 62, 73
enpt_enmapboxapp/enpt_enmapboxapp.py             77     23    70%   62, 73-76, 106-107, 119, 124-128, 148-163
enpt_enmapboxapp/enpt_external_algorithm.py      94     27    71%   45-52, 56-61, 68, 73-86, 89, 98, 111, 117, 122, 129-130, 141, 153, 169-176
enpt_enmapboxapp/version.py                       8      1    88%   35
---------------------------------------------------------------------------
TOTAL                                           425     94    78%
Coverage HTML written to dir htmlcov
Coverage XML written to file coverage.xml

======================== 4 passed, 2 warnings in 46.82s ========================
$ make docs
rm -f docs/enpt_enmapboxapp.rst
rm -f docs/modules.rst
sphinx-apidoc enpt_enmapboxapp -o docs/ --private --doc-project 'Python API Reference'
make -C docs clean
make[1]: Entering directory '/builds/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/docs'
make[1]: Leaving directory '/builds/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/docs'
make -C docs html
make[1]: Entering directory '/builds/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/docs'
Running Sphinx v7.2.6
making output directory... done
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 9 source files that are out of date
updating environment: [new config] 9 added, 0 changed, 0 removed
reading sources... [ 11%] about
reading sources... [ 22%] authors
reading sources... [ 33%] contributing
reading sources... [ 44%] enpt_enmapboxapp
Application path not initialized
reading sources... [ 56%] history
reading sources... [ 67%] index
reading sources... [ 78%] installation
reading sources... [ 89%] modules
reading sources... [100%] usage
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... copying static files... done
copying extra files... done
done
writing output... [ 11%] about
writing output... [ 22%] authors
writing output... [ 33%] contributing
writing output... [ 44%] enpt_enmapboxapp
writing output... [ 56%] history
writing output... [ 67%] index
writing output... [ 78%] installation
writing output... [ 89%] modules
writing output... [100%] usage
generating indices... genindex py-modindex done
highlighting module code... [ 20%] enpt_enmapboxapp._enpt_alg_base
highlighting module code... [ 40%] enpt_enmapboxapp.enpt_algorithm
highlighting module code... [ 60%] enpt_enmapboxapp.enpt_enmapboxapp
highlighting module code... [ 80%] enpt_enmapboxapp.enpt_external_algorithm
highlighting module code... [100%] enpt_enmapboxapp.version
writing additional pages... search done
copying images... [ 50%] images/screenshot_enpt_enmapboxapp_v0.6.0.png
copying images... [100%] images/screenshot_how_to_start.png
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded.

The HTML pages are in _build/html.
make[1]: Leaving directory '/builds/EnMAP/GFZ_Tools_EnMAP_BOX/enpt_enmapboxapp/docs'
#make -C docs latex
#make -C docs latexpdf
#python -c "$BROWSER_PYSCRIPT" docs/_build/html/index.html
section_end:1724837264:step_script
section_start:1724837264:upload_artifacts_on_success
Uploading artifacts for successful job
Uploading artifacts...
htmlcov/: found 15 matching files and directories  
report.html: found 1 matching files and directories 
docs/_build/html/: found 78 matching files and directories 
Uploading artifacts as "archive" to coordinator... ok  id=242176 responseStatus=201 Created token=glcbt-64
Uploading artifacts...
report.xml: found 1 matching files and directories 
Uploading artifacts as "junit" to coordinator... ok  id=242176 responseStatus=201 Created token=glcbt-64
Uploading artifacts...
coverage.xml: found 1 matching files and directories 
Uploading artifacts as "cobertura" to coordinator... ok  id=242176 responseStatus=201 Created token=glcbt-64
section_end:1724837268:upload_artifacts_on_success
section_start:1724837268:cleanup_file_variables
Cleaning up file based variables
section_end:1724837270:cleanup_file_variables
Job succeeded