Re: tunir tests: what's this useradd-not-found failure?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 1, 2017 at 7:23 PM, Matthew Miller <mattdm@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxx
trishnag.wordpress.com
_______________________________________________
cloud mailing list -- cloud@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to cloud-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux