Skip to content

Instantly share code, notes, and snippets.

View cardil's full-sized avatar
🎄
Christmas recharge (back on Jan 7)

Chris Suszynski cardil

🎄
Christmas recharge (back on Jan 7)
View GitHub Profile
@cardil
cardil / dmesg.log
Created December 20, 2024 17:28
Dmesg errors whie running ill-booted X9SBAA board
Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to set bank to 2, err -5
Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to set bank to 2, err -5
Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to read from register 0x040, err -5
Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to read from register 0x046, err -5
Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to write to register 0x040, err -5
Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to read from register 0x041, err -5
Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to read from register 0x042, err -5
Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to read from register 0x043, err -5
Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to read from register 0x044, err -5
Dec 17 12:01:44 baldur kernel: w83795 5-002f: Failed to read from register 0x045, err -5
@cardil
cardil / kn-event.pr375.failed.log.json
Created October 23, 2024 10:06
An example of failure log of knative-extensions/kn-plugin-event#365 (coverted to JSON array from JSONL)
[
{
"level": "debug",
"ts": "2024-10-23T12:02:58.779+0200",
"msg": "Sending the event",
"event": "{\"specversion\":\"1.0\",\"id\":\"74b1d396-cc19-47ab-a3c1-b9624f20d22e\",\"source\":\"kn-event/0.0.0\",\"type\":\"dev.knative.cli.plugin.event.generic\",\"datacontenttype\":\"application/json\",\"time\":\"2024-10-23T10:02:58.778740937Z\",\"data\":{\"a\":{\"b\":{\"c\":\"foo\"}}}}"
},
{
"level": "debug",
"ts": "2024-10-23T12:02:58.887+0200",
@cardil
cardil / kn-event.pr375.successful.log.json
Created October 23, 2024 10:01
An example of succesful log of knative-extensions/kn-plugin-event#365 (coverted to JSON array from JSONL)
[
{
"level": "debug",
"ts": "2024-10-23T11:57:38.015+0200",
"msg": "Sending the event",
"event": "{\"specversion\":\"1.0\",\"id\":\"14844012-a227-4e9e-86e9-ff7e13003e05\",\"source\":\"kn-event/0.0.0\",\"type\":\"dev.knative.cli.plugin.event.generic\",\"datacontenttype\":\"application/json\",\"time\":\"2024-10-23T09:57:38.014541542Z\",\"data\":{\"a\":{\"b\":{\"c\":\"foo\"}}}}"
},
{
"level": "debug",
"ts": "2024-10-23T11:57:38.123+0200",
{"level":"debug","ts":"2024-10-22T20:22:20.521+0200","msg":"Sending the event","event":"{\"specversion\":\"1.0\",\"id\":\"d6208ab0-a48a-48c0-834f-b3680cfde89f\",\"source\":\"kn-event/0.0.0\",\"type\":\"dev.knative.cli.plugin.event.generic\",\"datacontenttype\":\"application/json\",\"time\":\"2024-10-22T18:22:20.520820012Z\",\"data\":{\"a\":{\"b\":{\"c\":\"foo\"}}}}"}
{"level":"debug","ts":"2024-10-22T20:22:20.631+0200","msg":"Job to be executed","image":"/kn-event-sender:0.0.0","job":"{\"metadata\":{\"name\":\"kn-event-sender-w29l5z\",\"namespace\":\"demo\",\"creationTimestamp\":null,\"labels\":{\"event-id\":\"d6208ab0-a48a-48c0-834f-b3680cfde89f\"}},\"spec\":{\"backoffLimit\":3,\"template\":{\"metadata\":{\"creationTimestamp\":null},\"spec\":{\"containers\":[{\"name\":\"kn-event-sender\",\"image\":\"/kn-event-sender:0.0.0\",\"env\":[{\"name\":\"K_SINK\",\"value\":\"http://showcase.demo.svc.cluster.local\"},{\"name\":\"K_EVENT\",\"value\":\"eJwsjE1ugzAQhe_y1tgZJjRyfY6uujP2ELmhYwscpCri7hUom2_xfr4X1ipxk2XNReHRW
{"level":"debug","ts":"2024-10-22T20:17:38.841+0200","msg":"Sending the event","event":"{\"specversion\":\"1.0\",\"id\":\"bf3baa79-2ae1-43d5-abc6-5b17506ff220\",\"source\":\"kn-event/0.0.0\",\"type\":\"dev.knative.cli.plugin.event.generic\",\"datacontenttype\":\"application/json\",\"time\":\"2024-10-22T18:17:38.840696152Z\",\"data\":{\"a\":{\"b\":{\"c\":\"foo\"}}}}"}
{"level":"debug","ts":"2024-10-22T20:17:38.950+0200","msg":"Job to be executed","job":"{\"metadata\":{\"name\":\"kn-event-sender-5kghxd\",\"namespace\":\"demo\",\"creationTimestamp\":null,\"labels\":{\"event-id\":\"bf3baa79-2ae1-43d5-abc6-5b17506ff220\"}},\"spec\":{\"backoffLimit\":3,\"template\":{\"metadata\":{\"creationTimestamp\":null},\"spec\":{\"containers\":[{\"name\":\"kn-event-sender\",\"image\":\"quay.io/cardil/knative/client/plugin/event/kn-event-sender:knative-v1.15.0-6-gc3dd670a\",\"env\":[{\"name\":\"K_SINK\",\"value\":\"http://showcase.demo.svc.cluster.local\"},{\"name\":\"K_EVENT\",\"value\":\"eJwsjE2OwyAMRu_idaFAfss5ZjU7Q5zK04xBCY
@cardil
cardil / knative-hack-386-go-test.log
Created July 18, 2024 11:36
Output of running go test ./test/... on knative/hack#386
go: downloading github.com/charmbracelet/gum v0.14.1
go: downloading github.com/stretchr/testify v1.8.4
go: downloading github.com/fatih/color v1.12.0
go: downloading github.com/thanhpk/randstr v1.0.4
go: downloading github.com/abiosoft/lineprefix v0.1.4
go: downloading golang.org/x/mod v0.14.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/mattn/go-isatty v0.0.20
@cardil
cardil / kn-event-config.patch
Last active June 19, 2024 12:12
Most up-to-date diff for kn-event repo CI config for https://github.com/openshift-knative/hack/pull/154
diff --git a/ci-operator/config/openshift-knative/eventing-hyperfoil-benchmark/openshift-knative-eventing-hyperfoil-benchmark-main__414.yaml b/ci-operator/config/openshift-knative/eventing-hyperfoil-benchmark/openshift-knative-eventing-hyperfoil-benchmark-main__414.yaml
index 20d3813141e..a2884681f25 100755
--- a/ci-operator/config/openshift-knative/eventing-hyperfoil-benchmark/openshift-knative-eventing-hyperfoil-benchmark-main__414.yaml
+++ b/ci-operator/config/openshift-knative/eventing-hyperfoil-benchmark/openshift-knative-eventing-hyperfoil-benchmark-main__414.yaml
@@ -9,7 +9,7 @@ promotion:
to:
- additional_images:
eventing-hyperfoil-benchmark-src: src
- name: main
+ name: knative-main
@cardil
cardil / rhdh-operator-backstage-developer-hub-65d7fc46f5-k2d9t-1712771154374044738.log
Last active April 10, 2024 17:48
Serverless Eventmesh plugin to RH Developer Hub
Loading config from MergedConfigSource{FileConfigSource{path="/opt/app-root/src/app-config.yaml"}, FileConfigSource{path="/opt/app-root/src/app-config.example.yaml"}, FileConfigSource{path="/opt/app-root/src/app-config.example.production.yaml"}, FileConfigSource{path="/opt/app-root/src/dynamic-plugins-root/app-config.dynamic-plugins.yaml"}, FileConfigSource{path="/opt/app-root/src/knative.yaml"}, EnvConfigSource{count=1}}
skipping '/opt/app-root/src/dynamic-plugins-root/app-config.dynamic-plugins.yaml' since it is not a directory
failed to load dynamic plugin manifest from '/opt/app-root/src/dynamic-plugins-root/lost+found' [Error: ENOENT: no such file or directory, open '/opt/app-root/src/dynamic-plugins-root/lost+found/package.json'] {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/opt/app-root/src/dynamic-plugins-root/lost+found/package.json'
}
2024-04-10T17:42:15.030Z backstage info Found 1 new secrets in config that will be redacted
2024-04-10T17:42:15.033Z backstage info skipping '/opt/app
@cardil
cardil / npe-spinner-gh-actions.log
Created March 25, 2024 12:57
NPE in spinner (executed at Github Actions)
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xc390f0]
goroutine 23 [running]:
github.com/charmbracelet/bubbletea.(*Program).ReleaseTerminal(0xc0001f0c30)
/home/runner/go/pkg/mod/github.com/charmbracelet/[email protected]/tea.go:651 +0x30
knative.dev/client-pkg/pkg/output/tui.(*BubbleSpinner).start.func1()
/home/runner/go/pkg/mod/knative.dev/[email protected]/pkg/output/tui/spinner.go:87 +0x68
created by knative.dev/client-pkg/pkg/output/tui.(*BubbleSpinner).start in goroutine 40
/home/runner/go/pkg/mod/knative.dev/[email protected]/pkg/output/tui/spinner.go:82 +0x385
@cardil
cardil / goroutines-dump.log
Created March 21, 2024 17:01
The goroutines dump from the magetasks e2e test after fixing knative/client-pkg#160
SIGQUIT: quit
PC=0x4704c1 m=0 sigcode=0
goroutine 0 [idle]:
runtime.futex()
/home/ksuszyns/.gvm/gos/go1.21.4/src/runtime/sys_linux_amd64.s:557 +0x21 fp=0x7fff547c9630 sp=0x7fff547c9628 pc=0x4704c1
runtime.futexsleep(0x7fff547c96a8?, 0x442e76?, 0x7fff547c96a8?)
/home/ksuszyns/.gvm/gos/go1.21.4/src/runtime/os_linux.go:69 +0x30 fp=0x7fff547c9680 sp=0x7fff547c9630 pc=0x437e30
runtime.notesleep(0x27c3f08)
/home/ksuszyns/.gvm/gos/go1.21.4/src/runtime/lock_futex.go:160 +0x87 fp=0x7fff547c96b8 sp=0x7fff547c9680 pc=0x4109a7