[Buildbot-devel] Reg. Buildslaves - Getting User action during buildprocess.

Vengatachalam, Sakthivel sakthivel.v at ap.sony.com
Thu Mar 29 11:25:42 UTC 2007


Hi,

 

                I have a buildbot setup for our linux-kernel project.
The requirements are,

When it receive a change notification from GNU Arch,

1. checkout the kernel source

2. configure the kernel

3. make kernel

4. tell the user to switch-on the target system (by default it will be
switched off, only after the build (step 1-3) and before the test
execution (step 5-8) it should be switched on, It is mandatory - is
purely a manual process), after that get the input from user; whether to
continue or abort the build (its important because many of the times the
target system will be busy in other process/activities)

5. copy the kernel image to a target system

6.  send some commands to the target system.

7. copy the LTP test suites to target system

8. run the test suites in target system and return the log file to build
master.

 

NOTE:::

 THE TARGET SYSTEM AND THE BUILDSLAVE ARE DIFFERENT SYSTEMS. BUILD WILL
BE DONE IN BUILD SLAVE, and TEST EXECUTION SHOULD BE DONE IN TARGET
SYSTEM.

 

I'm able to achieve the first 3 steps, and at step 4:

My problem is the manual part which comes after the build. We can tell
the buildslave to send a mail to someone at someplace.com to check and
switch on the target system. But after switching on the target system,
buildslave should know that the target system is ready to execute test
suites. And begin to next build-step (i.e., running test suites....)

 

I don't know whether it uses a pseudo terminal for running builds at
build-slaves. If this is the case then I can use a yes/no dialog cmd to
prompt the user for action. But I don't know how to prompt a user in a
virtual console or any other consoles. But the user should decide
whether to continue or abort the entire build process.

 

If any one know the solution or have some related idea, please help me.

You are always welcome.

 

--

Thanks & Regards,

Sakthivel. V

 



-------------------------------------------------------------------
This email is confidential and intended only for the use of the individual or entity named above and may contain information that is privileged. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email or telephone and destroy the original message. - This mail is sent via Sony Asia Pacific Mail Gateway.
-------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20070329/1b3bd51c/attachment.html>


More information about the devel mailing list