Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885969 - app-emulation/spice-0.15.0: "FAIL: test-leaks" with openssl-3
Summary: app-emulation/spice-0.15.0: "FAIL: test-leaks" with openssl-3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-3.0
  Show dependency tree
 
Reported: 2022-12-14 15:16 UTC by Agostino Sarubbo
Modified: 2023-05-30 01:29 UTC (History)
0 users

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


Attachments
build.log (build.log,708.73 KB, text/plain)
2022-12-14 15:16 UTC, Agostino Sarubbo
Details
1-test-suite.log (1-test-suite.log,1.55 KB, text/plain)
2022-12-14 15:16 UTC, Agostino Sarubbo
Details
2-test-suite.log (2-test-suite.log,254 bytes, text/plain)
2022-12-14 15:16 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 2022-12-14 15:16:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-emulation/spice-0.15.0 fails tests (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-14 15:16:36 UTC
Created attachment 842645 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-14 15:16:37 UTC
Created attachment 842647 [details]
1-test-suite.log

1-test-suite.log
Comment 3 Agostino Sarubbo gentoo-dev 2022-12-14 15:16:37 UTC
Created attachment 842649 [details]
2-test-suite.log

2-test-suite.log
Comment 4 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-12-18 01:04:53 UTC
Makes since that this turns out to be an openssl-3 issue given:

# Spice-DEBUG: reds.cpp:3366:do_spice_init: starting 0.15.0
# Spice-DEBUG: char-device.cpp:594:reset_dev_instance: sin (nil), char device 0x563ee0ec9d40
# Spice-DEBUG: reds.cpp:2538:reds_init_socket: bound to 0.0.0.0:5922
# Spice-DEBUG: reds.cpp:2782:reds_init_ssl: Loaded certificates from /var/tmp/portage/app-emulation/spice-0.15.0/work/spice-0.15.0/server/tests/pki/server-cert.pem
# Spice-DEBUG: reds.cpp:2795:reds_init_ssl: Using private key from /var/tmp/portage/app-emulation/spice-0.15.0/work/spice-0.15.0/server/tests/pki/server-key.pem
# Spice-DEBUG: reds.cpp:2804:reds_init_ssl: Loaded CA certificates from /var/tmp/portage/app-emulation/spice-0.15.0/work/spice-0.15.0/server/tests/pki/ca-cert.pem
# Spice-DEBUG: main:0 (0x563ee0f2b4b0): thread_id 0x7f7cff43c640
# Spice-DEBUG: inputs:0 (0x563ee0f2b5d0): thread_id 0x7f7cff43c640

(./test-leaks:325): GLib-CRITICAL **: 13:40:16.390: Did not see expected message Spice-WARNING **: *SSL_accept failed*
Bail out! Spice-FATAL-WARNING: error:0A000126:SSL routines::unexpected eof while reading
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-18 01:10:22 UTC
https://gitlab.freedesktop.org/spice/spice/-/commit/3d32295f9e99054ae1a40d220ccef53a176c8aed but there's a bunch of follow up OpenSSL 3 commits as well.
Comment 6 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-12-18 01:14:53 UTC
(In reply to Sam James from comment #5)
> https://gitlab.freedesktop.org/spice/spice/-/commit/
> 3d32295f9e99054ae1a40d220ccef53a176c8aed but there's a bunch of follow up
> OpenSSL 3 commits as well.

Yeah, seems to need bump to 0.15.1.
Comment 7 Larry the Git Cow gentoo-dev 2022-12-18 02:35:11 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bdbf83d20cbb594e70507b64f3831d964b3e60b

commit 4bdbf83d20cbb594e70507b64f3831d964b3e60b
Author:     John Helmert III <ajak@gentoo.org>
AuthorDate: 2022-12-18 02:31:54 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2022-12-18 02:34:19 +0000

    app-emulation/spice: add 0.15.1
    
    Building with LTO should be fixed by [1], and the openssl-3
    issue by [2]. Both in 0.15.1.
    
    [1] https://gitlab.freedesktop.org/spice/spice/-/commit/0b86b6808a06c482ea2bdef9f24be42e0dcb74ae
    [2] https://gitlab.freedesktop.org/spice/spice/-/commit/3d32295f9e99054ae1a40d220ccef53a176c8aed
    
    Bug: https://bugs.gentoo.org/865649
    Bug: https://bugs.gentoo.org/885969
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 app-emulation/spice/Manifest            |  1 +
 app-emulation/spice/spice-0.15.1.ebuild | 99 +++++++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)