Commit Graph

27571 Commits

Author SHA1 Message Date
Evan Hunt
29e89d08f7 fix rrl test
strip CR characters before using awk/sed
2019-01-25 11:24:11 -08:00
Evan Hunt
9d1b0f314d fix rpz test
- work around a CR newline problem
- use rndc to stop servers
2019-01-25 11:24:11 -08:00
Evan Hunt
b322cc74ea fix rpzrecurse test
use rndc to stop servers
2019-01-25 11:24:11 -08:00
Evan Hunt
e37a32276e fix dnssec test
- work around CR issues
- use UTC for time comparisons
- use $DIFF instead of cmp
2019-01-25 11:24:11 -08:00
Evan Hunt
7658ba4216 fix legacy test
use rndc rather than signals to stop the server
2019-01-25 11:24:11 -08:00
Evan Hunt
1e1f1d4ef7 fix fetchlimit test
use TCP for the test queries in between UDP bursts; this avoids
congestion issues that interfered with the test on windows
2019-01-25 11:24:11 -08:00
Evan Hunt
678c3211af fix sfcache test
use a lame server configuration to force SERVFAILs instead of killing ns2.
this prevents test failures that occurred due to a different behavior of
the netowrking stack in windows.
2019-01-25 11:24:10 -08:00
Evan Hunt
d04e771dcf fix nsupdate test
rndc_reload was failing on windows
2019-01-25 11:24:10 -08:00
Evan Hunt
b282b4dd5e fix rndc test
use regex instead of exact string matching to deal with CR at end of line
2019-01-25 11:24:10 -08:00
Evan Hunt
28f8899e21 fix statistics test
the active sockets test is supposed to be commented out on win32, but
only part of it was
2019-01-25 11:24:10 -08:00
Evan Hunt
0b0c110577 fix redirect test
strip CR characters before using sed
2019-01-25 11:24:10 -08:00
Evan Hunt
75278f0f54 fix notify test
test the average delay between notifies instead of the minimum delay;
this helps avoid unnecessary test failures on systems with bursty
network performance.
2019-01-25 11:24:10 -08:00
Evan Hunt
bb256ea268 fix masterformat test
use stop.pl instead of rndc to stop server
2019-01-25 11:24:10 -08:00
Evan Hunt
95d2dff101 fix inline test
use regex instead of exact string matching, to deal with CR at end of ine
2019-01-25 11:24:10 -08:00
Evan Hunt
9dc3aac7a7 fix forward test
strip CR characters before using sed
2019-01-25 11:24:09 -08:00
Evan Hunt
659bc0d09d fix cookie test
strip CR characters before comparing files
2019-01-25 11:24:09 -08:00
Evan Hunt
0279793e03 fix cds test
- use $PERL instead of perl
- use $DIFF instead of cmp for windows portability; cmp doesn't
  handle CR characters properly
2019-01-25 11:24:09 -08:00
Evan Hunt
362eb56189 use $DIFF instead of diff 2019-01-25 11:24:09 -08:00
Evan Hunt
bd9ffedbcf set and use SYSTEMTESTTOP consistently 2019-01-25 11:24:09 -08:00
Evan Hunt
2189f00e63 complete the set of tools available in windows tests
- dnssec-cds wasn't being built for windows
- nsec3hash was available, but the NSEC3HASH variable wasn't
  set in conf.sh.win32
2019-01-25 11:24:09 -08:00
Evan Hunt
3cf4ecf177 more reliable method for killing "ans" servers on windows
as perl and python are both native to cygwin, we don't want to use
the "kill -f" option to terminate them.
2019-01-25 10:43:10 -08:00
Evan Hunt
b5f8d60565 update ifconfig.bat with current test interfaces
the addresses set up in ifconfig.bat were out of sync with the
ones in ifconfig.sh
2019-01-25 10:43:10 -08:00
Evan Hunt
47ef534511 update conf.sh.win32 test list
- the test lists in conf.sh.in and conf.sh.win32 were out of sync
2019-01-25 10:43:10 -08:00
Evan Hunt
fe901beade Merge branch '560-dnssec-keymgr-root-v9_12' into 'v9_12'
improve handling of trailing dots in dnssec-keymgr and dnssec-coverage

See merge request isc-projects/bind9!1394
2019-01-24 17:23:36 -05:00
Evan Hunt
4f06d65e38 improve handling of trailing dots in dnssec-keymgr and dnssec-coverage
- mishandling of trailing dots caused bad behavior with the
  root zone or names like "example.com."
- fixing this exposed an error in dnssec-coverage caused the
  wrong return value if there were KSK errors but no ZSK errors
- incidentally silenced the dnssec-keygen output in the coverage
  system test

(cherry picked from commit 1ccf4e6c16)
2019-01-24 13:51:53 -08:00
Evan Hunt
0c2ba7d303 Merge branch 'each-dead-code-cleanup-v9_12' into 'v9_12'
remove dead RPZ code

See merge request isc-projects/bind9!1393
2019-01-24 15:05:12 -05:00
Matthijs Mekking
a5c834b49b Remove dead code
(cherry picked from commit 7c13f1779e)
2019-01-24 12:04:32 -08:00
Evan Hunt
166a3aad4d Merge branch 'each-set-magic-last-v9_12' into 'v9_12'
set the magic number at the end of dns_dt_create()

See merge request isc-projects/bind9!1386
2019-01-23 14:15:04 -05:00
Evan Hunt
950023d36e set the magic number at the end of dns_dt_create()
(cherry picked from commit c29abd307c)
2019-01-23 11:13:32 -08:00
Evan Hunt
4c0460f143 Merge branch '117-running-dnssec-keymgr-with-old-keys-inactivates-deletes-them-immediately-v9_12' into 'v9_12'
Resolve "Running dnssec-keymgr with old keys inactivates/deletes them immediately"

See merge request isc-projects/bind9!1379
2019-01-22 13:44:42 -05:00
Mark Andrews
15b4240764 introducing keymgr need to preserve functionality
(cherry picked from commit 083b730ec7)
2019-01-22 10:22:10 -08:00
Evan Hunt
b8cb9077e2 Merge branch '630-dont-enable-fips-mode-on-windows-v9_12' into 'v9_12'
Disable FIPS mode on Windows

See merge request isc-projects/bind9!1375
2019-01-21 17:01:46 -05:00
Ondřej Surý
8633be8269 Disable FIPS mode on Windows
(cherry picked from commit 6aae193ded)
2019-01-21 14:01:24 -08:00
Mark Andrews
1ef4bc4dd1 Merge branch 'each-remove-fprintf-v9_12' into 'v9_12'
clean up debugging fprintf

See merge request isc-projects/bind9!1369
2019-01-21 01:12:44 -05:00
Evan Hunt
bc912227d6 removed a debugging fprintf
(cherry picked from commit 6c478a3dae)
2019-01-21 17:00:57 +11:00
Michał Kępień
d1727a02a2 Merge branch 'michal/gitlab-ci-cleanup-v9_12' into 'v9_12'
[v9_12] GitLab CI cleanup

See merge request isc-projects/bind9!1361
2019-01-18 09:42:38 -05:00
Michał Kępień
cb400e5a76 Add comments
(cherry picked from commit a27b9dff18)
2019-01-18 15:26:50 +01:00
Michał Kępień
c62a3f85ac Unify YAML style used throughout .gitlab-ci.yml
(cherry picked from commit a61bf39688)
2019-01-18 15:26:50 +01:00
Michał Kępień
dfa5759b41 Tweak pipeline triggering settings
In an attempt to ensure that:

  - all important changes to repository contents are tested,
  - pipelines are not automatically created for every single push,
  - some flexibility is allowed for corner cases,

change pipeline triggering settings so that:

  - full build & test pipelines are only automatically created for merge
    requests and tags (both for creation and updates),

  - pipelines for other repository changes (e.g. pushes to arbitrary
    branches) can only be created manually, using GitLab's web
    interface,

  - merging a merge request only causes jobs pushing the updated ARM to
    GitLab Pages to be run (as semi-linear Git history is enforced and
    thus testing a MR is identical to testing the target branch
    post-merge in terms of code),

  - repository synchronization does not trigger duplicate pipelines in
    projects which are set as mirroring targets.

(cherry picked from commit 1c8c1815e4)
2019-01-18 15:26:50 +01:00
Michał Kępień
7b8a5b4c00 Reorder job definitions
Group jobs by build type and operating system to make the layout of
.gitlab-ci.yml more consistent and improve locality of YAML references.

(cherry picked from commit a1dbec3b08)
2019-01-18 15:26:49 +01:00
Michał Kępień
8c72ed35bc Use a common naming pattern for all jobs
Make sure all jobs are named using the following pattern:

    [<job-type>:]<build-type>:<system>:<architecture>

where specifying <job-type> is optional for "precheck" and "build" jobs.

This should make it easier to quickly recognize:

  - what kind of actions are performed by each job,
  - which BIND build flavor is used by each job,
  - which operating system image is used by each job.

(cherry picked from commit 1fe432c6c3)
2019-01-18 15:26:49 +01:00
Michał Kępień
bba30accad Define a template for precheck jobs
(cherry picked from commit e0b5dd67a1)
2019-01-18 15:26:49 +01:00
Michał Kępień
30e5f81a10 Merge install_test_job template into the job definition as it is only used once
(cherry picked from commit de1948398d)
2019-01-18 15:26:49 +01:00
Michał Kępień
82ba1f577f Shorten Docker image definitions by using YAML anchors for runner tags
While we are at it, drop use of the "docker" tag since all BIND CI jobs
are currently run inside Docker containers.

(cherry picked from commit 7dd329d385)
2019-01-18 15:26:49 +01:00
Michał Kępień
c15e6fdb71 Build ARM in the build stage
There is no need to build BIND binaries before building docs and thus
the job building the current version of the ARM can be moved to the
build stage of CI.

(cherry picked from commit 41a67147fe)
2019-01-18 15:26:49 +01:00
Michał Kępień
1920b8234e Replace double colon with a single colon
(cherry picked from commit 75b26d3f50)
2019-01-18 15:26:49 +01:00
Michał Kępień
0a9b7014a3 Remove unused parts of .gitlab-ci.yml
Remove the following from .gitlab-ci.yml:

  - unused variable definitions,
  - unused Docker image definitions,
  - commands which have no effect,
  - sections which were commented out.

(cherry picked from commit 9893bd3246)
2019-01-18 15:26:49 +01:00
Michał Kępień
5b67bd4855 Merge branch '781-fix-python-check-in-configure-script-v9_12' into 'v9_12'
[v9_12] Resolve "configure script in BIND 9.13.5 release fails to detect python"

See merge request isc-projects/bind9!1362
2019-01-18 09:22:47 -05:00
Ondřej Surý
33873abe16 Add some combinations of --with-python=<path>/--with-python/--without-python to GitLab CI
(cherry picked from commit 99cf0faec0)
2019-01-18 15:15:38 +01:00
Ondřej Surý
597e3d0b36 When --with-python is given to configure, use default search list for python binaries instead of 'yes'
(cherry picked from commit 3951cb053b)
2019-01-18 15:14:43 +01:00