Bug#1144910: rust-tonic: autopkgtest regression on 32 bits: codec::tests::encode_too_big

Paul Gevers <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <1c4e544a-be3f-49cb-a21e-e5cc6bc2eca5__36708.7230946467$1787223922$gmane$org@debian.org>
Source: rust-tonic
Version: 0.14.5+dfsg-3
Severity: serious
User: [email protected]
Usertags: regression
Control: affects -1 src:rust-rustls-native-certs src:nethsm-pkcs11
Control: affects -1 src:rust-pem-rfc7468 src:rust-ssh-encoding
Control: affects -1 src:rust-der

Dear maintainer(s),

With a recent upload of rust-tonic the autopkgtest of rust-tonic fails 
in testing on armhf and i386 when that autopkgtest is run with the 
binary packages of rust-tonic from unstable. It passes when run with 
only packages from testing. In tabular form:

                        pass            fail
rust-tonic             from testing    0.14.5+dfsg-3
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can 
you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=rust-tonic

https://ci.debian.net/data/autopkgtest/testing/i386/r/rust-tonic/74466245/log.gz

2111s 2111s running 5 tests
2111s test codec::tests::decode ... ok
2111s test codec::tests::encode ... ok
2111s test codec::tests::decode_max_message_size_exceeded ... ok
2111s test codec::tests::encode_too_big ... FAILED
2111s test codec::tests::encode_max_message_size_exceeded ... ok
2111s 2111s failures:
2111s 2111s ---- codec::tests::encode_too_big stdout ----
2111s 2111s thread 'codec::tests::encode_too_big' (13178) panicked at 
src/codec.rs:280:29:
2111s attempt to add with overflow
2111s stack backtrace:
2111s    0: __rustc::rust_begin_unwind
2111s    1: core::panicking::panic_fmt
2111s    2: core::panicking::panic_const::panic_const_add_overflow
2111s    3: tonic_prost::codec::tests::encode_too_big::{{closure}}
2111s    4: tokio::runtime::scheduler::current_thread::Context::enter
2111s    5: tokio::runtime::context::scoped::Scoped<T>::set
2111s    6: tokio::runtime::scheduler::current_thread::CoreGuard::block_on
2111s    7: tokio::runtime::context::runtime::enter_runtime
2111s    8: tokio::runtime::runtime::Runtime::block_on
2111s    9: tonic_prost::codec::tests::encode_too_big
2111s   10: core::ops::function::FnOnce::call_once
2111s note: Some details are omitted, run with `RUST_BACKTRACE=full` for 
a verbose backtrace.
2111s 2111s 2111s failures:
2111s     codec::tests::encode_too_big
2111s 2111s test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 
measured; 0 filtered out; finished in 0.01s
2111s 2111s error: test failed, to rerun pass `--lib`
2112s autopkgtest [23:22:13]: test rust-tonic-prost:@
OpenPGP_signature.asc (application/pgp-signature, 585 B)
-----BEGIN PGP SIGNATURE-----

wsC7BAABCABvBYJqht7cCRCcXJnrBb11CkcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmfigP8UoupcRXJNfM8HTNEmf9lsRR5Ff4xKfERTlFvt
dBYhBFi2bUhza+k7BS3mcpxcmesFvXUKAABfWwgAwyy21bWtwsiY9X/MjbUZ63Lv
iwIlUZORd1rc81zaeJxpKj76FacyFamIF3AmXT5ebKv1UZT76jF6ka4XYhjHfdSz
Zfxj9aXjRRTt6KCu+UREsrHn/ZjUylTbYyWtGWZgicq7lFhi9pUhXPONc9KvQC7j
DSfRCtyH8VUiIwZfI0nay6g6UpR7mDPzLQnuFFEA5PHQvhfQsGkSaNVfhzjirAsz
4w2GnqXeWwTekw2ZvQKkHipDiZaoetoeiwOepwzPR327rjr2aVy6I/vp2duW7s6R
9cDg3b09wVadOTYPsGTe0CN/g/+r3WP1MxPxwv/tEfcWEK4fk4W3Ojtw8sIL4w==
=hhnN
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.