[jira] [Created] (BUILDS-112) Jira Epics for Oak

2015-08-24 Thread Davide Giannella (JIRA)
Davide Giannella created BUILDS-112:
---

 Summary: Jira Epics for Oak
 Key: BUILDS-112
 URL: https://issues.apache.org/jira/browse/BUILDS-112
 Project: Infra Build Platform
  Issue Type: Wish
Reporter: Davide Giannella


Would that be possible to have epics in the apache jira for the Oak project? If 
so how?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (BUILDS-113) Install Python dependencies on Jenkins machines

2015-08-24 Thread Akila (JIRA)
Akila created BUILDS-113:


 Summary: Install Python dependencies on Jenkins machines
 Key: BUILDS-113
 URL: https://issues.apache.org/jira/browse/BUILDS-113
 Project: Infra Build Platform
  Issue Type: Task
Reporter: Akila


Hi,

I need Python and  some pip packages on Jenkins machines in order to run 
integration tests for Apache Stratos project. Following is a script that we use 
to install those on Ubuntu.

sudo apt-get install -y git python python-pip python-dev gcc zip
sudo pip install paho-mqtt
sudo pip install psutil
sudo pip install pexpect
sudo pip install pycrypto
sudo pip install gitpython
sudo pip install yapsy

Would you be able to install the above packages?

Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (BUILDS-112) Jira Epics for Oak

2015-08-24 Thread Davide Giannella (JIRA)

 [ 
https://issues.apache.org/jira/browse/BUILDS-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Davide Giannella closed BUILDS-112.
---
Resolution: Won't Fix

Closing. Wrong project. Filed a new one in 
https://issues.apache.org/jira/browse/INFRA-10185

> Jira Epics for Oak
> --
>
> Key: BUILDS-112
> URL: https://issues.apache.org/jira/browse/BUILDS-112
> Project: Infra Build Platform
>  Issue Type: Wish
>Reporter: Davide Giannella
>
> Would that be possible to have epics in the apache jira for the Oak project? 
> If so how?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: FYI - disabled timer triggers across the board on builds.apache.org

2015-08-24 Thread Jarek Jarcec Cecho
It turned out that I’ve incorrectly put the “run every 10 minutes” to “poll 
SCM” field rather then to “Run periodically” field.

Fixed.

Jarcec

> On Aug 21, 2015, at 9:29 AM, Jarek Jarcec Cecho  wrote:
> 
> No worries, I completely get why we made this change across the board. I 
> actually feel bad that I didn’t realize the consequences yesterday when I 
> read the email and had to spend good half an hour figuring it out :)
> 
> Jarcec
> 
>> On Aug 21, 2015, at 9:17 AM, Andrew Bayer  wrote:
>> 
>> Oops, sorry about that!
>> On Aug 21, 2015 12:02, "Jarek Jarcec Cecho"  wrote:
>> 
>>> I’ve noticed that this change has pretty much disabled Hadoop world
>>> spefici precommit [1] hook as this job is running every 10 minutes and
>>> fetching updates from JIRA, rather then following any repository. I’ve put
>>> back the “run every 10 minutes”. This job is usually done in less then 30
>>> seconds, so I’m assuming that it won’t be a problem :)
>>> 
>>> Jarcec
>>> 
>>> Links:
>>> 1: https://builds.apache.org/job/PreCommit-Admin
>>> 
 On Aug 20, 2015, at 10:32 AM, Andrew Bayer 
>>> wrote:
 
 I noticed a lot of jobs that were running every day regardless of whether
 anything changed and eating up a lot of executors, so I bulk-removed all
>>> of
 them, changing those jobs to poll for changes hourly instead. If your
 project has one or two jobs that you need to run daily whether there are
 code changes or not, you can re-enable the timer, but please do not do
>>> that
 for more than a couple jobs, and please do not do it for jobs that take
 longer than half an hour.
 
 A.
>>> 
>>> 
> 



Please reboot Y! slaves

2015-08-24 Thread Andrew Bayer
Hi Rajiv -

The following Jenkins slaves are down - please reboot them:

asf900
asf904
asf907
asf909
asf911
penates

A.


Re: Please reboot Y! slaves

2015-08-24 Thread Rajiv Chittajallu
Unable to get asf909 up from remote. Will ask siteops. 

Rest of the nodes are working.

 
 From: Andrew Bayer 
 To: Rajiv Chittajallu  
Cc: "builds@apache.org"  
 Sent: Monday, August 24, 2015 11:08 AM
 Subject: Please reboot Y! slaves
   
Hi Rajiv -
The following Jenkins slaves are down - please reboot them:
asf900asf904asf907asf909asf911penates
A.

   

How can we choose the right maven version for our build?

2015-08-24 Thread Jarek Jarcec Cecho
I have a job that is quite regularly failing with:

Error resolving version for 'org.codehaus.mojo:findbugs-maven-plugin': Plugin 
requires Maven version 3.0.1

Looking into the job’s configuration, I don’t see any way to specify maven 
version (similarly as we do for let say java). It seems that we were trying to 
deal with this in the past as the we’re having following “Detection” in the 
command we’re running:

export MAVEN_HOME=/home/jenkins/tools/maven/latest
export PATH=$PATH:$JAVA_HOME/bin:$MAVEN_HOME/bin

But that sees quite flaky, so I’m wondering what is the right way to get the 
right maven version for the job? :)

Jarcec

Links:
1: 
https://builds.apache.org/job/PreCommit-SQOOP-Build/1622/artifact/patch-process/test_unit.txt

[jira] [Commented] (BUILDS-113) Install Python dependencies on Jenkins machines

2015-08-24 Thread Dave Brondsema (JIRA)

[ 
https://issues.apache.org/jira/browse/BUILDS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14710410#comment-14710410
 ] 

Dave Brondsema commented on BUILDS-113:
---

You can use a python virtualenv in your build to install those yourself.  
Here's what we do for https://builds.apache.org/job/Allura/ which is a python 
app.  It bootstraps by downloading virtualenv directly.  This perhaps can be 
done more elegantly.  Or at least a more recent version of virtualenv.  But it 
works.  "requirements.txt" lists the python packages we install.

#!/bin/bash
rm -rf ".allura-venv"
if [ ! -d ".allura-venv" ]; then
if [ ! -f virtualenv-*/virtualenv.py ]; then
wget --no-check-certificate 
https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.1.tar.gz || 
exit
tar xvfz virtualenv-*.tar.gz
fi
python virtualenv-*/virtualenv.py .allura-venv
fi

. .allura-venv/bin/activate

# retry a few times
MAIN_PIP="pip install -r requirements.txt 
--download-cache=/tmp/python-pip-cache"
$MAIN_PIP || (echo "retrying pip install after short sleep"; sleep 10; 
$MAIN_PIP) || (echo "retrying pip install after short sleep"; sleep 10; 
$MAIN_PIP) || exit



> Install Python dependencies on Jenkins machines
> ---
>
> Key: BUILDS-113
> URL: https://issues.apache.org/jira/browse/BUILDS-113
> Project: Infra Build Platform
>  Issue Type: Task
>Reporter: Akila
>
> Hi,
> I need Python and  some pip packages on Jenkins machines in order to run 
> integration tests for Apache Stratos project. Following is a script that we 
> use to install those on Ubuntu.
> sudo apt-get install -y git python python-pip python-dev gcc zip
> sudo pip install paho-mqtt
> sudo pip install psutil
> sudo pip install pexpect
> sudo pip install pycrypto
> sudo pip install gitpython
> sudo pip install yapsy
> Would you be able to install the above packages?
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (BUILDS-113) Install Python dependencies on Jenkins machines

2015-08-24 Thread Dave Brondsema (JIRA)

[ 
https://issues.apache.org/jira/browse/BUILDS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14710410#comment-14710410
 ] 

Dave Brondsema edited comment on BUILDS-113 at 8/25/15 1:26 AM:


You can use a python virtualenv in your build to install those yourself.  
Here's what we do for https://builds.apache.org/job/Allura/ which is a python 
app.  It bootstraps by downloading virtualenv directly.  This perhaps can be 
done more elegantly.  Or at least a more recent version of virtualenv.  But it 
works.  "requirements.txt" lists the python packages we install.

{noformat}
#!/bin/bash
rm -rf ".allura-venv"
if [ ! -d ".allura-venv" ]; then
if [ ! -f virtualenv-*/virtualenv.py ]; then
wget --no-check-certificate 
https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.1.tar.gz || 
exit
tar xvfz virtualenv-*.tar.gz
fi
python virtualenv-*/virtualenv.py .allura-venv
fi

. .allura-venv/bin/activate

# retry a few times
MAIN_PIP="pip install -r requirements.txt 
--download-cache=/tmp/python-pip-cache"
$MAIN_PIP || (echo "retrying pip install after short sleep"; sleep 10; 
$MAIN_PIP) || (echo "retrying pip install after short sleep"; sleep 10; 
$MAIN_PIP) || exit
{noformat}



was (Author: brondsem):
You can use a python virtualenv in your build to install those yourself.  
Here's what we do for https://builds.apache.org/job/Allura/ which is a python 
app.  It bootstraps by downloading virtualenv directly.  This perhaps can be 
done more elegantly.  Or at least a more recent version of virtualenv.  But it 
works.  "requirements.txt" lists the python packages we install.

#!/bin/bash
rm -rf ".allura-venv"
if [ ! -d ".allura-venv" ]; then
if [ ! -f virtualenv-*/virtualenv.py ]; then
wget --no-check-certificate 
https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.1.tar.gz || 
exit
tar xvfz virtualenv-*.tar.gz
fi
python virtualenv-*/virtualenv.py .allura-venv
fi

. .allura-venv/bin/activate

# retry a few times
MAIN_PIP="pip install -r requirements.txt 
--download-cache=/tmp/python-pip-cache"
$MAIN_PIP || (echo "retrying pip install after short sleep"; sleep 10; 
$MAIN_PIP) || (echo "retrying pip install after short sleep"; sleep 10; 
$MAIN_PIP) || exit



> Install Python dependencies on Jenkins machines
> ---
>
> Key: BUILDS-113
> URL: https://issues.apache.org/jira/browse/BUILDS-113
> Project: Infra Build Platform
>  Issue Type: Task
>Reporter: Akila
>
> Hi,
> I need Python and  some pip packages on Jenkins machines in order to run 
> integration tests for Apache Stratos project. Following is a script that we 
> use to install those on Ubuntu.
> sudo apt-get install -y git python python-pip python-dev gcc zip
> sudo pip install paho-mqtt
> sudo pip install psutil
> sudo pip install pexpect
> sudo pip install pycrypto
> sudo pip install gitpython
> sudo pip install yapsy
> Would you be able to install the above packages?
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (BUILDS-113) Install Python dependencies on Jenkins machines

2015-08-24 Thread Dave Brondsema (JIRA)

[ 
https://issues.apache.org/jira/browse/BUILDS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14710412#comment-14710412
 ] 

Dave Brondsema commented on BUILDS-113:
---

I should clarify that's for the pip packages.  The system packages may will be 
installed already, but if they aren't, you'll still need someone to put them in 
for you.

> Install Python dependencies on Jenkins machines
> ---
>
> Key: BUILDS-113
> URL: https://issues.apache.org/jira/browse/BUILDS-113
> Project: Infra Build Platform
>  Issue Type: Task
>Reporter: Akila
>
> Hi,
> I need Python and  some pip packages on Jenkins machines in order to run 
> integration tests for Apache Stratos project. Following is a script that we 
> use to install those on Ubuntu.
> sudo apt-get install -y git python python-pip python-dev gcc zip
> sudo pip install paho-mqtt
> sudo pip install psutil
> sudo pip install pexpect
> sudo pip install pycrypto
> sudo pip install gitpython
> sudo pip install yapsy
> Would you be able to install the above packages?
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Comment Edited] (BUILDS-113) Install Python dependencies on Jenkins machines

2015-08-24 Thread Dave Brondsema (JIRA)

[ 
https://issues.apache.org/jira/browse/BUILDS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14710412#comment-14710412
 ] 

Dave Brondsema edited comment on BUILDS-113 at 8/25/15 1:28 AM:


I should clarify that's for the pip packages.  The system packages may well be 
installed already, but if they aren't, you'll still need someone to put them in 
for you.


was (Author: brondsem):
I should clarify that's for the pip packages.  The system packages may will be 
installed already, but if they aren't, you'll still need someone to put them in 
for you.

> Install Python dependencies on Jenkins machines
> ---
>
> Key: BUILDS-113
> URL: https://issues.apache.org/jira/browse/BUILDS-113
> Project: Infra Build Platform
>  Issue Type: Task
>Reporter: Akila
>
> Hi,
> I need Python and  some pip packages on Jenkins machines in order to run 
> integration tests for Apache Stratos project. Following is a script that we 
> use to install those on Ubuntu.
> sudo apt-get install -y git python python-pip python-dev gcc zip
> sudo pip install paho-mqtt
> sudo pip install psutil
> sudo pip install pexpect
> sudo pip install pycrypto
> sudo pip install gitpython
> sudo pip install yapsy
> Would you be able to install the above packages?
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Please reboot Y! slaves

2015-08-24 Thread Rajiv Chittajallu
asf909 is up. 


On Monday, August 24, 2015, 11:59, Rajiv Chittajallu  
wrote:

Unable to get asf909 up from remote. Will ask siteops. 

Rest of the nodes are working.

 
From: Andrew Bayer 
 To: Rajiv Chittajallu  
Cc: "builds@apache.org"  
 Sent: Monday, August 24, 2015 11:08 AM
 Subject: Please reboot Y! slaves
  
Hi Rajiv -
The following Jenkins slaves are down - please reboot them:
asf900asf904asf907asf909asf911penates
A.