Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953482 - net-misc/openssh with net-misc/putty-0.81 failed putty transfer data
Summary: net-misc/openssh with net-misc/putty-0.81 failed putty transfer data
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2025-04-09 16:24 UTC by Toralf Förster
Modified: 2025-04-09 19:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,20.26 KB, text/plain)
2025-04-09 16:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,182.69 KB, text/plain)
2025-04-09 16:24 UTC, Toralf Förster
Details
environment (environment,119.82 KB, text/plain)
2025-04-09 16:24 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.59 KB, application/x-xz)
2025-04-09 16:24 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,26.42 KB, application/x-xz)
2025-04-09 16:24 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,45.64 KB, application/x-xz)
2025-04-09 16:24 UTC, Toralf Förster
Details
net-misc:openssh-10.0_p1:20250409-161832.log.xz (net-misc:openssh-10.0_p1:20250409-161832.log.xz,14.93 KB, application/x-xz)
2025-04-09 16:24 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,50.15 KB, application/x-xz)
2025-04-09 16:24 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,29.29 KB, application/x-xz)
2025-04-09 16:24 UTC, Toralf Förster
Details
tests.tar.xz (tests.tar.xz,614.39 KB, application/x-xz)
2025-04-09 16:24 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-04-09 16:24:21 UTC
corrupted copy
failed putty transfer data
make[1]: *** [Makefile:277: t-exec-interop] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-misc/openssh-10.0_p1/work/openssh-10.0p1/regress'
make: *** [Makefile:788: interop-tests] Error 2
 * ERROR: net-misc/openssh-10.0_p1::gentoo failed (test phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-misc/openssh-10.0_p1::gentoo'`,

  -------------------------------------------------------------------
  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd_test-20250403-164001

  KEYWORDED/UNMASKED

  [gcc-15] Requested by sam
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 20.1.2
llvm-config: 20.1.2
Python 3.12.10
go version go1.24.2 linux/amd64
  [1]   php8.2 *
  [2]   php8.4
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-bin-1.85.1
  [3]   rust-1.85.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

  HEAD of ::gentoo
commit 096ab595f368dec115c565cb3b056c7b8627ca82
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Apr 9 15:35:24 2025 +0000

    2025-04-09 15:35:23 UTC

The tinderbox task was: x11-wm/aewm++

emerge -qpvO =net-misc/openssh-10.0_p1
[ebuild     U ] net-misc/openssh-10.0_p1 [9.9_p2-r3] USE="kerberos pam pie ssl test -audit (-debug) -ldns -libedit -livecd -security-key (-selinux) -static -verify-sig (-xmss) (-legacy-ciphers%)"
Comment 1 Toralf Förster gentoo-dev 2025-04-09 16:24:23 UTC
Created attachment 924231 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-04-09 16:24:25 UTC
Created attachment 924232 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-04-09 16:24:26 UTC
Created attachment 924233 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-04-09 16:24:27 UTC
Created attachment 924234 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-04-09 16:24:28 UTC
Created attachment 924235 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-04-09 16:24:29 UTC
Created attachment 924236 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-04-09 16:24:30 UTC
Created attachment 924237 [details]
net-misc:openssh-10.0_p1:20250409-161832.log.xz
Comment 8 Toralf Förster gentoo-dev 2025-04-09 16:24:31 UTC
Created attachment 924238 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-04-09 16:24:32 UTC
Created attachment 924239 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2025-04-09 16:24:34 UTC
Created attachment 924240 [details]
tests.tar.xz
Comment 11 Mike Gilbert gentoo-dev 2025-04-09 17:42:15 UTC
Please attach this file:

/var/tmp/portage/net-misc/openssh-10.0_p1/work/openssh-10.0p1/regress/failed-putty_transfer_data-logs.tar
Comment 12 Mike Gilbert gentoo-dev 2025-04-09 17:45:52 UTC
Looks like that was included in tests.tar.xz. Nevermind!
Comment 13 Toralf Förster gentoo-dev 2025-04-09 18:03:48 UTC
(In reply to Mike Gilbert from comment #12)
> Looks like that was included in tests.tar.xz. Nevermind!

Since 2 yrs: https://github.com/toralf/tinderbox/blame/main/bin/job.sh#L351 ;)
Comment 14 Mike Gilbert gentoo-dev 2025-04-09 19:07:52 UTC
I am unable to reproduce the issue.

The "This account is currently not available." message makes me think there might be some issue with your passwd/shadow file? Just a hunch.

make[1]: Entering directory '/var/tmp/portage/net-misc/openssh-10.0_p1/work/openssh-10.0p1/regress'
run test putty-transfer.sh ...
plink version 0.81 major 0 minor 81
putty transfer data: compression 0
ssh cat /var/tmp/portage/net-misc/openssh-10.0_p1/work/openssh-10.0p1/regress/data failed
/var/tmp/portage/net-misc/openssh-10.0_p1/work/openssh-10.0p1/regress/data /var/tmp/portage/net-misc/openssh-10.0_p1/work/openssh-10.0p1/regress/copy differ: char 1, line 1
corrupted copy
This account is currently not available.
Comment 15 Mike Gilbert gentoo-dev 2025-04-09 19:30:05 UTC
The "This account is currently not available." message comes from /sbin/nologin.

I have the shell for the portage user set to /bin/bash. I will try again with it set to /sbin/nologin.
Comment 16 Mike Gilbert gentoo-dev 2025-04-09 19:31:36 UTC
That did the trick, I get the same error now.
Comment 17 Mike Gilbert gentoo-dev 2025-04-09 19:37:55 UTC
I can reproduce with openssh 9.8 and 9.9.
Comment 18 Mike Gilbert gentoo-dev 2025-04-09 19:56:54 UTC
The ebuild already has logic to skip a subset of tests when the login shell is */nologin or */false.

It looks like we need to narrow that scope even further, or just skip tests altogether.