|
From: Eduardo V. <edu...@gm...> - 2006-10-09 19:34:04
|
hello all,
Sorry for this delay.
I'm trying to reproduce the Linux Kernel Regression Hunting and
I'm facing a problem with the patching and building phases. First, I'm
using only one machine. Here are my files:
master.conf:
###Paths PyReT needs to know about###
sfs=/nfsdrives/var_bubs/
jobs=/nfsdrives/var_bubs/jobs/
jobsDead=/nfsdrives/var_bubs/jobs/dead/
jobsError=/nfsdrives/var_bubs/jobs/error/
jobsFinished=/nfsdrives/var_bubs/jobs/finished/
hunters=/nfsdrives/var_bubs/hunters/
hunterLogs=/nfsdrives/var_bubs/logs/hunters
masterLogs=/nfsdrives/var_bubs/logs/master/
tests=/nfsdrives/var_bubs/tests/
modules=/nfsdrives/var_bubs/modules/
searches=/nfsdrives/var_bubs/searches/
repository=/nfsdrives/var_bubs/repository/
###Modules###
FileSystem=modules.system.LinuxFS
#
# 'ConfigurationFile' is now depricated in the 'master.conf' file
#
#ConfigurationFile=modules.system.LinuxCF
masterLog=modules.system.ASCIILog {
fileName = master.log
}
###Intervals###
jobInterval=2
searchInterval=4
retryLimit=3
###Hunter Interval###
deadTime=5
###Logging####
loggingLevel=5
### max hunters to assign for a search space ###
maxHunters=50000
hunter.conf
###Computer Info###
name=strongbad
###Shared File System###
base=/nfsdrives/var_bubs/
hunters=hunters/
hunterLogs=logs/hunters/
jobs=jobs/
ExecutablePath=/home/ebv/diversos/ols/pyret/PyretHunter.py
###Modules###
FileSystem=LinuxFS
TextFile=TextFile
FileAccess=FileAccess
ConfigurationFile=LinuxCF
System=DebianSystem
HunterLog=ASCIILog
LogFileName=hunter.log
###Logging####
loggingLevel=5
searchspace
Search = BinaryRS {
}
MasterPatchSource = LinuxKernelMasterPatchSource {
ChangesetStart = e3071039a1389fa767113ef4472040df507f3b02
ChangesetEnd = 51775f2daed1fd12472b48335286b7d251ac8cea
Dest = /nfsdrives/var_bubs/repository/cgrepo/linux2/
PatchDest = /nfsdrives/var_bubs/repository/patches/linux2/
}
job01
Search = BinaryRS {
}
MasterPatchSource = LinuxKernelMasterPatchSource {
ChangesetStart = e3071039a1389fa767113ef4472040df507f3b02
ChangesetEnd = 51775f2daed1fd12472b48335286b7d251ac8cea
Dest = /nfsdrives/var_bubs/repository/cgrepo/linux2/
PatchDest = /nfsdrives/var_bubs/repository/patches/linux2/
}
ebv@neumann:~/diversos/ols/pyret$ cat job01
Copy = LinuxKernelCopy {
From = /nfsdrives/var_bubs/repository/cgrepo/linux2/
To = /usr/src/linux2/
Regex=(.)*
CleanUp=False
}
HunterPatchSource = LinuxKernelHunterPatchSource {
PatchDest = /nfsdrives/var_bubs/repository/patches/linux2/
PatchID = 0a05d26784046b1fde1f4c2aef040c7864478410
HunterDest = /usr/src/linux2/
}
Build = LinuxKernelBuild {
Input = /usr/src/linux2/
Arch = i386
}
and here is my nfsdrives tree:
ebv@neumann:/nfsdrives$ tree
.
`-- var_bubs
|-- hunters
| `-- strongbad.idle
|-- jobs
| |-- dead
| |-- error
| |-- finished
|-- logs
| |-- hunters
| | `-- strongbad.log
| `-- master
| |-- master.log
| `-- searchspace.log
|-- modules
|-- repository
| |-- cgrepo
| `-- patches
| `-- linux2
| |-- 0a05d26784046b1fde1f4c2aef040c7864478410
| |-- 51775f2daed1fd12472b48335286b7d251ac8cea
| |-- 829702a4980b5c13dc14f4556c513bc62e4aaec1
| |-- 9c3d91f81f7b467c468971136a231d8160f1ebb6
| `-- f16bdc72dc139e4413e75ef5b91690e9ad8e1b05
|-- searches
| `-- searchspace.proc
`-- tests
So, when I copy the searchspace file to the "searches" directory,
it seams to work.
However, when I copy the job01 file to the "jobs" directory, it does
not do the build phase.
And if copy a job file like:
Copy = LinuxKernelCopy {
From = /nfsdrives/var_bubs/repository/cgrepo/linux2/
To = /usr/src/linux2/
Regex=(.)*
CleanUp=False
}
HunterPatchSource = LinuxKernelHunterPatchSource {
PatchDest = /nfsdrives/var_bubs/repository/patches/linux2/
PatchID = 0a05d26784046b1fde1f4c2aef040c7864478410
HunterDest = /usr/src/linux2/
}
it patched the tree even though the hunter ends with an error
(creates a job.error file)
So, what should I do to accomplish the build phase?
BR,
---
Eduardo Valentin
On 8/8/06, Parse Exception <par...@gm...> wrote:
>
> Sorry only sent this to Jeremy
> ---------- Forwarded message ----------
> From: Parse Exception <par...@gm... >
> Date: Aug 8, 2006 8:55 AM
> Subject: Re: [Pyret-devel] [HOW TO] Examples
> To: Jeremy Wilde <toa...@gm...>
>
>
>
> Does anyone have the bandwidth to whip one up pretty quick?
> maybe Eduardo could help, perhaps with a list of questions,
> maybe we could build a FAQ out of it? Thoughts?
>
> -James
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> Pyret-devel mailing list
> Pyr...@li...
> https://lists.sourceforge.net/lists/listinfo/pyret-devel
>
>
>
--
Eduardo Bezerra Valentin
|