Skip to content

Instantly share code, notes, and snippets.

View cardil's full-sized avatar

Chris Suszynski cardil

View GitHub Profile
@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
@cardil
cardil / goroutines-dump.log
Created March 20, 2024 14:06
The thread dump from the magetasks e2e test
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=0x7ffe9fc2f4e0 sp=0x7ffe9fc2f4d8 pc=0x4704c1
runtime.futexsleep(0x7ffe9fc2f558?, 0x442e76?, 0x7ffe9fc2f558?)
/home/ksuszyns/.gvm/gos/go1.21.4/src/runtime/os_linux.go:69 +0x30 fp=0x7ffe9fc2f530 sp=0x7ffe9fc2f4e0 pc=0x437e30
runtime.notesleep(0x27c3ec8)
/home/ksuszyns/.gvm/gos/go1.21.4/src/runtime/lock_futex.go:160 +0x87 fp=0x7ffe9fc2f568 sp=0x7ffe9fc2f530 pc=0x4109a7
@cardil
cardil / exec.log
Created February 20, 2024 12:48
Failed remote call to worker from Jenkins groovy code
66.006 [resource-tracker #1] Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to channel
66.006 [resource-tracker #1] at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1787)
66.006 [resource-tracker #1] at hudson.remoting.Request.call(Request.java:199)
66.006 [resource-tracker #1] at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:288)
66.006 [resource-tracker #1] at com.sun.proxy.$Proxy6.fetch3(Unknown Source)
66.006 [resource-tracker #1] at hudson.remoting.RemoteClassLoader.prefetchClassReference(RemoteClassLoader.java:354)
66.006 [resource-tracker #1] at hudson.remoting.RemoteClassLoader.loadWithMultiClassLoader(RemoteClassLoader.java:259)
66.006 [resource-tracker #1] at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:229)
66.006 [resource-tracker #1] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:594)
66.006 [resource-tracker #1] at java.base/java.lang.ClassLoader.loadClass(Cla
@cardil
cardil / test-progress-race.log
Created February 8, 2024 14:34
Race condition on TestProgress (from knative/client-pkg#139)
=== RUN TestProgress
==================
WARNING: DATA RACE
Read at 0x00c00018d700 by goroutine 40:
github.com/charmbracelet/bubbles/progress.(*Model).SetPercent.(*Model).nextFrame.func1()
/home/ksuszyns/git/knative-client-pkg/vendor/github.com/charmbracelet/bubbles/progress/progress.go:285 +0x4f
github.com/charmbracelet/bubbles/progress.(*Model).SetPercent.(*Model).nextFrame.Tick.func2()
/home/ksuszyns/git/knative-client-pkg/vendor/github.com/charmbracelet/bubbletea/commands.go:142 +0x83
github.com/charmbracelet/bubbletea.(*Program).handleCommands.func1.1()
/home/ksuszyns/git/knative-client-pkg/vendor/github.com/charmbracelet/bubbletea/tea.go:294 +0x42
@cardil
cardil / podman-compose-fail-multiple-networks.log
Created October 12, 2023 17:51
A log of podman-compose failing to set netalias across multiple networks
$ podman-compose up --build --abort-on-container-exit
podman-compose version: 1.0.6
['podman', '--version', '']
using podman version: 4.7.0
** excluding: set()
podman build -f app/Containerfile -t netalias_app app
STEP 1/4: FROM quay.io/fedora/fedora
STEP 2/4: RUN dnf install -y python3-redis python3-flask
--> Using cache c2bf03a022dc7e9cda93b8279310cde6fb33a790439d895f851949716ee18fdf
--> c2bf03a022dc
@cardil
cardil / selinux-report.txt
Created October 9, 2023 10:59
SElinux prevents bwrap to umount while running in Podman rootless container
SELinux is preventing bwrap from unmount access on the filesystem .
***** Plugin catchall (100. confidence) suggests **************************
If you believe that bwrap should be allowed unmount access on the filesystem by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'bwrap' --raw | audit2allow -M my-bwrap
@cardil
cardil / podman-info.yaml
Created October 9, 2023 10:52
Podman info
host:
arch: amd64
buildahVersion: 1.32.0
cgroupControllers:
- cpu
- io
- memory
- pids
cgroupManager: systemd
cgroupVersion: v2
@cardil
cardil / knative-nightly-ci-kn-plugin-event-635.log
Created September 1, 2023 18:54
Log of Knative-Serverless fork sync for kn-plugin-event #635
00:34:05 Started by upstream project "triggers/knative-nightly-ci-trigger" build number 859
00:34:05 originally caused by:
00:34:05 Started by timer
00:34:05 Loading library jenkins-dsl@master
00:34:05 Attempting to resolve master from remote references...
00:34:05 > git --version # timeout=10
00:34:06 > git --version # 'git version 2.31.1'
00:34:06 using GIT_SSH to set credentials Jenkins SSH private key
00:34:06 [INFO] Currently running in a labeled security context
00:34:06 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17556338054709331370.key
@cardil
cardil / ubi8-k8s-shell.yml
Created July 5, 2023 17:57
Ubi8 shell for K8s
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: shell-cluster-admin
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: shell-cluster-admin
Building function image
Pulling image gcr.io/paketo-buildpacks/builder:base
29dc7596322b: Already exists
ed10c4dc1cb9: Already exists
baabd6616689: Already exists
70e0bea64ce8: Already exists
5128128e1ba9: Already exists
5e995c53af94: Already exists
c971d13c0b7c: Already exists
d9853c09e885: Already exists