This test is failing on non-amd64 architectures, but it's very likely
that the cause is the architecture-dependent way that Go treats
conversions between floats and ints. For more details, see:
This commit updates the prometheus version to 2.28.1.
The problem is one of the dependencies of the web interface shipped
with prometheus requires nodejs >= 12, and core20 offers nodejs 10.
For this reason, I decided to download nodejs directly from upstream
and use their binaries instead. The good news is that upstream offers
binaries for all our supported architectures (amd64, arm64, s390x and
ppc64el).
I think it should be possible to split the build into two and use the
"npm" plugin in order to automate this process, but I could not come
up with an implementation that works.