Started by user weilikang
Obtained hardware/polaris.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 4491f4abd211ae8b787be0d582a82d6008c52f1c
The recommended git tool is: NONE
using credential gitlab_weilk
 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/polaris@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 4491f4abd211ae8b787be0d582a82d6008c52f1c (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4491f4abd211ae8b787be0d582a82d6008c52f1c # timeout=10
Commit message: "Update orinModule64Choice.groovy"
 > git rev-list --no-walk 4491f4abd211ae8b787be0d582a82d6008c52f1c # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] echo
null
[Pipeline] echo
null
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/workspace/polaris
[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/polaris/.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 7d6e85a70719ed24c2a1dada87828cc0e9c09690 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7d6e85a70719ed24c2a1dada87828cc0e9c09690 # timeout=10
Commit message: "Update module-pncreplayer.jenkinsfile"
 > git rev-list --no-walk 7d6e85a70719ed24c2a1dada87828cc0e9c09690 # timeout=10
[Pipeline] }
[Pipeline] // stage
[Pipeline] withEnv
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] stage
[Pipeline] { (checkout)
[Pipeline] script
[Pipeline] {
[Pipeline] echo
v3.0
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] echo
 >>>>>>>>>>拉取polaris>>>>>>>>>> 
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] sh
+ rm -rf /root/workspace/polaris/polaris /root/workspace/polaris/polaris_2024-09-10_14-48-47 /root/workspace/polaris/polaris_2024-09-10_14-48-47.zip /root/workspace/polaris/polaris@tmp /root/workspace/polaris/version.json
+ mkdir /root/workspace/polaris/polaris/
[Pipeline] dir
Running in /root/workspace/polaris/polaris
[Pipeline] {
[Pipeline] checkout
The recommended git tool is: NONE
using credential gitlab_ota
Cloning the remote Git repository
Cloning repository http://159.27.226.4/hardware/polaris.git
 > git init /root/workspace/polaris/polaris # timeout=10
Fetching upstream changes from http://159.27.226.4/hardware/polaris.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/hardware/polaris.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url http://159.27.226.4/hardware/polaris.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse origin/v3.0^{commit} # timeout=10
Checking out Revision d96d8de142529b5eace3729b434233e2fa08a4d9 (origin/v3.0)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d96d8de142529b5eace3729b434233e2fa08a4d9 # timeout=10
Commit message: "feat_out: v3.0定位 记录rtcm数据"
 > git rev-list --no-walk d96d8de142529b5eace3729b434233e2fa08a4d9 # timeout=10
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ rm -rf /root/workspace/polaris@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=polaris
Content-Type: application/json
PRIVATE-TOKEN: *****
Sending request to url: http://159.27.226.4/api/v4/projects?search=polaris
Response Code: HTTP/1.1 200 OK
Response: 
[{"id":527,"description":"","name":"polaris","name_with_namespace":"Hardware / polaris","path":"polaris","path_with_namespace":"hardware/polaris","created_at":"2023-01-30T03:34:42.526Z","default_branch":"master","tag_list":[],"topics":[],"ssh_url_to_repo":"git@159.27.226.4:hardware/polaris.git","http_url_to_repo":"http://159.27.226.4/hardware/polaris.git","web_url":"http://159.27.226.4/hardware/polaris","readme_url":null,"avatar_url":null,"forks_count":0,"star_count":0,"last_activity_at":"2024-09-10T06:44:21.002Z","namespace":{"id":13,"name":"Hardware","path":"hardware","kind":"group","full_path":"hardware","parent_id":null,"avatar_url":null,"web_url":"http://159.27.226.4/groups/hardware"},"_links":{"self":"http://159.27.226.4/api/v4/projects/527","issues":"http://159.27.226.4/api/v4/projects/527/issues","merge_requests":"http://159.27.226.4/api/v4/projects/527/merge_requests","repo_branches":"http://159.27.226.4/api/v4/projects/527/repository/branches","labels":"http://159.27.226.4/api/v4/projects/527/labels","events":"http://159.27.226.4/api/v4/projects/527/events","members":"http://159.27.226.4/api/v4/projects/527/members","cluster_agents":"http://159.27.226.4/api/v4/projects/527/cluster_agents"},"packages_enabled":true,"empty_repo":false,"archived":false,"visibility":"private","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-01-31T03:34:42.574Z"},"issues_enabled":true,"merge_requests_enabled":true,"wiki_enabled":true,"jobs_enabled":true,"snippets_enabled":true,"container_registry_enabled":true,"service_desk_enabled":false,"service_desk_address":null,"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":"enabled","builds_access_level":"enabled","snippets_access_level":"enabled","pages_access_level":"private","operations_access_level":"enabled","analytics_access_level":"enabled","container_registry_access_level":"enabled","security_and_compliance_access_level":"private","emails_disabled":null,"shared_runners_enabled":true,"lfs_enabled":true,"creator_id":6,"import_url":null,"import_type":null,"import_status":"none","open_issues_count":0,"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":[],"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":false,"auto_devops_deploy_strategy":"continuous","autoclose_referenced_issues":true,"keep_latest_artifact":true,"runner_token_expiration_interval":null,"permissions":{"project_access":{"access_level":40,"notification_level":3},"group_access":null}}]
Success: Status code 200 is in the accepted range: 100:399
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] readJSON
[Pipeline] echo
hardware/polaris
[Pipeline] echo
527
[Pipeline] echo
527
[Pipeline] dir
Running in /root/workspace/polaris
[Pipeline] {
[Pipeline] dir
Running in /root/workspace/polaris/polaris
[Pipeline] {
[Pipeline] sh
+ echo -n '{"module":['
[Pipeline] sh
+ git rev-parse --short HEAD
[Pipeline] sh
+ python3 /root/weilk/project/get_git_now.py 527 d96d8de
[Pipeline] echo
"device":1,"device_name":"none","type":1,"project":"0"
[Pipeline] sh
+ echo -n '{"repo_name":"polaris","branch":"v3.0","port":"hairun","time":"2024-09-10_14-51-13","commit_id":"d96d8de","version":"","commit_msgs":",IHYzLjDlrprkvY0g6K6w5b2VcnRjbeaVsOaNrg==,"}],"device":1,"device_name":"none","type":1,"project":"0"}'
[Pipeline] sh
+ cat /root/workspace/polaris/version.json
{"module":[{"repo_name":"polaris","branch":"v3.0","port":"hairun","time":"2024-09-10_14-51-13","commit_id":"d96d8de","version":"","commit_msgs":",IHYzLjDlrprkvY0g6K6w5b2VcnRjbeaVsOaNrg==,"}],"device":1,"device_name":"none","type":1,"project":"0"}
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ cp -r polaris/ polaris_2024-09-10_14-51-19/
[Pipeline] sh
+ rm -rf polaris_2024-09-10_14-51-19/.git/
[Pipeline] sh
+ zip -rq polaris_2024-09-10_14-51-19.zip ./polaris_2024-09-10_14-51-19/ ./version.json
[Pipeline] sh
+ ls /root/workspace/polaris/
polaris
polaris_2024-09-10_14-51-19
polaris_2024-09-10_14-51-19.zip
polaris@tmp
version.json
[Pipeline] sh
+ curl -X POST http://143.64.91.51:18081/prod-api/otaUploadFileAndVersion --form 'Content-Type="multipart/form-data"' --form 'file=@"/root/workspace/polaris/polaris_2024-09-10_14-51-19.zip"' --form 'version=@"/root/workspace/polaris/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 11.2M    0     0  100 11.2M      0  9564k  0:00:01  0:00:01 --:--:-- 9564k
100 11.2M    0     0  100 11.2M      0  5218k  0:00:02  0:00:02 --:--:-- 5218k
100 11.2M    0     0  100 11.2M      0  3586k  0:00:03  0:00:03 --:--:-- 3587k
100 11.2M    0     0  100 11.2M      0  2732k  0:00:04  0:00:04 --:--:-- 2732k
100 11.2M    0     0  100 11.2M      0  2206k  0:00:05  0:00:05 --:--:-- 2206k
100 11.2M    0     0  100 11.2M      0  1850k  0:00:06  0:00:06 --:--:--     0
100 11.2M    0     0  100 11.2M      0  1593k  0:00:07  0:00:07 --:--:--     0
100 11.2M    0     0  100 11.2M      0  1399k  0:00:08  0:00:08 --:--:--     0
100 11.2M    0     0  100 11.2M      0  1247k  0:00:09  0:00:09 --:--:--     0
100 11.2M    0     0  100 11.2M      0  1125k  0:00:10  0:00:10 --:--:--     0
100 11.2M    0     0  100 11.2M      0  1024k  0:00:11  0:00:11 --:--:--     0
100 11.2M    0     0  100 11.2M      0   940k  0:00:12  0:00:12 --:--:--     0
100 11.2M    0     0  100 11.2M      0   869k  0:00:13  0:00:13 --:--:--     0
100 11.2M    0     0  100 11.2M      0   808k  0:00:14  0:00:14 --:--:--     0
100 11.2M    0     0  100 11.2M      0   755k  0:00:15  0:00:15 --:--:--     0
100 11.2M    0     0  100 11.2M      0   708k  0:00:16  0:00:16 --:--:--     0
100 11.2M    0     0  100 11.2M      0   667k  0:00:17  0:00:17 --:--:--     0
100 11.2M    0     0  100 11.2M      0   630k  0:00:18  0:00:18 --:--:--     0
100 11.2M    0     0  100 11.2M      0   597k  0:00:19  0:00:19 --:--:--     0
100 11.2M    0     0  100 11.2M      0   568k  0:00:20  0:00:20 --:--:--     0
100 11.2M    0     0  100 11.2M      0   541k  0:00:21  0:00:21 --:--:--     0
100 11.2M    0     0  100 11.2M      0   516k  0:00:22  0:00:22 --:--:--     0
100 11.2M    0     0  100 11.2M      0   494k  0:00:23  0:00:23 --:--:--     0
100 11.2M    0     0  100 11.2M      0   474k  0:00:24  0:00:24 --:--:--     0
100 11.2M    0     0  100 11.2M      0   455k  0:00:25  0:00:25 --:--:--     0
100 11.2M    0     0  100 11.2M      0   437k  0:00:26  0:00:26 --:--:--     0
100 11.2M    0     0  100 11.2M      0   421k  0:00:27  0:00:27 --:--:--     0
100 11.2M    0     0  100 11.2M      0   406k  0:00:28  0:00:28 --:--:--     0
100 11.2M    0     0  100 11.2M      0   392k  0:00:29  0:00:29 --:--:--     0
100 11.2M    0     0  100 11.2M      0   379k  0:00:30  0:00:30 --:--:--     0
100 11.2M    0     0  100 11.2M      0   367k  0:00:31  0:00:31 --:--:--     0
100 11.2M    0     0  100 11.2M      0   356k  0:00:32  0:00:32 --:--:--     0
100 11.2M    0     0  100 11.2M      0   345k  0:00:33  0:00:33 --:--:--     0
100 11.2M    0     0  100 11.2M      0   335k  0:00:34  0:00:34 --:--:--     0
100 11.2M    0     0  100 11.2M      0   325k  0:00:35  0:00:35 --:--:--     0
100 11.2M    0     0  100 11.2M      0   316k  0:00:36  0:00:36 --:--:--     0
100 11.2M    0     0  100 11.2M      0   308k  0:00:37  0:00:37 --:--:--     0
100 11.2M    0     0  100 11.2M      0   300k  0:00:38  0:00:38 --:--:--     0
100 11.2M    0     0  100 11.2M      0   292k  0:00:39  0:00:39 --:--:--     0
100 11.2M    0     0  100 11.2M      0   285k  0:00:40  0:00:40 --:--:--     0
100 11.2M    0     0  100 11.2M      0   278k  0:00:41  0:00:41 --:--:--     0
100 11.2M    0     0  100 11.2M      0   271k  0:00:42  0:00:42 --:--:--     0
100 11.2M    0     0  100 11.2M      0   265k  0:00:43  0:00:43 --:--:--     0
100 11.2M    0     0  100 11.2M      0   259k  0:00:44  0:00:44 --:--:--     0
100 11.2M    0     0  100 11.2M      0   253k  0:00:45  0:00:45 --:--:--     0
100 11.2M    0     0  100 11.2M      0   248k  0:00:46  0:00:46 --:--:--     0
100 11.2M    0     0  100 11.2M      0   243k  0:00:47  0:00:47 --:--:--     0
100 11.2M    0     0  100 11.2M      0   238k  0:00:48  0:00:48 --:--:--     0
100 11.2M    0     0  100 11.2M      0   233k  0:00:49  0:00:49 --:--:--     0
100 11.2M    0     0  100 11.2M      0   228k  0:00:50  0:00:50 --:--:--     0
100 11.2M    0     0  100 11.2M      0   224k  0:00:51  0:00:51 --:--:--     0
100 11.2M    0     0  100 11.2M      0   219k  0:00:52  0:00:52 --:--:--     0
100 11.2M    0     0  100 11.2M      0   215k  0:00:53  0:00:53 --:--:--     0
100 11.2M    0     0  100 11.2M      0   211k  0:00:54  0:00:54 --:--:--     0
100 11.2M    0     0  100 11.2M      0   207k  0:00:55  0:00:55 --:--:--     0
100 11.2M    0     0  100 11.2M      0   204k  0:00:56  0:00:56 --:--:--     0
100 11.2M    0     0  100 11.2M      0   200k  0:00:57  0:00:57 --:--:--     0
100 11.2M    0     0  100 11.2M      0   197k  0:00:58  0:00:58 --:--:--     0
100 11.2M    0     0  100 11.2M      0   193k  0:00:59  0:00:59 --:--:--     0
100 11.2M    0     0  100 11.2M      0   190k  0:01:00  0:01:00 --:--:--     0
100 11.2M    0     0  100 11.2M      0   187k  0:01:01  0:01:01 --:--:--     0
100 11.2M    0     0  100 11.2M      0   184k  0:01:02  0:01:02 --:--:--     0
100 11.2M    0     0  100 11.2M      0   181k  0:01:03  0:01:03 --:--:--     0
100 11.2M    0     0  100 11.2M      0   178k  0:01:04  0:01:04 --:--:--     0
100 11.2M    0     0  100 11.2M      0   175k  0:01:05  0:01:05 --:--:--     0
100 11.2M    0     0  100 11.2M      0   173k  0:01:06  0:01:06 --:--:--     0
100 11.2M    0     0  100 11.2M      0   170k  0:01:07  0:01:07 --:--:--     0Aborted by weilikang
Sending interrupt signal to process
100 11.2M    0     0  100 11.2M      0   168k  0:01:08  0:01:08 --:--:--     0script returned exit code 143
[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] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: ABORTED