Console Output

Generic Cause
GenericWebhookEnvironmentContributor
 Received:

{"object_kind":"push","event_name":"push","before":"7fe5338ed119ca3c2f9d2d80b342d63b8eb06197","after":"5c4cef5b3ba1796abd91806adae2fcf1333063e6","ref":"refs/heads/dev","checkout_sha":"5c4cef5b3ba1796abd91806adae2fcf1333063e6","message":null,"user_id":80,"user_name":"zhjfeng","user_username":"zhjfeng","user_email":"","user_avatar":"https://www.gravatar.com/avatar/e6f966ff89dd05b5e11c4c9cce82c6f7?s=80&d=identicon","project_id":581,"project":{"id":581,"name":"ota_pyhon_scripts","description":"a set of scripts for ota","web_url":"http://159.27.226.4/lufengwei/ota_pyhon_scripts","avatar_url":null,"git_ssh_url":"git@159.27.226.4:lufengwei/ota_pyhon_scripts.git","git_http_url":"http://159.27.226.4/lufengwei/ota_pyhon_scripts.git","namespace":"lufengwei","visibility_level":20,"path_with_namespace":"lufengwei/ota_pyhon_scripts","default_branch":"master","ci_config_path":null,"homepage":"http://159.27.226.4/lufengwei/ota_pyhon_scripts","url":"git@159.27.226.4:lufengwei/ota_pyhon_scripts.git","ssh_url":"git@159.27.226.4:lufengwei/ota_pyhon_scripts.git","http_url":"http://159.27.226.4/lufengwei/ota_pyhon_scripts.git"},"commits":[{"id":"5c4cef5b3ba1796abd91806adae2fcf1333063e6","message":"feat_out:lidar_regions.json推到orinA\n","title":"feat_out:lidar_regions.json推到orinA","timestamp":"2025-01-23T17:37:26+08:00","url":"http://159.27.226.4/lufengwei/ota_pyhon_scripts/-/commit/5c4cef5b3ba1796abd91806adae2fcf1333063e6","author":{"name":"zhjfeng","email":"zhaojianfeng2@senior.auto"},"added":[],"modified":["ota.py"],"removed":[]}],"total_commits_count":1,"push_options":{},"repository":{"name":"ota_pyhon_scripts","url":"git@159.27.226.4:lufengwei/ota_pyhon_scripts.git","description":"a set of scripts for ota","homepage":"http://159.27.226.4/lufengwei/ota_pyhon_scripts","git_http_url":"http://159.27.226.4/lufengwei/ota_pyhon_scripts.git","git_ssh_url":"git@159.27.226.4:lufengwei/ota_pyhon_scripts.git","visibility_level":20}}


Contributing variables:

    added = []
    branch = refs/heads/dev
    modified = ["ota.py"]
    modified_0 = ota.py
    object_kind = push
    projectId = 581
    projectName = ota_pyhon_scripts
    runOpts = GitlabPush
    runOpts_0 = GitlabPush
    userName = zhjfeng


Obtained python-scripts.jenkinsfile from git http://159.27.226.4/weilikang/jenkinsfiles.git
Loading library jenkinslib@master
Attempting to resolve master from remote references...
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials gitlab_weilk
 > git ls-remote -h -- http://159.27.226.4/weilikang/jenkinslib.git # timeout=10
Found match: refs/heads/master revision 67e60b706e1de46941dd91ecf3e0e22024424700
The recommended git tool is: NONE
using credential gitlab_weilk
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/ota_python_scripts@libs/e94781a6efe9f09486b8ea226d2b758971618b049d1fe436de6265fac85ceea3/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url http://159.27.226.4/weilikang/jenkinslib.git # timeout=10
Fetching without tags
Fetching upstream changes from http://159.27.226.4/weilikang/jenkinslib.git
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials gitlab_weilk
 > git fetch --no-tags --force --progress -- http://159.27.226.4/weilikang/jenkinslib.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision 67e60b706e1de46941dd91ecf3e0e22024424700 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 67e60b706e1de46941dd91ecf3e0e22024424700 # timeout=10
Commit message: "Update repoinfo.groovy"
 > git rev-list --no-walk 312c6d2dd0727394f2299f3f3c2c7d4b6a828963 # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] echo
ota_pyhon_scripts
[Pipeline] echo
GitlabPush
[Pipeline] echo
dev
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/ota_python_scripts
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
The recommended git tool is: NONE
using credential gitlab_weilk
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/ota_python_scripts/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url http://159.27.226.4/weilikang/jenkinsfiles.git # timeout=10
Fetching upstream changes from http://159.27.226.4/weilikang/jenkinsfiles.git
 > git --version # timeout=10
 > git --version # 'git version 2.25.1'
using GIT_ASKPASS to set credentials gitlab_weilk
 > git fetch --tags --force --progress -- http://159.27.226.4/weilikang/jenkinsfiles.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 5f4747aa8717ae1b234218cdc9edc7539ef7bf7c (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5f4747aa8717ae1b234218cdc9edc7539ef7bf7c # timeout=10
Commit message: "Update module-pncreplayer.jenkinsfile"
 > git rev-list --no-walk 3140f8a62a9496172c9d0b702d89251ce39f70d8 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (checkout)
[Pipeline] script
[Pipeline] {
[Pipeline] echo
dev
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] echo >>>>>>>>>>拉取ota_python_scripts>>>>>>>>>> [Pipeline] }
[Pipeline] // ansiColor [Pipeline] sh + rm -rf /root/workspace/python-scripts/ota.py /root/workspace/python-scripts/ota_py_2024-12-26_17-54-58.zip /root/workspace/python-scripts/README.md /root/workspace/python-scripts/version.json [Pipeline] dir Running in /root/workspace/python-scripts [Pipeline] { [Pipeline] checkout The recommended git tool is: NONE using credential gitlab_ota > git rev-parse --resolve-git-dir /root/workspace/python-scripts/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url http://159.27.226.4/lufengwei/ota_pyhon_scripts.git # timeout=10 Fetching upstream changes from http://159.27.226.4/lufengwei/ota_pyhon_scripts.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_ASKPASS to set credentials gitlab_ota > git fetch --tags --force --progress -- http://159.27.226.4/lufengwei/ota_pyhon_scripts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/dev^{commit} # timeout=10 Checking out Revision 5c4cef5b3ba1796abd91806adae2fcf1333063e6 (origin/dev) > git config core.sparsecheckout # timeout=10 > git checkout -f 5c4cef5b3ba1796abd91806adae2fcf1333063e6 # timeout=10 Commit message: "feat_out:lidar_regions.json推到orinA" > git rev-list --no-walk 7fe5338ed119ca3c2f9d2d80b342d63b8eb06197 # timeout=10 [Pipeline] } [Pipeline] // dir [Pipeline] sh + rm -rf /root/workspace/python-scripts@tmp [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (zip->post) [Pipeline] script [Pipeline] { [Pipeline] ansiColor [Pipeline] {
[Pipeline] echo >>>>>>>>>>压缩成zip包>>>>>>>>>> [Pipeline] }
[Pipeline] // ansiColor [Pipeline] readJSON [Pipeline] withCredentials Masking supported pattern matches of $gitlabToken [Pipeline] { [Pipeline] httpRequest Warning: A secret was passed to "httpRequest" using Groovy String interpolation, which is insecure. Affected argument(s) used the following variable(s): [gitlabToken] See https://jenkins.io/redirect/groovy-string-interpolation for details. HttpMethod: GET URL: http://159.27.226.4/api/v4/projects?search=ota_pyhon_scripts Content-Type: application/json PRIVATE-TOKEN: ***** Sending request to url: http://159.27.226.4/api/v4/projects?search=ota_pyhon_scripts Response Code: HTTP/1.1 200 OK Response: [{"id":581,"description":"a set of scripts for ota","name":"ota_pyhon_scripts","name_with_namespace":"lufengwei / ota_pyhon_scripts","path":"ota_pyhon_scripts","path_with_namespace":"lufengwei/ota_pyhon_scripts","created_at":"2023-04-04T03:19:34.201Z","default_branch":"master","tag_list":[],"topics":[],"ssh_url_to_repo":"git@159.27.226.4:lufengwei/ota_pyhon_scripts.git","http_url_to_repo":"http://159.27.226.4/lufengwei/ota_pyhon_scripts.git","web_url":"http://159.27.226.4/lufengwei/ota_pyhon_scripts","readme_url":"http://159.27.226.4/lufengwei/ota_pyhon_scripts/-/blob/master/README.md","avatar_url":null,"forks_count":0,"star_count":0,"last_activity_at":"2025-01-23T09:39:57.438Z","namespace":{"id":21,"name":"lufengwei","path":"lufengwei","kind":"user","full_path":"lufengwei","parent_id":null,"avatar_url":"https://www.gravatar.com/avatar/9c9ee55add59364e011866735a5f7225?s=80\u0026d=identicon","web_url":"http://159.27.226.4/lufengwei"},"_links":{"self":"http://159.27.226.4/api/v4/projects/581","issues":"http://159.27.226.4/api/v4/projects/581/issues","merge_requests":"http://159.27.226.4/api/v4/projects/581/merge_requests","repo_branches":"http://159.27.226.4/api/v4/projects/581/repository/branches","labels":"http://159.27.226.4/api/v4/projects/581/labels","events":"http://159.27.226.4/api/v4/projects/581/events","members":"http://159.27.226.4/api/v4/projects/581/members","cluster_agents":"http://159.27.226.4/api/v4/projects/581/cluster_agents"},"packages_enabled":true,"empty_repo":false,"archived":false,"visibility":"public","owner":{"id":12,"username":"lufengwei","name":"lufengwei","state":"banned","avatar_url":"https://www.gravatar.com/avatar/9c9ee55add59364e011866735a5f7225?s=80\u0026d=identicon","web_url":"http://159.27.226.4/lufengwei"},"resolve_outdated_diff_discussions":false,"container_expiration_policy":{"cadence":"1d","enabled":false,"keep_n":10,"older_than":"90d","name_regex":".*","name_regex_keep":null,"next_run_at":"2023-04-05T03:20:09.898Z"},"issues_enabled":true,"merge_requests_enabled":true,"wiki_enabled":false,"jobs_enabled":false,"snippets_enabled":false,"container_registry_enabled":true,"service_desk_enabled":false,"can_create_merge_request_in":true,"issues_access_level":"enabled","repository_access_level":"enabled","merge_requests_access_level":"enabled","forking_access_level":"enabled","wiki_access_level":"disabled","builds_access_level":"disabled","snippets_access_level":"disabled","pages_access_level":"enabled","operations_access_level":"disabled","analytics_access_level":"disabled","container_registry_access_level":"enabled","security_and_compliance_access_level":"private","emails_disabled":false,"shared_runners_enabled":true,"lfs_enabled":true,"creator_id":12,"import_status":"finished","open_issues_count":29,"ci_default_git_depth":20,"ci_forward_deployment_enabled":true,"ci_job_token_scope_enabled":false,"ci_separated_caches":true,"public_jobs":true,"build_timeout":3600,"auto_cancel_pending_pipelines":"enabled","build_coverage_regex":null,"ci_config_path":null,"shared_with_groups":[{"group_id":14,"group_name":"System","group_full_path":"system","group_access_level":30,"expires_at":null}],"only_allow_merge_if_pipeline_succeeds":false,"allow_merge_on_skipped_pipeline":null,"restrict_user_defined_variables":false,"request_access_enabled":true,"only_allow_merge_if_all_discussions_are_resolved":false,"remove_source_branch_after_merge":true,"printing_merge_request_link_enabled":true,"merge_method":"merge","squash_option":"default_off","enforce_auth_checks_on_uploads":true,"suggestion_commit_message":null,"merge_commit_template":null,"squash_commit_template":null,"auto_devops_enabled":true,"auto_devops_deploy_strategy":"continuous","autoclose_referenced_issues":true,"keep_latest_artifact":true,"runner_token_expiration_interval":null,"permissions":{"project_access":null,"group_access":null}}] Success: Status code 200 is in the accepted range: 100:399 [Pipeline] } [Pipeline] // withCredentials [Pipeline] readJSON [Pipeline] echo lufengwei/ota_pyhon_scripts [Pipeline] echo 581 [Pipeline] echo 581 [Pipeline] dir Running in /root/workspace/python-scripts [Pipeline] { [Pipeline] dir Running in /root/workspace/python-scripts [Pipeline] { [Pipeline] sh + echo -n '{"module":[' [Pipeline] sh + git rev-parse --short HEAD [Pipeline] sh + python3 /root/weilk/project/get_git_now.py 581 5c4cef5 [Pipeline] echo "device":"9","device_name":"","type":0,"project":"0" [Pipeline] sh + echo -n '{"repo_name":"ota_python_scripts","branch":"dev","time":"2025-01-23_17-40-08","commit_id":"5c4cef5","version":"","commit_msgs":",bGlkYXJfcmVnaW9ucy5qc29u5o6o5Yiwb3JpbkE=,"}],"device":"9","device_name":"","type":0,"project":"0"}' [Pipeline] sh + cat /root/workspace/python-scripts/version.json {"module":[{"repo_name":"ota_python_scripts","branch":"dev","time":"2025-01-23_17-40-08","commit_id":"5c4cef5","version":"","commit_msgs":",bGlkYXJfcmVnaW9ucy5qc29u5o6o5Yiwb3JpbkE=,"}],"device":"9","device_name":"","type":0,"project":"0"} [Pipeline] } [Pipeline] // dir [Pipeline] sh + zip -rq ota_py_2025-01-23_17-40-10.zip ota.py version.json [Pipeline] sh + ls /root/workspace/python-scripts/ ota.py ota_py_2025-01-23_17-40-10.zip README.md version.json [Pipeline] sh + curl -X POST http://ota.senior.auto/prod-api/otaUploadFileAndVersion --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/python-scripts/ota_py_2025-01-23_17-40-10.zip"' --form 'version=@"/root/workspace/python-scripts/version.json"' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10972 0 43 100 10929 109 27880 --:--:-- --:--:-- --:--:-- 27918 100 10972 0 43 100 10929 109 27880 --:--:-- --:--:-- --:--:-- 27918 [Pipeline] echo {"msg":"操作成功","code":200,"data":""} [Pipeline] readJSON [Pipeline] echo [msg:操作成功, code:200, data:] [Pipeline] echo status:200 [Pipeline] echo {"msg":"操作成功","code":200,"data":""} [Pipeline] sh + curl -X POST http://143.64.91.51:18081/prod-api/otaUploadFileAndVersion --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/python-scripts/ota_py_2025-01-23_17-40-10.zip"' --form 'version=@"/root/workspace/python-scripts/version.json"' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10972 0 43 100 10929 130 33218 --:--:-- --:--:-- --:--:-- 33349 [Pipeline] echo {"msg":"操作成功","code":200,"data":""} [Pipeline] readJSON [Pipeline] echo [msg:操作成功, code:200, data:] [Pipeline] echo status:200 [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] script [Pipeline] { [Pipeline] echo always [Pipeline] } [Pipeline] // script [Pipeline] script [Pipeline] { [Pipeline] echo failure: zip->post [Pipeline] wrap [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] echo user: , telphone: [Pipeline] } [Pipeline] // script [Pipeline] sh + curl -X POST 'https://oapi.dingtalk.com/robot/send?access_token=0e635ba9c724e48482d5e4146087ccb44e6b324d34f5e351b80db04fcf41017a' -H 'Content-Type: application/json' -d '{"msgtype": "markdown","markdown": {"title":"Jenkins通知","text": "# 版本编译失败 ### [ota.py脚本更新] --- - 任务名: [ota_python_scripts] - 任务号:# 38 - 阶段:zip->post - 状态:<font color=#FF5151> 上传失败 </font> - 执行人:auto --- > 请检查失败原因 @"},"at": {"atMobiles": [""],"isAtAll": "false"} }' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 409 100 27 100 382 270 3820 --:--:-- --:--:-- --:--:-- 4090 [Pipeline] echo {"errcode":0,"errmsg":"ok"} [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline groovy.lang.MissingPropertyException: No such property: responseDX for class: groovy.lang.Binding at groovy.lang.Binding.getVariable(Binding.java:63) at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onGetProperty(SandboxInterceptor.java:271) at org.kohsuke.groovy.sandbox.impl.Checker$7.call(Checker.java:353) at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:357) at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:333) at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:333) at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:333) at org.kohsuke.groovy.sandbox.impl.Checker.checkedGetProperty(Checker.java:333) at com.cloudbees.groovy.cps.sandbox.SandboxInvoker.getProperty(SandboxInvoker.java:29) at com.cloudbees.groovy.cps.impl.PropertyAccessBlock.rawGet(PropertyAccessBlock.java:20) at WorkflowScript.run(WorkflowScript:188) at ___cps.transform___(Native Method) at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.get(PropertyishBlock.java:74) at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30) at com.cloudbees.groovy.cps.impl.PropertyishBlock$ContinuationImpl.fixName(PropertyishBlock.java:66) at sun.reflect.GeneratedMethodAccessor324.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.ConstantBlock.eval(ConstantBlock.java:21) at com.cloudbees.groovy.cps.Next.step(Next.java:83) at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:174) at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:163) at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:129) at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:268) at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:163) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:185) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:403) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.access$400(CpsThreadGroup.java:97) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:315) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:279) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:67) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Finished: FAILURE