Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321055 - please install cvs and unzip binaries on hudson windows slave
Summary: please install cvs and unzip binaries on hudson windows slave
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: CI-Jenkins (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: CI Admin Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-27 13:50 EDT by Kim Moir CLA
Modified: 2010-07-29 13:34 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kim Moir CLA 2010-07-27 13:50:03 EDT
We need to be able to unzip the SDKs and test framework and run CVS commands for our tests.

Also, please add the path of these binaries to the windows path so they will be accessible by Hudson.
Comment 1 David Carver CLA 2010-07-27 13:53:56 EDT
(In reply to comment #0)
> We need to be able to unzip the SDKs and test framework and run CVS commands
> for our tests.
> 
> Also, please add the path of these binaries to the windows path so they will be
> accessible by Hudson.

Can't you script this with Ant and use the Ant unzip/zip functionality.
Comment 2 Eclipse Webmaster CLA 2010-07-27 14:07:58 EDT
Are there specific packages your looking for (tortise,7zip)?

-M.
Comment 3 Kim Moir CLA 2010-07-27 14:14:22 EDT
regarding comment #1

No.

We don't use ant zip because it doesn't preserve permissions.  This doesn't matter on Windows, but we use the same scripts on Linux and Windows to a large extent.  

Our windows tests are started with a windows batch file that invokes the eclipse ant.core.antRunner.

regarding comment #2

Today we use unzip which is a command line utility provided by Infozip

http://www.info-zip.org/
Comment 4 Denis Roy CLA 2010-07-27 14:19:19 EDT
C:\> ls
Command not found.

C:\> vi
Command not found.

C:\> cat /etc/HOSTNAME
Command not found.

C:\> yum install zip
Command not found.

C:\> tar zxvf cvs.tar.gz && make config && make && make install
Command not found.

C:\> man windows
No man should use Windows.  Oh, and Command not found.

*sigh*    =)
Comment 5 Eclipse Webmaster CLA 2010-07-27 15:31:11 EDT
I've installed the tools and restarted to force update the path.

-M.
Comment 6 Kim Moir CLA 2010-07-29 11:39:16 EDT
I just tried a test build and it looks like cvs pserver connections are blocked from this machine..not sure if some firewall rules need to be adjusted

Started by user kmoir
ln -s 2010-07-29_11-37-06 /opt/users/hudsonbuild/.hudson/jobs/eclipse-JUnit/builds/6 failed: -1
Building remotely on windows7build
[workspace] $ cvs -Q -z3 -d :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse co -P -d eclipse-JUnit -D "Thursday, July 29, 2010 3:37:06 PM UTC" org.eclipse.releng.eclipsebuilder
cvs [checkout aborted]: connect to dev.eclipse.org(172.25.25.51):2401 failed: Connection timed out
FATAL: CVS failed. exit code=1
Sending e-mails to: kmoir@ca.ibm.com
Finished: FAILURE
Comment 7 Eclipse Webmaster CLA 2010-07-29 13:34:32 EDT
Actually it's an issue with the name resolution.  Fixed.

-M.