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

Mohammad Arshad updated AMBARI-26037:
-------------------------------------
    Description: 
{noformat}
mvn -am test -pl ambari-server -DskipPythonTests -Dmaven.test.failure.ignore 
-Dmaven.artifact.threads=10 -Drat.skip
{noformat}

{code:java}
[ERROR] Failures: 
[ERROR]   WidgetResourceProviderTest.testCreateResources:260 
expected:<[[{"name":"value","name2":"value2"}]]> but was:<[[
  {
    "name": "value",
    "name2": "value2"
  }
]]>
[ERROR]   WidgetResourceProviderTest.testUpdateResources:353 
expected:<[[{"name":"new_value","new_name":"new_value2"}]]> but was:<[[
  {
    "name": "new_value",
    "new_name": "new_value2"
  }
]]>
[ERROR] Errors: 
[ERROR]   AmbariManagementControllerTest.testCreateActionsFailures:4332 ? 
Ambari Action ...
[ERROR]   
RootServiceComponentConfigurationResourceProviderTest.shouldUpdatePasswordInCredentialStoreIfSecurityPasswordEncryptionIsEnabled:534
 ? ConstructorNotFound
[ERROR]   DDLTests.testCompareMySQL:134->compareAgainstPostgres:150 ? 
UncheckedExecution
[ERROR]   DDLTests.testVerifyMySQL:60->verifyDDL:89 ? UncheckedExecution 
java.lang.Illeg...
[ERROR]   
PasswordUtilsTest.shouldReadPasswordFromCredentialStoreOfAnAlias:67->setupBasicCredentialProviderExpectations:127
 ? ConstructorNotFound
[ERROR]   
PasswordUtilsTest.shouldResolveEncryptedPaswordIfWeStoreTheAliasInPasswordFile:103->setupBasicCredentialProviderExpectations:127
 ? ConstructorNotFound
[INFO] 
[ERROR] *Tests run: 5230, Failures: 2, Errors: 6, Skipped: 60*
{code}

Following test cases were also failed but not captured in test run summary
{noformat}
[ERROR]   
AvoidTransactionalOnPrivateMethodsCheckTest.transactionalOnPrivateMethod:46->BaseCheckTestSupport.verify:121->BaseCheckTestSupport.createChecker:60
 ? AbstractMethod
[ERROR]   
AmbariSwaggerReaderTest.swaggerApiThatIsBothTopLevelAndNestedIsCountedAsTopLevel:170
 NoClassDefFound
[ERROR]   AmbariSwaggerReaderTest.swaggerBasicCase:70 ? AbstractMethod 
javax.xml.parsers...
[ERROR]   AmbariSwaggerReaderTest.swaggerConflictingNestedApis:83 
NoClassDefFound Could ...
[ERROR]   
AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithBadPreferredParent:137 
NoClassDefFound
[ERROR]   
AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithPreferredParent:100 
NoClassDefFound
[ERROR]   
AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithSamePreferredParent:118 
NoClassDefFound
[ERROR]   AmbariSwaggerReaderTest.swaggerNestedApisWithOverwrite:154 
NoClassDefFound Cou...
[ERROR]   AmbariSwaggerReaderTest.testJoinPaths:60 NoClassDefFound Could not 
initialize ...
{noformat}


  was:
{noformat}
*no* further _formatting_ is done here
{noformat}

{code:java}
[ERROR] Failures: 
[ERROR]   WidgetResourceProviderTest.testCreateResources:260 
expected:<[[{"name":"value","name2":"value2"}]]> but was:<[[
  {
    "name": "value",
    "name2": "value2"
  }
]]>
[ERROR]   WidgetResourceProviderTest.testUpdateResources:353 
expected:<[[{"name":"new_value","new_name":"new_value2"}]]> but was:<[[
  {
    "name": "new_value",
    "new_name": "new_value2"
  }
]]>
[ERROR] Errors: 
[ERROR]   AmbariManagementControllerTest.testCreateActionsFailures:4332 ? 
Ambari Action ...
[ERROR]   
RootServiceComponentConfigurationResourceProviderTest.shouldUpdatePasswordInCredentialStoreIfSecurityPasswordEncryptionIsEnabled:534
 ? ConstructorNotFound
[ERROR]   DDLTests.testCompareMySQL:134->compareAgainstPostgres:150 ? 
UncheckedExecution
[ERROR]   DDLTests.testVerifyMySQL:60->verifyDDL:89 ? UncheckedExecution 
java.lang.Illeg...
[ERROR]   
PasswordUtilsTest.shouldReadPasswordFromCredentialStoreOfAnAlias:67->setupBasicCredentialProviderExpectations:127
 ? ConstructorNotFound
[ERROR]   
PasswordUtilsTest.shouldResolveEncryptedPaswordIfWeStoreTheAliasInPasswordFile:103->setupBasicCredentialProviderExpectations:127
 ? ConstructorNotFound
[INFO] 
[ERROR] *Tests run: 5230, Failures: 2, Errors: 6, Skipped: 60*
{code}

Following test cases were also failed but not captured in test run summary
{noformat}
[ERROR]   
AvoidTransactionalOnPrivateMethodsCheckTest.transactionalOnPrivateMethod:46->BaseCheckTestSupport.verify:121->BaseCheckTestSupport.createChecker:60
 ? AbstractMethod
[ERROR]   
AmbariSwaggerReaderTest.swaggerApiThatIsBothTopLevelAndNestedIsCountedAsTopLevel:170
 NoClassDefFound
[ERROR]   AmbariSwaggerReaderTest.swaggerBasicCase:70 ? AbstractMethod 
javax.xml.parsers...
[ERROR]   AmbariSwaggerReaderTest.swaggerConflictingNestedApis:83 
NoClassDefFound Could ...
[ERROR]   
AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithBadPreferredParent:137 
NoClassDefFound
[ERROR]   
AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithPreferredParent:100 
NoClassDefFound
[ERROR]   
AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithSamePreferredParent:118 
NoClassDefFound
[ERROR]   AmbariSwaggerReaderTest.swaggerNestedApisWithOverwrite:154 
NoClassDefFound Cou...
[ERROR]   AmbariSwaggerReaderTest.testJoinPaths:60 NoClassDefFound Could not 
initialize ...
{noformat}



> ambari-server java test failures
> --------------------------------
>
>                 Key: AMBARI-26037
>                 URL: https://issues.apache.org/jira/browse/AMBARI-26037
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Mohammad Arshad
>            Priority: Major
>
> {noformat}
> mvn -am test -pl ambari-server -DskipPythonTests -Dmaven.test.failure.ignore 
> -Dmaven.artifact.threads=10 -Drat.skip
> {noformat}
> {code:java}
> [ERROR] Failures: 
> [ERROR]   WidgetResourceProviderTest.testCreateResources:260 
> expected:<[[{"name":"value","name2":"value2"}]]> but was:<[[
>   {
>     "name": "value",
>     "name2": "value2"
>   }
> ]]>
> [ERROR]   WidgetResourceProviderTest.testUpdateResources:353 
> expected:<[[{"name":"new_value","new_name":"new_value2"}]]> but was:<[[
>   {
>     "name": "new_value",
>     "new_name": "new_value2"
>   }
> ]]>
> [ERROR] Errors: 
> [ERROR]   AmbariManagementControllerTest.testCreateActionsFailures:4332 ? 
> Ambari Action ...
> [ERROR]   
> RootServiceComponentConfigurationResourceProviderTest.shouldUpdatePasswordInCredentialStoreIfSecurityPasswordEncryptionIsEnabled:534
>  ? ConstructorNotFound
> [ERROR]   DDLTests.testCompareMySQL:134->compareAgainstPostgres:150 ? 
> UncheckedExecution
> [ERROR]   DDLTests.testVerifyMySQL:60->verifyDDL:89 ? UncheckedExecution 
> java.lang.Illeg...
> [ERROR]   
> PasswordUtilsTest.shouldReadPasswordFromCredentialStoreOfAnAlias:67->setupBasicCredentialProviderExpectations:127
>  ? ConstructorNotFound
> [ERROR]   
> PasswordUtilsTest.shouldResolveEncryptedPaswordIfWeStoreTheAliasInPasswordFile:103->setupBasicCredentialProviderExpectations:127
>  ? ConstructorNotFound
> [INFO] 
> [ERROR] *Tests run: 5230, Failures: 2, Errors: 6, Skipped: 60*
> {code}
> Following test cases were also failed but not captured in test run summary
> {noformat}
> [ERROR]   
> AvoidTransactionalOnPrivateMethodsCheckTest.transactionalOnPrivateMethod:46->BaseCheckTestSupport.verify:121->BaseCheckTestSupport.createChecker:60
>  ? AbstractMethod
> [ERROR]   
> AmbariSwaggerReaderTest.swaggerApiThatIsBothTopLevelAndNestedIsCountedAsTopLevel:170
>  NoClassDefFound
> [ERROR]   AmbariSwaggerReaderTest.swaggerBasicCase:70 ? AbstractMethod 
> javax.xml.parsers...
> [ERROR]   AmbariSwaggerReaderTest.swaggerConflictingNestedApis:83 
> NoClassDefFound Could ...
> [ERROR]   
> AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithBadPreferredParent:137
>  NoClassDefFound
> [ERROR]   
> AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithPreferredParent:100 
> NoClassDefFound
> [ERROR]   
> AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithSamePreferredParent:118
>  NoClassDefFound
> [ERROR]   AmbariSwaggerReaderTest.swaggerNestedApisWithOverwrite:154 
> NoClassDefFound Cou...
> [ERROR]   AmbariSwaggerReaderTest.testJoinPaths:60 NoClassDefFound Could not 
> initialize ...
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to