Hey Guys,
Cedric and I have been working on installing the Hackystat-UH configuration
on a linux Ikayzo. For the most part, we got Hackystat installed and the
web application seems fine. However, there are a couple things worth noting:
thanks, aaron
1) The timezone changer detected a problem in a 2 of the testdata.
According to the Timezone changer the timestamps in a couple of the files
are incorrect. For example, in the FileMetric data on 2004-10-17, at least
one timestamp references a date in October 30th. This needs to be fixed.
I'm not sure who these testdata belongs to and where to find them at the
moment.
04/20 17:49:07 TimeZoneChangerException: Error processing
/home/hack/hackystat/data/users/testdataset/data/FileMetric/2004-10-17.xml
org.hackystat.kernel.admin.TimeZoneChangerException: The calculated offset
causes a change in day. [day(from file)=17-Oct-2004|
originalTimeStamp=1099090000041, day=30-Oct-2004, date=Sat Oct 30 07:46:40
JST 2004 | adjustedTimeStamp=1099021600041, day=29-Oct-2004, date=Fri Oct
29 12:46:40 JST 2004]
04/20 17:49:07 TimeZoneChangerException: Error processing
/home/hack/hackystat/data/users/testdataset/data/FileMetric/2004-10-16.xml
org.hackystat.kernel.admin.TimeZoneChangerException: The calculated offset
causes a change in day. [day(from file)=16-Oct-2004|
originalTimeStamp=1097830800002, day=15-Oct-2004, date=Fri Oct 15 18:00:00
JST 2004 | adjustedTimeStamp=1097762400002, day=14-Oct-2004, date=Thu Oct
14 23:00:00 JST 2004]
2) After a "ant -q junitAll", I have two non-test users in the hackystat
data directory. The users have email addresses of [EMAIL PROTECTED] and
[EMAIL PROTECTED] This is not good! Users [EMAIL PROTECTED] and [EMAIL
PROTECTED]
will be in ever single Hackystat-UH deployment worldwide.
The following are Unit Test failures from ant -q junitAll. For those that
have failures here, please try doing a build on our Linux Box.
3) Strange error in TestIntervalSelector. Using Interval Selectors in the
user interface is also OK.
<testcase classname="junit.framework.TestSuite$1" name="warning"
time="0.022">
<failure message="Exception in constructor: testIntervalSelector
(java.lang.NoClassDefFoundError: javax/servlet/ServletContext
at
com.meterware.servletunit.ServletRunner.<init>(ServletRunner.java:48)
at
org.hackystat.stdext.common.selector.interval.TestIntervalSelector.<init>(TestIntervalSelector.java:39)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
The failure occurred on line of code that constructs a new ServletRunner();
4) When running junitAll, hackyTDD and hackyZorro fails because I haven't
installed Jess.
[junit] Exception in thread "main" java.lang.NoClassDefFoundError:
jess/JessException
[junit] at java.lang.Class.forName0(Native Method)
[junit] at java.lang.Class.forName(Class.java:141)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:204)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:651)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)
[junit] Test org.hackystat.stdext.tdd.classifier.TestTDDClassifier FAILED
I'm not sure I want to (or even if I can) install jess. But, hackyZorro
comes in the Hackystat-UH configuration. Now, instead of neatly deploying
using "ant -q deployHackystatWar" i'm going to have to build the system
again. This is not big deal for me, but it might be a problem for other
hackystat administrators. It seems to me that hackyTDD and hackyZorro
should only install if Jess is installed.
5) Unit Test failures in hackyCGQM.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyCGQM.
[junit] Test cGQM.plugin.buildFailures.TestGIncreaseBuildSuccessRate
FAILED
[junit] Test cGQM.plugin.buildFailures.TestQLocalBuildTime FAILED
[junit] Test
cGQM.plugin.buildFailures.TestQNightlyBuildFailuresModuleOverview FAILED
[junit] Test
cGQM.plugin.buildFailures.TestQNightlyBuildFailuresReasonOverview FAILED
[junit] Test cGQM.plugin.overview.TestQLastWeeksModuleEffort FAILED
<testcase
classname="cGQM.plugin.buildFailures.TestGIncreaseBuildSuccessRate"
name="testBasic" time="1.387">
<error message="javax/servlet/http/HttpServletRequest"
type="java.lang.NoClassDefFoundError">java.lang.NoClassDefFoundError:
javax/servlet/http/HttpServletRequest
at
cGQM.plugin.buildFailures.GIncreaseBuildSuccessRate.execute(GIncreaseBuildSuccessRate.java:160)
at
org.hackystat.app.cgqm.datamodels.cgqm.ACgqmBaseClass.execute(ACgqmBaseClass.java:350)
at
cGQM.plugin.buildFailures.TestGIncreaseBuildSuccessRate.testBasic(TestGIncreaseBuildSuccessRate.java:60)
[EMAIL PROTECTED] hackyBuild]$ ant -q junitAll
[echo] (hackyBuild) Starting build on April 20 2005 19:26:12.
[echo] (hackyBuildUtils) Invoking junit for hackyAnt.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyAnt.
[echo] (hackyBuildUtils) Invoking junit for hackyKernel.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyKernel.
[echo] (hackyBuildUtils) Invoking junit for hackyStatistics.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyStatistics.
[echo] (hackyBuildUtils) Invoking junit for hackyReport.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyReport.
[echo] (hackyBuildUtils) Invoking junit for hackyStdExt.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyStdExt.
[junit] Test
org.hackystat.stdext.common.selector.interval.TestIntervalSelector FAILED
[echo] (hackyBuildUtils) Invoking junit for hackyPrjSize.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyPrjSize.
[echo] (hackyBuildUtils) Invoking junit for hackyEclipse.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyEclipse.
[echo] (hackyBuildUtils) Invoking junit for hackyJBuilder.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyJBuilder.
[echo] (hackyBuildUtils) Invoking junit for hackyEmacs.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyEmacs.
[echo] (hackyBuildUtils) Invoking junit for hackyVisualStudio.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyVisualStudio.
[echo] (hackyBuildUtils) Invoking junit for hackyTDD.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyTDD.
[junit] Exception in thread "main" java.lang.NoClassDefFoundError:
jess/JessException
[junit] at java.lang.Class.forName0(Native Method)
[junit] at java.lang.Class.forName(Class.java:141)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:204)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:651)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)
[junit] Test org.hackystat.stdext.tdd.classifier.TestTDDClassifier FAILED
[echo] (hackyBuildUtils) Invoking junit for hackyZorro.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyZorro.
[junit] Test org.hackystat.stdext.zorro.control.TestStreamTokenization
FAILED
[junit] Test
org.hackystat.stdext.zorro.control.TestStreamTokenizationMachine FAILED
[junit] Exception in thread "main" java.lang.NoClassDefFoundError:
jess/Rete
[junit] at java.lang.Class.getDeclaredMethods0(Native Method)
[junit] at java.lang.Class.privateGetDeclaredMethods(Class.java:1655)
[junit] at java.lang.Class.getDeclaredMethods(Class.java:1139)
[junit] at junit.framework.TestSuite.<init>(TestSuite.java:73)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:225)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:651)
[junit] at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)
[junit] Test org.hackystat.stdext.zorro.jess.TestStreamTDDClassifier
FAILED
[junit] Test
org.hackystat.stdext.zorro.model.action.file.TestBufferTransAction FAILED
[junit] Test
org.hackystat.stdext.zorro.model.action.file.TestCommitAction FAILED
[junit] Test
org.hackystat.stdext.zorro.model.action.file.TestCompilationAction FAILED
[junit] Test
org.hackystat.stdext.zorro.model.action.file.TestDebugAction FAILED
[junit] Test
org.hackystat.stdext.zorro.model.action.file.TestUnitTestAction FAILED
[junit] Test
org.hackystat.stdext.zorro.model.action.file.edit.TestDocumentEditAction FAILED
[junit] Test
org.hackystat.stdext.zorro.model.action.file.edit.TestProductionEditAction
FAILED
[junit] Test
org.hackystat.stdext.zorro.model.action.file.edit.TestUnitTestEditAction FAILED
[junit] Test
org.hackystat.stdext.zorro.model.action.file.refactoring.TestRefactorAction
FAILED
[junit] Test org.hackystat.stdext.zorro.model.episode.TestEpisode FAILED
[echo] (hackyBuildUtils) Invoking junit for hackyCli.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyCli.
[echo] (hackyBuildUtils) Invoking junit for hackyVCS.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyVCS.
[echo] (hackyBuildUtils) Invoking junit for hackyTelemetry.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyTelemetry.
[echo] (hackyBuildUtils) Invoking junit for hackyOffice.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyOffice.
[echo] (hackyBuildUtils) Invoking junit for hackyIssue.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyIssue.
[echo] (hackyBuildUtils) Invoking junit for hackyVim.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyVim.
[echo] (hackyBuildUtils) Invoking junit for hackyPerf.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyPerf.
[echo] (hackyBuildUtils) Invoking junit for hackyReview.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyReview.
[echo] (hackyBuildUtils) Invoking junit for hackyHPCS.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyHPCS.
[echo] (hackyBuildUtils) Invoking junit for hackyDependency.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyDependency.
[echo] (hackyBuildUtils) Invoking junit for hackyJupiter.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyJupiter.
[echo] (hackyBuildUtils) Invoking junit for hackyCGQM.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyCGQM.
[junit] Test cGQM.plugin.buildFailures.TestGIncreaseBuildSuccessRate
FAILED
[junit] Test cGQM.plugin.buildFailures.TestQLocalBuildTime FAILED
[junit] Test
cGQM.plugin.buildFailures.TestQNightlyBuildFailuresModuleOverview FAILED
[junit] Test
cGQM.plugin.buildFailures.TestQNightlyBuildFailuresReasonOverview FAILED
[junit] Test cGQM.plugin.overview.TestQLastWeeksModuleEffort FAILED
[echo] (hackyBuildUtils) Invoking junit for hackyBuild.
[echo] (hackyBuildUtils) Running JUnit tests on module hackyBuild.
[echo] (hackyBuild) Starting build on April 20 2005 19:26:12.
BUILD SUCCESSFUL
Total time: 18 minutes 42 seconds
[EMAIL PROTECTED] hackyBuild]$ dir