joewitt commented on pull request #4779:
URL: https://github.com/apache/nifi/pull/4779#issuecomment-767889419


   Reviewing this in more detail and trying on my fork.  I did get the build to 
pass in one case but it was unreliable in a couple others.  I'm trying with 
diff ubuntu versions, with urandom being set as a system property.  I see 
failures like
   
   Warning:  Tests run: 8, Failures: 0, Errors: 0, Skipped: 5, Time elapsed: 
0.16 s - in org.apache.nifi.processors.standard.TestGetHTTPGroovy
   2786
   Error:  Failures:
   2787
   Error:    TestGetHTTP.testSecure_oneWaySsl:391 
org.apache.nifi.processor.exception.ProcessException: 
javax.net.ssl.SSLException: arraycopy: last source index 32 out of bounds for 
byte[31]
   2788
   Error:  Tests run: 1661, Failures: 1, Errors: 0, Skipped: 23
   2789
   Error:  Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on 
project nifi-standard-processors: There are test failures.
   2790
   Error:
   2791
   Error:  Please refer to 
/home/runner/work/nifi/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/target/surefire-reports
 for the individual test results.
   2792
   Error:  Please refer to dump files (if any exist) [date].dump, 
[date]-jvmRun[N].dump and [date].dumpstream.
   2793
   Error:  -> [Help 1]
   
   Error:  Tests run: 5, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
0.995 s <<< FAILURE! - in org.apache.nifi.processors.standard.TestListenRELP
   2776
   Error:  testTLS(org.apache.nifi.processors.standard.TestListenRELP)  Time 
elapsed: 0.124 s  <<< ERROR!
   2777
   javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
   2778
        at 
org.apache.nifi.processors.standard.TestListenRELP.sendFrames(TestListenRELP.java:277)
   2779
        at 
org.apache.nifi.processors.standard.TestListenRELP.run(TestListenRELP.java:236)
   2780
        at 
org.apache.nifi.processors.standard.TestListenRELP.testTLS(TestListenRELP.java:178)
   2781
   Caused by: java.io.EOFException: SSL peer shut down incorrectly
   2782
        at 
org.apache.nifi.processors.standard.TestListenRELP.sendFrames(TestListenRELP.java:277)
   2783
        at 
org.apache.nifi.processors.standard.TestListenRELP.run(TestListenRELP.java:236)
   2784
        at 
org.apache.nifi.processors.standard.TestListenRELP.testTLS(TestListenRELP.java:178)
   2785
   
   Error:  Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.93 
s <<< FAILURE! - in 
org.apache.nifi.security.util.crypto.PasswordBasedEncryptorGroovyTest
   2790
   Error:  
testBcryptDecryptShouldSupportLegacyKeyDerivationProcess(org.apache.nifi.security.util.crypto.PasswordBasedEncryptorGroovyTest)
  Time elapsed: 1.038 s  <<< FAILURE!
   2791
   org.codehaus.groovy.runtime.powerassert.PowerAssertionError:
   2792
   assert recovered == PLAINTEXT
   2793
          |         |  |
   2794
          |         |  'This is a plaintext message. '
   2795
          |         false
   2796
          'n\f�ˬ�L��e~E�\r鞜>`�D�KR��=��N'
   2797
        at 
org.apache.nifi.security.util.crypto.PasswordBasedEncryptorGroovyTest.testBcryptDecryptShouldSupportLegacyKeyDerivationProcess(PasswordBasedEncryptorGroovyTest.groovy:445)
   2798
   2799
   Error:  Failures:
   2800
   Error:    
PasswordBasedEncryptorGroovyTest.testBcryptDecryptShouldSupportLegacyKeyDerivationProcess:445
 assert recovered == PLAINTEXT
   2801
          |         |  |
   2802
          |         |  'This is a plaintext message. '
   2803
          |         false
   2804
          'n\f�ˬ�L��e~E�\r鞜>`�D�KR��=��N'
   2805
   Error:  Errors:
   2806
   Error:    TestListenRELP.testTLS:178->run:236->sendFrames:277 » SSLHandshake 
Remote host...
   2807
   Error:  Tests run: 1661, Failures: 1, Errors: 1, Skipped: 23
   2808
   Error:  Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on 
project nifi-standard-processors: There are test failures.
   2809
   Error:
   2810
   Error:  Please refer to 
/home/runner/work/nifi/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/target/surefire-reports
 for the individual test results.
   2811
   Error:  Please refer to dump files (if any exist) [date].dump, 
[date]-jvmRun[N].dump and [date].dumpstream.
   2812
   Error:  -> [Help 1]
   2813
   Error:
   2814
   Error:  To see the full stack trace of the errors, re-run Maven with the -e 
switch.
   2815
   Error:  Re-run Maven using the -X switch to enable full debug logging.
   2816
   Error:
   2817
   Error:  For more information about the errors and possible solutions, please 
read the following articles:
   2818
   Error:  [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
   2819
   Error:
   2820
   Error:  After correcting the problems, you can resume the build with the 
command
   2821
   Error:    mvn <args> -rf :nifi-standard-processors
   2822
   Error: Process completed with exit code 1.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to