Why Am I Seeing Error CC.00030308.400?
Symptom
When a code check task is executed, the error message CC.00030308.400 is displayed.
Cause Analysis
- Cause 1: The code size is excessive, causing the task to exceed the default timeout limit.
- Cause 2: The executor specifications fall short of current service needs.
- Cause 3: The code check task exceeds the set timeout.
Solution
For cause 1:
Use any of the following methods to reduce the code in a task:
- Split the task into multiple tasks and set rule sets in different languages for them. For details about how to set a rule set, see Configuring a Rule Set.
For example, to check code in multiple languages, such as Java, C, and C#, within task A, split the task into tasks A1, A2, and A3, and set the Java, C, and C# rule sets, respectively.
- Split the task into multiple tasks, exclude some files from the split tasks, and then check the code. For details about how to exclude files, see Configuring Check Scope.
For example, split task A into tasks A1, A2, and A3, and set them to check only file 1, file 2, and file 3, respectively.
- Split the code repository used by the task into multiple sub-repositories, create tasks respectively, and check the code.
For cause 2:
Contact technical support to use executors with higher specifications.
For cause 3:
Reset the timeout of the code check task by referring to Configuring Timeout.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot