Commit Graph

270 Commits

Author SHA1 Message Date
Susant Sahani
bcef4f467c Adds tests according to the CI
Adds tests according to the CI

justification
Adds tests according to the CI wiki specifically the standard test interface in the spec.
The playbook includes Tier1 level test cases that have been tested in the following contexts and
is passing reliably: Classic. Test logs are stored in the artifacts directory.
The following steps are used to execute the tests using the standard test interface:

Test enveronment
Make sure you have installed packages from the spec
```
ansible-2.4.1.0-2.fc28.noarch
python2-dnf-2.7.5-1.fc28.noarch
libselinux-python-2.7-2.fc28.x86_64
standard-test-roles-2.5-1.fc28.noarch
Run tests for Classic
Snip of the example test run for Classic tests:
```
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Test
::   Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 16:21:19 ] :: [   LOG    ] :: Starting radius auth tests ...
:: [ 16:21:19 ] :: [   LOG    ] :: Starting radius auth tests ...
:: [ 16:21:19 ] :: [  BEGIN   ] :: Running '/usr/bin/python3 /usr/bin/freeradius-tests.py'
test_radius_plaintext_auth (__main__.RadiousTests) ... Sent Access-Request Id 17 from 0.0.0.0:49711 to 127.0.0.1:1812 length 79
        User-Name = "fedora-ci"
        User-Password = "password"
        NAS-IP-Address = 192.168.225.189
        NAS-Port = 100
        Message-Authenticator = 0x00
        Cleartext-Password = "password"
Received Access-Accept Id 17 from 127.0.0.1:1812 to 0.0.0.0:0 length 38
        Reply-Message = "Hello, fedora-ci"
ok

----------------------------------------------------------------------
Ran 1 test in 1.214s

OK
:: [ 16:21:20 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/freeradius-tests.py' (Expected 0, got 0)
:: [ 16:21:20 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/freeradius-tests.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 1s
2018-06-06 19:24:54 +05:30
Björn Esser
b7902fd74a
Rebuilt for libjson-c.so.4 (json-c v0.13.1) 2018-03-06 15:15:03 +01:00
Igor Gnatenko
83d0428a1e
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:04:33 +01:00
Fedora Release Engineering
ab996217ec - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 10:09:48 +00:00
Björn Esser
074601dd02
Rebuilt for switch to libxcrypt 2018-01-20 23:06:43 +01:00
Iryna Shcherbina
ac797ee71b Update Python 2 dependency declarations to new packaging standards 2018-01-05 21:05:05 +01:00
Björn Esser
36a71aa388
Rebuilt for libjson-c.so.3 2017-12-10 20:50:33 +01:00
Nikolai Kondrashov
30bf3e1e02 Use mariadb-connector-c-devel instead of mysql/mariadb-devel 2017-10-26 21:52:32 +03:00
Zbigniew Jędrzejewski-Szmek
5821452012 Add Provides for the old name without %_isa 2017-08-20 09:27:35 -04:00
Zbigniew Jędrzejewski-Szmek
24ec0cc88b Python 2 binary package renamed to python2-freeradius 2017-08-19 09:38:16 -04:00
Fedora Release Engineering
07a5b04f1f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 20:47:27 +00:00
Fedora Release Engineering
39d4d1b0e5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 08:45:30 +00:00
Nikolai Kondrashov
4b708fc85a Mention bugs fixed by rebase to v3.0.15 2017-07-18 17:24:07 +03:00
Nikolai Kondrashov
7ea213044f Upgrade to upstream v3.0.15 release 2017-07-18 17:00:26 +03:00
Nikolai Kondrashov
3bf786ab83 Rebuild with updated MySQL client library 2017-07-13 11:11:54 +03:00
Jitka Plesnikova
7e5a6f8c49 Perl 5.26 rebuild 2017-06-04 07:31:59 +02:00
Nikolai Kondrashov
9bca231714 Upgrade to upstream v3.0.14 release 2017-05-30 12:41:12 +03:00
Nikolai Kondrashov
e824373dca Make radtest use Cleartext-Password for EAP 2017-03-30 16:34:41 +03:00
Nikolai Kondrashov
5b4fff6aff Handle connection error in rlm_ldap_cacheable_groupobj 2017-03-30 14:13:46 +03:00
Nikolai Kondrashov
cadadd2a61 Explicitly disable rlm_cache_memcached 2017-03-29 13:55:22 +03:00
Nikolai Kondrashov
fc92269c0b Bump release number 2017-03-29 13:53:09 +03:00
Nikolai Kondrashov
8803cf1c65 Fix some issues found with static analyzers 2017-03-15 15:56:21 +02:00
Nikolai Kondrashov
5cca246b90 Require OpenSSL version we built with 2017-03-15 15:39:20 +02:00
Nikolai Kondrashov
6d52794724 Fix permissions of default key files in raddb/certs 2017-03-15 10:44:24 +02:00
Nikolai Kondrashov
611a967618 Upgrade to upstream v3.0.13 release 2017-03-07 16:37:40 +02:00
Nikolai Kondrashov
e28f5dcc06 Improve ip/v4/v6/addr documentation 2017-02-23 12:02:15 +01:00
Nikolai Kondrashov
cfd33dbd4d Remove mentions of Auth-Type = System from docs 2017-02-23 12:00:49 +01:00
Nikolai Kondrashov
11c6beeb48 Avoid clashes with libtool library symbols 2017-02-21 17:01:10 +01:00
Nikolai Kondrashov
8aee320c88 Fix long hostnames interpreted as IP addresses 2017-02-21 16:14:04 +01:00
Nikolai Kondrashov
a687c9a985 Fix output to log file specified with -l option 2017-02-21 15:33:41 +01:00
Nikolai Kondrashov
1a843f6fe3 Do not fail logrotate if radiusd is not running 2017-02-21 15:33:40 +01:00
Nikolai Kondrashov
de0b1c21a1 Bump release number 2017-02-21 15:32:51 +01:00
Nikolai Kondrashov
b2c98e0767 Support OpenSSL v1.1.0
Resolves: Bug#1385588
2017-02-20 17:31:46 +01:00
Nikolai Kondrashov
ad78a601a9 Fix three cases of comparing pointer to zero char
Fix three cases of comparing pointer to a zero character, where pointers
were apparently intended to be dereferenced first and then compared.
Found with the help of GCC 7 warnings.
2017-02-20 17:31:10 +01:00
Nikolai Kondrashov
afbec7d303 Upgrade to upstream v3.0.12 release 2017-02-17 13:40:22 +01:00
Nikolai Kondrashov
4862faea84 Add freeradius- prefix to crypto policy patch name 2017-02-17 13:40:22 +01:00
Nikolai Kondrashov
85c342fee3 Remove executable bits from radiusd.service
Remove unnecessary executable bits from the installed radiusd.service
file. This stops systemd from logging the following message:

    localhost systemd: Configuration file
    /usr/lib/systemd/system/radiusd.service is marked executable. Please
    remove executable permission bits. Proceeding anyway.
2017-02-17 13:40:22 +01:00
Nikolai Kondrashov
4132e000f4 Logrotate with systemctl instead of service 2017-02-17 13:40:22 +01:00
Nikolai Kondrashov
92d7028766 Don't rotate radutmp
Remove radutmp file rotation from freeradius-logrotate, as it's not a
log file.
2017-02-17 13:40:22 +01:00
Nikolai Kondrashov
1ac56a7cb1 Disable rlm_redis/rediswho building explicitly
Disable rlm_redis/rediswho building explicitly, so the build doesn't
break because of unpackaged files, if the requirements are installed.
2017-02-17 13:40:22 +01:00
Nikolai Kondrashov
6ec790249b Add ipa, dirsrv and krb5kdc to service deps 2017-02-17 13:40:22 +01:00
Nikolai Kondrashov
2e8b58f1df Bump release number for future work 2017-02-17 13:40:22 +01:00
Fedora Release Engineering
b4b93fc7b6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 10:00:52 +00:00
Nikolai Kondrashov
70961fcd3d Bump release number 2017-01-16 09:13:04 +02:00
Nikolai Kondrashov
956fde998c Install license files as %license
Contributed by Ville Skyttä <ville.skytta@iki.fi>.
2017-01-16 09:09:51 +02:00
Nikolai Kondrashov
7373519624 Move tmpfiles.d config to %{_tmpfilesdir}
Contributed by Ville Skyttä <ville.skytta@iki.fi>.
2017-01-16 09:05:30 +02:00
Igor Gnatenko
c7d1bd9273 Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:27 +01:00
Nikolai Kondrashov
55d9285155 Use system crypto policy by default
Resolves: Bug#1179224
2016-09-27 12:48:37 +03:00
Petr Písař
0ae3e30c65 Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:27:31 +02:00
Jitka Plesnikova
a5fab07623 Perl 5.24 rebuild 2016-05-17 03:34:20 +02:00