Commit Graph

28 Commits

Author SHA1 Message Date
Danno Ferrin
89ce75a614 Speedup modexp (#4780)
Increate the speed of ModExp gas calculations by using primitive types.
Use a native lib for modexp precompile.

Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>

* Native modexp
2022-12-07 14:23:34 -07:00
garyschulte
0ca45f34b9 alternative malloc implementation - jemalloc (#4126)
* add malloc arena params to besu startup
* add jemalloc preload to besu startup
* add jemalloc lib download to docker jvm images
* use 5.* for jemalloc-dev version
* add jemalloc to circleci containers for acceptance tests

Signed-off-by: garyschulte <garyschulte@gmail.com>
2022-07-20 08:01:18 +10:00
Justin Florentine
950673c798 removes verbose memory tracking, and adds jdk to include jcmd and tools (#3861)
* removes verbose memory tracking, and adds jdk to include jcmd and tools
* revert logging to debug, can be adjusted at runtime

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2022-05-18 18:13:51 -07:00
garyschulte
1efe1f01a5 Build arm64 besu docker images (#2954)
* first pass at building arm64 besu docker images
* add arch to docker publish
* add architecture envars to executors
* first pass at manifest docker
* setup docker in manifest step
* add base image to manifestDocker
* add changelog

Signed-off-by: garyschulte <garyschulte@gmail.com>
2022-05-09 19:49:29 +02:00
Matija Folnovic
77b308a37c Fix wrong permissions on /opt/besu directory in GraalVM image (#3753)
Signed-off-by: Matija Folnovic <mfolnovic@gmail.com>

Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
2022-04-27 15:42:51 +10:00
garyschulte
a2fbd76c3a add execution engine endpoints to docker ports (#3575)
* add execution engine endpoints to docker ports

Signed-off-by: garyschulte <garyschulte@gmail.com>
2022-03-12 06:36:34 -08:00
Danno Ferrin
9cee57423b Change docker base images from debian to ubuntu (#3171)
Change the docker base images from debian (implied by openjdk image) to
ubuntu explicitly. Ubuntu has quicker reaction time to base image
security vulnerabilities.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2021-12-14 18:27:33 +01:00
Justin Florentine
ec7fc4781a 2936 debug docker build (#2962)
* adds a new docker build focusing on providing tools for debugging
* updates the latest build to only include a jvm, not a full jdk as shipped for Java 17

Signed-off-by: Justin Florentine <justin+github@florentine.us>
2021-11-05 04:54:08 +13:00
fab-10
19665cbc6c Update JDK 11 to latest version in Besu Docker images (#2926)
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
2021-10-20 12:37:47 -06:00
Juan Cruz
ddc95c4bd5 Fix vulnerabilities from openjdk-11 base image (#2452)
Signed-off-by: Juan Cruz <jmcruz1983@gmail.com>
2021-06-24 09:22:17 -07:00
Danno Ferrin
73a2b72e07 Update Docker files due to hadolint (#1954)
Hadolint introduced a new linting rule prohibiting using the same env
var in it's definition. Move to a two step definition.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2021-02-25 11:42:13 -07:00
Antoine Toulme
1c86ecbc97 Make some adjustments to OpenTelemetry usage and default configuration (#1932)
* Make some adjustments to OpenTelemetry usage and default configuration

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Remove additional empty line

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Remove extra test - no assertions in it providing value

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* remove extra dependency

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* use dev, not default

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
2021-02-22 15:22:42 -07:00
Danno Ferrin
cfd9eb8ea8 Update GraalVM Docker Container (#1830)
Oracle moved their graalvm container hating from docker to github.
Update the docker file to keep up with this change.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2021-01-25 18:20:44 +01:00
Antoine Toulme
cd66968b6d Add tracing support for internals and JSON-RPC (#1557)
* Add tracing support for internals and JSON-RPC

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Remove rocksdb tracing as it slows down execution too much

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Add B3 headers extraction on JSON-RPC requests

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Remove traces around trie tree as they slow down syncing significantly

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Add tracing to fast sync pipeline

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Add tracing for all pipelines

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Address code review

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Add acceptance tests and break out the shaded dependency

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Fix tracer id

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Revert changes to trie

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Upgrade otel to latest, remove old tracing

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Code review comments

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
2021-01-04 11:11:13 -08:00
Antoine Toulme
dbc3fee7bb Add tracing agent to the build and default parameters in Dockerfiles (#1410)
Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
2020-10-13 16:07:22 -07:00
Danno Ferrin
8067ff4f82 Multiple Docker Images with different JVMs (#1277)
Create different Docker images with different base JVMs.  Initially
OpenJDK 11.0.7, whatever OpenJDK latest is (14.0.1 at the moment), and
Graal 20.1.0 .

We still maintain a "Default" which will remain Java 11.0.x

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
2020-08-06 08:32:53 -06:00
Joshua Fernandes
8c9eb4348e setting up the besu user:group for the docker container and following best security practices (#1093)
Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>
2020-06-17 13:00:16 +10:00
Antoine Toulme
1d493597f7 Healthcheck (#715)
* Add a pid-path parameter to write a pid file that can be used as a healthcheck

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Add healthcheck to the Dockerfile

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* fix assertj use

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>

* Fix unit tests

Signed-off-by: Antoine Toulme <antoine@lunar-ocean.com>
2020-04-19 16:01:49 -07:00
Joshua Fernandes
f12c92ec58 add the binary on ci at build time, dont need it to be in the code base (#359)
Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>
2020-02-04 07:53:49 +10:00
Ratan Rai Sur
c2a89a0cb5 add besu to path in Docker (#223)
Signed-off-by: Ratan Rai Sur <ratan.r.sur@gmail.com>
2019-11-26 17:32:52 -05:00
Edward
0197f9f257 Update Jenkins Build for Pantheon → Besu considerations (#1)
* Update ignores
* Update Jenkins
* Update configuration

Signed-off-by: Edward Evans <edward.evans@consensys.net>
2019-09-16 12:42:27 +10:00
Joshua Fernandes
d6a2394e2d Migrating Pantheon to Besu (#1945)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-09-16 11:14:10 +10:00
Joshua Fernandes
407dcbf33d Updating docker tests to make it easier to follow & ensure it listens on the right interface on docker (#1851)
* making the tests easier to read
* updating tests to run inside a container so the goss executable works on osx

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-08-14 21:18:42 -07:00
Joshua Fernandes
05d975ab3a update defaults host interfaces (#1782)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-07-30 11:45:56 +10:00
Joshua Fernandes
29c3c14263 New release docker image (#1664)
* removing unused docker image, switching to new docker image

* switch to using the new release image and pipeline

* pr fixes

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-07-11 14:44:37 +10:00
Joshua Fernandes
5ca6f94d9b reverting change to dockerfile (#1594)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-06-21 19:44:55 +10:00
Joshua Fernandes
491012159a cleaning up the build process for docker (#1590)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-06-21 19:14:10 +10:00
Chris Mckay
28814e7d36 Push builds of master as docker development images (#1200)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2019-04-02 09:06:41 +10:00