Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920907 - net-misc/socat-1.8.0.0 fails tests
Summary: net-misc/socat-1.8.0.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 920112
  Show dependency tree
 
Reported: 2023-12-29 01:36 UTC by matoro
Modified: 2024-10-04 01:57 UTC (History)
1 user (show)

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


Attachments
build.log and emerge --info (file_920907.txt,134.15 KB, text/plain)
2023-12-29 01:38 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2023-12-29 01:36:03 UTC
This IS REGRESSION from 1.7.4.4-r1

Example of one of the 10 fails:

test 528 PROCAN_CTTY: test procan controlling terminal output... FAILED
 ./procan
// diff:
1c1
< not a tty
---
> /dev/pts/2

Reproducible: Always
Comment 1 matoro archtester 2023-12-29 01:38:43 UTC
Created attachment 880876 [details]
build.log and emerge --info

sample from ppc64 but this reproduces on all arches
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-04 01:39:48 UTC
(In reply to matoro from comment #0)
> This IS REGRESSION from 1.7.4.4-r1

Only in the sense that we now run tests.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-04 01:40:33 UTC
I'm sort of confused as to why it fails given 528 is in the expect fail list.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-04 01:46:46 UTC
Ah:
> FAILED:  217 410 478 518 519 528
> FAILED unexpected: 518 519
Comment 5 Larry the Git Cow gentoo-dev 2024-10-04 01:57:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4765bbe24661beb5647e68828b42476faa712553

commit 4765bbe24661beb5647e68828b42476faa712553
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-10-04 01:55:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-04 01:55:53 +0000

    net-misc/socat: backport test skips
    
    Bug: https://bugs.gentoo.org/920907
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/socat/socat-1.8.0.0.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=574b96930429ec02ed3cadfdf8ebff52abbc2373

commit 574b96930429ec02ed3cadfdf8ebff52abbc2373
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-10-04 01:54:58 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-04 01:54:58 +0000

    net-misc/socat: add 1.8.0.1
    
    Skip handful of tests which need permissions, like:
    ```
    test 518 STDIN_F_SETPIPE_SZ: f-setpipe-sz on STDIN... FAILED
     ./socat -t 0.1  STDIN,f-setpipe-sz=2097152!!STDOUT EXEC:./filan,nofork
    2023/12/29 01:30:22 socat[9560] E fcntl(0, 1031, 0x200000): Operation not permitted
    ```
    
    Bug: https://bugs.gentoo.org/920907
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/socat/Manifest             |  1 +
 net-misc/socat/socat-1.8.0.1.ebuild | 55 +++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)