MXNet: Making changes to the Jenkinsfile used in a Apache pipeline Job

2017-10-02 Thread Meghna Baijal
Hi All,
The MXNet team is in the process of making changes to the way Pull Requests
trigger builds and run Tests. As the first part of this initiative, I made
some changes to the Jenkinsfile in this PR

(to
kill existing PR builds when a new build is triggered for the same PR).

However, as discussed in this JIRA ticket
 these changes cannot be
included in Apache Jenkins due to script approval requirements and
associated security restrictions.
These restrictions limit the power of a scripted pipeline in Jenkins and I
am wondering if there is a workaround to this or a better solution to
include such features.

I would appreciate any help or suggestions!

Note: MXNet uses a multibranch pipeline job called ‘incubator-mxnet’ that
runs both the branch and PR builds via this Jenkinsfile
.

Thanks,
Meghna Baijal


Re: Deprecated JDKs being removed from Jenkins soon.

2017-10-02 Thread Ismael Juma
Another node (H26):

"Building remotely on H26 "
https://builds.apache.org/job/kafka-pr-jdk9-scala2.12/1640/console

Ismael

On Fri, Sep 29, 2017 at 2:41 AM, Ismael Juma  wrote:

> Thanks!
>
> Ismael
>
> On Fri, Sep 29, 2017 at 1:45 AM, Gavin McDonald 
> wrote:
>
>>
>> > On 29 Sep 2017, at 10:13 am, Ismael Juma  wrote:
>> >
>> > Thanks. Another example we saw recently:
>> >
>> > https://builds.apache.org/job/kafka-pr-jdk9-scala2.12/1524/console
>> >
>>
>> Thanks, fixed that node too.
>>
>> Will check for others.
>>
>> Gav…
>>
>> > Ismael
>> >
>> > On Sun, Sep 24, 2017 at 11:06 AM, Gavin McDonald <
>> ga...@16degrees.com.au>
>> > wrote:
>> >
>> >>
>> >>> On 24 Sep 2017, at 6:52 pm, Ismael Juma  wrote:
>> >>>
>> >>> Thanks for the quick response. Seems like it was H25:
>> >>
>> >> Thanks.
>> >>
>> >> So a regression in openjdk-9-jdk (b118) caused the node to not update
>> from
>> >> puppet
>> >> any more, so the install and link for latest1.9 did not happen.
>> >>
>> >> Fixed, thanks for reporting.
>> >>
>> >> Gav…
>> >>
>> >>>
>> >>> https://builds.apache.org/job/kafka-trunk-jdk9/57/
>> >>>
>> >>> Ismael
>> >>>
>> >>> On Sun, Sep 24, 2017 at 9:19 AM, Gavin McDonald <
>> ga...@16degrees.com.au>
>> >>> wrote:
>> >>>
>> 
>> > On 24 Sep 2017, at 5:47 pm, Ismael Juma  wrote:
>> >
>> > Hi Gavin,
>> >
>> > To avoid running into problems when 9-b181 is removed, I changed
>> Apache
>> > Kafka's Jenkins jobs to use JDK 1.9 (latest) (which is what we do
>> for
>>  Java
>> > 7 and Java 8) and got:
>> >
>> > ERROR: JAVA_HOME is set to an invalid directory:
>> > /home/jenkins/tools/java/latest1.9
>> >
>> >
>> > Is the roll out of the final JDK 9 still in progress?
>> 
>>  I spot checked on a few Jenkins slaves, can you tell me which one you
>>  failed on?
>> 
>>  Thanks
>> 
>>  Gav…
>> 
>> 
>>  gmcdonald@asf927:~$ /home/jenkins/tools/java/latest1.9/bin/java
>> >> -version
>>  java version "9"
>>  Java(TM) SE Runtime Environment (build 9+181)
>>  Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
>> 
>>  gmcdonald@asf914:~$ /home/jenkins/tools/java/latest1.9/bin/java
>> >> -version
>>  java version "9"
>>  Java(TM) SE Runtime Environment (build 9+181)
>>  Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
>> 
>>  gmcdonald@asf910:~$ /home/jenkins/tools/java/latest1.9/bin/java
>> >> -version
>>  java version "9"
>>  Java(TM) SE Runtime Environment (build 9+181)
>>  Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
>> 
>>  gmcdonald@asf900:~$ /home/jenkins/tools/java/latest1.9/bin/java
>> >> -version
>>  java version "9"
>>  Java(TM) SE Runtime Environment (build 9+181)
>>  Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
>> 
>> 
>> >
>> > Thanks,
>> > Ismael
>> >
>> > On Sun, Sep 24, 2017 at 8:10 AM, Gavin McDonald <
>> >> ga...@16degrees.com.au>
>> > wrote:
>> >
>> >> Hi All,
>> >>
>> >> As advertised on https://cwiki.apache.org/
>> >> confluence/display/INFRA/JDK+
>> >> Installation+Matrix , we will
>> >> be removing some older JDK releases from Jenkins.
>> >>
>> >> 1.8.0_92, 1.8.0_102, 9-b128, 9-b132, 9-b139, 9-b142 will all be
>> >> removed
>> >> within the next few days.
>> >>
>> >> Should your builds be using any of these, please migrate to a later
>> >> version of JDK 1.8 or 9.
>> >>
>> >> Thanks
>> >>
>> >> Gav… (ASF Infra Team)
>> >>
>> >>
>> 
>> 
>> >>
>> >>
>>
>>
>


Re: INFRA-15156: problems to send mails from Jenkins

2017-10-02 Thread P. Ottlinger
Hi,

ping  help -
can anyone help out since Tamaya does still not get any mails
(even after Gav's latest updates).

Thanks,
Phil

Am 22.09.2017 um 23:26 schrieb P. Ottlinger:
> Hi,
> 
> is there a general problem with mails being sent from Jenkins?
> 
> Any other projects that have these problems?
> No mails are sent out for our jobs:
> https://builds.apache.org/view/S-Z/view/Tamaya/
> 
> I've filed
> https://issues.apache.org/jira/browse/INFRA-15156
> for that.
> 
> Is the problem related to the latest updates?
> 
> Thanks,
> Phil
> 



Re: INFRA-15156: problems to send mails from Jenkins

2017-10-02 Thread Joan Touzet
CouchDB is still getting mails, so it's not a server-wide outage.

-Joan
- Original Message -
From: "P. Ottlinger" 
To: builds@apache.org
Sent: Monday, 2 October, 2017 7:00:53 PM
Subject: Re: INFRA-15156: problems to send mails from Jenkins

Hi,

ping  help -
can anyone help out since Tamaya does still not get any mails
(even after Gav's latest updates).

Thanks,
Phil

Am 22.09.2017 um 23:26 schrieb P. Ottlinger:
> Hi,
> 
> is there a general problem with mails being sent from Jenkins?
> 
> Any other projects that have these problems?
> No mails are sent out for our jobs:
> https://builds.apache.org/view/S-Z/view/Tamaya/
> 
> I've filed
> https://issues.apache.org/jira/browse/INFRA-15156
> for that.
> 
> Is the problem related to the latest updates?
> 
> Thanks,
> Phil
> 


Re: INFRA-15156: problems to send mails from Jenkins

2017-10-02 Thread Maxim Solodovnik
OpenMeetings got emails but they need to be manually "approved" all the
time :(

WBR, Maxim
(from mobile, sorry for the typos)

On Oct 3, 2017 06:02, "Joan Touzet"  wrote:

> CouchDB is still getting mails, so it's not a server-wide outage.
>
> -Joan
> - Original Message -
> From: "P. Ottlinger" 
> To: builds@apache.org
> Sent: Monday, 2 October, 2017 7:00:53 PM
> Subject: Re: INFRA-15156: problems to send mails from Jenkins
>
> Hi,
>
> ping  help -
> can anyone help out since Tamaya does still not get any mails
> (even after Gav's latest updates).
>
> Thanks,
> Phil
>
> Am 22.09.2017 um 23:26 schrieb P. Ottlinger:
> > Hi,
> >
> > is there a general problem with mails being sent from Jenkins?
> >
> > Any other projects that have these problems?
> > No mails are sent out for our jobs:
> > https://builds.apache.org/view/S-Z/view/Tamaya/
> >
> > I've filed
> > https://issues.apache.org/jira/browse/INFRA-15156
> > for that.
> >
> > Is the problem related to the latest updates?
> >
> > Thanks,
> > Phil
> >
>