[Pkg-puppet-devel] Bug#1030256: Bug#1030256: FTBFS: test failures ArgumentError: can't find user for puppet

Jérôme Charaoui jerome at riseup.net
Wed Feb 1 18:47:01 GMT 2023


I think this is occurring because the test is being run as "root".

I don't know how common that is in build environments, but it's not 
something that I have or think I should have in my build (sbuild) or 
test (autopkgtest) environments.

Is there some flag we could use to tell reproducible-builds to build 
this package as a regular user instead of root?

If not I might have to patch the test suite to work around some of the 
logic in there, which I'm not too excited about.

Perhaps an alternative would be to add "puppet-agent" as a build 
dependency, because that package will create a "puppet" user in the 
environment.

Thanks,

-- Jérôme



More information about the Pkg-puppet-devel mailing list