Hello Samuel

I don't use sbuild but pbuilder and the package built OK on my machine.

Anyway, as buildd's use sbuild (AFAIK), i think that this issue needs to
be investigated. I will try to put some time tomorrow.

Greetings,

Marcos



On 4/2/19 22:11, Samuel Henrique wrote:
> Hello,
>
> Tried to build 0.5.1+git20180801-1 from the git repo using sbuild[0]
> but the tests from autopkgtest are not passing:
>
>     autopkgtest [20:57:40]: test unittests-default:
>     [-----------------------
>     Traceback (most recent call last):
>       File "test_pyrit.py", line 41, in <module>
>         import cpyrit.config
>       File "/usr/lib/python2.7/dist-packages/cpyrit/config.py", line
>     77, in <module>
>         os.makedirs(configpath)
>       File "/usr/lib/python2.7/os.py", line 150, in makedirs
>         makedirs(head, mode)
>       File "/usr/lib/python2.7/os.py", line 157, in makedirs
>         mkdir(name, mode)
>     OSError: [Errno 13] Permission denied: '/home/samueloph'
>     autopkgtest [20:57:41]: test unittests-default:
>     -----------------------]
>     autopkgtest [20:57:41]: test unittests-default:  - - - - - - - - -
>     - results - - - - - - - - - -
>     unittests-default    FAIL non-zero exit status 1
>     autopkgtest [20:57:41]: @@@@@@@@@@@@@@@@@@@@ summary
>     unittests-default    FAIL non-zero exit status 1
>
>     E: Command 'autopkgtest
>     
> /home/samueloph/packages/build-area/pyrit_0.5.1+git20180801-1_amd64.changes
>     -- schroot unstable-amd64-sbuild; aptexit=$?; if test $aptexit =
>     8; then exit 0; else exit $aptexit; fi' failed to run.
>
>     Finished processing commands.
>
>
> I did not spend time trying to debug this, but it looks like the test
> is trying to create a directory on the wrong place.
>
> Marcos, can you please check if this check is also failing on your
> machine? This is a blocker for migration to testing, so without fixing
> that, the package will not arrive to Buster.
>
> As the package has autopkgtests, it takes only 2 days to migrate to
> Testing, so as long as the upload is made until ~8th February it
> should be ok.
>
> [0]https://wiki.debian.org/sbuild#Using_autopkgtest
>
> Regards,
>
> -- 
> Samuel Henrique <samueloph>

Reply via email to