40a5f2eca6
Insert debug message into execution tracing
...
to verify that the date command is sometimes returning an empty string with exit code 5.
2023-07-21 15:05:53 +02:00
1663008eb6
Update Nomad and CNI version for GitHub actions
2023-07-19 11:59:57 +00:00
5fe6ad29af
Bump github.com/hashicorp/nomad from 1.5.6 to 1.6.0
...
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad ) from 1.5.6 to 1.6.0.
- [Release notes](https://github.com/hashicorp/nomad/releases )
- [Changelog](https://github.com/hashicorp/nomad/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/nomad/compare/v1.5.6...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/nomad
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-19 11:59:57 +00:00
d75073e9de
Bump aws-java-sdk-apigatewaymanagementapi in /deploy/aws/java11Exec
...
Bumps [aws-java-sdk-apigatewaymanagementapi](https://github.com/aws/aws-sdk-java ) from 1.12.500 to 1.12.508.
- [Changelog](https://github.com/aws/aws-sdk-java/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-java/compare/1.12.500...1.12.508 )
---
updated-dependencies:
- dependency-name: com.amazonaws:aws-java-sdk-apigatewaymanagementapi
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-19 11:11:29 +00:00
d64d8995bd
Refactor monitoring of runner and environment id.
2023-07-15 21:46:56 +02:00
ee26cf13e5
Sentry: Make runner and environment searchable
...
by converting it into a Sentry Tag.
Also, replace the unstructured Extra attribute by using a Sentry Context.
2023-07-15 21:46:56 +02:00
e7df777db4
Always log Runner and Environment ID.
...
Systematically log the runner id and the environment id by adding the information at the findRunnerMiddleware.
2023-07-15 21:46:56 +02:00
0bfef5e105
Degrade InfluxDB Retry Write log.
2023-07-14 18:54:57 +02:00
9d13613f37
Bump maven-shade-plugin from 3.4.1 to 3.5.0 in /deploy/aws/java11Exec
...
Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin ) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases )
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.4.1...maven-shade-plugin-3.5.0 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-shade-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-02 18:53:45 +02:00
94dfb1fa62
Bump aws-java-sdk-apigatewaymanagementapi in /deploy/aws/java11Exec
...
Bumps [aws-java-sdk-apigatewaymanagementapi](https://github.com/aws/aws-sdk-java ) from 1.12.479 to 1.12.500.
- [Changelog](https://github.com/aws/aws-sdk-java/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-java/compare/1.12.479...1.12.500 )
---
updated-dependencies:
- dependency-name: com.amazonaws:aws-java-sdk-apigatewaymanagementapi
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-01 03:19:34 +00:00
21d7388c31
Remove Consul Dependency
...
It seems like consul is not required any longer
2023-06-23 22:38:24 +02:00
01dae3150e
Update Dependencies
2023-06-23 22:33:15 +02:00
322d06540f
Remove CodeClimate
2023-06-23 22:28:31 +02:00
3a5ab3aaea
Bump github.com/getsentry/sentry-go from 0.21.0 to 0.22.0
...
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go ) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/getsentry/sentry-go/releases )
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-go/compare/v0.21.0...v0.22.0 )
---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-19 09:15:25 +02:00
527aaf713f
Fix decreased prewarming pool due to inactivity timer.
...
When allocations fail and restart they are added again to the idle runners. The bug fixed with this commit is that the inactivity timer was not stopped at the restart. This led to the idle runner being removed when the timer expired.
2023-06-16 17:27:45 +01:00
f031219cb8
Fix Nomad event race condition
...
that was triggered by simultaneous deletion of the runner due to inactivity, and the allocation being rescheduled due to a lost node.
It led to the allocation first being rescheduled, and then being stopped. This caused an unexpected stopping of a pending runner on a lower level.
To fix it we added communication from the upper level that the stop of the job was expected.
2023-06-13 14:20:20 +02:00
b620d0fad7
Introduce Allocation State Tracking
...
in order to break down the current state and evaluate if it is invalid.
2023-06-13 14:20:20 +02:00
bcab46d746
Allow unlimited Nomad reschedules
...
With this measure, we want to avoid template jobs being removed on the second rescheduling.
2023-06-13 14:20:20 +02:00
1b3f505075
Bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.2...v1.9.3 )
---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-05 04:08:22 +00:00
5b64725faa
Fix golangci-lint errors
...
that appeared due to the new version v1.53.1.
2023-06-04 11:54:42 +01:00
6ad6283352
Bump aws-java-sdk-apigatewaymanagementapi in /deploy/aws/java11Exec
...
Bumps [aws-java-sdk-apigatewaymanagementapi](https://github.com/aws/aws-sdk-java ) from 1.12.459 to 1.12.479.
- [Changelog](https://github.com/aws/aws-sdk-java/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-java/compare/1.12.459...1.12.479 )
---
updated-dependencies:
- dependency-name: com.amazonaws:aws-java-sdk-apigatewaymanagementapi
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-01 04:11:20 +00:00
c5f3ba5371
Bump aws-lambda-java-events in /deploy/aws/java11Exec
...
Bumps [aws-lambda-java-events](https://github.com/aws/aws-lambda-java-libs ) from 3.11.1 to 3.11.2.
- [Commits](https://github.com/aws/aws-lambda-java-libs/commits )
---
updated-dependencies:
- dependency-name: com.amazonaws:aws-lambda-java-events
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-01 04:04:07 +00:00
08f07c9889
Bump github.com/stretchr/testify from 1.8.3 to 1.8.4
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-31 04:06:06 +00:00
f7339570ae
Fix increased prewarming pool size
...
by checking the number of required runners before creating an additional runner.
2023-05-28 23:47:07 +01:00
26ca7e4597
Bump github.com/hashicorp/nomad from 1.5.5 to 1.5.6
...
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad ) from 1.5.5 to 1.5.6.
- [Release notes](https://github.com/hashicorp/nomad/releases )
- [Changelog](https://github.com/hashicorp/nomad/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/nomad/compare/v1.5.5...v1.5.6 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/nomad
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-23 04:09:13 +00:00
aafeb1ac59
Bump github.com/stretchr/testify from 1.8.2 to 1.8.3
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-19 04:05:22 +00:00
25fa971383
Bump github.com/sirupsen/logrus from 1.9.1 to 1.9.2
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.1...v1.9.2 )
---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-18 04:04:58 +00:00
f89dd1feea
Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.1
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.0...v1.9.1 )
---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-17 13:49:54 +00:00
1061b15c3e
Fix Influx monitoring by renaming the time tag.
2023-05-12 18:36:34 +01:00
bbc15d9b71
Monitor Job events
...
and add time to Nomad event monitoring.
2023-05-12 16:35:30 +01:00
9300a82535
Fix missing idle runners.
...
In the context of #358 we identified that the event with the type `AllocationUpdated` and the client status `pending` is common but not always send by Nomad.
With this Commit we remove the condition that limits the evaluated Nomad events to the event with the type `AllocationUpdated`. Without the condition the event of the type `PlanResult` and the status `pending` will be evaluated equally. By now, this event seems to be sent every time.
This restriction led to started allocation not being registered when the `AllocationUpdated` event with client status `pending` was missing.
2023-05-12 16:25:43 +01:00
f377b1376c
Add Client Status to Nomad Allocation monitoring
...
Also add the Nomad Node name as additional debug information.
2023-05-10 19:09:31 +01:00
8f89c14ea1
Cleanup logs for Allocation recovery
...
on startup. The changes do not have functional consequences as adding the allocation just overwrites the old one.
2023-05-10 18:56:51 +01:00
5a147c4985
Add debug statements for allocation event handling
2023-05-10 18:56:51 +01:00
9fe21fdbea
Bump github.com/getsentry/sentry-go from 0.20.0 to 0.21.0
...
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go ) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/getsentry/sentry-go/releases )
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-go/compare/v0.20.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: github.com/getsentry/sentry-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-09 17:18:18 +02:00
42efebc194
Monitor the Nomad events
...
and send all Nomad events to Influxdb.
2023-05-09 00:13:58 +01:00
bc479fcf1e
Bump github.com/hashicorp/nomad from 1.5.4 to 1.5.5
...
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad ) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/hashicorp/nomad/releases )
- [Changelog](https://github.com/hashicorp/nomad/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/nomad/compare/v1.5.4...v1.5.5 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/nomad
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-08 04:12:19 +00:00
cb204c6ba2
Bump github.com/hashicorp/nomad from 1.5.3 to 1.5.4
...
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad ) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/hashicorp/nomad/releases )
- [Changelog](https://github.com/hashicorp/nomad/blob/v1.5.4/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/nomad/compare/v1.5.3...v1.5.4 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/nomad
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-04 04:08:26 +00:00
3c45bfe59c
Bump aws-java-sdk-apigatewaymanagementapi in /deploy/aws/java11Exec
...
Bumps [aws-java-sdk-apigatewaymanagementapi](https://github.com/aws/aws-sdk-java ) from 1.12.444 to 1.12.459.
- [Release notes](https://github.com/aws/aws-sdk-java/releases )
- [Changelog](https://github.com/aws/aws-sdk-java/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-java/compare/1.12.444...1.12.459 )
---
updated-dependencies:
- dependency-name: com.amazonaws:aws-java-sdk-apigatewaymanagementapi
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-01 10:12:16 +00:00
d8d9abbddd
Add Job ID to Nomad Allocation monitoring.
2023-04-23 12:54:57 +01:00
63878e7715
Add CODE_OF_CONDUCT.md and a link from README.md
2023-04-15 19:01:26 +02:00
801e4f489e
Synchronize Sentry debug message handling.
2023-04-11 20:58:57 +01:00
2aa10a130f
Introduce context for the codeOceanOutputWriter
...
that represents its lifespan.
2023-04-11 20:45:30 +01:00
0c8fa9ccfa
Add context to log statements.
2023-04-11 20:45:30 +01:00
43221c717e
Add context to Sentry Hook.
...
With this context, tracing information stored in the context can be associated with sentry events/issues.
2023-04-11 20:45:30 +01:00
93db065923
Write performance profile on SIGUSR1
2023-04-11 20:31:50 +01:00
830b361e21
Only check on a monthly basis for Java updates
2023-04-07 19:47:21 +02:00
7f7dd91677
Merge pull request #355 from openHPI/dependabot/maven/deploy/aws/java11Exec/com.amazonaws-aws-java-sdk-apigatewaymanagementapi-1.12.444
2023-04-07 04:07:57 +00:00
7f5ecc2ddd
Bump aws-java-sdk-apigatewaymanagementapi in /deploy/aws/java11Exec
...
Bumps [aws-java-sdk-apigatewaymanagementapi](https://github.com/aws/aws-sdk-java ) from 1.12.443 to 1.12.444.
- [Release notes](https://github.com/aws/aws-sdk-java/releases )
- [Changelog](https://github.com/aws/aws-sdk-java/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-java/compare/1.12.443...1.12.444 )
---
updated-dependencies:
- dependency-name: com.amazonaws:aws-java-sdk-apigatewaymanagementapi
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-07 04:00:22 +00:00
cae9d25228
Bump github.com/hashicorp/nomad from 1.5.2 to 1.5.3
...
Bumps [github.com/hashicorp/nomad](https://github.com/hashicorp/nomad ) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/hashicorp/nomad/releases )
- [Changelog](https://github.com/hashicorp/nomad/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/nomad/compare/v1.5.2...v1.5.3 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/nomad
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-06 20:01:02 +02:00