eclipse-velocitas / devenv-runtimes

devenv-runtimes
Apache License 2.0
0 stars 3 forks source link

Timeout not long enough for high loaded environment #79

Open TJ2411 opened 4 months ago

TJ2411 commented 4 months ago

Is it possible to set this in an environment parameter? Error log:

mqtt-broker running ('Timeout reached after {startup_timeout_sec}\n seconds, service killed!',)

💥 Starting vehicledatabroker...

['docker', 'run', '--rm', '--init', '--name', 'mqtt-broker', '-p', '1883:1883', '-p', '9001:9001', '--network', 'host', 'eclipse-mosquitto:2.0.14', 'mosquitto', '-c', '/mosquitto-no-auth.conf'] (service_id='mqtt-broker') terminated

✅ Stopping runtime... Starting vehicledatabroker failed

Start log of vehicledatabroker >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Starting 'vehicledatabroker' docker run --rm --init --name vehicledatabroker -e KUKSA_DATABROKER_METADATA_FILE=/workspaces/Identity-Synchronization-Client/app/vspec.json -e KUKSA_DATABROKER_PORT=55555 -v /workspaces/Identity-Synchronization-Client/app/vspec.json:/workspaces/Identity-Synchronization-Client/app/vspec.json --network host ghcr.io/eclipse-kuksa/kuksa-databroker:0.4.4 2024-06-28T07:39:39.000326Z INFO databroker: Init logging from RUST_LOG (environment variable not found) 2024-06-28T07:39:39.000362Z INFO databroker: Starting Kuksa Databroker 0.4.4 2024-06-28T07:39:39.001140Z INFO databroker: Populating metadata from file '/workspaces/Identity-Synchronization-Client/app/vspec.json' <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< End log of vehicledatabroker <<<<

  • Terminal will be reused by tasks, press any key to close it.

https://github.com/eclipse-velocitas/devenv-runtimes/blob/18de1e2fe89e81560cd1f8ea7708540961e3a871/runtime_local/src/local_lib.py#L84

MP91 commented 3 months ago

Hey, could you try to pull the image upfront and check again? docker pull ghcr.io/eclipse-kuksa/kuksa-databroker:0.4.4