failed to call save hook while attempting to use the "save hook" functionality in Bosun - bosun

failed to call save hook: fork/exec hook/hook.go: exec format error. Restoring config: successful

Related

How to fix Airflow logging?

I have S3 remote logging enabled, Airflow is installed on an EC2. My dags are running however, they don't always create a log and then fails. The error is as follows:
*** Falling back to local log
*** Log file does not exist: /home/ec2-user/airflow/logs/REMOVED/REMOVED/2022-03-07T07:00:00+00:00/2.log
*** Fetching from: http://ip-10-105-32-92.eu-west-1.compute.internal:8793/log/REMOVED/REMOVED/2022-03-07T07:00:00+00:00/2.log
*** Failed to fetch log file from worker. Client error '404 NOT FOUND' for url 'http://ip-10-105-32-92.eu-west-1.compute.internal:8793/log/REMOVED/REMOVED/2022-03-07T07:00:00+00:00/2.log'
For more information check: https://httpstatuses.com/404
After a few attempts (3-5), it eventually does end up working.
I have even disabled the remote logging in an attempt to debug, and it still doesn't work. Any suggestions?
Apache Airflow version: 2.2.4
We use a describe stacks API call to get the latest ECS Task Definition, and I've noticed we have lots of these errors:
An error occurred (Throttling) when calling the DescribeStacks operation (reached max retries: 4): Rate exceeded

Dynamic linking error when using ppx_compare

In my own Frama-C plugin, I would like to use ppx_compare for generation of compare functions. After adding the following line to my plugin's Makefile:
PLUGIN_REQUIRES = ppx_compare
the plugin is successfully compiled and installed, but running frama-c fails with the following error message:
[kernel] User Error: cannot load plug-in 'base': cannot load module
Details: The module `Base' is already loaded (either by the main program or a previously-dynlinked library)
[kernel] User Error: cannot load plug-in 'ppx_compare.runtime-lib': cannot load module
Details: interface mismatch on Base
[kernel] User Error: Deferred error message was emitted during execution. See above messages for more information.
[kernel] Frama-C aborted: invalid user input.
This seems to be a conflict of Frama-C's Base module and Jane Street's Base library. Is there any workaround for this problem?

unable to delete distribution repo in artifactory

we are using Artifactory server and I encountered a problem today.
I tried deleting a distribution repo but I was unable.
I got an error message:
Deleting repo 'BASELINES-BINTRAY' failed: Could not merge and save new descriptor [org.jfrog.common.ExecutionFailed: Last retry failed: code exception. Not trying again (Failed to reload configuration:
org.artifactory.descriptor.repo.distribution.rule.DistributionRule cannot be cast
to org.artifactory.descriptor.repo.RepoDescriptor)]
I looked at the logs of Artifactory and this is what I saw:
2018-02-13 22:25:16,525 [http-nio-8080-exec-2637] [ERROR] (o.a.u.r.s.a.c.r.DeleteRepositoryConfigService:66) - Deleting repo 'BASELINES-BINTRAY' failed: Could not merge and save new descriptor
[org.jfrog.common.ExecutionFailed: Last retry failed: code exception. Not trying again (Failed to reload configuration:
org.artifactory.descriptor.repo.distribution.rule.DistributionRule cannot be cast to org.artifactory.descriptor.repo.RepoDescriptor)]
java.lang.IllegalStateException: Could not merge and save new descriptor [org.jfrog.common.ExecutionFailed: Last retry failed: code exception. Not trying again (Failed to reload configuration:
org.artifactory.descriptor.repo.distribution.rule.DistributionRule cannot be cast to org.artifactory.descriptor.repo.RepoDescriptor)]
any ideas what it means ?

Getting an error when adding a 3rd-party jar file

Good day,
I have modified the cordapp-tutorial demo application by modifying the gradle file \cordapp-tutorial\java-source\build.gradle. More specifically, I am adding a jar file to compile a 3rd party library. I'm making the following change to the build.gradle script
but it causes the following error for the M14 milestone release:
:java-source:configureCordappFatJar FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':java-source:configureCordappFatJar'.
Cannot invoke method contains() on null object
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
I do not get this error when I am using milestone release M13
There was a bug in the 0.14.0 release of the Corda gradle plugins that caused this (a missing null check when checking with a dependency without a group).
The way to fix it would be to change the corda_gradle_plugins_version to 0.14.1.

Errors prevented isopacket load: While loading isopacket `constraint-solver`: Cannot call method 'slice' of null

When launching my meteor app with the following command:
MONGO_URL="mongodb://localhost:27017/vision-test" PORT=8282 ROOT_URL="sertal.esb.local:8383" meteor -p 8383
I get following error:
Errors prevented isopacket load:
While loading isopacket `constraint-solver`:
packages/meteor/url_server.js:11:1: Cannot call method 'slice' of null
at Meteor.absoluteUrl.options (packages/meteor/url_server.js:11:1)
at <runJavaScript-2>:1109:4
at <runJavaScript-2>:1194:3
The same error appears when I use the parameters to run the built application.
the ROOT_URL="sertal.esb.local:8383" parameter is missing the http:// part. The http:// or https:// part of the ROOT_URL is mandatory

Resources