Branch indexing 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 farshidtz for edgexfoundry/device-rest-go Loading trusted files from base branch main at 4202c4e4a89e3dab93c0881b05113b30e3444e83 rather than 45d15e48572e0caa6345190a64c138ea1aa2b231 Obtained Jenkinsfile from 4202c4e4a89e3dab93c0881b05113b30e3444e83 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-ssh2964369185877151348.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-ssh14299315790486852025.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-170/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-170/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5139489388386142081.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-ssh7471896648796575375.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-170/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-170/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5224760850135242276.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 ‘prd-ubuntu20.04-docker-8c-8g-11551’ Running on prd-ubuntu20.04-docker-8c-8g-11556 in /w/workspace/gexfoundry_device-rest-go_PR-170 [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-170 # 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 4202c4e4a89e3dab93c0881b05113b30e3444e83 into PR head commit 45d15e48572e0caa6345190a64c138ea1aa2b231 Merge succeeded, producing 2bd2b41f0e25aac27636e628e41fa85d208c2b24 Checking out Revision 2bd2b41f0e25aac27636e628e41fa85d208c2b24 (PR-170) > 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/170/head:refs/remotes/origin/PR-170 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45d15e48572e0caa6345190a64c138ea1aa2b231 # 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 4202c4e4a89e3dab93c0881b05113b30e3444e83 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2bd2b41f0e25aac27636e628e41fa85d208c2b24 # timeout=10 Commit message: "Merge commit '4202c4e4a89e3dab93c0881b05113b30e3444e83' into HEAD" > git rev-list --no-walk 45d15e48572e0caa6345190a64c138ea1aa2b231 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-08T03:09:18.551Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-08T03:09:18.610Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-08T03:09:18.625Z] ========================================================= [2022-04-08T03:09:18.626Z] EdgeX Global Pipelines Version Info [2022-04-08T03:09:18.626Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-08T03:09:19.388Z] ------------------- [2022-04-08T03:09:19.388Z] stable info: [2022-04-08T03:09:19.388Z] ------------------- [2022-04-08T03:09:19.388Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-08T03:09:19.388Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-08T03:09:19.388Z] Message: update stable to v1.0.221 [2022-04-08T03:09:19.962Z] ------------------- [2022-04-08T03:09:19.962Z] experimental info: [2022-04-08T03:09:19.962Z] ------------------- [2022-04-08T03:09:19.962Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-08T03:09:19.962Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-08T03:09:19.962Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-08T03:09:20.115Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-04-08T03:09:20.128Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-04-08T03:09:20.139Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-08T03:09:20.155Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-08T03:09:20.176Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-08T03:09:20.193Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-08T03:09:20.215Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-08T03:09:20.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-08T03:09:20.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-08T03:09:20.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-08T03:09:20.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-08T03:09:20.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-04-08T03:09:20.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-08T03:09:20.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-08T03:09:20.322Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-08T03:09:20.332Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-08T03:09:20.341Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-08T03:09:20.351Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-08T03:09:20.361Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-08T03:09:20.370Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-08T03:09:20.379Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-08T03:09:20.389Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-08T03:09:20.398Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-08T03:09:20.408Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-08T03:09:20.418Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-08T03:09:20.431Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-08T03:09:20.445Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-170 [Pipeline] echo [2022-04-08T03:09:20.465Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-170 [Pipeline] echo [2022-04-08T03:09:20.483Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-170 [Pipeline] echo [2022-04-08T03:09:20.500Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2bd2b41f0e25aac27636e628e41fa85d208c2b24 [Pipeline] echo [2022-04-08T03:09:20.509Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2bd2b41 [Pipeline] echo [2022-04-08T03:09:20.520Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T03:09:20.556Z] provisioning config files... [2022-04-08T03:09:20.571Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-170@tmp/config3885074193710929250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T03:09:20.883Z] ---> docker-login.sh [2022-04-08T03:09:20.883Z] nexus3.edgexfoundry.org:10001 [2022-04-08T03:09:21.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:09:21.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:09:21.148Z] Configure a credential helper to remove this warning. See [2022-04-08T03:09:21.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:09:21.148Z] [2022-04-08T03:09:21.148Z] Login Succeeded [2022-04-08T03:09:21.148Z] nexus3.edgexfoundry.org:10002 [2022-04-08T03:09:21.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:09:21.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:09:21.410Z] Configure a credential helper to remove this warning. See [2022-04-08T03:09:21.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:09:21.410Z] [2022-04-08T03:09:21.410Z] Login Succeeded [2022-04-08T03:09:21.410Z] nexus3.edgexfoundry.org:10003 [2022-04-08T03:09:21.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:09:21.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:09:21.410Z] Configure a credential helper to remove this warning. See [2022-04-08T03:09:21.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:09:21.410Z] [2022-04-08T03:09:21.410Z] Login Succeeded [2022-04-08T03:09:21.410Z] nexus3.edgexfoundry.org:10004 [2022-04-08T03:09:21.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:09:21.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:09:21.671Z] Configure a credential helper to remove this warning. See [2022-04-08T03:09:21.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:09:21.671Z] [2022-04-08T03:09:21.671Z] Login Succeeded [2022-04-08T03:09:21.671Z] docker.io [2022-04-08T03:09:21.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:09:22.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:09:22.245Z] Configure a credential helper to remove this warning. See [2022-04-08T03:09:22.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:09:22.245Z] [2022-04-08T03:09:22.245Z] Login Succeeded [2022-04-08T03:09:22.245Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T03:09:22.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-08T03:09:22.645Z] + git rev-list -1 --merges 2bd2b41f0e25aac27636e628e41fa85d208c2b24~1..2bd2b41f0e25aac27636e628e41fa85d208c2b24 [Pipeline] echo [2022-04-08T03:09:22.753Z] -----------> git rev-list -1 --merges 2bd2b41f0e25aac27636e628e41fa85d208c2b24~1..2bd2b41f0e25aac27636e628e41fa85d208c2b24 2bd2b41f0e25aac27636e628e41fa85d208c2b24 [2022-04-08T03:09:22.753Z] 2bd2b41f0e25aac27636e628e41fa85d208c2b24 [false] [Pipeline] sh [2022-04-08T03:09:23.045Z] + git log --format=format:%s -1 2bd2b41f0e25aac27636e628e41fa85d208c2b24 [Pipeline] echo [2022-04-08T03:09:23.060Z] ========================================================= [2022-04-08T03:09:23.060Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-08T03:09:23.060Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T03:09:23.402Z] + git log --format=format:%s -1 2bd2b41f0e25aac27636e628e41fa85d208c2b24 [Pipeline] echo [2022-04-08T03:09:23.416Z] [semverPrep] GIT_COMMIT: 2bd2b41f0e25aac27636e628e41fa85d208c2b24, Commit Message: Merge commit '4202c4e4a89e3dab93c0881b05113b30e3444e83' into HEAD [Pipeline] echo [2022-04-08T03:09:23.427Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-08T03:09:23.870Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-08T03:09:23.870Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-08T03:09:23.870Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-08T03:09:23.870Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-08T03:09:23.870Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-08T03:09:23.870Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-08T03:09:23.870Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-08T03:09:24.299Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T03:09:24.299Z] [2022-04-08T03:09:24.299Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T03:09:24.613Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T03:09:24.613Z] latest: Pulling from edgex-devops/git-semver [2022-04-08T03:09:24.613Z] a0d0a0d46f8b: Pulling fs layer [2022-04-08T03:09:24.613Z] 3e5f54012d9b: Pulling fs layer [2022-04-08T03:09:24.613Z] 4c7163046ea9: Pulling fs layer [2022-04-08T03:09:24.613Z] 0c2d73faf560: Pulling fs layer [2022-04-08T03:09:24.613Z] 3e5f54012d9b: Verifying Checksum [2022-04-08T03:09:24.613Z] 3e5f54012d9b: Download complete [2022-04-08T03:09:24.613Z] a0d0a0d46f8b: Verifying Checksum [2022-04-08T03:09:24.613Z] a0d0a0d46f8b: Download complete [2022-04-08T03:09:24.613Z] 4c7163046ea9: Verifying Checksum [2022-04-08T03:09:24.613Z] 4c7163046ea9: Download complete [2022-04-08T03:09:24.613Z] 0c2d73faf560: Verifying Checksum [2022-04-08T03:09:24.613Z] 0c2d73faf560: Download complete [2022-04-08T03:09:24.875Z] a0d0a0d46f8b: Pull complete [2022-04-08T03:09:24.875Z] 3e5f54012d9b: Pull complete [2022-04-08T03:09:25.136Z] 4c7163046ea9: Pull complete [2022-04-08T03:09:25.399Z] 0c2d73faf560: Pull complete [2022-04-08T03:09:25.399Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-08T03:09:25.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T03:09:25.399Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-08T03:09:25.487Z] prd-ubuntu20.04-docker-8c-8g-11556 does not seem to be running inside a container [2022-04-08T03:09:25.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-170 -v /w/workspace/gexfoundry_device-rest-go_PR-170:/w/workspace/gexfoundry_device-rest-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-170@tmp:/w/workspace/gexfoundry_device-rest-go_PR-170@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-08T03:09:26.236Z] $ docker top cc7fb319ef4056b82ebf623fe6660c66c0e19f72239484351b80f97993423c83 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-08T03:09:26.333Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-08T03:09:26.333Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-08T03:09:26.473Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-08T03:09:26.483Z] $ docker exec cc7fb319ef4056b82ebf623fe6660c66c0e19f72239484351b80f97993423c83 ssh-agent [2022-04-08T03:09:26.604Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFOpafF/agent.14 [2022-04-08T03:09:26.604Z] SSH_AGENT_PID=21 [2022-04-08T03:09:26.613Z] Running ssh-add (command line suppressed) [2022-04-08T03:09:26.749Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-170@tmp/private_key_7942233942459028211.key (/w/workspace/gexfoundry_device-rest-go_PR-170@tmp/private_key_7942233942459028211.key) [2022-04-08T03:09:26.757Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-08T03:09:27.049Z] + git tag --points-at HEAD [Pipeline] } [2022-04-08T03:09:27.077Z] $ docker exec --env ******** --env ******** cc7fb319ef4056b82ebf623fe6660c66c0e19f72239484351b80f97993423c83 ssh-agent -k [2022-04-08T03:09:27.194Z] unset SSH_AUTH_SOCK; [2022-04-08T03:09:27.194Z] unset SSH_AGENT_PID; [2022-04-08T03:09:27.194Z] echo Agent pid 21 killed; [2022-04-08T03:09:27.205Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-08T03:09:27.232Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-08T03:09:27.232Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-08T03:09:27.373Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-08T03:09:27.382Z] $ docker exec cc7fb319ef4056b82ebf623fe6660c66c0e19f72239484351b80f97993423c83 ssh-agent [2022-04-08T03:09:27.514Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJoKbdM/agent.54 [2022-04-08T03:09:27.514Z] SSH_AGENT_PID=61 [2022-04-08T03:09:27.519Z] Running ssh-add (command line suppressed) [2022-04-08T03:09:27.642Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-170@tmp/private_key_7515332222744898636.key (/w/workspace/gexfoundry_device-rest-go_PR-170@tmp/private_key_7515332222744898636.key) [2022-04-08T03:09:27.652Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-08T03:09:27.946Z] + git semver init [2022-04-08T03:09:27.946Z] # -> Open(): unable to determine branch for HEAD [2022-04-08T03:09:27.946Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-170/.git [2022-04-08T03:09:27.946Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-170 [2022-04-08T03:09:27.946Z] # $SEMVER_REMOTE_NAME = origin [2022-04-08T03:09:27.946Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-08T03:09:27.946Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-08T03:09:27.946Z] # $SEMVER_BRANCH = PR-170 [2022-04-08T03:09:27.946Z] # $SEMVER_TEMP = /tmp/semver-214494066 [2022-04-08T03:09:27.946Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-04-08T03:09:29.334Z] # '/tmp/semver-214494066' -> '/w/workspace/gexfoundry_device-rest-go_PR-170/.semver' [2022-04-08T03:09:29.334Z] # -> Force: false [2022-04-08T03:09:29.334Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-170/.semver [Pipeline] } [2022-04-08T03:09:29.351Z] $ docker exec --env ******** --env ******** cc7fb319ef4056b82ebf623fe6660c66c0e19f72239484351b80f97993423c83 ssh-agent -k [2022-04-08T03:09:29.468Z] unset SSH_AUTH_SOCK; [2022-04-08T03:09:29.468Z] unset SSH_AGENT_PID; [2022-04-08T03:09:29.468Z] echo Agent pid 61 killed; [2022-04-08T03:09:29.474Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-08T03:09:29.786Z] + git semver [Pipeline] } [2022-04-08T03:09:29.809Z] $ docker stop --time=1 cc7fb319ef4056b82ebf623fe6660c66c0e19f72239484351b80f97993423c83 [2022-04-08T03:09:31.224Z] $ docker rm -f cc7fb319ef4056b82ebf623fe6660c66c0e19f72239484351b80f97993423c83 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-08T03:09:31.580Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-08T03:09:31.854Z] Stashed 1 file(s) [Pipeline] echo [2022-04-08T03:09:31.858Z] [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-08T03:09:32.033Z] provisioning config files... [2022-04-08T03:09:32.044Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-170@tmp/config3786694035898710669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T03:09:32.348Z] ---> docker-login.sh [2022-04-08T03:09:32.348Z] nexus3.edgexfoundry.org:10001 [2022-04-08T03:09:32.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:09:32.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:09:32.348Z] Configure a credential helper to remove this warning. See [2022-04-08T03:09:32.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:09:32.348Z] [2022-04-08T03:09:32.348Z] Login Succeeded [2022-04-08T03:09:32.348Z] nexus3.edgexfoundry.org:10002 [2022-04-08T03:09:32.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:09:32.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:09:32.610Z] Configure a credential helper to remove this warning. See [2022-04-08T03:09:32.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:09:32.610Z] [2022-04-08T03:09:32.610Z] Login Succeeded [2022-04-08T03:09:32.610Z] nexus3.edgexfoundry.org:10003 [2022-04-08T03:09:32.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:09:32.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:09:32.610Z] Configure a credential helper to remove this warning. See [2022-04-08T03:09:32.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:09:32.610Z] [2022-04-08T03:09:32.610Z] Login Succeeded [2022-04-08T03:09:32.610Z] nexus3.edgexfoundry.org:10004 [2022-04-08T03:09:32.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:09:32.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:09:32.871Z] Configure a credential helper to remove this warning. See [2022-04-08T03:09:32.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:09:32.871Z] [2022-04-08T03:09:32.871Z] Login Succeeded [2022-04-08T03:09:32.871Z] docker.io [2022-04-08T03:09:32.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:09:33.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:09:33.132Z] Configure a credential helper to remove this warning. See [2022-04-08T03:09:33.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:09:33.132Z] [2022-04-08T03:09:33.132Z] Login Succeeded [2022-04-08T03:09:33.132Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T03:09:33.142Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-08T03:09:33.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-08T03:09:33.242Z] ========================================================= [2022-04-08T03:09:33.242Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-08T03:09:33.242Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-08T03:09:33.566Z] + 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-08T03:09:33.566Z] Sending build context to Docker daemon 10.57MB [2022-04-08T03:09:33.566Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T03:09:33.566Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-08T03:09:33.829Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-08T03:09:33.829Z] 59bf1c3509f3: Pulling fs layer [2022-04-08T03:09:33.829Z] 666ba61612fd: Pulling fs layer [2022-04-08T03:09:33.829Z] 8ed8ca486205: Pulling fs layer [2022-04-08T03:09:33.829Z] 4fe6c5a15a65: Pulling fs layer [2022-04-08T03:09:33.829Z] 22a0e8bec74d: Pulling fs layer [2022-04-08T03:09:33.829Z] 640e595b4fbd: Pulling fs layer [2022-04-08T03:09:33.829Z] 763cafe07f6e: Pulling fs layer [2022-04-08T03:09:33.829Z] 0c0b528cf693: Pulling fs layer [2022-04-08T03:09:33.829Z] 10935f4eaf8b: Pulling fs layer [2022-04-08T03:09:33.829Z] 640e595b4fbd: Waiting [2022-04-08T03:09:33.829Z] 22a0e8bec74d: Waiting [2022-04-08T03:09:33.829Z] 763cafe07f6e: Waiting [2022-04-08T03:09:33.829Z] 10935f4eaf8b: Waiting [2022-04-08T03:09:33.829Z] 4fe6c5a15a65: Waiting [2022-04-08T03:09:33.829Z] 0c0b528cf693: Waiting [2022-04-08T03:09:33.829Z] 8ed8ca486205: Verifying Checksum [2022-04-08T03:09:33.829Z] 8ed8ca486205: Download complete [2022-04-08T03:09:33.829Z] 666ba61612fd: Download complete [2022-04-08T03:09:33.829Z] 22a0e8bec74d: Verifying Checksum [2022-04-08T03:09:33.829Z] 22a0e8bec74d: Download complete [2022-04-08T03:09:33.829Z] 640e595b4fbd: Verifying Checksum [2022-04-08T03:09:33.829Z] 640e595b4fbd: Download complete [2022-04-08T03:09:33.829Z] 59bf1c3509f3: Download complete [2022-04-08T03:09:33.829Z] 763cafe07f6e: Verifying Checksum [2022-04-08T03:09:33.829Z] 763cafe07f6e: Download complete [2022-04-08T03:09:33.829Z] 0c0b528cf693: Verifying Checksum [2022-04-08T03:09:33.829Z] 0c0b528cf693: Download complete [2022-04-08T03:09:33.829Z] 59bf1c3509f3: Pull complete [2022-04-08T03:09:34.093Z] 666ba61612fd: Pull complete [2022-04-08T03:09:34.093Z] 8ed8ca486205: Pull complete [2022-04-08T03:09:34.667Z] 10935f4eaf8b: Verifying Checksum [2022-04-08T03:09:34.667Z] 10935f4eaf8b: Download complete [2022-04-08T03:09:34.667Z] 4fe6c5a15a65: Verifying Checksum [2022-04-08T03:09:34.667Z] 4fe6c5a15a65: Download complete [2022-04-08T03:09:38.868Z] 4fe6c5a15a65: Pull complete [2022-04-08T03:09:38.868Z] 22a0e8bec74d: Pull complete [2022-04-08T03:09:38.868Z] 640e595b4fbd: Pull complete [2022-04-08T03:09:38.868Z] 763cafe07f6e: Pull complete [2022-04-08T03:09:38.868Z] 0c0b528cf693: Pull complete [2022-04-08T03:09:41.410Z] 10935f4eaf8b: Pull complete [2022-04-08T03:09:41.410Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-08T03:09:41.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-08T03:09:41.410Z] ---> 99d49a6021b9 [2022-04-08T03:09:41.410Z] Step 3/12 : ARG MAKE='make build' [2022-04-08T03:09:42.358Z] ---> Running in 0e7d37e253e6 [2022-04-08T03:09:42.621Z] Removing intermediate container 0e7d37e253e6 [2022-04-08T03:09:42.621Z] ---> 896484c38a9d [2022-04-08T03:09:42.621Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-08T03:09:42.621Z] ---> Running in 5c3d5cdaec67 [2022-04-08T03:09:42.621Z] Removing intermediate container 5c3d5cdaec67 [2022-04-08T03:09:42.621Z] ---> fb19a035734a [2022-04-08T03:09:42.621Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-08T03:09:42.621Z] ---> Running in 9066cfa5c6d8 [2022-04-08T03:09:42.881Z] Removing intermediate container 9066cfa5c6d8 [2022-04-08T03:09:42.881Z] ---> b02996125c48 [2022-04-08T03:09:42.881Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T03:09:42.881Z] ---> Running in d0878ac892b9 [2022-04-08T03:09:43.452Z] Removing intermediate container d0878ac892b9 [2022-04-08T03:09:43.452Z] ---> bf805d12f22d [2022-04-08T03:09:43.452Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-08T03:09:43.452Z] ---> Running in cc82c6ab9e96 [2022-04-08T03:09:43.720Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-08T03:09:44.670Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-08T03:09:44.931Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-08T03:09:44.931Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-08T03:09:45.191Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-08T03:09:45.191Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-08T03:09:45.191Z] Executing busybox-1.34.1-r3.trigger [2022-04-08T03:09:45.454Z] OK: 224 MiB in 56 packages [2022-04-08T03:09:45.717Z] Removing intermediate container cc82c6ab9e96 [2022-04-08T03:09:45.717Z] ---> a2be40b0daa1 [2022-04-08T03:09:45.717Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-08T03:09:45.717Z] ---> Running in 538dfd7cd9cf [2022-04-08T03:09:45.976Z] Removing intermediate container 538dfd7cd9cf [2022-04-08T03:09:45.976Z] ---> 3b22bd21966b [2022-04-08T03:09:45.976Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-08T03:09:45.976Z] ---> dbb720d80be2 [2022-04-08T03:09:45.976Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T03:09:45.976Z] ---> Running in bec90c85606c [2022-04-08T03:09:46.986Z] Still waiting to schedule task [2022-04-08T03:09:46.986Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-11552’ [2022-04-08T03:10:00.888Z] Removing intermediate container bec90c85606c [2022-04-08T03:10:00.888Z] ---> f7a70cc1edf7 [2022-04-08T03:10:00.888Z] Step 11/12 : COPY . . [2022-04-08T03:10:00.888Z] ---> 6e90fe2f738b [2022-04-08T03:10:00.888Z] Step 12/12 : RUN $MAKE [2022-04-08T03:10:00.888Z] ---> Running in 0d537e61dc72 [2022-04-08T03:10:00.888Z] noop [2022-04-08T03:10:00.888Z] Removing intermediate container 0d537e61dc72 [2022-04-08T03:10:00.888Z] ---> 683aa1e8a612 [2022-04-08T03:10:00.888Z] Successfully built 683aa1e8a612 [2022-04-08T03:10:00.888Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T03:10:01.180Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-08T03:10:01.180Z] . [Pipeline] withDockerContainer [2022-04-08T03:10:01.261Z] prd-ubuntu20.04-docker-8c-8g-11556 does not seem to be running inside a container [2022-04-08T03:10:01.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-170 -v /w/workspace/gexfoundry_device-rest-go_PR-170:/w/workspace/gexfoundry_device-rest-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-170@tmp:/w/workspace/gexfoundry_device-rest-go_PR-170@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-08T03:10:01.745Z] $ docker top 2d43a4a65b7dfdb279155c09eab903a17a9d20adbffbc29e7324a39322bbc285 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T03:10:02.089Z] + go version [2022-04-08T03:10:02.089Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-08T03:10:02.106Z] $ docker stop --time=1 2d43a4a65b7dfdb279155c09eab903a17a9d20adbffbc29e7324a39322bbc285 [2022-04-08T03:10:03.447Z] $ docker rm -f 2d43a4a65b7dfdb279155c09eab903a17a9d20adbffbc29e7324a39322bbc285 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-08T03:10:03.836Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-08T03:10:03.836Z] . [Pipeline] withDockerContainer [2022-04-08T03:10:03.899Z] prd-ubuntu20.04-docker-8c-8g-11556 does not seem to be running inside a container [2022-04-08T03:10:03.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-170 -v /w/workspace/gexfoundry_device-rest-go_PR-170:/w/workspace/gexfoundry_device-rest-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-170@tmp:/w/workspace/gexfoundry_device-rest-go_PR-170@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-08T03:10:04.314Z] $ docker top 36fa2726e658d0f6cdb52c1a46952692543a180b6505234345be2072d63e851f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-08T03:10:04.676Z] + make test [2022-04-08T03:10:04.676Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-08T03:10:04.935Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-08T03:10:15.024Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-08T03:10:15.024Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-04-08T03:10:20.329Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-08T03:10:24.536Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-08T03:10:24.536Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-08T03:10:24.536Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-08T03:10:24.553Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-08T03:10:24.575Z] $ docker stop --time=1 36fa2726e658d0f6cdb52c1a46952692543a180b6505234345be2072d63e851f [2022-04-08T03:10:26.432Z] $ docker rm -f 36fa2726e658d0f6cdb52c1a46952692543a180b6505234345be2072d63e851f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-08T03:10:26.881Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-08T03:10:26.917Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-08T03:10:28.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-08T03:10:28.352Z] + ls -al . [2022-04-08T03:10:28.352Z] total 172 [2022-04-08T03:10:28.352Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 8 03:10 . [2022-04-08T03:10:28.352Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 03:09 .. [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 8 03:09 .dockerignore [2022-04-08T03:10:28.352Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 03:09 .git [2022-04-08T03:10:28.352Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 03:09 .github [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 8 03:09 .gitignore [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 8 03:09 .golangci.yml [2022-04-08T03:10:28.352Z] drwx------ 3 jenkins jenkins 4096 Apr 8 03:09 .semver [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 8 03:09 Attribution.txt [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 8 03:09 CHANGELOG.md [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 8 03:09 Dockerfile [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 03:09 GOVERNANCE.md [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 8 03:09 Jenkinsfile [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 8 03:09 LICENSE [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 1964 Apr 8 03:09 Makefile [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 8 03:09 OWNERS.md [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 8 03:09 README.md [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 03:09 VERSION [2022-04-08T03:10:28.352Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 03:09 bin [2022-04-08T03:10:28.352Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 03:09 cmd [2022-04-08T03:10:28.352Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 8 03:10 coverage.out [2022-04-08T03:10:28.352Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 03:09 driver [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 3240 Apr 8 03:09 go.mod [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 8 03:09 go.sum [2022-04-08T03:10:28.352Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 03:09 snap [2022-04-08T03:10:28.352Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 8 03:09 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-08T03:10:28.649Z] + 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=2bd2b41f0e25aac27636e628e41fa85d208c2b24 --label arch=amd64 --label version=0.0.0 . [2022-04-08T03:10:28.650Z] Sending build context to Docker daemon 10.58MB [2022-04-08T03:10:28.650Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T03:10:28.650Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-08T03:10:28.650Z] ---> 683aa1e8a612 [2022-04-08T03:10:28.650Z] Step 3/25 : ARG MAKE='make build' [2022-04-08T03:10:28.909Z] ---> Running in 1c32b5c47bec [2022-04-08T03:10:28.909Z] Removing intermediate container 1c32b5c47bec [2022-04-08T03:10:28.909Z] ---> ae8ad3d91a4d [2022-04-08T03:10:28.909Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-08T03:10:28.909Z] ---> Running in 3d8683d549a3 [2022-04-08T03:10:28.909Z] Removing intermediate container 3d8683d549a3 [2022-04-08T03:10:28.909Z] ---> fb53d123e6d5 [2022-04-08T03:10:28.909Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-08T03:10:28.909Z] ---> Running in 30cdd22c7ea1 [2022-04-08T03:10:29.171Z] Removing intermediate container 30cdd22c7ea1 [2022-04-08T03:10:29.171Z] ---> f74710a33ae3 [2022-04-08T03:10:29.171Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T03:10:29.171Z] ---> Running in 16629c3df482 [2022-04-08T03:10:29.744Z] Removing intermediate container 16629c3df482 [2022-04-08T03:10:29.744Z] ---> 824f1dff7321 [2022-04-08T03:10:29.744Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-08T03:10:29.744Z] ---> Running in 545f930fe7c4 [2022-04-08T03:10:30.316Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-08T03:10:30.890Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-08T03:10:31.475Z] OK: 224 MiB in 56 packages [2022-04-08T03:10:31.735Z] Removing intermediate container 545f930fe7c4 [2022-04-08T03:10:31.735Z] ---> 795330c216dc [2022-04-08T03:10:31.735Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-08T03:10:31.735Z] ---> Running in 875f688a423f [2022-04-08T03:10:31.735Z] Removing intermediate container 875f688a423f [2022-04-08T03:10:31.735Z] ---> bb7db879f7e1 [2022-04-08T03:10:31.735Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-08T03:10:31.994Z] ---> b30c94bfbe5c [2022-04-08T03:10:31.994Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T03:10:31.994Z] ---> Running in ba62a8577f0e [2022-04-08T03:10:32.565Z] Removing intermediate container ba62a8577f0e [2022-04-08T03:10:32.565Z] ---> 3932d9cc93ec [2022-04-08T03:10:32.565Z] Step 11/25 : COPY . . [2022-04-08T03:10:33.139Z] ---> af470b7c2cb4 [2022-04-08T03:10:33.139Z] Step 12/25 : RUN $MAKE [2022-04-08T03:10:33.139Z] ---> Running in ca582e96010d [2022-04-08T03:10:33.400Z] 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-08T03:10:55.380Z] Removing intermediate container ca582e96010d [2022-04-08T03:10:55.380Z] ---> 6bcbc46dbdf5 [2022-04-08T03:10:55.380Z] Step 13/25 : FROM alpine:3.14 [2022-04-08T03:10:55.380Z] 3.14: Pulling from library/alpine [2022-04-08T03:10:55.380Z] 8663204ce13b: Pulling fs layer [2022-04-08T03:10:55.380Z] 8663204ce13b: Verifying Checksum [2022-04-08T03:10:55.380Z] 8663204ce13b: Pull complete [2022-04-08T03:10:55.380Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-08T03:10:55.380Z] Status: Downloaded newer image for alpine:3.14 [2022-04-08T03:10:55.380Z] ---> e04c818066af [2022-04-08T03:10:55.380Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-08T03:10:55.380Z] ---> Running in 828f17ffc679 [2022-04-08T03:10:55.380Z] Removing intermediate container 828f17ffc679 [2022-04-08T03:10:55.380Z] ---> bedef4b56b7e [2022-04-08T03:10:55.380Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-08T03:10:55.380Z] ---> Running in 6e5d72ac45ba [2022-04-08T03:10:55.380Z] Removing intermediate container 6e5d72ac45ba [2022-04-08T03:10:55.380Z] ---> cd9d7e67867e [2022-04-08T03:10:55.380Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-08T03:10:55.380Z] ---> Running in 23419ce68921 [2022-04-08T03:10:55.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-08T03:10:55.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-08T03:10:55.380Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-08T03:10:55.380Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-08T03:10:55.380Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-08T03:10:55.380Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-08T03:10:55.380Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-08T03:10:55.380Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-08T03:10:55.380Z] Executing busybox-1.33.1-r7.trigger [2022-04-08T03:10:55.380Z] OK: 8 MiB in 20 packages [2022-04-08T03:10:55.642Z] Removing intermediate container 23419ce68921 [2022-04-08T03:10:55.642Z] ---> 1764d9faf2bf [2022-04-08T03:10:55.642Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-08T03:10:56.213Z] ---> 48e927eb2600 [2022-04-08T03:10:56.213Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-08T03:10:56.213Z] ---> a6cdabd274f0 [2022-04-08T03:10:56.213Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-08T03:10:56.478Z] ---> 749b136be293 [2022-04-08T03:10:56.478Z] Step 20/25 : EXPOSE 59986 [2022-04-08T03:10:56.478Z] ---> Running in 1a4036cf7189 [2022-04-08T03:10:56.478Z] Removing intermediate container 1a4036cf7189 [2022-04-08T03:10:56.478Z] ---> a18bf1dca1d2 [2022-04-08T03:10:56.478Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-08T03:10:56.739Z] ---> Running in 0aefa42bf019 [2022-04-08T03:10:56.739Z] Removing intermediate container 0aefa42bf019 [2022-04-08T03:10:56.739Z] ---> 8dc4edb9d68a [2022-04-08T03:10:56.739Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-08T03:10:56.739Z] ---> Running in 415ef85e089e [2022-04-08T03:10:56.739Z] Removing intermediate container 415ef85e089e [2022-04-08T03:10:56.739Z] ---> 9344b581602f [2022-04-08T03:10:56.739Z] Step 23/25 : LABEL arch=amd64 [2022-04-08T03:10:56.999Z] ---> Running in bed7afe70a88 [2022-04-08T03:10:56.999Z] Removing intermediate container bed7afe70a88 [2022-04-08T03:10:56.999Z] ---> 954732cd3ee3 [2022-04-08T03:10:56.999Z] Step 24/25 : LABEL git_sha=2bd2b41f0e25aac27636e628e41fa85d208c2b24 [2022-04-08T03:10:56.999Z] ---> Running in db86aae7e6fd [2022-04-08T03:10:56.999Z] Removing intermediate container db86aae7e6fd [2022-04-08T03:10:56.999Z] ---> 365b8a4aae8d [2022-04-08T03:10:56.999Z] Step 25/25 : LABEL version=0.0.0 [2022-04-08T03:10:56.999Z] ---> Running in cd77bf006a02 [2022-04-08T03:10:57.261Z] Removing intermediate container cd77bf006a02 [2022-04-08T03:10:57.261Z] ---> d047817820c9 [2022-04-08T03:10:57.261Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-08T03:10:57.261Z] Successfully built d047817820c9 [2022-04-08T03:10:57.261Z] 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-08T03:10:57.679Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T03:10:57.679Z] [2022-04-08T03:10:57.679Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T03:10:57.984Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T03:10:57.984Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-08T03:10:57.984Z] 5eb5b503b376: Pulling fs layer [2022-04-08T03:10:57.984Z] 5c69ac0246d0: Pulling fs layer [2022-04-08T03:10:57.984Z] ec43610c2a17: Pulling fs layer [2022-04-08T03:10:57.984Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-08T03:10:57.984Z] 33b1e0a273af: Pulling fs layer [2022-04-08T03:10:57.984Z] 5d3b04190fa2: Pulling fs layer [2022-04-08T03:10:57.984Z] 2f39f015ded8: Pulling fs layer [2022-04-08T03:10:57.984Z] 33b1e0a273af: Waiting [2022-04-08T03:10:57.984Z] 5d3b04190fa2: Waiting [2022-04-08T03:10:57.984Z] 2f39f015ded8: Waiting [2022-04-08T03:10:57.984Z] 3a2ae6a8a46f: Waiting [2022-04-08T03:10:57.984Z] 5c69ac0246d0: Download complete [2022-04-08T03:10:57.984Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-08T03:10:57.984Z] 3a2ae6a8a46f: Download complete [2022-04-08T03:10:57.984Z] ec43610c2a17: Verifying Checksum [2022-04-08T03:10:57.984Z] ec43610c2a17: Download complete [2022-04-08T03:10:57.984Z] 33b1e0a273af: Verifying Checksum [2022-04-08T03:10:57.984Z] 33b1e0a273af: Download complete [2022-04-08T03:10:58.244Z] 5d3b04190fa2: Verifying Checksum [2022-04-08T03:10:58.244Z] 5d3b04190fa2: Download complete [2022-04-08T03:10:58.244Z] 5eb5b503b376: Verifying Checksum [2022-04-08T03:10:58.244Z] 5eb5b503b376: Download complete [2022-04-08T03:10:58.810Z] 2f39f015ded8: Verifying Checksum [2022-04-08T03:10:58.810Z] 2f39f015ded8: Download complete [2022-04-08T03:10:59.377Z] 5eb5b503b376: Pull complete [2022-04-08T03:10:59.637Z] 5c69ac0246d0: Pull complete [2022-04-08T03:11:00.209Z] ec43610c2a17: Pull complete [2022-04-08T03:11:00.209Z] 3a2ae6a8a46f: Pull complete [2022-04-08T03:11:00.468Z] 33b1e0a273af: Pull complete [2022-04-08T03:11:00.468Z] 5d3b04190fa2: Pull complete [2022-04-08T03:11:05.750Z] 2f39f015ded8: Pull complete [2022-04-08T03:11:05.750Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-08T03:11:05.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T03:11:05.750Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-08T03:11:05.819Z] prd-ubuntu20.04-docker-8c-8g-11556 does not seem to be running inside a container [2022-04-08T03:11:05.866Z] $ 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-170 -v /w/workspace/gexfoundry_device-rest-go_PR-170:/w/workspace/gexfoundry_device-rest-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-170@tmp:/w/workspace/gexfoundry_device-rest-go_PR-170@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-08T03:11:08.480Z] $ docker top 3160e12f51847cc71cefee0200ff679926563ebefc75fc23045320dc0373e356 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T03:11:08.921Z] ---> job-cost.sh [2022-04-08T03:11:08.922Z] lf-activate-venv: SKIPPING [2022-04-08T03:11:08.922Z] INFO: No Stack... [2022-04-08T03:11:09.183Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-08T03:11:09.754Z] INFO: Archiving Costs [Pipeline] sh [2022-04-08T03:11:10.058Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-170/archives/cost.csv [2022-04-08T03:11:10.058Z] + cut -d, -f6 [Pipeline] lock [2022-04-08T03:11:10.074Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-170-2-stack-cost] [2022-04-08T03:11:10.080Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-170-2-stack-cost] did not exist. Created. [2022-04-08T03:11:10.080Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-170-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-08T03:11:10.389Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-08T03:11:10.418Z] Stashed 1 file(s) [Pipeline] } [2022-04-08T03:11:10.424Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-170-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-08T03:11:10.448Z] $ docker stop --time=1 3160e12f51847cc71cefee0200ff679926563ebefc75fc23045320dc0373e356 [2022-04-08T03:11:11.671Z] $ docker rm -f 3160e12f51847cc71cefee0200ff679926563ebefc75fc23045320dc0373e356 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-08T03:13:26.731Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11557 in /w/workspace/gexfoundry_device-rest-go_PR-170 [Pipeline] { [Pipeline] ws [2022-04-08T03:13:26.746Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-04-08T03:13:27.045Z] The recommended git tool is: git [2022-04-08T03:13:34.065Z] using credential edgex-jenkins-ssh [2022-04-08T03:13:34.084Z] Cloning the remote Git repository [2022-04-08T03:13:34.237Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-04-08T03:13:34.416Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-04-08T03:13:34.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-08T03:13:34.665Z] > git --version # timeout=10 [2022-04-08T03:13:34.694Z] > git --version # 'git version 2.25.1' [2022-04-08T03:13:34.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-08T03:13:34.777Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-08T03:13:37.452Z] Merging remotes/origin/main commit 4202c4e4a89e3dab93c0881b05113b30e3444e83 into PR head commit 45d15e48572e0caa6345190a64c138ea1aa2b231 [2022-04-08T03:13:36.756Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-08T03:13:36.776Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-08T03:13:36.800Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-08T03:13:36.838Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-08T03:13:36.839Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-08T03:13:36.854Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/170/head:refs/remotes/origin/PR-170 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-08T03:13:37.471Z] > git config core.sparsecheckout # timeout=10 [2022-04-08T03:13:37.496Z] > git checkout -f 45d15e48572e0caa6345190a64c138ea1aa2b231 # timeout=10 [2022-04-08T03:13:37.591Z] > git remote # timeout=10 [2022-04-08T03:13:37.718Z] Merge succeeded, producing bc27d201fbdae81515f92ced835fb0cf42b2444e [2022-04-08T03:13:37.720Z] Checking out Revision bc27d201fbdae81515f92ced835fb0cf42b2444e (PR-170) [2022-04-08T03:13:37.612Z] > git config --get remote.origin.url # timeout=10 [2022-04-08T03:13:37.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-08T03:13:37.641Z] > git merge 4202c4e4a89e3dab93c0881b05113b30e3444e83 # timeout=10 [2022-04-08T03:13:37.700Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-08T03:13:37.729Z] > git config core.sparsecheckout # timeout=10 [2022-04-08T03:13:37.746Z] > git checkout -f bc27d201fbdae81515f92ced835fb0cf42b2444e # timeout=10 [2022-04-08T03:13:42.006Z] Commit message: "Merge commit '4202c4e4a89e3dab93c0881b05113b30e3444e83' into HEAD" [2022-04-08T03:13:42.018Z] > git rev-list --no-walk 45d15e48572e0caa6345190a64c138ea1aa2b231 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T03:13:43.108Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-08T03:13:43.108Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-08T03:13:43.108Z] Dload Upload Total Spent Left Speed [2022-04-08T03:13:43.108Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 49141 0 --:--:-- --:--:-- --:--:-- 49141 [Pipeline] sh [2022-04-08T03:13:43.633Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-08T03:13:43.988Z] + sudo tee /etc/docker/daemon.new [2022-04-08T03:13:43.988Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-08T03:13:43.988Z] { [2022-04-08T03:13:43.988Z] "registry-mirrors": [ [2022-04-08T03:13:43.988Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-08T03:13:43.988Z] ], [2022-04-08T03:13:43.988Z] "bip": "10.250.0.254/24", [2022-04-08T03:13:43.988Z] "hosts": [ [2022-04-08T03:13:43.988Z] "tcp://0.0.0.0:5555", [2022-04-08T03:13:43.988Z] "unix:///var/run/docker.sock" [2022-04-08T03:13:43.988Z] ], [2022-04-08T03:13:43.988Z] "mtu": 1458, [2022-04-08T03:13:43.988Z] "selinux-enabled": true, [2022-04-08T03:13:43.988Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-08T03:13:43.988Z] } [Pipeline] sh [2022-04-08T03:13:44.339Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-08T03:13:44.759Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T03:14:03.136Z] provisioning config files... [2022-04-08T03:14:03.163Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config6395881483543959540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T03:14:03.528Z] ---> docker-login.sh [2022-04-08T03:14:03.528Z] nexus3.edgexfoundry.org:10001 [2022-04-08T03:14:04.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:14:04.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:14:04.416Z] Configure a credential helper to remove this warning. See [2022-04-08T03:14:04.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:14:04.416Z] [2022-04-08T03:14:04.416Z] Login Succeeded [2022-04-08T03:14:04.416Z] nexus3.edgexfoundry.org:10002 [2022-04-08T03:14:04.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:14:04.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:14:04.969Z] Configure a credential helper to remove this warning. See [2022-04-08T03:14:04.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:14:04.969Z] [2022-04-08T03:14:04.969Z] Login Succeeded [2022-04-08T03:14:04.969Z] nexus3.edgexfoundry.org:10003 [2022-04-08T03:14:05.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:14:05.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:14:05.533Z] Configure a credential helper to remove this warning. See [2022-04-08T03:14:05.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:14:05.533Z] [2022-04-08T03:14:05.533Z] Login Succeeded [2022-04-08T03:14:05.533Z] nexus3.edgexfoundry.org:10004 [2022-04-08T03:14:05.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:14:05.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:14:05.808Z] Configure a credential helper to remove this warning. See [2022-04-08T03:14:05.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:14:05.808Z] [2022-04-08T03:14:05.808Z] Login Succeeded [2022-04-08T03:14:05.808Z] docker.io [2022-04-08T03:14:06.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T03:14:06.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T03:14:06.684Z] Configure a credential helper to remove this warning. See [2022-04-08T03:14:06.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T03:14:06.684Z] [2022-04-08T03:14:06.684Z] Login Succeeded [2022-04-08T03:14:06.684Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T03:14:06.703Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-08T03:14:07.246Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-08T03:14:07.263Z] ========================================================= [2022-04-08T03:14:07.263Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-08T03:14:07.263Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-08T03:14:07.642Z] + 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-08T03:14:07.642Z] Sending build context to Docker daemon 127.5kB [2022-04-08T03:14:07.924Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T03:14:07.924Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-08T03:14:08.203Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-08T03:14:08.203Z] 9b3977197b4f: Pulling fs layer [2022-04-08T03:14:08.203Z] 1a89e8eeedd5: Pulling fs layer [2022-04-08T03:14:08.203Z] 94645a83ff95: Pulling fs layer [2022-04-08T03:14:08.203Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-08T03:14:08.203Z] 0c92f367c5e7: Pulling fs layer [2022-04-08T03:14:08.203Z] f7c0051592d6: Pulling fs layer [2022-04-08T03:14:08.203Z] a227ed2f7395: Pulling fs layer [2022-04-08T03:14:08.203Z] 7b1c46037f91: Pulling fs layer [2022-04-08T03:14:08.203Z] 0c92f367c5e7: Waiting [2022-04-08T03:14:08.203Z] f7c0051592d6: Waiting [2022-04-08T03:14:08.203Z] a227ed2f7395: Waiting [2022-04-08T03:14:08.203Z] 7b1c46037f91: Waiting [2022-04-08T03:14:08.203Z] 3f3a8bcf1eab: Waiting [2022-04-08T03:14:08.203Z] 94645a83ff95: Verifying Checksum [2022-04-08T03:14:08.203Z] 94645a83ff95: Download complete [2022-04-08T03:14:08.203Z] 1a89e8eeedd5: Verifying Checksum [2022-04-08T03:14:08.203Z] 1a89e8eeedd5: Download complete [2022-04-08T03:14:08.203Z] 0c92f367c5e7: Verifying Checksum [2022-04-08T03:14:08.203Z] 0c92f367c5e7: Download complete [2022-04-08T03:14:08.203Z] 9b3977197b4f: Verifying Checksum [2022-04-08T03:14:08.203Z] f7c0051592d6: Verifying Checksum [2022-04-08T03:14:08.203Z] f7c0051592d6: Download complete [2022-04-08T03:14:08.203Z] a227ed2f7395: Verifying Checksum [2022-04-08T03:14:08.203Z] a227ed2f7395: Download complete [2022-04-08T03:14:09.204Z] 9b3977197b4f: Pull complete [2022-04-08T03:14:09.484Z] 1a89e8eeedd5: Pull complete [2022-04-08T03:14:10.089Z] 94645a83ff95: Pull complete [2022-04-08T03:14:10.365Z] 7b1c46037f91: Verifying Checksum [2022-04-08T03:14:10.366Z] 7b1c46037f91: Download complete [2022-04-08T03:14:10.968Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-08T03:14:10.968Z] 3f3a8bcf1eab: Download complete [2022-04-08T03:14:26.093Z] 3f3a8bcf1eab: Pull complete [2022-04-08T03:14:26.093Z] 0c92f367c5e7: Pull complete [2022-04-08T03:14:26.093Z] f7c0051592d6: Pull complete [2022-04-08T03:14:26.093Z] a227ed2f7395: Pull complete [2022-04-08T03:14:31.541Z] 7b1c46037f91: Pull complete [2022-04-08T03:14:31.541Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-08T03:14:31.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-08T03:14:31.541Z] ---> f79e39bc4007 [2022-04-08T03:14:31.541Z] Step 3/12 : ARG MAKE='make build' [2022-04-08T03:14:31.820Z] ---> Running in 86056086d211 [2022-04-08T03:14:32.097Z] Removing intermediate container 86056086d211 [2022-04-08T03:14:32.097Z] ---> ce1b8d7bef75 [2022-04-08T03:14:32.097Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-08T03:14:32.097Z] ---> Running in fa32253b3da5 [2022-04-08T03:14:32.383Z] Removing intermediate container fa32253b3da5 [2022-04-08T03:14:32.383Z] ---> 6355bd46e0a6 [2022-04-08T03:14:32.383Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-08T03:14:32.383Z] ---> Running in 961de22e0117 [2022-04-08T03:14:32.989Z] Removing intermediate container 961de22e0117 [2022-04-08T03:14:32.989Z] ---> 44dcc6b969ed [2022-04-08T03:14:32.989Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T03:14:32.989Z] ---> Running in 7e21bfee51f6 [2022-04-08T03:14:34.978Z] Removing intermediate container 7e21bfee51f6 [2022-04-08T03:14:34.978Z] ---> fd3bd5593a1a [2022-04-08T03:14:34.978Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-08T03:14:34.978Z] ---> Running in 58449db301a0 [2022-04-08T03:14:35.962Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-08T03:14:36.560Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-08T03:14:37.576Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-08T03:14:37.576Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-08T03:14:37.851Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-08T03:14:37.851Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-08T03:14:38.128Z] Executing busybox-1.34.1-r3.trigger [2022-04-08T03:14:38.128Z] OK: 224 MiB in 56 packages [2022-04-08T03:14:40.769Z] Removing intermediate container 58449db301a0 [2022-04-08T03:14:40.769Z] ---> 1cd5d73f36e7 [2022-04-08T03:14:40.769Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-08T03:14:40.769Z] ---> Running in 4d333950aeff [2022-04-08T03:14:40.769Z] Removing intermediate container 4d333950aeff [2022-04-08T03:14:40.769Z] ---> ecec0cefaa22 [2022-04-08T03:14:40.769Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-08T03:14:41.375Z] ---> dbf161b67a81 [2022-04-08T03:14:41.375Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T03:14:41.375Z] ---> Running in fe9913617fec [2022-04-08T03:15:28.380Z] Removing intermediate container fe9913617fec [2022-04-08T03:15:28.380Z] ---> 38f74d487dc4 [2022-04-08T03:15:28.380Z] Step 11/12 : COPY . . [2022-04-08T03:15:28.656Z] ---> 7392641e4635 [2022-04-08T03:15:28.656Z] Step 12/12 : RUN $MAKE [2022-04-08T03:15:28.656Z] ---> Running in f237dc67a12e [2022-04-08T03:15:30.124Z] noop [2022-04-08T03:15:30.398Z] Removing intermediate container f237dc67a12e [2022-04-08T03:15:30.398Z] ---> 800c911cef7b [2022-04-08T03:15:30.398Z] Successfully built 800c911cef7b [2022-04-08T03:15:30.398Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T03:15:30.759Z] + docker inspect -f . ci-base-image-arm64 [2022-04-08T03:15:30.759Z] . [Pipeline] withDockerContainer [2022-04-08T03:15:31.038Z] prd-ubuntu20.04-docker-arm64-4c-16g-11557 does not seem to be running inside a container [2022-04-08T03:15:31.133Z] $ 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-08T03:15:32.595Z] $ docker top 58224347231acf98abfe7ce74f714507d395879157083416ac15112c2eeaab64 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T03:15:33.553Z] + go version [2022-04-08T03:15:33.553Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-08T03:15:33.578Z] $ docker stop --time=1 58224347231acf98abfe7ce74f714507d395879157083416ac15112c2eeaab64 [2022-04-08T03:15:35.290Z] $ docker rm -f 58224347231acf98abfe7ce74f714507d395879157083416ac15112c2eeaab64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-08T03:15:35.948Z] + docker inspect -f . ci-base-image-arm64 [2022-04-08T03:15:35.949Z] . [Pipeline] withDockerContainer [2022-04-08T03:15:36.201Z] prd-ubuntu20.04-docker-arm64-4c-16g-11557 does not seem to be running inside a container [2022-04-08T03:15:36.293Z] $ 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-08T03:15:37.708Z] $ docker top bac073505b2f082862ab0db9c67da4a5202d9450980d0102483fd58385c611ee -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-08T03:15:38.666Z] + make test [2022-04-08T03:15:38.666Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-08T03:15:40.668Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-08T03:17:17.584Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-08T03:17:17.584Z] ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 55.2% of statements [2022-04-08T03:17:17.584Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-08T03:17:17.584Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-08T03:17:32.787Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-08T03:17:33.065Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-08T03:17:33.065Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-08T03:17:36.479Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-08T03:17:36.493Z] $ docker stop --time=1 bac073505b2f082862ab0db9c67da4a5202d9450980d0102483fd58385c611ee [2022-04-08T03:17:38.308Z] $ docker rm -f bac073505b2f082862ab0db9c67da4a5202d9450980d0102483fd58385c611ee [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-08T03:17:39.278Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-08T03:17:39.306Z] Warning: overwriting stash ‘coverage-report’ [2022-04-08T03:17:39.814Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T03:17:40.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-08T03:17:40.576Z] + ls -al . [2022-04-08T03:17:40.576Z] total 168 [2022-04-08T03:17:40.576Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 03:17 . [2022-04-08T03:17:40.576Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 03:13 .. [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 8 03:13 .dockerignore [2022-04-08T03:17:40.576Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 03:13 .git [2022-04-08T03:17:40.576Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 03:13 .github [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 8 03:13 .gitignore [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 8 03:13 .golangci.yml [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 8 03:13 Attribution.txt [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 8 03:13 CHANGELOG.md [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 8 03:13 Dockerfile [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 03:13 GOVERNANCE.md [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 8 03:13 Jenkinsfile [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 8 03:13 LICENSE [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 1964 Apr 8 03:13 Makefile [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 8 03:13 OWNERS.md [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 8 03:13 README.md [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 03:09 VERSION [2022-04-08T03:17:40.576Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 03:13 bin [2022-04-08T03:17:40.576Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 03:13 cmd [2022-04-08T03:17:40.576Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 8 03:17 coverage.out [2022-04-08T03:17:40.576Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 03:13 driver [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 3240 Apr 8 03:13 go.mod [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 8 03:13 go.sum [2022-04-08T03:17:40.576Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 03:13 snap [2022-04-08T03:17:40.576Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 8 03:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-08T03:17:40.926Z] + 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=bc27d201fbdae81515f92ced835fb0cf42b2444e --label arch=arm64 --label version=0.0.0 . [2022-04-08T03:17:40.926Z] Sending build context to Docker daemon 137.7kB [2022-04-08T03:17:41.204Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T03:17:41.204Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-08T03:17:41.204Z] ---> 800c911cef7b [2022-04-08T03:17:41.204Z] Step 3/25 : ARG MAKE='make build' [2022-04-08T03:17:41.204Z] ---> Running in c8e1c59f85ca [2022-04-08T03:17:41.805Z] Removing intermediate container c8e1c59f85ca [2022-04-08T03:17:41.805Z] ---> 748de0f95a3c [2022-04-08T03:17:41.805Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-08T03:17:41.805Z] ---> Running in eb14e86e6a0c [2022-04-08T03:17:42.080Z] Removing intermediate container eb14e86e6a0c [2022-04-08T03:17:42.080Z] ---> 69562eb10ff2 [2022-04-08T03:17:42.080Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-08T03:17:42.080Z] ---> Running in 97c88669f807 [2022-04-08T03:17:42.372Z] Removing intermediate container 97c88669f807 [2022-04-08T03:17:42.372Z] ---> ecb816a91722 [2022-04-08T03:17:42.372Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T03:17:42.372Z] ---> Running in 3a8b509be20d [2022-04-08T03:17:44.415Z] Removing intermediate container 3a8b509be20d [2022-04-08T03:17:44.415Z] ---> 4947e5ffb3a4 [2022-04-08T03:17:44.415Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-08T03:17:44.415Z] ---> Running in 3e3cdbedc459 [2022-04-08T03:17:45.445Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-08T03:17:46.444Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-08T03:17:47.432Z] OK: 224 MiB in 56 packages [2022-04-08T03:17:48.416Z] Removing intermediate container 3e3cdbedc459 [2022-04-08T03:17:48.416Z] ---> 1b4b1cdb59ab [2022-04-08T03:17:48.416Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-08T03:17:48.416Z] ---> Running in 47201d1cb097 [2022-04-08T03:17:48.692Z] Removing intermediate container 47201d1cb097 [2022-04-08T03:17:48.692Z] ---> fc44ada21f94 [2022-04-08T03:17:48.692Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-08T03:17:49.292Z] ---> 1b859440acc1 [2022-04-08T03:17:49.292Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T03:17:49.292Z] ---> Running in 3b3d9e843fc9 [2022-04-08T03:17:51.275Z] Removing intermediate container 3b3d9e843fc9 [2022-04-08T03:17:51.275Z] ---> 75cdf8be0d2d [2022-04-08T03:17:51.275Z] Step 11/25 : COPY . . [2022-04-08T03:17:51.893Z] ---> 27083c2b3423 [2022-04-08T03:17:51.893Z] Step 12/25 : RUN $MAKE [2022-04-08T03:17:51.893Z] ---> Running in 23f1627607b2 [2022-04-08T03:17:53.347Z] 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-08T03:20:00.226Z] Removing intermediate container 23f1627607b2 [2022-04-08T03:20:00.226Z] ---> c8c128416347 [2022-04-08T03:20:00.226Z] Step 13/25 : FROM alpine:3.14 [2022-04-08T03:20:00.226Z] 3.14: Pulling from library/alpine [2022-04-08T03:20:00.226Z] 455c02918c45: Pulling fs layer [2022-04-08T03:20:00.226Z] 455c02918c45: Verifying Checksum [2022-04-08T03:20:00.226Z] 455c02918c45: Download complete [2022-04-08T03:20:00.226Z] 455c02918c45: Pull complete [2022-04-08T03:20:00.226Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-08T03:20:00.226Z] Status: Downloaded newer image for alpine:3.14 [2022-04-08T03:20:00.503Z] ---> ac73e934f311 [2022-04-08T03:20:00.503Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-08T03:20:00.503Z] ---> Running in acf680f6b4bd [2022-04-08T03:20:00.780Z] Removing intermediate container acf680f6b4bd [2022-04-08T03:20:00.780Z] ---> 810e94846e8c [2022-04-08T03:20:00.780Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-08T03:20:00.780Z] ---> Running in 8bcd7815158d [2022-04-08T03:20:01.068Z] Removing intermediate container 8bcd7815158d [2022-04-08T03:20:01.068Z] ---> 96dd1f617974 [2022-04-08T03:20:01.068Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-08T03:20:01.343Z] ---> Running in 875e32dcb3e3 [2022-04-08T03:20:02.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-08T03:20:02.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-08T03:20:03.589Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-08T03:20:03.589Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-08T03:20:03.590Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-08T03:20:03.590Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-08T03:20:03.590Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-08T03:20:03.590Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-08T03:20:03.590Z] Executing busybox-1.33.1-r7.trigger [2022-04-08T03:20:03.590Z] OK: 8 MiB in 20 packages [2022-04-08T03:20:04.573Z] Removing intermediate container 875e32dcb3e3 [2022-04-08T03:20:04.573Z] ---> 3c3507d4ff80 [2022-04-08T03:20:04.573Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-08T03:20:06.548Z] ---> b193f3538eef [2022-04-08T03:20:06.548Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-08T03:20:06.821Z] ---> 12fbb1bea952 [2022-04-08T03:20:06.821Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-08T03:20:07.420Z] ---> 633e83d7f4fd [2022-04-08T03:20:07.420Z] Step 20/25 : EXPOSE 59986 [2022-04-08T03:20:07.420Z] ---> Running in 05eb76462812 [2022-04-08T03:20:07.697Z] Removing intermediate container 05eb76462812 [2022-04-08T03:20:07.697Z] ---> 7fb3edf1f70b [2022-04-08T03:20:07.697Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-08T03:20:07.972Z] ---> Running in 928e637b9daa [2022-04-08T03:20:08.247Z] Removing intermediate container 928e637b9daa [2022-04-08T03:20:08.247Z] ---> cebc4cee7c75 [2022-04-08T03:20:08.247Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-08T03:20:08.247Z] ---> Running in 03dc29092c4a [2022-04-08T03:20:08.522Z] Removing intermediate container 03dc29092c4a [2022-04-08T03:20:08.522Z] ---> 2103f90e3651 [2022-04-08T03:20:08.522Z] Step 23/25 : LABEL arch=arm64 [2022-04-08T03:20:08.796Z] ---> Running in 3a86136d8fef [2022-04-08T03:20:09.070Z] Removing intermediate container 3a86136d8fef [2022-04-08T03:20:09.070Z] ---> e6ba14415dd0 [2022-04-08T03:20:09.070Z] Step 24/25 : LABEL git_sha=bc27d201fbdae81515f92ced835fb0cf42b2444e [2022-04-08T03:20:09.070Z] ---> Running in 679e2c52d4b1 [2022-04-08T03:20:09.345Z] Removing intermediate container 679e2c52d4b1 [2022-04-08T03:20:09.345Z] ---> 05b0729962c1 [2022-04-08T03:20:09.345Z] Step 25/25 : LABEL version=0.0.0 [2022-04-08T03:20:09.345Z] ---> Running in f298dec9030d [2022-04-08T03:20:09.939Z] Removing intermediate container f298dec9030d [2022-04-08T03:20:09.939Z] ---> 06b318050e00 [2022-04-08T03:20:09.939Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-08T03:20:09.939Z] Successfully built 06b318050e00 [2022-04-08T03:20:09.939Z] 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-08T03:20:10.380Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T03:20:10.380Z] [2022-04-08T03:20:10.380Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-08T03:20:10.725Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T03:20:11.001Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-08T03:20:11.001Z] 8998bd30e6a1: Pulling fs layer [2022-04-08T03:20:11.001Z] 04944245beec: Pulling fs layer [2022-04-08T03:20:11.001Z] 699f458cf7ca: Pulling fs layer [2022-04-08T03:20:11.001Z] 765212b225bb: Pulling fs layer [2022-04-08T03:20:11.001Z] f23df028b6ca: Pulling fs layer [2022-04-08T03:20:11.001Z] d65c8cfc05b1: Pulling fs layer [2022-04-08T03:20:11.001Z] 2437ff75d9bd: Pulling fs layer [2022-04-08T03:20:11.001Z] 765212b225bb: Waiting [2022-04-08T03:20:11.001Z] f23df028b6ca: Waiting [2022-04-08T03:20:11.001Z] d65c8cfc05b1: Waiting [2022-04-08T03:20:11.001Z] 2437ff75d9bd: Waiting [2022-04-08T03:20:11.001Z] 04944245beec: Verifying Checksum [2022-04-08T03:20:11.001Z] 04944245beec: Download complete [2022-04-08T03:20:11.001Z] 765212b225bb: Verifying Checksum [2022-04-08T03:20:11.001Z] 765212b225bb: Download complete [2022-04-08T03:20:11.001Z] f23df028b6ca: Download complete [2022-04-08T03:20:11.001Z] d65c8cfc05b1: Verifying Checksum [2022-04-08T03:20:11.001Z] d65c8cfc05b1: Download complete [2022-04-08T03:20:11.276Z] 699f458cf7ca: Verifying Checksum [2022-04-08T03:20:11.276Z] 699f458cf7ca: Download complete [2022-04-08T03:20:11.550Z] 8998bd30e6a1: Verifying Checksum [2022-04-08T03:20:11.550Z] 8998bd30e6a1: Download complete [2022-04-08T03:20:14.179Z] 2437ff75d9bd: Verifying Checksum [2022-04-08T03:20:15.611Z] 8998bd30e6a1: Pull complete [2022-04-08T03:20:16.207Z] 04944245beec: Pull complete [2022-04-08T03:20:17.643Z] 699f458cf7ca: Pull complete [2022-04-08T03:20:17.643Z] 765212b225bb: Pull complete [2022-04-08T03:20:18.623Z] f23df028b6ca: Pull complete [2022-04-08T03:20:18.899Z] d65c8cfc05b1: Pull complete [2022-04-08T03:20:33.995Z] 2437ff75d9bd: Pull complete [2022-04-08T03:20:33.995Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-08T03:20:33.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T03:20:33.995Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-08T03:20:34.254Z] prd-ubuntu20.04-docker-arm64-4c-16g-11557 does not seem to be running inside a container [2022-04-08T03:20:34.352Z] $ 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-08T03:20:37.151Z] $ docker top 179f76fb990e6d3dd00eb97ac2cccec4b199e828b971b7ed31bbc8b1ff3654c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T03:20:38.102Z] ---> job-cost.sh [2022-04-08T03:20:38.102Z] lf-activate-venv: SKIPPING [2022-04-08T03:20:38.102Z] INFO: No Stack... [2022-04-08T03:20:38.697Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-08T03:20:39.296Z] INFO: Archiving Costs [Pipeline] sh [2022-04-08T03:20:39.962Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2022-04-08T03:20:39.962Z] + cut -d, -f6 [Pipeline] lock [2022-04-08T03:20:40.035Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-170-2-stack-cost] [2022-04-08T03:20:40.041Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-170-2-stack-cost] did not exist. Created. [2022-04-08T03:20:40.041Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-170-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-08T03:20:40.726Z] /w/workspace/device-rest-go/2@tmp/durable-35c9055e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-08T03:20:41.419Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-08T03:20:41.441Z] Warning: overwriting stash ‘stack-cost’ [2022-04-08T03:20:41.489Z] Stashed 1 file(s) [Pipeline] } [2022-04-08T03:20:41.496Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-170-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-08T03:20:41.512Z] $ docker stop --time=1 179f76fb990e6d3dd00eb97ac2cccec4b199e828b971b7ed31bbc8b1ff3654c1 [2022-04-08T03:20:43.084Z] $ docker rm -f 179f76fb990e6d3dd00eb97ac2cccec4b199e828b971b7ed31bbc8b1ff3654c1 [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-08T03:20:43.685Z] provisioning config files... [2022-04-08T03:20:43.701Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-170@tmp/config1514889393974249974tmp [Pipeline] { [Pipeline] sh [2022-04-08T03:20:44.006Z] + set +x [2022-04-08T03:20:44.006Z] + curl -s https://codecov.io/bash [2022-04-08T03:20:44.006Z] + bash -s -- [2022-04-08T03:20:44.006Z] [2022-04-08T03:20:44.006Z] _____ _ [2022-04-08T03:20:44.006Z] / ____| | | [2022-04-08T03:20:44.006Z] | | ___ __| | ___ ___ _____ __ [2022-04-08T03:20:44.006Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-08T03:20:44.006Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-08T03:20:44.006Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-08T03:20:44.006Z] Bash-1.0.6 [2022-04-08T03:20:44.006Z] [2022-04-08T03:20:44.006Z] [2022-04-08T03:20:44.006Z] ==> git version 2.25.1 found [2022-04-08T03:20:44.006Z] ==> 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-08T03:20:44.006Z] Release-Date: 2020-01-08 [2022-04-08T03:20:44.006Z] 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-08T03:20:44.006Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-08T03:20:44.006Z] ==> Jenkins CI detected. [2022-04-08T03:20:44.006Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-170 [2022-04-08T03:20:44.006Z] project root: . [2022-04-08T03:20:44.006Z] --> token set from env [2022-04-08T03:20:44.006Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-08T03:20:44.006Z] ==> Running gcov in . (disable via -X gcov) [2022-04-08T03:20:44.006Z] ==> Python coveragepy not found [2022-04-08T03:20:44.006Z] ==> Searching for coverage reports in: [2022-04-08T03:20:44.006Z] + . [2022-04-08T03:20:44.006Z] -> Found 1 reports [2022-04-08T03:20:44.006Z] ==> Detecting git/mercurial file structure [2022-04-08T03:20:44.006Z] ==> Reading reports [2022-04-08T03:20:44.267Z] + ./coverage.out bytes=9355 [2022-04-08T03:20:44.267Z] ==> Appending adjustments [2022-04-08T03:20:44.267Z] https://docs.codecov.io/docs/fixing-reports [2022-04-08T03:20:44.267Z] + Found adjustments [2022-04-08T03:20:44.267Z] ==> Gzipping contents [2022-04-08T03:20:44.267Z] 4.0K /tmp/codecov.mrP1mP.gz [2022-04-08T03:20:44.267Z] ==> Uploading reports [2022-04-08T03:20:44.267Z] url: https://codecov.io [2022-04-08T03:20:44.267Z] query: branch=PR-170&commit=2bd2b41f0e25aac27636e628e41fa85d208c2b24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-170%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=170&job=&cmd_args= [2022-04-08T03:20:44.267Z] -> Pinging Codecov [2022-04-08T03:20:44.267Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-170&commit=2bd2b41f0e25aac27636e628e41fa85d208c2b24&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-170%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=170&job=&cmd_args= [2022-04-08T03:20:44.529Z] -> Uploading to [2022-04-08T03:20:44.529Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-08/4E5D53B4F1F92C436F7061BF334D961C/2bd2b41f0e25aac27636e628e41fa85d208c2b24/64ff185c-c1d5-4207-9eb5-80aa6cee7f27.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220408%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220408T032044Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=95eee802197188ea21c5940546f20361ae0ff063c7b48ed75a3e6ee068e7200c [2022-04-08T03:20:44.529Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-08T03:20:44.529Z] Dload Upload Total Spent Left Speed [2022-04-08T03:20:44.791Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 7894 --:--:-- --:--:-- --:--:-- 7929 [2022-04-08T03:20:44.791Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/2bd2b41f0e25aac27636e628e41fa85d208c2b24 [Pipeline] } [2022-04-08T03:20:44.799Z] 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-08T03:20:45.562Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-170/archives ] [2022-04-08T03:20:45.562Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-170/archives [2022-04-08T03:20:45.562Z] total 16 [2022-04-08T03:20:45.562Z] drwxr-xr-x 3 root root 4096 Apr 8 03:11 . [2022-04-08T03:20:45.562Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 8 03:11 .. [2022-04-08T03:20:45.562Z] drwxr-xr-x 2 root root 4096 Apr 8 03:11 cost [2022-04-08T03:20:45.562Z] -rw-r--r-- 1 root root 85 Apr 8 03:11 cost.csv [2022-04-08T03:20:45.562Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-170/archives [2022-04-08T03:20:45.562Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-170/archives [2022-04-08T03:20:45.562Z] total 16 [2022-04-08T03:20:45.562Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 8 03:11 . [2022-04-08T03:20:45.562Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 8 03:11 .. [2022-04-08T03:20:45.562Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 8 03:11 cost [2022-04-08T03:20:45.562Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 8 03:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-08T03:20:45.971Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T03:20:46.839Z] ---> package-listing.sh [2022-04-08T03:20:46.839Z] ++ facter osfamily [2022-04-08T03:20:46.839Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-08T03:20:47.099Z] + OS_FAMILY=debian [2022-04-08T03:20:47.099Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-170 [2022-04-08T03:20:47.099Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-08T03:20:47.099Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-08T03:20:47.099Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-08T03:20:47.099Z] + PACKAGES=/tmp/packages_start.txt [2022-04-08T03:20:47.099Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-170 ']' [2022-04-08T03:20:47.099Z] + PACKAGES=/tmp/packages_end.txt [2022-04-08T03:20:47.099Z] + case "${OS_FAMILY}" in [2022-04-08T03:20:47.099Z] + dpkg -l [2022-04-08T03:20:47.099Z] + grep '^ii' [2022-04-08T03:20:47.099Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-08T03:20:47.099Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-08T03:20:47.099Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-08T03:20:47.099Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-170 ']' [2022-04-08T03:20:47.099Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-170/archives/ [2022-04-08T03:20:47.099Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-170/archives/ [Pipeline] echo [2022-04-08T03:20:47.113Z] 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-170/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-08T03:20:47.396Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-08T03:20:47.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T03:20:47.956Z] . [Pipeline] withDockerContainer [2022-04-08T03:20:48.030Z] prd-ubuntu20.04-docker-8c-8g-11556 does not seem to be running inside a container [2022-04-08T03:20:48.071Z] $ 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-170/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-170 -v /w/workspace/gexfoundry_device-rest-go_PR-170:/w/workspace/gexfoundry_device-rest-go_PR-170:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-170@tmp:/w/workspace/gexfoundry_device-rest-go_PR-170@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-08T03:20:48.340Z] $ docker top e83019acf7eda227cb51076645ae51b98d625a5ac6c84cfcb258b8e2dd9ece80 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T03:20:48.712Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-08T03:20:49.008Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-08T03:20:49.304Z] + ls /var/log/sa-host [2022-04-08T03:20:49.304Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T03:20:49.520Z] provisioning config files... [2022-04-08T03:20:49.531Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-170@tmp/config1566275169859636970tmp [Pipeline] { [Pipeline] echo [2022-04-08T03:20:49.549Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T03:20:49.839Z] ---> create-netrc.sh [Pipeline] } [2022-04-08T03:20:49.847Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-08T03:20:50.185Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-08T03:20:50.194Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T03:20:50.480Z] ---> sudo-logs.sh [2022-04-08T03:20:50.480Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-08T03:20:50.516Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T03:20:50.806Z] ---> job-cost.sh [2022-04-08T03:20:50.806Z] lf-activate-venv: SKIPPING [2022-04-08T03:20:50.806Z] DEBUG: total: 0.2199999988079071 [2022-04-08T03:20:50.806Z] INFO: Retrieving Stack Cost... [2022-04-08T03:20:51.376Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-08T03:20:51.946Z] INFO: Archiving Costs [Pipeline] echo [2022-04-08T03:20:51.961Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T03:20:52.248Z] ---> logs-deploy.sh [2022-04-08T03:20:52.248Z] lf-activate-venv: SKIPPING [2022-04-08T03:20:52.248Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-170/2 [2022-04-08T03:20:52.248Z] INFO: archiving workspace using pattern(s): [2022-04-08T03:20:53.192Z] Archives upload complete. [2022-04-08T03:20:53.192Z] INFO: archiving logs to Nexus