You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jialiang Cai (Jira)" <ji...@apache.org> on 2024/12/05 08:22:00 UTC
[jira] [Commented] (AMBARI-26037) ambari-server java test failures
[ https://issues.apache.org/jira/browse/AMBARI-26037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903241#comment-17903241 ]
Jialiang Cai commented on AMBARI-26037:
---------------------------------------
i met same error ,this is because your cached dependency of checkstyle's version is higher than 6.9, after refresh idea mven dependency, this problem resolved
> 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: issues-unsubscribe@ambari.apache.org
For additional commands, e-mail: issues-help@ambari.apache.org