Pull request #177 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at 238d080d640a7e3d9ba0ccf186e4988c74ba76ef rather than 6c19ac31b40bab5f233e328a991b11ca026615f3 Obtained Jenkinsfile from 238d080d640a7e3d9ba0ccf186e4988c74ba76ef 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-ssh16549976321423517782.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh15403366133063285000.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 c72b16708d6eed9a08be464a432ce22db7d90667 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/PR-177/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/PR-177/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10208865471428464978.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh5109691927882888979.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/PR-177/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/PR-177/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7977567881842462129.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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.17 USE_ALPINE: true 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21957 in /w/workspace/gexfoundry_device-rest-go_PR-177 [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/gexfoundry_device-rest-go_PR-177 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit 6c19ac31b40bab5f233e328a991b11ca026615f3 Merge succeeded, producing 6526440654851b9be27fc0cb4b06c877d4fa80e5 Checking out Revision 6526440654851b9be27fc0cb4b06c877d4fa80e5 (PR-177) > 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 remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6c19ac31b40bab5f233e328a991b11ca026615f3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6526440654851b9be27fc0cb4b06c877d4fa80e5 # timeout=10 Commit message: "Merge commit '238d080d640a7e3d9ba0ccf186e4988c74ba76ef' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 9da43f878aee0131fc8c709839baf307fdc66f93 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-25T09:07:56.768Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-25T09:07:56.814Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-25T09:07:56.836Z] ========================================================= [2022-04-25T09:07:56.836Z] EdgeX Global Pipelines Version Info [2022-04-25T09:07:56.836Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:07:57.596Z] ------------------- [2022-04-25T09:07:57.596Z] stable info: [2022-04-25T09:07:57.596Z] ------------------- [2022-04-25T09:07:57.596Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T09:07:57.596Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-25T09:07:57.596Z] Message: update stable to v1.0.221 [2022-04-25T09:07:58.174Z] ------------------- [2022-04-25T09:07:58.174Z] experimental info: [2022-04-25T09:07:58.174Z] ------------------- [2022-04-25T09:07:58.174Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-25T09:07:58.174Z] Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b [2022-04-25T09:07:58.174Z] Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-25T09:07:58.304Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-04-25T09:07:58.313Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-04-25T09:07:58.322Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-25T09:07:58.331Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-25T09:07:58.339Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-25T09:07:58.348Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-25T09:07:58.359Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-25T09:07:58.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-25T09:07:58.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-25T09:07:58.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-25T09:07:58.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-25T09:07:58.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-04-25T09:07:58.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-25T09:07:58.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-25T09:07:58.446Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T09:07:58.458Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-25T09:07:58.468Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T09:07:58.484Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-25T09:07:58.505Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-25T09:07:58.518Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-25T09:07:58.527Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-25T09:07:58.537Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-25T09:07:58.553Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-25T09:07:58.564Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-25T09:07:58.576Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-25T09:07:58.589Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-25T09:07:58.600Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo [2022-04-25T09:07:58.618Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo [2022-04-25T09:07:58.633Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo [2022-04-25T09:07:58.650Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6526440654851b9be27fc0cb4b06c877d4fa80e5 [Pipeline] echo [2022-04-25T09:07:58.660Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6526440 [Pipeline] echo [2022-04-25T09:07:58.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T09:07:58.711Z] provisioning config files... [2022-04-25T09:07:58.727Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/config4928015967257385545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:07:59.050Z] ---> docker-login.sh [2022-04-25T09:07:59.050Z] nexus3.edgexfoundry.org:10001 [2022-04-25T09:07:59.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:07:59.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:07:59.313Z] Configure a credential helper to remove this warning. See [2022-04-25T09:07:59.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:07:59.313Z] [2022-04-25T09:07:59.313Z] Login Succeeded [2022-04-25T09:07:59.577Z] nexus3.edgexfoundry.org:10002 [2022-04-25T09:07:59.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:07:59.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:07:59.577Z] Configure a credential helper to remove this warning. See [2022-04-25T09:07:59.577Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:07:59.577Z] [2022-04-25T09:07:59.577Z] Login Succeeded [2022-04-25T09:07:59.577Z] nexus3.edgexfoundry.org:10003 [2022-04-25T09:07:59.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:07:59.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:07:59.837Z] Configure a credential helper to remove this warning. See [2022-04-25T09:07:59.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:07:59.837Z] [2022-04-25T09:07:59.837Z] Login Succeeded [2022-04-25T09:07:59.837Z] nexus3.edgexfoundry.org:10004 [2022-04-25T09:07:59.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:07:59.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:07:59.837Z] Configure a credential helper to remove this warning. See [2022-04-25T09:07:59.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:07:59.837Z] [2022-04-25T09:07:59.837Z] Login Succeeded [2022-04-25T09:07:59.837Z] docker.io [2022-04-25T09:08:00.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:00.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:00.362Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:00.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:00.362Z] [2022-04-25T09:08:00.362Z] Login Succeeded [2022-04-25T09:08:00.362Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T09:08:00.371Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-25T09:08:00.755Z] + git rev-list -1 --merges 6526440654851b9be27fc0cb4b06c877d4fa80e5~1..6526440654851b9be27fc0cb4b06c877d4fa80e5 [Pipeline] echo [2022-04-25T09:08:00.787Z] -----------> git rev-list -1 --merges 6526440654851b9be27fc0cb4b06c877d4fa80e5~1..6526440654851b9be27fc0cb4b06c877d4fa80e5 6526440654851b9be27fc0cb4b06c877d4fa80e5 [2022-04-25T09:08:00.787Z] 6526440654851b9be27fc0cb4b06c877d4fa80e5 [false] [Pipeline] sh [2022-04-25T09:08:01.076Z] + git log --format=format:%s -1 6526440654851b9be27fc0cb4b06c877d4fa80e5 [Pipeline] echo [2022-04-25T09:08:01.090Z] ========================================================= [2022-04-25T09:08:01.090Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-25T09:08:01.090Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T09:08:01.429Z] + git log --format=format:%s -1 6526440654851b9be27fc0cb4b06c877d4fa80e5 [Pipeline] echo [2022-04-25T09:08:01.442Z] [semverPrep] GIT_COMMIT: 6526440654851b9be27fc0cb4b06c877d4fa80e5, Commit Message: Merge commit '238d080d640a7e3d9ba0ccf186e4988c74ba76ef' into HEAD [Pipeline] echo [2022-04-25T09:08:01.452Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-25T09:08:01.831Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-25T09:08:01.831Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-25T09:08:01.831Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-25T09:08:01.831Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-25T09:08:01.831Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-25T09:08:01.831Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-25T09:08:01.831Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:08:02.198Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T09:08:02.199Z] [2022-04-25T09:08:02.199Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:08:02.506Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T09:08:02.506Z] latest: Pulling from edgex-devops/git-semver [2022-04-25T09:08:02.506Z] a0d0a0d46f8b: Pulling fs layer [2022-04-25T09:08:02.506Z] 3e5f54012d9b: Pulling fs layer [2022-04-25T09:08:02.506Z] 4c7163046ea9: Pulling fs layer [2022-04-25T09:08:02.506Z] 0c2d73faf560: Pulling fs layer [2022-04-25T09:08:02.506Z] 0c2d73faf560: Waiting [2022-04-25T09:08:02.506Z] 3e5f54012d9b: Download complete [2022-04-25T09:08:02.506Z] a0d0a0d46f8b: Verifying Checksum [2022-04-25T09:08:02.506Z] a0d0a0d46f8b: Download complete [2022-04-25T09:08:02.506Z] 0c2d73faf560: Verifying Checksum [2022-04-25T09:08:02.506Z] 0c2d73faf560: Download complete [2022-04-25T09:08:02.765Z] 4c7163046ea9: Download complete [2022-04-25T09:08:02.765Z] a0d0a0d46f8b: Pull complete [2022-04-25T09:08:02.765Z] 3e5f54012d9b: Pull complete [2022-04-25T09:08:03.336Z] 4c7163046ea9: Pull complete [2022-04-25T09:08:03.336Z] 0c2d73faf560: Pull complete [2022-04-25T09:08:03.336Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-25T09:08:03.336Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-25T09:08:03.336Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-25T09:08:03.512Z] prd-ubuntu20.04-docker-8c-8g-21957 does not seem to be running inside a container [2022-04-25T09:08:03.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-25T09:08:04.345Z] $ docker top ca7309e0ef1b0e4076510b05b4f7e02e7fae7221aad1097288a06ba8f29ad961 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-25T09:08:04.447Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T09:08:04.447Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T09:08:04.576Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T09:08:04.591Z] $ docker exec ca7309e0ef1b0e4076510b05b4f7e02e7fae7221aad1097288a06ba8f29ad961 ssh-agent [2022-04-25T09:08:04.719Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXckFlKh/agent.14 [2022-04-25T09:08:04.719Z] SSH_AGENT_PID=20 [2022-04-25T09:08:04.728Z] Running ssh-add (command line suppressed) [2022-04-25T09:08:04.855Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-177@tmp/private_key_2122699766132201734.key (/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/private_key_2122699766132201734.key) [2022-04-25T09:08:04.861Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T09:08:05.148Z] + git tag --points-at HEAD [Pipeline] } [2022-04-25T09:08:05.177Z] $ docker exec --env ******** --env ******** ca7309e0ef1b0e4076510b05b4f7e02e7fae7221aad1097288a06ba8f29ad961 ssh-agent -k [2022-04-25T09:08:05.277Z] unset SSH_AUTH_SOCK; [2022-04-25T09:08:05.277Z] unset SSH_AGENT_PID; [2022-04-25T09:08:05.277Z] echo Agent pid 20 killed; [2022-04-25T09:08:05.283Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-25T09:08:05.299Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-25T09:08:05.299Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-25T09:08:05.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-25T09:08:05.445Z] $ docker exec ca7309e0ef1b0e4076510b05b4f7e02e7fae7221aad1097288a06ba8f29ad961 ssh-agent [2022-04-25T09:08:05.563Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiNBKkO/agent.53 [2022-04-25T09:08:05.563Z] SSH_AGENT_PID=60 [2022-04-25T09:08:05.567Z] Running ssh-add (command line suppressed) [2022-04-25T09:08:05.710Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-177@tmp/private_key_5390695608875485763.key (/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/private_key_5390695608875485763.key) [2022-04-25T09:08:05.713Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-25T09:08:06.003Z] + git semver init [2022-04-25T09:08:06.004Z] # -> Open(): unable to determine branch for HEAD [2022-04-25T09:08:06.004Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-177/.git [2022-04-25T09:08:06.004Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-177 [2022-04-25T09:08:06.004Z] # $SEMVER_REMOTE_NAME = origin [2022-04-25T09:08:06.004Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-25T09:08:06.004Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-25T09:08:06.004Z] # $SEMVER_BRANCH = PR-177 [2022-04-25T09:08:06.004Z] # $SEMVER_TEMP = /tmp/semver-822658509 [2022-04-25T09:08:06.004Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-04-25T09:08:07.389Z] # '/tmp/semver-822658509' -> '/w/workspace/gexfoundry_device-rest-go_PR-177/.semver' [2022-04-25T09:08:07.389Z] # -> Force: false [2022-04-25T09:08:07.389Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-177/.semver [Pipeline] } [2022-04-25T09:08:07.410Z] $ docker exec --env ******** --env ******** ca7309e0ef1b0e4076510b05b4f7e02e7fae7221aad1097288a06ba8f29ad961 ssh-agent -k [2022-04-25T09:08:07.515Z] unset SSH_AUTH_SOCK; [2022-04-25T09:08:07.516Z] unset SSH_AGENT_PID; [2022-04-25T09:08:07.516Z] echo Agent pid 60 killed; [2022-04-25T09:08:07.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-25T09:08:07.821Z] + git semver [Pipeline] } [2022-04-25T09:08:07.847Z] $ docker stop --time=1 ca7309e0ef1b0e4076510b05b4f7e02e7fae7221aad1097288a06ba8f29ad961 [2022-04-25T09:08:09.276Z] $ docker rm -f ca7309e0ef1b0e4076510b05b4f7e02e7fae7221aad1097288a06ba8f29ad961 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T09:08:09.618Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-25T09:08:09.865Z] Stashed 1 file(s) [Pipeline] echo [2022-04-25T09:08:09.867Z] [edgeXSemver]: initialized semver on version 0.0.0 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T09:08:10.025Z] provisioning config files... [2022-04-25T09:08:10.035Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/config4078851761182156707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:08:10.348Z] ---> docker-login.sh [2022-04-25T09:08:10.348Z] nexus3.edgexfoundry.org:10001 [2022-04-25T09:08:10.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:10.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:10.348Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:10.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:10.348Z] [2022-04-25T09:08:10.348Z] Login Succeeded [2022-04-25T09:08:10.348Z] nexus3.edgexfoundry.org:10002 [2022-04-25T09:08:10.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:10.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:10.609Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:10.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:10.609Z] [2022-04-25T09:08:10.609Z] Login Succeeded [2022-04-25T09:08:10.609Z] nexus3.edgexfoundry.org:10003 [2022-04-25T09:08:10.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:10.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:10.609Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:10.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:10.609Z] [2022-04-25T09:08:10.609Z] Login Succeeded [2022-04-25T09:08:10.609Z] nexus3.edgexfoundry.org:10004 [2022-04-25T09:08:10.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:10.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:10.871Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:10.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:10.871Z] [2022-04-25T09:08:10.871Z] Login Succeeded [2022-04-25T09:08:10.871Z] docker.io [2022-04-25T09:08:10.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:08:11.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:08:11.132Z] Configure a credential helper to remove this warning. See [2022-04-25T09:08:11.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:08:11.132Z] [2022-04-25T09:08:11.132Z] Login Succeeded [2022-04-25T09:08:11.132Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T09:08:11.139Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T09:08:11.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T09:08:11.222Z] ========================================================= [2022-04-25T09:08:11.222Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-25T09:08:11.222Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:08:11.533Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-25T09:08:11.533Z] Sending build context to Docker daemon 10.58MB [2022-04-25T09:08:11.533Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T09:08:11.533Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-25T09:08:11.533Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-25T09:08:11.533Z] 59bf1c3509f3: Pulling fs layer [2022-04-25T09:08:11.533Z] 666ba61612fd: Pulling fs layer [2022-04-25T09:08:11.533Z] 8ed8ca486205: Pulling fs layer [2022-04-25T09:08:11.533Z] 4fe6c5a15a65: Pulling fs layer [2022-04-25T09:08:11.533Z] 22a0e8bec74d: Pulling fs layer [2022-04-25T09:08:11.533Z] ca2b28591e48: Pulling fs layer [2022-04-25T09:08:11.533Z] a51346096db8: Pulling fs layer [2022-04-25T09:08:11.533Z] 4fe6c5a15a65: Waiting [2022-04-25T09:08:11.533Z] 22a0e8bec74d: Waiting [2022-04-25T09:08:11.533Z] ca2b28591e48: Waiting [2022-04-25T09:08:11.533Z] daebc70d1ce1: Pulling fs layer [2022-04-25T09:08:11.533Z] 0e18a0eac166: Pulling fs layer [2022-04-25T09:08:11.533Z] daebc70d1ce1: Waiting [2022-04-25T09:08:11.533Z] 0e18a0eac166: Waiting [2022-04-25T09:08:11.533Z] a51346096db8: Waiting [2022-04-25T09:08:11.533Z] 8ed8ca486205: Verifying Checksum [2022-04-25T09:08:11.533Z] 8ed8ca486205: Download complete [2022-04-25T09:08:11.533Z] 666ba61612fd: Verifying Checksum [2022-04-25T09:08:11.533Z] 666ba61612fd: Download complete [2022-04-25T09:08:11.793Z] 22a0e8bec74d: Download complete [2022-04-25T09:08:11.793Z] 59bf1c3509f3: Download complete [2022-04-25T09:08:11.793Z] ca2b28591e48: Verifying Checksum [2022-04-25T09:08:11.793Z] ca2b28591e48: Download complete [2022-04-25T09:08:11.793Z] a51346096db8: Download complete [2022-04-25T09:08:11.793Z] daebc70d1ce1: Verifying Checksum [2022-04-25T09:08:11.793Z] daebc70d1ce1: Download complete [2022-04-25T09:08:11.793Z] 59bf1c3509f3: Pull complete [2022-04-25T09:08:12.053Z] 666ba61612fd: Pull complete [2022-04-25T09:08:12.053Z] 8ed8ca486205: Pull complete [2022-04-25T09:08:12.312Z] 0e18a0eac166: Verifying Checksum [2022-04-25T09:08:12.312Z] 0e18a0eac166: Download complete [2022-04-25T09:08:12.572Z] 4fe6c5a15a65: Verifying Checksum [2022-04-25T09:08:12.572Z] 4fe6c5a15a65: Download complete [2022-04-25T09:08:16.776Z] 4fe6c5a15a65: Pull complete [2022-04-25T09:08:16.776Z] 22a0e8bec74d: Pull complete [2022-04-25T09:08:16.776Z] ca2b28591e48: Pull complete [2022-04-25T09:08:16.776Z] a51346096db8: Pull complete [2022-04-25T09:08:17.036Z] daebc70d1ce1: Pull complete [2022-04-25T09:08:19.572Z] 0e18a0eac166: Pull complete [2022-04-25T09:08:19.572Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-04-25T09:08:19.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-25T09:08:19.573Z] ---> f018257e8ee9 [2022-04-25T09:08:19.573Z] Step 3/12 : ARG MAKE='make build' [2022-04-25T09:08:22.121Z] ---> Running in f3ca191656af [2022-04-25T09:08:22.121Z] Removing intermediate container f3ca191656af [2022-04-25T09:08:22.121Z] ---> 704d48f09ae2 [2022-04-25T09:08:22.121Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T09:08:22.121Z] ---> Running in 181ddb4f70ce [2022-04-25T09:08:22.121Z] Removing intermediate container 181ddb4f70ce [2022-04-25T09:08:22.121Z] ---> 92b9bc20bc40 [2022-04-25T09:08:22.121Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T09:08:22.459Z] ---> Running in 84dd58b0d4bc [2022-04-25T09:08:22.721Z] Removing intermediate container 84dd58b0d4bc [2022-04-25T09:08:22.721Z] ---> 87f7070e164c [2022-04-25T09:08:22.721Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T09:08:22.721Z] ---> Running in e5b1e5c9a4d2 [2022-04-25T09:08:24.137Z] Removing intermediate container e5b1e5c9a4d2 [2022-04-25T09:08:24.137Z] ---> 7a301c338b02 [2022-04-25T09:08:24.137Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T09:08:24.400Z] ---> Running in 3d23fcae367c [2022-04-25T09:08:24.660Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T09:08:24.982Z] Still waiting to schedule task [2022-04-25T09:08:24.982Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-25T09:08:25.603Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T09:08:25.865Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T09:08:25.865Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-25T09:08:25.865Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T09:08:26.123Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T09:08:26.123Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T09:08:26.123Z] OK: 224 MiB in 56 packages [2022-04-25T09:08:26.692Z] Removing intermediate container 3d23fcae367c [2022-04-25T09:08:26.692Z] ---> d40be6eec874 [2022-04-25T09:08:26.692Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-25T09:08:26.692Z] ---> Running in c5dec8c1859c [2022-04-25T09:08:26.692Z] Removing intermediate container c5dec8c1859c [2022-04-25T09:08:26.692Z] ---> fa6289d02c29 [2022-04-25T09:08:26.692Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-25T09:08:26.952Z] ---> 74e1d2bf37c2 [2022-04-25T09:08:26.952Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T09:08:26.952Z] ---> Running in 1426deabfd6f [2022-04-25T09:08:45.066Z] Removing intermediate container 1426deabfd6f [2022-04-25T09:08:45.066Z] ---> 6d448d01af98 [2022-04-25T09:08:45.066Z] Step 11/12 : COPY . . [2022-04-25T09:08:45.066Z] ---> d561c7485713 [2022-04-25T09:08:45.066Z] Step 12/12 : RUN $MAKE [2022-04-25T09:08:45.066Z] ---> Running in 1a7a46ac8c7a [2022-04-25T09:08:45.066Z] noop [2022-04-25T09:08:45.067Z] Removing intermediate container 1a7a46ac8c7a [2022-04-25T09:08:45.067Z] ---> 5ea84fbeaaf9 [2022-04-25T09:08:45.067Z] Successfully built 5ea84fbeaaf9 [2022-04-25T09:08:45.067Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:08:45.360Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T09:08:45.360Z] . [Pipeline] withDockerContainer [2022-04-25T09:08:45.431Z] prd-ubuntu20.04-docker-8c-8g-21957 does not seem to be running inside a container [2022-04-25T09:08:45.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-25T09:08:45.907Z] $ docker top 888398fafafd47d7e182252b5f5b127992bb978329858250acf9385e0dd1c887 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T09:08:46.277Z] + go version [2022-04-25T09:08:46.277Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-25T09:08:46.295Z] $ docker stop --time=1 888398fafafd47d7e182252b5f5b127992bb978329858250acf9385e0dd1c887 [2022-04-25T09:08:47.586Z] $ docker rm -f 888398fafafd47d7e182252b5f5b127992bb978329858250acf9385e0dd1c887 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:08:47.994Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-25T09:08:47.995Z] . [Pipeline] withDockerContainer [2022-04-25T09:08:48.063Z] prd-ubuntu20.04-docker-8c-8g-21957 does not seem to be running inside a container [2022-04-25T09:08:48.109Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-25T09:08:48.489Z] $ docker top f0904e9e354575a4446cad8abec3a9758334e93e892d523b1d5e19eb897be9c1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T09:08:48.844Z] + make test [2022-04-25T09:08:48.844Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-25T09:08:49.104Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-25T09:08:59.192Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-25T09:08:59.192Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-04-25T09:09:07.322Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T09:09:10.619Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T09:09:10.619Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T09:09:10.619Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-25T09:09:11.205Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-25T09:09:11.222Z] $ docker stop --time=1 f0904e9e354575a4446cad8abec3a9758334e93e892d523b1d5e19eb897be9c1 [2022-04-25T09:09:13.256Z] $ docker rm -f f0904e9e354575a4446cad8abec3a9758334e93e892d523b1d5e19eb897be9c1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T09:09:13.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-25T09:09:13.748Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-25T09:09:14.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-25T09:09:14.625Z] + ls -al . [2022-04-25T09:09:14.625Z] total 172 [2022-04-25T09:09:14.625Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 09:09 . [2022-04-25T09:09:14.625Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:07 .. [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 25 09:07 .dockerignore [2022-04-25T09:09:14.625Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:07 .git [2022-04-25T09:09:14.625Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:07 .github [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 25 09:07 .gitignore [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 09:07 .golangci.yml [2022-04-25T09:09:14.625Z] drwx------ 3 jenkins jenkins 4096 Apr 25 09:08 .semver [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 25 09:07 Attribution.txt [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 25 09:07 CHANGELOG.md [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 25 09:07 Dockerfile [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 09:07 GOVERNANCE.md [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 25 09:07 Jenkinsfile [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 09:07 LICENSE [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 1964 Apr 25 09:07 Makefile [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 09:07 OWNERS.md [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 25 09:07 README.md [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 09:08 VERSION [2022-04-25T09:09:14.625Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:07 bin [2022-04-25T09:09:14.625Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:07 cmd [2022-04-25T09:09:14.625Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 25 09:08 coverage.out [2022-04-25T09:09:14.625Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:07 driver [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 3240 Apr 25 09:07 go.mod [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 25 09:07 go.sum [2022-04-25T09:09:14.625Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:07 snap [2022-04-25T09:09:14.625Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 25 09:07 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:09:14.933Z] + 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=6526440654851b9be27fc0cb4b06c877d4fa80e5 --label arch=amd64 --label version=0.0.0 . [2022-04-25T09:09:14.933Z] Sending build context to Docker daemon 10.59MB [2022-04-25T09:09:14.933Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T09:09:14.933Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-25T09:09:14.933Z] ---> 5ea84fbeaaf9 [2022-04-25T09:09:14.933Z] Step 3/25 : ARG MAKE='make build' [2022-04-25T09:09:15.195Z] ---> Running in 36e2f44147cc [2022-04-25T09:09:15.195Z] Removing intermediate container 36e2f44147cc [2022-04-25T09:09:15.195Z] ---> 48a073beb5cb [2022-04-25T09:09:15.195Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T09:09:15.195Z] ---> Running in b17f292534f1 [2022-04-25T09:09:15.456Z] Removing intermediate container b17f292534f1 [2022-04-25T09:09:15.456Z] ---> 2ceea617fc6a [2022-04-25T09:09:15.456Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T09:09:15.456Z] ---> Running in 6d5ae05cdf25 [2022-04-25T09:09:15.456Z] Removing intermediate container 6d5ae05cdf25 [2022-04-25T09:09:15.456Z] ---> 0875b5b1d69a [2022-04-25T09:09:15.456Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T09:09:15.718Z] ---> Running in 0563aa30ce6b [2022-04-25T09:09:16.290Z] Removing intermediate container 0563aa30ce6b [2022-04-25T09:09:16.290Z] ---> 8c1ea8f9303e [2022-04-25T09:09:16.290Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T09:09:16.290Z] ---> Running in dd51935b9df5 [2022-04-25T09:09:16.551Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-25T09:09:17.515Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-25T09:09:17.776Z] OK: 224 MiB in 56 packages [2022-04-25T09:09:18.035Z] Removing intermediate container dd51935b9df5 [2022-04-25T09:09:18.035Z] ---> ed6167216561 [2022-04-25T09:09:18.035Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-25T09:09:18.035Z] ---> Running in a7efb0102039 [2022-04-25T09:09:18.295Z] Removing intermediate container a7efb0102039 [2022-04-25T09:09:18.295Z] ---> 7e6d1c6e3d8e [2022-04-25T09:09:18.295Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-25T09:09:18.295Z] ---> 575eb5182af5 [2022-04-25T09:09:18.295Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T09:09:18.295Z] ---> Running in c2bd8ace65c8 [2022-04-25T09:09:19.236Z] Removing intermediate container c2bd8ace65c8 [2022-04-25T09:09:19.237Z] ---> d96f872e28df [2022-04-25T09:09:19.237Z] Step 11/25 : COPY . . [2022-04-25T09:09:19.237Z] ---> b02118e70dc5 [2022-04-25T09:09:19.237Z] Step 12/25 : RUN $MAKE [2022-04-25T09:09:19.237Z] ---> Running in 8c2a98f7ec3e [2022-04-25T09:09:19.498Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-04-25T09:09:41.449Z] Removing intermediate container 8c2a98f7ec3e [2022-04-25T09:09:41.449Z] ---> 8d43104d7419 [2022-04-25T09:09:41.449Z] Step 13/25 : FROM alpine:3.14 [2022-04-25T09:09:41.449Z] 3.14: Pulling from library/alpine [2022-04-25T09:09:41.449Z] 8663204ce13b: Pulling fs layer [2022-04-25T09:09:41.449Z] 8663204ce13b: Verifying Checksum [2022-04-25T09:09:41.449Z] 8663204ce13b: Download complete [2022-04-25T09:09:41.449Z] 8663204ce13b: Pull complete [2022-04-25T09:09:41.449Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-25T09:09:41.449Z] Status: Downloaded newer image for alpine:3.14 [2022-04-25T09:09:41.449Z] ---> e04c818066af [2022-04-25T09:09:41.449Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-25T09:09:41.449Z] ---> Running in b853133b58d5 [2022-04-25T09:09:41.709Z] Removing intermediate container b853133b58d5 [2022-04-25T09:09:41.709Z] ---> cde5c542ff2f [2022-04-25T09:09:41.709Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-25T09:09:41.709Z] ---> Running in 7d825ae908ca [2022-04-25T09:09:41.709Z] Removing intermediate container 7d825ae908ca [2022-04-25T09:09:41.709Z] ---> ad3d338860e9 [2022-04-25T09:09:41.709Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-25T09:09:41.709Z] ---> Running in 3ee991bf819c [2022-04-25T09:09:41.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-25T09:09:42.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-25T09:09:42.492Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-25T09:09:42.492Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-25T09:09:42.492Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-25T09:09:42.492Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-25T09:09:42.492Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-25T09:09:42.492Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-25T09:09:42.492Z] Executing busybox-1.33.1-r7.trigger [2022-04-25T09:09:42.492Z] OK: 8 MiB in 20 packages [2022-04-25T09:09:43.062Z] Removing intermediate container 3ee991bf819c [2022-04-25T09:09:43.062Z] ---> d3e8a7b4b91a [2022-04-25T09:09:43.062Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-25T09:09:43.321Z] ---> a6bd3bbc29c1 [2022-04-25T09:09:43.322Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-25T09:09:43.582Z] ---> eb89e1042c6c [2022-04-25T09:09:43.582Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-25T09:09:43.582Z] ---> 96c7093caed6 [2022-04-25T09:09:43.582Z] Step 20/25 : EXPOSE 59986 [2022-04-25T09:09:43.843Z] ---> Running in fde9ba93aa1c [2022-04-25T09:09:43.843Z] Removing intermediate container fde9ba93aa1c [2022-04-25T09:09:43.843Z] ---> 3d53ca2a5b31 [2022-04-25T09:09:43.843Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-25T09:09:43.843Z] ---> Running in 838d831888db [2022-04-25T09:09:43.843Z] Removing intermediate container 838d831888db [2022-04-25T09:09:43.843Z] ---> 67862e497c97 [2022-04-25T09:09:43.843Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-25T09:09:44.103Z] ---> Running in 18814df61e17 [2022-04-25T09:09:44.103Z] Removing intermediate container 18814df61e17 [2022-04-25T09:09:44.103Z] ---> 0fecbdaae373 [2022-04-25T09:09:44.103Z] Step 23/25 : LABEL arch=amd64 [2022-04-25T09:09:44.103Z] ---> Running in fba0e0005e93 [2022-04-25T09:09:44.103Z] Removing intermediate container fba0e0005e93 [2022-04-25T09:09:44.103Z] ---> 22e7ee3b9833 [2022-04-25T09:09:44.103Z] Step 24/25 : LABEL git_sha=6526440654851b9be27fc0cb4b06c877d4fa80e5 [2022-04-25T09:09:44.103Z] ---> Running in a75291a731a9 [2022-04-25T09:09:44.364Z] Removing intermediate container a75291a731a9 [2022-04-25T09:09:44.364Z] ---> e20c4d046ad1 [2022-04-25T09:09:44.364Z] Step 25/25 : LABEL version=0.0.0 [2022-04-25T09:09:44.364Z] ---> Running in 2ff0871f1708 [2022-04-25T09:09:44.364Z] Removing intermediate container 2ff0871f1708 [2022-04-25T09:09:44.364Z] ---> def3d78e6647 [2022-04-25T09:09:44.364Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-25T09:09:44.365Z] Successfully built def3d78e6647 [2022-04-25T09:09:44.365Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 [2022-04-25T09:09:44.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T09:09:44.861Z] [2022-04-25T09:09:44.861Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:09:45.156Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T09:09:45.156Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-25T09:09:45.156Z] 5eb5b503b376: Pulling fs layer [2022-04-25T09:09:45.156Z] 5c69ac0246d0: Pulling fs layer [2022-04-25T09:09:45.156Z] ec43610c2a17: Pulling fs layer [2022-04-25T09:09:45.156Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-25T09:09:45.156Z] 33b1e0a273af: Pulling fs layer [2022-04-25T09:09:45.156Z] 5d3b04190fa2: Pulling fs layer [2022-04-25T09:09:45.156Z] 2f39f015ded8: Pulling fs layer [2022-04-25T09:09:45.156Z] 33b1e0a273af: Waiting [2022-04-25T09:09:45.156Z] 5d3b04190fa2: Waiting [2022-04-25T09:09:45.156Z] 2f39f015ded8: Waiting [2022-04-25T09:09:45.156Z] 3a2ae6a8a46f: Waiting [2022-04-25T09:09:45.156Z] 5c69ac0246d0: Download complete [2022-04-25T09:09:45.156Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-25T09:09:45.156Z] 3a2ae6a8a46f: Download complete [2022-04-25T09:09:45.156Z] 33b1e0a273af: Download complete [2022-04-25T09:09:45.156Z] ec43610c2a17: Verifying Checksum [2022-04-25T09:09:45.156Z] ec43610c2a17: Download complete [2022-04-25T09:09:45.416Z] 5d3b04190fa2: Verifying Checksum [2022-04-25T09:09:45.416Z] 5d3b04190fa2: Download complete [2022-04-25T09:09:45.416Z] 5eb5b503b376: Verifying Checksum [2022-04-25T09:09:45.416Z] 5eb5b503b376: Download complete [2022-04-25T09:09:45.985Z] 2f39f015ded8: Download complete [2022-04-25T09:09:46.553Z] 5eb5b503b376: Pull complete [2022-04-25T09:09:46.813Z] 5c69ac0246d0: Pull complete [2022-04-25T09:09:47.074Z] ec43610c2a17: Pull complete [2022-04-25T09:09:47.333Z] 3a2ae6a8a46f: Pull complete [2022-04-25T09:09:47.594Z] 33b1e0a273af: Pull complete [2022-04-25T09:09:47.594Z] 5d3b04190fa2: Pull complete [2022-04-25T09:09:51.789Z] 2f39f015ded8: Pull complete [2022-04-25T09:09:51.789Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-25T09:09:51.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T09:09:51.789Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-25T09:09:51.862Z] prd-ubuntu20.04-docker-8c-8g-21957 does not seem to be running inside a container [2022-04-25T09:09:51.906Z] $ 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/gexfoundry_device-rest-go_PR-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-25T09:09:53.912Z] $ docker top f9b22ec25dbe1d6ac3c924a0bbec093f3648f8c356c2b2d8e2e5a2268f958ad7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:09:54.298Z] ---> job-cost.sh [2022-04-25T09:09:54.298Z] lf-activate-venv: SKIPPING [2022-04-25T09:09:54.298Z] INFO: No Stack... [2022-04-25T09:09:54.556Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T09:09:55.126Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T09:09:55.427Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-177/archives/cost.csv [2022-04-25T09:09:55.427Z] + cut -d, -f6 [Pipeline] lock [2022-04-25T09:09:55.446Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-177-2-stack-cost] [2022-04-25T09:09:55.452Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-177-2-stack-cost] did not exist. Created. [2022-04-25T09:09:55.452Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-177-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T09:09:55.761Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-25T09:09:55.783Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T09:09:55.789Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-177-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T09:09:55.814Z] $ docker stop --time=1 f9b22ec25dbe1d6ac3c924a0bbec093f3648f8c356c2b2d8e2e5a2268f958ad7 [2022-04-25T09:09:57.002Z] $ docker rm -f f9b22ec25dbe1d6ac3c924a0bbec093f3648f8c356c2b2d8e2e5a2268f958ad7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-25T09:14:52.918Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22017 in /w/workspace/gexfoundry_device-rest-go_PR-177 [Pipeline] { [Pipeline] ws [2022-04-25T09:14:52.933Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-04-25T09:14:53.376Z] The recommended git tool is: git [2022-04-25T09:15:02.166Z] using credential edgex-jenkins-ssh [2022-04-25T09:15:02.190Z] Cloning the remote Git repository [2022-04-25T09:15:02.328Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-04-25T09:15:02.439Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-04-25T09:15:02.534Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-25T09:15:02.535Z] > git --version # timeout=10 [2022-04-25T09:15:02.582Z] > git --version # 'git version 2.25.1' [2022-04-25T09:15:02.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T09:15:02.712Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T09:15:05.486Z] Merging remotes/origin/main commit 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit 6c19ac31b40bab5f233e328a991b11ca026615f3 [2022-04-25T09:15:04.611Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-25T09:15:04.671Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-25T09:15:04.719Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-25T09:15:04.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-25T09:15:04.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T09:15:04.850Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-25T09:15:05.771Z] Merge succeeded, producing b84c888b2855b02e326e1c287c11f0c61e2064fb [2022-04-25T09:15:05.771Z] Checking out Revision b84c888b2855b02e326e1c287c11f0c61e2064fb (PR-177) [2022-04-25T09:15:05.512Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T09:15:05.535Z] > git checkout -f 6c19ac31b40bab5f233e328a991b11ca026615f3 # timeout=10 [2022-04-25T09:15:05.621Z] > git remote # timeout=10 [2022-04-25T09:15:05.650Z] > git config --get remote.origin.url # timeout=10 [2022-04-25T09:15:05.668Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-25T09:15:05.683Z] > git merge 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 [2022-04-25T09:15:05.750Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-25T09:15:05.784Z] > git config core.sparsecheckout # timeout=10 [2022-04-25T09:15:05.799Z] > git checkout -f b84c888b2855b02e326e1c287c11f0c61e2064fb # timeout=10 [2022-04-25T09:15:10.112Z] Commit message: "Merge commit '238d080d640a7e3d9ba0ccf186e4988c74ba76ef' into HEAD" [2022-04-25T09:15:10.143Z] First time build. Skipping changelog. [2022-04-25T09:15:10.126Z] > git rev-list --no-walk 9da43f878aee0131fc8c709839baf307fdc66f93 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T09:15:11.074Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-25T09:15:11.074Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T09:15:11.074Z] Dload Upload Total Spent Left Speed [2022-04-25T09:15:11.074Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 82243 0 --:--:-- --:--:-- --:--:-- 82243 [Pipeline] sh [2022-04-25T09:15:11.632Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-25T09:15:11.986Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-04-25T09:15:11.986Z] /etc/docker/daemon.json [2022-04-25T09:15:11.986Z] { [2022-04-25T09:15:11.986Z] "registry-mirrors": [ [2022-04-25T09:15:11.986Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-25T09:15:11.986Z] ], [2022-04-25T09:15:11.986Z] "bip": "10.250.0.254/24", [2022-04-25T09:15:11.986Z] "hosts": [ [2022-04-25T09:15:11.986Z] "tcp://0.0.0.0:5555", [2022-04-25T09:15:11.986Z] "unix:///var/run/docker.sock" [2022-04-25T09:15:11.986Z] ], [2022-04-25T09:15:11.986Z] "mtu": 1458, [2022-04-25T09:15:11.986Z] "selinux-enabled": true, [2022-04-25T09:15:11.986Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-25T09:15:11.986Z] } [Pipeline] sh [2022-04-25T09:15:12.344Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-25T09:15:12.705Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T09:15:31.119Z] provisioning config files... [2022-04-25T09:15:31.145Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8129059894132605954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:15:31.523Z] ---> docker-login.sh [2022-04-25T09:15:31.523Z] nexus3.edgexfoundry.org:10001 [2022-04-25T09:15:32.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:15:32.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:15:32.398Z] Configure a credential helper to remove this warning. See [2022-04-25T09:15:32.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:15:32.398Z] [2022-04-25T09:15:32.398Z] Login Succeeded [2022-04-25T09:15:32.398Z] nexus3.edgexfoundry.org:10002 [2022-04-25T09:15:33.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:15:33.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:15:33.003Z] Configure a credential helper to remove this warning. See [2022-04-25T09:15:33.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:15:33.003Z] [2022-04-25T09:15:33.003Z] Login Succeeded [2022-04-25T09:15:33.003Z] nexus3.edgexfoundry.org:10003 [2022-04-25T09:15:33.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:15:33.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:15:33.613Z] Configure a credential helper to remove this warning. See [2022-04-25T09:15:33.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:15:33.613Z] [2022-04-25T09:15:33.613Z] Login Succeeded [2022-04-25T09:15:33.613Z] nexus3.edgexfoundry.org:10004 [2022-04-25T09:15:33.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:15:34.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:15:34.163Z] Configure a credential helper to remove this warning. See [2022-04-25T09:15:34.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:15:34.163Z] [2022-04-25T09:15:34.163Z] Login Succeeded [2022-04-25T09:15:34.163Z] docker.io [2022-04-25T09:15:34.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-25T09:15:34.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-25T09:15:34.714Z] Configure a credential helper to remove this warning. See [2022-04-25T09:15:34.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-25T09:15:34.714Z] [2022-04-25T09:15:34.714Z] Login Succeeded [2022-04-25T09:15:34.714Z] ---> docker-login.sh ends [Pipeline] } [2022-04-25T09:15:34.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-25T09:15:35.217Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-25T09:15:35.232Z] ========================================================= [2022-04-25T09:15:35.232Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-25T09:15:35.232Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:15:35.646Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-25T09:15:35.646Z] Sending build context to Docker daemon 129.5kB [2022-04-25T09:15:35.923Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T09:15:35.923Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-25T09:15:36.206Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-25T09:15:36.206Z] 9b3977197b4f: Pulling fs layer [2022-04-25T09:15:36.206Z] 1a89e8eeedd5: Pulling fs layer [2022-04-25T09:15:36.206Z] 94645a83ff95: Pulling fs layer [2022-04-25T09:15:36.206Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-25T09:15:36.206Z] 0c92f367c5e7: Pulling fs layer [2022-04-25T09:15:36.206Z] 3096ccb668a1: Pulling fs layer [2022-04-25T09:15:36.206Z] e8cf19c19ddd: Pulling fs layer [2022-04-25T09:15:36.206Z] a4caa8a26152: Pulling fs layer [2022-04-25T09:15:36.206Z] 3096ccb668a1: Waiting [2022-04-25T09:15:36.206Z] e8cf19c19ddd: Waiting [2022-04-25T09:15:36.206Z] 3f3a8bcf1eab: Waiting [2022-04-25T09:15:36.206Z] a4caa8a26152: Waiting [2022-04-25T09:15:36.206Z] 0c92f367c5e7: Waiting [2022-04-25T09:15:36.206Z] 94645a83ff95: Verifying Checksum [2022-04-25T09:15:36.206Z] 94645a83ff95: Download complete [2022-04-25T09:15:36.206Z] 1a89e8eeedd5: Verifying Checksum [2022-04-25T09:15:36.206Z] 1a89e8eeedd5: Download complete [2022-04-25T09:15:36.206Z] 0c92f367c5e7: Verifying Checksum [2022-04-25T09:15:36.206Z] 0c92f367c5e7: Download complete [2022-04-25T09:15:36.206Z] 3096ccb668a1: Verifying Checksum [2022-04-25T09:15:36.206Z] 3096ccb668a1: Download complete [2022-04-25T09:15:36.206Z] e8cf19c19ddd: Verifying Checksum [2022-04-25T09:15:36.206Z] e8cf19c19ddd: Download complete [2022-04-25T09:15:36.489Z] 9b3977197b4f: Verifying Checksum [2022-04-25T09:15:36.489Z] 9b3977197b4f: Download complete [2022-04-25T09:15:37.114Z] 9b3977197b4f: Pull complete [2022-04-25T09:15:37.729Z] 1a89e8eeedd5: Pull complete [2022-04-25T09:15:38.343Z] 94645a83ff95: Pull complete [2022-04-25T09:15:38.950Z] a4caa8a26152: Verifying Checksum [2022-04-25T09:15:38.950Z] a4caa8a26152: Download complete [2022-04-25T09:15:39.549Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-25T09:15:39.549Z] 3f3a8bcf1eab: Download complete [2022-04-25T09:15:51.974Z] 3f3a8bcf1eab: Pull complete [2022-04-25T09:15:52.251Z] 0c92f367c5e7: Pull complete [2022-04-25T09:15:52.527Z] 3096ccb668a1: Pull complete [2022-04-25T09:15:52.802Z] e8cf19c19ddd: Pull complete [2022-04-25T09:15:59.552Z] a4caa8a26152: Pull complete [2022-04-25T09:15:59.552Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-04-25T09:15:59.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-25T09:15:59.552Z] ---> 725f1c02e7f9 [2022-04-25T09:15:59.552Z] Step 3/12 : ARG MAKE='make build' [2022-04-25T09:16:01.548Z] ---> Running in 17a2f235b4f1 [2022-04-25T09:16:01.548Z] Removing intermediate container 17a2f235b4f1 [2022-04-25T09:16:01.548Z] ---> 4b0b99b34721 [2022-04-25T09:16:01.548Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T09:16:01.822Z] ---> Running in c43b6a731460 [2022-04-25T09:16:02.102Z] Removing intermediate container c43b6a731460 [2022-04-25T09:16:02.102Z] ---> 2c031445e7c9 [2022-04-25T09:16:02.102Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T09:16:02.378Z] ---> Running in 65d74e9e1931 [2022-04-25T09:16:02.657Z] Removing intermediate container 65d74e9e1931 [2022-04-25T09:16:02.657Z] ---> 46a434d9f7c1 [2022-04-25T09:16:02.657Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T09:16:02.657Z] ---> Running in 861fd6a795ea [2022-04-25T09:16:06.066Z] Removing intermediate container 861fd6a795ea [2022-04-25T09:16:06.066Z] ---> 9a7a4fc5a243 [2022-04-25T09:16:06.066Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T09:16:06.066Z] ---> Running in d7e68b9a1132 [2022-04-25T09:16:07.521Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T09:16:08.117Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T09:16:09.093Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-25T09:16:09.375Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-25T09:16:09.375Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-25T09:16:09.650Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-25T09:16:09.650Z] Executing busybox-1.34.1-r3.trigger [2022-04-25T09:16:09.650Z] OK: 224 MiB in 56 packages [2022-04-25T09:16:10.641Z] Removing intermediate container d7e68b9a1132 [2022-04-25T09:16:10.641Z] ---> b15fbe7a4c8a [2022-04-25T09:16:10.641Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-25T09:16:10.641Z] ---> Running in b325829d63fa [2022-04-25T09:16:11.247Z] Removing intermediate container b325829d63fa [2022-04-25T09:16:11.247Z] ---> e803627a62b1 [2022-04-25T09:16:11.247Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-25T09:16:11.845Z] ---> adf1e44f901a [2022-04-25T09:16:11.845Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T09:16:11.845Z] ---> Running in 5ab0b711756c [2022-04-25T09:17:08.482Z] Removing intermediate container 5ab0b711756c [2022-04-25T09:17:08.482Z] ---> e9a8922fce68 [2022-04-25T09:17:08.482Z] Step 11/12 : COPY . . [2022-04-25T09:17:08.482Z] ---> e64e88928976 [2022-04-25T09:17:08.482Z] Step 12/12 : RUN $MAKE [2022-04-25T09:17:08.482Z] ---> Running in 9e3f151f1af4 [2022-04-25T09:17:08.482Z] noop [2022-04-25T09:17:08.482Z] Removing intermediate container 9e3f151f1af4 [2022-04-25T09:17:08.482Z] ---> b9339e549484 [2022-04-25T09:17:08.482Z] Successfully built b9339e549484 [2022-04-25T09:17:08.482Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:17:08.837Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T09:17:08.837Z] . [Pipeline] withDockerContainer [2022-04-25T09:17:09.103Z] prd-ubuntu20.04-docker-arm64-4c-16g-22017 does not seem to be running inside a container [2022-04-25T09:17:09.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-25T09:17:10.725Z] $ docker top f9256553e744ff47ac773adf857adc4af61f8ac8f64df81ac3c934cdc90d2878 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T09:17:11.687Z] + go version [2022-04-25T09:17:11.687Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-25T09:17:11.718Z] $ docker stop --time=1 f9256553e744ff47ac773adf857adc4af61f8ac8f64df81ac3c934cdc90d2878 [2022-04-25T09:17:13.460Z] $ docker rm -f f9256553e744ff47ac773adf857adc4af61f8ac8f64df81ac3c934cdc90d2878 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:17:14.100Z] + docker inspect -f . ci-base-image-arm64 [2022-04-25T09:17:14.100Z] . [Pipeline] withDockerContainer [2022-04-25T09:17:14.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-22017 does not seem to be running inside a container [2022-04-25T09:17:14.489Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-25T09:17:15.941Z] $ docker top b7576dd9a2fdbdc5e42193565a8c1f6b68c20b8607c668681415cb3a5cb74821 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-25T09:17:16.906Z] + make test [2022-04-25T09:17:16.906Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-25T09:17:18.901Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-25T09:18:55.834Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-25T09:18:55.834Z] ok github.com/edgexfoundry/device-rest-go/driver 0.078s coverage: 55.2% of statements [2022-04-25T09:18:55.834Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-25T09:18:55.834Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-25T09:19:22.777Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-25T09:19:22.777Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-25T09:19:22.777Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-25T09:19:25.431Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-25T09:19:25.452Z] $ docker stop --time=1 b7576dd9a2fdbdc5e42193565a8c1f6b68c20b8607c668681415cb3a5cb74821 [2022-04-25T09:19:27.281Z] $ docker rm -f b7576dd9a2fdbdc5e42193565a8c1f6b68c20b8607c668681415cb3a5cb74821 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-25T09:19:28.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-25T09:19:28.369Z] Warning: overwriting stash ‘coverage-report’ [2022-04-25T09:19:28.909Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-25T09:19:29.320Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-25T09:19:29.662Z] + ls -al . [2022-04-25T09:19:29.662Z] total 168 [2022-04-25T09:19:29.662Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:19 . [2022-04-25T09:19:29.662Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 09:15 .. [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 25 09:15 .dockerignore [2022-04-25T09:19:29.662Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 09:15 .git [2022-04-25T09:19:29.662Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:15 .github [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 25 09:15 .gitignore [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 09:15 .golangci.yml [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 25 09:15 Attribution.txt [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 25 09:15 CHANGELOG.md [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 25 09:15 Dockerfile [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 09:15 GOVERNANCE.md [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 25 09:15 Jenkinsfile [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 09:15 LICENSE [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 1964 Apr 25 09:15 Makefile [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 09:15 OWNERS.md [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 25 09:15 README.md [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 09:08 VERSION [2022-04-25T09:19:29.662Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:15 bin [2022-04-25T09:19:29.662Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:15 cmd [2022-04-25T09:19:29.662Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 25 09:18 coverage.out [2022-04-25T09:19:29.662Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 09:15 driver [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 3240 Apr 25 09:15 go.mod [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 25 09:15 go.sum [2022-04-25T09:19:29.662Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 09:15 snap [2022-04-25T09:19:29.662Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 25 09:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:19:30.010Z] + 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=b84c888b2855b02e326e1c287c11f0c61e2064fb --label arch=arm64 --label version=0.0.0 . [2022-04-25T09:19:30.010Z] Sending build context to Docker daemon 139.8kB [2022-04-25T09:19:30.284Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-25T09:19:30.284Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-25T09:19:30.284Z] ---> b9339e549484 [2022-04-25T09:19:30.284Z] Step 3/25 : ARG MAKE='make build' [2022-04-25T09:19:30.557Z] ---> Running in 8df6c4202411 [2022-04-25T09:19:30.829Z] Removing intermediate container 8df6c4202411 [2022-04-25T09:19:30.829Z] ---> a0d283cfcfb6 [2022-04-25T09:19:30.829Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-25T09:19:30.829Z] ---> Running in a64ddcbf6103 [2022-04-25T09:19:31.428Z] Removing intermediate container a64ddcbf6103 [2022-04-25T09:19:31.428Z] ---> 1b8660fc9f3a [2022-04-25T09:19:31.428Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-25T09:19:31.428Z] ---> Running in dd1b2bad1d11 [2022-04-25T09:19:31.706Z] Removing intermediate container dd1b2bad1d11 [2022-04-25T09:19:31.706Z] ---> 09bbb379ab79 [2022-04-25T09:19:31.706Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-25T09:19:31.706Z] ---> Running in 872fff90d23c [2022-04-25T09:19:33.707Z] Removing intermediate container 872fff90d23c [2022-04-25T09:19:33.707Z] ---> 3aa22dab02e4 [2022-04-25T09:19:33.707Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-25T09:19:33.707Z] ---> Running in 49da2f0fd036 [2022-04-25T09:19:34.693Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-25T09:19:35.670Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-25T09:19:36.645Z] OK: 224 MiB in 56 packages [2022-04-25T09:19:37.648Z] Removing intermediate container 49da2f0fd036 [2022-04-25T09:19:37.648Z] ---> c59916d53227 [2022-04-25T09:19:37.648Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-25T09:19:37.648Z] ---> Running in 71a6cd4a81a0 [2022-04-25T09:19:37.925Z] Removing intermediate container 71a6cd4a81a0 [2022-04-25T09:19:37.925Z] ---> a9af7689993b [2022-04-25T09:19:37.925Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-25T09:19:38.523Z] ---> a8749a7c2fab [2022-04-25T09:19:38.523Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-25T09:19:38.523Z] ---> Running in aa889273c835 [2022-04-25T09:19:40.498Z] Removing intermediate container aa889273c835 [2022-04-25T09:19:40.498Z] ---> 2a903b91d4fd [2022-04-25T09:19:40.498Z] Step 11/25 : COPY . . [2022-04-25T09:19:41.097Z] ---> e855c91827ab [2022-04-25T09:19:41.097Z] Step 12/25 : RUN $MAKE [2022-04-25T09:19:41.097Z] ---> Running in 8c2d2a96d13d [2022-04-25T09:19:42.545Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-04-25T09:21:49.446Z] Removing intermediate container 8c2d2a96d13d [2022-04-25T09:21:49.446Z] ---> 0405594cbc35 [2022-04-25T09:21:49.446Z] Step 13/25 : FROM alpine:3.14 [2022-04-25T09:21:49.446Z] 3.14: Pulling from library/alpine [2022-04-25T09:21:49.446Z] 455c02918c45: Pulling fs layer [2022-04-25T09:21:49.446Z] 455c02918c45: Verifying Checksum [2022-04-25T09:21:49.446Z] 455c02918c45: Download complete [2022-04-25T09:21:49.446Z] 455c02918c45: Pull complete [2022-04-25T09:21:49.446Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-25T09:21:49.446Z] Status: Downloaded newer image for alpine:3.14 [2022-04-25T09:21:49.446Z] ---> ac73e934f311 [2022-04-25T09:21:49.446Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-25T09:21:49.446Z] ---> Running in 1c7b1d895992 [2022-04-25T09:21:49.446Z] Removing intermediate container 1c7b1d895992 [2022-04-25T09:21:49.446Z] ---> 32cfd98d58bc [2022-04-25T09:21:49.446Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-25T09:21:49.446Z] ---> Running in 2ed44325f913 [2022-04-25T09:21:49.446Z] Removing intermediate container 2ed44325f913 [2022-04-25T09:21:49.446Z] ---> 3f32a7782db9 [2022-04-25T09:21:49.446Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-25T09:21:49.446Z] ---> Running in 0c82eecb8f99 [2022-04-25T09:21:49.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-25T09:21:49.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-25T09:21:49.446Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-25T09:21:49.446Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-25T09:21:49.446Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-25T09:21:49.446Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-25T09:21:49.446Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-25T09:21:49.446Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-25T09:21:49.446Z] Executing busybox-1.33.1-r7.trigger [2022-04-25T09:21:49.446Z] OK: 8 MiB in 20 packages [2022-04-25T09:21:49.446Z] Removing intermediate container 0c82eecb8f99 [2022-04-25T09:21:49.446Z] ---> 030f746d0df5 [2022-04-25T09:21:49.446Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-25T09:21:49.446Z] ---> 0471e50ea906 [2022-04-25T09:21:49.446Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-25T09:21:49.446Z] ---> 69e7327572aa [2022-04-25T09:21:49.446Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-25T09:21:49.446Z] ---> ccb6e5432c68 [2022-04-25T09:21:49.446Z] Step 20/25 : EXPOSE 59986 [2022-04-25T09:21:49.446Z] ---> Running in a0d618e31794 [2022-04-25T09:21:49.446Z] Removing intermediate container a0d618e31794 [2022-04-25T09:21:49.446Z] ---> 839d0b0abb3e [2022-04-25T09:21:49.446Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-25T09:21:49.446Z] ---> Running in 1c579436cbff [2022-04-25T09:21:49.446Z] Removing intermediate container 1c579436cbff [2022-04-25T09:21:49.446Z] ---> 8b739a42c4e0 [2022-04-25T09:21:49.446Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-25T09:21:49.446Z] ---> Running in 5bbc0ce2d1b9 [2022-04-25T09:21:50.043Z] Removing intermediate container 5bbc0ce2d1b9 [2022-04-25T09:21:50.043Z] ---> 1be32489e67b [2022-04-25T09:21:50.043Z] Step 23/25 : LABEL arch=arm64 [2022-04-25T09:21:50.043Z] ---> Running in 812032b9ace7 [2022-04-25T09:21:50.315Z] Removing intermediate container 812032b9ace7 [2022-04-25T09:21:50.315Z] ---> caedfa3a1423 [2022-04-25T09:21:50.315Z] Step 24/25 : LABEL git_sha=b84c888b2855b02e326e1c287c11f0c61e2064fb [2022-04-25T09:21:50.315Z] ---> Running in 4e5c9435e1a8 [2022-04-25T09:21:50.914Z] Removing intermediate container 4e5c9435e1a8 [2022-04-25T09:21:50.914Z] ---> cf28ddcb8314 [2022-04-25T09:21:50.914Z] Step 25/25 : LABEL version=0.0.0 [2022-04-25T09:21:50.914Z] ---> Running in 25724ed633ed [2022-04-25T09:21:51.185Z] Removing intermediate container 25724ed633ed [2022-04-25T09:21:51.185Z] ---> 4c4c4115c680 [2022-04-25T09:21:51.185Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-25T09:21:51.185Z] Successfully built 4c4c4115c680 [2022-04-25T09:21:51.185Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:21:51.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T09:21:51.619Z] [2022-04-25T09:21:51.619Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:21:51.973Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T09:21:52.248Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-25T09:21:52.248Z] 8998bd30e6a1: Pulling fs layer [2022-04-25T09:21:52.248Z] 04944245beec: Pulling fs layer [2022-04-25T09:21:52.248Z] 699f458cf7ca: Pulling fs layer [2022-04-25T09:21:52.248Z] 765212b225bb: Pulling fs layer [2022-04-25T09:21:52.248Z] f23df028b6ca: Pulling fs layer [2022-04-25T09:21:52.248Z] d65c8cfc05b1: Pulling fs layer [2022-04-25T09:21:52.248Z] 2437ff75d9bd: Pulling fs layer [2022-04-25T09:21:52.248Z] f23df028b6ca: Waiting [2022-04-25T09:21:52.248Z] d65c8cfc05b1: Waiting [2022-04-25T09:21:52.248Z] 2437ff75d9bd: Waiting [2022-04-25T09:21:52.248Z] 765212b225bb: Waiting [2022-04-25T09:21:52.248Z] 04944245beec: Download complete [2022-04-25T09:21:52.248Z] 765212b225bb: Verifying Checksum [2022-04-25T09:21:52.248Z] 765212b225bb: Download complete [2022-04-25T09:21:52.248Z] f23df028b6ca: Verifying Checksum [2022-04-25T09:21:52.248Z] f23df028b6ca: Download complete [2022-04-25T09:21:52.248Z] d65c8cfc05b1: Verifying Checksum [2022-04-25T09:21:52.248Z] d65c8cfc05b1: Download complete [2022-04-25T09:21:52.527Z] 699f458cf7ca: Verifying Checksum [2022-04-25T09:21:52.527Z] 699f458cf7ca: Download complete [2022-04-25T09:21:52.802Z] 8998bd30e6a1: Verifying Checksum [2022-04-25T09:21:52.802Z] 8998bd30e6a1: Download complete [2022-04-25T09:21:55.434Z] 2437ff75d9bd: Verifying Checksum [2022-04-25T09:21:55.434Z] 2437ff75d9bd: Download complete [2022-04-25T09:21:56.875Z] 8998bd30e6a1: Pull complete [2022-04-25T09:21:57.469Z] 04944245beec: Pull complete [2022-04-25T09:21:58.915Z] 699f458cf7ca: Pull complete [2022-04-25T09:21:59.192Z] 765212b225bb: Pull complete [2022-04-25T09:22:00.173Z] f23df028b6ca: Pull complete [2022-04-25T09:22:00.448Z] d65c8cfc05b1: Pull complete [2022-04-25T09:22:15.535Z] 2437ff75d9bd: Pull complete [2022-04-25T09:22:15.535Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-25T09:22:15.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-25T09:22:15.535Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-25T09:22:15.764Z] prd-ubuntu20.04-docker-arm64-4c-16g-22017 does not seem to be running inside a container [2022-04-25T09:22:15.840Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-25T09:22:18.401Z] $ docker top 43f8f51efd7a267d5bc74fb5641faa7245200f80df508bb331d05d0ac63263f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:22:19.387Z] ---> job-cost.sh [2022-04-25T09:22:19.387Z] lf-activate-venv: SKIPPING [2022-04-25T09:22:19.387Z] INFO: No Stack... [2022-04-25T09:22:19.992Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-25T09:22:20.983Z] INFO: Archiving Costs [Pipeline] sh [2022-04-25T09:22:21.645Z] + cut -d, -f6 [2022-04-25T09:22:21.645Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock [2022-04-25T09:22:21.676Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-177-2-stack-cost] [2022-04-25T09:22:21.686Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-177-2-stack-cost] did not exist. Created. [2022-04-25T09:22:21.686Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-177-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-25T09:22:22.354Z] /w/workspace/device-rest-go/2@tmp/durable-0a8d9688/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-25T09:22:23.030Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-25T09:22:23.051Z] Warning: overwriting stash ‘stack-cost’ [2022-04-25T09:22:23.093Z] Stashed 1 file(s) [Pipeline] } [2022-04-25T09:22:23.100Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-177-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-25T09:22:23.123Z] $ docker stop --time=1 43f8f51efd7a267d5bc74fb5641faa7245200f80df508bb331d05d0ac63263f5 [2022-04-25T09:22:24.644Z] $ docker rm -f 43f8f51efd7a267d5bc74fb5641faa7245200f80df508bb331d05d0ac63263f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-25T09:22:25.102Z] provisioning config files... [2022-04-25T09:22:25.110Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/config5967222272152763885tmp [Pipeline] { [Pipeline] sh [2022-04-25T09:22:25.409Z] + set +x [2022-04-25T09:22:25.409Z] + curl -s https://codecov.io/bash [2022-04-25T09:22:25.409Z] + bash -s -- [2022-04-25T09:22:25.409Z] [2022-04-25T09:22:25.409Z] _____ _ [2022-04-25T09:22:25.409Z] / ____| | | [2022-04-25T09:22:25.409Z] | | ___ __| | ___ ___ _____ __ [2022-04-25T09:22:25.409Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-25T09:22:25.409Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-25T09:22:25.409Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-25T09:22:25.409Z] Bash-1.0.6 [2022-04-25T09:22:25.409Z] [2022-04-25T09:22:25.409Z] [2022-04-25T09:22:25.409Z] ==> git version 2.25.1 found [2022-04-25T09:22:25.409Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-25T09:22:25.409Z] Release-Date: 2020-01-08 [2022-04-25T09:22:25.409Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-25T09:22:25.410Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-25T09:22:25.410Z] ==> Jenkins CI detected. [2022-04-25T09:22:25.410Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-177 [2022-04-25T09:22:25.410Z] project root: . [2022-04-25T09:22:25.410Z] --> token set from env [2022-04-25T09:22:25.410Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-25T09:22:25.410Z] ==> Running gcov in . (disable via -X gcov) [2022-04-25T09:22:25.410Z] ==> Python coveragepy not found [2022-04-25T09:22:25.410Z] ==> Searching for coverage reports in: [2022-04-25T09:22:25.410Z] + . [2022-04-25T09:22:25.410Z] -> Found 1 reports [2022-04-25T09:22:25.410Z] ==> Detecting git/mercurial file structure [2022-04-25T09:22:25.410Z] ==> Reading reports [2022-04-25T09:22:25.410Z] + ./coverage.out bytes=9355 [2022-04-25T09:22:25.410Z] ==> Appending adjustments [2022-04-25T09:22:25.410Z] https://docs.codecov.io/docs/fixing-reports [2022-04-25T09:22:25.670Z] + Found adjustments [2022-04-25T09:22:25.670Z] ==> Gzipping contents [2022-04-25T09:22:25.670Z] 4.0K /tmp/codecov.s5TojJ.gz [2022-04-25T09:22:25.670Z] ==> Uploading reports [2022-04-25T09:22:25.670Z] url: https://codecov.io [2022-04-25T09:22:25.670Z] query: branch=PR-177&commit=6526440654851b9be27fc0cb4b06c877d4fa80e5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-177%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=177&job=&cmd_args= [2022-04-25T09:22:25.670Z] -> Pinging Codecov [2022-04-25T09:22:25.670Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-177&commit=6526440654851b9be27fc0cb4b06c877d4fa80e5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-177%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=177&job=&cmd_args= [2022-04-25T09:22:25.930Z] -> Uploading to [2022-04-25T09:22:25.930Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-25/4E5D53B4F1F92C436F7061BF334D961C/6526440654851b9be27fc0cb4b06c877d4fa80e5/6bcc32f5-c70a-40d3-a35a-5fe1b819ebfd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T092225Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f30de9322eb2300c340db023ed3e3187455d7488784429ee81249c1e02d8f9df [2022-04-25T09:22:25.930Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-25T09:22:25.930Z] Dload Upload Total Spent Left Speed [2022-04-25T09:22:25.930Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8641 --:--:-- --:--:-- --:--:-- 8641 [2022-04-25T09:22:25.930Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/6526440654851b9be27fc0cb4b06c877d4fa80e5 [Pipeline] } [2022-04-25T09:22:25.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-25T09:22:26.631Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-177/archives ] [2022-04-25T09:22:26.631Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-177/archives [2022-04-25T09:22:26.631Z] total 16 [2022-04-25T09:22:26.631Z] drwxr-xr-x 3 root root 4096 Apr 25 09:09 . [2022-04-25T09:22:26.631Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 09:09 .. [2022-04-25T09:22:26.631Z] drwxr-xr-x 2 root root 4096 Apr 25 09:09 cost [2022-04-25T09:22:26.631Z] -rw-r--r-- 1 root root 85 Apr 25 09:09 cost.csv [2022-04-25T09:22:26.631Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-177/archives [2022-04-25T09:22:26.631Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-177/archives [2022-04-25T09:22:26.631Z] total 16 [2022-04-25T09:22:26.631Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 09:09 . [2022-04-25T09:22:26.631Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 09:09 .. [2022-04-25T09:22:26.631Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 09:09 cost [2022-04-25T09:22:26.631Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 25 09:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:22:26.926Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:22:27.793Z] ---> package-listing.sh [2022-04-25T09:22:27.793Z] ++ facter osfamily [2022-04-25T09:22:27.793Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-25T09:22:28.054Z] + OS_FAMILY=debian [2022-04-25T09:22:28.054Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-177 [2022-04-25T09:22:28.054Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-25T09:22:28.054Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-25T09:22:28.054Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-25T09:22:28.054Z] + PACKAGES=/tmp/packages_start.txt [2022-04-25T09:22:28.054Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-177 ']' [2022-04-25T09:22:28.054Z] + PACKAGES=/tmp/packages_end.txt [2022-04-25T09:22:28.054Z] + case "${OS_FAMILY}" in [2022-04-25T09:22:28.054Z] + dpkg -l [2022-04-25T09:22:28.054Z] + grep '^ii' [2022-04-25T09:22:28.054Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-25T09:22:28.054Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-25T09:22:28.054Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-25T09:22:28.054Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-177 ']' [2022-04-25T09:22:28.054Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-177/archives/ [2022-04-25T09:22:28.054Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-177/archives/ [Pipeline] echo [2022-04-25T09:22:28.069Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-25T09:22:28.351Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-25T09:22:28.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-25T09:22:28.911Z] . [Pipeline] withDockerContainer [2022-04-25T09:22:28.975Z] prd-ubuntu20.04-docker-8c-8g-21957 does not seem to be running inside a container [2022-04-25T09:22:29.011Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-25T09:22:29.270Z] $ docker top 4f499cbccf7499b21f0abec2cb22a7e20ebb7d4caec0ce8d73fce556aae8610c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-25T09:22:29.633Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-25T09:22:29.923Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-25T09:22:30.217Z] + ls /var/log/sa-host [2022-04-25T09:22:30.217Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-25T09:22:30.320Z] provisioning config files... [2022-04-25T09:22:30.331Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/config8588978776440466995tmp [Pipeline] { [Pipeline] echo [2022-04-25T09:22:30.348Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:22:30.639Z] ---> create-netrc.sh [Pipeline] } [2022-04-25T09:22:30.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:22:30.973Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-25T09:22:30.986Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:22:31.277Z] ---> sudo-logs.sh [2022-04-25T09:22:31.277Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-25T09:22:31.302Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:22:31.587Z] ---> job-cost.sh [2022-04-25T09:22:31.587Z] lf-activate-venv: SKIPPING [2022-04-25T09:22:31.587Z] DEBUG: total: 0.2199999988079071 [2022-04-25T09:22:31.587Z] INFO: Retrieving Stack Cost... [2022-04-25T09:22:31.848Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-25T09:22:32.419Z] INFO: Archiving Costs [Pipeline] echo [2022-04-25T09:22:32.435Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-25T09:22:32.722Z] ---> logs-deploy.sh [2022-04-25T09:22:32.722Z] lf-activate-venv: SKIPPING [2022-04-25T09:22:32.722Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-177/2 [2022-04-25T09:22:32.722Z] INFO: archiving workspace using pattern(s): [2022-04-25T09:22:33.666Z] Archives upload complete. [2022-04-25T09:22:33.666Z] INFO: archiving logs to Nexus