Joe, Running the tests individually from the command line, they all passed (TestGetHTTP, TestInvokeHTTP, TestInvokeHttpSSL), but when I run the tests at the module level, they fail. I've included an interesting exception thrown during the TestGetHTTP test when running tests at the module level. I haven't done any development on this MBP previously, and the install of maven and java are new from brew just the other day, so I don't recall having done anything out of the ordinary to spice up my build environment. :) I wonder why TestGetHTTP is bothering with SSL? Is there some multi-threaded funkiness going on that's just showing up on my slow MBP?
java.lang.AssertionError: org.apache.nifi.processor.exception.ProcessException: javax.net.ssl.SSLException: bad record MAC at org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:238) at org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:197) at org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:192) at org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:187) at org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:182) at org.apache.nifi.processors.standard.TestGetHTTP.testSecure_twoWaySsl(TestGetHTTP.java:392) Caused by: org.apache.nifi.processor.exception.ProcessException: javax.net.ssl.SSLException: bad record MAC at org.apache.nifi.processors.standard.GetHTTP.onTrigger(GetHTTP.java:478) at org.apache.nifi.util.StandardProcessorTestRunner$RunProcessor.call(StandardProcessorTestRunner.java:288) at org.apache.nifi.util.StandardProcessorTestRunner$RunProcessor.call(StandardProcessorTestRunner.java:282) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744) Caused by: javax.net.ssl.SSLException: bad record MAC at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1917) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1001) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1371) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134) at org.apache.http.impl.conn.BasicHttpClientConnectionManager.connect(BasicHttpClientConnectionManager.java:338) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107) at org.apache.nifi.processors.standard.GetHTTP.onTrigger(GetHTTP.java:433) at org.apache.nifi.util.StandardProcessorTestRunner$RunProcessor.call(StandardProcessorTestRunner.java:288) at org.apache.nifi.util.StandardProcessorTestRunner$RunProcessor.call(StandardProcessorTestRunner.java:282) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744) Caused by: javax.crypto.BadPaddingException: bad record MAC at sun.security.ssl.InputRecord.decrypt(InputRecord.java:219) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:996) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1371) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134) at org.apache.http.impl.conn.BasicHttpClientConnectionManager.connect(BasicHttpClientConnectionManager.java:338) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107) at org.apache.nifi.processors.standard.GetHTTP.onTrigger(GetHTTP.java:433) at org.apache.nifi.util.StandardProcessorTestRunner$RunProcessor.call(StandardProcessorTestRunner.java:288) at org.apache.nifi.util.StandardProcessorTestRunner$RunProcessor.call(StandardProcessorTestRunner.java:282) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744) On Sun, Apr 17, 2016 at 8:02 PM Joe Skora <[email protected]> wrote: > Jeff, > > I have an early 2011 MBP, i7 2.0GHz that struggles to get through the HTTP > tests, are yours failing with timeout errors? > > Mine frequently succeed if re-run, but not always. Are your failures > persistent? Is this new, or have they always failed on that system? > > Regards, > Joe > > On Fri, Apr 15, 2016 at 9:32 PM, Jeff <[email protected]> wrote: > > > +1 (non-binding) > > > > Overall, the build worked as expected on my Windows 7 desktop. I went > > through the release guide and things looked good. NiFi starts up from the > > convenience binary and works as expected. > > > > Output from mvn -version infoon my Win7 desktop: > > > > Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; > > 2015-11-10T11:41:47-05:00) > > Maven home: C:\Users\Jeff\nifi-dev\apache-maven-3.3.9\bin\.. > > Java version: 1.8.0_77, vendor: Oracle Corporation > > Java home: c:\Progra~1\Java\jdk1.8.0_77\jre > > Default locale: en_US, platform encoding: Cp1252 > > OS name: "windows 7", version: "6.1", arch: "amd64", family: "dos" > > > > On my MBP laptop (from 2009/2010), there were many unit test failures > with > > the dealing with the HTTP-related processors. During the weekend I'll > > investigate the unit tests to see if I can figure out why the build fails > > in this particular environment. > > > > Output from mvn -version on the MBP: > > > > Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; > > 2015-11-10T11:41:47-05:00) > > Maven home: /usr/local/Cellar/maven/3.3.9/libexec > > Java version: 1.8.0, vendor: Oracle Corporation > > Java home: > /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre > > Default locale: en_US, platform encoding: UTF-8 > > OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac" > > > > The *HTTP tests are failing > > > > > > > >> On Apr 12, 2016, at 7:47 PM, Joe Witt <[email protected]> > wrote: > > > > > >> > > > > > >> Hello Apache NiFi Community, > > > > > >> > > > > > >> I am pleased to be calling this vote for the source release of > > > Apache > > > > > >> NiFi 0.6.1. > > > > > >> > > > > > >> The source zip, including signatures, digests, etc. can be found > > at: > > > > > >> https://dist.apache.org/repos/dist/dev/nifi/nifi-0.6.1/ > > > > > >> > > > > > >> The Git tag is nifi-0.6.1-RC2 > > > > > >> The Git commit hash is 1a67b4de2e504bbe1a0cdbd6cccd949f997a5ad5 > > > > > >> * > > > > > > > > > > > > > > > > > > https://git-wip-us.apache.org/repos/asf?p=nifi.git;a=commit;h=1a67b4de2e504bbe1a0cdbd6cccd949f997a5ad5 > > > > > >> * > > > > > > > > > > > > > > > > > > https://github.com/apache/nifi/commit/1a67b4de2e504bbe1a0cdbd6cccd949f997a5ad5 > > > > > >> > > > > > >> Checksums of nifi-0.6.1-source-release.zip: > > > > > >> MD5: 5bb2b80e0384f89e6055ad4b0dd45294 > > > > > >> SHA1: b262664ed077f28623866d2a1090a4034dc3c04a > > > > > >> > > > > > >> Release artifacts are signed with the following key: > > > > > >> https://people.apache.org/keys/committer/joewitt.asc > > > > > >> > > > > > >> KEYS file available here: > > > > > >> https://dist.apache.org/repos/dist/release/nifi/KEYS > > > > > >> > > > > > >> 13 issues were closed/resolved for this release: > > > > > >> > > > > > > > > > > > > > > > > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020&version=12335496 > > > > > >> Release note highlights can be found here: > > > > > >> > > > > > > > > > > > > > > > > > > https://cwiki.apache.org/confluence/display/NIFI/Release+Notes#ReleaseNotes-Version0.6.1 > > > > > >> > > > > > >> The vote will be open for 72 hours. > > > > > >> Please download the release candidate and evaluate the necessary > > > items > > > > > >> including checking hashes, signatures, build from source, and > > test. > > > > Then > > > > > >> please vote: > > > > > >> > > > > > >> [ ] +1 Release this package as nifi-0.6.1 > > > > > >> [ ] +0 no opinion > > > > > >> [ ] -1 Do not release this package because... > > > > > >> > > > > > >> Thanks! > > > > > > > > > > > > > > > > > > > >
