Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 879
    • Issues 879
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 63
    • Merge requests 63
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GLib
  • Issues
  • #1514

gio/appinfo test sometimes fails in CI

From https://gitlab.gnome.org/pwithnall/glib/-/jobs/97278:

172/224 glib:gio / appinfo                      FAIL     0.69 s (killed by signal 6 SIGABRT)

--- command ---
CI_COMMIT_TITLE='build: Drop pointless -Wformat-security warning flag' CI_RUNNER_EXECUTABLE_ARCH='linux/amd64' CI_JOB_TOKEN='gmddQSxQMKDzu_6s2pEL' CI_BUILD_REF_NAME='656-format-security' CI_REGISTRY_PASSWORD='gmddQSxQMKDzu_6s2pEL' CI_RUNNER_TAGS='non_aws' CI_PIPELINE_URL='https://gitlab.gnome.org/pwithnall/glib/pipelines/28664' CI_JOB_NAME='fedora-x86_64' CI_SERVER_VERSION='11.2.3' LANG='C.UTF-8' GITLAB_CI='true' CI_SERVER_REVISION='06cbee3' HOSTNAME='runner-f23948e6-project-1181-concurrent-0' CI_PROJECT_VISIBILITY='public' OLDPWD='/home/user' CI_DISPOSABLE_ENVIRONMENT='true' CI_COMMIT_SHA='9e9db46a49166891fd81c8d4d1e88f2bf0fbfebf' MESON_TEST_TIMEOUT_MULTIPLIER='2' CI_COMMIT_MESSAGE='build: Drop pointless -Wformat-security warning flag

We already set -Wformat=2, which implies -Wformat-security, so there’s
no need to test for and set -Wformat-security separately.

The test for -Wformat-security never worked anyway, since gcc complains
if it’s specified without also setting -Wformat to some value. The
complaint causes configure.ac/meson.build to assume the option doesn’t
work.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://gitlab.gnome.org/GNOME/glib/issues/656
' CI_BUILD_STAGE='build' CFLAGS='-coverage -ftest-coverage -fprofile-arcs' CI_PROJECT_URL='https://gitlab.gnome.org/pwithnall/glib' CI_COMMIT_REF_SLUG='656-format-security' CI_SERVER_NAME='GitLab' CI_RUNNER_VERSION='11.2.0' CI_BUILD_NAME='fedora-x86_64' CI='true' CI_REGISTRY_USER='gitlab-ci-token' CI_PROJECT_ID='1181' CI_PIPELINE_ID='28664' CI_JOB_URL='https://gitlab.gnome.org/pwithnall/glib/-/jobs/97278' CI_COMMIT_DESCRIPTION='
We already set -Wformat=2, which implies -Wformat-security, so there’s
no need to test for and set -Wformat-security separately.

The test for -Wformat-security never worked anyway, since gcc complains
if it’s specified without also setting -Wformat to some value. The
complaint causes configure.ac/meson.build to assume the option doesn’t
work.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://gitlab.gnome.org/GNOME/glib/issues/656' PWD='/builds/pwithnall/glib' GITLAB_FEATURES='' HOME='/home/user' CI_REGISTRY='registry.gitlab.gnome.org' CI_BUILD_TOKEN='gmddQSxQMKDzu_6s2pEL' CI_BUILD_ID='97278' GITLAB_USER_NAME='Philip Withnall' CI_COMMIT_BEFORE_SHA='41c8d859bd37484f6acf58861fba1be73a5445f5' CI_PROJECT_PATH_SLUG='pwithnall-glib' FBR='f27' G_MESSAGES_DEBUG='all' GITLAB_USER_EMAIL='philip@tecnocode.co.uk' CI_COMMIT_REF_NAME='656-format-security' CI_REGISTRY_IMAGE='registry.gitlab.gnome.org/pwithnall/glib' CI_PIPELINE_IID='169' DISTTAG='f27container' CI_SERVER_TLS_CA_FILE='/builds/pwithnall/glib.tmp/CI_SERVER_TLS_CA_FILE' CI_RUNNER_ID='14' FGC='f27' CI_SERVER='yes' CI_JOB_ID='97278' HOST_USER_ID='1000' CI_REPOSITORY_URL='https://gitlab-ci-token:gmddQSxQMKDzu_6s2pEL@gitlab.gnome.org/pwithnall/glib.git' GITLAB_USER_LOGIN='pwithnall' CI_RUNNER_REVISION='35e8515d' CI_CONFIG_PATH='.gitlab-ci.yml' CI_PROJECT_NAME='glib' ANDROID_NDK_PATH='/opt/android-ndk' SHLVL='1' CI_RUNNER_DESCRIPTION='progress.gnome.org' CI_PROJECT_PATH='pwithnall/glib' GITLAB_USER_ID='421' CI_BUILD_BEFORE_SHA='41c8d859bd37484f6acf58861fba1be73a5445f5' CI_BUILD_REF='9e9db46a49166891fd81c8d4d1e88f2bf0fbfebf' PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' CI_PIPELINE_SOURCE='push' CI_PROJECT_NAMESPACE='pwithnall' CI_PROJECT_DIR='/builds/pwithnall/glib' CI_JOB_STAGE='build' CI_BUILD_REF_SLUG='656-format-security' _='/usr/local/bin/meson' G_TEST_SRCDIR='/builds/pwithnall/glib/gio/tests' G_TEST_BUILDDIR='/builds/pwithnall/glib/_build/gio/tests' GIO_MODULE_DIR='' GIO_LAUNCH_DESKTOP='/builds/pwithnall/glib/_build/gio/gio-launch-desktop' /builds/pwithnall/glib/_build/gio/tests/appinfo
--- stdout ---
/appinfo/basic: OK
/appinfo/text: OK
/appinfo/launch: SKIP
/appinfo/show-in: OK
/appinfo/commandline: OK
/appinfo/launch-context: OK
/appinfo/launch-context-signals: (/builds/pwithnall/glib/_build/gio/tests/appinfo:16294): GLib-DEBUG: 11:30:05.174: posix_spawn avoided (automatic reaping requested) (fd close requested) 
OK
/appinfo/tryexec: OK
/appinfo/associations: (/builds/pwithnall/glib/_build/gio/tests/appinfo:16294): GLib-DEBUG: 11:30:05.243: posix_spawn avoided (workdir specified) (fd close requested) 
(/builds/pwithnall/glib/_build/gio/tests/appinfo:16294): GLib-DEBUG: 11:30:05.449: posix_spawn avoided (workdir specified) (fd close requested) 
--- stderr ---
**
GLib-GIO:ERROR:../gio/tests/appinfo.c:405:test_associations: assertion failed: (appinfo2)
Assignee
Assign to
Time tracking