Skip to content

Too many useless logs when create a new pipeline #1034

@chilianyi

Description

@chilianyi

What is version of KubeSphere DevOps has the issue?

v3.4.1

How did you install the Kubernetes? Or what is the Kubernetes distribution?

No response

What happened?

When create a new pipeline, there are too many useless log in controller

2024-02-28T01:56:44.998427725Z E0228 01:56:44.997565       1 project_pipeline.go:148] GET http://devops-jenkins.kubesphere-devops-system/job/eeerj9tb/job/wewewee/api/json: 404 <html>
2024-02-28T01:56:44.998505755Z <head>
2024-02-28T01:56:44.998530556Z <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
2024-02-28T01:56:44.998550556Z <title>Error 404 Not Found</title>
2024-02-28T01:56:44.998567676Z </head>
2024-02-28T01:56:44.998583616Z <body><h2>HTTP ERROR 404 Not Found</h2>
2024-02-28T01:56:44.998600300Z <table>
2024-02-28T01:56:44.998617340Z <tr><th>URI:</th><td>/job/eeerj9tb/job/wewewee/api/json</td></tr>
2024-02-28T01:56:44.998668653Z <tr><th>STATUS:</th><td>404</td></tr>
2024-02-28T01:56:44.998690471Z <tr><th>MESSAGE:</th><td>Not Found</td></tr>
2024-02-28T01:56:44.998711815Z <tr><th>SERVLET:</th><td>Stapler</td></tr>
2024-02-28T01:56:44.998730036Z </table>
2024-02-28T01:56:44.998747089Z <hr/><a href="https://eclipse.org/jetty">Powered by Jetty:// 9.4.45.v20220203</a><hr/>
2024-02-28T01:56:44.998764747Z
2024-02-28T01:56:44.998781911Z </body>
2024-02-28T01:56:44.998800212Z </html>
2024-02-28T01:56:45.006284184Z E0228 01:56:45.005676       1 pipeline_metadata_controller.go:68] pipeline-metadata-controller "msg"="unable to obtain and update Pipeline metadata from Jenkins" "error"="not found resources" "Pipeline"={"Namespace":"eeerj9tb","Name":"wewewee"}
2024-02-28T01:56:45.006316677Z E0228 01:56:45.005990       1 controller.go:326]  "msg"="Reconciler error" "error"="not found resources" "controller"="pipeline" "controllerGroup"="devops.kubesphere.io" "controllerKind"="Pipeline" "name"="wewewee" "namespace"="eeerj9tb" "pipeline"={"name":"wewewee","namespace":"eeerj9tb"} "reconcileID"="702a41bc-0168-47b4-a406-076b7c7b3368"
2024-02-28T01:56:45.019380363Z E0228 01:56:45.019158       1 pipeline_metadata_controller.go:68] pipeline-metadata-controller "msg"="unable to obtain and update Pipeline metadata from Jenkins" "error"="not found resources" "Pipeline"={"Namespace":"eeerj9tb","Name":"wewewee"}
2024-02-28T01:56:45.019431856Z E0228 01:56:45.019300       1 controller.go:326]  "msg"="Reconciler error" "error"="not found resources" "controller"="pipeline" "controllerGroup"="devops.kubesphere.io" "controllerKind"="Pipeline" "name"="wewewee" "namespace"="eeerj9tb" "pipeline"={"name":"wewewee","namespace":"eeerj9tb"} "reconcileID"="c3ede4b5-2620-4f7a-ab1c-8fcddf67fc4a"
2024-02-28T01:56:45.397768784Z I0228 01:56:45.397147       1 pipeline_controller.go:321] update pipeline eeerj9tb:wewewee successful
2024-02-28T01:56:45.534341289Z I0228 01:56:45.534085       1 pipeline_controller.go:321] update pipeline eeerj9tb:wewewee successful

Relevant log output

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions