[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-26 Thread trixpan
Github user trixpan commented on the issue:

https://github.com/apache/nifi/pull/985
  
@mcgilman will do


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-26 Thread mcgilman
Github user mcgilman commented on the issue:

https://github.com/apache/nifi/pull/985
  
@trixpan The patch does not apply cleanly to 0.x. Would you mind posting 
another PR for that branch specifically.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-24 Thread trixpan
Github user trixpan commented on the issue:

https://github.com/apache/nifi/pull/985
  
@mcgilman would you mind pushing this commit to 0.x as well? 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-20 Thread mcgilman
Github user mcgilman commented on the issue:

https://github.com/apache/nifi/pull/985
  
Thanks @trixpan! This has been merged to master. Sorry it took a few days 
but wanted to make sure that others that were more familiar with our CI had a 
chance to review.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-15 Thread trixpan
Github user trixpan commented on the issue:

https://github.com/apache/nifi/pull/985
  
@ijokarumawak 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-09 Thread trixpan
Github user trixpan commented on the issue:

https://github.com/apache/nifi/pull/985
  
@apiri, @mcgilman 

I did a few new tweaks so that job sequence is:

1. rat check (before_install)
2. parallel compile with skipTests (install)
3. style check and test via mvn verify (script)

As mentioned above previously I could not find a way of running 
`checkstyle:check` before compilation, while respecting our checkstyle rules so 
to prevent errors such as:

`[WARNING] src/main/java/org/apache/nifi/reporting/ReportingTask.java[64:8] 
(javadoc) JavadocMethod: Unable to get class information for @throws tag 
'org.apache.nifi.reporting.InitializationException'.`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-05 Thread trixpan
Github user trixpan commented on the issue:

https://github.com/apache/nifi/pull/985
  
@apiri makes complete sense. afaik this can be achieved using 

`mvn apache-rat:check and checkstyle:check `

so I added the above command to the before_install stage of the travis job. 

This should "fast fail" jobs failing to comply with development guidelines 
and by consequence, reduce a bit the load on travis-ci infrastructure. Very 
good call.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-04 Thread apiri
Github user apiri commented on the issue:

https://github.com/apache/nifi/pull/985
  
Seems fair, although I would almost prefer that the two items get flipped 
in terms of testing.  Always run contrib check (without tests) during the build 
and then run the full test suite.  In the linked build, it seems the tests 
failure from the environment seemingly prevented the contrib check from 
running, which, as a reviewer, is typically the most time consuming part of the 
review process.

Thoughts?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-04 Thread mcgilman
Github user mcgilman commented on the issue:

https://github.com/apache/nifi/pull/985
  
Weird. Maybe my browser had cached something. When I looked at this last 
night the contrib-check profile wasn't there. I see it now.

Anyways, this looks promising just want to make sure I'm not missing 
something. Would like @apiri to verify as well.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-03 Thread trixpan
Github user trixpan commented on the issue:

https://github.com/apache/nifi/pull/985
  
Matt, the profile is still being run but it run after compilation. 

First (install) travis performs a multi threaded mvn build. Immediately 
aftet this completes it runs a mvn checkstyle:check with a single thread. 

This allows the best of both worlds: speedy compilation with ongoing style 
and licensing enforcement 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-03 Thread mcgilman
Github user mcgilman commented on the issue:

https://github.com/apache/nifi/pull/985
  
@trixpan I'm not sure we want to move away from the contrib-check profile 
as this also ran through the rat plugin which verified files contained license 
headers, etc.

@apiri Would like to get your input on this too. Thanks.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-03 Thread trixpan
Github user trixpan commented on the issue:

https://github.com/apache/nifi/pull/985
  
Seems like moving `mvn -T2.0C clean install` to travis install phase and 
`mvn checkstyle:check` to the script phase did the trick.

around 25% reduction in build time and a far more reliable build process 
than previously, while preserving  `-PContrib-check` single-threaded execution.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-03 Thread trixpan
Github user trixpan commented on the issue:

https://github.com/apache/nifi/pull/985
  
@mcgillman, what do you think about leaving the - T2.0C setting to speed up 
build and adding an extra post-compile step to run - Pcontrib-check single 
threaded (this is similar to spark's approach)? 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-03 Thread mcgilman
Github user mcgilman commented on the issue:

https://github.com/apache/nifi/pull/985
  
Just quickly glancing, I think that the contrib-check profile has issues 
with multi-threaded builds. We've seen issues with it in the past.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] nifi issue #985: NIFI-2728 - Attempt to fix travis-ci build woes

2016-09-03 Thread trixpan
Github user trixpan commented on the issue:

https://github.com/apache/nifi/pull/985
  
@mcgilman 

can you please review this and if in agreement merge it to master?

Current travis-ci settings seem to be unable to reliably build nifi. I 
fiddled with Xmx settings, enabled caching and added a license to the 
.travis.yml file and it seems to have alleviated the situation.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---