Project

General

Profile

Actions

Bug #8111

closed

Rudder tests fail on relay because of wrong expected allewed networks

Added by Alexis Mousset about 8 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Rudder tests
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

     On host `centos6_relay'
     Failure/Error: its(:content) { should match /Allow from #{ipRange}/ }
       expected "Allow from 127.0.0.0/8\nAllow from ::1\nAllow from 192.168.46.2\nAllow from 192.168.46.0/24\n" to match /Allow from 1: lo    inet 127.0.0.1\/8 scope host lo
       2: eth0    inet 10.0.2.15\/24 brd 10.0.2.255 scope global eth0
       3: eth1    inet 192.168.46.3\/24 brd 192.168.46.255 scope global eth1/
       Diff:
       @@ -1,4 +1,5 @@
       -/Allow from 1: lo    inet 127.0.0.1\/8 scope host lo
       -2: eth0    inet 10.0.2.15\/24 brd 10.0.2.255 scope global eth0
       -3: eth1    inet 192.168.46.3\/24 brd 192.168.46.255 scope global eth1/
       +Allow from 127.0.0.0/8
       +Allow from ::1
       +Allow from 192.168.46.2
       +Allow from 192.168.46.0/24
       sudo -p 'Password: ' /bin/sh -c cat\ /opt/rudder/etc/rudder-networks.conf\ 2\>\ /dev/null\ \|\|\ echo\ -n
       Allow from 127.0.0.0/8
Actions

Also available in: Atom PDF