Skip to content

Instantly share code, notes, and snippets.

View recampbell's full-sized avatar

Ryan Campbell recampbell

View GitHub Profile
{ "busyExecutors" : 0,
"computer" : [ { "actions" : [ ],
"displayName" : "localSlave",
"executors" : [ { } ],
"icon" : "computer.gif",
"idle" : true,
"jnlpAgent" : false,
"launchSupported" : true,
"loadStatistics" : { },
"manualLaunchAllowed" : false,
[INFO] skip non existing resourceDirectory /home/rcampbell/workspace/provisioning/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [scala:testCompile {execution: test-compile}]
[INFO] Checking for multiple versions of scala
[WARNING] Multiple versions of scala libraries detected!
[INFO] includes = [**/*.scala,**/*.java,]
[INFO] excludes = []
[INFO] /home/rcampbell/workspace/provisioning/src/test/scala:-1: info: compiling
[Tue, 20 Jul 2010 15:59:01 -0400] INFO: Starting Chef Run
[Tue, 20 Jul 2010 15:59:02 -0400] ERROR: Running exception handlers
[Tue, 20 Jul 2010 15:59:02 -0400] ERROR: Exception handlers complete
[Tue, 20 Jul 2010 15:59:02 -0400] ERROR: Re-raising exception: NoMethodError - undefined method `username' for Chef::Resource::Ruby
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/resource.rb:81:in `method_missing'
/var/cache/chef/cookbooks/hudson/definitions/add_hudson_user.rb:89:in `from_file'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:71:in `instance_eval'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:71:in `method_missing'
/var/cache/chef/cookbooks/hudson/definitions/add_hudson_user.rb:66:in `from_file'
/usr/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:49:in `instance_eval'
Dec 21 16:04:04 domU-12-31-39-01-69-A1 kernel: ------------[ cut here ]------------
Dec 21 16:04:04 domU-12-31-39-01-69-A1 kernel: kernel BUG at arch/x86/xen/mmu.c:1458!
Dec 21 16:04:04 domU-12-31-39-01-69-A1 kernel: invalid opcode: 0000 [#1] SMP
Dec 21 16:04:04 domU-12-31-39-01-69-A1 kernel: last sysfs file: /sys/devices/virtual/block/dm-0/removable
Dec 21 16:04:04 domU-12-31-39-01-69-A1 kernel: CPU 0
Dec 21 16:04:04 domU-12-31-39-01-69-A1 kernel: Modules linked in: sha256_generic aes_x86_64 aes_generic cbc dm_crypt xfs exportfs ipv6 xen_n
etfront xen_blkfront [last unloaded: scsi_wait_scan]
Dec 21 16:04:04 domU-12-31-39-01-69-A1 kernel:
Dec 21 16:04:04 domU-12-31-39-01-69-A1 kernel: Pid: 13942, comm: python Not tainted 2.6.34.7-56.fc13.x86_64 #1 /
Dec 21 16:04:04 domU-12-31-39-01-69-A1 kernel: RIP: e030:[<ffffffff81004aa9>] [<ffffffff81004aa9>] pin_pagetable_pfn+0x36/0x3c
[JENKINS] Archiving /scratch/hudson/workspace/Castor - JDK 1.6 - Castor/target/castor-1.3.3-SNAPSHOT-site.xml to /home/cloudbees/hudson_home/jobs/Castor - JDK 1.6 - Castor/modules/org.codehaus.castor$castor/builds/2011-07-27_15-51-04/archive/org.codehaus.castor/castor/1.3.3-SNAPSHOT/castor-1.3.3-SNAPSHOT-site.xml
post build true:true
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
post build true:true[INFO] Trace
java.lang.NullPointerException
at org.jenkins.plugins.cloudbees.MavenArtifactFilePathSaver.postBuild(MavenArtifactFilePathSaver.java:73)
diff --git a/chef-repo/cookbooks/hudson/recipes/grails.rb b/chef-repo/cookbooks/hudson/recipes/grails.rb
index f76614c..3ef0d78 100644
--- a/chef-repo/cookbooks/hudson/recipes/grails.rb
+++ b/chef-repo/cookbooks/hudson/recipes/grails.rb
@@ -1,4 +1,7 @@
-directory "/opt/grails"
+directry "/tmp/opt/grails"
+link "/opt/grails" do
+ to "/tmp/opt/grails"
+end
@recampbell
recampbell / gist:3804845
Created September 29, 2012 18:36
Austin Clojure Meetup - Clojure Clickstart on CloudBees
@recampbell
recampbell / Fibonacci.java
Created November 30, 2012 21:42
public performance test
public class Fibonacci {
public static void main(String[] args) {
for(int i = 0; i < new Integer(args[0]); i++) {
System.out.println("n="+i+" => "+fib(i));
}
}
public static int fib(int n) {
if(n == 0 || n == 1) {
@recampbell
recampbell / gist:6003082
Created July 15, 2013 20:19
idea shortcuts
Global file search : Ctrl+Shift+F.
This file has been truncated, but you can view the full file.
16:09:27.346598 execve("/usr/bin/zfs", ["zfs", "list"], [/* 18 vars */]) = 0 <0.000341>
16:09:27.347259 brk(0) = 0x2017000 <0.000019>
16:09:27.347369 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) <0.000022>
16:09:27.347480 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 <0.000022>
16:09:27.347553 fstat(3, {st_mode=S_IFREG|0644, st_size=47545, ...}) = 0 <0.000018>
16:09:27.347621 mmap(NULL, 47545, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f76332dd000 <0.000021>
16:09:27.347680 close(3) = 0 <0.000017>
16:09:27.347753 open("/usr/lib/libnvpair.so.1", O_RDONLY|O_CLOEXEC) = 3 <0.000023>
16:09:27.347816 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220P\0\0\0\0\0\0"..., 832) = 832 <0.000020>
16:09:27.347888 fstat(3, {st_mode=S_IFREG|0755, st_size=312000, ...}) = 0 <0.000019>