Started by user Cherry Wang Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh560403435610604165.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6431760248711982287.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f1d79d91c36788821211008368c3015072ca53ca The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1220158105702251119.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh861224757550397215.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9082641382459427233.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-477’ is offline Running on prd-centos7-docker-4c-2g-599 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-rest-go_main@tmp/jenkins-gitclient-ssh3314559312725494615.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 Commit message: "Merge pull request #137 from hahattan/issue-136" > git rev-list --no-walk dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:33:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:33:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:33:04 ========================================================= 06:33:04 EdgeX Global Pipelines Version Info 06:33:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:33:05 ------------------- 06:33:05 stable info: 06:33:05 ------------------- 06:33:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:33:05 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 06:33:05 Message: update stable to v1.0.209 06:33:06 ------------------- 06:33:06 experimental info: 06:33:06 ------------------- 06:33:06 Commited By: **** collab-it+edgex@linuxfoundation.org 06:33:06 Commit SHA: f1d79d91c36788821211008368c3015072ca53ca 06:33:06 Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dfe1eec [Pipeline] echo 06:33:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:33:06 provisioning config files... 06:33:06 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1440320810193859676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:07 ---> docker-login.sh 06:33:07 nexus3.edgexfoundry.org:10001 06:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:07 Configure a credential helper to remove this warning. See 06:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:07 06:33:07 Login Succeeded 06:33:07 nexus3.edgexfoundry.org:10002 06:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:07 Configure a credential helper to remove this warning. See 06:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:07 06:33:07 Login Succeeded 06:33:07 nexus3.edgexfoundry.org:10003 06:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:07 Configure a credential helper to remove this warning. See 06:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:07 06:33:07 Login Succeeded 06:33:07 nexus3.edgexfoundry.org:10004 06:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:07 Configure a credential helper to remove this warning. See 06:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:07 06:33:07 Login Succeeded 06:33:07 docker.io 06:33:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:08 Configure a credential helper to remove this warning. See 06:33:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:08 06:33:08 Login Succeeded 06:33:08 ---> docker-login.sh ends [Pipeline] } 06:33:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:33:08 + git log --format=format:%s -1 dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] echo 06:33:08 GIT_COMMIT: dfe1eecf97bbb3fc78e576d46b1f52bb386bd406, Commit Message: Merge pull request #137 from hahattan/issue-136 [Pipeline] echo 06:33:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:33:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:33:09 06:33:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:33:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:33:09 latest: Pulling from edgex-devops/git-semver 06:33:09 a0d0a0d46f8b: Pulling fs layer 06:33:09 3e5f54012d9b: Pulling fs layer 06:33:09 4c7163046ea9: Pulling fs layer 06:33:09 0c2d73faf560: Pulling fs layer 06:33:09 0c2d73faf560: Waiting 06:33:09 3e5f54012d9b: Verifying Checksum 06:33:09 3e5f54012d9b: Download complete 06:33:09 a0d0a0d46f8b: Verifying Checksum 06:33:09 a0d0a0d46f8b: Download complete 06:33:09 0c2d73faf560: Verifying Checksum 06:33:09 0c2d73faf560: Download complete 06:33:09 4c7163046ea9: Verifying Checksum 06:33:09 4c7163046ea9: Download complete 06:33:10 a0d0a0d46f8b: Pull complete 06:33:10 3e5f54012d9b: Pull complete 06:33:10 4c7163046ea9: Pull complete 06:33:10 0c2d73faf560: Pull complete 06:33:10 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 06:33:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:33:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:33:10 prd-centos7-docker-4c-2g-599 does not seem to be running inside a container 06:33:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:33:10 $ docker top 9c6a67991a6431f40beea3880b76ae2b8472b04fe1b431d29f8891336b3893cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:33:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:11 [ssh-agent] Looking for ssh-agent implementation... 06:33:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:11 $ docker exec 9c6a67991a6431f40beea3880b76ae2b8472b04fe1b431d29f8891336b3893cc ssh-agent 06:33:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEJCHlI/agent.14 06:33:11 SSH_AGENT_PID=20 06:33:11 Running ssh-add (command line suppressed) 06:33:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2930560786624679060.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2930560786624679060.key) 06:33:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:12 + git tag --points-at HEAD [Pipeline] } 06:33:11 $ docker exec --env ******** --env ******** 9c6a67991a6431f40beea3880b76ae2b8472b04fe1b431d29f8891336b3893cc ssh-agent -k 06:33:11 unset SSH_AUTH_SOCK; 06:33:11 unset SSH_AGENT_PID; 06:33:11 echo Agent pid 20 killed; 06:33:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:33:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:33:12 [ssh-agent] Looking for ssh-agent implementation... 06:33:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:33:11 $ docker exec 9c6a67991a6431f40beea3880b76ae2b8472b04fe1b431d29f8891336b3893cc ssh-agent 06:33:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgkjDGe/agent.53 06:33:12 SSH_AGENT_PID=59 06:33:12 Running ssh-add (command line suppressed) 06:33:12 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7436619690098944029.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7436619690098944029.key) 06:33:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:33:12 + git semver init 06:33:12 # -> Open(): unable to determine branch for HEAD 06:33:12 # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git 06:33:12 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main 06:33:12 # $SEMVER_REMOTE_NAME = origin 06:33:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:33:12 # $SEMVER_USER_NAME = edgex-jenkins 06:33:12 # $SEMVER_BRANCH = main 06:33:12 # $SEMVER_TEMP = /tmp/semver-814349815 06:33:12 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 06:33:14 # '/tmp/semver-814349815' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' 06:33:14 # -> Force: false 06:33:14 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } 06:33:14 $ docker exec --env ******** --env ******** 9c6a67991a6431f40beea3880b76ae2b8472b04fe1b431d29f8891336b3893cc ssh-agent -k 06:33:14 unset SSH_AUTH_SOCK; 06:33:14 unset SSH_AGENT_PID; 06:33:14 echo Agent pid 59 killed; 06:33:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:33:14 + git semver [Pipeline] } 06:33:14 $ docker stop --time=1 9c6a67991a6431f40beea3880b76ae2b8472b04fe1b431d29f8891336b3893cc 06:33:15 $ docker rm -f 9c6a67991a6431f40beea3880b76ae2b8472b04fe1b431d29f8891336b3893cc [Pipeline] // withDockerContainer [Pipeline] sh 06:33:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:33:16 Stashed 1 file(s) [Pipeline] echo 06:33:16 [edgeXSemver]: initialized semver on version 2.0.1-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:33:31 Still waiting to schedule task 06:33:31 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:33:31 Still waiting to schedule task 06:33:31 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:35:49 Running on prd-centos7-docker-4c-2g-602 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 06:35:49 Running in /w/workspace/device-rest-go/13 [Pipeline] { [Pipeline] checkout 06:35:49 The recommended git tool is: git 06:35:51 using credential edgex-jenkins-ssh 06:35:51 Cloning the remote Git repository 06:35:50 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:35:50 > git init /w/workspace/device-rest-go/13 # timeout=10 06:35:50 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:35:50 > git --version # timeout=10 06:35:50 > git --version # 'git version 2.24.4' 06:35:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:35:50 [INFO] Currently running in a labeled security context 06:35:50 [INFO] Currently SELinux is 'enforcing' on the host 06:35:50 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/13@tmp/jenkins-gitclient-ssh8678146854058700615.key 06:35:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:35:51 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:35:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:35:52 Avoid second fetch 06:35:52 Checking out Revision dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (main) 06:35:51 > git config core.sparsecheckout # timeout=10 06:35:51 > git checkout -f dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 06:35:56 Commit message: "Merge pull request #137 from hahattan/issue-136" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:35:57 provisioning config files... 06:35:57 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/13@tmp/config407158157468445514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:35:57 ---> docker-login.sh 06:35:57 nexus3.edgexfoundry.org:10001 06:35:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:57 Configure a credential helper to remove this warning. See 06:35:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:57 06:35:57 Login Succeeded 06:35:57 nexus3.edgexfoundry.org:10002 06:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:58 Configure a credential helper to remove this warning. See 06:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:58 06:35:58 Login Succeeded 06:35:58 nexus3.edgexfoundry.org:10003 06:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:58 Configure a credential helper to remove this warning. See 06:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:58 06:35:58 Login Succeeded 06:35:58 nexus3.edgexfoundry.org:10004 06:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:58 Configure a credential helper to remove this warning. See 06:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:58 06:35:58 Login Succeeded 06:35:58 docker.io 06:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:58 Configure a credential helper to remove this warning. See 06:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:58 06:35:58 Login Succeeded 06:35:58 ---> docker-login.sh ends [Pipeline] } 06:35:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:35:59 ========================================================= 06:35:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 06:35:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:35:59 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 06:35:59 Sending build context to Docker daemon 118.8kB 06:35:59 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 06:35:59 Step 2/11 : FROM ${BASE} AS builder 06:35:59 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 06:35:59 4e9f2cdf4387: Pulling fs layer 06:35:59 57d31006c564: Pulling fs layer 06:35:59 bd5ccded8296: Pulling fs layer 06:35:59 304dd3a0f381: Pulling fs layer 06:35:59 d37cda54a23b: Pulling fs layer 06:35:59 bae75c0f2455: Pulling fs layer 06:35:59 806579b3d29a: Pulling fs layer 06:35:59 c77eb801bf70: Pulling fs layer 06:35:59 6d0567d44e1a: Pulling fs layer 06:35:59 304dd3a0f381: Waiting 06:35:59 d37cda54a23b: Waiting 06:35:59 bae75c0f2455: Waiting 06:35:59 806579b3d29a: Waiting 06:35:59 c77eb801bf70: Waiting 06:35:59 6d0567d44e1a: Waiting 06:35:59 bd5ccded8296: Verifying Checksum 06:35:59 bd5ccded8296: Download complete 06:35:59 57d31006c564: Verifying Checksum 06:35:59 57d31006c564: Download complete 06:35:59 d37cda54a23b: Verifying Checksum 06:35:59 d37cda54a23b: Download complete 06:35:59 bae75c0f2455: Verifying Checksum 06:35:59 bae75c0f2455: Download complete 06:35:59 806579b3d29a: Verifying Checksum 06:35:59 806579b3d29a: Download complete 06:35:59 4e9f2cdf4387: Verifying Checksum 06:35:59 4e9f2cdf4387: Download complete 06:35:59 c77eb801bf70: Verifying Checksum 06:35:59 c77eb801bf70: Download complete 06:36:00 6d0567d44e1a: Verifying Checksum 06:36:00 6d0567d44e1a: Download complete 06:36:00 4e9f2cdf4387: Pull complete 06:36:00 304dd3a0f381: Verifying Checksum 06:36:00 304dd3a0f381: Download complete 06:36:00 57d31006c564: Pull complete 06:36:00 bd5ccded8296: Pull complete 06:36:04 304dd3a0f381: Pull complete 06:36:04 d37cda54a23b: Pull complete 06:36:04 bae75c0f2455: Pull complete 06:36:04 806579b3d29a: Pull complete 06:36:04 c77eb801bf70: Pull complete 06:36:07 6d0567d44e1a: Pull complete 06:36:07 Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd 06:36:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 06:36:07 ---> e839a31ac9d1 06:36:07 Step 3/11 : ARG MAKE='make build' 06:36:09 ---> Running in 9ae67ba5761f 06:36:09 Removing intermediate container 9ae67ba5761f 06:36:09 ---> 73169b80bb83 06:36:09 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:36:09 ---> Running in 4861e9d0392c 06:36:09 Removing intermediate container 4861e9d0392c 06:36:09 ---> d7cf22f18bd1 06:36:09 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 06:36:09 ---> Running in 95d7a63fa5e7 06:36:09 Removing intermediate container 95d7a63fa5e7 06:36:09 ---> 0f7a68480ca1 06:36:09 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:36:09 ---> Running in 739abe22ab47 06:36:10 Removing intermediate container 739abe22ab47 06:36:10 ---> 5e1347111957 06:36:10 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:36:10 ---> Running in ae2110ae3022 06:36:10 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:36:11 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 06:36:11 (1/3) Installing openssh-keygen (8.4_p1-r4) 06:36:11 (2/3) Installing libedit (20191231.3.1-r1) 06:36:11 (3/3) Installing openssh-client (8.4_p1-r4) 06:36:12 Executing busybox-1.32.1-r6.trigger 06:36:12 OK: 223 MiB in 55 packages 06:36:12 Removing intermediate container ae2110ae3022 06:36:12 ---> d3f6ede26e9e 06:36:12 Step 8/11 : WORKDIR /device-rest-go 06:36:12 ---> Running in 4f25451f978d 06:36:12 Removing intermediate container 4f25451f978d 06:36:12 ---> 80bf88bed9e9 06:36:12 Step 9/11 : COPY . . 06:36:12 ---> ba90744a7025 06:36:12 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:36:12 ---> Running in 7366c7eb2c4f 06:36:14 Running on prd-ubuntu18.04-docker-arm64-4c-16g-601 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 06:36:14 Running in /w/workspace/device-rest-go/13 [Pipeline] { [Pipeline] checkout 06:36:15 The recommended git tool is: git 06:36:21 using credential edgex-jenkins-ssh 06:36:21 Cloning the remote Git repository 06:36:21 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:36:21 > git init /w/workspace/device-rest-go/13 # timeout=10 06:36:21 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:36:21 > git --version # timeout=10 06:36:21 > git --version # 'git version 2.17.1' 06:36:21 using GIT_SSH to set credentials SSH Credentials for GitHub 06:36:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:22 Removing intermediate container 7366c7eb2c4f 06:36:22 ---> 164fbdefd116 06:36:22 Step 11/11 : RUN $MAKE 06:36:22 ---> Running in 37ae926f7694 06:36:23 noop 06:36:23 Avoid second fetch 06:36:23 Checking out Revision dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 (main) 06:36:23 Removing intermediate container 37ae926f7694 06:36:23 ---> 434907bfbe87 06:36:23 Successfully built 434907bfbe87 06:36:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:36:23 + docker inspect -f . ci-base-image-x86_64 06:36:23 . [Pipeline] withDockerContainer 06:36:23 prd-centos7-docker-4c-2g-602 does not seem to be running inside a container 06:36:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:36:23 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:36:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:36:23 > git config core.sparsecheckout # timeout=10 06:36:23 > git checkout -f dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 # timeout=10 06:36:24 $ docker top 6a962149e3bfc990aec61de64853c616bbdaf431b5652e19460c979c71264d1c -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:24 + go version 06:36:24 go version go1.16.8 linux/amd64 [Pipeline] } 06:36:24 $ docker stop --time=1 6a962149e3bfc990aec61de64853c616bbdaf431b5652e19460c979c71264d1c 06:36:25 $ docker rm -f 6a962149e3bfc990aec61de64853c616bbdaf431b5652e19460c979c71264d1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:36:26 + docker inspect -f . ci-base-image-x86_64 06:36:26 . [Pipeline] withDockerContainer 06:36:26 prd-centos7-docker-4c-2g-602 does not seem to be running inside a container 06:36:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:36:26 $ docker top ddcdd37003b59391984646b7b77c7e8298ef6863b4dc15b34241faf4bbab9081 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:36:27 + make test 06:36:27 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:36:27 ? github.com/edgexfoundry/device-rest-go [no test files] 06:36:27 Commit message: "Merge pull request #137 from hahattan/issue-136" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:36:27 provisioning config files... 06:36:27 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/13@tmp/config5800946017758690019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:28 ---> docker-login.sh 06:36:28 nexus3.edgexfoundry.org:10001 06:36:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:30 Configure a credential helper to remove this warning. See 06:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:30 06:36:30 Login Succeeded 06:36:30 nexus3.edgexfoundry.org:10002 06:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:30 Configure a credential helper to remove this warning. See 06:36:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:30 06:36:30 Login Succeeded 06:36:30 nexus3.edgexfoundry.org:10003 06:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:31 Configure a credential helper to remove this warning. See 06:36:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:31 06:36:31 Login Succeeded 06:36:31 nexus3.edgexfoundry.org:10004 06:36:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:31 Configure a credential helper to remove this warning. See 06:36:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:31 06:36:31 Login Succeeded 06:36:31 docker.io 06:36:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:36:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:36:32 Configure a credential helper to remove this warning. See 06:36:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:36:32 06:36:32 Login Succeeded 06:36:32 ---> docker-login.sh ends [Pipeline] } 06:36:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:36:33 ========================================================= 06:36:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 06:36:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:36:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 06:36:33 Sending build context to Docker daemon 118.8kB 06:36:33 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 06:36:33 Step 2/11 : FROM ${BASE} AS builder 06:36:34 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:36:34 bbf911997326: Pulling fs layer 06:36:34 58ec367f63d7: Pulling fs layer 06:36:34 1b4a6ffa7d45: Pulling fs layer 06:36:34 fc5181fea5dc: Pulling fs layer 06:36:34 9c418107303f: Pulling fs layer 06:36:34 284eca6f2348: Pulling fs layer 06:36:34 842844d905b1: Pulling fs layer 06:36:34 901a3a57568e: Pulling fs layer 06:36:34 fc5181fea5dc: Waiting 06:36:34 9c418107303f: Waiting 06:36:34 284eca6f2348: Waiting 06:36:34 842844d905b1: Waiting 06:36:34 901a3a57568e: Waiting 06:36:34 1b4a6ffa7d45: Verifying Checksum 06:36:34 1b4a6ffa7d45: Download complete 06:36:34 58ec367f63d7: Verifying Checksum 06:36:34 58ec367f63d7: Download complete 06:36:34 9c418107303f: Verifying Checksum 06:36:34 9c418107303f: Download complete 06:36:34 284eca6f2348: Verifying Checksum 06:36:34 284eca6f2348: Download complete 06:36:34 842844d905b1: Verifying Checksum 06:36:34 842844d905b1: Download complete 06:36:34 bbf911997326: Verifying Checksum 06:36:34 bbf911997326: Download complete 06:36:35 bbf911997326: Pull complete 06:36:36 58ec367f63d7: Pull complete 06:36:36 1b4a6ffa7d45: Pull complete 06:36:36 901a3a57568e: Verifying Checksum 06:36:36 901a3a57568e: Download complete 06:36:36 fc5181fea5dc: Verifying Checksum 06:36:36 fc5181fea5dc: Download complete 06:36:45 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:36:45 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 53.8% of statements 06:36:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:36:46 fc5181fea5dc: Pull complete 06:36:46 9c418107303f: Pull complete 06:36:47 284eca6f2348: Pull complete 06:36:47 842844d905b1: Pull complete 06:36:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:36:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:36:50 ./bin/test-attribution-txt.sh [Pipeline] } 06:36:51 $ docker stop --time=1 ddcdd37003b59391984646b7b77c7e8298ef6863b4dc15b34241faf4bbab9081 06:36:52 $ docker rm -f ddcdd37003b59391984646b7b77c7e8298ef6863b4dc15b34241faf4bbab9081 [Pipeline] // withDockerContainer [Pipeline] sh 06:36:53 901a3a57568e: Pull complete 06:36:53 Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 06:36:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 06:36:53 ---> 72ade6ffb461 06:36:53 Step 3/11 : ARG MAKE='make build' 06:36:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:36:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:36:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:36:55 + ls -al . 06:36:55 total 116 06:36:55 drwxrwxr-x. 8 jenkins jenkins 4096 Oct 12 06:36 . 06:36:55 drwxrwxr-x. 4 jenkins jenkins 30 Oct 12 06:35 .. 06:36:55 -rw-rw-r--. 1 jenkins jenkins 6792 Oct 12 06:35 Attribution.txt 06:36:55 drwxrwxr-x. 2 jenkins jenkins 37 Oct 12 06:35 bin 06:36:55 -rw-rw-r--. 1 jenkins jenkins 7459 Oct 12 06:35 CHANGELOG.md 06:36:55 drwxrwxr-x. 3 jenkins jenkins 32 Oct 12 06:35 cmd 06:36:55 -rw-r--r--. 1 jenkins jenkins 8435 Oct 12 06:36 coverage.out 06:36:55 -rw-rw-r--. 1 jenkins jenkins 1649 Oct 12 06:35 Dockerfile 06:36:55 -rw-rw-r--. 1 jenkins jenkins 151 Oct 12 06:35 .dockerignore 06:36:55 drwxrwxr-x. 2 jenkins jenkins 76 Oct 12 06:35 driver 06:36:55 drwxrwxr-x. 8 jenkins jenkins 162 Oct 12 06:35 .git 06:36:55 drwxrwxr-x. 2 jenkins jenkins 103 Oct 12 06:35 .github 06:36:55 -rw-rw-r--. 1 jenkins jenkins 329 Oct 12 06:35 .gitignore 06:36:55 -rw-rw-r--. 1 jenkins jenkins 271 Oct 12 06:35 go.mod 06:36:55 -rw-rw-r--. 1 jenkins jenkins 20570 Oct 12 06:35 go.sum 06:36:55 -rw-rw-r--. 1 jenkins jenkins 677 Oct 12 06:35 GOVERNANCE.md 06:36:55 -rw-rw-r--. 1 jenkins jenkins 680 Oct 12 06:35 Jenkinsfile 06:36:55 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 12 06:35 LICENSE 06:36:55 -rw-rw-r--. 1 jenkins jenkins 1078 Oct 12 06:35 Makefile 06:36:55 -rw-rw-r--. 1 jenkins jenkins 620 Oct 12 06:35 OWNERS.md 06:36:55 -rw-rw-r--. 1 jenkins jenkins 7661 Oct 12 06:35 README.md 06:36:55 drwxrwxr-x. 4 jenkins jenkins 71 Oct 12 06:35 snap 06:36:55 -rw-rw-r--. 1 jenkins jenkins 11 Oct 12 06:33 VERSION 06:36:55 -rw-rw-r--. 1 jenkins jenkins 713 Oct 12 06:35 version.go [Pipeline] isUnix [Pipeline] sh 06:36:55 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 --label arch=amd64 --label version=2.0.1-dev.9 . 06:36:55 Sending build context to Docker daemon 128kB 06:36:55 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 06:36:55 Step 2/24 : FROM ${BASE} AS builder 06:36:55 ---> 434907bfbe87 06:36:55 Step 3/24 : ARG MAKE='make build' 06:36:55 ---> Running in c2cdedee1cf4 06:36:55 Removing intermediate container c2cdedee1cf4 06:36:55 ---> 286eae1ce393 06:36:55 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:36:55 ---> Running in ed932a437534 06:36:55 Removing intermediate container ed932a437534 06:36:55 ---> 7bcf521eb585 06:36:55 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:36:55 ---> Running in ddbbeab09461 06:36:55 Removing intermediate container ddbbeab09461 06:36:55 ---> 1eb6f1d7b564 06:36:55 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:36:55 ---> Running in dee42ae55c8e 06:36:56 Removing intermediate container dee42ae55c8e 06:36:56 ---> 6b1927c8b7fb 06:36:56 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:36:56 ---> Running in d29897d0cf16 06:36:56 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 06:36:57 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 06:36:57 ---> Running in 8e71df8d6948 06:36:57 OK: 223 MiB in 55 packages 06:36:57 Removing intermediate container 8e71df8d6948 06:36:57 ---> 9b3dd90a69f1 06:36:57 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:36:57 ---> Running in 2409e89edf62 06:36:57 Removing intermediate container d29897d0cf16 06:36:57 ---> c073fa073dfb 06:36:57 Step 8/24 : WORKDIR /device-rest-go 06:36:57 ---> Running in 98af8eab889a 06:36:58 Removing intermediate container 98af8eab889a 06:36:58 ---> ee3e818d5919 06:36:58 Step 9/24 : COPY . . 06:36:58 ---> 38f13a49349e 06:36:58 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:36:58 Removing intermediate container 2409e89edf62 06:36:58 ---> 3fc17aaef971 06:36:58 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 06:36:58 ---> Running in 72e249df6f03 06:36:58 ---> Running in ba73dff3a30a 06:36:58 Removing intermediate container 72e249df6f03 06:36:58 ---> 7fce09f2fd21 06:36:58 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:36:59 ---> Running in e06e15e85df3 06:36:59 Removing intermediate container ba73dff3a30a 06:36:59 ---> e4b48c9a1aaf 06:36:59 Step 11/24 : RUN $MAKE 06:36:59 ---> Running in c5d0c6d97519 06:36:59 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.9" -o cmd/device-rest ./cmd 06:37:01 Removing intermediate container e06e15e85df3 06:37:01 ---> 092441b82099 06:37:01 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:37:01 ---> Running in c57584643968 06:37:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:37:03 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:37:04 (1/3) Installing openssh-keygen (8.4_p1-r4) 06:37:04 (2/3) Installing libedit (20191231.3.1-r1) 06:37:04 (3/3) Installing openssh-client (8.4_p1-r4) 06:37:04 Executing busybox-1.32.1-r6.trigger 06:37:04 OK: 222 MiB in 55 packages 06:37:06 Removing intermediate container c57584643968 06:37:06 ---> d450c1293089 06:37:06 Step 8/11 : WORKDIR /device-rest-go 06:37:06 ---> Running in bf83743baa0b 06:37:07 Removing intermediate container bf83743baa0b 06:37:07 ---> 7d7698528583 06:37:07 Step 9/11 : COPY . . 06:37:07 ---> ddd847b804cd 06:37:07 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:37:07 ---> Running in 4ebe65061f8a 06:37:11 Removing intermediate container c5d0c6d97519 06:37:11 ---> 10817bb19229 06:37:11 Step 12/24 : FROM alpine:3.14 06:37:11 3.14: Pulling from library/alpine 06:37:11 a0d0a0d46f8b: Pulling fs layer 06:37:11 a0d0a0d46f8b: Download complete 06:37:11 a0d0a0d46f8b: Pull complete 06:37:11 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 06:37:11 Status: Downloaded newer image for alpine:3.14 06:37:11 ---> 14119a10abf4 06:37:11 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:37:11 ---> Running in d053f2ace82a 06:37:12 Removing intermediate container d053f2ace82a 06:37:12 ---> 670880509036 06:37:12 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 06:37:12 ---> Running in bf79aaf19143 06:37:12 Removing intermediate container bf79aaf19143 06:37:12 ---> ce16430eb03b 06:37:12 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 06:37:12 ---> Running in e578bbf19939 06:37:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:37:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:37:12 (1/6) Installing dumb-init (1.2.5-r1) 06:37:12 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:37:12 (3/6) Installing libsodium (1.0.18-r0) 06:37:12 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:37:12 (5/6) Installing libzmq (4.3.4-r0) 06:37:12 (6/6) Installing zeromq (4.3.4-r0) 06:37:12 Executing busybox-1.33.1-r3.trigger 06:37:12 OK: 8 MiB in 20 packages 06:37:13 Removing intermediate container e578bbf19939 06:37:13 ---> f59166e687df 06:37:13 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 06:37:13 ---> 41cf4721eac8 06:37:13 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 06:37:13 ---> 7fecf57aee8d 06:37:13 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 06:37:13 ---> 0ac0e25ac0bd 06:37:13 Step 19/24 : EXPOSE 59986 06:37:13 ---> Running in cb8b654b59d3 06:37:14 Removing intermediate container cb8b654b59d3 06:37:14 ---> 1cdbd2d0f17f 06:37:14 Step 20/24 : ENTRYPOINT ["/device-rest"] 06:37:14 ---> Running in da37cca391c9 06:37:14 Removing intermediate container da37cca391c9 06:37:14 ---> c4a9594557f9 06:37:14 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:37:14 ---> Running in 275e55c03e12 06:37:14 Removing intermediate container 275e55c03e12 06:37:14 ---> a13f2fcd3ac5 06:37:14 Step 22/24 : LABEL arch=amd64 06:37:14 ---> Running in 23086230163d 06:37:14 Removing intermediate container 23086230163d 06:37:14 ---> 3f9de621bad7 06:37:14 Step 23/24 : LABEL git_sha=dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 06:37:14 ---> Running in 882f8987125f 06:37:14 Removing intermediate container 882f8987125f 06:37:14 ---> cdd036a1ca44 06:37:14 Step 24/24 : LABEL version=2.0.1-dev.9 06:37:14 ---> Running in dc0e22561779 06:37:14 Removing intermediate container dc0e22561779 06:37:14 ---> 720360f96c0b 06:37:14 [Warning] One or more build-args [ARCH] were not consumed 06:37:14 Successfully built 720360f96c0b 06:37:14 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:37:14 provisioning config files... 06:37:14 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/13@tmp/config7283927666688688734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:15 ---> docker-login.sh 06:37:15 nexus3.edgexfoundry.org:10001 06:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:15 Configure a credential helper to remove this warning. See 06:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:15 06:37:15 Login Succeeded 06:37:15 nexus3.edgexfoundry.org:10002 06:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:15 Configure a credential helper to remove this warning. See 06:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:15 06:37:15 Login Succeeded 06:37:15 nexus3.edgexfoundry.org:10003 06:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:15 Configure a credential helper to remove this warning. See 06:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:15 06:37:15 Login Succeeded 06:37:15 nexus3.edgexfoundry.org:10004 06:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:15 Configure a credential helper to remove this warning. See 06:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:15 06:37:15 Login Succeeded 06:37:15 docker.io 06:37:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:37:15 Configure a credential helper to remove this warning. See 06:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:37:15 06:37:15 Login Succeeded 06:37:15 ---> docker-login.sh ends [Pipeline] } 06:37:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:37:15 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 06:37:15 dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 06:37:15 latest 06:37:15 2.0.1-dev.9 06:37:15 dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 06:37:15 main 06:37:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:37:16 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 [Pipeline] isUnix [Pipeline] sh 06:37:16 + docker push nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 06:37:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:37:16 ec7b34800dba: Preparing 06:37:16 05abcd7a0f1c: Preparing 06:37:16 3e19f36cabb2: Preparing 06:37:16 1ef32e3b7b07: Preparing 06:37:16 e2eb06d8af82: Preparing 06:37:16 e2eb06d8af82: Layer already exists 06:37:16 05abcd7a0f1c: Pushed 06:37:16 ec7b34800dba: Pushed 06:37:16 1ef32e3b7b07: Pushed 06:37:17 3e19f36cabb2: Pushed 06:37:17 dfe1eecf97bbb3fc78e576d46b1f52bb386bd406: digest: sha256:11d7cb61e65d2d65e052766c3821174c66cb3da1192de339d1ee25fada7344ff size: 1366 [Pipeline] isUnix [Pipeline] sh 06:37:18 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 06:37:18 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 06:37:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:37:18 ec7b34800dba: Preparing 06:37:18 05abcd7a0f1c: Preparing 06:37:18 3e19f36cabb2: Preparing 06:37:18 1ef32e3b7b07: Preparing 06:37:18 e2eb06d8af82: Preparing 06:37:18 3e19f36cabb2: Layer already exists 06:37:18 ec7b34800dba: Layer already exists 06:37:18 1ef32e3b7b07: Layer already exists 06:37:18 e2eb06d8af82: Layer already exists 06:37:18 05abcd7a0f1c: Layer already exists 06:37:18 latest: digest: sha256:11d7cb61e65d2d65e052766c3821174c66cb3da1192de339d1ee25fada7344ff size: 1366 [Pipeline] isUnix [Pipeline] sh 06:37:18 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh 06:37:18 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 06:37:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:37:18 ec7b34800dba: Preparing 06:37:18 05abcd7a0f1c: Preparing 06:37:18 3e19f36cabb2: Preparing 06:37:18 1ef32e3b7b07: Preparing 06:37:18 e2eb06d8af82: Preparing 06:37:18 3e19f36cabb2: Layer already exists 06:37:18 05abcd7a0f1c: Layer already exists 06:37:18 e2eb06d8af82: Layer already exists 06:37:18 1ef32e3b7b07: Layer already exists 06:37:18 ec7b34800dba: Layer already exists 06:37:18 2.0.1-dev.9: digest: sha256:11d7cb61e65d2d65e052766c3821174c66cb3da1192de339d1ee25fada7344ff size: 1366 [Pipeline] isUnix [Pipeline] sh 06:37:19 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 [Pipeline] isUnix [Pipeline] sh 06:37:19 + docker push nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 06:37:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:37:19 ec7b34800dba: Preparing 06:37:19 05abcd7a0f1c: Preparing 06:37:19 3e19f36cabb2: Preparing 06:37:19 1ef32e3b7b07: Preparing 06:37:19 e2eb06d8af82: Preparing 06:37:19 e2eb06d8af82: Layer already exists 06:37:19 1ef32e3b7b07: Layer already exists 06:37:19 05abcd7a0f1c: Layer already exists 06:37:19 3e19f36cabb2: Layer already exists 06:37:19 ec7b34800dba: Layer already exists 06:37:19 dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9: digest: sha256:11d7cb61e65d2d65e052766c3821174c66cb3da1192de339d1ee25fada7344ff size: 1366 [Pipeline] isUnix [Pipeline] sh 06:37:19 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 06:37:20 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 06:37:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:37:20 ec7b34800dba: Preparing 06:37:20 05abcd7a0f1c: Preparing 06:37:20 3e19f36cabb2: Preparing 06:37:20 1ef32e3b7b07: Preparing 06:37:20 e2eb06d8af82: Preparing 06:37:20 1ef32e3b7b07: Layer already exists 06:37:20 e2eb06d8af82: Layer already exists 06:37:20 ec7b34800dba: Layer already exists 06:37:20 3e19f36cabb2: Layer already exists 06:37:20 05abcd7a0f1c: Layer already exists 06:37:20 main: digest: sha256:11d7cb61e65d2d65e052766c3821174c66cb3da1192de339d1ee25fada7344ff size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:37:20 ===================================================== [Pipeline] echo 06:37:20 taggedImages: 06:37:20 - nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 06:37:20 - nexus3.edgexfoundry.org:10004/device-rest:latest 06:37:20 - nexus3.edgexfoundry.org:10004/device-rest:2.0.1-dev.9 06:37:20 - nexus3.edgexfoundry.org:10004/device-rest:dfe1eecf97bbb3fc78e576d46b1f52bb386bd406-2.0.1-dev.9 06:37:20 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:37:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:37:20 06:37:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:37:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:37:21 latest: Pulling from edgex-lftools-log-publisher 06:37:21 b4d181a07f80: Pulling fs layer 06:37:21 a1111a8f2ec3: Pulling fs layer 06:37:21 ed53099fbce6: Pulling fs layer 06:37:21 dc539afda2c1: Pulling fs layer 06:37:21 77bc0d833cb6: Pulling fs layer 06:37:21 9065ff56babe: Pulling fs layer 06:37:21 d287ab97295c: Pulling fs layer 06:37:21 d287ab97295c: Waiting 06:37:21 9065ff56babe: Waiting 06:37:21 dc539afda2c1: Waiting 06:37:21 77bc0d833cb6: Waiting 06:37:21 a1111a8f2ec3: Verifying Checksum 06:37:21 a1111a8f2ec3: Download complete 06:37:21 dc539afda2c1: Verifying Checksum 06:37:21 dc539afda2c1: Download complete 06:37:21 ed53099fbce6: Verifying Checksum 06:37:21 ed53099fbce6: Download complete 06:37:21 9065ff56babe: Verifying Checksum 06:37:21 9065ff56babe: Download complete 06:37:21 77bc0d833cb6: Verifying Checksum 06:37:21 77bc0d833cb6: Download complete 06:37:21 b4d181a07f80: Verifying Checksum 06:37:21 b4d181a07f80: Download complete 06:37:21 d287ab97295c: Verifying Checksum 06:37:21 d287ab97295c: Download complete 06:37:22 b4d181a07f80: Pull complete 06:37:22 a1111a8f2ec3: Pull complete 06:37:23 ed53099fbce6: Pull complete 06:37:23 dc539afda2c1: Pull complete 06:37:23 77bc0d833cb6: Pull complete 06:37:23 9065ff56babe: Pull complete 06:37:29 d287ab97295c: Pull complete 06:37:29 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 06:37:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:37:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:37:29 prd-centos7-docker-4c-2g-602 does not seem to be running inside a container 06:37:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:37:31 $ docker top 01d614020c46496f3c620047db5f518ed1032f6b3e48bb2f765c7b81f4803a47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:31 ---> job-cost.sh 06:37:31 lf-activate-venv: SKIPPING 06:37:31 INFO: No Stack... 06:37:32 INFO: Retrieving Pricing Info for: v3-standard-2 06:37:32 INFO: Archiving Costs [Pipeline] sh 06:37:32 + cut -d, -f6 06:37:32 + cat /w/workspace/device-rest-go/13/archives/cost.csv [Pipeline] lock 06:37:32 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] 06:37:32 Resource [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] did not exist. Created. 06:37:32 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:37:33 + echo total: 0.05999999865889549 [Pipeline] stash 06:37:33 Stashed 1 file(s) [Pipeline] } 06:37:33 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] [Pipeline] // lock [Pipeline] } 06:37:33 $ docker stop --time=1 01d614020c46496f3c620047db5f518ed1032f6b3e48bb2f765c7b81f4803a47 06:37:34 $ docker rm -f 01d614020c46496f3c620047db5f518ed1032f6b3e48bb2f765c7b81f4803a47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:37:34 Removing intermediate container 4ebe65061f8a 06:37:34 ---> 9b379c59542e 06:37:34 Step 11/11 : RUN $MAKE 06:37:34 ---> Running in 4fc7b9063ec8 06:37:34 noop 06:37:34 Removing intermediate container 4fc7b9063ec8 06:37:34 ---> 41e67f3a6289 06:37:34 Successfully built 41e67f3a6289 06:37:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:37:35 + docker inspect -f . ci-base-image-arm64 06:37:35 . [Pipeline] withDockerContainer 06:37:35 prd-ubuntu18.04-docker-arm64-4c-16g-601 does not seem to be running inside a container 06:37:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:37:37 $ docker top 956682a1986c931befbb4bfc9a3f65bddc0d735197b66f5a9f6e44bbe509d8e9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:38 + go version 06:37:38 go version go1.16.8 linux/arm64 [Pipeline] } 06:37:38 $ docker stop --time=1 956682a1986c931befbb4bfc9a3f65bddc0d735197b66f5a9f6e44bbe509d8e9 06:37:39 $ docker rm -f 956682a1986c931befbb4bfc9a3f65bddc0d735197b66f5a9f6e44bbe509d8e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:37:40 + docker inspect -f . ci-base-image-arm64 06:37:40 . [Pipeline] withDockerContainer 06:37:40 prd-ubuntu18.04-docker-arm64-4c-16g-601 does not seem to be running inside a container 06:37:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:37:42 $ docker top 5d338db122bfa6883e3a6bd037f2770b896098b53c23a0264de66b41cfcb24f3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:37:43 + make test 06:37:43 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 06:37:44 ? github.com/edgexfoundry/device-rest-go [no test files] 06:38:40 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:38:40 ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 53.8% of statements 06:38:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:39:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:39:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:39:03 ./bin/test-attribution-txt.sh [Pipeline] } 06:39:04 $ docker stop --time=1 5d338db122bfa6883e3a6bd037f2770b896098b53c23a0264de66b41cfcb24f3 06:39:06 $ docker rm -f 5d338db122bfa6883e3a6bd037f2770b896098b53c23a0264de66b41cfcb24f3 [Pipeline] // withDockerContainer [Pipeline] sh 06:39:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:39:06 Warning: overwriting stash ‘coverage-report’ 06:39:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:39:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:39:08 + ls -al . 06:39:08 total 144 06:39:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 06:39 . 06:39:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 06:36 .. 06:39:08 -rw-rw-r-- 1 jenkins jenkins 151 Oct 12 06:36 .dockerignore 06:39:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 06:36 .git 06:39:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 06:36 .github 06:39:08 -rw-rw-r-- 1 jenkins jenkins 329 Oct 12 06:36 .gitignore 06:39:08 -rw-rw-r-- 1 jenkins jenkins 6792 Oct 12 06:36 Attribution.txt 06:39:08 -rw-rw-r-- 1 jenkins jenkins 7459 Oct 12 06:36 CHANGELOG.md 06:39:08 -rw-rw-r-- 1 jenkins jenkins 1649 Oct 12 06:36 Dockerfile 06:39:08 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 06:36 GOVERNANCE.md 06:39:08 -rw-rw-r-- 1 jenkins jenkins 680 Oct 12 06:36 Jenkinsfile 06:39:08 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 06:36 LICENSE 06:39:08 -rw-rw-r-- 1 jenkins jenkins 1078 Oct 12 06:36 Makefile 06:39:08 -rw-rw-r-- 1 jenkins jenkins 620 Oct 12 06:36 OWNERS.md 06:39:08 -rw-rw-r-- 1 jenkins jenkins 7661 Oct 12 06:36 README.md 06:39:08 -rw-rw-r-- 1 jenkins jenkins 11 Oct 12 06:33 VERSION 06:39:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 06:36 bin 06:39:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 06:36 cmd 06:39:08 -rw-r--r-- 1 jenkins jenkins 8435 Oct 12 06:38 coverage.out 06:39:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 06:36 driver 06:39:08 -rw-rw-r-- 1 jenkins jenkins 271 Oct 12 06:36 go.mod 06:39:08 -rw-rw-r-- 1 jenkins jenkins 20570 Oct 12 06:36 go.sum 06:39:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 06:36 snap 06:39:08 -rw-rw-r-- 1 jenkins jenkins 713 Oct 12 06:36 version.go [Pipeline] isUnix [Pipeline] sh 06:39:08 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=dfe1eecf97bbb3fc78e576d46b1f52bb386bd406 --label arch=arm64 --label version=2.0.1-dev.9 . 06:39:08 Sending build context to Docker daemon 128kB 06:39:09 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 06:39:09 Step 2/24 : FROM ${BASE} AS builder 06:39:09 ---> 41e67f3a6289 06:39:09 Step 3/24 : ARG MAKE='make build' 06:39:09 ---> Running in da21e22c394b 06:39:09 Removing intermediate container da21e22c394b 06:39:09 ---> 6fad750d0128 06:39:09 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:39:09 ---> Running in 38e877070e32 06:39:10 Removing intermediate container 38e877070e32 06:39:10 ---> 0c59d0cb44e6 06:39:10 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:39:10 ---> Running in d2b32fc782f3 06:39:10 Removing intermediate container d2b32fc782f3 06:39:10 ---> 4a931fcf21cd 06:39:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:39:11 ---> Running in ce148fe18e7a 06:39:13 Removing intermediate container ce148fe18e7a 06:39:13 ---> cef9e92df9e6 06:39:13 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:39:13 ---> Running in 13e4677b21bb 06:39:14 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 06:39:15 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 06:39:16 OK: 222 MiB in 55 packages 06:39:16 Removing intermediate container 13e4677b21bb 06:39:16 ---> 74ff4f1a69d3 06:39:16 Step 8/24 : WORKDIR /device-rest-go 06:39:17 ---> Running in 0ae0e0605342 06:39:17 Removing intermediate container 0ae0e0605342 06:39:17 ---> 280a2e7051c4 06:39:17 Step 9/24 : COPY . . 06:39:18 ---> c51ffcf2404f 06:39:18 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:39:18 ---> Running in c26bbd996ef9 06:39:20 Removing intermediate container c26bbd996ef9 06:39:20 ---> f98349f0bff8 06:39:20 Step 11/24 : RUN $MAKE 06:39:20 ---> Running in d9ee7e04b16f 06:39:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.0.1-dev.9" -o cmd/device-rest ./cmd 06:40:00 Removing intermediate container d9ee7e04b16f 06:40:00 ---> 6a51adbb7faf 06:40:00 Step 12/24 : FROM alpine:3.14 06:40:00 3.14: Pulling from library/alpine 06:40:00 552d1f2373af: Pulling fs layer 06:40:00 552d1f2373af: Verifying Checksum 06:40:00 552d1f2373af: Download complete 06:40:00 552d1f2373af: Pull complete 06:40:00 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 06:40:00 Status: Downloaded newer image for alpine:3.14 06:40:00 ---> bb3de5531c18 06:40:00 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:40:00 ---> Running in aacffc67574b 06:40:00 Removing intermediate container aacffc67574b 06:40:00 ---> 4f7b2505c7ec 06:40:00 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 06:40:00 ---> Running in 57e601774b0e 06:40:00 Removing intermediate container 57e601774b0e 06:40:00 ---> f2738ac920d4 06:40:00 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 06:40:00 ---> Running in f63116863da1 06:40:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:40:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:40:07 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) 06:40:11 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) 06:40:11 ERROR: unable to select packages: 06:40:11  dumb-init (no such package): 06:40:11 required by: world[dumb-init] 06:40:11 zeromq (no such package): 06:40:11 required by: world[zeromq] 06:40:11 The command '/bin/sh -c apk add --update --no-cache zeromq dumb-init' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:40:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:40:12 06:40:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:40:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:40:13 arm64: Pulling from edgex-lftools-log-publisher 06:40:13 448f6bf000e3: Pulling fs layer 06:40:13 f757da607395: Pulling fs layer 06:40:13 05883995daec: Pulling fs layer 06:40:13 8603b9c90790: Pulling fs layer 06:40:13 1560dd03e051: Pulling fs layer 06:40:13 27f5ce0e4adf: Pulling fs layer 06:40:13 c2d8d7efcc4b: Pulling fs layer 06:40:13 1560dd03e051: Waiting 06:40:13 27f5ce0e4adf: Waiting 06:40:13 c2d8d7efcc4b: Waiting 06:40:13 8603b9c90790: Waiting 06:40:13 f757da607395: Download complete 06:40:13 8603b9c90790: Verifying Checksum 06:40:13 8603b9c90790: Download complete 06:40:13 05883995daec: Verifying Checksum 06:40:13 05883995daec: Download complete 06:40:13 1560dd03e051: Verifying Checksum 06:40:13 1560dd03e051: Download complete 06:40:13 27f5ce0e4adf: Verifying Checksum 06:40:13 27f5ce0e4adf: Download complete 06:40:14 448f6bf000e3: Verifying Checksum 06:40:14 448f6bf000e3: Download complete 06:40:16 c2d8d7efcc4b: Verifying Checksum 06:40:16 c2d8d7efcc4b: Download complete 06:40:17 448f6bf000e3: Pull complete 06:40:18 f757da607395: Pull complete 06:40:19 05883995daec: Pull complete 06:40:20 8603b9c90790: Pull complete 06:40:21 1560dd03e051: Pull complete 06:40:21 27f5ce0e4adf: Pull complete 06:40:36 c2d8d7efcc4b: Pull complete 06:40:36 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 06:40:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:40:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:40:36 prd-ubuntu18.04-docker-arm64-4c-16g-601 does not seem to be running inside a container 06:40:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:40:40 $ docker top 71e1cd2d920a4e96a709bfdaa0898fee8c0cfe1add6d846c421dbf8600542531 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:40:41 ---> job-cost.sh 06:40:41 lf-activate-venv: SKIPPING 06:40:41 INFO: No Stack... 06:40:47 INFO: Retrieving Pricing Info for: v3-standard-4 06:40:47 INFO: Archiving Costs [Pipeline] sh 06:40:48 + cat /w/workspace/device-rest-go/13/archives/cost.csv 06:40:48 + cut -d, -f6 [Pipeline] lock 06:40:48 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] 06:40:48 Resource [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] did not exist. Created. 06:40:48 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:40:48 /w/workspace/device-rest-go/13@tmp/durable-a51663ae/script.sh: 1: /w/workspace/device-rest-go/13@tmp/durable-a51663ae/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 06:40:49 + echo total: 0.10999999940395355 [Pipeline] stash 06:40:49 Warning: overwriting stash ‘stack-cost’ 06:40:49 Stashed 1 file(s) [Pipeline] } 06:40:49 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-13-stack-cost] [Pipeline] // lock [Pipeline] } 06:40:49 $ docker stop --time=1 71e1cd2d920a4e96a709bfdaa0898fee8c0cfe1add6d846c421dbf8600542531 06:40:51 $ docker rm -f 71e1cd2d920a4e96a709bfdaa0898fee8c0cfe1add6d846c421dbf8600542531 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:40:51 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:40:53 + '[' -d /w/workspace/edgexfoundry_device-rest-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 06:40:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:40:53 ---> package-listing.sh 06:40:53 ++ tr '[:upper:]' '[:lower:]' 06:40:53 ++ facter osfamily 06:40:54 + OS_FAMILY=redhat 06:40:54 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 06:40:54 + START_PACKAGES=/tmp/packages_start.txt 06:40:54 + END_PACKAGES=/tmp/packages_end.txt 06:40:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:40:54 + PACKAGES=/tmp/packages_start.txt 06:40:54 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:40:54 + PACKAGES=/tmp/packages_end.txt 06:40:54 + case "${OS_FAMILY}" in 06:40:54 + rpm -qa 06:40:54 + sort 06:40:54 + '[' -f /tmp/packages_start.txt ']' 06:40:54 + '[' -f /tmp/packages_end.txt ']' 06:40:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:40:54 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:40:54 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 06:40:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 06:40:54 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:40:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:40:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:40:55 06:40:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:40:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:40:56 latest: Pulling from edgex-lftools-log-publisher 06:40:56 b4d181a07f80: Pulling fs layer 06:40:56 a1111a8f2ec3: Pulling fs layer 06:40:56 ed53099fbce6: Pulling fs layer 06:40:56 dc539afda2c1: Pulling fs layer 06:40:56 77bc0d833cb6: Pulling fs layer 06:40:56 9065ff56babe: Pulling fs layer 06:40:56 d287ab97295c: Pulling fs layer 06:40:56 dc539afda2c1: Waiting 06:40:56 77bc0d833cb6: Waiting 06:40:56 9065ff56babe: Waiting 06:40:56 d287ab97295c: Waiting 06:40:56 a1111a8f2ec3: Verifying Checksum 06:40:56 a1111a8f2ec3: Download complete 06:40:56 dc539afda2c1: Verifying Checksum 06:40:56 dc539afda2c1: Download complete 06:40:56 ed53099fbce6: Verifying Checksum 06:40:56 ed53099fbce6: Download complete 06:40:56 9065ff56babe: Verifying Checksum 06:40:56 9065ff56babe: Download complete 06:40:56 77bc0d833cb6: Verifying Checksum 06:40:56 77bc0d833cb6: Download complete 06:40:56 b4d181a07f80: Verifying Checksum 06:40:56 b4d181a07f80: Download complete 06:40:56 d287ab97295c: Verifying Checksum 06:40:56 d287ab97295c: Download complete 06:40:57 b4d181a07f80: Pull complete 06:40:58 a1111a8f2ec3: Pull complete 06:40:58 ed53099fbce6: Pull complete 06:40:58 dc539afda2c1: Pull complete 06:40:58 77bc0d833cb6: Pull complete 06:40:58 9065ff56babe: Pull complete 06:41:04 d287ab97295c: Pull complete 06:41:04 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 06:41:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:41:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:41:04 prd-centos7-docker-4c-2g-599 does not seem to be running inside a container 06:41:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:41:06 $ docker top e6126c52b9916c07b12dc3895b3988d5c78800ca7dc786ba08d2326c9d86c58e -eo pid,comm [Pipeline] { [Pipeline] sh 06:41:06 + touch /tmp/pre-build-complete [Pipeline] sh 06:41:07 + mkdir -p /var/log/sysstat [Pipeline] sh 06:41:07 + ls /var/log/sa-host 06:41:07 + sadf -c /var/log/sa-host/sa12 06:41:07 file_magic: OK 06:41:07 HZ: Using current value: 100 06:41:07 file_header: OK 06:41:07 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:41:07 Statistics: 06:41:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:41:07 File successfully converted to sysstat format version 12.0.3 06:41:07 + sadf -c /var/log/sa-host/sa30 06:41:07 file_magic: OK 06:41:07 HZ: Using current value: 100 06:41:07 file_header: OK 06:41:07 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:41:07 Statistics: 06:41:07 Hnuu...uuuununununu...Hnuu...uuuununununu... 06:41:07 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:41:07 provisioning config files... 06:41:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8726792686408022099tmp [Pipeline] { [Pipeline] echo 06:41:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:41:08 ---> create-netrc.sh [Pipeline] } 06:41:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:41:08 ---> python-tools-install.sh [Pipeline] echo 06:41:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:41:08 ---> sudo-logs.sh 06:41:08 Archiving 'sudo' log.. 06:41:08 sudo: unable to resolve host prd-centos7-docker-4c-2g-599.novalocal: Name or service not known 06:41:08 sudo: unable to resolve host prd-centos7-docker-4c-2g-599.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 06:41:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:41:09 ---> job-cost.sh 06:41:09 lf-activate-venv: SKIPPING 06:41:09 DEBUG: total: 0.10999999940395355 06:41:09 INFO: Retrieving Stack Cost... 06:41:09 INFO: Retrieving Pricing Info for: v3-standard-2 06:41:10 INFO: Archiving Costs [Pipeline] echo 06:41:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:41:10 ---> logs-deploy.sh 06:41:10 lf-activate-venv: SKIPPING 06:41:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/13 06:41:10 INFO: archiving workspace using pattern(s): 06:41:10 Archives upload complete. 06:41:11 INFO: archiving logs to Nexus