Skip to content

Instantly share code, notes, and snippets.

@jpeach
jpeach / gist:5c54a1f7298ca3f5c868ed8536686af9
Created November 20, 2016 00:14
Parent proxy CONNECT crash
Thread 9 "[ET_NET 6]" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff28a0700 (LWP 17636)]
0x0000000000516898 in Mutex_trylock (location=..., ahandler=0x0, m=0x0, t=0x7ffff33b3010)
at /home/jpeach/src/trafficserver.git/iocore/eventsystem/I_Lock.h:289
289 if (m->thread_holding != t) {
(gdb)
(gdb) where
#0 0x0000000000516898 in Mutex_trylock (location=..., ahandler=0x0, m=0x0, t=0x7ffff33b3010)
at /home/jpeach/src/trafficserver.git/iocore/eventsystem/I_Lock.h:289
#1 0x0000000000516c15 in MutexTryLock::MutexTryLock (this=0x7ffff289fae0, location=..., ahandler=0x0, am=...,
[jpeach@jpeach mesos]$ git diff
diff --git a/src/slave/containerizer/mesos/isolators/xfs/disk.cpp b/src/slave/containerizer/mesos/isolators/xfs/disk.cpp
index 8b165bcf0..783da0407 100644
--- a/src/slave/containerizer/mesos/isolators/xfs/disk.cpp
+++ b/src/slave/containerizer/mesos/isolators/xfs/disk.cpp
@@ -265,7 +265,12 @@ Future<Nothing> XfsDiskIsolatorProcess::recover(
infos.put(containerId, Owned<Info>(new Info(sandbox, projectId.get())));
freeProjectIds -= projectId.get();
- --metrics.project_ids_free;
I1109 00:27:19.461884 3678 http.cpp:1182] HTTP GET for /slave(1)/state from 127.0.0.1:44594 with User-Agent='Go-http-client/1.1'
I1109 00:27:21.478307 3694 http.cpp:1182] HTTP GET for /slave(1)/state from 127.0.0.1:44594 with User-Agent='Go-http-client/1.1'
I1109 00:27:27.967648 3696 http.cpp:1182] HTTP GET for /slave(1)/state from 127.0.0.1:44594 with User-Agent='Go-http-client/1.1'
I1109 00:27:34.462282 3686 http.cpp:1182] HTTP GET for /slave(1)/state from 127.0.0.1:44594 with User-Agent='Go-http-client/1.1'
I1109 00:27:36.477859 3681 http.cpp:1182] HTTP GET for /slave(1)/state from 127.0.0.1:44594 with User-Agent='Go-http-client/1.1'
I1109 00:27:42.966888 3685 http.cpp:1182] HTTP GET for /slave(1)/state from 127.0.0.1:44594 with User-Agent='Go-http-client/1.1'
I1109 00:27:49.461388 3698 http.cpp:1182] HTTP GET for /slave(1)/state from 127.0.0.1:44594 with User-Agent='Go-http-client/1.1'
I1109 00:27:51.476948 3697 http.cpp:1182] HTTP GET for /slave(1)/state from 127.0.0.1:44594 with User-Agent='Go-h
[root@magent0073.usspk01.pie.apple.com /home/jpeach]# puppet agent -t
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for magent0073.usspk01.pie.apple.com
Info: Applying configuration version 'server=kickstart005.usspk01.pie.apple.com git=ddab307bb1(20 minutes ago) origin=untracked branch=untracked environment=production'
Error: Execution of '/sbin/vgcreate rootvg /dev/sda2' returned 5: Physical volume '/dev/sda2' is already in volume group 'vg0'
Unable to add physical volume '/dev/sda2' to volume group 'rootvg'.
[root@a2e852b60be1 iam]# terraform init
Initializing modules...
- module.pie-cassandra-policies
- module.pie-deployment-policies
- module.pie-kubernetes-policies
- module.pie-runtime-policies
- module.pie-deployment-api-policies
- module.pie-readonly-policies
- module.pie-BedrockRole
- module.pie-eks-infrastructure-deployment-policies
[root@a2e852b60be1 iam]# terraform init
Initializing modules...
- module.pie-cassandra-policies
- module.pie-deployment-policies
- module.pie-kubernetes-policies
- module.pie-runtime-policies
- module.pie-deployment-api-policies
- module.pie-readonly-policies
- module.pie-BedrockRole
- module.pie-eks-infrastructure-deployment-policies
added runnable &{machine-controller 1 0xc0000e0ac0 0xc0003f2e10 0xc00028b500 0xc000010108 0xc0001a21e0 0xc0003cf260 <nil> {0 0} 0s <nil> false 0xc0000e0b00}
added runnable &{cluster-controller 1 0xc00053ef90 0xc0003f2e10 0xc00028b500 0xc000010108 0xc0001a21e0 0xc000382da0 <nil> {0 0} 0s <nil> false 0xc00053ae80}
added runnable &{machinedeployment-controller 1 0xc00021bf80 0xc0003f2e10 0xc00028b500 0xc000010108 0xc0001a21e0 0xc00013e940 <nil> {0 0} 0s <nil> false 0xc000096b00}
added runnable &{machineset-controller 1 0xc000315830 0xc0003f2e10 0xc00028b500 0xc000010108 0xc0001a21e0 0xc00036efe0 <nil> {0 0} 0s <nil> false 0xc0005bb800}
added runnable &{node-controller 1 0xc000282ab0 0xc0003f2e10 0xc00028b500 0xc000010108 0xc0001a21e0 0xc00013f1e0 <nil> {0 0} 0s <nil> false 0xc000097100}
ERROR: /home/jpeach/upstream/envoy/source/exe/BUILD:27:1: Linking of rule '//source/exe:envoy-static' failed (Exit 1) linux-sandbox failed: error executing command
(cd /home/jpeach/.cache/bazel/_bazel_jpeach/af5610e61ef13740f13f753f9b95f927/sandbox/linux-sandbox/2836/execroot/envoy && \
exec env - \
PATH=/usr/lib64/ccache:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/jpeach/.local/bin:/home/jpeach/bin \
PWD=/proc/self/cwd \
TMPDIR=/tmp \
/home/jpeach/.cache/bazel/_bazel_jpeach/install/4c4fa3d965b8a31206e24f29e747b474/_embedded_binaries/linux-sandbox -t 15 -w /home/jpeach/.cache/bazel/_bazel_jpeach/af5610e61ef13740f13f753f9b95f927/sandbox/linux-sandbox/2836/execroot/envoy -w /tmp -w /home/jpeach/.ccache -w /dev/shm -D -- /home/jpeach/.cache/bazel/_bazel_jpeach/af5610e61ef13740f13f753f9b95f927/external/local_config_cc/extra_tools/envoy_cc_wrapper @bazel-out/k8-fastbuild/bin/source/exe/envoy-static-2.params)
src/main/tools/linux-sandbox.cc:154: linux-sandbox-pid1 has PID 30070
src/mai
[ RUN ] CSIVersion/StorageLocalResourceProviderTest.Update/v1
I0823 00:45:25.717648 9976 test_csi_plugin.cpp:1915] Forwarding /csi.v1.Identity/Probe call
I0823 00:45:25.719851 9976 test_csi_plugin.cpp:1915] Forwarding /csi.v1.Identity/GetPluginCapabilities call
I0823 00:45:25.721822 9976 test_csi_plugin.cpp:1915] Forwarding /csi.v1.Identity/GetPluginInfo call
I0823 00:45:25.722014 9976 test_csi_plugin.cpp:1915] Forwarding /csi.v1.Identity/GetPluginInfo call
I0823 00:45:25.731775 9976 test_csi_plugin.cpp:1915] Forwarding /csi.v1.Controller/ControllerGetCapabilities call
I0823 00:45:25.733629 9976 test_csi_plugin.cpp:1915] Forwarding /csi.v1.Node/NodeGetCapabilities call
I0823 00:45:25.736701 9976 test_csi_plugin.cpp:1915] Forwarding /csi.v1.Node/NodeGetInfo call
I0823 00:45:25.801789 9976 test_csi_plugin.cpp:1915] Forwarding /csi.v1.Controller/ListVolumes call
diff --git cmd/contour/serve.go cmd/contour/serve.go
index c9e28b6..d43db72 100644
--- cmd/contour/serve.go
+++ cmd/contour/serve.go
@@ -37,6 +37,7 @@ import (
"gopkg.in/alecthomas/kingpin.v2"
"gopkg.in/yaml.v2"
coreinformers "k8s.io/client-go/informers"
+ "k8s.io/client-go/tools/cache"
"k8s.io/client-go/tools/leaderelection"