History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1374
Type: Bug Bug
Status: Resolved Resolved
Resolution: Cannot Reproduce
Priority: Major Major
Assignee: Robin Shen
Reporter: Jaekeun Roh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

unable to delete file error

Created: 10/Sep/12 04:38 AM   Updated: 27/Dec/12 11:28 AM
Component/s: None
Affects Version/s: 4.0.59
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: windows7 32 bit, Intel i3 3.1GHz, 4GB RAM,


 Description  « Hide
The first execution is done well on starting server at

com.pmease.quickbuild.bootstrap -> run as Java application

but after I tried to build bootstrap for application, then

"Exception in thread "main" java.io.IOException: Unable to delete file: D:\QuickBuild\quickbuild-4.0.59\framework\configuration\org.eclipse.osgi\bundles\7\1\.cp\lib\xstream-1.3.1.jar"

error occur on Eclipse Juno, with JDK 1.7.0_07

thanks

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [10/Sep/12 10:33 PM]
This normally happens when the QB server is already running. Can you please check if this is the case?

Jaekeun Roh [11/Sep/12 04:37 AM]
SOLVED~!

Thanks Robin, I should press red square button for terminate previous bootstrap.

then, I have another question. I could run the server well but, how could I compile

real development? I did on texteditor to make Java file on the workspace(helloworld)

but I failed to compile it. and when I did on eclipse for new project with plug-in project,

I cannot compile it unless shutdown the server.

hm... it seems to be very simple step and stupid question but for the beginners, I need

the first step in detail...

thanks!

Jaekeun Roh [11/Sep/12 04:51 AM]
Error Message came like this when I click the green right sided triangle for at Dashboard.

Step Error
master Composite step 'master' failed due to unsatisfication of success condition.
master>test project3 Cannot run program "ant.bat" (in directory "D:\QuickBuild\quickbuild-
                                        4.0.59\framework\configuration\org.eclipse.osgi\bundles\7\1\.cp\lib"):
                                        CreateProcess error=2, The system cannot find the file specified

should I build like this way? or I can do on eclipse itself?

thanks

Jaekeun Roh [11/Sep/12 11:30 AM]
Hi, I've installed ant and set the path then upper error messages are gone...

but new error message came...

below is the some of the log.

16:53:45,314 [master>test project3@JAEKEUN:8810] ERROR - BUILD FAILED
16:53:45,314 [master>test project3@JAEKEUN:8810] ERROR - D:\QuickBuild\quickbuild-4.0.59\framework\configuration\org.eclipse.osgi\bundles\7\1\.cp\lib\ant-1.7.1.jar:1: Content is not allowed in prolog.

and following is the error message

Step Error
master Composite step 'master' failed due to unsatisfication of success condition.
master>test project3 Ant build failed.
                                        BUILD FAILED
                                        D:\QuickBuild\quickbuild-4.0.59\framework\configuration\org.eclipse.osgi\bundles\7\1\.cp\lib\ant-1.7.1.jar:1: Content is not allowed in prolog.

I guess I miss something before the build. should I make build.xml file manually? or any specific build configuration?

please help me out~

thanks


Robin Shen [11/Sep/12 10:35 PM]
Looks like your build.xml is incorrect. Are you able to run Ant from command prompt against your build script? For details of Ant, you may check ant.apache.org

Jaekeun Roh [13/Sep/12 11:39 AM]
Thanks a lot Robin,

now my builds are working fine.

I need to use Perforce also so I am doing Editing Repository for Perforce.

but among the entry, there is client specification

I put "input client specification"

but, for the view, I don't know what do write.

I tried my name, node name, port address, but it is no use.

I need a feature of proof build. that is why I doing this.

I downloaded very recent version so the tutorial's screen shot is different from me.

I used 4.0.59 version of QB now.

thank you in advance~!

Robin Shen [13/Sep/12 12:18 PM]
A sample client spec is like below:
//depot/componentA/... //client/...

It tells QB to retrieve all files under componentA to workspace (here the client name used in client spec is arbitrary and it will be replaced by the actual client name).

If you are not sure about your client spec, you may use the option of "using specification of an existing client".

Jaekeun Roh [13/Sep/12 01:18 PM]
Thanks again Robin... I've used "using specification of an existing client"
and it seems to be fine...

but when I click the build...

the error comes like this...

------
2012-09-13 18:37:41,804 [Thread-82] INFO com.pmease.quickbuild.DefaultBuildEngine - Processing build request (configuration:root/ProofBuild, request id:af0c6d43-9288-4479-9f39-daf41ea0b7f2)
2012-09-13 18:37:41,810 [Thread-82] INFO com.pmease.quickbuild.DefaultBuildEngine - Checking build condition on node 'JAEKEUN:8810'...
2012-09-13 18:37:41,814 [Thread-83] INFO com.pmease.quickbuild.CheckConditionJob - Taking repository snapshots...
2012-09-13 18:37:41,818 [Thread-83] INFO com.pmease.quickbuild.repositorysupport.Repository - Taking snapshot of repository 'test Perforce with QB'...
2012-09-13 18:37:41,818 [Thread-83] INFO com.pmease.quickbuild.repositorysupport.Repository - Determining head revision for repository: test Perforce with QB
2012-09-13 18:37:41,818 [Thread-83] INFO com.pmease.quickbuild.plugin.scm.perforce.PerforceRepository - Updating client spec of 'Jack Roh'...
2012-09-13 18:37:41,819 [Thread-83] INFO com.pmease.quickbuild.plugin.scm.perforce.PerforceRepository - Getting Perforce ticket...
2012-09-13 18:39:58,808 [4861715@qtp-23855560-14] WARN org.apache.wicket.request.handler.render.WebPageRenderer - The Buffered response should be handled by BufferedResponseRequestHandler
2012-09-13 18:40:53,084 [Thread-82] ERROR com.pmease.quickbuild.DefaultBuildEngine - Error processing build request.
    java.lang.RuntimeException: java.lang.InterruptedException
        at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:58)
        at com.pmease.quickbuild.util.ExceptionUtils.wrapAsUnchecked(ExceptionUtils.java:82)
        at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:76)
        at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:81)
        at com.pmease.quickbuild.DefaultBuildEngine.process(DefaultBuildEngine.java:282)
        at com.pmease.quickbuild.DefaultBuildEngine.access$0(DefaultBuildEngine.java:244)
        at com.pmease.quickbuild.DefaultBuildEngine$2.run(DefaultBuildEngine.java:848)
        at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.InterruptedException
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(Unknown Source)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(Unknown Source)
        at java.util.concurrent.CountDownLatch.await(Unknown Source)
        at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:57)
        ... 5 more
--------

as you can see it seems to get information from perforce.. and

ERROR com.pmease.quickbuild.DefaultBuildEngine - Error processing build request.
    java.lang.RuntimeException: java.lang.InterruptedException

this error comes...

but when I do "ant" in the command line with the project root, then it works fine...

hm... it is getting harder and harder... :(

Robin Shen [14/Sep/12 12:40 AM]
Can you please take a backup of your database and send to me for test?

Jaekeun Roh [14/Sep/12 10:34 AM]
hm... unfortunately, I couldn't upload anything from the company.

I'll post it in here instead.

Below is basic build file, and then I'll put source file.

-build.xml-

<?xml version="1.0"?>
<project name="Perforce_QB" default="compile" basedir=".">
    <description>
        simple example build file
    </description>
  <!-- set global properties for this build -->
  <property name="src" location="src/com/samsung/PFQB"/>
  <property name="build" location="bin/com/samsung/PFQB"/>

  <target name="init">
    <!-- Create the time stamp -->
    <tstamp/>
    <!-- Create the build directory structure used by compile -->
    <mkdir dir="${build}"/>
  </target>

  <target name="compile" depends="init"
        description="compile the source" >
    <!-- Compile the java code from ${src} into ${build} -->
    <javac srcdir="${src}" destdir="${build}" includeantruntime="false"/>
  </target>

  <target name="clean"
        description="clean up" >
    <!-- Delete the ${build} directory trees -->
    <delete dir="${build}"/>
  </target>
</project>

-sourcefile-
package com.samsung.PFQB;

public class FirstQBonPF {
public static void main(String[] args)
{
System.out.println("Test project for QuickBuild on Perforce");
print_f();
}
public static void print_f()
{
System.out.println("new print");
}

}

---------------------------

source file and build file is running well (it has nothing inside) in the cmd console

I want to know how to build through quickbuild with proof build

thanks


Jaekeun Roh [14/Sep/12 11:13 AM]
I guess there's some of the problems with building conditions

process status tolds me that is CHECKING_BUILD_CONDITION and stuck in here.

followings are the system attribute

-------

ALLUSERSPROFILE C:\ProgramData
ANT_HOME D:\apache-ant-1.8.4-bin\apache-ant-1.8.4
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
COMPUTERNAME JAEKEUN
ComSpec C:\Windows\system32\cmd.exe
CommonProgramFiles C:\Program Files\Common Files
FP_NO_HOST_CHECK NO
JAVA_HOME C:\Program Files\Java\jdk1.7.0
JRE_HOME C:\Program Files\Java\jre7
LANG en_US.UTF-8
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 4
OS Windows_NT
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE x86
PROCESSOR_IDENTIFIER x86 Family 6 Model 42 Stepping 7, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 2a07
PSModulePath C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC C:\Users\Public
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0\bin;C:\Program Files\Java\jre7\bin;D:\apache-ant-1.8.4-bin\apache-ant-1.8.4\bin;D:\Perforce;
ProgramData C:\ProgramData
ProgramFiles C:\Program Files
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Windows\TEMP
TMP C:\Windows\TEMP
USERDOMAIN SISO_DOMAIN
USERNAME JAEKEUN$
USERPROFILE C:\Windows\system32\config\systemprofile
WRAPPER_ARCH x86
WRAPPER_BIN_DIR D:\workspace\build\buildagent\bin
WRAPPER_BITS 32
WRAPPER_CONF_DIR D:\workspace\build\buildagent\conf
WRAPPER_FILE_SEPARATOR \
WRAPPER_HOSTNAME JAEKEUN
WRAPPER_HOST_NAME JAEKEUN
WRAPPER_INIT_DIR C:\Windows\system32
WRAPPER_LANG en
WRAPPER_OS windows
WRAPPER_PATH_SEPARATOR ;
WRAPPER_PID 1860
WRAPPER_WORKING_DIR D:\workspace\build\buildagent\bin
awt.toolkit sun.awt.windows.WToolkit
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.headless true
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ../plugins/com.pmease.quickbuild.bootstrap;../plugins/com.pmease.quickbuild.bootstrap/lib/slf4j-api-1.5.8.jar;../plugins/com.pmease.quickbuild.bootstrap/lib/commons-logging-1.0.4.jar;../plugins/com.pmease.quickbuild.bootstrap/lib/javax.servlet_2.5.0.v201103041518.jar;../plugins/com.pmease.quickbuild.bootstrap/lib/commons-io-2.2.jar;../plugins/com.pmease.quickbuild.bootstrap/lib/jul-to-slf4j-1.5.8.jar;../plugins/com.pmease.quickbuild.bootstrap/lib/commons-lang-2.4.jar;../plugins/com.pmease.quickbuild.bootstrap/lib/hessian-4.0.7.jar;../plugins/com.pmease.quickbuild.bootstrap/lib/commons-codec-1.3.jar;../plugins/com.pmease.quickbuild.bootstrap/lib/slf4j-log4j12-1.5.8.jar;../plugins/com.pmease.quickbuild.bootstrap/lib/wrapper.jar;../plugins/com.pmease.quickbuild.bootstrap/lib/joda-time-2.0.jar;../plugins/com.pmease.quickbuild.bootstrap/lib/log4j-1.2.15.jar
java.class.version 51.0
java.endorsed.dirs C:\Program Files\Java\jre7\lib\endorsed
java.ext.dirs C:\Program Files\Java\jre7\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home C:\Program Files\Java\jre7
java.io.tmpdir D:\workspace\build\buildagent\temp
java.library.path .;./lib;../plugins/com.pmease.quickbuild.libs;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.7.0\bin;C:\Program Files\Java\jre7\bin;D:\apache-ant-1.8.4-bin\apache-ant-1.8.4\bin;D:\Perforce;
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.7.0_07-b10
java.specification.name Java Platform API Specification
java.specification.vendor Oracle Corporation
java.specification.version 1.7
java.vendor Oracle Corporation
java.vendor.url http://java.oracle.com/
java.vendor.url.bug http://bugreport.sun.com/bugreport/
java.version 1.7.0_07
java.vm.info mixed mode, sharing
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Oracle Corporation
java.vm.specification.version 1.7
java.vm.vendor Oracle Corporation
java.vm.version 23.3-b01
line.separator
os.arch x86
os.name Windows 7
os.version 6.1
path.separator ;
qb.processor.number 4
sun.arch.data.model 32
sun.boot.class.path C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\sunrsasign.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\classes
sun.boot.library.path C:\Program Files\Java\jre7\bin
sun.cpu.endian little
sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java.command org.tanukisoftware.wrapper.WrapperStartStopApp com.pmease.quickbuild.bootstrap.Bootstrap 1 start com.pmease.quickbuild.bootstrap.Bootstrap FALSE 1 stop
sun.java.launcher SUN_STANDARD
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 1
user.country US
user.dir D:\workspace\build\buildagent\bin
user.home C:\Windows\System32\config\systemprofile
user.language en
user.name JAEKEUN$
user.script
user.timezone Asia/Calcutta
user.variant
windir C:\Windows
wrapper.cpu.timeout 3600
wrapper.java.pid 2056
wrapper.jvm.port.max 31999
wrapper.jvm.port.min 31000
wrapper.jvmid 1
wrapper.key I4RwjMplMUHl-nbA2HZL2_CibMJhSEfI
wrapper.lang.domain wrapper
wrapper.native_library wrapper
wrapper.pid 1860
wrapper.port 32000
wrapper.service TRUE
wrapper.version 3.5.12-st

and these are the general setting
------------------------------------------------------------------

Name
ProofBuild

Description
Next Build Version
Use specified version
Version
1.0.0
Concurrent
yes


Disable
no

Schedule
No schedule

Build Condition
Always build
Build Priority
5
Build Timeout
720
Build Log Level
Debug Level

this is repository setting

-----------------------------------------------------------


Name test Perforce with QB
Type Perforce
Description
Perforce Port 107.108.3.90:3710
User Name jackinx
Password ********
Client Name Auto-generated safe name based on node and root directory
Client Specification Use specification of an existing client
                    Existing Client Name jackinx
Root Directory E:\p4_code
Change Number (or Label)
Quiet Period 0
User Mapping Map to user with the same name
Force Sync no
P4 CharSet
Lock Label no
Proof Build Support
        Proof Build Condition Always
        Local Client Jaekeun
        User Name jackinx
        Password ********
        Sync Condition true
        Change Numbers to Verify
        Submit Condition build.successful
        Submit Comment

hm... please help me out.. :(

Jaekeun Roh [14/Sep/12 12:14 PM]
Hey, I got some point...

I changed the step, then I could build well...

but what is the point that using proof build?

my problematic step is this


Name Check out
Type Checkout
Description
Enabled yes
Execute Condition Always execute
Node Selection On the same node running parent step (or server if no parent)
Repository test Perforce with QB
Pre-Execute Action No action
Post-Execute Action No action
Repeat Parameters
Fetch Input Files
Send Output Files

I stuck in this step. how could I check out from perforce?

let me repeat repository info
Name test Perforce with QB
Type Perforce
Description
Perforce Port 107.108.3.90:3710
User Name jackinx
Password ********
Client Name Auto-generated safe name based on node and root directory
Client Specification Use specification of an existing client
                    Existing Client Name jackinx
Root Directory E:\p4_code
Change Number (or Label)
Quiet Period 0
User Mapping Map to user with the same name
Force Sync no
P4 CharSet
Lock Label no
Proof Build Support
        Proof Build Condition Always
        Local Client Jaekeun
        User Name jackinx
        Password ********
        Sync Condition true
        Change Numbers to Verify
        Submit Condition build.successful
        Submit Comment

hm.. it seems to closer but still I don't know well about this...

can you give me correct setting and workflow for proof build?

Robin Shen [14/Sep/12 11:26 PM]
The root directory seems incorrect for me. It should normally be a relative path (and QB will consider it to be relative to the workspace directory). Also please disable proof build to see if it works.

Jaekeun Roh [17/Sep/12 07:35 AM]
Dear Robin,

I get to know the problems...

that is on the perforce side..

my account in perforce is jackinx and my local machine name is jaekeun

so when I did p4 command, it automatically set jaekeun as client name.

so over there it causes error.

Now I could go forward little bit more...

and I stuck another issue...

should I used perforce FTP also?

What I concern is Quickbuild cannot directly visit perforce repository but FTP.

Through FTP it can make checkout and submit... that's what I have in mind...

am I right?

without p4ftpd I guess I couldn't go forward... please correct me if I am wrong..

some of the current error log is followed...

-------------

ERROR com.pmease.quickbuild.DefaultBuildEngine - Error processing build request.
    java.lang.RuntimeException: Error executing grid job
        at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:63)
        at com.pmease.quickbuild.grid.GridTaskFuture.get(GridTaskFuture.java:81)
        at com.pmease.quickbuild.DefaultBuildEngine.process(DefaultBuildEngine.java:282)
        at com.pmease.quickbuild.DefaultBuildEngine.access$0(DefaultBuildEngine.java:244)
        at com.pmease.quickbuild.DefaultBuildEngine$2.run(DefaultBuildEngine.java:848)
        at java.lang.Thread.run(Unknown Source)
    Caused by: com.pmease.quickbuild.QuickbuildException: Template perforce client 'JAEKEUN' does not exist.
--------------

it seems to it does not have my client but in the command console... I could log in use 'p4 login' command...

hm...

Jaekeun Roh [17/Sep/12 01:15 PM]
Hi Robin,

here's very complicated comments from me... sorry for that...

and now I could build with perforce without perforce FTP.

but following message came.

-------------

18:40:43,214 [master>Check out@JAEKEUN:8810] INFO - Executing post-execute action...
18:40:43,214 [master>Check out@JAEKEUN:8810] ERROR - Step 'master>Check out' is failed.
    com.pmease.quickbuild.QuickbuildException: Local change can not be collected as agent of user 'jaekeun' is not found.
        at com.pmease.quickbuild.plugin.basis.checkout.LocalChangeCollectTask.map(LocalChangeCollectTask.java:73)
        at com.pmease.quickbuild.plugin.basis.checkout.LocalChangeCollectTask.map(LocalChangeCollectTask.java:1)
        at com.pmease.quickbuild.grid.GridImpl.execute(GridImpl.java:68)
        at com.pmease.quickbuild.plugin.basis.checkout.CheckoutStep.run(CheckoutStep.java:95)
        at com.pmease.quickbuild.plugin.basis.checkout.CheckoutStep$$EnhancerByCGLIB$$a34bcb57.CGLIB$run$0(<generated>)
        at com.pmease.quickbuild.plugin.basis.checkout.CheckoutStep$$EnhancerByCGLIB$$a34bcb57$$FastClassByCGLIB$$8e0342e1.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
        at com.pmease.quickbuild.DefaultScriptEngine$Interpolator.intercept(DefaultScriptEngine.java:270)
        at com.pmease.quickbuild.plugin.basis.checkout.CheckoutStep$$EnhancerByCGLIB$$a34bcb57.run(<generated>)
        at com.pmease.quickbuild.stepsupport.Step.execute(Step.java:479)
        at com.pmease.quickbuild.stepsupport.StepExecutionJob.executeStepAwareJob(StepExecutionJob.java:29)
        at com.pmease.quickbuild.stepsupport.StepAwareJob.executeBuildAwareJob(StepAwareJob.java:47)
        at com.pmease.quickbuild.BuildAwareJob.execute(BuildAwareJob.java:61)
        at com.pmease.quickbuild.grid.GridJob.run(GridJob.java:78)
        at java.lang.Thread.run(Unknown Source)
18:40:43,232 [master>build@JAEKEUN:8810] INFO - Checking step execute condition...
18:40:43,232 [master>build@JAEKEUN:8810] INFO - Step execute condition not satisfied, step will be skipped.
18:40:43,237 [master@JAEKEUN:8810] INFO - Executing post-execute action...
18:40:43,237 [master@JAEKEUN:8810] ERROR - Step 'master' is failed.
    com.pmease.quickbuild.QuickbuildException: Composite step 'master' failed due to unsatisfication of success condition.
        at com.pmease.quickbuild.stepsupport.CompositeStep.run(CompositeStep.java:100)
        at com.pmease.quickbuild.stepsupport.Step.execute(Step.java:479)
        at com.pmease.quickbuild.stepsupport.StepExecutionJob.executeStepAwareJob(StepExecutionJob.java:29)
        at com.pmease.quickbuild.stepsupport.StepAwareJob.executeBuildAwareJob(StepAwareJob.java:47)
        at com.pmease.quickbuild.BuildAwareJob.execute(BuildAwareJob.java:61)
        at com.pmease.quickbuild.grid.GridJob.run(GridJob.java:78)
        at java.lang.Thread.run(Unknown Source)
18:40:43,241 [@JAEKEUN:8810] ERROR - Build is failed.
    com.pmease.quickbuild.QuickbuildException: Can not map local change finishing job as agent of user 'jaekeun' is not found
        at com.pmease.quickbuild.repositorysupport.ProofBuildFinishTask.map(ProofBuildFinishTask.java:49)
        at com.pmease.quickbuild.repositorysupport.ProofBuildFinishTask.map(ProofBuildFinishTask.java:1)
        at com.pmease.quickbuild.grid.GridImpl.execute(GridImpl.java:68)
        at com.pmease.quickbuild.DefaultBuildEngine.run(DefaultBuildEngine.java:462)
        at com.pmease.quickbuild.DefaultBuildEngine.process(DefaultBuildEngine.java:329)
        at com.pmease.quickbuild.DefaultBuildEngine.access$0(DefaultBuildEngine.java:244)
        at com.pmease.quickbuild.DefaultBuildEngine$2.run(DefaultBuildEngine.java:848)
        at java.lang.Thread.run(Unknown Source)

----------

and I got to know from the web, this is for the proof build...

when I unchecked proof build feature, then build was successful... but I do need a proof build... that is the whole purpose of doing this...

can you help me out?

and let me know, Do I need to use perforce FTP server for the proof build?

thanks in advance..

Regards
Jack Roh

Robin Shen [17/Sep/12 11:18 PM]
Please make sure that:
1. You have installed user agent on your desktop.
2. The user agent account is the same as your QuickBuild account.

Jaekeun Roh [18/Sep/12 05:59 AM]
Thanks for the help, I hope I want to finish this thread...

what I did on user agent sides are,

1. agent install
2. config (specify user name and password)
3. agent start

that's it... but when I did agent start, then

wrapper | The QuickBuild User Agent service was launched, but failed to start.

this error message came, and my agent tap on the browser, it said 'Your agent is not active'

when I saw grid, there are 2 nodes...

one is for quickbuild, another is for buildagent...

but not user agent... I guess this is the point~!

should I buy wrapper license?

when I did, D:\QuickBuild\quickbuild-4.0.59\useragent\bin>wrapper-windows-x86-32 agent.sh
wrapper | --> Wrapper Started as Console
wrapper | Java Service Wrapper Standard Edition 32-bit 3.5.12
wrapper | Copyright (C) 1999-2011 Tanuki Software, Ltd. All Rights Reserved.
wrapper | http://wrapper.tanukisoftware.com
wrapper |
wrapper | License Error:
wrapper | A valid license was not found in the Wrapper configuration file.
wrapper |
wrapper | The Java Service Wrapper requires a License Key to activate the
wrapper | software. License Keys can be purchased on the Java Service Wrapper
wrapper | web site:
wrapper | http://wrapper.tanukisoftware.com/purchase
wrapper |
wrapper | You can also immediately obtain a one-month Free trial license:
wrapper | http://wrapper.tanukisoftware.com/trial
wrapper |
wrapper | License Keys can be generated for any of the following HostIds.
wrapper | HostId(s):
wrapper | e81132339963 (#1)
wrapper |
wrapper |
wrapper | Optional host name for license: JAEKEUN
wrapper | <-- Wrapper Stopped

then license problems occur...

please help~

Robin Shen [18/Sep/12 10:20 AM]
QB ships with valid JSW license. Have you installed user agent correctly? It should be downloaded from "My" tab after logging to QuickBuild, and can be started by running below command from command prompt:
agent console


Robin Shen [18/Sep/12 10:21 AM]
Looks like your user agent misses the "wrapper-license.conf" file in the "conf" directory.

Jaekeun Roh [22/Sep/12 04:11 AM]
Thanks Robin..

there were problems in configuration at user agent.

so it seems to be fine with PBS also... all builds are done..

but when I put the option of pre-execute condition as clean workspace, then there is dead lock..

when I do "ant clean" it works fine...

and today~ when I tried to open in the browser, it is not opened. so I execute eclipse and do run-as java application at bootstrap...

but quickbuild is not started and many NullPointException has occured...

Yesterday, it works fine... I think I didn't change anything...

what should I do...?

Jaekeun Roh [22/Sep/12 10:27 AM]
hm... it seems to be weirder...

after shutdown the eclipse and I restart eclipse.

and I tried to run as java application at bootstrap.

and NullPointException has gone and other error msg came...

---------------
2012-09-22 15:53:30,438 ERROR - Error starting QuickBuild.
java.lang.RuntimeException: org.osgi.framework.BundleException: The activator com.pmease.quickbuild.plugin.report.boosttest.BoostTestPlugin for bundle com.pmease.quickbuild.plugin.report.boosttest is invalid
at com.pmease.quickbuild.pluginsupport.DefaultPluginManager.loadPlugins(DefaultPluginManager.java:118)
at com.pmease.quickbuild.Quickbuild.startServer(Quickbuild.java:316)
at com.pmease.quickbuild.Quickbuild.access$3(Quickbuild.java:226)
at com.pmease.quickbuild.Quickbuild$2.run(Quickbuild.java:161)
at java.lang.Thread.run(Unknown Source)
Caused by: org.osgi.framework.BundleException: The activator com.pmease.quickbuild.plugin.report.boosttest.BoostTestPlugin for bundle com.pmease.quickbuild.plugin.report.boosttest is invalid
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:171)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:679)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
at com.pmease.quickbuild.pluginsupport.DefaultPluginManager.loadPlugins(DefaultPluginManager.java:115)
... 4 more
Caused by: java.lang.Error: Unresolved compilation problems:
The import com.pmease.quickbuild.aggregationsupport cannot be resolved
The import com.pmease.quickbuild.extensionpoint cannot be resolved
The import com.pmease.quickbuild.plugin.report.engine cannot be resolved
The import com.pmease.quickbuild.plugin.report.xunit cannot be resolved
The import com.pmease.quickbuild.stepsupport cannot be resolved
AbstractTestReportPlugin cannot be resolved to a type
Step cannot be resolved to a type
The method getPublishStepClass() of type BoostTestPlugin must override a superclass method
ReportCategory cannot be resolved to a type
The method createCategory() of type BoostTestPlugin must override a superclass method
Aggregation cannot be resolved to a type
The method getAggregatorClass() of type BoostTestPlugin must override a superclass method
The method getRestResourceClasses() of type BoostTestPlugin must override a superclass method
Gadget cannot be resolved to a type
The method getGadgetClasses() of type BoostTestPlugin must override a superclass method

at com.pmease.quickbuild.plugin.report.boosttest.BoostTestPlugin.<init>(BoostTestPlugin.java:3)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:166)
... 8 more
2012-09-22 15:53:30,450 INFO - Stopping QuickBuild server...
2012-09-22 15:53:30,450 INFO - Stopping task scheduler...
2012-09-22 15:53:30,451 INFO - Closing session factory...
2012-09-22 15:53:30,463 INFO - QuickBuild server stopped.

---------

hm.. any idea?