Commit Graph

82 Commits

Author SHA1 Message Date
Hangbin Liu
d81d288143 update to 1.1.1
Signed-off-by: Hangbin Liu <haliu@redhat.com>
2024-09-09 06:38:56 +00:00
Hangbin Liu
9e452af03e gating: add gating yaml file
Signed-off-by: Hangbin Liu <haliu@redhat.com>
2024-07-30 17:52:51 +08:00
Hangbin Liu
436f5eba3b gating: remove pyroute2 requirement
Signed-off-by: Hangbin Liu <haliu@redhat.com>
2024-07-30 15:04:41 +08:00
Hangbin Liu
41f4e7e705 gating: remove systemd networkd testing
As per RHBZ#1650342, systemd-networkd is not supported.

Signed-off-by: Hangbin Liu <haliu@redhat.com>
2024-07-30 15:04:41 +08:00
Troy Dawson
094cf9615f Bump release for June 2024 mass rebuild 2024-06-24 09:00:34 -07:00
Fedora Release Engineering
6101b0fbe6 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 04:29:07 +00:00
Fedora Release Engineering
003cf719b6 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 06:04:40 +00:00
Fedora Release Engineering
9f4408e616 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 12:54:34 +00:00
Fedora Release Engineering
3215449721 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 18:09:18 +00:00
Fedora Release Engineering
67f287e0f6 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 19:44:05 +00:00
Fedora Release Engineering
6dea25c494 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 17:57:02 +00:00
Fedora Release Engineering
80da97fad8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 13:02:38 +00:00
Zbigniew Jędrzejewski-Szmek
7c5b913243 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:13:30 +01:00
Fedora Release Engineering
adcd945171 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 18:35:50 +00:00
Tom Stellard
8c1ec12d32 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-05 03:19:10 +00:00
Aaron Conole
cc48fc7219 Update to openlldp 1.1.0
This time, include the spec file changes and patch file removal which was
omitted from the previous commit.

Signed-off-by: Aaron Conole <aconole@redhat.com>
2020-12-02 10:46:11 -05:00
Aaron Conole
503b601668 Update to openlldp 1.1.0
Signed-off-by: Aaron Conole <aconole@redhat.com>
2020-12-02 10:37:35 -05:00
Aaron Conole
1521f80bbe Merge #1 Add tests according to the CI 2020-12-02 15:30:50 +00:00
Jeff Law
ec24f2e049 Enable _legacy_common_support 2020-08-07 11:12:59 -06:00
Fedora Release Engineering
b45f096bb1 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 04:16:54 +00:00
Fedora Release Engineering
a223e6766f - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 06:11:16 +00:00
Fedora Release Engineering
00d753625a - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 11:08:51 +00:00
Ido Schimmel
637b9881f8 Do not enable port if already enabled
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
2019-09-18 11:13:35 +02:00
Fedora Release Engineering
58f2b56a94 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 15:03:32 +00:00
Igor Gnatenko
6625d07bcd
Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-02-12 12:41:48 +01:00
Fedora Release Engineering
398bb53ade - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 08:52:19 +00:00
Igor Gnatenko
fdad3e416d Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:13 +01:00
Petr Machata
2c53a6b4b9 Patch improper sanitization of shell escapes (CVE-2018-10932)
Signed-off-by: Petr Machata <pmachata@gmail.com>
2018-10-23 01:01:13 +02:00
Petr Machata
9c1bec86cb Support DSCP APP selectors (BZ 1618377)
Signed-off-by: Petr Machata <pmachata@gmail.com>
2018-08-16 16:14:34 +02:00
Adam Williamson
01c0caae7e Rebuild for new libconfig 2018-07-24 13:35:35 -07:00
Fedora Release Engineering
66582f9047 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 09:16:06 +00:00
Susant Sahani
451044af05 Add 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:
```

```
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

lldpad-1.0.1-9.git036e314.fc28.x86_64
:: [ 09:17:11 ] :: [   PASS   ] :: Checking for the presence of lldpad rpm
:: [ 09:17:11 ] :: [   LOG    ] :: Package versions:
:: [ 09:17:11 ] :: [   LOG    ] ::   lldpad-1.0.1-9.git036e314.fc28.x86_64
:: [ 09:17:11 ] :: [  BEGIN   ] :: Running 'systemctl stop firewalld'
:: [ 09:17:11 ] :: [   PASS   ] :: Command 'systemctl stop firewalld' (Expected 0,5, got 0)
:: [ 09:17:11 ] :: [  BEGIN   ] :: Running 'setenforce 0'
setenforce: SELinux is disabled
:: [ 09:17:11 ] :: [   PASS   ] :: Command 'setenforce 0' (Expected 0,1, got 1)
:: [ 09:17:11 ] :: [  BEGIN   ] :: Running 'mkdir -p /run/systemd/network'
:: [ 09:17:11 ] :: [   PASS   ] :: Command 'mkdir -p /run/systemd/network' (Expected 0, got 0)
:: [ 09:17:11 ] :: [  BEGIN   ] :: Running 'cp lldp.network /run/systemd/network/'
:: [ 09:17:11 ] :: [   PASS   ] :: Command 'cp lldp.network /run/systemd/network/' (Expected 0, got 0)
:: [ 09:17:11 ] :: [  BEGIN   ] :: Running 'cp tcpdumpd.service /run/systemd/system'
:: [ 09:17:11 ] :: [   PASS   ] :: Command 'cp tcpdumpd.service /run/systemd/system' (Expected 0, got 0)
:: [ 09:17:11 ] :: [  BEGIN   ] :: Running 'systemctl daemon-reload'
:: [ 09:17:11 ] :: [   PASS   ] :: Command 'systemctl daemon-reload' (Expected 0, got 0)
:: [ 09:17:11 ] :: [  BEGIN   ] :: Running 'cp lldpad-test.py /usr/bin/'
:: [ 09:17:11 ] :: [   PASS   ] :: Command 'cp lldpad-test.py /usr/bin/' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 0s
::   Assertions: 8 good, 0 bad
::   RESULT: PASS

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

:: [ 09:17:11 ] :: [   LOG    ] :: lldpad tests
:: [ 09:17:11 ] :: [  BEGIN   ] :: Running '/usr/bin/python3 /usr/bin/lldpad-test.py'
test_lldpad_configured (__main__.lldpadTests)
Verify lldpad-peer interface configured ... ok
test_lldpad_trasmitted_packets (__main__.lldpadTests)
verify at the other end of veth(lldpad) lldpad has trasmitted packets. Extract from tcpdump ... reading from file /tmp/lldpad-tcp-dump.pcap, link-type EN10MB (Ethernet)
ok
test_lldptool_get_tlv (__main__.lldpadTests)
Verify lldpad got the packet transmitted from lldpad-peer interface ... ok
test_management_address (__main__.lldpadTests)
Test Get/Set a Management Address ... ok
test_systemd_networkd_lldp (__main__.lldpadTestsViaNetworkd)
Receive LLDP packets via networkd ... ok

----------------------------------------------------------------------
Ran 5 tests in 99.310s

OK
:: [ 09:18:50 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/lldpad-test.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 99s
::   Assertions: 1 good, 0 bad
::   RESULT: PASS

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 09:18:51 ] :: [  BEGIN   ] :: Running 'rm /usr/bin/lldpad-test.py /run/systemd/network/lldp.network /run/systemd/system/tcpdumpd.service'
:: [ 09:18:51 ] :: [   PASS   ] :: Command 'rm /usr/bin/lldpad-test.py /run/systemd/network/lldp.network /run/systemd/system/tcpdumpd.service' (Expected 0, got 0)
:: [ 09:18:51 ] :: [  BEGIN   ] :: Running 'systemctl daemon-reload'
:: [ 09:18:51 ] :: [   PASS   ] :: Command 'systemctl daemon-reload' (Expected 0, got 0)
:: [ 09:18:51 ] :: [  BEGIN   ] :: Running 'setenforce 1'
setenforce: SELinux is disabled
:: [ 09:18:51 ] :: [   PASS   ] :: Command 'setenforce 1' (Expected 0,1, got 1)
:: [ 09:18:51 ] :: [   LOG    ] :: lldpad tests done
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 0s
::   Assertions: 3 good, 0 bad
::   RESULT: PASS

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   TEST PROTOCOL
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

    Package       : lldpad
    Installed     : lldpad-1.0.1-9.git036e314.fc28.x86_64
    beakerlib RPM : beakerlib-1.17-13.fc28.noarch
    Test started  : 2018-06-10 09:17:10 IST
    Test finished : 2018-06-10 09:18:51 IST (still running)
    Test duration : 101 seconds
    Test name     : unknown
    Distro        : Fedora release 28 (Twenty Eight)
    Hostname      : Zeus
    Architecture  : x86_64
    CPUs          : 8 x Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
    RAM size      : 15731 MB
    HDD size      : 226.83 GB

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 09:17:11 ] :: [   PASS   ] :: Checking for the presence of lldpad rpm
:: [ 09:17:11 ] :: [   LOG    ] :: Package versions:
:: [ 09:17:11 ] :: [   LOG    ] ::   lldpad-1.0.1-9.git036e314.fc28.x86_64
:: [ 09:17:11 ] :: [   PASS   ] :: Command 'systemctl stop firewalld' (Expected 0,5, got 0)
:: [ 09:17:11 ] :: [   PASS   ] :: Command 'setenforce 0' (Expected 0,1, got 1)
:: [ 09:17:11 ] :: [   PASS   ] :: Command 'mkdir -p /run/systemd/network' (Expected 0, got 0)
:: [ 09:17:11 ] :: [   PASS   ] :: Command 'cp lldp.network /run/systemd/network/' (Expected 0, got 0)
:: [ 09:17:11 ] :: [   PASS   ] :: Command 'cp tcpdumpd.service /run/systemd/system' (Expected 0, got 0)
:: [ 09:17:11 ] :: [   PASS   ] :: Command 'systemctl daemon-reload' (Expected 0, got 0)
:: [ 09:17:11 ] :: [   PASS   ] :: Command 'cp lldpad-test.py /usr/bin/' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 0s
::   Assertions: 8 good, 0 bad
::   RESULT: PASS

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

:: [ 09:17:11 ] :: [   LOG    ] :: lldpad tests
:: [ 09:18:50 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/lldpad-test.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 99s
::   Assertions: 1 good, 0 bad
::   RESULT: PASS

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 09:18:51 ] :: [   PASS   ] :: Command 'rm /usr/bin/lldpad-test.py /run/systemd/network/lldp.network /run/systemd/system/tcpdumpd.service' (Expected 0, got 0)
:: [ 09:18:51 ] :: [   PASS   ] :: Command 'systemctl daemon-reload' (Expected 0, got 0)
:: [ 09:18:51 ] :: [   PASS   ] :: Command 'setenforce 1' (Expected 0,1, got 1)
:: [ 09:18:51 ] :: [   LOG    ] :: lldpad tests done
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 0s
::   Assertions: 3 good, 0 bad
::   RESULT: PASS

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   unknown
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 09:18:51 ] :: [   LOG    ] :: JOURNAL XML: /var/tmp/beakerlib-RRyct40/journal.xml
:: [ 09:18:51 ] :: [   LOG    ] :: JOURNAL TXT: /var/tmp/beakerlib-RRyct40/journal.txt
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 101s
::   Phases: 3 good, 0 bad
::   OVERALL RESULT: PASS
```
2018-06-12 18:00:17 +05:30
Fedora Release Engineering
14833b505a - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 00:01:36 +00:00
Fedora Release Engineering
3c415a0fef - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 02:41:16 +00:00
Fedora Release Engineering
fa102179e4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 20:13:28 +00:00
Chris Leech
b09c517b52 disable -Werror from upstream to rebuild with newer compiler warnings 2017-02-12 11:39:56 -08:00
Fedora Release Engineering
043be0babc - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 19:54:24 +00:00
Dennis Gilmore
ab57474656 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 04:21:11 +00:00
Chris Leech
67dd5a91fb fix build failure due to new warning in rawhide 2016-02-01 15:04:32 -08:00
Chris Leech
f48ccb7e39 package should not attempt to own /etc/bash_completion.d 2016-02-01 13:54:37 -08:00
Chris Leech
68a9f33ff4 convert from sysv shm to posix, to allow selinux restorecon 2015-11-03 14:51:15 -08:00
Chris Leech
31e7d6b129 rebased to upstream v1.0.1-23-g986eb2e 2015-06-17 10:50:08 -07:00
Chris Leech
9e5b5a082f sync to upstream v0.9.46-123-g48a5f38 2014-10-23 15:37:29 -07:00
Peter Robinson
b4e3f3e5a3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 07:27:11 +00:00
Peter Robinson
d4c24bc36d Add upstream patch to build against libnl3, Drop legacy dcbd packaging support, we've not shipped it since F-13 2014-07-22 14:14:50 +01:00
Dennis Gilmore
495eb16761 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 01:36:48 -05:00
Petr Šabata
e4cd6c9338 Patch configure.ac to build in rawhide 2014-03-11 15:49:48 +01:00
Petr Šabata
c9eb4fefe9 Drop the explicit kernel runtime dependency 2014-03-11 15:00:16 +01:00
Petr Šabata
14d56aca84 Require 'systemd' instead of 'systemd-units' 2013-07-31 18:00:57 +02:00
Petr Šabata
fb503aeed0 Fix the hardened build flags 2013-07-02 15:19:18 +02:00