public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/unbound] main: disable repo
@ 2026-07-17 7:44 Ondrej Mejzlik
0 siblings, 0 replies; only message in thread
From: Ondrej Mejzlik @ 2026-07-17 7:44 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : tests/unbound
Branch : main
Commit : 0899094f1a5f928e358da1c0f2968db15416fb92
Author : Ondrej Mejzlik <omejzlik@redhat.com>
Date : 2026-07-17T09:43:50+02:00
Stats : +1/-1624 in 48 file(s)
URL : https://src.fedoraproject.org/tests/unbound/c/0899094f1a5f928e358da1c0f2968db15416fb92?branch=main
Log:
disable repo
---
diff --git a/.fmf/version b/.fmf/version
deleted file mode 100644
index d00491f..0000000
--- a/.fmf/version
+++ /dev/null
@@ -1 +0,0 @@
-1
diff --git a/COMMITMENT b/COMMITMENT
deleted file mode 100644
index a687e0d..0000000
--- a/COMMITMENT
+++ /dev/null
@@ -1,46 +0,0 @@
-GPL Cooperation Commitment
-Version 1.0
-
-Before filing or continuing to prosecute any legal proceeding or claim
-(other than a Defensive Action) arising from termination of a Covered
-License, we commit to extend to the person or entity ('you') accused
-of violating the Covered License the following provisions regarding
-cure and reinstatement, taken from GPL version 3. As used here, the
-term 'this License' refers to the specific Covered License being
-enforced.
-
- However, if you cease all violation of this License, then your
- license from a particular copyright holder is reinstated (a)
- provisionally, unless and until the copyright holder explicitly
- and finally terminates your license, and (b) permanently, if the
- copyright holder fails to notify you of the violation by some
- reasonable means prior to 60 days after the cessation.
-
- Moreover, your license from a particular copyright holder is
- reinstated permanently if the copyright holder notifies you of the
- violation by some reasonable means, this is the first time you
- have received notice of violation of this License (for any work)
- from that copyright holder, and you cure the violation prior to 30
- days after your receipt of the notice.
-
-We intend this Commitment to be irrevocable, and binding and
-enforceable against us and assignees of or successors to our
-copyrights.
-
-Definitions
-
-'Covered License' means the GNU General Public License, version 2
-(GPLv2), the GNU Lesser General Public License, version 2.1
-(LGPLv2.1), or the GNU Library General Public License, version 2
-(LGPLv2), all as published by the Free Software Foundation.
-
-'Defensive Action' means a legal proceeding or claim that We bring
-against you in response to a prior proceeding or claim initiated by
-you or your affiliate.
-
-'We' means each contributor to this repository as of the date of
-inclusion of this file, including subsidiaries of a corporate
-contributor.
-
-This work is available under a Creative Commons Attribution-ShareAlike
-4.0 International license (https://creativecommons.org/licenses/by-sa/4.0/).
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index d159169..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,339 +0,0 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users. This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it. (Some other Free Software Foundation software is covered by
-the GNU Lesser General Public License instead.) You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have. You must make sure that they, too, receive or can get the
-source code. And you must show them these terms so they know their
-rights.
-
- We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software. If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
- Finally, any free program is threatened constantly by software
-patents. We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary. To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- GNU GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License. The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language. (Hereinafter, translation is included without limitation in
-the term "modification".) Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
- 1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
- 2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
-
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any
- part thereof, to be licensed as a whole at no charge to all third
- parties under the terms of this License.
-
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a
- notice that there is no warranty (or else, saying that you provide
- a warranty) and that users may redistribute the program under
- these conditions, and telling the user how to view a copy of this
- License. (Exception: if the Program itself is interactive but
- does not normally print such an announcement, your work based on
- the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections
- 1 and 2 above on a medium customarily used for software interchange; or,
-
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your
- cost of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
-
- c) Accompany it with the information you received as to the offer
- to distribute corresponding source code. (This alternative is
- allowed only for noncommercial distribution and only if you
- received the program in object code or executable form with such
- an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it. For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable. However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License. Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
- 5. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Program or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
- 6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
- 7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all. For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded. In such case, this License incorporates
-the limitation as if written in the body of this License.
-
- 9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation. If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
- 10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission. For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this. Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-convey the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
- <one line to give the program's name and a brief idea of what it does.>
- Copyright (C) <year> <name of author>
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-Also add information on how to contact you by electronic and paper mail.
-
-If the program is interactive, make it output a short notice like this
-when it starts in an interactive mode:
-
- Gnomovision version 69, Copyright (C) year name of author
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, the commands you use may
-be called something other than `show w' and `show c'; they could even be
-mouse-clicks or menu items--whatever suits your program.
-
-You should also get your employer (if you work as a programmer) or your
-school, if any, to sign a "copyright disclaimer" for the program, if
-necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
-
- <signature of Ty Coon>, 1 April 1989
- Ty Coon, President of Vice
-
-This General Public License does not permit incorporating your program into
-proprietary programs. If your program is a subroutine library, you may
-consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License.
diff --git a/README.md b/README.md
index 6f758ae..bd55c47 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1 @@
-# unbound
-
-unbound test repo
+Public tests have been moved to: https://gitlab.com/redhat/centos-stream/tests/
diff --git a/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain/Makefile b/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain/Makefile
deleted file mode 100644
index 4f25adc..0000000
--- a/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain/Makefile
+++ /dev/null
@@ -1,64 +0,0 @@
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Makefile of /CoreOS/unbound/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain
-# Description: Unbound fails resolution of any SHA-1 signed domain
-# Author: Petr Sklenar <psklenar@redhat.com>
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2022 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-export TEST=/CoreOS/unbound/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain
-export TESTVERSION=1.0
-
-BUILT_FILES=
-
-FILES=$(METADATA) runtest.sh Makefile PURPOSE
-
-.PHONY: all install download clean
-
-run: $(FILES) build
- ./runtest.sh
-
-build: $(BUILT_FILES)
- test -x runtest.sh || chmod a+x runtest.sh
-
-clean:
- rm -f *~ $(BUILT_FILES)
-
-
-include /usr/share/rhts/lib/rhts-make.include
-
-$(METADATA): Makefile
- @echo "Owner: Petr Sklenar <psklenar@redhat.com>" > $(METADATA)
- @echo "Name: $(TEST)" >> $(METADATA)
- @echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
- @echo "Path: $(TEST_DIR)" >> $(METADATA)
- @echo "Description: Unbound fails resolution of any SHA-1 signed domain" >> $(METADATA)
- @echo "Type: Sanity" >> $(METADATA)
- @echo "TestTime: 15m" >> $(METADATA)
- @echo "RunFor: unbound" >> $(METADATA)
- @echo "Requires: unbound" >> $(METADATA)
- @echo "Priority: Normal" >> $(METADATA)
- @echo "License: GPLv2+" >> $(METADATA)
- @echo "Confidential: no" >> $(METADATA)
- @echo "Destructive: no" >> $(METADATA)
- @echo "Bug: 2070495" >> $(METADATA)
- @echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA)
-
- rhts-lint $(METADATA)
diff --git a/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain/PURPOSE b/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain/PURPOSE
deleted file mode 100644
index 010acb2..0000000
--- a/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain/PURPOSE
+++ /dev/null
@@ -1,3 +0,0 @@
-PURPOSE of /CoreOS/Sanity/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain
-Description: Unbound fails resolution of any SHA-1 signed domain
-Author: Petr Sklenar <psklenar@redhat.com>
diff --git a/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain/main.fmf b/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain/main.fmf
deleted file mode 100644
index bef1f07..0000000
--- a/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain/main.fmf
+++ /dev/null
@@ -1,24 +0,0 @@
-summary: Unbound fails resolution of any SHA-1 signed domain
-description: ''
-contact: Petr Sklenar <psklenar@redhat.com>
-component: []
-test: ./runtest.sh
-framework: beakerlib
-recommend:
- - unbound
-duration: 15m
-enabled: true
-#tier: '1'
-# its random fail due to infrastructure, see delv @dns for dnssec status
-tag:
- - NoRHEL4
- - NoRHEL5
-link:
- - relates: https://bugzilla.redhat.com/show_bug.cgi?id=2070495
-adjust:
- - enabled: false
- when: distro == rhel-4, rhel-5
- continue: false
-extra-nitrate: TC#0613139
-extra-summary: /CoreOS/unbound/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain
-extra-task: /CoreOS/unbound/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain
diff --git a/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain/runtest.sh b/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain/runtest.sh
deleted file mode 100755
index fbb92cd..0000000
--- a/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain/runtest.sh
+++ /dev/null
@@ -1,106 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /CoreOS/Sanity/Sanity/Unbound-fails-resolution-of-any-SHA-1-signed-domain
-# Description: Unbound fails resolution of any SHA-1 signed domain
-# Author: Petr Sklenar <psklenar@redhat.com>
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2022 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGE="unbound"
-RESOLV_CONF_ORIG=""
-
-ListSha1Signed="fedoraproject.org
-example.com
-ietf.org"
-
-resolv_backup() {
- rlRun "RESOLV_CONF_ORIG=$(mktemp -u /etc/resolv.conf.XXXXXX)"
- rlRun "mv /etc/resolv.conf $RESOLV_CONF_ORIG"
-}
-
-rlJournalStart
- rlPhaseStartSetup
- rlAssertRpm $PACKAGE
- rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
- rlRun "pushd $TmpDir"
- rlRun "RESOLV_CONF=$(realpath /etc/resolv.conf)"
- if [ "$RESOLV_CONF" = "/run/systemd/resolve/stub-resolv.conf" ]; then
- rlLog "systemd-resolved is known to break dnssec. Switching to remote resolvers."
- resolv_backup
- RESOLV_CONF=/run/systemd/resolve/resolv.conf
- rlRun "ln -s $RESOLV_CONF /etc/resolv.conf" 0 "Link to non-stub resolv.conf"
- rlRun -l "resolvectl" 0
- fi
- rlRun -l "cat /etc/resolv.conf"
-
- # Check server is DNSSEC capable
- # Amazon EC2 is not, thanks!
- rlRun "unbound-host -rvD -t dnskey . > root.log" 0
- if ! grep '(secure)' root.log; then
- rlLogWarning "System provided resolver is not usable, trying custom."
- rlLog "VM type: $(systemd-detect-virt)"
- [ -z "$RESOLV_CONF_ORIG" ] && resolv_backup
- rlRun "rm -f /etc/resolv.conf"
- RESOLV_CONF=/etc/resolv.conf
- echo "# Generated by test" > $RESOLV_CONF
- for NS in 8.8.8.8 8.8.4.4; do
- echo "nameserver $NS" >> $RESOLV_CONF
- done
- rlRun -l "cat /etc/resolv.conf"
- fi
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "unbound-host -rvD unbound.net > unbound.net.log" 0
- rlRun "grep failed root.log unbound.net.log" 1 "Check connection can validate"
- rlRun "grep '(secure)' unbound.net.log" 0 "Check secure result is obtained"
-
- rm -rf log
- for i in $ListSha1Signed;do
- rlLog "trying $i"
- if unbound-host -vr $i;then
- rlRun "unbound-host -rvD $i &> log"
- rlRun "grep 'failure' log" 1-255
- rlRun "grep 'has address' log"
- cat log
- else
- rlLogWarning "Not working resolution on $i!"
- fi
- done
- rlRun "ls log" 0 "there is at least one DNS alive"
-
-
- rlPhaseEnd
-
- rlPhaseStartCleanup
- if [ -n "$RESOLV_CONF_ORIG" ]; then
- rlRun "rm -f /etc/resolv.conf"
- rlRun "mv $RESOLV_CONF_ORIG /etc/resolv.conf" 0 "Get back original resolv.conf"
- fi
- rlRun "popd"
- rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/Sanity/caching-DNS-server/main.fmf b/Sanity/caching-DNS-server/main.fmf
deleted file mode 100644
index 77ae883..0000000
--- a/Sanity/caching-DNS-server/main.fmf
+++ /dev/null
@@ -1,15 +0,0 @@
-summary: Configuring unbound as a caching DNS server
-contact: Petr Sklenar <psklenar@redhat.com>
-test: ./runtest.sh
-framework: beakerlib
-recommend:
- - unbound
- - bind-utils
- - coreutils
-duration: 5m
-enabled: true
-tier: '1'
-adjust:
- - enabled: false
- when: distro == rhel-4, rhel-5
- continue: false
diff --git a/Sanity/caching-DNS-server/runtest.sh b/Sanity/caching-DNS-server/runtest.sh
deleted file mode 100755
index 2f571f1..0000000
--- a/Sanity/caching-DNS-server/runtest.sh
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Original documentation: Marc Muehlfeld <mmuehlfe@redhat.com>
-# Author: Petr Sklenar <psklenar@redhat.com>
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2022 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGE="unbound"
-
-rlJournalStart
- rlPhaseStartSetup
- rlAssertRpm $PACKAGE
- rlFileBackup /etc/unbound/unbound.conf
- rlServiceStart unbound
- rlPhaseEnd
-
- rlPhaseStartTest "Verification"
- # Query the unbound DNS server listening on the localhost interface to resolve a domain:
- QUERRY_TIME_1=$(dig @127.0.0.1 www.example.com | awk '$3 == "IN" && $4 == "A"{ip=$5}/Query time:/{t=$4 " " $5}END{print t}' | awk -F' ' '{print $1}')
- # Repeat the previous query:
- QUERRY_TIME_2=$( dig @127.0.0.1 www.example.com | awk '$3 == "IN" && $4 == "A"{ip=$5}/Query time:/{t=$4 " " $5}END{print t}' | awk -F' ' '{print $1}')
- # Because of the cached entry, further requests for the same record are significantly faster until the entry expires.
- rlLog "1st querry = $QUERRY_TIME_1 ms , 2nd querry $QUERRY_TIME_2 ms"
- if [ "$QUERRY_TIME_1" -lt "$QUERRY_TIME_2" ];then
- rlFail "Its not faster"
- else
- rlPass "2nd querry is faster"
- fi
- rlPhaseEnd
-
- rlPhaseStartCleanup
- journalctl -u unbound -n22 --no-pager
- rlFileRestore
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/Sanity/chroot-functionality/Makefile b/Sanity/chroot-functionality/Makefile
deleted file mode 100644
index 4e899f1..0000000
--- a/Sanity/chroot-functionality/Makefile
+++ /dev/null
@@ -1,64 +0,0 @@
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Makefile of /CoreOS/unbound/Sanity/bz2081958-chroot-functionality
-# Description: Test for BZ#2081958 (chroot functionality isn't available in)
-# Author: Petr Menšík <pemensik@pemensik-pad>
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2022 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-export TEST=/CoreOS/unbound/Sanity/chroot-functionality
-export TESTVERSION=1.0
-
-BUILT_FILES=
-
-FILES=$(METADATA) runtest.sh Makefile PURPOSE
-
-.PHONY: all install download clean
-
-run: $(FILES) build
- ./runtest.sh
-
-build: $(BUILT_FILES)
- test -x runtest.sh || chmod a+x runtest.sh
-
-clean:
- rm -f *~ $(BUILT_FILES)
-
-
-include /usr/share/rhts/lib/rhts-make.include
-
-$(METADATA): Makefile
- @echo "Owner: Petr Menšík <pemensik@pemensik-pad>" > $(METADATA)
- @echo "Name: $(TEST)" >> $(METADATA)
- @echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
- @echo "Path: $(TEST_DIR)" >> $(METADATA)
- @echo "Description: Test for BZ#2081958 (chroot functionality isn't available in)" >> $(METADATA)
- @echo "Type: Sanity" >> $(METADATA)
- @echo "TestTime: 5m" >> $(METADATA)
- @echo "RunFor: unbound" >> $(METADATA)
- @echo "Requires: unbound" >> $(METADATA)
- @echo "Priority: Normal" >> $(METADATA)
- @echo "License: GPLv2+" >> $(METADATA)
- @echo "Confidential: no" >> $(METADATA)
- @echo "Destructive: no" >> $(METADATA)
- @echo "Bug: 2081958" >> $(METADATA)
- @echo "Releases: -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA)
-
- rhts-lint $(METADATA)
diff --git a/Sanity/chroot-functionality/PURPOSE b/Sanity/chroot-functionality/PURPOSE
deleted file mode 100644
index 4c0f03d..0000000
--- a/Sanity/chroot-functionality/PURPOSE
+++ /dev/null
@@ -1,5 +0,0 @@
-PURPOSE of /CoreOS/unbound/Sanity/bz2081958-chroot-functionality
-Description: Test for BZ#2081958 (chroot functionality isn't available in)
-Author: Petr Menšík <pemensik@pemensik-pad>
-Bug summary: chroot functionality isn't available in unbound-1.7.3 in RHEL8
-Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=2081958
diff --git a/Sanity/chroot-functionality/main.fmf b/Sanity/chroot-functionality/main.fmf
deleted file mode 100644
index 2962a8d..0000000
--- a/Sanity/chroot-functionality/main.fmf
+++ /dev/null
@@ -1,8 +0,0 @@
-summary: Use chroot and check it works
-test: ./runtest.sh
-framework: beakerlib
-recommend:
- - unbound
-tag:
- - localhost
-tier: '1'
diff --git a/Sanity/chroot-functionality/runtest.sh b/Sanity/chroot-functionality/runtest.sh
deleted file mode 100755
index 4443667..0000000
--- a/Sanity/chroot-functionality/runtest.sh
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /CoreOS/unbound/Sanity/chroot-functionality
-# Description: Test for BZ#2081958 (chroot functionality isn't available in)
-# Author: Petr Menšík <pemensik@pemensik-pad>
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2022 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGE="unbound"
-
-make_zone() {
- cat > $1 << ZONE
-; named.empty copy
-;$TTL 3H
-@ IN SOA @ rname.invalid. (
- 0 ; serial
- 1D ; refresh
- 1H ; retry
- 1W ; expire
- 3H ) ; minimum
- NS @
- A 127.0.0.1
- AAAA ::1
-ZONE
-}
-
-chroot_conf() {
- cat << CONF
-server:
- chroot: "/etc/unbound"
-
-auth-zone:
- name: "test"
- zonefile: "/etc/unbound/conf.d/test.zone"
-CONF
-}
-
-rlJournalStart
- rlPhaseStartSetup
- rlAssertRpm $PACKAGE
- rlFileBackup --missing-ok /etc/unbound/conf.d/test.{zone,conf} /etc/unbound/unbound.conf
- rlRun "TmpDir=\$(mktemp -d)" 0 "Creating tmp directory"
- rlRun "make_zone /etc/unbound/conf.d/test.zone" 0 "Prepare zone file"
- rlRun "chroot_conf > /etc/unbound/conf.d/test.conf" 0 "Prepare chroot and zone config"
- rlRun "mkdir -p /etc/unbound/run/systemd"
- rlRun "mount --bind /run/systemd /etc/unbound/run/systemd"
- rlRun "mkdir -p /etc/unbound/var/lib/unbound"
- rlRun "mount --bind /var/lib/unbound /etc/unbound/var/lib/unbound"
- rlRun "pushd $TmpDir"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlServiceStart "unbound"
- rlServiceStatus "unbound"
- rlRun "unbound-control list_local_zones | grep test"
- rlServiceRestore "unbound"
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlRun "umount /etc/unbound/var/lib/unbound"
- rlRun "umount /etc/unbound/run/systemd"
- rlRun "rm -r $TmpDir" 0 "Removing tmp directory"
- rlRun "rm -f /etc/unbound/conf.d/test.{zone,conf}"
- rlRun "rlFileRestore"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/Sanity/dracut-module/main.fmf b/Sanity/dracut-module/main.fmf
deleted file mode 100644
index f879c4f..0000000
--- a/Sanity/dracut-module/main.fmf
+++ /dev/null
@@ -1,16 +0,0 @@
-summary: Testing unbound dracut module
-contact: Tomas Korbar <tkorbar@redhat.com>
-test: ./runtest.sh
-framework: beakerlib
-recommend:
- - unbound-dracut
-duration: 25m
-enabled: true
-tier: '1'
-adjust:
- - enabled: false
- when: distro < rhel-9.6
- continue: false
- - enabled: false
- when: arch == s390x
- continue: false
diff --git a/Sanity/dracut-module/module-setup.sh b/Sanity/dracut-module/module-setup.sh
deleted file mode 100755
index a77deed..0000000
--- a/Sanity/dracut-module/module-setup.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/bash
-
-check() {
- return 0
-}
-
-depends() {
- return 0
-}
-
-install() {
- inst_simple "$moddir/test-unbound.service" /usr/lib/systemd/system/test-unbound.service
- inst_simple /usr/bin/systemctl
-
- $SYSTEMCTL -q --root "$initdir" enable test-unbound.service
-}
diff --git a/Sanity/dracut-module/runtest.sh b/Sanity/dracut-module/runtest.sh
deleted file mode 100755
index 99d3aff..0000000
--- a/Sanity/dracut-module/runtest.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-rlJournalStart
- rlPhaseStartSetup
- rlFileBackup /etc/dracut.conf
- rlFileBackup /boot
- rlRun "set -o pipefail"
- rlPhaseEnd
-
- rlPhaseStartTest
- if [ "$TMT_REBOOT_COUNT" -eq 0 ]; then
- rlRun "mkdir -p /lib/dracut/modules.d/99test-unbound"
- rlRun "cp ./module-setup.sh /lib/dracut/modules.d/99test-unbound"
- rlRun "cp ./test-unbound.service /lib/dracut/modules.d/99test-unbound"
- rlRun "cp ./test-unbound.service /usr/lib/systemd/system/test-unbound.service"
- rlRun "echo 'add_dracutmodules+=\" unbound \"' >> /etc/dracut.conf" 0 "Enable unbound dracut module"
- rlRun "dracut --force" 0 "Rebuild initramfs"
- rlRun "tmt-reboot" 0 "Reboot the machine"
- elif [ "$TMT_REBOOT_COUNT" -eq 1 ]; then
- rlRun "journalctl -b -u test-unbound | grep 'unbound-is-enabled'" 0 "Verify unbound is ready in initramfs"
- rlRun "rm -rf /lib/dracut/modules.d/99test-unbound /usr/lib/systemd/system/test-unbound.service" 0 "remove testing module"
- rlRun "systemctl daemon-reload"
- fi
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlFileRestore
- rlPhaseEnd
-rlJournalEnd
diff --git a/Sanity/dracut-module/test-unbound.service b/Sanity/dracut-module/test-unbound.service
deleted file mode 100644
index dceaaac..0000000
--- a/Sanity/dracut-module/test-unbound.service
+++ /dev/null
@@ -1,9 +0,0 @@
-[Unit]
-Description=Try whether unbound is enabled
-
-[Service]
-Type=oneshot
-ExecStart=/bin/bash -c "systemctl is-enabled unbound && echo 'unbound-is-enabled'"
-
-[Install]
-WantedBy=sysinit.target
diff --git a/Sanity/no-root-zone-fetch/main.fmf b/Sanity/no-root-zone-fetch/main.fmf
deleted file mode 100644
index cb7282a..0000000
--- a/Sanity/no-root-zone-fetch/main.fmf
+++ /dev/null
@@ -1,16 +0,0 @@
-summary: Tests that unbound will not contact any unexpected server
-contact: Tomas Korbar <tkorbar@redhat.com>
-test: ./runtest.sh
-framework: beakerlib
-recommend:
- - unbound
- - tcpdump
- - bind-utils
- - findutils
-duration: 5m
-enabled: true
-tier: '1'
-adjust:
- - enabled: false
- when: distro < rhel-9.6
- continue: false
diff --git a/Sanity/no-root-zone-fetch/runtest.sh b/Sanity/no-root-zone-fetch/runtest.sh
deleted file mode 100755
index 022b33d..0000000
--- a/Sanity/no-root-zone-fetch/runtest.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-rlJournalStart
- rlPhaseStartSetup
- rlRun "set -o pipefail"
- rlFileBackup /etc/unbound
- rlFileBackup /etc/sysconfig/unbound
- rlPhaseEnd
-
- rlPhaseStartTest
- if rlIsRHEL '<10'; then
- rlLog "rhel<10"
- rlRun "printf 'forward-zone:\nname: .\nforward-addr: 127.0.0.1\n' >> /etc/unbound/unbound.conf"
- rlRun "printf 'DISABLE_UNBOUND_ANCHOR=yes\n' >> /etc/sysconfig/unbound"
- rlRun "/bin/bash -c 'tcpdump -nn \"not host 127.0.0.1 and (port 853 or port 53 or port 453)\" > ./tcpdumplog.txt' &" 0 "starting tcpdump"
- rlServiceStart unbound
- rlRun "dig @127.0.0.1 example.net"
- sleep 5
- rlRun "pkill tcpdump"
- sleep 1
- rlRun "cat tcpdumplog.txt | grep IP4" 1 "Verify no attempt to contact other DNS server was made"
- rlRun "rm -f ./tcpdumplog.txt"
-
- rlServiceStop unbound
- rlRun "rm /etc/unbound/conf.d/unbound-local-root.conf" 0 "Disabling root fetching"
- rlRun "/bin/bash -c 'tcpdump -nn \"not host 127.0.0.1 and (port 853 or port 53 or port 453)\" > ./tcpdumplog.txt' &" 0 "starting tcpdump"
- rlServiceStart unbound
- rlRun "dig @127.0.0.1 example.net"
- sleep 5
- rlRun "pkill tcpdump"
- sleep 1
- rlRun "cat tcpdumplog.txt | grep IP4" 1 "Verify no attempt to contact other DNS server was made"
- rlRun "rm -f ./tcpdumplog.txt"
- else
- #rhel>=10, centos!!, fedora
- rlLog "rhel>=10"
- rlRun "printf 'forward-zone:\nname: .\nforward-addr: 127.0.0.1\n' >> /etc/unbound/unbound.conf"
- rlRun "printf 'DISABLE_UNBOUND_ANCHOR=yes\n' >> /etc/sysconfig/unbound"
- rlRun "/bin/bash -c 'tcpdump -nn \"not host 127.0.0.1 and (port 853 or port 53 or port 453)\" > ./tcpdumplog.txt' &" 0 "starting tcpdump"
- rlServiceStart unbound
- rlRun "dig @127.0.0.1 example.net"
- sleep 5
- rlRun "pkill tcpdump"
- sleep 1
- rlRun "cat tcpdumplog.txt | grep IP4" 1 "Verify no attempt to contact other DNS server was made"
- rlRun "rm -f ./tcpdumplog.txt"
- fi
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlFileRestore
- rlPhaseEnd
-rlJournalEnd
diff --git a/Sanity/notify-ready/main.fmf b/Sanity/notify-ready/main.fmf
deleted file mode 100644
index 8f5459d..0000000
--- a/Sanity/notify-ready/main.fmf
+++ /dev/null
@@ -1,13 +0,0 @@
-summary: Tests whether finish of unbound service start job truly means that it is ready
-contact: Tomas Korbar <tkorbar@redhat.com>
-test: ./runtest.sh
-framework: beakerlib
-recommend:
- - unbound
-duration: 5m
-enabled: true
-tier: '1'
-adjust:
- - enabled: false
- when: distro < rhel-9
- continue: false
diff --git a/Sanity/notify-ready/runtest.sh b/Sanity/notify-ready/runtest.sh
deleted file mode 100755
index 9c432af..0000000
--- a/Sanity/notify-ready/runtest.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-rlJournalStart
- rlPhaseStartSetup
- rlRun "set -o pipefail"
- rlRun "cp ./test-unbound.service /usr/lib/systemd/system/test-unbound.service"
- rlRun "mkdir -p /usr/lib/systemd/system/unbound.service.d"
- rlRun "cp ./slow-down.conf /usr/lib/systemd/system/unbound.service.d/slow-down.conf"
- rlRun "systemctl daemon-reload"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlServiceStart test-unbound
- rlRun "journalctl -b -u test-unbound | grep 'unbound-is-ready'" 0 "Verify unbound was ready on time"
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "rm -f /usr/lib/systemd/system/test-unbound.service /usr/lib/systemd/system/unbound.service.d/slow-down.conf"
- rlRun "systemctl daemon-reload"
- rlPhaseEnd
-rlJournalEnd
diff --git a/Sanity/notify-ready/slow-down.conf b/Sanity/notify-ready/slow-down.conf
deleted file mode 100644
index 3a1d272..0000000
--- a/Sanity/notify-ready/slow-down.conf
+++ /dev/null
@@ -1,2 +0,0 @@
-[Service]
-CPUQuota=1%
diff --git a/Sanity/notify-ready/test-unbound.service b/Sanity/notify-ready/test-unbound.service
deleted file mode 100644
index f9925be..0000000
--- a/Sanity/notify-ready/test-unbound.service
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=Try whether unbound is responding
-Wants=unbound.service
-After=unbound.service
-
-[Service]
-Type=oneshot
-ExecStart=/bin/bash -c "unbound-control status && echo 'unbound-is-ready'"
diff --git a/Sanity/rfc8767-serve-stale/fast.testns b/Sanity/rfc8767-serve-stale/fast.testns
deleted file mode 100644
index 3a88de9..0000000
--- a/Sanity/rfc8767-serve-stale/fast.testns
+++ /dev/null
@@ -1,37 +0,0 @@
-$TTL 60
-
-ENTRY_BEGIN
-
-MATCH qname
-
-REPLY QR AA NOERROR
-
-ADJUST copy_id
-;ADJUST sleep=2
-
-SECTION QUESTION
-
-1.test. IN A
-
-SECTION ANSWER
-1.test. 10 IN A 127.0.0.1
-
-ENTRY_END
-
-ENTRY_BEGIN
-
-MATCH qname
-
-REPLY QR AA NOERROR
-
-ADJUST copy_id
-;ADJUST sleep=2
-
-SECTION QUESTION
-
-2.test. IN A
-
-SECTION ANSWER
-2.test. 10 IN A 127.0.0.2
-
-ENTRY_END
diff --git a/Sanity/rfc8767-serve-stale/main.fmf b/Sanity/rfc8767-serve-stale/main.fmf
deleted file mode 100644
index 4169ff8..0000000
--- a/Sanity/rfc8767-serve-stale/main.fmf
+++ /dev/null
@@ -1,16 +0,0 @@
-summary: Test Unbound support for RFC 8767 serve-stale
-description: |
- Enable RFC 8767 serve stale functionality in unbound.
- First cache reply and wait some time to expire it.
- Then shutdown the forwarder and retry the query.
- Unbound should reply from cache even after original
- query TTL is over
-test: ./test.sh
-framework: beakerlib
-recommend:
- - unbound
- - bind-utils
- - ldns-utils
- - awk
-link:
- - relates: https://bugzilla.redhat.com/show_bug.cgi?id=2023549
diff --git a/Sanity/rfc8767-serve-stale/test.sh b/Sanity/rfc8767-serve-stale/test.sh
deleted file mode 100755
index 1162dfd..0000000
--- a/Sanity/rfc8767-serve-stale/test.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-unbound_resolv_conf() {
- awk '$1 == "nameserver" { print $2 }' /etc/resolv.conf | xargs unbound-control forward_add +i .
-}
-
-rlJournalStart
- rlPhaseStartSetup
- rlRun "srcdir=$(pwd)"
- rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
- rlRun "pushd $tmp"
- rlRun "set -o pipefail"
- rlFileBackup --clean /etc/unbound/conf.d/serve-stale.conf
- cat > /etc/unbound/conf.d/serve-stale.conf << CONF
-server:
- serve-expired-client-timeout: 1800
- do-not-query-localhost: no
- local-zone: "test." nodefault
-CONF
- rlRun "rlServiceStart unbound"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "ldns-testns -vp 2053 ${srcdir}/fast.testns > fast-ns.log &"
- TESTNS_PID=$!
- rlRun "ps u $TESTNS_PID" 0 "Check test server is running"
- rlRun "unbound_resolv_conf" 0 "Configure global forwarders"
- rlRun "unbound-control verbosity 5"
- rlRun "unbound-control forward_add +i test 127.0.0.1@2053" 0 "Redirect test zone to testns"
- rlRun "unbound-control list_forwards"
- rlRun "dig @localhost -p 2053 1.test" 0 "Check testns is responding"
- rlRun -s "dig @localhost 1.test" 0 "Check forwarding works"
- rlAssertGrep 'status: NOERROR' $rlRun_LOG
- rm -f $rlRun_LOG
- sleep 11
- [ "$DEBUG" = y ] && PS1="test-debug $PS1" bash -i
- rlRun "kill $TESTNS_PID"
- rlRun "wait $TESTNS_PID" 0-255
- rlRun -s "dig @localhost 1.test" 0 "Check cached record would still work even if remote host is down"
- rlAssertGrep 'status: NOERROR' $rlRun_LOG
- rm -f $rlRun_LOG
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "popd"
- rlServiceRestore "unbound"
- rlRun "rm -r $tmp" 0 "Remove tmp directory"
- rlFileRestore
- rlPhaseEnd
-rlJournalEnd
diff --git a/Sanity/unbound-control-dot-flag/ca_cert.pem b/Sanity/unbound-control-dot-flag/ca_cert.pem
deleted file mode 100644
index 37cbe60..0000000
--- a/Sanity/unbound-control-dot-flag/ca_cert.pem
+++ /dev/null
@@ -1,32 +0,0 @@
------BEGIN C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z4vOh
-L3vg0KWz3nhbv3WXd7e7V5H3onZ5AgMBAAGjUzBRMB0GA1UdDgQWBBS1JDMRP9UN
-9pFch/b70FUIMx5TSjAfBgNVHSMEGDAWgBS1JDMRP9UN9pFch/b70FUIMx5TSjAP
-BgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4ICAQCGvUBPl6Pk466DBKDO
-YbIf4fmdx0c7sl/HVhYrg/W2tzGwMh9ORzvDI4MpTcgwxuJK/14xfJu9nIwoNDdI
-1WoVo7p1bzUFqi7QairYKn84xBWYzQfsPTz4yYzG9YsM99jqip6ZCqSkzYcFGnD6
-DxknTQ70lDwFdPEQx70qGwmdJKfT1e0Bpb26wJRRLcZokXDNomN/tyydrbOOCZhf
-lnMtJ0pSbK/YAykzw1rjkFZt0oS7XXubZ+sL1ph16SX/RksT7tJNjabXdyY0f8N2
-f3I+u0F9RA+R10O5mxvAcwcFMGHJ+Wq46K3xe99aonl6Y6yxEDdOUPxwPUiVAzmI
-fSpn18tn336auWBqRQNOebVtFYpTHQ9rrp+/QTCkbUYCTU2PRwgQhRZ+QR7qJBsp
-J2pKGijHoCW3wfX41qtBy726DZa4biqHCnQ1TwypK5Yt5nMvhJHxdXWDhK4J3Hcr
-wcSXLgxx0R04hfTDo88PmA0cJtQb66OYwCxkuRruzujdS0luz92HdHLbDX7Q+feW
-ElcjyRZ8B+nK/fL5WdZQc5mgnSSUSseUXB6dJTi/7qtPxee+ctvDWLRwy9QUav1C
-fB899Do30eU1DBNAReqc53VE3+N/VDnwJzmccPoB12Q6Rd6cVuocqqBRcq3cxbTQ
-e+Hj8NiStOXiFeonHZCwk9/ETQ==
------END CERTIFICATE-----
diff --git a/Sanity/unbound-control-dot-flag/example.net b/Sanity/unbound-control-dot-flag/example.net
deleted file mode 100644
index 8174c26..0000000
--- a/Sanity/unbound-control-dot-flag/example.net
+++ /dev/null
@@ -1,13 +0,0 @@
-$ORIGIN example.net.
-$TTL 86400
-@ IN SOA dns1.example.net. hostmaster.example.net. (
- 2001062501 ; serial
- 21600 ; refresh after 6 hours
- 3600 ; retry after 1 hour
- 604800 ; expire after 1 week
- 86400 ) ; minimum TTL of 1 day
-
-
- IN NS dns1.example.net.
-dns1 IN A 192.0.2.1
-server IN A 192.0.2.1
diff --git a/Sanity/unbound-control-dot-flag/main.fmf b/Sanity/unbound-control-dot-flag/main.fmf
deleted file mode 100644
index bcae709..0000000
--- a/Sanity/unbound-control-dot-flag/main.fmf
+++ /dev/null
@@ -1,15 +0,0 @@
-summary: Tests whether unbound-control +t flag works
-contact: Tomas Korbar <tkorbar@redhat.com>
-test: ./runtest.sh
-framework: beakerlib
-recommend:
- - unbound
- - bind
- - bind-utils
-duration: 5m
-enabled: true
-tier: '1'
-adjust:
- - enabled: false
- when: distro < rhel-9.6
- continue: false
diff --git a/Sanity/unbound-control-dot-flag/my_private_key.pem b/Sanity/unbound-control-dot-flag/my_private_key.pem
deleted file mode 100644
index 08f48ad..0000000
--- a/Sanity/unbound-control-dot-flag/my_private_key.pem
+++ /dev/null
@@ -1,52 +0,0 @@
------BEGIN PRIVATE KEY-----
-MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQC1C61hmqkU9Y1t
-wFCf5qFvyu8ju7KSruyo42st+9a8jlQN5lq6VSunzeOuLCNTfaREtJkMFgOrUoJI
-gIKNbecuZSxyOAQXNBtsbkGAMBuDZwGZHEEpghuxrXEpVm2gRSMJsU7cZP/bPDIS
-FFQAlW5/SflmJ/oKh0SckDyR4G4Iir/jNeyFdry8yMD1cAN09adBkfj13gGXHMEN
-NZHEWyj1JDMI3zWsR9rmn+dLw/RJBm/TMoYr24hehwuZTrw7GO+ElgARgm990yOl
-NNcliWUoB02tBrLnoWVIVsigV2+4kqSiNUOU5O7yAbvuGWBLejywPRPq91Kzyff+
-DUvnlu4bfsq5IRdb2TLuUKC2CbFTDAg1F2J8D2SpNH2B+/WVXH7nQj9E8adOf/JF
-Ca3rXHqoi/x7EffsmRu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A
-LbI4qYIwc6dj558SEgpFdD+AK1hH+KCEzRcVOpGG/sboGBCoXiwmI2miwoMqfqFD
-n0xTxWbNZTeaPkWS3D9RcGxwQqvpI1CHN/Ab5BKKvg5PRBqUcUl+pvIA2WfCi9Oq
-eE41V8qd5/TDyUzFkv5wz5I9hCk4fY6jiTGFKW1nH6bfmAcUcrk0B7kjhLvLPIGn
-Qwd9D8GZxV0BhjGN7KImYvk54kSBV7SD5lAQbCvHWwzVV/oVVYyPXzRygxOp4NwQ
-zS85AoIBAEGH/fEuaMASKstVUy4WsnFLlBGDvYo8Gtf4nH6xNktxpXXTCU3HfJTi
-cu5OSHQEV4kc4dL9VvJKQ+0Tj1bP1aANdvbiC9mX4UvcLW66pJCL21XgQ3Dt+Dyp
-lBtTDVYHP44LNBMTxLHFYZS+IaQ70ZPnAriyY3RIMSJyVQ90jpGp9NwQ/ys2Gzcq
-899bYnMfneAbeON+f87zVo5N4TAIjw8seRec+QNDitzhLa7c+mL7OOR16kTSkxwW
-BkIMBYhu1g9V2AD35LlJ3nYxV7cBHWiT0q9Xpha3Zwx5Iq89zoftvnlWgZFHRAV4
-7lqa4jK60+buvH+gvjbuBH5Ycf9Pbz8=
------END PRIVATE KEY-----
diff --git a/Sanity/unbound-control-dot-flag/my_signed_cert.pem b/Sanity/unbound-control-dot-flag/my_signed_cert.pem
deleted file mode 100644
index f795785..0000000
--- a/Sanity/unbound-control-dot-flag/my_signed_cert.pem
+++ /dev/null
@@ -1,30 +0,0 @@
------BEGIN CERTIFICATE-----
-MIIFKDCCAxACFFjpFbgHpaVv7+Xk4py+2I9Z2uT3MA0GCSqGSIb3DQEBCwUAME8x
-CzAJBgNVBAYTAkNaMRUwEwYDVQQHDAxEZWZhdWx0IENpdHkxHDAaBgNVBAoME0Rl
-ZmF1bHQgQ29tcGFueSBMdGQxCzAJBgNVBAMMAmNhMB4XDTI0MDUyMTA3NDY0OFoX
-DTM0MDUxOTA3NDY0OFowUjELMAkGA1UEBhMCQ1oxF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P92PvzjSiifPhUKSz5ys31AttbbDlAsGXI2IrV2vhnUR5s5I9mTyTfJnPUVt
-0n34csRFalwg7PaGf5grVq+A/naQ+ayyi/3pyzLqZh+bE9nMgr55FgWAmKo08I9W
-yJJ+aTa+j2qXaREBmU9CFMavwXRm+5nXfV8gG4WcIQ/1YIHTjyln4Qpz5J6G/1xF
-hIwwQd6l57IJD20lYFBdJnOYhNE9mR/e8j053MTmszkNBpAuBv6nvFaRQKC6SQRk
-4N484r6xLFLCTxdukaNJ6YiNY51GkkIw97wq63ZYkHNutIyc/TJExMMmldi0VEr9
-fJt6TYvpI7+1zIZC+LhSG/GNXNMkjWXutwzoCSjgQqe5mGshm8JgJOIUuFUgCU2f
-XnzooDsWyLQZzFcXFazu56tN7bFUjbGxoU7YmBXe7auMj500cZhI1wRQWMC8H7Rh
-uKWMC4SbJ025Sz+rtURi9+XmQYKGOW97F7Bawg==
------END CERTIFICATE-----
diff --git a/Sanity/unbound-control-dot-flag/named.conf b/Sanity/unbound-control-dot-flag/named.conf
deleted file mode 100644
index 60db5e8..0000000
--- a/Sanity/unbound-control-dot-flag/named.conf
+++ /dev/null
@@ -1,50 +0,0 @@
-tls mytls {
- cert-file "/etc/named/my_signed_cert.pem";
- key-file "/etc/named/my_private_key.pem";
-};
-
-options {
- listen-on port 53 { };
- listen-on-v6 port 53 { };
- directory "/var/named";
- dump-file "/var/named/data/cache_dump.db";
- statistics-file "/var/named/data/named_stats.txt";
- memstatistics-file "/var/named/data/named_mem_stats.txt";
- secroots-file "/var/named/data/named.secroots";
- recursing-file "/var/named/data/named.recursing";
- allow-query { any; };
-
- listen-on port 853 tls mytls { 127.0.0.5; };
- recursion no;
-
- dnssec-validation no;
-
- managed-keys-directory "/var/named/dynamic";
- geoip-directory "/usr/share/GeoIP";
-
- pid-file "/run/named/named.pid";
- session-keyfile "/run/named/session.key";
-
- /* https://fedoraproject.org/wiki/Changes/CryptoPolicy */
- include "/etc/crypto-policies/back-ends/bind.config";
-};
-
-logging {
- channel default_debug {
- file "data/named.run";
- severity dynamic;
- };
-};
-
-zone "." IN {
- type hint;
- file "named.ca";
-};
-
-zone "example.net" IN {
- type primary;
- file "/etc/named/example.net";
-};
-
-include "/etc/named.rfc1912.zones";
-include "/etc/named.root.key";
diff --git a/Sanity/unbound-control-dot-flag/runtest.sh b/Sanity/unbound-control-dot-flag/runtest.sh
deleted file mode 100755
index 39c523c..0000000
--- a/Sanity/unbound-control-dot-flag/runtest.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-rlJournalStart
- rlPhaseStartSetup
- rlRun "set -o pipefail"
- rlFileBackup /etc/named /etc/named.conf /etc/pki/ca-trust /etc/unbound
- rlRun "cp ./named.conf /etc/named.conf"
- rlRun "cp ./example.net /etc/named/"
- rlRun "cp ./my_* /etc/named"
- rlRun "cp ./ca_cert.pem /etc/pki/ca-trust/source/anchors/"
- rlRun "update-ca-trust extract"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "printf 'server:\n\ttls-cert-bundle: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem\n\tdo-not-query-localhost: no\n\tmodule-config: iterator\n' >> /etc/unbound/unbound.conf"
- rlServiceStart named
- rlServiceStart unbound
- rlRun "unbound-control forward_add +t . '127.0.0.5@853#named'"
- rlRun "dig @127.0.0.1 server.example.net"
- rlServiceStop unbound
- rlServiceStop named
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlFileRestore
- rlPhaseEnd
-rlJournalEnd
diff --git a/Sanity/unbound-host/main.fmf b/Sanity/unbound-host/main.fmf
deleted file mode 100644
index ba88e42..0000000
--- a/Sanity/unbound-host/main.fmf
+++ /dev/null
@@ -1,11 +0,0 @@
-summary: Try unbound-host on forwarder
-test: ./test.sh
-framework: beakerlib
-recommends+:
- - unbound
- - unbound-utils
- - bind-utils
-tag:
- - unbound-host
- - dnssec
-tier: '2'
diff --git a/Sanity/unbound-host/test.sh b/Sanity/unbound-host/test.sh
deleted file mode 100755
index 15a80fe..0000000
--- a/Sanity/unbound-host/test.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-rlJournalStart
- rlPhaseStartSetup
- rlRun "set -o pipefail"
- rlRun "cat /etc/resolv.conf"
- rlRun "grep nameserver /etc/resolv.conf"
- for NS in $(awk '$1 == "nameserver" {print $2}' /etc/resolv.conf); do
- rlRun "dig @$NS +dnssec +nsid -c ch -t txt -q version.bind"
- done
- rlRun "resolvectl status" 0-255 "Print systemd-resolved status if running"
- rlRun "hostnamectl status" 0-255 "Print host system details"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun -s "unbound-host -rv -t DNSKEY ." 0 "Get root DNSKEY using forwardder, no validation"
- rlRun "grep -w DNSKEY $rlRun_LOG"
- rlRun -s "unbound-host -rvD -t DNSKEY ." 0 "Get root DNSKEY using forwarder, with validation"
- rlRun "grep -w DNSKEY $rlRun_LOG"
- rlAssertGrep "(secure)" "$rlRun_LOG"
- rlRun -s "unbound-host -rvD fedoraproject.org" 0 "Get Fedora host, with validation"
- rlAssertGrep "(secure)" "$rlRun_LOG"
- rlAssertGrep 'has \(IPv6 \)\?address' "$rlRun_LOG"
- # This may fail if network is blocking direct DNS queries
- rlRun -s "unbound-host -vD -t DNSKEY ." 0,1 "Get root DNSKEY directly"
- rlRun "grep '(secure)' $rlRun_LOG" 0,1 "Check direct validation status"
- rlPhaseEnd
-
- rlPhaseStartCleanup
- :
- rlPhaseEnd
-rlJournalEnd
diff --git a/Sanity/unbound-localhost/main.fmf b/Sanity/unbound-localhost/main.fmf
deleted file mode 100644
index b74f8b0..0000000
--- a/Sanity/unbound-localhost/main.fmf
+++ /dev/null
@@ -1,8 +0,0 @@
-summary: Restart unbound and check it is running and serving localhost
-test: ./test.sh
-framework: beakerlib
-recommend:
- - unbound
-tag:
- - localhost
-tier: '1'
diff --git a/Sanity/unbound-localhost/test.sh b/Sanity/unbound-localhost/test.sh
deleted file mode 100755
index e2dd67a..0000000
--- a/Sanity/unbound-localhost/test.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-rlJournalStart
- rlPhaseStartSetup
- rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
- rlRun "rlServiceStart unbound"
- rlPhaseEnd
-
- rlPhaseStartTest
- rlRun "unbound-control status" 0-255 "Check the server is running"
- # give it few seconds to start
- sleep 2
- rlRun "unbound-control status" 0 "Check the server is running"
- rlRun "unbound-host -vC unbound-host.conf localhost"
- rlRun "unbound-host -vC unbound-host.conf 127.0.0.1"
- rlRun "unbound-host -vC unbound-host.conf ::1"
- rlPhaseEnd
-
- rlPhaseStartCleanup
- rlRun "rlServiceRestore unbound"
- rlRun "rm -r $tmp" 0 "Remove tmp directory"
- rlPhaseEnd
-rlJournalEnd
diff --git a/Sanity/unbound-localhost/unbound-host.conf b/Sanity/unbound-localhost/unbound-host.conf
deleted file mode 100644
index b69750e..0000000
--- a/Sanity/unbound-localhost/unbound-host.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-forward-zone:
- name: "."
- forward-addr: ::1
- forward-addr: 127.0.0.1
diff --git a/Sanity/valgrind-check/PURPOSE b/Sanity/valgrind-check/PURPOSE
deleted file mode 100644
index 3b97511..0000000
--- a/Sanity/valgrind-check/PURPOSE
+++ /dev/null
@@ -1,3 +0,0 @@
-PURPOSE of /CoreOS/unbound/Sanity/valgrind-check
-Description: memleak by valgrind
-Author: Petr Sklenar <psklenar@redhat.com>
diff --git a/Sanity/valgrind-check/main.fmf b/Sanity/valgrind-check/main.fmf
deleted file mode 100644
index 705a732..0000000
--- a/Sanity/valgrind-check/main.fmf
+++ /dev/null
@@ -1,29 +0,0 @@
-summary: memleak by valgrind
-description: ''
-contact: Petr Sklenar <psklenar@redhat.com>
-component: []
-test: ./runtest.sh
-framework: beakerlib
-recommend:
- - unbound
- - bind-utils
- - valgrind
- - psmisc
- - coreutils
-duration: 66m
-enabled: true
-tag:
- - NoRHEL4
- - NoRHEL5
- - TIPfail
- - TIPfail_infra
-tier: '2'
-link:
- - relates: https://bugzilla.redhat.com/show_bug.cgi?id=1819870
-adjust:
- - enabled: false
- when: distro == rhel-4, rhel-5
- continue: false
-extra-nitrate: TC#0607976
-extra-summary: /CoreOS/unbound/Sanity/valgrind-check
-extra-task: /CoreOS/unbound/Sanity/valgrind-check
diff --git a/Sanity/valgrind-check/runtest.sh b/Sanity/valgrind-check/runtest.sh
deleted file mode 100755
index 72f642d..0000000
--- a/Sanity/valgrind-check/runtest.sh
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/bin/bash
-# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# runtest.sh of /CoreOS/unbound/Sanity/valgrind-check
-# Description: memleak by valgrind
-# Author: Petr Sklenar <psklenar@redhat.com>
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-#
-# Copyright (c) 2020 Red Hat, Inc.
-#
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be
-# useful, but WITHOUT ANY WARRANTY; without even the implied
-# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-# PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see http://www.gnu.org/licenses/.
-#
-# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-# Include Beaker environment
-. /usr/share/beakerlib/beakerlib.sh || exit 1
-
-PACKAGE="unbound"
-
-rlJournalStart
- rlPhaseStartSetup
- rlAssertRpm $PACKAGE
- rlRun "rpm -q unbound || dnf install unbound -y"
- rlServiceStop unbound
- pkill -9 unbound
-cat > Uconf <<END
- server:
- tls-cert-bundle: "/etc/pki/tls/certs/ca-bundle.crt"
- forward-zone:
- name: "."
- forward-ssl-upstream: yes
- forward-addr: 8.8.8.8@853#dns.google
-END
- rlRun "ls Uconf"
- rlPhaseEnd
-
- rlPhaseStartTest
- timeout 3m valgrind --log-file=LOG.valgrind --leak-check=full --show-leak-kinds=all -s /usr/sbin/unbound -d -c Uconf &
- LASTPID=$!
-
- sleep 15
- rlRun "ps u $LASTPID"
-
- rlRun "dig +time=10 +dnssec A www.redhat.com @127.0.0.1 &>LOG.dig"
- rlRun -l "cat LOG.dig"
- rlRun "grep NOERROR LOG.dig"
- for x in `seq -10 -1`;do
- echo -n "$x"
- dig +time=2 +dnssec A www.redhat.com @127.0.0.1 &>/dev/null
- sleep 1
- done
- # include one query on DNSSEC enabled site
- rlRun -l "dig +time=10 +dnssec A example.net @127.0.0.1"
-
- sleep 5
-
- rlPhaseEnd
-
- rlPhaseStartTest 'parse valgrind log'
- rlLog "`echo VALGRINDTAILLOG;cat LOG.valgrind`"
- rlLog "`grep 'ERROR SUMMARY' LOG.valgrind`"
- rlRun "kill -SIGTERM $LASTPID"
- wait $LASTPID
- sleep 1
- rlRun "grep 'ERROR SUMMARY: 0 error' LOG.valgrind"
- rlPhaseEnd
-
- rlPhaseStartCleanup
- journalctl -u unbound
- rlFileSubmit LOG.valgrind
- rlRun "rm -r LOG.valgrind LOG.dig Uconf"
- rlPhaseEnd
-rlJournalPrintText
-rlJournalEnd
diff --git a/Sanity/valgrind-check/test.md b/Sanity/valgrind-check/test.md
deleted file mode 100644
index b9ecbc9..0000000
--- a/Sanity/valgrind-check/test.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Setup
-Unreliable, rerun in beaker if failed.
-
diff --git a/main.fmf b/main.fmf
deleted file mode 100644
index 1ba94ae..0000000
--- a/main.fmf
+++ /dev/null
@@ -1,11 +0,0 @@
-# QE owner
-contact: Petr Sklenar <psklenar@redhat.com>
-
-/Sanity:
- framework: beakerlib
-require+:
- - unbound
-recommend+:
- - unbound-utils
-check:
- - how: avc
diff --git a/plans/all.fmf b/plans/all.fmf
deleted file mode 100644
index c36148b..0000000
--- a/plans/all.fmf
+++ /dev/null
@@ -1,5 +0,0 @@
-summary: Run all tests for tests PR
-discover:
- how: fmf
-execute:
- how: tmt
diff --git a/plans/others.fmf b/plans/others.fmf
deleted file mode 100644
index 6e4aeae..0000000
--- a/plans/others.fmf
+++ /dev/null
@@ -1,23 +0,0 @@
-/public:
- summary: Public other tests
- discover:
- how: fmf
- filter: 'tier: -1 & tier: -2 & tier: -3 & tag: -multihost'
- url: "https://src.fedoraproject.org/tests/unbound.git"
- execute:
- how: tmt
- adjust:
- enabled: false
- when: initiator == rhel-ci
-
-/internal:
- summary: Internal other tests
- discover:
- how: fmf
- filter: 'tier: -1 & tier: -2 & tier: -3 & tag: -multihost'
- url: git://pkgs.devel.redhat.com/tests/unbound
- adjust:
- enabled: false
- when: distro == centos-stream or distro == fedora or initiator == rhel-ci
- execute:
- how: tmt
diff --git a/plans/tier1.fmf b/plans/tier1.fmf
deleted file mode 100644
index 03a03ee..0000000
--- a/plans/tier1.fmf
+++ /dev/null
@@ -1,20 +0,0 @@
-/public:
- summary: Public Tier1 tests
- discover:
- how: fmf
- filter: 'tier: 1'
- url: "https://src.fedoraproject.org/tests/unbound.git"
- execute:
- how: tmt
-
-/internal:
- summary: Internal Tier1 tests
- discover:
- how: fmf
- filter: 'tier: 1'
- url: git://pkgs.devel.redhat.com/tests/unbound
- adjust:
- enabled: false
- when: distro == centos-stream or distro == fedora
- execute:
- how: tmt
diff --git a/plans/tier2-tier3.fmf b/plans/tier2-tier3.fmf
deleted file mode 100644
index e1d1139..0000000
--- a/plans/tier2-tier3.fmf
+++ /dev/null
@@ -1,20 +0,0 @@
-/public:
- summary: Public Tier2 and Tier3 tests
- discover:
- how: fmf
- filter: 'tier: 2 | tier: 3'
- url: "https://src.fedoraproject.org/tests/unbound.git"
- execute:
- how: tmt
-
-/internal:
- summary: Internal Tier2 and Tier3 tests
- discover:
- how: fmf
- filter: 'tier: 2 | tier: 3'
- url: git://pkgs.devel.redhat.com/tests/unbound
- adjust:
- enabled: false
- when: distro == centos-stream or distro == fedora
- execute:
- how: tmt
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-17 7:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-17 7:44 [tests/unbound] main: disable repo Ondrej Mejzlik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox