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

Joe Witt updated NIFI-14113:
----------------------------
    Description: 
Failed on 
https://github.com/apache/nifi/actions/runs/12508397453/job/34896453755?pr=9597

{noformat}
Error:  Tests run: 6, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 2.177 s 
<<< FAILURE! -- in 
org.apache.nifi.processors.stateful.analysis.AttributeRollingWindowIT
Error:  
org.apache.nifi.processors.stateful.analysis.AttributeRollingWindowIT.testBasic 
-- Time elapsed: 0.509 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Expected attribute rolling_window_count to 
be 1 but instead it was 2 ==> expected: <1> but was: <2>
        at 
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
        at 
org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
        at 
org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
        at 
org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
        at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1156)
        at 
org.apache.nifi.util.MockFlowFile.assertAttributeEquals(MockFlowFile.java:226)
        at 
org.apache.nifi.processors.stateful.analysis.AttributeRollingWindowIT.testBasic(AttributeRollingWindowIT.java:154)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Error:  Failures: 
Error:    AttributeRollingWindowIT.testBasic:154 Expected attribute 
rolling_window_count to be 1 but instead it was 2 ==> expected: <1> but was: <2>
Error:  Tests run: 6, Failures: 1, Errors: 0, Skipped: 1
Error:  Failed to execute goal 
org.apache.maven.plugins:maven-failsafe-plugin:3.5.1:verify (default) on 
project nifi-stateful-analysis-processors: There are test failures.
Error:  
Error:  Please refer to 
/home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-stateful-analysis-bundle/nifi-stateful-analysis-processors/target/failsafe-reports
 for the individual test results.
Error:  Please refer to dump files (if any exist) [date].dump, 
[date]-jvmRun[N].dump and [date].dumpstream.
Error:  -> [Help 1]
Error:  
Error:  To see the full stack trace of the errors, re-run Maven with the -e 
switch.
Error:  Re-run Maven using the -X switch to enable full debug logging.
Error:  
Error:  For more information about the errors and possible solutions, please 
read the following articles:
Error:  [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Error:  
Error:  After correcting the problems, you can resume the build with the command
Error:    mvn <args> -rf :nifi-stateful-analysis-processors
Error: Process completed with exit code 1.
{noformat}


  was:

{noformat}
Error:  Tests run: 6, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 2.177 s 
<<< FAILURE! -- in 
org.apache.nifi.processors.stateful.analysis.AttributeRollingWindowIT
Error:  
org.apache.nifi.processors.stateful.analysis.AttributeRollingWindowIT.testBasic 
-- Time elapsed: 0.509 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Expected attribute rolling_window_count to 
be 1 but instead it was 2 ==> expected: <1> but was: <2>
        at 
org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
        at 
org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
        at 
org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
        at 
org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
        at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1156)
        at 
org.apache.nifi.util.MockFlowFile.assertAttributeEquals(MockFlowFile.java:226)
        at 
org.apache.nifi.processors.stateful.analysis.AttributeRollingWindowIT.testBasic(AttributeRollingWindowIT.java:154)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Error:  Failures: 
Error:    AttributeRollingWindowIT.testBasic:154 Expected attribute 
rolling_window_count to be 1 but instead it was 2 ==> expected: <1> but was: <2>
Error:  Tests run: 6, Failures: 1, Errors: 0, Skipped: 1
Error:  Failed to execute goal 
org.apache.maven.plugins:maven-failsafe-plugin:3.5.1:verify (default) on 
project nifi-stateful-analysis-processors: There are test failures.
Error:  
Error:  Please refer to 
/home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-stateful-analysis-bundle/nifi-stateful-analysis-processors/target/failsafe-reports
 for the individual test results.
Error:  Please refer to dump files (if any exist) [date].dump, 
[date]-jvmRun[N].dump and [date].dumpstream.
Error:  -> [Help 1]
Error:  
Error:  To see the full stack trace of the errors, re-run Maven with the -e 
switch.
Error:  Re-run Maven using the -X switch to enable full debug logging.
Error:  
Error:  For more information about the errors and possible solutions, please 
read the following articles:
Error:  [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Error:  
Error:  After correcting the problems, you can resume the build with the command
Error:    mvn <args> -rf :nifi-stateful-analysis-processors
Error: Process completed with exit code 1.
{noformat}



> AttributeRollingWindowIT.testBasic is unreliable as a test
> ----------------------------------------------------------
>
>                 Key: NIFI-14113
>                 URL: https://issues.apache.org/jira/browse/NIFI-14113
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Joe Witt
>            Priority: Major
>
> Failed on 
> https://github.com/apache/nifi/actions/runs/12508397453/job/34896453755?pr=9597
> {noformat}
> Error:  Tests run: 6, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 2.177 
> s <<< FAILURE! -- in 
> org.apache.nifi.processors.stateful.analysis.AttributeRollingWindowIT
> Error:  
> org.apache.nifi.processors.stateful.analysis.AttributeRollingWindowIT.testBasic
>  -- Time elapsed: 0.509 s <<< FAILURE!
> org.opentest4j.AssertionFailedError: Expected attribute rolling_window_count 
> to be 1 but instead it was 2 ==> expected: <1> but was: <2>
>       at 
> org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
>       at 
> org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
>       at 
> org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
>       at 
> org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
>       at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1156)
>       at 
> org.apache.nifi.util.MockFlowFile.assertAttributeEquals(MockFlowFile.java:226)
>       at 
> org.apache.nifi.processors.stateful.analysis.AttributeRollingWindowIT.testBasic(AttributeRollingWindowIT.java:154)
>       at java.base/java.lang.reflect.Method.invoke(Method.java:580)
>       at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
>       at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
> Error:  Failures: 
> Error:    AttributeRollingWindowIT.testBasic:154 Expected attribute 
> rolling_window_count to be 1 but instead it was 2 ==> expected: <1> but was: 
> <2>
> Error:  Tests run: 6, Failures: 1, Errors: 0, Skipped: 1
> Error:  Failed to execute goal 
> org.apache.maven.plugins:maven-failsafe-plugin:3.5.1:verify (default) on 
> project nifi-stateful-analysis-processors: There are test failures.
> Error:  
> Error:  Please refer to 
> /home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-stateful-analysis-bundle/nifi-stateful-analysis-processors/target/failsafe-reports
>  for the individual test results.
> Error:  Please refer to dump files (if any exist) [date].dump, 
> [date]-jvmRun[N].dump and [date].dumpstream.
> Error:  -> [Help 1]
> Error:  
> Error:  To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> Error:  Re-run Maven using the -X switch to enable full debug logging.
> Error:  
> Error:  For more information about the errors and possible solutions, please 
> read the following articles:
> Error:  [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> Error:  
> Error:  After correcting the problems, you can resume the build with the 
> command
> Error:    mvn <args> -rf :nifi-stateful-analysis-processors
> Error: Process completed with exit code 1.
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to