You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value passed in can be coming from erlang.mk or RabbitMQ's own code but exactly the same parameters are used on Erlang 26.2 which does not run into this exception.
Possible Solutions
If making ct_logs:custom_stylesheet_header/1 more defensive by handling {error, _} or specifically {error, does_not_exist} would be considered acceptable,
I'd be happy to submit a PR.
The text was updated successfully, but these errors were encountered:
This is a ct_master related bug that doesn't affect the results of the tests. I plan to submit patches later on along other things (hence ct_master_fork in the stacktrace).
I think the process isn't running because on the master node we only have ct_master, so ct_logs isn't ever needed (besides a few utility functions). I wonder if that refresh_logs call is even needed, I'll experiment without it.
In RabbitMQ test suites that pass on Erlang 26.2, on Erlang 27 I observe the following exception in
ct_logs
:which makes the run fail even though all tests have succeeded.
How to Reproduce
So far I was unable to pin down this phenomenon to a particular test suite. It does not affect the vast majority of suites, only two are affected:
deps/rabbitmq_mqtt
deps/rabbit
suitesEach group of suites in the examples above is executed in parallel.
ct_logs:custom_stylesheet_header/1
accepts an argument that's either a path, anundefined
orunknown
but it does not handle{error, _}
cases.The custom stylesheet argument is passed to
ct_logs
fromct_run:refresh_logs/2
.The value passed in can be coming from
erlang.mk
or RabbitMQ's own code but exactly the same parameters are used on Erlang 26.2 which does not run into this exception.Possible Solutions
If making
ct_logs:custom_stylesheet_header/1
more defensive by handling{error, _}
or specifically{error, does_not_exist}
would be considered acceptable,I'd be happy to submit a PR.
The text was updated successfully, but these errors were encountered: