#define DEFUN_CMD_FUNC_TEXT(funcname) \ static int funcname \ (struct cmd_element *self, struct vty *vty, int argc, const char *argv[])
So the pointer to argv is const, but the elements in the array are not. Functions can in theory modify the elements of argv (just like argv in main()). I don't know if we have users of this API that are actually doing that, but as long as the API is defined like this it doesn't make sense for the linter to complain about using it correctly. Therefore, ignore STATIC_CONST_CHAR_ARRAY.
Which in turn is the result of "apt update" failing to download files in an earlier job:
E: Failed to fetch https://downloads.osmocom.org/packages/osmocom:/nightly/Debian_13/./Packages.gz File has unexpected size (210767 != 210491). Mirror sync in progress? [IP: 148.251.236.141 443] Hashes of expected file: - Filesize:210491 [weak] - SHA256:a0cdea838b724880f455d68eb433f6331a7d4113c2eb677ca2f7f6dbdf9a72e1 - SHA1:71780896257ca550e51b95e77fee4c63fcc9980c [weak] - MD5Sum:531a2d49d4e9f3ff121ca6aa5be602fc [weak] Release file created at: Sun, 26 Apr 2026 08:48:04 +0000 E: Some index files failed to download. They have been ignored, or old ones used instead.
jobs/master-builds.yml: add missing job type 'distcheck'
We do have this job type in gerrit-verifications.yml, so it's executed for each patch submitted to Gerrit. However, we are not executing 'distcheck' during the daily master builds - fix this.
Change-Id: I4898ba712a29a6afc34bc22adec6a3131ce8c794 Fixes: 31fd5cf0 ("gerrit-verifications: execute 'distcheck' job for pysim")
I've already implemented this logic in 6a3b8a0, however by mistake I added it to master-builds.yml instead of gerrit-verifications.yml. This is wrong because we specifically need this feature for Jenkins verification, not for the master builds.
For daily master builds, on the other hand, we specifically want to execute all existing job types, so revert my recent changes from master-builds.yml, but keep the new job type.