Public bug reported:

The cacti dep8 tests run wget to fetch a lot of pages. At the same time,
cacti will shortly begin a network scan, and log its results in the log
file.

If the dep8 tests finishes quickly, those network scan results won't be
seen in the logs and the test succeeds. If the tests take a little
longer, though, it will fail because it will find these "unexpected" log
entries:

Unexpected output in /var/log/cacti/cacti.log:
01/30/2019 18:05:02 - SYSTEM STATS: Time:1.1452 Method:cmd.php Processes:1 
Threads:N/A Hosts:0 HostsPerProcess:0 DataSources:0 RRDsProcessed:0
01/30/2019 18:05:04 - AUTOM8 [PID: 13388] Network Discover is now running for 
Subnet Range '1'
01/30/2019 18:06:04 - AUTOM8 [PID: 13404] Network Test Network Thread 5 
Finished, 25 IPs Scanned, 0 IPs Responded to Ping, 0 Responded to SNMP, 0 
Device Added, 0 Graphs Added to Cacti
01/30/2019 18:06:04 - AUTOM8 [PID: 13412] Network Test Network Thread 9 
Finished, 25 IPs Scanned, 0 IPs Responded to Ping, 0 Responded to SNMP, 0 
Device Added, 0 Graphs Added to Cacti
01/30/2019 18:06:04 - AUTOM8 [PID: 13400] Network Test Network Thread 3 
Finished, 25 IPs Scanned, 0 IPs Responded to Ping, 0 Responded to SNMP, 0 
Device Added, 0 Graphs Added to Cacti
01/30/2019 18:06:04 - AUTOM8 [PID: 13410] Network Test Network Thread 8 
Finished, 25 IPs Scanned, 0 IPs Responded to Ping, 0 Responded to SNMP, 0 
Device Added, 0 Graphs Added to Cacti
01/30/2019 18:06:04 - AUTOM8 [PID: 13402] Network Test Network Thread 4 
Finished, 25 IPs Scanned, 0 IPs Responded to Ping, 0 Responded to SNMP, 0 
Device Added, 0 Graphs Added to Cacti
01/30/2019 18:06:04 - AUTOM8 [PID: 13408] Network Test Network Thread 7 
Finished, 25 IPs Scanned, 0 IPs Responded to Ping, 0 Responded to SNMP, 0 
Device Added, 0 Graphs Added to Cacti
01/30/2019 18:06:05 - AUTOM8 [PID: 13396] Network Test Network Thread 1 
Finished, 26 IPs Scanned, 0 IPs Responded to Ping, 0 Responded to SNMP, 0 
Device Added, 0 Graphs Added to Cacti
01/30/2019 18:06:05 - AUTOM8 [PID: 13398] Network Test Network Thread 2 
Finished, 26 IPs Scanned, 0 IPs Responded to Ping, 0 Responded to SNMP, 0 
Device Added, 0 Graphs Added to Cacti
01/30/2019 18:06:06 - AUTOM8 [PID: 13414] Network Test Network Thread 10 
Finished, 26 IPs Scanned, 0 IPs Responded to Ping, 0 Responded to SNMP, 0 
Device Added, 0 Graphs Added to Cacti
01/30/2019 18:06:06 - AUTOM8 [PID: 13406] Network Test Network Thread 6 
Finished, 26 IPs Scanned, 0 IPs Responded to Ping, 0 Responded to SNMP, 0 
Device Added, 0 Graphs Added to Cacti

The fix is to probably allow for these messages.

This can be seen by just installing cacti and watching cacti.log. After
2min or so, these log entries will appear.

** Affects: cacti (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1814097

Title:
  flaky dep8 test

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cacti/+bug/1814097/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to