On Wed, Feb 1, 2017 at 7:23 PM, Matthew Miller <mattdm(a)fedoraproject.org> wrote:
I'm looking at
https://apps.fedoraproject.org/autocloud/jobs/740,
where
there is a failure in the Fedora Cloud Base vagrant-libvirt image (yet
vagrant-virtualbox and others are fine).
The specific failure (with whitespace removed) from
https://apps.fedoraproject.org/autocloud/jobs/1984/output is:
command: ## sudo python3 -m unittest
tunirtests.nongatingtests.TunirNonGatingtestaudit -v
status: False
test_audit (tunirtests.nongatingtests.TunirNonGatingtestaudit)
Tests audit ... FAIL
======================================================================
FAIL: test_audit (tunirtests.nongatingtests.TunirNonGatingtestaudit)
Tests audit
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vagrant/tunirtests/nongatingtests.py", line 265, in test_audit
self.assertIn('useradd', f)
AssertionError: 'useradd' not found in ''
----------------------------------------------------------------------
Ran 1 test in 0.140s
FAILED (failures=1)
How is it that useradd is not found in this image but everything else
works and other images are fine?
Interestingly this test passes for me:
[vagrant@localhost ~]$ sudo python3 -m unittest
tunirtests.nongatingtests.TunirNonGatingtestaudit -v
test_audit (tunirtests.nongatingtests.TunirNonGatingtestaudit)
Tests audit ... ok
----------------------------------------------------------------------
Ran 1 test in 0.280s
OK
Also I have tested the commands and checked the audit log *manually*
which looks fine to me (Nothing missing in there).
Not sure why it failed on autocloud.
--
Regards,
Trishna Guha
trishnaguha17(a)gmail.com
trishnag.wordpress.com