Skip to content

Instantly share code, notes, and snippets.

View aheritier's full-sized avatar

Arnaud Héritier aheritier

View GitHub Profile
@aheritier
aheritier / gist:8704449
Created January 30, 2014 08:10
Jenkins WSOD
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode):
"Jenkins-Remoting-Thread-2417" daemon prio=10 tid=0x00007fd5cc643000 nid=0x13fb waiting on condition [0x00007fd562058000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x0000000709b02620> (a java.util.concurrent.SynchronousQueue$TransferStack)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942)
@aheritier
aheritier / jenkins-wsod-td-20140131-01.log
Last active August 29, 2015 13:55
Jenkins WSOD thread dump
2014-01-31 09:39:51
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode):
"pool-20-thread-2063" daemon prio=10 tid=0x00007f15c81b1000 nid=0x437d waiting on condition [0x00007f15218d7000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000007166514c0> (a java.util.concurrent.SynchronousQueue$TransferStack)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359)
@aheritier
aheritier / jenkins-wsod-td-20140131-02.log
Created January 31, 2014 09:00
Jenkins WSOD thread dump
2014-01-31 09:58:31
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode):
"/usr/bin/git ls-remote -h git://github.com/gatein/gatein-portal.git 3.5.x: stderr copier" prio=10 tid=0x00007f15c8222800 nid=0x5a5e runnable [0x00007f1518ec7000]
java.lang.Thread.State: RUNNABLE
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:272)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:273)
at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
- locked <0x00000006fc35d2e0> (a java.lang.UNIXProcess$ProcessPipeInputStream)
2014-02-03 09:21:33
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode):
"RequestHandlerThread[#124]" daemon prio=10 tid=0x00007f92b8031000 nid=0x1de2 waiting for monitor entry [0x00007f925e5be000]
java.lang.Thread.State: BLOCKED (on object monitor)
at winstone.ObjectPool.getRequestFromPool(ObjectPool.java:117)
- waiting to lock <0x0000000709dd5b68> (a java.lang.Object)
at winstone.HttpListener.allocateRequestResponse(HttpListener.java:190)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:69)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
2014-02-03 09:28:47
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode):
"RequestHandlerThread[#125]" daemon prio=10 tid=0x00007f92b8032800 nid=0x254a waiting for monitor entry [0x00007f925e4bd000]
java.lang.Thread.State: BLOCKED (on object monitor)
at java.net.Socket.getInputStream(Socket.java:880)
at winstone.RequestHandlerThread.run(RequestHandlerThread.java:61)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
@aheritier
aheritier / rsync.log
Created March 18, 2014 11:12
rsync issue
Before
======
sending incremental file list
Number of files: 838508
Number of files transferred: 0
Total file size: 26.08G bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
--- old2.txt 2014-03-19 16:04:35.000000000 +0100
+++ new2.txt 2014-03-19 16:04:40.000000000 +0100
@@ -1,9 +1,5 @@
- testing: tomcat-bundle/ OK
- testing: tomcat-bundle/LICENSE OK
- testing: tomcat-bundle/NOTICE OK
- testing: tomcat-bundle/RELEASE-NOTES OK
- testing: tomcat-bundle/RUNNING.txt OK
- testing: tomcat-bundle/bin/ OK
+ testing: tomcat-bundle/ OK
@aheritier
aheritier / All Nodes Workspace Cleaner
Created September 8, 2014 09:06
Jenkins script to remove all jobs workspaces on master and all remote nodes
/*** BEGIN META {
"name" : "Master Node Workspace Cleaner",
"comment" : "This script will go through all workspaces for any/all jobs on master node and remove them.",
"parameters" : [],
"core": "1.300",
"authors" : [
{ name : "Arnaud Héritier" }
]
} END META**/
@aheritier
aheritier / gist:3945f85b397d5194efc1
Created March 23, 2015 09:16
TestJobWithException.java
package jobs;
import play.Logger;
import play.jobs.Every;
import play.jobs.Job;
@Every("1min")
public class TestJobWithException extends Job {
static int count = 0;

Keybase proof

I hereby claim:

  • I am aheritier on github.
  • I am aheritier (https://keybase.io/aheritier) on keybase.
  • I have a public key whose fingerprint is 03E1 A984 4236 1AFA D93F 4BDF 3B5B 9D09 699A 35EB

To claim this, I am signing this object: