Re: 9.6p1 test suite help

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

 



On Thu, 21 Dec 2023 at 15:52, Jack Hill <jackhill@xxxxxxxxxxx> wrote:
[...]
> /tmp/guix-build-openssh-9.6p1.drv-0/openssh-9.6p1/regress/ssh-rsa already exists.
> Overwrite (y/n)? ssh-keygen for ssh-rsa failed

The regression tests do this to regenerate the keys if either the
keygen binary has changed:

for t in ${SSH_KEYTYPES}; do
        # generate user key
        if [ ! -f $OBJ/$t ] || [ ${SSHKEYGEN_BIN} -nt $OBJ/$t ]; then
                trace "generating key type $t"
                rm -f $OBJ/$t
                ${SSHKEYGEN} -q -N '' -t $t  -f $OBJ/$t ||\
                        fail "ssh-keygen for $t failed"

Given that the first couple of key types succeeded, my guess is that
you're running the tests with "make -j2" or higher and the two
instances of test-exec.sh are racing each other.  That generally won't
work (there's a subset of tests that could be run in parallel,
generally the ones with no side effects, but we don't currently
support that).

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux