| Author |
Message |
![[Post New]](/site/templates/default/images/icon_minipost_new.gif) 01/09/2010 20:30:27
|
Saritha
Joined: 20/07/2010 20:39:30
Messages: 34
Offline
|
Hi,
We are seeing the below error in the bamboo log and the the test results are not being shown in the bamboo build. We had this working but we changed the bamboo configuration by adding a requirement such that the tests are executed on a remote agent of bamboo. mwsaqatest1 is our remote agent. The Green Pepper results are being written in the build directory as expected. Can you please tell us what is wrong?
INFO | jvm 1 | 2010/09/01 17:02:57 | 2010-09-01 17:02:57,894 WARN [BAM::mwsaqatest1.analytics.moodys.net::Agent:pool-2-thread-1] [ExecuteBuildTask] Failed to execute plugin with classclass com.greenpepper.bamboo.build.GreenPepperBuildProcessor : BUILD-GREENPEPPER-54
INFO | jvm 1 | 2010/09/01 17:02:57 | java.lang.NullPointerException
INFO | jvm 1 | 2010/09/01 17:02:57 | at com.greenpepper.bamboo.build.GreenPepperBuildProcessor.getBuild(GreenPepperBuildProcessor.java:8
INFO | jvm 1 | 2010/09/01 17:02:57 | at com.greenpepper.bamboo.build.GreenPepperBuildProcessor.processReports(GreenPepperBuildProcessor.java:79)
INFO | jvm 1 | 2010/09/01 17:02:57 | at com.greenpepper.bamboo.build.GreenPepperBuildProcessor.call(GreenPepperBuildProcessor.java:69)
INFO | jvm 1 | 2010/09/01 17:02:57 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:110)
INFO | jvm 1 | 2010/09/01 17:02:57 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:70)
INFO | jvm 1 | 2010/09/01 17:02:57 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:18
INFO | jvm 1 | 2010/09/01 17:02:57 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90)
INFO | jvm 1 | 2010/09/01 17:02:57 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:101)
INFO | jvm 1 | 2010/09/01 17:02:57 | at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:33)
INFO | jvm 1 | 2010/09/01 17:02:57 | at java.lang.Thread.run(Unknown Source)
|
|
|
 |
![[Post New]](/site/templates/default/images/icon_minipost_new.gif) 01/09/2010 21:20:50
|
fdenommee
Joined: 25/01/2008 10:23:16
Messages: 587
Offline
|
Hi,
What is the version of Bamboo ?
Cheers,
Francois D.
|
|
|
 |
![[Post New]](/site/templates/default/images/icon_minipost_new.gif) 02/09/2010 12:26:11
|
Saritha
Joined: 20/07/2010 20:39:30
Messages: 34
Offline
|
It is bamboo version 2.5.3
On a side note - Since it looks like we don't work the same time zones it would really help if you gave ideas or pointers on things we can check during our day. I understand this may not be possible all the time but just something to keep in mind.
Thanks!
|
|
|
 |
![[Post New]](/site/templates/default/images/icon_minipost_new.gif) 02/09/2010 14:55:45
|
fdenommee
Joined: 25/01/2008 10:23:16
Messages: 587
Offline
|
Hi,
This is a bug : http://www.greenpeppersoftware.com/jira/browse/GP-1009
We fix it in the 2.8m2-SNAPSHOT version. It is safe to upgrade to this development version. I attach the plugin to this post (don't forget to remove the old one from your WEB-INF/lib of Bamboo)
Cheers,
Francois D.
|
|
|
 |
![[Post New]](/site/templates/default/images/icon_minipost_new.gif) 02/09/2010 15:26:50
|
jd.randolph
Joined: 02/09/2010 15:23:21
Messages: 5
Offline
|
After installing the updated plugin we are now seeing the following error on the Bamboo console log.
Failed to execute plugin 'GreenPepper Results Collector' with error: com/greenpepper/util/IOUtil
This is the stack trace for this error from the bamboo server log.
INFO | jvm 2 | 2010/09/02 12:19:06 | 2010-09-02 12:19:06,478 WARN [BAM::mwsaqatest1.analytics.moodys.net::Agent:pool-2-thread-1] [ExecuteBuildTask] Failed to execute plugin with classclass com.greenpepper.bamboo.build.GreenPepperBuildProcessor : BUILD-GREENPEPPER-61
INFO | jvm 2 | 2010/09/02 12:19:06 | java.lang.NoClassDefFoundError: com/greenpepper/util/IOUtil
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.greenpepper.bamboo.build.GreenPepperReportFileVisitor.visitFile(GreenPepperReportFileVisitor.java:57)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.utils.FileVisitor.visitAlLFilesThatMatchAPattern(FileVisitor.java:86)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:5
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.greenpepper.bamboo.build.GreenPepperBuildProcessor.processReports(GreenPepperBuildProcessor.java:84)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.greenpepper.bamboo.build.GreenPepperBuildProcessor.call(GreenPepperBuildProcessor.java:71)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.performCustomBuildProcess(ExecuteBuildTask.java:110)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:70)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:18
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:101)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:33)
INFO | jvm 2 | 2010/09/02 12:19:06 | at java.lang.Thread.run(Unknown Source)
INFO | jvm 2 | 2010/09/02 12:19:06 | Caused by: java.lang.ClassNotFoundException: com.greenpepper.util.IOUtil
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.findClass(AgentClassLoader.java:146)
INFO | jvm 2 | 2010/09/02 12:19:06 | at java.lang.ClassLoader.loadClass(Unknown Source)
INFO | jvm 2 | 2010/09/02 12:19:06 | at com.atlassian.bamboo.agent.bootstrap.AgentClassLoader.loadClass(AgentClassLoader.java:304)
INFO | jvm 2 | 2010/09/02 12:19:06 | at java.lang.ClassLoader.loadClass(Unknown Source)
INFO | jvm 2 | 2010/09/02 12:19:06 | ... 12 more
Your assistance is greatly appreciated.
Randolph
|
|
|
 |
![[Post New]](/site/templates/default/images/icon_minipost_new.gif) 02/09/2010 15:36:35
|
fdenommee
Joined: 25/01/2008 10:23:16
Messages: 587
Offline
|
Hi,
Sorry, my mistake, i did not attach the correct jar... You can download the good one here : http://www.greenpeppersoftware.com/greenpepper-support-downloads/greenpepper-bamboo-plugin-2.8m2-SNAPSHOT-complete.jar (had problem attaching this file to this post)
Cheers,
Francois D.
|
|
|
 |
![[Post New]](/site/templates/default/images/icon_minipost_new.gif) 02/09/2010 15:49:00
|
jd.randolph
Joined: 02/09/2010 15:23:21
Messages: 5
Offline
|
Thanks Francois! It looks like everything is now working as intended.
|
|
|
 |
|
|