Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 940740 - net-misc/socat-1.8.0.1 fails tests
Summary: net-misc/socat-1.8.0.1 fails tests
Status: CONFIRMED
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:
 
Reported: 2024-10-04 07:08 UTC by Agostino Sarubbo
Modified: 2024-10-15 20:08 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,186.24 KB, text/plain)
2024-10-04 07:08 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-10-04 07:08:26 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-misc/socat-1.8.0.1 fails tests.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-04 07:08:27 UTC
Created attachment 904890 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-04 07:08:28 UTC
Error(s) that match a know pattern:


2024/10/04 04:06:28 procan[88] W failed to open dir "/dev/vboxusb": Permission denied
2024/10/04 04:09:05 procan[10423] W failed to open dir "/dev/vboxusb": Permission denied
cat: /var/tmp/portage/net-misc/socat-1.8.0.1/temp/portage/27/test466.stderr: No such file or directory
Device "eth0" does not exist.
diff: /var/tmp/portage/net-misc/socat-1.8.0.1/temp/portage/27/test466.stty1: No such file or directory
FAILED
FAILED:  13 15 87 217 370 388 466 478 528
FAILED unexpected: 13 15 87 370 388 466
test  13 SYSTEMPIPES: simple echo via system() of cat with pipes... FAILED:
test 147 EXITCODESIGTERM: exit status when dying on SIGTERM... OK
test 148 EXITCODESIGILL: exit status when dying on SIGILL... OK
test  15 SYSTEMPTY: simple echo via system() of cat with pseudo terminal... FAILED:
test 217 UDP4MULTICAST_BIDIR: UDP/IPv4 multicast, with reply... !port 12056 timed out! FAILED
test 370 SYSTEM_SHUTDOWN: SYSTEM address does not shutdown its parents addresses... FAILED
test 388 DIAG_FDIN: test use of fdin=3... FAILED
test 464 DALAN_NO_SIGSEGV: Dalan syntax error does not raise SIGSEGV... OK
test 466 RESTORE_TTY: Restoring of terminal settings... FAILED
test 528 PROCAN_CTTY: test procan controlling terminal output... FAILED
test  87 TCP4NOFORK: echo via connection to TCP V4 socket with nofork'ed exec... FAILED
cat: write error: Broken pipe
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-04 11:52:52 UTC
 ./procan
2024/10/04 04:09:05 procan[10423] W failed to open dir "/dev/vboxusb": Permission denied
// diff:
1c1
< not a tty
---
> /dev/pts/15

I don't get what the vboxusb stuff is coming from.
Comment 4 Gabi Falk 2024-10-15 20:08:04 UTC
(In reply to Sam James from comment #3)
> I don't get what the vboxusb stuff is coming from.
The code scans the entire /dev structure and fails when it encounters a directory without read permission:
https://repo.or.cz/socat.git/blob/6ff391324d2d3b9f6bfb58e7d16a20be43b47af7:/procan.c#l25