Skip to content

PR #15320

PR #15320 #276

Triggered via dynamic October 6, 2023 16:56
Status Success
Total duration 2m 44s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

codeql

on: dynamic
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 11 warnings
SqlDefaultStoreTest.testScanApplications: cdap-app-fabric/src/test/java/io/cdap/cdap/internal/app/store/SqlDefaultStoreTest.java#L1
java.io.IOException: Failed to scan from table application_specs with range Range{begin=[], beginBound=INCLUSIVE, end=[], endBound=INCLUSIVE} and index [Field{name='latest', type='BOOLEAN', value='true'}]
ProgramLifecycleHttpHandlerTest.testVersionedProgramStartStopStatus: cdap-app-fabric/src/test/java/io/cdap/cdap/internal/app/services/http/handlers/ProgramLifecycleHttpHandlerTest.java#L327
Wrong response code with message 'applicationreference:default.App' could not be deleted. Reason: The following programs are still running: NoOpService expected:<200> but was:<409>
SqlDefaultStoreTest.testScanApplications: cdap-app-fabric/src/test/java/io/cdap/cdap/internal/app/store/SqlDefaultStoreTest.java#L1
java.io.IOException: Failed to scan from table application_specs with range Range{begin=[], beginBound=INCLUSIVE, end=[], endBound=INCLUSIVE} and index [Field{name='latest', type='BOOLEAN', value='true'}]
Analyze (javascript)
Failed to restore: Cache service responded with 403
com.puppycrawl.tools.checkstyle.checks.coding.VariableDeclarationUsageDistanceCheck: cdap-app-fabric/src/test/java/io/cdap/cdap/internal/operations/OperationRunsStoreTest.java#L201
Distance between variable 'expectedRuns' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value).
com.puppycrawl.tools.checkstyle.checks.coding.OverloadMethodsDeclarationOrderCheck: cdap-data-fabric/src/main/java/io/cdap/cdap/spi/data/sql/PostgreSqlStructuredTable.java#L332
All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '206'.
com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck: cdap-security/src/main/java/io/cdap/cdap/security/authorization/DefaultAccessEnforcer.java#L281
Abbreviation in name 'isAccessingSystemNSAsMasterUser' must contain no more than '1' consecutive capital letters.