Pull request #164 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5a28157ce755f88c21a63d05b145494c7f51f86e+ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (97d79ec464a42ddd024c1b958f2125952adda551) 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-ssh5291851851184904065.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-ssh16656169773329622937.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-164/workspace@libs/edgex-global-pipelines # timeout=10 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-164/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11425760830027038907.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-164/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18138796203667745091.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh9137882491098536374.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-164/workspace@libs/lf-pipelines # timeout=10 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-164/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4256077084701666572.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9278 in /w/workspace/gexfoundry_device-rest-go_PR-164 [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-164 # 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 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 5a28157ce755f88c21a63d05b145494c7f51f86e Merge succeeded, producing 5a28157ce755f88c21a63d05b145494c7f51f86e Checking out Revision 5a28157ce755f88c21a63d05b145494c7f51f86e (PR-164) > 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/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a28157ce755f88c21a63d05b145494c7f51f86e # 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 ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a28157ce755f88c21a63d05b145494c7f51f86e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-28T20:04:36.032Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-28T20:04:36.214Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-28T20:04:36.324Z] ========================================================= [2022-03-28T20:04:36.324Z] EdgeX Global Pipelines Version Info [2022-03-28T20:04:36.324Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:04:37.104Z] ------------------- [2022-03-28T20:04:37.104Z] stable info: [2022-03-28T20:04:37.104Z] ------------------- [2022-03-28T20:04:37.104Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-28T20:04:37.104Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T20:04:37.105Z] Message: update stable to v1.0.221 [2022-03-28T20:04:37.676Z] ------------------- [2022-03-28T20:04:37.676Z] experimental info: [2022-03-28T20:04:37.676Z] ------------------- [2022-03-28T20:04:37.676Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-28T20:04:37.676Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T20:04:37.676Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-28T20:04:37.931Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-03-28T20:04:37.978Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-03-28T20:04:38.020Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-28T20:04:38.059Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-28T20:04:38.097Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-28T20:04:38.136Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-28T20:04:38.176Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-28T20:04:38.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-28T20:04:38.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-28T20:04:38.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-28T20:04:38.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-28T20:04:38.368Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-03-28T20:04:38.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-28T20:04:38.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-28T20:04:38.478Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-28T20:04:38.518Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-28T20:04:38.558Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T20:04:38.601Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T20:04:38.639Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-28T20:04:38.678Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-28T20:04:38.718Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-28T20:04:38.759Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-28T20:04:38.799Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-28T20:04:38.838Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-28T20:04:38.874Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-28T20:04:38.916Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-28T20:04:38.959Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-164 [Pipeline] echo [2022-03-28T20:04:39.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-164 [Pipeline] echo [2022-03-28T20:04:39.040Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-164 [Pipeline] echo [2022-03-28T20:04:39.079Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a28157ce755f88c21a63d05b145494c7f51f86e [Pipeline] echo [2022-03-28T20:04:39.119Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a28157 [Pipeline] echo [2022-03-28T20:04:39.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T20:04:39.272Z] provisioning config files... [2022-03-28T20:04:39.285Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-164@tmp/config3441345157917861882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:04:39.626Z] ---> docker-login.sh [2022-03-28T20:04:39.626Z] nexus3.edgexfoundry.org:10001 [2022-03-28T20:04:39.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:04:39.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:04:39.893Z] Configure a credential helper to remove this warning. See [2022-03-28T20:04:39.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:04:39.893Z] [2022-03-28T20:04:39.893Z] Login Succeeded [2022-03-28T20:04:39.893Z] nexus3.edgexfoundry.org:10002 [2022-03-28T20:04:39.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:04:40.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:04:40.153Z] Configure a credential helper to remove this warning. See [2022-03-28T20:04:40.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:04:40.153Z] [2022-03-28T20:04:40.153Z] Login Succeeded [2022-03-28T20:04:40.153Z] nexus3.edgexfoundry.org:10003 [2022-03-28T20:04:40.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:04:40.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:04:40.153Z] Configure a credential helper to remove this warning. See [2022-03-28T20:04:40.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:04:40.153Z] [2022-03-28T20:04:40.153Z] Login Succeeded [2022-03-28T20:04:40.153Z] nexus3.edgexfoundry.org:10004 [2022-03-28T20:04:40.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:04:40.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:04:40.153Z] Configure a credential helper to remove this warning. See [2022-03-28T20:04:40.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:04:40.153Z] [2022-03-28T20:04:40.153Z] Login Succeeded [2022-03-28T20:04:40.415Z] docker.io [2022-03-28T20:04:40.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:04:40.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:04:40.677Z] Configure a credential helper to remove this warning. See [2022-03-28T20:04:40.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:04:40.677Z] [2022-03-28T20:04:40.677Z] Login Succeeded [2022-03-28T20:04:40.677Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T20:04:40.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-28T20:04:41.326Z] + git rev-list -1 --merges 5a28157ce755f88c21a63d05b145494c7f51f86e~1..5a28157ce755f88c21a63d05b145494c7f51f86e [Pipeline] echo [2022-03-28T20:04:41.443Z] -----------> git rev-list -1 --merges 5a28157ce755f88c21a63d05b145494c7f51f86e~1..5a28157ce755f88c21a63d05b145494c7f51f86e 5a28157ce755f88c21a63d05b145494c7f51f86e [false] [Pipeline] sh [2022-03-28T20:04:41.768Z] + git log --format=format:%s -1 5a28157ce755f88c21a63d05b145494c7f51f86e [Pipeline] echo [2022-03-28T20:04:41.806Z] ========================================================= [2022-03-28T20:04:41.807Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-28T20:04:41.807Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T20:04:42.247Z] + git log --format=format:%s -1 5a28157ce755f88c21a63d05b145494c7f51f86e [Pipeline] echo [2022-03-28T20:04:42.277Z] [semverPrep] GIT_COMMIT: 5a28157ce755f88c21a63d05b145494c7f51f86e, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-03-28T20:04:42.307Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-28T20:04:42.714Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-28T20:04:42.714Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-28T20:04:42.714Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-28T20:04:42.714Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-28T20:04:42.714Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-28T20:04:42.714Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-28T20:04:42.714Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:04:43.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T20:04:43.100Z] [2022-03-28T20:04:43.100Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:04:43.447Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T20:04:43.447Z] latest: Pulling from edgex-devops/git-semver [2022-03-28T20:04:43.447Z] a0d0a0d46f8b: Pulling fs layer [2022-03-28T20:04:43.447Z] 3e5f54012d9b: Pulling fs layer [2022-03-28T20:04:43.447Z] 4c7163046ea9: Pulling fs layer [2022-03-28T20:04:43.447Z] 0c2d73faf560: Pulling fs layer [2022-03-28T20:04:43.447Z] 3e5f54012d9b: Download complete [2022-03-28T20:04:43.447Z] a0d0a0d46f8b: Download complete [2022-03-28T20:04:43.447Z] 0c2d73faf560: Verifying Checksum [2022-03-28T20:04:43.447Z] 0c2d73faf560: Download complete [2022-03-28T20:04:43.447Z] 4c7163046ea9: Verifying Checksum [2022-03-28T20:04:43.447Z] 4c7163046ea9: Download complete [2022-03-28T20:04:43.707Z] a0d0a0d46f8b: Pull complete [2022-03-28T20:04:43.707Z] 3e5f54012d9b: Pull complete [2022-03-28T20:04:43.966Z] 4c7163046ea9: Pull complete [2022-03-28T20:04:44.227Z] 0c2d73faf560: Pull complete [2022-03-28T20:04:44.227Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-28T20:04:44.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T20:04:44.227Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-28T20:04:44.318Z] prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container [2022-03-28T20:04:44.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-164 -v /w/workspace/gexfoundry_device-rest-go_PR-164:/w/workspace/gexfoundry_device-rest-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-164@tmp:/w/workspace/gexfoundry_device-rest-go_PR-164@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-28T20:04:44.999Z] $ docker top dec169f14d782ce7cafea24191d668eb2cf3a714980639313a9434543c918f5b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-28T20:04:45.196Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T20:04:45.196Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T20:04:45.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T20:04:45.326Z] $ docker exec dec169f14d782ce7cafea24191d668eb2cf3a714980639313a9434543c918f5b ssh-agent [2022-03-28T20:04:45.457Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgGMgIl/agent.13 [2022-03-28T20:04:45.457Z] SSH_AGENT_PID=20 [2022-03-28T20:04:45.466Z] Running ssh-add (command line suppressed) [2022-03-28T20:04:45.560Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-164@tmp/private_key_5891820917223413592.key (/w/workspace/gexfoundry_device-rest-go_PR-164@tmp/private_key_5891820917223413592.key) [2022-03-28T20:04:45.585Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T20:04:45.921Z] + git tag --points-at HEAD [Pipeline] } [2022-03-28T20:04:45.939Z] $ docker exec --env ******** --env ******** dec169f14d782ce7cafea24191d668eb2cf3a714980639313a9434543c918f5b ssh-agent -k [2022-03-28T20:04:46.038Z] unset SSH_AUTH_SOCK; [2022-03-28T20:04:46.039Z] unset SSH_AGENT_PID; [2022-03-28T20:04:46.039Z] echo Agent pid 20 killed; [2022-03-28T20:04:46.057Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-28T20:04:46.135Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T20:04:46.135Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T20:04:46.260Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T20:04:46.255Z] $ docker exec dec169f14d782ce7cafea24191d668eb2cf3a714980639313a9434543c918f5b ssh-agent [2022-03-28T20:04:46.376Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlAafnO/agent.53 [2022-03-28T20:04:46.376Z] SSH_AGENT_PID=59 [2022-03-28T20:04:46.382Z] Running ssh-add (command line suppressed) [2022-03-28T20:04:46.483Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-164@tmp/private_key_4940243240853159009.key (/w/workspace/gexfoundry_device-rest-go_PR-164@tmp/private_key_4940243240853159009.key) [2022-03-28T20:04:46.505Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T20:04:46.839Z] + git semver init [2022-03-28T20:04:46.839Z] # -> Open(): unable to determine branch for HEAD [2022-03-28T20:04:46.839Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-164/.git [2022-03-28T20:04:46.839Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-164 [2022-03-28T20:04:46.839Z] # $SEMVER_REMOTE_NAME = origin [2022-03-28T20:04:46.839Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-28T20:04:46.839Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-28T20:04:46.839Z] # $SEMVER_BRANCH = PR-164 [2022-03-28T20:04:46.839Z] # $SEMVER_TEMP = /tmp/semver-799899862 [2022-03-28T20:04:46.839Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-03-28T20:04:48.222Z] # '/tmp/semver-799899862' -> '/w/workspace/gexfoundry_device-rest-go_PR-164/.semver' [2022-03-28T20:04:48.222Z] # -> Force: false [2022-03-28T20:04:48.222Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-164/.semver [Pipeline] } [2022-03-28T20:04:48.247Z] $ docker exec --env ******** --env ******** dec169f14d782ce7cafea24191d668eb2cf3a714980639313a9434543c918f5b ssh-agent -k [2022-03-28T20:04:48.364Z] unset SSH_AUTH_SOCK; [2022-03-28T20:04:48.365Z] unset SSH_AGENT_PID; [2022-03-28T20:04:48.365Z] echo Agent pid 59 killed; [2022-03-28T20:04:48.381Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-28T20:04:48.816Z] + git semver [Pipeline] } [2022-03-28T20:04:48.848Z] $ docker stop --time=1 dec169f14d782ce7cafea24191d668eb2cf3a714980639313a9434543c918f5b [2022-03-28T20:04:50.301Z] $ docker rm -f dec169f14d782ce7cafea24191d668eb2cf3a714980639313a9434543c918f5b [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T20:04:50.734Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-28T20:04:51.031Z] Stashed 1 file(s) [Pipeline] echo [2022-03-28T20:04:51.047Z] [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-03-28T20:04:51.627Z] provisioning config files... [2022-03-28T20:04:51.640Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-164@tmp/config8703109612376338133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:04:51.979Z] ---> docker-login.sh [2022-03-28T20:04:51.979Z] nexus3.edgexfoundry.org:10001 [2022-03-28T20:04:51.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:04:51.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:04:51.979Z] Configure a credential helper to remove this warning. See [2022-03-28T20:04:51.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:04:51.979Z] [2022-03-28T20:04:51.979Z] Login Succeeded [2022-03-28T20:04:51.979Z] nexus3.edgexfoundry.org:10002 [2022-03-28T20:04:51.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:04:51.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:04:51.979Z] Configure a credential helper to remove this warning. See [2022-03-28T20:04:51.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:04:51.979Z] [2022-03-28T20:04:51.979Z] Login Succeeded [2022-03-28T20:04:52.240Z] nexus3.edgexfoundry.org:10003 [2022-03-28T20:04:52.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:04:52.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:04:52.240Z] Configure a credential helper to remove this warning. See [2022-03-28T20:04:52.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:04:52.240Z] [2022-03-28T20:04:52.240Z] Login Succeeded [2022-03-28T20:04:52.240Z] nexus3.edgexfoundry.org:10004 [2022-03-28T20:04:52.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:04:52.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:04:52.240Z] Configure a credential helper to remove this warning. See [2022-03-28T20:04:52.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:04:52.240Z] [2022-03-28T20:04:52.240Z] Login Succeeded [2022-03-28T20:04:52.240Z] docker.io [2022-03-28T20:04:52.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:04:52.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:04:52.763Z] Configure a credential helper to remove this warning. See [2022-03-28T20:04:52.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:04:52.763Z] [2022-03-28T20:04:52.763Z] Login Succeeded [2022-03-28T20:04:52.763Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T20:04:52.792Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T20:04:52.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T20:04:53.024Z] ========================================================= [2022-03-28T20:04:53.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-28T20:04:53.024Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:04:53.439Z] + 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-03-28T20:04:53.439Z] Sending build context to Docker daemon 10.55MB [2022-03-28T20:04:53.439Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T20:04:53.439Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-28T20:04:53.439Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-28T20:04:53.439Z] 59bf1c3509f3: Pulling fs layer [2022-03-28T20:04:53.439Z] 666ba61612fd: Pulling fs layer [2022-03-28T20:04:53.439Z] 8ed8ca486205: Pulling fs layer [2022-03-28T20:04:53.439Z] 4fe6c5a15a65: Pulling fs layer [2022-03-28T20:04:53.439Z] 22a0e8bec74d: Pulling fs layer [2022-03-28T20:04:53.439Z] 640e595b4fbd: Pulling fs layer [2022-03-28T20:04:53.439Z] 763cafe07f6e: Pulling fs layer [2022-03-28T20:04:53.439Z] 0c0b528cf693: Pulling fs layer [2022-03-28T20:04:53.439Z] 10935f4eaf8b: Pulling fs layer [2022-03-28T20:04:53.439Z] 22a0e8bec74d: Waiting [2022-03-28T20:04:53.439Z] 640e595b4fbd: Waiting [2022-03-28T20:04:53.439Z] 763cafe07f6e: Waiting [2022-03-28T20:04:53.439Z] 0c0b528cf693: Waiting [2022-03-28T20:04:53.439Z] 10935f4eaf8b: Waiting [2022-03-28T20:04:53.439Z] 4fe6c5a15a65: Waiting [2022-03-28T20:04:53.701Z] 8ed8ca486205: Verifying Checksum [2022-03-28T20:04:53.701Z] 8ed8ca486205: Download complete [2022-03-28T20:04:53.701Z] 666ba61612fd: Download complete [2022-03-28T20:04:53.701Z] 22a0e8bec74d: Verifying Checksum [2022-03-28T20:04:53.701Z] 22a0e8bec74d: Download complete [2022-03-28T20:04:53.701Z] 640e595b4fbd: Verifying Checksum [2022-03-28T20:04:53.701Z] 640e595b4fbd: Download complete [2022-03-28T20:04:53.701Z] 59bf1c3509f3: Verifying Checksum [2022-03-28T20:04:53.701Z] 59bf1c3509f3: Download complete [2022-03-28T20:04:53.701Z] 763cafe07f6e: Verifying Checksum [2022-03-28T20:04:53.701Z] 763cafe07f6e: Download complete [2022-03-28T20:04:53.701Z] 0c0b528cf693: Verifying Checksum [2022-03-28T20:04:53.701Z] 0c0b528cf693: Download complete [2022-03-28T20:04:53.701Z] 59bf1c3509f3: Pull complete [2022-03-28T20:04:53.962Z] 666ba61612fd: Pull complete [2022-03-28T20:04:53.962Z] 8ed8ca486205: Pull complete [2022-03-28T20:04:54.223Z] 10935f4eaf8b: Verifying Checksum [2022-03-28T20:04:54.223Z] 10935f4eaf8b: Download complete [2022-03-28T20:04:54.223Z] 4fe6c5a15a65: Verifying Checksum [2022-03-28T20:04:54.223Z] 4fe6c5a15a65: Download complete [2022-03-28T20:04:58.430Z] 4fe6c5a15a65: Pull complete [2022-03-28T20:04:58.430Z] 22a0e8bec74d: Pull complete [2022-03-28T20:04:58.430Z] 640e595b4fbd: Pull complete [2022-03-28T20:04:58.430Z] 763cafe07f6e: Pull complete [2022-03-28T20:04:58.430Z] 0c0b528cf693: Pull complete [2022-03-28T20:05:00.343Z] 10935f4eaf8b: Pull complete [2022-03-28T20:05:00.343Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-28T20:05:00.343Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-28T20:05:00.343Z] ---> 99d49a6021b9 [2022-03-28T20:05:00.343Z] Step 3/12 : ARG MAKE='make build' [2022-03-28T20:05:01.732Z] ---> Running in 5826784f1912 [2022-03-28T20:05:01.732Z] Removing intermediate container 5826784f1912 [2022-03-28T20:05:01.732Z] ---> 3cd4831313d0 [2022-03-28T20:05:01.732Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-28T20:05:01.732Z] ---> Running in 8980011e23a8 [2022-03-28T20:05:01.999Z] Removing intermediate container 8980011e23a8 [2022-03-28T20:05:01.999Z] ---> 8a5b2f8830ee [2022-03-28T20:05:01.999Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-28T20:05:01.999Z] ---> Running in 5d7fb244d838 [2022-03-28T20:05:01.999Z] Removing intermediate container 5d7fb244d838 [2022-03-28T20:05:01.999Z] ---> 40efd27a6bc7 [2022-03-28T20:05:01.999Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T20:05:01.999Z] ---> Running in c038bd42d6ed [2022-03-28T20:05:02.569Z] Removing intermediate container c038bd42d6ed [2022-03-28T20:05:02.569Z] ---> 97a4b6d30ebe [2022-03-28T20:05:02.569Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-28T20:05:02.569Z] ---> Running in b3d513cd38bb [2022-03-28T20:05:02.831Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T20:05:03.886Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-28T20:05:04.147Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-28T20:05:04.147Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-28T20:05:04.147Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-28T20:05:04.408Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-28T20:05:04.409Z] Executing busybox-1.34.1-r3.trigger [2022-03-28T20:05:04.409Z] OK: 224 MiB in 56 packages [2022-03-28T20:05:04.980Z] Removing intermediate container b3d513cd38bb [2022-03-28T20:05:04.980Z] ---> 6102c5fb337e [2022-03-28T20:05:04.980Z] Step 8/12 : WORKDIR /device-rest-go [2022-03-28T20:05:04.980Z] ---> Running in 2a850df920b3 [2022-03-28T20:05:04.980Z] Removing intermediate container 2a850df920b3 [2022-03-28T20:05:04.980Z] ---> 289016567cae [2022-03-28T20:05:04.980Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-28T20:05:05.241Z] ---> 88390a519724 [2022-03-28T20:05:05.241Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T20:05:05.241Z] ---> Running in efb18824cf1f [2022-03-28T20:05:06.453Z] Still waiting to schedule task [2022-03-28T20:05:06.453Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9279’ is offline [2022-03-28T20:05:27.190Z] Removing intermediate container efb18824cf1f [2022-03-28T20:05:27.190Z] ---> 80e330a9edc1 [2022-03-28T20:05:27.190Z] Step 11/12 : COPY . . [2022-03-28T20:05:27.190Z] ---> 3891f8eeb490 [2022-03-28T20:05:27.190Z] Step 12/12 : RUN $MAKE [2022-03-28T20:05:27.190Z] ---> Running in 169d67087491 [2022-03-28T20:05:27.190Z] noop [2022-03-28T20:05:27.190Z] Removing intermediate container 169d67087491 [2022-03-28T20:05:27.190Z] ---> 6e75f55bbf0e [2022-03-28T20:05:27.190Z] Successfully built 6e75f55bbf0e [2022-03-28T20:05:27.190Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:05:27.522Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T20:05:27.522Z] . [Pipeline] withDockerContainer [2022-03-28T20:05:27.609Z] prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container [2022-03-28T20:05:27.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-164 -v /w/workspace/gexfoundry_device-rest-go_PR-164:/w/workspace/gexfoundry_device-rest-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-164@tmp:/w/workspace/gexfoundry_device-rest-go_PR-164@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 ******** ci-base-image-x86_64 cat [2022-03-28T20:05:28.038Z] $ docker top b4cbac49e5ad92cece709e82c4af0f2c0667867be7ce8ccf92f844932bf695eb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T20:05:28.451Z] + go version [2022-03-28T20:05:28.451Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-28T20:05:28.492Z] $ docker stop --time=1 b4cbac49e5ad92cece709e82c4af0f2c0667867be7ce8ccf92f844932bf695eb [2022-03-28T20:05:29.775Z] $ docker rm -f b4cbac49e5ad92cece709e82c4af0f2c0667867be7ce8ccf92f844932bf695eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:05:30.450Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T20:05:30.450Z] . [Pipeline] withDockerContainer [2022-03-28T20:05:30.535Z] prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container [2022-03-28T20:05:30.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-164 -v /w/workspace/gexfoundry_device-rest-go_PR-164:/w/workspace/gexfoundry_device-rest-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-164@tmp:/w/workspace/gexfoundry_device-rest-go_PR-164@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 ******** ci-base-image-x86_64 cat [2022-03-28T20:05:30.953Z] $ docker top cee4a038bf6faf94e6b6e03cacae7e5c615bbaed4659896de97de128f7e9cc70 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-28T20:05:31.389Z] + make test [2022-03-28T20:05:31.389Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-28T20:05:31.649Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-03-28T20:05:38.223Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-03-28T20:05:38.483Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 56.0% of statements [2022-03-28T20:05:38.483Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-28T20:05:41.778Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-28T20:05:41.778Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-28T20:05:41.778Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-28T20:05:41.818Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-28T20:05:41.857Z] $ docker stop --time=1 cee4a038bf6faf94e6b6e03cacae7e5c615bbaed4659896de97de128f7e9cc70 [2022-03-28T20:05:43.413Z] $ docker rm -f cee4a038bf6faf94e6b6e03cacae7e5c615bbaed4659896de97de128f7e9cc70 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T20:05:43.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-28T20:05:43.911Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-28T20:05:44.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-28T20:05:45.077Z] + ls -al . [2022-03-28T20:05:45.077Z] total 180 [2022-03-28T20:05:45.077Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 20:05 . [2022-03-28T20:05:45.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:04 .. [2022-03-28T20:05:45.077Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 28 20:04 .dockerignore [2022-03-28T20:05:45.077Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:04 .git [2022-03-28T20:05:45.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:04 .github [2022-03-28T20:05:45.077Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 28 20:04 .gitignore [2022-03-28T20:05:45.077Z] drwx------ 3 jenkins jenkins 4096 Mar 28 20:04 .semver [2022-03-28T20:05:45.077Z] -rw-rw-r-- 1 jenkins jenkins 7192 Mar 28 20:04 Attribution.txt [2022-03-28T20:05:45.077Z] -rw-rw-r-- 1 jenkins jenkins 7459 Mar 28 20:04 CHANGELOG.md [2022-03-28T20:05:45.077Z] -rw-rw-r-- 1 jenkins jenkins 1672 Mar 28 20:04 Dockerfile [2022-03-28T20:05:45.077Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:04 GOVERNANCE.md [2022-03-28T20:05:45.077Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:04 Jenkinsfile [2022-03-28T20:05:45.077Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:04 LICENSE [2022-03-28T20:05:45.077Z] -rw-rw-r-- 1 jenkins jenkins 1078 Mar 28 20:04 Makefile [2022-03-28T20:05:45.077Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 28 20:04 OWNERS.md [2022-03-28T20:05:45.077Z] -rw-rw-r-- 1 jenkins jenkins 8246 Mar 28 20:04 README.md [2022-03-28T20:05:45.077Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 20:04 VERSION [2022-03-28T20:05:45.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:04 bin [2022-03-28T20:05:45.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:04 cmd [2022-03-28T20:05:45.077Z] -rw-r--r-- 1 jenkins jenkins 9215 Mar 28 20:05 coverage.out [2022-03-28T20:05:45.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:04 driver [2022-03-28T20:05:45.078Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 28 20:04 go.mod [2022-03-28T20:05:45.078Z] -rw-rw-r-- 1 jenkins jenkins 50572 Mar 28 20:04 go.sum [2022-03-28T20:05:45.078Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:04 snap [2022-03-28T20:05:45.078Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 28 20:04 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:05:45.409Z] + 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=5a28157ce755f88c21a63d05b145494c7f51f86e --label arch=amd64 --label version=0.0.0 . [2022-03-28T20:05:45.409Z] Sending build context to Docker daemon 10.56MB [2022-03-28T20:05:45.409Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T20:05:45.409Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-28T20:05:45.409Z] ---> 6e75f55bbf0e [2022-03-28T20:05:45.409Z] Step 3/25 : ARG MAKE='make build' [2022-03-28T20:05:45.409Z] ---> Running in 439115f3643e [2022-03-28T20:05:45.671Z] Removing intermediate container 439115f3643e [2022-03-28T20:05:45.671Z] ---> c0d5f5709b16 [2022-03-28T20:05:45.671Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-28T20:05:45.671Z] ---> Running in 05da2157aa4e [2022-03-28T20:05:45.671Z] Removing intermediate container 05da2157aa4e [2022-03-28T20:05:45.672Z] ---> 4733547734e5 [2022-03-28T20:05:45.672Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-28T20:05:45.672Z] ---> Running in dad87cfea60f [2022-03-28T20:05:45.932Z] Removing intermediate container dad87cfea60f [2022-03-28T20:05:45.932Z] ---> 112e0890bcdd [2022-03-28T20:05:45.932Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T20:05:45.932Z] ---> Running in 60981e28507e [2022-03-28T20:05:46.501Z] Removing intermediate container 60981e28507e [2022-03-28T20:05:46.501Z] ---> 1c4c2b761b56 [2022-03-28T20:05:46.501Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-28T20:05:46.501Z] ---> Running in 58b084b8feb1 [2022-03-28T20:05:46.763Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T20:05:47.703Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-28T20:05:47.964Z] OK: 224 MiB in 56 packages [2022-03-28T20:05:48.223Z] Removing intermediate container 58b084b8feb1 [2022-03-28T20:05:48.223Z] ---> 7e210730fa24 [2022-03-28T20:05:48.223Z] Step 8/25 : WORKDIR /device-rest-go [2022-03-28T20:05:48.223Z] ---> Running in 7a4c5136cac5 [2022-03-28T20:05:48.223Z] Removing intermediate container 7a4c5136cac5 [2022-03-28T20:05:48.223Z] ---> 28d344753c14 [2022-03-28T20:05:48.223Z] Step 9/25 : COPY go.mod vendor* ./ [2022-03-28T20:05:48.482Z] ---> 786bbcf77812 [2022-03-28T20:05:48.482Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T20:05:48.482Z] ---> Running in 52a3f5e312d6 [2022-03-28T20:05:49.050Z] Removing intermediate container 52a3f5e312d6 [2022-03-28T20:05:49.050Z] ---> a8d8b21b0eff [2022-03-28T20:05:49.050Z] Step 11/25 : COPY . . [2022-03-28T20:05:49.621Z] ---> 99d8b2bdc8a9 [2022-03-28T20:05:49.621Z] Step 12/25 : RUN $MAKE [2022-03-28T20:05:49.621Z] ---> Running in 4a9ebaa3530f [2022-03-28T20:05:49.621Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-03-28T20:05:57.752Z] Removing intermediate container 4a9ebaa3530f [2022-03-28T20:05:57.752Z] ---> e8bbb4dec710 [2022-03-28T20:05:57.752Z] Step 13/25 : FROM alpine:3.14 [2022-03-28T20:05:58.014Z] 3.14: Pulling from library/alpine [2022-03-28T20:05:58.274Z] 36ccefbf3d8a: Pulling fs layer [2022-03-28T20:05:58.274Z] 36ccefbf3d8a: Verifying Checksum [2022-03-28T20:05:58.274Z] 36ccefbf3d8a: Download complete [2022-03-28T20:05:58.534Z] 36ccefbf3d8a: Pull complete [2022-03-28T20:05:58.534Z] Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 [2022-03-28T20:05:58.534Z] Status: Downloaded newer image for alpine:3.14 [2022-03-28T20:05:58.534Z] ---> a33ac4f1069a [2022-03-28T20:05:58.534Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-03-28T20:05:58.534Z] ---> Running in e4c0b9a59c4c [2022-03-28T20:05:58.802Z] Removing intermediate container e4c0b9a59c4c [2022-03-28T20:05:58.802Z] ---> 3c632d37daf8 [2022-03-28T20:05:58.802Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-03-28T20:05:58.802Z] ---> Running in 6e4bce7f3da4 [2022-03-28T20:05:58.802Z] Removing intermediate container 6e4bce7f3da4 [2022-03-28T20:05:58.802Z] ---> c0cf46b245af [2022-03-28T20:05:58.802Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-28T20:05:58.802Z] ---> Running in 1452aa9e42c2 [2022-03-28T20:05:59.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-28T20:05:59.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-28T20:05:59.635Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-28T20:05:59.635Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-28T20:05:59.635Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-28T20:05:59.635Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-28T20:05:59.635Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-28T20:05:59.635Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-28T20:05:59.635Z] Executing busybox-1.33.1-r6.trigger [2022-03-28T20:05:59.635Z] OK: 8 MiB in 20 packages [2022-03-28T20:05:59.896Z] Removing intermediate container 1452aa9e42c2 [2022-03-28T20:05:59.896Z] ---> c533dae3a06f [2022-03-28T20:05:59.896Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-03-28T20:06:00.469Z] ---> 60eb0da3bb10 [2022-03-28T20:06:00.469Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-03-28T20:06:00.469Z] ---> 4ed72c8d9189 [2022-03-28T20:06:00.469Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-03-28T20:06:00.469Z] ---> cf7ab9b6ae79 [2022-03-28T20:06:00.469Z] Step 20/25 : EXPOSE 59986 [2022-03-28T20:06:00.731Z] ---> Running in f819c2469105 [2022-03-28T20:06:00.731Z] Removing intermediate container f819c2469105 [2022-03-28T20:06:00.731Z] ---> 94d5a833d47b [2022-03-28T20:06:00.731Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-03-28T20:06:00.731Z] ---> Running in e1ce569a7e49 [2022-03-28T20:06:00.731Z] Removing intermediate container e1ce569a7e49 [2022-03-28T20:06:00.731Z] ---> d0ba6753d64b [2022-03-28T20:06:00.731Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-03-28T20:06:00.992Z] ---> Running in b42407c58f65 [2022-03-28T20:06:00.992Z] Removing intermediate container b42407c58f65 [2022-03-28T20:06:00.992Z] ---> 58a2249fff7d [2022-03-28T20:06:00.992Z] Step 23/25 : LABEL arch=amd64 [2022-03-28T20:06:00.992Z] ---> Running in 4b5aa82852e3 [2022-03-28T20:06:01.259Z] Removing intermediate container 4b5aa82852e3 [2022-03-28T20:06:01.259Z] ---> 20f1c3174833 [2022-03-28T20:06:01.259Z] Step 24/25 : LABEL git_sha=5a28157ce755f88c21a63d05b145494c7f51f86e [2022-03-28T20:06:01.259Z] ---> Running in 5c0ef890bd92 [2022-03-28T20:06:01.259Z] Removing intermediate container 5c0ef890bd92 [2022-03-28T20:06:01.259Z] ---> 8b2f98fe65d6 [2022-03-28T20:06:01.259Z] Step 25/25 : LABEL version=0.0.0 [2022-03-28T20:06:01.522Z] ---> Running in e4bb82c56585 [2022-03-28T20:06:01.522Z] Removing intermediate container e4bb82c56585 [2022-03-28T20:06:01.522Z] ---> 0b29a146643c [2022-03-28T20:06:01.522Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-28T20:06:01.522Z] Successfully built 0b29a146643c [2022-03-28T20:06:01.522Z] 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-03-28T20:06:02.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T20:06:02.293Z] [2022-03-28T20:06:02.293Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:06:02.642Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T20:06:02.643Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-28T20:06:02.643Z] 5eb5b503b376: Pulling fs layer [2022-03-28T20:06:02.643Z] 5c69ac0246d0: Pulling fs layer [2022-03-28T20:06:02.643Z] ec43610c2a17: Pulling fs layer [2022-03-28T20:06:02.643Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-28T20:06:02.643Z] 33b1e0a273af: Pulling fs layer [2022-03-28T20:06:02.643Z] 5d3b04190fa2: Pulling fs layer [2022-03-28T20:06:02.643Z] 2f39f015ded8: Pulling fs layer [2022-03-28T20:06:02.643Z] 3a2ae6a8a46f: Waiting [2022-03-28T20:06:02.643Z] 33b1e0a273af: Waiting [2022-03-28T20:06:02.643Z] 5d3b04190fa2: Waiting [2022-03-28T20:06:02.643Z] 5c69ac0246d0: Download complete [2022-03-28T20:06:02.643Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-28T20:06:02.643Z] 3a2ae6a8a46f: Download complete [2022-03-28T20:06:02.643Z] ec43610c2a17: Verifying Checksum [2022-03-28T20:06:02.643Z] ec43610c2a17: Download complete [2022-03-28T20:06:02.643Z] 33b1e0a273af: Download complete [2022-03-28T20:06:02.643Z] 5d3b04190fa2: Verifying Checksum [2022-03-28T20:06:02.643Z] 5d3b04190fa2: Download complete [2022-03-28T20:06:02.902Z] 5eb5b503b376: Verifying Checksum [2022-03-28T20:06:02.902Z] 5eb5b503b376: Download complete [2022-03-28T20:06:03.470Z] 2f39f015ded8: Download complete [2022-03-28T20:06:04.041Z] 5eb5b503b376: Pull complete [2022-03-28T20:06:04.300Z] 5c69ac0246d0: Pull complete [2022-03-28T20:06:04.868Z] ec43610c2a17: Pull complete [2022-03-28T20:06:04.868Z] 3a2ae6a8a46f: Pull complete [2022-03-28T20:06:05.128Z] 33b1e0a273af: Pull complete [2022-03-28T20:06:05.128Z] 5d3b04190fa2: Pull complete [2022-03-28T20:06:10.410Z] 2f39f015ded8: Pull complete [2022-03-28T20:06:10.410Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-28T20:06:10.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T20:06:10.410Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-28T20:06:10.499Z] prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container [2022-03-28T20:06:10.544Z] $ 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-164 -v /w/workspace/gexfoundry_device-rest-go_PR-164:/w/workspace/gexfoundry_device-rest-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-164@tmp:/w/workspace/gexfoundry_device-rest-go_PR-164@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-28T20:06:12.263Z] $ docker top 6949b4bcec8fc7b5f8064a284ea5c931896f55fc3a0fee3c85413850cb69fd19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:06:12.710Z] ---> job-cost.sh [2022-03-28T20:06:12.710Z] lf-activate-venv: SKIPPING [2022-03-28T20:06:12.710Z] INFO: No Stack... [2022-03-28T20:06:13.279Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T20:06:13.847Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T20:06:14.160Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-164/archives/cost.csv [2022-03-28T20:06:14.160Z] + cut -d, -f6 [Pipeline] lock [2022-03-28T20:06:14.205Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] [2022-03-28T20:06:14.210Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] did not exist. Created. [2022-03-28T20:06:14.210Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T20:06:14.602Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-28T20:06:14.651Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T20:06:14.673Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T20:06:14.753Z] $ docker stop --time=1 6949b4bcec8fc7b5f8064a284ea5c931896f55fc3a0fee3c85413850cb69fd19 [2022-03-28T20:06:15.923Z] $ docker rm -f 6949b4bcec8fc7b5f8064a284ea5c931896f55fc3a0fee3c85413850cb69fd19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-28T20:07:53.838Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9280 in /w/workspace/gexfoundry_device-rest-go_PR-164 [Pipeline] { [Pipeline] ws [2022-03-28T20:07:53.882Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-03-28T20:07:54.192Z] The recommended git tool is: git [2022-03-28T20:08:02.108Z] using credential edgex-jenkins-ssh [2022-03-28T20:08:02.129Z] Cloning the remote Git repository [2022-03-28T20:08:02.234Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-03-28T20:08:02.341Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-03-28T20:08:02.495Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-03-28T20:08:02.496Z] > git --version # timeout=10 [2022-03-28T20:08:02.544Z] > git --version # 'git version 2.25.1' [2022-03-28T20:08:02.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T20:08:02.683Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T20:08:04.938Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-03-28T20:08:05.908Z] Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit 5a28157ce755f88c21a63d05b145494c7f51f86e [2022-03-28T20:08:06.252Z] Merge succeeded, producing 5a28157ce755f88c21a63d05b145494c7f51f86e [2022-03-28T20:08:06.252Z] Checking out Revision 5a28157ce755f88c21a63d05b145494c7f51f86e (PR-164) [2022-03-28T20:08:04.973Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T20:08:05.077Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-03-28T20:08:05.162Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-03-28T20:08:05.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T20:08:05.186Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/164/head:refs/remotes/origin/PR-164 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-28T20:08:05.966Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T20:08:06.002Z] > git checkout -f 5a28157ce755f88c21a63d05b145494c7f51f86e # timeout=10 [2022-03-28T20:08:06.096Z] > git remote # timeout=10 [2022-03-28T20:08:06.132Z] > git config --get remote.origin.url # timeout=10 [2022-03-28T20:08:06.172Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T20:08:06.189Z] > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 [2022-03-28T20:08:06.223Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-28T20:08:06.265Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T20:08:06.296Z] > git checkout -f 5a28157ce755f88c21a63d05b145494c7f51f86e # timeout=10 [2022-03-28T20:08:10.847Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-03-28T20:08:10.914Z] > git --version # timeout=10 [2022-03-28T20:08:10.925Z] > git --version # 'git version 2.25.1' [2022-03-28T20:08:10.940Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T20:08:12.055Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-28T20:08:12.055Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-28T20:08:12.055Z] Dload Upload Total Spent Left Speed [2022-03-28T20:08:12.055Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 226k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh [2022-03-28T20:08:12.623Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-28T20:08:12.986Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-28T20:08:12.986Z] sudo tee /etc/docker/daemon.new [2022-03-28T20:08:12.986Z] { [2022-03-28T20:08:12.986Z] "registry-mirrors": [ [2022-03-28T20:08:12.986Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-28T20:08:12.986Z] ], [2022-03-28T20:08:12.986Z] "bip": "10.250.0.254/24", [2022-03-28T20:08:12.986Z] "hosts": [ [2022-03-28T20:08:12.986Z] "tcp://0.0.0.0:5555", [2022-03-28T20:08:12.986Z] "unix:///var/run/docker.sock" [2022-03-28T20:08:12.986Z] ], [2022-03-28T20:08:12.986Z] "mtu": 1458, [2022-03-28T20:08:12.986Z] "selinux-enabled": true, [2022-03-28T20:08:12.986Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-28T20:08:12.986Z] } [Pipeline] sh [2022-03-28T20:08:13.341Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-28T20:08:13.700Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T20:08:32.108Z] provisioning config files... [2022-03-28T20:08:32.140Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1252721825221646447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:08:32.803Z] ---> docker-login.sh [2022-03-28T20:08:32.803Z] nexus3.edgexfoundry.org:10001 [2022-03-28T20:08:33.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:08:33.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:08:33.676Z] Configure a credential helper to remove this warning. See [2022-03-28T20:08:33.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:08:33.676Z] [2022-03-28T20:08:33.676Z] Login Succeeded [2022-03-28T20:08:33.676Z] nexus3.edgexfoundry.org:10002 [2022-03-28T20:08:34.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:08:34.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:08:34.277Z] Configure a credential helper to remove this warning. See [2022-03-28T20:08:34.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:08:34.277Z] [2022-03-28T20:08:34.277Z] Login Succeeded [2022-03-28T20:08:34.277Z] nexus3.edgexfoundry.org:10003 [2022-03-28T20:08:34.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:08:34.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:08:34.848Z] Configure a credential helper to remove this warning. See [2022-03-28T20:08:34.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:08:34.848Z] [2022-03-28T20:08:34.848Z] Login Succeeded [2022-03-28T20:08:34.848Z] nexus3.edgexfoundry.org:10004 [2022-03-28T20:08:35.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:08:35.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:08:35.407Z] Configure a credential helper to remove this warning. See [2022-03-28T20:08:35.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:08:35.407Z] [2022-03-28T20:08:35.407Z] Login Succeeded [2022-03-28T20:08:35.407Z] docker.io [2022-03-28T20:08:35.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T20:08:35.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T20:08:35.956Z] Configure a credential helper to remove this warning. See [2022-03-28T20:08:35.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T20:08:35.956Z] [2022-03-28T20:08:35.956Z] Login Succeeded [2022-03-28T20:08:35.956Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T20:08:35.987Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T20:08:36.393Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T20:08:36.426Z] ========================================================= [2022-03-28T20:08:36.426Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-28T20:08:36.426Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:08:36.876Z] + 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-03-28T20:08:36.876Z] Sending build context to Docker daemon 124.9kB [2022-03-28T20:08:37.151Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T20:08:37.151Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-28T20:08:37.446Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-28T20:08:37.446Z] 9b3977197b4f: Pulling fs layer [2022-03-28T20:08:37.446Z] 1a89e8eeedd5: Pulling fs layer [2022-03-28T20:08:37.446Z] 94645a83ff95: Pulling fs layer [2022-03-28T20:08:37.446Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-28T20:08:37.446Z] 0c92f367c5e7: Pulling fs layer [2022-03-28T20:08:37.446Z] f7c0051592d6: Pulling fs layer [2022-03-28T20:08:37.446Z] a227ed2f7395: Pulling fs layer [2022-03-28T20:08:37.446Z] 7b1c46037f91: Pulling fs layer [2022-03-28T20:08:37.446Z] 0c92f367c5e7: Waiting [2022-03-28T20:08:37.446Z] f7c0051592d6: Waiting [2022-03-28T20:08:37.446Z] a227ed2f7395: Waiting [2022-03-28T20:08:37.446Z] 7b1c46037f91: Waiting [2022-03-28T20:08:37.446Z] 3f3a8bcf1eab: Waiting [2022-03-28T20:08:37.446Z] 94645a83ff95: Download complete [2022-03-28T20:08:37.446Z] 1a89e8eeedd5: Download complete [2022-03-28T20:08:37.446Z] 0c92f367c5e7: Verifying Checksum [2022-03-28T20:08:37.446Z] 0c92f367c5e7: Download complete [2022-03-28T20:08:37.446Z] f7c0051592d6: Verifying Checksum [2022-03-28T20:08:37.446Z] f7c0051592d6: Download complete [2022-03-28T20:08:37.446Z] 9b3977197b4f: Verifying Checksum [2022-03-28T20:08:37.446Z] 9b3977197b4f: Download complete [2022-03-28T20:08:37.446Z] a227ed2f7395: Verifying Checksum [2022-03-28T20:08:37.446Z] a227ed2f7395: Download complete [2022-03-28T20:08:38.435Z] 9b3977197b4f: Pull complete [2022-03-28T20:08:38.717Z] 1a89e8eeedd5: Pull complete [2022-03-28T20:08:39.317Z] 94645a83ff95: Pull complete [2022-03-28T20:08:39.592Z] 7b1c46037f91: Verifying Checksum [2022-03-28T20:08:39.592Z] 7b1c46037f91: Download complete [2022-03-28T20:08:40.191Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-28T20:08:40.191Z] 3f3a8bcf1eab: Download complete [2022-03-28T20:08:52.596Z] 3f3a8bcf1eab: Pull complete [2022-03-28T20:08:52.596Z] 0c92f367c5e7: Pull complete [2022-03-28T20:08:52.596Z] f7c0051592d6: Pull complete [2022-03-28T20:08:52.596Z] a227ed2f7395: Pull complete [2022-03-28T20:08:59.331Z] 7b1c46037f91: Pull complete [2022-03-28T20:08:59.331Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-28T20:08:59.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-28T20:08:59.331Z] ---> f79e39bc4007 [2022-03-28T20:08:59.331Z] Step 3/12 : ARG MAKE='make build' [2022-03-28T20:09:00.313Z] ---> Running in f2b105f9872b [2022-03-28T20:09:00.596Z] Removing intermediate container f2b105f9872b [2022-03-28T20:09:00.596Z] ---> 402ab015f20d [2022-03-28T20:09:00.596Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-28T20:09:00.596Z] ---> Running in 106be51694eb [2022-03-28T20:09:00.870Z] Removing intermediate container 106be51694eb [2022-03-28T20:09:00.870Z] ---> 1a4cc37fedc3 [2022-03-28T20:09:00.870Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-28T20:09:00.870Z] ---> Running in aa1235e18951 [2022-03-28T20:09:01.469Z] Removing intermediate container aa1235e18951 [2022-03-28T20:09:01.469Z] ---> 2d0cd4820ded [2022-03-28T20:09:01.469Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T20:09:01.469Z] ---> Running in 3c26d69cb579 [2022-03-28T20:09:03.444Z] Removing intermediate container 3c26d69cb579 [2022-03-28T20:09:03.444Z] ---> cc612f311705 [2022-03-28T20:09:03.444Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-28T20:09:03.444Z] ---> Running in 89dd7b39c276 [2022-03-28T20:09:04.425Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T20:09:05.402Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-28T20:09:06.003Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-28T20:09:06.278Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-28T20:09:06.278Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-28T20:09:06.554Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-28T20:09:06.554Z] Executing busybox-1.34.1-r3.trigger [2022-03-28T20:09:06.554Z] OK: 224 MiB in 56 packages [2022-03-28T20:09:07.541Z] Removing intermediate container 89dd7b39c276 [2022-03-28T20:09:07.541Z] ---> f867f49b82a1 [2022-03-28T20:09:07.541Z] Step 8/12 : WORKDIR /device-rest-go [2022-03-28T20:09:07.815Z] ---> Running in 897e37c64eeb [2022-03-28T20:09:08.089Z] Removing intermediate container 897e37c64eeb [2022-03-28T20:09:08.089Z] ---> f1ebbc97cb4d [2022-03-28T20:09:08.089Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-28T20:09:08.685Z] ---> ae73948f4851 [2022-03-28T20:09:08.685Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T20:09:08.685Z] ---> Running in 65d1a2c2d481 [2022-03-28T20:10:30.534Z] Removing intermediate container 65d1a2c2d481 [2022-03-28T20:10:30.534Z] ---> 374d52d16ee7 [2022-03-28T20:10:30.534Z] Step 11/12 : COPY . . [2022-03-28T20:10:30.534Z] ---> 28e995a79f0e [2022-03-28T20:10:30.534Z] Step 12/12 : RUN $MAKE [2022-03-28T20:10:30.534Z] ---> Running in e1fb1d996985 [2022-03-28T20:10:30.534Z] noop [2022-03-28T20:10:30.534Z] Removing intermediate container e1fb1d996985 [2022-03-28T20:10:30.534Z] ---> e1f82d665856 [2022-03-28T20:10:30.534Z] Successfully built e1f82d665856 [2022-03-28T20:10:30.534Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:10:30.908Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T20:10:30.908Z] . [Pipeline] withDockerContainer [2022-03-28T20:10:31.163Z] prd-ubuntu20.04-docker-arm64-4c-16g-9280 does not seem to be running inside a container [2022-03-28T20:10:31.263Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2022-03-28T20:10:32.634Z] $ docker top 4687a70ed03cab8c2c7a555341ef8e2c49d942dec05c946e7481ab82497f3dd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T20:10:33.608Z] + go version [2022-03-28T20:10:33.608Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-28T20:10:33.648Z] $ docker stop --time=1 4687a70ed03cab8c2c7a555341ef8e2c49d942dec05c946e7481ab82497f3dd4 [2022-03-28T20:10:35.284Z] $ docker rm -f 4687a70ed03cab8c2c7a555341ef8e2c49d942dec05c946e7481ab82497f3dd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:10:36.122Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T20:10:36.122Z] . [Pipeline] withDockerContainer [2022-03-28T20:10:36.345Z] prd-ubuntu20.04-docker-arm64-4c-16g-9280 does not seem to be running inside a container [2022-03-28T20:10:36.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2022-03-28T20:10:37.753Z] $ docker top 3d0634057dab596a58ee9a29d73e35ac8ee24b727bdfdf1d385ecda8da4349c5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-28T20:10:38.790Z] + make test [2022-03-28T20:10:38.790Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-28T20:10:40.247Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-03-28T20:11:36.880Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-03-28T20:11:36.880Z] ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 56.0% of statements [2022-03-28T20:11:36.880Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-28T20:11:52.000Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-28T20:11:52.000Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-28T20:11:52.000Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-28T20:11:54.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-28T20:11:54.055Z] $ docker stop --time=1 3d0634057dab596a58ee9a29d73e35ac8ee24b727bdfdf1d385ecda8da4349c5 [2022-03-28T20:11:55.798Z] $ docker rm -f 3d0634057dab596a58ee9a29d73e35ac8ee24b727bdfdf1d385ecda8da4349c5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T20:11:56.660Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-28T20:11:56.696Z] Warning: overwriting stash ‘coverage-report’ [2022-03-28T20:11:57.147Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T20:11:57.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-28T20:11:58.127Z] + ls -al . [2022-03-28T20:11:58.127Z] total 176 [2022-03-28T20:11:58.127Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:11 . [2022-03-28T20:11:58.127Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 20:08 .. [2022-03-28T20:11:58.127Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 28 20:08 .dockerignore [2022-03-28T20:11:58.127Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 20:08 .git [2022-03-28T20:11:58.127Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:08 .github [2022-03-28T20:11:58.127Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 28 20:08 .gitignore [2022-03-28T20:11:58.127Z] -rw-rw-r-- 1 jenkins jenkins 7192 Mar 28 20:08 Attribution.txt [2022-03-28T20:11:58.127Z] -rw-rw-r-- 1 jenkins jenkins 7459 Mar 28 20:08 CHANGELOG.md [2022-03-28T20:11:58.127Z] -rw-rw-r-- 1 jenkins jenkins 1672 Mar 28 20:08 Dockerfile [2022-03-28T20:11:58.127Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 20:08 GOVERNANCE.md [2022-03-28T20:11:58.127Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 28 20:08 Jenkinsfile [2022-03-28T20:11:58.127Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 20:08 LICENSE [2022-03-28T20:11:58.127Z] -rw-rw-r-- 1 jenkins jenkins 1078 Mar 28 20:08 Makefile [2022-03-28T20:11:58.127Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 28 20:08 OWNERS.md [2022-03-28T20:11:58.127Z] -rw-rw-r-- 1 jenkins jenkins 8246 Mar 28 20:08 README.md [2022-03-28T20:11:58.128Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 20:04 VERSION [2022-03-28T20:11:58.128Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:08 bin [2022-03-28T20:11:58.128Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:08 cmd [2022-03-28T20:11:58.128Z] -rw-r--r-- 1 jenkins jenkins 9215 Mar 28 20:11 coverage.out [2022-03-28T20:11:58.128Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 20:08 driver [2022-03-28T20:11:58.128Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 28 20:08 go.mod [2022-03-28T20:11:58.128Z] -rw-rw-r-- 1 jenkins jenkins 50572 Mar 28 20:08 go.sum [2022-03-28T20:11:58.128Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 20:08 snap [2022-03-28T20:11:58.128Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 28 20:08 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:11:58.525Z] + 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=5a28157ce755f88c21a63d05b145494c7f51f86e --label arch=arm64 --label version=0.0.0 . [2022-03-28T20:11:58.525Z] Sending build context to Docker daemon 134.7kB [2022-03-28T20:11:58.857Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T20:11:58.857Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-28T20:11:58.857Z] ---> e1f82d665856 [2022-03-28T20:11:58.857Z] Step 3/25 : ARG MAKE='make build' [2022-03-28T20:11:58.857Z] ---> Running in 68396cf95e40 [2022-03-28T20:11:59.484Z] Removing intermediate container 68396cf95e40 [2022-03-28T20:11:59.484Z] ---> 84fa5d86f1dd [2022-03-28T20:11:59.484Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-28T20:11:59.484Z] ---> Running in dd4ee6b31f09 [2022-03-28T20:11:59.815Z] Removing intermediate container dd4ee6b31f09 [2022-03-28T20:11:59.815Z] ---> 06a0e6365bae [2022-03-28T20:11:59.815Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-28T20:11:59.815Z] ---> Running in cb55f5b81808 [2022-03-28T20:12:00.121Z] Removing intermediate container cb55f5b81808 [2022-03-28T20:12:00.121Z] ---> 92daa14fcf03 [2022-03-28T20:12:00.121Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T20:12:00.396Z] ---> Running in 74aa183d1778 [2022-03-28T20:12:01.844Z] Removing intermediate container 74aa183d1778 [2022-03-28T20:12:01.844Z] ---> dea0ceaa78f4 [2022-03-28T20:12:01.844Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-28T20:12:01.844Z] ---> Running in d9d0a1831c7f [2022-03-28T20:12:02.825Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T20:12:03.803Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-28T20:12:04.785Z] OK: 224 MiB in 56 packages [2022-03-28T20:12:05.385Z] Removing intermediate container d9d0a1831c7f [2022-03-28T20:12:05.386Z] ---> 8e788b55bcf7 [2022-03-28T20:12:05.386Z] Step 8/25 : WORKDIR /device-rest-go [2022-03-28T20:12:05.659Z] ---> Running in 8140b094ea48 [2022-03-28T20:12:05.932Z] Removing intermediate container 8140b094ea48 [2022-03-28T20:12:05.932Z] ---> 5817f345169c [2022-03-28T20:12:05.932Z] Step 9/25 : COPY go.mod vendor* ./ [2022-03-28T20:12:06.533Z] ---> cc32b3ef72de [2022-03-28T20:12:06.533Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T20:12:06.533Z] ---> Running in 0d68a4537a77 [2022-03-28T20:12:08.520Z] Removing intermediate container 0d68a4537a77 [2022-03-28T20:12:08.520Z] ---> c354dbddc6b4 [2022-03-28T20:12:08.520Z] Step 11/25 : COPY . . [2022-03-28T20:12:09.118Z] ---> 0d0e3578e984 [2022-03-28T20:12:09.118Z] Step 12/25 : RUN $MAKE [2022-03-28T20:12:09.118Z] ---> Running in 51045e42ea56 [2022-03-28T20:12:10.098Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-03-28T20:12:49.147Z] Removing intermediate container 51045e42ea56 [2022-03-28T20:12:49.147Z] ---> 1a183fab027e [2022-03-28T20:12:49.147Z] Step 13/25 : FROM alpine:3.14 [2022-03-28T20:12:49.744Z] 3.14: Pulling from library/alpine [2022-03-28T20:12:49.744Z] 93a1719cf261: Pulling fs layer [2022-03-28T20:12:50.019Z] 93a1719cf261: Verifying Checksum [2022-03-28T20:12:50.019Z] 93a1719cf261: Download complete [2022-03-28T20:12:50.618Z] 93a1719cf261: Pull complete [2022-03-28T20:12:50.618Z] Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 [2022-03-28T20:12:50.618Z] Status: Downloaded newer image for alpine:3.14 [2022-03-28T20:12:50.618Z] ---> 71a2028e5025 [2022-03-28T20:12:50.618Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-03-28T20:12:50.618Z] ---> Running in 389274f5da61 [2022-03-28T20:12:50.894Z] Removing intermediate container 389274f5da61 [2022-03-28T20:12:50.894Z] ---> 4e02cd67e440 [2022-03-28T20:12:50.894Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-03-28T20:12:51.168Z] ---> Running in 2017396e2be4 [2022-03-28T20:12:51.441Z] Removing intermediate container 2017396e2be4 [2022-03-28T20:12:51.441Z] ---> 55a1f54e3d1b [2022-03-28T20:12:51.441Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-28T20:12:51.441Z] ---> Running in 1a5bbc072396 [2022-03-28T20:12:52.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-28T20:12:52.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-28T20:12:53.682Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-28T20:12:53.682Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-28T20:12:53.682Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-28T20:12:53.682Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-28T20:12:53.682Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-28T20:12:53.682Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-28T20:12:53.682Z] Executing busybox-1.33.1-r6.trigger [2022-03-28T20:12:53.682Z] OK: 8 MiB in 20 packages [2022-03-28T20:12:54.670Z] Removing intermediate container 1a5bbc072396 [2022-03-28T20:12:54.671Z] ---> b0e8215aab84 [2022-03-28T20:12:54.671Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-03-28T20:12:55.652Z] ---> 01cd6ac6a84b [2022-03-28T20:12:55.652Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-03-28T20:12:55.939Z] ---> 4a7616254880 [2022-03-28T20:12:55.939Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-03-28T20:12:56.540Z] ---> 31ed35e1ddbb [2022-03-28T20:12:56.540Z] Step 20/25 : EXPOSE 59986 [2022-03-28T20:12:56.540Z] ---> Running in cf6da31b87d5 [2022-03-28T20:12:56.832Z] Removing intermediate container cf6da31b87d5 [2022-03-28T20:12:56.832Z] ---> c2c669c38746 [2022-03-28T20:12:56.832Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-03-28T20:12:57.107Z] ---> Running in fb46db203b4f [2022-03-28T20:12:57.381Z] Removing intermediate container fb46db203b4f [2022-03-28T20:12:57.381Z] ---> 09904760088b [2022-03-28T20:12:57.381Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-03-28T20:12:57.381Z] ---> Running in 69007fc5396e [2022-03-28T20:12:57.654Z] Removing intermediate container 69007fc5396e [2022-03-28T20:12:57.654Z] ---> 46007cff8c72 [2022-03-28T20:12:57.654Z] Step 23/25 : LABEL arch=arm64 [2022-03-28T20:12:57.654Z] ---> Running in 4e89b82219f2 [2022-03-28T20:12:57.926Z] Removing intermediate container 4e89b82219f2 [2022-03-28T20:12:57.926Z] ---> 451b66e96ec4 [2022-03-28T20:12:57.926Z] Step 24/25 : LABEL git_sha=5a28157ce755f88c21a63d05b145494c7f51f86e [2022-03-28T20:12:58.203Z] ---> Running in 3846ede16982 [2022-03-28T20:12:58.479Z] Removing intermediate container 3846ede16982 [2022-03-28T20:12:58.479Z] ---> 45502714c23c [2022-03-28T20:12:58.479Z] Step 25/25 : LABEL version=0.0.0 [2022-03-28T20:12:58.479Z] ---> Running in f191237700dd [2022-03-28T20:12:58.752Z] Removing intermediate container f191237700dd [2022-03-28T20:12:58.752Z] ---> 596b106a1f06 [2022-03-28T20:12:58.752Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-28T20:12:58.752Z] Successfully built 596b106a1f06 [2022-03-28T20:12:58.752Z] 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-03-28T20:12:59.487Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T20:12:59.487Z] [2022-03-28T20:12:59.487Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:12:59.870Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T20:13:00.146Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-28T20:13:00.146Z] 8998bd30e6a1: Pulling fs layer [2022-03-28T20:13:00.146Z] 04944245beec: Pulling fs layer [2022-03-28T20:13:00.146Z] 699f458cf7ca: Pulling fs layer [2022-03-28T20:13:00.146Z] 765212b225bb: Pulling fs layer [2022-03-28T20:13:00.146Z] f23df028b6ca: Pulling fs layer [2022-03-28T20:13:00.146Z] d65c8cfc05b1: Pulling fs layer [2022-03-28T20:13:00.146Z] 2437ff75d9bd: Pulling fs layer [2022-03-28T20:13:00.146Z] 765212b225bb: Waiting [2022-03-28T20:13:00.146Z] f23df028b6ca: Waiting [2022-03-28T20:13:00.146Z] 2437ff75d9bd: Waiting [2022-03-28T20:13:00.146Z] d65c8cfc05b1: Waiting [2022-03-28T20:13:00.146Z] 04944245beec: Verifying Checksum [2022-03-28T20:13:00.146Z] 04944245beec: Download complete [2022-03-28T20:13:00.146Z] 765212b225bb: Download complete [2022-03-28T20:13:00.146Z] f23df028b6ca: Verifying Checksum [2022-03-28T20:13:00.146Z] f23df028b6ca: Download complete [2022-03-28T20:13:00.146Z] d65c8cfc05b1: Download complete [2022-03-28T20:13:00.425Z] 699f458cf7ca: Verifying Checksum [2022-03-28T20:13:00.425Z] 699f458cf7ca: Download complete [2022-03-28T20:13:00.702Z] 8998bd30e6a1: Verifying Checksum [2022-03-28T20:13:00.702Z] 8998bd30e6a1: Download complete [2022-03-28T20:13:03.334Z] 2437ff75d9bd: Verifying Checksum [2022-03-28T20:13:03.334Z] 2437ff75d9bd: Download complete [2022-03-28T20:13:04.779Z] 8998bd30e6a1: Pull complete [2022-03-28T20:13:05.392Z] 04944245beec: Pull complete [2022-03-28T20:13:06.833Z] 699f458cf7ca: Pull complete [2022-03-28T20:13:07.106Z] 765212b225bb: Pull complete [2022-03-28T20:13:08.086Z] f23df028b6ca: Pull complete [2022-03-28T20:13:08.086Z] d65c8cfc05b1: Pull complete [2022-03-28T20:13:23.171Z] 2437ff75d9bd: Pull complete [2022-03-28T20:13:23.171Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-28T20:13:23.171Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T20:13:23.171Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-28T20:13:23.412Z] prd-ubuntu20.04-docker-arm64-4c-16g-9280 does not seem to be running inside a container [2022-03-28T20:13:23.507Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-28T20:13:25.907Z] $ docker top cfdbbace495f201d8b41f53285d4ecf1cfc174aa29aa494927fca76969e67e3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:13:26.871Z] ---> job-cost.sh [2022-03-28T20:13:26.871Z] lf-activate-venv: SKIPPING [2022-03-28T20:13:26.871Z] INFO: No Stack... [2022-03-28T20:13:27.468Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-28T20:13:28.445Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T20:13:29.152Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-03-28T20:13:29.152Z] + cut -d, -f6 [Pipeline] lock [2022-03-28T20:13:29.240Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] [2022-03-28T20:13:29.248Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] did not exist. Created. [2022-03-28T20:13:29.248Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T20:13:30.051Z] /w/workspace/device-rest-go/1@tmp/durable-91516bdf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-28T20:13:30.778Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-28T20:13:30.814Z] Warning: overwriting stash ‘stack-cost’ [2022-03-28T20:13:30.857Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T20:13:30.871Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-164-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T20:13:30.956Z] $ docker stop --time=1 cfdbbace495f201d8b41f53285d4ecf1cfc174aa29aa494927fca76969e67e3c [2022-03-28T20:13:32.448Z] $ docker rm -f cfdbbace495f201d8b41f53285d4ecf1cfc174aa29aa494927fca76969e67e3c [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-03-28T20:13:33.463Z] provisioning config files... [2022-03-28T20:13:33.473Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-164@tmp/config1174627433662718434tmp [Pipeline] { [Pipeline] sh [2022-03-28T20:13:33.804Z] + set +x [2022-03-28T20:13:33.805Z] + curl -s https://codecov.io/bash [2022-03-28T20:13:33.805Z] + bash -s -- [2022-03-28T20:13:33.805Z] [2022-03-28T20:13:33.805Z] _____ _ [2022-03-28T20:13:33.805Z] / ____| | | [2022-03-28T20:13:33.805Z] | | ___ __| | ___ ___ _____ __ [2022-03-28T20:13:33.805Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-28T20:13:33.805Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-28T20:13:33.805Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-28T20:13:33.805Z] Bash-1.0.6 [2022-03-28T20:13:33.805Z] [2022-03-28T20:13:33.805Z] [2022-03-28T20:13:33.805Z] ==> git version 2.25.1 found [2022-03-28T20:13:33.805Z] ==> 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-03-28T20:13:33.805Z] Release-Date: 2020-01-08 [2022-03-28T20:13:33.805Z] 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-03-28T20:13:33.805Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-28T20:13:33.805Z] ==> Jenkins CI detected. [2022-03-28T20:13:33.805Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-164 [2022-03-28T20:13:33.805Z] project root: . [2022-03-28T20:13:33.805Z] --> token set from env [2022-03-28T20:13:33.805Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-28T20:13:33.805Z] ==> Running gcov in . (disable via -X gcov) [2022-03-28T20:13:33.805Z] ==> Python coveragepy not found [2022-03-28T20:13:33.805Z] ==> Searching for coverage reports in: [2022-03-28T20:13:33.805Z] + . [2022-03-28T20:13:33.805Z] -> Found 1 reports [2022-03-28T20:13:33.805Z] ==> Detecting git/mercurial file structure [2022-03-28T20:13:33.805Z] ==> Reading reports [2022-03-28T20:13:33.805Z] + ./coverage.out bytes=9215 [2022-03-28T20:13:33.805Z] ==> Appending adjustments [2022-03-28T20:13:33.805Z] https://docs.codecov.io/docs/fixing-reports [2022-03-28T20:13:34.067Z] + Found adjustments [2022-03-28T20:13:34.067Z] ==> Gzipping contents [2022-03-28T20:13:34.067Z] 4.0K /tmp/codecov.9HJ28Q.gz [2022-03-28T20:13:34.067Z] ==> Uploading reports [2022-03-28T20:13:34.067Z] url: https://codecov.io [2022-03-28T20:13:34.067Z] query: branch=PR-164&commit=5a28157ce755f88c21a63d05b145494c7f51f86e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-164%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=164&job=&cmd_args= [2022-03-28T20:13:34.067Z] -> Pinging Codecov [2022-03-28T20:13:34.067Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-164&commit=5a28157ce755f88c21a63d05b145494c7f51f86e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-164%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=164&job=&cmd_args= [2022-03-28T20:13:34.328Z] -> Uploading to [2022-03-28T20:13:34.328Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-28/4E5D53B4F1F92C436F7061BF334D961C/5a28157ce755f88c21a63d05b145494c7f51f86e/75a2e447-8d51-4c51-97ae-512ceedb86d4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220328T201334Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bbf5bf622e69f6a2e1fcd7d12623cbb90a78205769ebd34e51891cfa62d193dd [2022-03-28T20:13:34.328Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-28T20:13:34.328Z] Dload Upload Total Spent Left Speed [2022-03-28T20:13:34.588Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1798 0 0 100 1798 0 6968 --:--:-- --:--:-- --:--:-- 6996 [2022-03-28T20:13:34.589Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/5a28157ce755f88c21a63d05b145494c7f51f86e [Pipeline] } [2022-03-28T20:13:34.617Z] 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-03-28T20:13:36.329Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-164/archives ] [2022-03-28T20:13:36.330Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-164/archives [2022-03-28T20:13:36.330Z] total 16 [2022-03-28T20:13:36.330Z] drwxr-xr-x 3 root root 4096 Mar 28 20:06 . [2022-03-28T20:13:36.330Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 20:06 .. [2022-03-28T20:13:36.330Z] drwxr-xr-x 2 root root 4096 Mar 28 20:06 cost [2022-03-28T20:13:36.330Z] -rw-r--r-- 1 root root 85 Mar 28 20:06 cost.csv [2022-03-28T20:13:36.330Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-164/archives [2022-03-28T20:13:36.330Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-164/archives [2022-03-28T20:13:36.330Z] total 16 [2022-03-28T20:13:36.330Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 20:06 . [2022-03-28T20:13:36.330Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 20:06 .. [2022-03-28T20:13:36.330Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 20:06 cost [2022-03-28T20:13:36.330Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 28 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:13:36.711Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:13:37.677Z] ---> package-listing.sh [2022-03-28T20:13:37.677Z] ++ facter osfamily [2022-03-28T20:13:37.677Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-28T20:13:37.938Z] + OS_FAMILY=debian [2022-03-28T20:13:37.938Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-164 [2022-03-28T20:13:37.938Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-28T20:13:37.938Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-28T20:13:37.938Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-28T20:13:37.938Z] + PACKAGES=/tmp/packages_start.txt [2022-03-28T20:13:37.938Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-164 ']' [2022-03-28T20:13:37.938Z] + PACKAGES=/tmp/packages_end.txt [2022-03-28T20:13:37.938Z] + case "${OS_FAMILY}" in [2022-03-28T20:13:37.938Z] + dpkg -l [2022-03-28T20:13:37.938Z] + grep '^ii' [2022-03-28T20:13:37.938Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-28T20:13:37.938Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-28T20:13:37.938Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-28T20:13:37.938Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-164 ']' [2022-03-28T20:13:37.938Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-164/archives/ [2022-03-28T20:13:37.938Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-164/archives/ [Pipeline] echo [2022-03-28T20:13:37.974Z] 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-164/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-28T20:13:38.273Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-28T20:13:38.860Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T20:13:38.860Z] . [Pipeline] withDockerContainer [2022-03-28T20:13:38.947Z] prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container [2022-03-28T20:13:39.004Z] $ 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-164/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-164 -v /w/workspace/gexfoundry_device-rest-go_PR-164:/w/workspace/gexfoundry_device-rest-go_PR-164:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-164@tmp:/w/workspace/gexfoundry_device-rest-go_PR-164@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-28T20:13:39.225Z] $ docker top c571b0024017957e6cfdd810b7e0a32ffa4af2a3a181b966b3579bed2e3521f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T20:13:39.615Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-28T20:13:39.928Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-28T20:13:40.242Z] + ls /var/log/sa-host [2022-03-28T20:13:40.242Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T20:13:40.391Z] provisioning config files... [2022-03-28T20:13:40.400Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-164@tmp/config2024598445137559009tmp [Pipeline] { [Pipeline] echo [2022-03-28T20:13:40.452Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:13:40.766Z] ---> create-netrc.sh [Pipeline] } [2022-03-28T20:13:40.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:13:41.199Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-28T20:13:41.232Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:13:41.548Z] ---> sudo-logs.sh [2022-03-28T20:13:41.548Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-28T20:13:41.630Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:13:41.945Z] ---> job-cost.sh [2022-03-28T20:13:41.945Z] lf-activate-venv: SKIPPING [2022-03-28T20:13:41.945Z] DEBUG: total: 0.2199999988079071 [2022-03-28T20:13:41.945Z] INFO: Retrieving Stack Cost... [2022-03-28T20:13:42.206Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T20:13:42.777Z] INFO: Archiving Costs [Pipeline] echo [2022-03-28T20:13:42.813Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T20:13:43.129Z] ---> logs-deploy.sh [2022-03-28T20:13:43.129Z] lf-activate-venv: SKIPPING [2022-03-28T20:13:43.129Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-164/1 [2022-03-28T20:13:43.129Z] INFO: archiving workspace using pattern(s): [2022-03-28T20:13:44.069Z] Archives upload complete. [2022-03-28T20:13:44.069Z] INFO: archiving logs to Nexus