[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba-technical
Subject:    Re: Failing tests on Fedora
From:       Andreas Schneider via samba-technical <samba-technical () lists ! samba ! org>
Date:       2023-03-20 17:35:33
Message-ID: 2152679.irdbgypaU6 () magrathea
[Download RAW message or body]

On Thursday, 16 February 2023 09:04:21 CET Andreas Schneider via samba-
technical wrote:
> Hi,
> 
> I'm currently trying to run 'make test' as part of the RPM build process
> (%check). So I'm trying to get everything working, but I'm seeing strange
> issues and I need some help to track them down.
> 
> The errors happen only if I run a full 'make test' and I don't see them when
> running the test individually (make test TESTS="..").
> 
> Lets take a look at the samba.tests.samba_tool.gpo_exts.ad_dc_ntvfs test.
> 
> [2583(16283)/2929 at 1h59m32s, 15 errors]
> samba.tests.samba_tool.gpo_exts(ad_dc_ntvfs:local)
> UNEXPECTED(failure):
> samba.tests.samba_tool.gpo_exts.samba.tests.samba_tool.gpo_exts.GpoCmdTestCa
> se.test_vgp_access_add(ad_dc_ntvfs:local) REASON: Exception: Exception:
> Traceback (most recent call last):
> File "/builddir/build/BUILD/samba-4.18.0rc2/bin/python/samba/tests/
> samba_tool/gpo_exts.py", line 111, in test_vgp_access_add
> self.assertCmdSuccess(result, out, err, 'Access add failed')
> File "/builddir/build/BUILD/samba-4.18.0rc2/bin/python/samba/tests/
> samba_tool/base.py", line 97, in assertCmdSuccess
> self.assertIsNone(exit, msg=msg.replace("\n]\n", "\n] \n"))
> AssertionError: -1 is not None : exit[-1] stdout[] stderr[ERROR: Unable to
> find user or group "testuser"
> ]: Access add failed
> 
> The pattern is the same with other tests failing.


Interestingly the samba.tests.samba_tool.gpo tests fail against ad_dc_ntvfs 
but succeed against ad_dc!



Something is fishy with that env.

UNEXPECTED(failure): 
samba.tests.samba_tool.gpo.samba.tests.samba_tool.gpo.GpoCmdTestCase.test_admx_load(ad_dc_ntvfs:local) \
                
REASON: Exception: Exception: Traceback (most recent call last):                      \
  File "/builddir/build/BUILD/samba-4.18.0/bin/python/samba/tests/samba_tool/
gpo.py", line 583, in test_admx_load                                                  \
  self.assertTrue(os.path.exists(admx_path),                                          \
                
AssertionError: False is not true : PolicyDefinitions was not created

The command interestingly succeeds, but then it fails to find the policy 
definitions. Maybe we have an issue with exported variables in that env.


	Andreas

-- 
Andreas Schneider                      asn@samba.org
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic