Bug#956152: rabbitmq-server: fails to install reliably on arm64

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#956152: rabbitmq-server: fails to install reliably on arm64

Thomas Goirand-3
On 4/7/20 10:35 PM, Paul Gevers wrote:

> Package: rabbitmq-server
> Version: 3.7.18-1
> Severity: serious
> Tags: sid bullseye
> X-Debbugs-CC: [hidden email]
> User: [hidden email]
> Usertags: flaky breaks
> Control: affects -1 mcollective
>
> Dear maintainer(s),
>
> As can be seen in the autopkgtests of mcollective [1], rabbitmq-server
> fails to reliably install on arm64 as it often fails to start.
>
> Paul
>
> [1] https://ci.debian.net/packages/m/mcollective/testing/arm64/
>
> https://ci.debian.net/data/autopkgtest/testing/arm64/m/mcollective/4853115/log.gz
>
> Setting up rabbitmq-server (3.7.18-1) ...
> Adding group `rabbitmq' (GID 109) ...
> Done.
> Adding system user `rabbitmq' (UID 107) ...
> Adding new user `rabbitmq' (UID 107) with group `rabbitmq' ...
> ERROR: ld.so: object 'libeatmydata.so' from LD_PRELOAD cannot be
> preloaded (cannot open shared object file): ignored.
> Not creating home directory `/var/lib/rabbitmq'.
> Created symlink
> /etc/systemd/system/multi-user.target.wants/rabbitmq-server.service →
> /lib/systemd/system/rabbitmq-server.service.
> Job for rabbitmq-server.service failed because the control process
> exited with error code.
> See "systemctl status rabbitmq-server.service" and "journalctl -xe" for
> details.
> invoke-rc.d: initscript rabbitmq-server, action "start" failed.
> ● rabbitmq-server.service - RabbitMQ Messaging Server
>      Loaded: loaded (/lib/systemd/system/rabbitmq-server.service;
> enabled; vendor preset: enabled)
>      Active: activating (auto-restart) (Result: exit-code) since Mon
> 2020-04-06 20:55:24 UTC; 7ms ago
>     Process: 2726 ExecStart=/usr/sbin/rabbitmq-server (code=exited,
> status=1/FAILURE)
>    Main PID: 2726 (code=exited, status=1/FAILURE)
> dpkg: error processing package rabbitmq-server (--configure):
>  installed rabbitmq-server package post-installation script subprocess
> returned error exit status 1
> dpkg: dependency problems prevent configuration of autopkgtest-satdep:
>  autopkgtest-satdep depends on rabbitmq-server; however:
>   Package rabbitmq-server is not configured yet.
>
> dpkg: error processing package autopkgtest-satdep (--configure):
>  dependency problems - leaving unconfigured
>

Hi Paul,

How may I test installing rabbitmq-server on ARM64 ? I don't have such a
hardware...

Cheers,

Thomas Goirand (zigo)

Reply | Threaded
Open this post in threaded view
|

Bug#956152: rabbitmq-server: fails to install reliably on arm64

Thomas Goirand-3
On 4/9/20 9:48 AM, Paul Gevers wrote:

> Hi Thomas,
>
> On 08-04-2020 18:04, Thomas Goirand wrote:
>> How may I test installing rabbitmq-server on ARM64 ? I don't have such a
>> hardware...
>
> Can't you try on a porterbox?
>
> Paul
>

Hi Paul,

It took me a long time to do it, but thanks to the help of Steve
McIntyre, I could try installing RabbitMQ on an arm64 machine. A big
thanks to him! (cc him so he sees the thanks)

And it did work perfectly:

# ps axuf | grep erl
root     30007  0.0  0.0   5888   696 ttyAMA0  S+   15:50   0:00      \_
grep erl
rabbitmq 29591 47.7  3.3 1687452 68372 ?       Sl   15:49   0:11  \_
/usr/lib/erlang/erts-10.7/bin/beam.smp -W w -A 64 -MBas ageffcbf -MHas
ageffcbf -MBlmbcs 512 -MHlmbcs 512 -MMmcs 30 -P 1048576 -t 5000000 -stbt
db -zdbbl 128000 -K true -- -root /usr/lib/erlang -progname erl -- -home
/var/lib/rabbitmq -- -pa
/usr/lib/rabbitmq/lib/rabbitmq_server-3.7.18/ebin  -noshell -noinput -s
rabbit boot -sname rabbit@debian -boot start_sasl -kernel
inet_default_connect_options [{nodelay,true}] -sasl errlog_type error
-sasl sasl_error_logger false -rabbit lager_log_root "/var/log/rabbitmq"
-rabbit lager_default_file "/var/log/rabbitmq/[hidden email]" -rabbit
lager_upgrade_file "/var/log/rabbitmq/[hidden email]" -rabbit
feature_flags_file
"/var/lib/rabbitmq/mnesia/rabbit@debian-feature_flags" -rabbit
enabled_plugins_file "/etc/rabbitmq/enabled_plugins" -rabbit plugins_dir
"/usr/lib/rabbitmq/plugins:/usr/lib/rabbitmq/lib/rabbitmq_server-3.7.18/plugins"
-rabbit plugins_expand_dir
"/var/lib/rabbitmq/mnesia/rabbit@debian-plugins-expand" -os_mon
start_cpu_sup false -os_mon start_disksup false -os_mon start_memsup
false -mnesia dir "/var/lib/rabbitmq/mnesia/rabbit@debian" -kernel
inet_dist_listen_min 25672 -kernel inet_dist_listen_max 25672 --
rabbitmq 29826  0.1  0.0   1912   424 ?        Ss   15:49   0:00      \_
erl_child_setup 65536

It's hard to see (huge command line), but that's the output when
rabbitmq is started, believe me.

I tried stop / start the rabbitmq-server.service a few times, and it did
work for me, no problem (even though it was a bit slow on the arm64 VM I
was using, which is kind of expected with rabbitmq-server).

I'm therefore downgrading this bug to severity: important, until further
investigation can be done on your side. Indeed, this looks like specific
to your environment here.

Cheers,

Thomas Goirand (zigo)