[systemd-devel] test-dhcp-client failing in mock builds

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Tue Feb 3 08:08:23 PST 2015


On Tue, Feb 03, 2015 at 06:49:21AM +0100, Zbigniew Jędrzejewski-Szmek wrote:
> On Tue, Feb 03, 2015 at 02:42:36AM +0100, Zbigniew Jędrzejewski-Szmek wrote:
> > On Mon, Feb 02, 2015 at 08:30:43AM +0100, Jan Synacek wrote:
> > > http://lists.freedesktop.org/archives/systemd-devel/2014-December/026190.html
> > >
> > > I haven't got time to properly analyze the problem since then...
> > It sounded familiar ;)
> > 
> > 
> > On Mon, Feb 02, 2015 at 01:36:29PM +0200, Patrik Flykt wrote:
> > > "Operation not permitted" is what is printed for EPERM. But EPERM is not
> > > present in the client code itself, so I'm inclined towards a "permission
> > > problem" somewhere when running mock.
> > EPERM is also returned when using /dev/null in epoll_ctl_add.
> > I think I fixed it now.
> > 
> > Which leads to a failure on arm in test-network:
> > FAIL: test-network
> > ==================
> > Assertion '!address_equal(a1, a2)' failed at ../src/network/test-network.c:161, function test_address_equality(). Aborting.
> > 
> > I got out my chromebook to see what going on here.
> Ha, undefined behaviour on right shift. Gotta love C ;)
> 
> So the tests pass in mock on all three primary arches.
> 
> I'll let it spin on arm64 just to see what comes up.
And that passes too. 

Zbyszek



More information about the systemd-devel mailing list