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

Bug#1099076: RFS: redwax-tool/0.9.9-1 [ITP] -- Read certificates and keys from your chosen sources, filter the certificates



On 25 Mar 2025, at 11:20, Graham Leggett <minfrin@sharp.fm> wrote:

For information about the tests run, see:

https://wiki.debian.org/PhilWyett/DebianMentoring

Thanks for looking at this - I've just followed the above instructions, and need to confirm a step.

How do I get from "gbp clone --pristine-tar git@salsa.debian.org:<URL>/<package>.git" to a dsc file. Keen to do the exact steps you did.

I followed the dget route, and got this scary python stack trace:

minfrin@debian12:~/test$ ls -al

total 480

drwxr-xr-x 3 minfrin minfrin   4096 Mar 25 11:23 .

drwx------ 7 minfrin minfrin   4096 Mar 25 11:23 ..

drwxr-xr-x 7 minfrin minfrin   4096 Mar 25 11:03 redwax-tool

-rw-r--r-- 1 minfrin minfrin   8548 Mar 16 11:11 redwax-tool_0.9.9-1.debian.tar.xz

-rw-r--r-- 1 minfrin minfrin   2234 Mar 16 11:11 redwax-tool_0.9.9-1.dsc

-rw-r--r-- 1 minfrin minfrin 456614 Mar 16 11:11 redwax-tool_0.9.9.orig.tar.gz

-rw-r--r-- 1 minfrin minfrin   1361 Mar 16 11:11 redwax-tool_0.9.9.orig.tar.gz.asc

minfrin@debian12:~/test$ sudo reprotest --vary=-build_path,domain_host.use_sudo=1 --auto-build redwax-tool_0.9.9-1.dsc -- schroot unstable-amd64-sbuild

WARNING:reprotest:The control build runs on 1 CPU by default, give --min-cpus to increase this.

Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/reprotest/virt/autopkgtest-virt-schroot", line 184, in <module>

    parse_args()

  File "/usr/lib/python3/dist-packages/reprotest/virt/autopkgtest-virt-schroot", line 87, in parse_args

    info = VirtSubproc.check_exec(['schroot', '--config', '--chroot', schroot],

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/lib/python3/dist-packages/reprotest/lib/VirtSubproc.py", line 182, in check_exec

    (status, out, err) = execute_timeout(None, timeout, real_argv,

                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/lib/python3/dist-packages/reprotest/lib/VirtSubproc.py", line 140, in execute_timeout

    sp = subprocess.Popen(*popenargs,

         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__

    self._execute_child(args, executable, preexec_fn, close_fds,

  File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child

    raise child_exception_type(errno_num, err_msg, err_filename)

FileNotFoundError: [Errno 2] No such file or directory: 'schroot'

Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/reprotest/__init__.py", line 852, in run

    return 0 if check_func(*check_args) else 1

                ^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/lib/python3/dist-packages/reprotest/__init__.py", line 397, in check_auto

    proc = test_args._replace(result_dir=result_dir).corun_builds(testbed_args)

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/lib/python3/dist-packages/reprotest/__init__.py", line 114, in start

    next(cr)

  File "/usr/lib/python3/dist-packages/reprotest/__init__.py", line 312, in corun_builds

    with start_testbed(virtual_server_args, temp_dir, no_clean_on_error,

  File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__

    return next(self.gen)

           ^^^^^^^^^^^^^^

  File "/usr/lib/python3/dist-packages/reprotest/__init__.py", line 85, in start_testbed

    testbed.start()

  File "/usr/lib/python3/dist-packages/reprotest/lib/adt_testbed.py", line 138, in start

    self.expect('ok', 0)

  File "/usr/lib/python3/dist-packages/reprotest/lib/adt_testbed.py", line 403, in expect

    self.bomb('unexpected eof from the testbed')

  File "/usr/lib/python3/dist-packages/reprotest/__init__.py", line 70, in bomb

    raise _type(m)

reprotest.lib.adtlog.TestbedFailure: unexpected eof from the testbed


Looks like the key bit is "No such file or directory: 'schroot'", is there a prepare step before the above I need to do?

Regards,
Graham
--


Reply to: