Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faulty docker images published to docker hub #54314

Closed
1 of 2 tasks
CodeBardian opened this issue Aug 21, 2023 · 1 comment
Closed
1 of 2 tasks

Faulty docker images published to docker hub #54314

CodeBardian opened this issue Aug 21, 2023 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@CodeBardian
Copy link
Contributor

What is the bug or the crash?

I am using the qgis_testrunner.sh script to run some unit tests for a QGIS-Plugin. Recently, the test runner always returns with ERROR: no output from the test runner! (exit code: 0)

This is basically the same issue as #50729, but now it is affecting the recent release-3_28 and release-3_30 images and I believe this time it has a different cause.

From what I can tell there seem to be two different issues at play here:

  1. The Github Actions Runner is running out of disk space when building the images. This causes the build to fail.
 > [ 8/13] RUN SUCCESS=OK   && cmake   -GNinja   -DUSE_CCACHE=OFF   -DCMAKE_BUILD_TYPE=Release   -DCMAKE_INSTALL_PREFIX=/usr   -DWITH_DESKTOP=ON   -DWITH_SERVER=ON   -DWITH_3D=ON   -DWITH_BINDINGS=ON   -DWITH_CUSTOM_WIDGETS=ON   -DBINDINGS_GLOBAL_INSTALL=ON   -DWITH_STAGED_PLUGINS=ON   -DWITH_GRASS=ON   -DSUPPRESS_QT_WARNINGS=ON   -DDISABLE_DEPRECATED=ON   -DENABLE_TESTS=OFF   -DWITH_QSPATIALITE=ON   -DWITH_APIDOC=OFF   -DWITH_ASTYLE=OFF   ..   && ninja install || SUCCESS=FAILED   && echo "$SUCCESS" > /QGIS/build_exit_value:
9363.4   file INSTALL cannot copy file "/QGIS/build/output/i18n/qgis_ja.qm" to
9363.4   "/usr/share/qgis/i18n/qgis_ja.qm": No space left on device.
  1. Somehow the faulty images where the build did not succeed still get uploaded to docker hub and replace the previously working images.

e.g. checking the build exit value shows that the build did not succeed

~$ docker exec -it qgis28 sh -c "cd /QGIS && cat build_exit_value"
FAILED

Steps to reproduce the issue

  1. docker pull qgis/qgis:release-3_28
  2. docker run -d --name qgis28 -e DISPLAY=:99 qgis/qgis:release-3_28
  3. docker start qgis28
  4. docker exec -it qgis28 sh -c "qgis_testrunner.sh"
~$ docker exec -it qgis28 sh -c "qgis_testrunner.sh"
ERROR: no output from the test runner! (exit code: 0)

Versions

release-3_28, release-3_30

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@nyalldawson
Copy link
Collaborator

Fixed by 26a85ec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

2 participants