[
https://issues.apache.org/jira/browse/AMBARI-26037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mohammad Arshad updated AMBARI-26037:
-------------------------------------
Description:
{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}
was:
Following test cases in AmbariSwaggerReaderTest are failing consistently
{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}
*Detailss*
{code:java}
[ERROR] Tests run: 8, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 0.08 s
<<< FAILURE! - in org.apache.ambari.swagger.AmbariSwaggerReaderTest
[ERROR] swaggerBasicCase(org.apache.ambari.swagger.AmbariSwaggerReaderTest)
Time elapsed: 0.034 s <<< ERROR!
java.lang.AbstractMethodError:
javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
at
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerBasicCase(AmbariSwaggerReaderTest.java:70)
[ERROR] testJoinPaths(org.apache.ambari.swagger.AmbariSwaggerReaderTest) Time
elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.ambari.swagger.AmbariSwaggerReader
at
org.apache.ambari.swagger.AmbariSwaggerReaderTest.testJoinPaths(AmbariSwaggerReaderTest.java:60)
[ERROR]
swaggerConflictingNestedApis(org.apache.ambari.swagger.AmbariSwaggerReaderTest)
Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.ambari.swagger.AmbariSwaggerReader
at
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerConflictingNestedApis(AmbariSwaggerReaderTest.java:83)
[ERROR]
swaggerConflictingNestedApisWithPreferredParent(org.apache.ambari.swagger.AmbariSwaggerReaderTest)
Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.ambari.swagger.AmbariSwaggerReader
at
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithPreferredParent(AmbariSwaggerReaderTest.java:100)
[ERROR]
swaggerConflictingNestedApisWithSamePreferredParent(org.apache.ambari.swagger.AmbariSwaggerReaderTest)
Time elapsed: 0.001 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.ambari.swagger.AmbariSwaggerReader
at
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithSamePreferredParent(AmbariSwaggerReaderTest.java:118)
[ERROR]
swaggerConflictingNestedApisWithBadPreferredParent(org.apache.ambari.swagger.AmbariSwaggerReaderTest)
Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.ambari.swagger.AmbariSwaggerReader
at
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerConflictingNestedApisWithBadPreferredParent(AmbariSwaggerReaderTest.java:137)
[ERROR]
swaggerNestedApisWithOverwrite(org.apache.ambari.swagger.AmbariSwaggerReaderTest)
Time elapsed: 0 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.ambari.swagger.AmbariSwaggerReader
at
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerNestedApisWithOverwrite(AmbariSwaggerReaderTest.java:154)
[ERROR]
swaggerApiThatIsBothTopLevelAndNestedIsCountedAsTopLevel(org.apache.ambari.swagger.AmbariSwaggerReaderTest)
Time elapsed: 0.001 s <<< ERROR!
java.lang.NoClassDefFoundError: Could not initialize class
org.apache.ambari.swagger.AmbariSwaggerReader
at
org.apache.ambari.swagger.AmbariSwaggerReaderTest.swaggerApiThatIsBothTopLevelAndNestedIsCountedAsTopLevel(AmbariSwaggerReaderTest.java:170)
{code}
> 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
> Assignee: Mohammad Arshad
> Priority: Major
>
> {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}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]