- 25 Mar, 2020 3 commits
-
-
Ondřej Surý authored
These are mostly false positives, the clang-analyzer FAQ[1] specifies why and how to fix it: > The reason the analyzer often thinks that a pointer can be null is > because the preceding code checked compared it against null. So if you > are absolutely sure that it cannot be null, remove the preceding check > and, preferably, add an assertion as well. The 2 warnings reported are: byname_test.c:308:34: warning: Access to field 'fwdtable' results in a dereference of a null pointer (loaded from variable 'view') RUNTIME_CHECK(dns_fwdtable_add(view->fwdtable, dns_rootname, ^~~~~~~~~~~~~~ /builds/isc-projects/bind9/lib/isc/include/isc/util.h:318:52: note: expanded from macro 'RUNTIME_CHECK' ^~~~ /builds/isc-projects/bind9/lib/isc/include/isc/error.h:50:21: note: expanded from macro 'ISC_ERROR_RUNTIMECHECK' ((void)(ISC_LIKELY(cond) || \ ^~~~ /builds/isc-projects/bind9/lib/isc/include/isc/likely.h:23:43: note: expanded from macro 'ISC_LIKELY' ^ 1 warning generated. -- ./rndc.c:255:6: warning: Dereference of null pointer (loaded from variable 'host') if (*host == '/') { ^~~~~ 1 warning generated. References: 1. https://clang-analyzer.llvm.org/faq.html#null_pointer (cherry picked from commit ddd0d356) (cherry picked from commit 9b76eea0)
-
Ondřej Surý authored
The 3 warnings reported are: os.c:872:7: warning: Although the value stored to 'ptr' is used in the enclosing expression, the value is never actually read from 'ptr' if ((ptr = strtok_r(command, " \t", &last)) == NULL) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. -- rpz.c:1117:10: warning: Although the value stored to 'zbits' is used in the enclosing expression, the value is never actually read from 'zbits' return (zbits &= x); ^ ~ 1 warning generated. -- openssleddsa_link.c:532:10: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' while ((err = ERR_get_error()) != 0) { ^ ~~~~~~~~~~~~~~~ 1 warning generated. (cherry picked from commit 262f087b) (cherry picked from commit 138dded9)
-
Michał Kępień authored
Remove Debian 8 ("Jessie") from the GitLab CI See merge request !3283
-
- 24 Mar, 2020 1 commit
-
-
Ondřej Surý authored
There are several reason why remove Debian 8 from the CI: * Debian 8 ("jessie") has been superseded by Debian 9 ("stretch"). * Regular security support updates have been discontinued as of June 17th, 2018. * Jessie LTS is supported from 17th June 2018 to June 30, 2020. In other words, it's no longer officially supported by Debian security team, but by the volunteer/paid contributor composed LTS team. And the release will be discontinued in three months from now. We can use the freed CI resources to bring new platforms or just to make the jobs run a bit faster. (cherry picked from commit 75f46cc3)
-
- 20 Mar, 2020 5 commits
-
-
Ondřej Surý authored
Improve GitLab CI configuration (v9.14) See merge request !3260
-
Ondřej Surý authored
The environment variable MAKE has been replaced with MAKE_COMMAND, because overriding MAKE variable also changed the definition of the MAKE inside the Makefiles, and we want only a single wrapper around the whole build process. Previously, setting `MAKE` to `bear make` meant that `bear make` would be run at every nested make invocation, which messed up the upcoming automake transition as compile_commands.json would be generated in every subdirectory instead of just having one central file at the top of the build tree. (cherry picked from commit de1a637a)
-
Ondřej Surý authored
All jobs now use solely the newer needs configuration to declare dependencies between jobs: needs: - job: <foo> artifacts: true instead of combination of dependencies and needs which is deprecated. This change completely unbundles the stages (alas the stages still needs to stay because the job graph has to stay acyclic between the stages). (cherry picked from commit 66ba808c)
-
Ondřej Surý authored
fix a pointer-to-int cast error See merge request !3272
-
- 16 Mar, 2020 3 commits
-
-
Michał Kępień authored
[v9_14] Update GitLab CI to FreeBSD 12.1 See merge request !3240
-
Michał Kępień authored
To get rid of the currently used FreeBSD-specific executor, move FreeBSD CI jobs to libvirt-based executors. Make the necessary tag and variable adjustments. (cherry picked from commit 80618b53)
-
Michał Kępień authored
Since FreeBSD 12.1 is the current FreeBSD 12.x release, replace FreeBSD 12.0 GitLab CI jobs with their up-to-date counterparts. (cherry picked from commit 4c68b562)
-
- 09 Mar, 2020 2 commits
-
-
Michał Kępień authored
[v9_14] Do not run OpenBSD system test jobs for tags See merge request !3189
-
Michał Kępień authored
OpenBSD virtual machines seem to affected particularly badly by other activity happening on the host. This causes trouble around release time: when multiple tags are pushed to the repository, a large number of jobs is started concurrently on all CI runners. In extreme cases, this causes the system test suite to run for about an hour (!) on OpenBSD VMs, with multiple tests failing. We investigated the test artifacts for all such cases in the past and the outcome was always the same: test failures were caused by extremely slow I/O on the guest. We tried various tricks to work around this problem, but nothing helped. Given the above, stop running OpenBSD system test jobs for pending BIND releases to prevent the results of these jobs from affecting the assessment of a given release's readiness for publication. This change does not affect OpenBSD build jobs. OpenBSD system test jobs will still be run for scheduled and web-requested pipelines, to make sure we catch any severe issues with test code on that platform sooner or later. (cherry picked from commit 7b002cea)
-
- 06 Mar, 2020 2 commits
-
-
Mark Andrews authored
Merge branch '1628-release-process-failed-to-detect-that-header-file-was-not-installed-v9_14' into 'v9_14' test installed header files See merge request !3176
-
Mark Andrews authored
(cherry picked from commit a278b6bd)
-
- 05 Mar, 2020 4 commits
-
-
Mark Andrews authored
sort AC_CONFIG_FILES See merge request !3169
-
Mark Andrews authored
(cherry picked from commit fd0d4ba9)
-
Michal Nowak authored
[v9_14] Add respdiff job See merge request !3165
-
Michal Nowak authored
This job leverages respdiff test from the private bind-qa repo. (cherry picked from commit 04f8b65a)
-
- 03 Mar, 2020 13 commits
-
-
Mark Andrews authored
Marka check touched v9 14 See merge request !3148
-
Mark Andrews authored
(cherry picked from commit 64474db1)
-
Mark Andrews authored
(cherry picked from commit f171347b)
-
Mark Andrews authored
(cherry picked from commit 50e079d6)
-
Mark Andrews authored
Resolve "inline re-signing stops" See merge request !3140
-
Mark Andrews authored
(cherry picked from commit 23ce0f32)
-
Mark Andrews authored
(cherry picked from commit 905549f0)
-
Ondřej Surý authored
(cherry picked from commit aaaa7e67)
-
Mark Andrews authored
(cherry picked from commit a6626594)
-
Matthijs Mekking authored
Add more zone locks around code that touches zone timer setting in failure modes. (cherry picked from commit 143d1c97)
-
Mark Andrews authored
(cherry picked from commit 72129618)
-
Mark Andrews authored
zone_needdump() could potentially not call zone_settimer() so explitly call zone_settimer() as zone->resigntime could have gone backward. (cherry picked from commit 5ec57f31)
-
Mark Andrews authored
With RRSIG records no longer being signed with the full sig-validity-interval we need to ensure the zone->resigntime as it may need to be set to a earlier time. (cherry picked from commit 5d1611af)
-
- 21 Feb, 2020 2 commits
-
-
Mark Andrews authored
Fix code to generate the test signatues. See merge request !3103
-
Mark Andrews authored
* ctx needs to be destroyed before it is regenerated. * emit the name of the signature to be replaced. * cleanup memory before asserting so post longjump doesn't detect a memory leak. * comment code. (cherry picked from commit 3a8c8a2a)
-
- 20 Feb, 2020 4 commits
-
-
Michał Kępień authored
[v9_14] Make a sed script in doc/arm/Makefile.in portable See merge request !3098
-
Michał Kępień authored
BSD sed does not recognize \s as a whitespace matching token. Make the sed script in doc/arm/Makefile.in which ensures GitLab identifiers are not split across lines portable by replacing \s with [[:space:]]. (cherry picked from commit b25e6b51)
-
Michał Kępień authored
[v9_14] Increase lifetime of docs:sid:amd64 artifacts See merge request !3095
-
Michał Kępień authored
Artifacts generated by the docs:sid:amd64 job need to be retained longer than for other jobs as they are used for building bind.isc.org contents. If these artifacts are removed too quickly, pipelines in the pages/bind GitLab project start failing, preventing content updates from being published. Increase lifetime of the relevant job artifacts to prevent this from happening. (cherry picked from commit 9751ba5a)
-
- 13 Feb, 2020 1 commit
-
-
Ondřej Surý authored
Stop requiring same memory ordering in win32 atomic_compare_exchange functions See merge request !3059
-