This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 180712 - cnd-main builds fails
Summary: cnd-main builds fails
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-15 02:38 UTC by Vladimir Voskresensky
Modified: 2010-02-18 03:28 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2010-02-15 02:38:18 UTC
have a look at http://bertram.netbeans.org/hudson/job/cnd-main
i.e. 
http://bertram.netbeans.org/hudson/job/cnd-main/2786/consoleText

cnd-main constantly fails during
test-unit:
    [mkdir] Created dir: /space/hudson/workspace/cnd-main/java.source/build/test/unit/results
Comment 1 Jan Lahoda 2010-02-15 02:43:58 UTC
Cause by:
http://hg.netbeans.org/main-silver?cmd=changeset;node=460d7785656e

I fixed that:
http://hg.netbeans.org/jet-main/rev/53529d2ac5aa

but propagation of the fix to main-silver is blocked by another test failing due to the same original commit (parsing.api/PathRegistryTest.testExcludeEvents).
Comment 2 Vladimir Voskresensky 2010-02-15 04:11:51 UTC
thanks for the info
Comment 3 Alexey Vladykin 2010-02-15 04:29:55 UTC
I've manually pulled the fix into cnd-main, and the build passed.
Comment 4 Jesse Glick 2010-02-15 14:15:08 UTC
Why would cnd-main be running java.source tests to begin with??
Comment 5 Vladimir Voskresensky 2010-02-15 14:41:58 UTC
why should cnd-main? Could our build system be consistent?
Comment 6 Jesse Glick 2010-02-15 14:53:19 UTC
Normally a team builder runs those unit tests which are actually applicable to the team. Since the cnd code does not even rely on the java cluster, it is strange to be running tests from it. So this block

    <hudson.tasks.Ant>
      <targets>test</targets>
      <antName>Ant-1.7.1</antName>
      <buildFile>java.source/build.xml</buildFile>
      <properties>test.config=generator</properties>
    </hudson.tasks.Ant>

from http://bertram.netbeans.org/hudson/job/cnd-main/config.xml makes little sense to me; perhaps it was just left in there by accident by someone who copied this job from jet-main?
Comment 7 Vladimir Voskresensky 2010-02-15 15:09:04 UTC
great. 
could you, please, comment this out and it will save cnd-main build time as well :-)
Thanks!
Comment 8 Jesse Glick 2010-02-15 15:18:38 UTC
alexey_vladykin is the registered maintainer for this job so I will leave it to him.
Comment 9 Alexey Vladykin 2010-02-16 02:08:21 UTC
Jesse, I'm pleased to be the registered maintainer of the cnd-main job, however I don't have enough privileges even to view the configuration :)
The link http://bertram.netbeans.org/hudson/job/cnd-main/config.xml says:
"alexey_vladykin is missing the ExtendedRead permission"

Could you please give me privileges to configure the job?
Comment 10 Jesse Glick 2010-02-16 10:19:15 UTC
(In reply to comment #9)
> I don't have enough privileges even to view the configuration

Indeed, you had a number of privileges but, oddly, not configure. I tried to fix that.
Comment 11 Alexey Vladykin 2010-02-18 03:28:56 UTC
Thank you! I've just remove java.source tests from cnd-main build.