Skip to content

[#3973] improvement(core):support audit log #7774

[#3973] improvement(core):support audit log

[#3973] improvement(core):support audit log #7774

Re-run triggered September 21, 2024 00:08
Status Cancelled
Total duration 2m 30s
Artifacts

backend-integration-test.yml

on: pull_request
changes
4s
changes
Matrix: BackendIT-on-pr
Matrix: BackendIT-on-push
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
BackendIT-on-pr (linux/amd64, 17, mysql, deploy) / JDK17-deploy-mysql: task ':core:spotlessJavaCheck'#L1
Execution failed for task ':core:spotlessJavaCheck': The following files had format violations: src/main/java/org/apache/gravitino/GravitinoEnv.java @@ -19,7 +19,6 @@ package·org.apache.gravitino; import·com.google.common.base.Preconditions; -import·org.apache.gravitino.audit.AuditLogConfig; import·org.apache.gravitino.audit.AuditLogManager; import·org.apache.gravitino.authorization.AccessControlDispatcher; import·org.apache.gravitino.authorization.AccessControlManager; @@ -363,7 +362,7 @@ ····this.auditLogManager·=·new·AuditLogManager(); ····auditLogManager.init( -············config.getConfigsWithPrefix(AuditLogManager.AUDIT_LOG_PREFIX),·eventListenerManager); +········config.getConfigsWithPrefix(AuditLogManager.AUDIT_LOG_PREFIX),·eventListenerManager); ··} ··private·void·initGravitinoServerComponents()·{ src/main/java/org/apache/gravitino/audit/AuditLogConfig.java @@ -20,7 +20,6 @@ package·org.apache.gravitino.audit; import·java.util.Map; - import·org.apache.commons.lang3.StringUtils; import·org.apache.gravitino.Config; import·org.apache.gravitino.config.ConfigBuilder; Run './gradlew :core:spotlessApply' to fix these violations. at com.diffplug.gradle.spotless.SpotlessCheck.performAction(SpotlessCheck.java:111) at com.diffplug.gradle.spotless.SpotlessCheck.performAction(SpotlessCheck.java:53) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29) at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:248) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47) at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68) at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:233) at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:216) at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:199) at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:166) at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:105) at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44) at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:59) at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:56) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204) at org.gradle.internal.operations.DefaultBuildOpe
BackendIT-on-pr (linux/amd64, 17, mysql, deploy) / JDK17-deploy-mysql
Process completed with exit code 1.
BackendIT-on-pr (linux/amd64, 17, postgresql, deploy) / JDK17-deploy-postgresql
FailFast: cancelling since parallel instance has failed
BackendIT-on-pr (linux/amd64, 17, postgresql, deploy) / JDK17-deploy-postgresql: task ':core:spotlessJavaCheck'#L1
Execution failed for task ':core:spotlessJavaCheck': The following files had format violations: src/main/java/org/apache/gravitino/GravitinoEnv.java @@ -19,7 +19,6 @@ package·org.apache.gravitino; import·com.google.common.base.Preconditions; -import·org.apache.gravitino.audit.AuditLogConfig; import·org.apache.gravitino.audit.AuditLogManager; import·org.apache.gravitino.authorization.AccessControlDispatcher; import·org.apache.gravitino.authorization.AccessControlManager; @@ -363,7 +362,7 @@ ····this.auditLogManager·=·new·AuditLogManager(); ····auditLogManager.init( -············config.getConfigsWithPrefix(AuditLogManager.AUDIT_LOG_PREFIX),·eventListenerManager); +········config.getConfigsWithPrefix(AuditLogManager.AUDIT_LOG_PREFIX),·eventListenerManager); ··} ··private·void·initGravitinoServerComponents()·{ src/main/java/org/apache/gravitino/audit/AuditLogConfig.java @@ -20,7 +20,6 @@ package·org.apache.gravitino.audit; import·java.util.Map; - import·org.apache.commons.lang3.StringUtils; import·org.apache.gravitino.Config; import·org.apache.gravitino.config.ConfigBuilder; Run './gradlew :core:spotlessApply' to fix these violations. at com.diffplug.gradle.spotless.SpotlessCheck.performAction(SpotlessCheck.java:111) at com.diffplug.gradle.spotless.SpotlessCheck.performAction(SpotlessCheck.java:53) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29) at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:248) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47) at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68) at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:233) at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:216) at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:199) at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:166) at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:105) at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44) at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:59) at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:56) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204) at org.gradle.internal.operations.DefaultBuildOpe
BackendIT-on-pr (linux/amd64, 17, postgresql, deploy) / JDK17-deploy-postgresql
Process completed with exit code 1.
BackendIT-on-pr (linux/amd64, 17, h2, embedded) / JDK17-embedded-h2
FailFast: cancelling since parallel instance has failed
BackendIT-on-pr (linux/amd64, 17, h2, embedded) / JDK17-embedded-h2
The operation was canceled.
changes
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, dorny/paths-filter@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
BackendIT-on-pr (linux/amd64, 17, mysql, deploy) / JDK17-deploy-mysql
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, docker/setup-qemu-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/