Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893980 - net-misc/croc-9.6.2 fails test TestSend
Summary: net-misc/croc-9.6.2 fails test TestSend
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-11 23:31 UTC by Jonathan Lovelace
Modified: 2024-02-01 10:10 UTC (History)
0 users

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


Attachments
net-misc:croc-9.6.2:20230211-191047.log.gz (net-misc:croc-9.6.2:20230211-191047.log.gz,167.35 KB, application/gzip)
2023-02-11 23:33 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,9.09 KB, text/plain)
2023-02-11 23:33 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2023-02-11 23:31:04 UTC
=net-misc/croc-9.6.2, and also version 9.6.0, fails tests on one of my machines. (This is the slower, fewer-core machine, so I wondered if there's a timeout involved somewhere, but that doesn't seem likely based on the output.)

Here's the log of the failing test:
=== RUN   TestSend
[debug] 14:13:59 message_test.go:57: starting TCP server on 8801
[debug] 14:13:59 comm.go:55: dialing to localhost:8801 with timelimit 10m0s
[debug] 14:13:59 message_test.go:69: client 127.0.0.1:55756 connected
[debug] 14:13:59 comm.go:64: connected to 'localhost:8801'
[debug] 14:13:59 message_test.go:92: [163 199 148 93 207 235 211 228]
[debug] 14:13:59 message.go:58: writing message message (encrypted)
    message_test.go:76: 
                Error Trace:    message_test.go:76
                                                        asm_amd64.s:1594
                Error:          Not equal: 
                                expected: []byte{0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2c, 0x20, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74,
 0x65, 0x72}
                                actual  : []byte{0x5, 0x16, 0x43, 0x6f, 0x9d, 0x3d, 0x91, 0xf4, 0x21, 0x1, 0x70, 0x47, 0x55, 0
xd6, 0x53, 0xa7, 0xb3, 0xf5, 0xa, 0x2d, 0x94, 0xf2, 0x42, 0xbb, 0x94, 0x75, 0x5b, 0x45, 0x2c, 0x1e, 0xd0, 0xbf, 0x21, 0x31, 0x
b6, 0x3d, 0x7c, 0xbf, 0x60, 0x3d, 0xd0, 0xde, 0x4f, 0xf5, 0x5f, 0xc8, 0x24, 0x26, 0x56, 0xc5, 0x70, 0xfc, 0xc0, 0xce, 0xd5, 0x
45, 0x3b, 0xdb, 0x27, 0x86, 0xb8, 0xee, 0xc1, 0x86, 0x6, 0x4e, 0x66, 0x78, 0x2d, 0xd3, 0x85, 0xe4}
                                
                                Diff:
                                --- Expected
                                +++ Actual
                                @@ -1,3 +1,7 @@
                                -([]uint8) (len=15) {
                                - 00000000  68 65 6c 6c 6f 2c 20 63  6f 6d 70 75 74 65 72     |hello, computer|
                                +([]uint8) (len=72) {
                                + 00000000  05 16 43 6f 9d 3d 91 f4  21 01 70 47 55 d6 53 a7  |..Co.=..!.pGU.S.|
                                + 00000010  b3 f5 0a 2d 94 f2 42 bb  94 75 5b 45 2c 1e d0 bf  |...-..B..u[E,...|
                                + 00000020  21 31 b6 3d 7c bf 60 3d  d0 de 4f f5 5f c8 24 26  |!1.=|.`=..O._.$&|
                                + 00000030  56 c5 70 fc c0 ce d5 45  3b db 27 86 b8 ee c1 86  |V.p....E;.'.....|
                                + 00000040  06 4e 66 78 2d d3 85 e4                           |.Nfx-...|
                                 }
                Test:           TestSend
--- FAIL: TestSend (0.99s)
Comment 1 Jonathan Lovelace 2023-02-11 23:33:06 UTC
Created attachment 850404 [details]
net-misc:croc-9.6.2:20230211-191047.log.gz
Comment 2 Jonathan Lovelace 2023-02-11 23:33:28 UTC
Created attachment 850406 [details]
emerge-info.txt
Comment 3 Larry the Git Cow gentoo-dev 2024-02-01 10:10:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78152d7c1255762e7a7623de16bee644f4aae414

commit 78152d7c1255762e7a7623de16bee644f4aae414
Author:     Armas Spann <zappel@simple-co.de>
AuthorDate: 2024-01-31 14:48:31 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2024-02-01 10:10:14 +0000

    net-misc/croc: drop 9.6.2, 9.6.4
    
    Bug: https://bugs.gentoo.org/918091
    Closes: https://bugs.gentoo.org/893980
    
    Signed-off-by: Armas Spann <zappel@simple-co.de>
    Closes: https://github.com/gentoo/gentoo/pull/35115
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 net-misc/croc/Manifest          |  4 ----
 net-misc/croc/croc-9.6.2.ebuild | 50 -----------------------------------------
 net-misc/croc/croc-9.6.4.ebuild | 50 -----------------------------------------
 3 files changed, 104 deletions(-)