Pull request #167 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from adc96bab208d4995b9cc965dbf151073ed5ad656+ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (6b28bc3e834ccc7e5853213a5db191ce5aebd456) 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-ssh11634090178979275411.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-ssh5478077408623215887.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-167/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-167/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2094600107739543426.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-167/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12276139711591092835.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-ssh14637249915592721361.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-167/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-167/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15182163560514209740.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-10675 in /w/workspace/gexfoundry_device-rest-go_PR-167 [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-167 # 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 adc96bab208d4995b9cc965dbf151073ed5ad656 Merge succeeded, producing adc96bab208d4995b9cc965dbf151073ed5ad656 Checking out Revision adc96bab208d4995b9cc965dbf151073ed5ad656 (PR-167) > 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/167/head:refs/remotes/origin/PR-167 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f adc96bab208d4995b9cc965dbf151073ed5ad656 # 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 adc96bab208d4995b9cc965dbf151073ed5ad656 # 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-04-04T20:03:38.587Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-04T20:03:38.761Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-04T20:03:38.850Z] ========================================================= [2022-04-04T20:03:38.850Z] EdgeX Global Pipelines Version Info [2022-04-04T20:03:38.850Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:03:39.642Z] ------------------- [2022-04-04T20:03:39.642Z] stable info: [2022-04-04T20:03:39.642Z] ------------------- [2022-04-04T20:03:39.642Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-04T20:03:39.642Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T20:03:39.642Z] Message: update stable to v1.0.221 [2022-04-04T20:03:40.217Z] ------------------- [2022-04-04T20:03:40.217Z] experimental info: [2022-04-04T20:03:40.217Z] ------------------- [2022-04-04T20:03:40.217Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-04T20:03:40.217Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-04T20:03:40.217Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-04T20:03:40.464Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-04-04T20:03:40.498Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-04-04T20:03:40.530Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-04T20:03:40.566Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-04T20:03:40.601Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-04T20:03:40.633Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-04T20:03:40.669Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-04T20:03:40.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-04T20:03:40.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-04T20:03:40.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-04T20:03:40.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-04T20:03:40.850Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-04-04T20:03:40.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-04T20:03:40.924Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-04T20:03:40.962Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T20:03:41.000Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-04T20:03:41.039Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T20:03:41.079Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-04T20:03:41.118Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-04T20:03:41.159Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-04T20:03:41.199Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-04T20:03:41.236Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-04T20:03:41.275Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-04T20:03:41.318Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-04T20:03:41.358Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-04T20:03:41.397Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-04T20:03:41.435Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-167 [Pipeline] echo [2022-04-04T20:03:41.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-167 [Pipeline] echo [2022-04-04T20:03:41.521Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-167 [Pipeline] echo [2022-04-04T20:03:41.564Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = adc96bab208d4995b9cc965dbf151073ed5ad656 [Pipeline] echo [2022-04-04T20:03:41.607Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = adc96ba [Pipeline] echo [2022-04-04T20:03:41.649Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T20:03:41.760Z] provisioning config files... [2022-04-04T20:03:41.777Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-167@tmp/config477039543858444336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:03:42.221Z] ---> docker-login.sh [2022-04-04T20:03:42.221Z] nexus3.edgexfoundry.org:10001 [2022-04-04T20:03:42.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:03:42.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:03:42.484Z] Configure a credential helper to remove this warning. See [2022-04-04T20:03:42.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:03:42.484Z] [2022-04-04T20:03:42.484Z] Login Succeeded [2022-04-04T20:03:42.484Z] nexus3.edgexfoundry.org:10002 [2022-04-04T20:03:42.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:03:42.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:03:42.747Z] Configure a credential helper to remove this warning. See [2022-04-04T20:03:42.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:03:42.747Z] [2022-04-04T20:03:42.747Z] Login Succeeded [2022-04-04T20:03:42.747Z] nexus3.edgexfoundry.org:10003 [2022-04-04T20:03:42.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:03:43.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:03:43.011Z] Configure a credential helper to remove this warning. See [2022-04-04T20:03:43.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:03:43.011Z] [2022-04-04T20:03:43.011Z] Login Succeeded [2022-04-04T20:03:43.011Z] nexus3.edgexfoundry.org:10004 [2022-04-04T20:03:43.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:03:43.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:03:43.011Z] Configure a credential helper to remove this warning. See [2022-04-04T20:03:43.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:03:43.011Z] [2022-04-04T20:03:43.011Z] Login Succeeded [2022-04-04T20:03:43.011Z] docker.io [2022-04-04T20:03:43.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:03:43.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:03:43.585Z] Configure a credential helper to remove this warning. See [2022-04-04T20:03:43.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:03:43.585Z] [2022-04-04T20:03:43.585Z] Login Succeeded [2022-04-04T20:03:43.585Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T20:03:43.612Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-04T20:03:44.241Z] + git rev-list -1 --merges adc96bab208d4995b9cc965dbf151073ed5ad656~1..adc96bab208d4995b9cc965dbf151073ed5ad656 [Pipeline] echo [2022-04-04T20:03:44.396Z] -----------> git rev-list -1 --merges adc96bab208d4995b9cc965dbf151073ed5ad656~1..adc96bab208d4995b9cc965dbf151073ed5ad656 adc96bab208d4995b9cc965dbf151073ed5ad656 [false] [Pipeline] sh [2022-04-04T20:03:44.708Z] + git log --format=format:%s -1 adc96bab208d4995b9cc965dbf151073ed5ad656 [Pipeline] echo [2022-04-04T20:03:44.745Z] ========================================================= [2022-04-04T20:03:44.745Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-04T20:03:44.745Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T20:03:45.183Z] + git log --format=format:%s -1 adc96bab208d4995b9cc965dbf151073ed5ad656 [Pipeline] echo [2022-04-04T20:03:45.214Z] [semverPrep] GIT_COMMIT: adc96bab208d4995b9cc965dbf151073ed5ad656, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-04-04T20:03:45.243Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-04T20:03:45.710Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-04T20:03:45.710Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-04T20:03:45.710Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-04T20:03:45.710Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-04T20:03:45.710Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-04T20:03:45.710Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-04T20:03:45.710Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:03:46.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T20:03:46.169Z] [2022-04-04T20:03:46.169Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:03:46.517Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T20:03:46.517Z] latest: Pulling from edgex-devops/git-semver [2022-04-04T20:03:46.517Z] a0d0a0d46f8b: Pulling fs layer [2022-04-04T20:03:46.517Z] 3e5f54012d9b: Pulling fs layer [2022-04-04T20:03:46.517Z] 4c7163046ea9: Pulling fs layer [2022-04-04T20:03:46.517Z] 0c2d73faf560: Pulling fs layer [2022-04-04T20:03:46.517Z] 0c2d73faf560: Waiting [2022-04-04T20:03:46.517Z] 3e5f54012d9b: Verifying Checksum [2022-04-04T20:03:46.517Z] 3e5f54012d9b: Download complete [2022-04-04T20:03:46.517Z] a0d0a0d46f8b: Verifying Checksum [2022-04-04T20:03:46.517Z] a0d0a0d46f8b: Download complete [2022-04-04T20:03:46.779Z] 0c2d73faf560: Verifying Checksum [2022-04-04T20:03:46.779Z] 0c2d73faf560: Download complete [2022-04-04T20:03:46.779Z] 4c7163046ea9: Verifying Checksum [2022-04-04T20:03:46.779Z] 4c7163046ea9: Download complete [2022-04-04T20:03:46.779Z] a0d0a0d46f8b: Pull complete [2022-04-04T20:03:46.779Z] 3e5f54012d9b: Pull complete [2022-04-04T20:03:47.352Z] 4c7163046ea9: Pull complete [2022-04-04T20:03:47.352Z] 0c2d73faf560: Pull complete [2022-04-04T20:03:47.352Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-04T20:03:47.352Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-04T20:03:47.352Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-04T20:03:47.459Z] prd-ubuntu20.04-docker-8c-8g-10675 does not seem to be running inside a container [2022-04-04T20:03:47.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-167 -v /w/workspace/gexfoundry_device-rest-go_PR-167:/w/workspace/gexfoundry_device-rest-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-167@tmp:/w/workspace/gexfoundry_device-rest-go_PR-167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-04T20:03:48.208Z] $ docker top a5d60b87c0ddebbb53ecda4983b1ae1cba366b614dc7dbe55fd4a48884bd03b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-04T20:03:48.386Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T20:03:48.386Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T20:03:48.516Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T20:03:48.527Z] $ docker exec a5d60b87c0ddebbb53ecda4983b1ae1cba366b614dc7dbe55fd4a48884bd03b2 ssh-agent [2022-04-04T20:03:48.642Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIDafhp/agent.14 [2022-04-04T20:03:48.642Z] SSH_AGENT_PID=20 [2022-04-04T20:03:48.651Z] Running ssh-add (command line suppressed) [2022-04-04T20:03:48.781Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-167@tmp/private_key_20538547524851663.key (/w/workspace/gexfoundry_device-rest-go_PR-167@tmp/private_key_20538547524851663.key) [2022-04-04T20:03:48.799Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T20:03:49.133Z] + git tag --points-at HEAD [Pipeline] } [2022-04-04T20:03:49.168Z] $ docker exec --env ******** --env ******** a5d60b87c0ddebbb53ecda4983b1ae1cba366b614dc7dbe55fd4a48884bd03b2 ssh-agent -k [2022-04-04T20:03:49.268Z] unset SSH_AUTH_SOCK; [2022-04-04T20:03:49.269Z] unset SSH_AGENT_PID; [2022-04-04T20:03:49.269Z] echo Agent pid 20 killed; [2022-04-04T20:03:49.276Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-04T20:03:49.369Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-04T20:03:49.369Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-04T20:03:49.505Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-04T20:03:49.515Z] $ docker exec a5d60b87c0ddebbb53ecda4983b1ae1cba366b614dc7dbe55fd4a48884bd03b2 ssh-agent [2022-04-04T20:03:49.630Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLOCOOD/agent.53 [2022-04-04T20:03:49.630Z] SSH_AGENT_PID=60 [2022-04-04T20:03:49.636Z] Running ssh-add (command line suppressed) [2022-04-04T20:03:49.769Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-167@tmp/private_key_6364948283140436267.key (/w/workspace/gexfoundry_device-rest-go_PR-167@tmp/private_key_6364948283140436267.key) [2022-04-04T20:03:49.781Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-04T20:03:50.122Z] + git semver init [2022-04-04T20:03:50.122Z] # -> Open(): unable to determine branch for HEAD [2022-04-04T20:03:50.122Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-167/.git [2022-04-04T20:03:50.122Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-167 [2022-04-04T20:03:50.122Z] # $SEMVER_REMOTE_NAME = origin [2022-04-04T20:03:50.122Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-04T20:03:50.122Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-04T20:03:50.122Z] # $SEMVER_BRANCH = PR-167 [2022-04-04T20:03:50.122Z] # $SEMVER_TEMP = /tmp/semver-485247315 [2022-04-04T20:03:50.122Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-04-04T20:03:51.510Z] # '/tmp/semver-485247315' -> '/w/workspace/gexfoundry_device-rest-go_PR-167/.semver' [2022-04-04T20:03:51.510Z] # -> Force: false [2022-04-04T20:03:51.510Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-167/.semver [Pipeline] } [2022-04-04T20:03:51.557Z] $ docker exec --env ******** --env ******** a5d60b87c0ddebbb53ecda4983b1ae1cba366b614dc7dbe55fd4a48884bd03b2 ssh-agent -k [2022-04-04T20:03:51.664Z] unset SSH_AUTH_SOCK; [2022-04-04T20:03:51.664Z] unset SSH_AGENT_PID; [2022-04-04T20:03:51.664Z] echo Agent pid 60 killed; [2022-04-04T20:03:51.674Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-04T20:03:52.091Z] + git semver [Pipeline] } [2022-04-04T20:03:52.126Z] $ docker stop --time=1 a5d60b87c0ddebbb53ecda4983b1ae1cba366b614dc7dbe55fd4a48884bd03b2 [2022-04-04T20:03:53.492Z] $ docker rm -f a5d60b87c0ddebbb53ecda4983b1ae1cba366b614dc7dbe55fd4a48884bd03b2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T20:03:53.919Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-04T20:03:54.228Z] Stashed 1 file(s) [Pipeline] echo [2022-04-04T20:03:54.248Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T20:03:54.862Z] provisioning config files... [2022-04-04T20:03:54.874Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-167@tmp/config8181654587903511924tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:03:55.215Z] ---> docker-login.sh [2022-04-04T20:03:55.215Z] nexus3.edgexfoundry.org:10001 [2022-04-04T20:03:55.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:03:55.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:03:55.215Z] Configure a credential helper to remove this warning. See [2022-04-04T20:03:55.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:03:55.216Z] [2022-04-04T20:03:55.216Z] Login Succeeded [2022-04-04T20:03:55.216Z] nexus3.edgexfoundry.org:10002 [2022-04-04T20:03:55.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:03:55.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:03:55.478Z] Configure a credential helper to remove this warning. See [2022-04-04T20:03:55.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:03:55.478Z] [2022-04-04T20:03:55.478Z] Login Succeeded [2022-04-04T20:03:55.478Z] nexus3.edgexfoundry.org:10003 [2022-04-04T20:03:55.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:03:55.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:03:55.478Z] Configure a credential helper to remove this warning. See [2022-04-04T20:03:55.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:03:55.478Z] [2022-04-04T20:03:55.478Z] Login Succeeded [2022-04-04T20:03:55.478Z] nexus3.edgexfoundry.org:10004 [2022-04-04T20:03:55.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:03:55.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:03:55.741Z] Configure a credential helper to remove this warning. See [2022-04-04T20:03:55.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:03:55.741Z] [2022-04-04T20:03:55.741Z] Login Succeeded [2022-04-04T20:03:55.741Z] docker.io [2022-04-04T20:03:55.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:03:56.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:03:56.003Z] Configure a credential helper to remove this warning. See [2022-04-04T20:03:56.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:03:56.003Z] [2022-04-04T20:03:56.003Z] Login Succeeded [2022-04-04T20:03:56.003Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T20:03:56.033Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T20:03:56.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T20:03:56.260Z] ========================================================= [2022-04-04T20:03:56.260Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-04T20:03:56.260Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:03:56.667Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-04T20:03:56.667Z] Sending build context to Docker daemon 10.55MB [2022-04-04T20:03:56.667Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T20:03:56.667Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-04T20:03:56.667Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-04T20:03:56.667Z] 59bf1c3509f3: Pulling fs layer [2022-04-04T20:03:56.667Z] 666ba61612fd: Pulling fs layer [2022-04-04T20:03:56.667Z] 8ed8ca486205: Pulling fs layer [2022-04-04T20:03:56.667Z] 4fe6c5a15a65: Pulling fs layer [2022-04-04T20:03:56.667Z] 22a0e8bec74d: Pulling fs layer [2022-04-04T20:03:56.667Z] 640e595b4fbd: Pulling fs layer [2022-04-04T20:03:56.667Z] 763cafe07f6e: Pulling fs layer [2022-04-04T20:03:56.667Z] 0c0b528cf693: Pulling fs layer [2022-04-04T20:03:56.667Z] 10935f4eaf8b: Pulling fs layer [2022-04-04T20:03:56.667Z] 763cafe07f6e: Waiting [2022-04-04T20:03:56.667Z] 640e595b4fbd: Waiting [2022-04-04T20:03:56.667Z] 22a0e8bec74d: Waiting [2022-04-04T20:03:56.667Z] 0c0b528cf693: Waiting [2022-04-04T20:03:56.667Z] 10935f4eaf8b: Waiting [2022-04-04T20:03:56.667Z] 8ed8ca486205: Download complete [2022-04-04T20:03:56.667Z] 666ba61612fd: Verifying Checksum [2022-04-04T20:03:56.667Z] 666ba61612fd: Download complete [2022-04-04T20:03:56.930Z] 22a0e8bec74d: Verifying Checksum [2022-04-04T20:03:56.930Z] 22a0e8bec74d: Download complete [2022-04-04T20:03:56.930Z] 640e595b4fbd: Download complete [2022-04-04T20:03:56.930Z] 59bf1c3509f3: Verifying Checksum [2022-04-04T20:03:56.930Z] 59bf1c3509f3: Download complete [2022-04-04T20:03:56.930Z] 763cafe07f6e: Download complete [2022-04-04T20:03:56.930Z] 0c0b528cf693: Verifying Checksum [2022-04-04T20:03:56.930Z] 0c0b528cf693: Download complete [2022-04-04T20:03:56.930Z] 59bf1c3509f3: Pull complete [2022-04-04T20:03:57.192Z] 666ba61612fd: Pull complete [2022-04-04T20:03:57.192Z] 8ed8ca486205: Pull complete [2022-04-04T20:03:57.454Z] 10935f4eaf8b: Verifying Checksum [2022-04-04T20:03:57.454Z] 10935f4eaf8b: Download complete [2022-04-04T20:03:57.715Z] 4fe6c5a15a65: Verifying Checksum [2022-04-04T20:03:57.715Z] 4fe6c5a15a65: Download complete [2022-04-04T20:04:01.017Z] 4fe6c5a15a65: Pull complete [2022-04-04T20:04:01.279Z] 22a0e8bec74d: Pull complete [2022-04-04T20:04:01.279Z] 640e595b4fbd: Pull complete [2022-04-04T20:04:01.279Z] 763cafe07f6e: Pull complete [2022-04-04T20:04:01.541Z] 0c0b528cf693: Pull complete [2022-04-04T20:04:04.084Z] 10935f4eaf8b: Pull complete [2022-04-04T20:04:04.084Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-04T20:04:04.084Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-04T20:04:04.084Z] ---> 99d49a6021b9 [2022-04-04T20:04:04.084Z] Step 3/12 : ARG MAKE='make build' [2022-04-04T20:04:05.467Z] ---> Running in 259d4206da3a [2022-04-04T20:04:05.467Z] Removing intermediate container 259d4206da3a [2022-04-04T20:04:05.467Z] ---> 51ed08dbb3f6 [2022-04-04T20:04:05.467Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T20:04:05.467Z] ---> Running in aedbc356a1d8 [2022-04-04T20:04:05.467Z] Removing intermediate container aedbc356a1d8 [2022-04-04T20:04:05.467Z] ---> f6afdd45929e [2022-04-04T20:04:05.467Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T20:04:05.467Z] ---> Running in 59f9bee7de08 [2022-04-04T20:04:05.467Z] Removing intermediate container 59f9bee7de08 [2022-04-04T20:04:05.467Z] ---> 88bedab6137a [2022-04-04T20:04:05.467Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T20:04:05.727Z] ---> Running in e947db300c87 [2022-04-04T20:04:06.305Z] Removing intermediate container e947db300c87 [2022-04-04T20:04:06.305Z] ---> a5c268cd3eaa [2022-04-04T20:04:06.305Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T20:04:06.305Z] ---> Running in ccfde34285fd [2022-04-04T20:04:06.565Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T20:04:07.505Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T20:04:07.765Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T20:04:07.765Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T20:04:07.765Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T20:04:08.025Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T20:04:08.025Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T20:04:08.025Z] OK: 224 MiB in 56 packages [2022-04-04T20:04:08.594Z] Removing intermediate container ccfde34285fd [2022-04-04T20:04:08.594Z] ---> 5f0fb424b37d [2022-04-04T20:04:08.594Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-04T20:04:08.594Z] ---> Running in 659240fc4d54 [2022-04-04T20:04:08.594Z] Removing intermediate container 659240fc4d54 [2022-04-04T20:04:08.594Z] ---> c2b2ad5a25b1 [2022-04-04T20:04:08.594Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-04T20:04:08.855Z] ---> 4d945a9563e3 [2022-04-04T20:04:08.855Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T20:04:08.855Z] ---> Running in 001a846ed0ad [2022-04-04T20:04:09.655Z] Still waiting to schedule task [2022-04-04T20:04:09.655Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-04T20:04:35.454Z] Removing intermediate container 001a846ed0ad [2022-04-04T20:04:35.454Z] ---> f40c72601d68 [2022-04-04T20:04:35.454Z] Step 11/12 : COPY . . [2022-04-04T20:04:35.454Z] ---> 88cb5aa0fb04 [2022-04-04T20:04:35.454Z] Step 12/12 : RUN $MAKE [2022-04-04T20:04:35.454Z] ---> Running in 692fe2f1c5ee [2022-04-04T20:04:35.454Z] noop [2022-04-04T20:04:35.454Z] Removing intermediate container 692fe2f1c5ee [2022-04-04T20:04:35.454Z] ---> 8b39c0d11f10 [2022-04-04T20:04:35.454Z] Successfully built 8b39c0d11f10 [2022-04-04T20:04:35.454Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:04:35.796Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T20:04:35.796Z] . [Pipeline] withDockerContainer [2022-04-04T20:04:35.894Z] prd-ubuntu20.04-docker-8c-8g-10675 does not seem to be running inside a container [2022-04-04T20:04:35.941Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-167 -v /w/workspace/gexfoundry_device-rest-go_PR-167:/w/workspace/gexfoundry_device-rest-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-167@tmp:/w/workspace/gexfoundry_device-rest-go_PR-167@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 ******** ci-base-image-x86_64 cat [2022-04-04T20:04:36.331Z] $ docker top e3470b842e7a76aa7ec89277eca588a995ac3751f161c16739138cf9a5c4ee95 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T20:04:36.745Z] + go version [2022-04-04T20:04:36.745Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-04T20:04:36.781Z] $ docker stop --time=1 e3470b842e7a76aa7ec89277eca588a995ac3751f161c16739138cf9a5c4ee95 [2022-04-04T20:04:38.105Z] $ docker rm -f e3470b842e7a76aa7ec89277eca588a995ac3751f161c16739138cf9a5c4ee95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:04:38.772Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-04T20:04:38.772Z] . [Pipeline] withDockerContainer [2022-04-04T20:04:38.872Z] prd-ubuntu20.04-docker-8c-8g-10675 does not seem to be running inside a container [2022-04-04T20:04:38.914Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-167 -v /w/workspace/gexfoundry_device-rest-go_PR-167:/w/workspace/gexfoundry_device-rest-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-167@tmp:/w/workspace/gexfoundry_device-rest-go_PR-167@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 ******** ci-base-image-x86_64 cat [2022-04-04T20:04:39.314Z] $ docker top 690e91c77c6e8cb42c75dc7ab87c5dd51b93825add1ac588acfa87d72983623f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T20:04:39.766Z] + make test [2022-04-04T20:04:39.766Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-04T20:04:40.026Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-04T20:04:46.736Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-04T20:04:46.736Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 56.0% of statements [2022-04-04T20:04:46.736Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T20:04:50.028Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T20:04:50.028Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T20:04:50.028Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-04T20:04:50.322Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-04T20:04:50.356Z] $ docker stop --time=1 690e91c77c6e8cb42c75dc7ab87c5dd51b93825add1ac588acfa87d72983623f [2022-04-04T20:04:52.052Z] $ docker rm -f 690e91c77c6e8cb42c75dc7ab87c5dd51b93825add1ac588acfa87d72983623f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T20:04:52.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-04T20:04:52.570Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-04T20:04:53.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-04T20:04:54.106Z] + ls -al . [2022-04-04T20:04:54.106Z] total 180 [2022-04-04T20:04:54.106Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 4 20:04 . [2022-04-04T20:04:54.106Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 20:03 .. [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 4 20:03 .dockerignore [2022-04-04T20:04:54.106Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 20:03 .git [2022-04-04T20:04:54.106Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 20:03 .github [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 4 20:03 .gitignore [2022-04-04T20:04:54.106Z] drwx------ 3 jenkins jenkins 4096 Apr 4 20:03 .semver [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 7192 Apr 4 20:03 Attribution.txt [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 4 20:03 CHANGELOG.md [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 4 20:03 Dockerfile [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 20:03 GOVERNANCE.md [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 4 20:03 Jenkinsfile [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 20:03 LICENSE [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 1078 Apr 4 20:03 Makefile [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 20:03 OWNERS.md [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 4 20:03 README.md [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 20:03 VERSION [2022-04-04T20:04:54.106Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 20:03 bin [2022-04-04T20:04:54.106Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 20:03 cmd [2022-04-04T20:04:54.106Z] -rw-r--r-- 1 jenkins jenkins 9215 Apr 4 20:04 coverage.out [2022-04-04T20:04:54.106Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 20:03 driver [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 2908 Apr 4 20:03 go.mod [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 4 20:03 go.sum [2022-04-04T20:04:54.106Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 20:03 snap [2022-04-04T20:04:54.106Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 4 20:03 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:04:54.440Z] + 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=adc96bab208d4995b9cc965dbf151073ed5ad656 --label arch=amd64 --label version=0.0.0 . [2022-04-04T20:04:54.441Z] Sending build context to Docker daemon 10.56MB [2022-04-04T20:04:54.441Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T20:04:54.441Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-04T20:04:54.441Z] ---> 8b39c0d11f10 [2022-04-04T20:04:54.441Z] Step 3/25 : ARG MAKE='make build' [2022-04-04T20:04:54.441Z] ---> Running in fcdb4e73cd79 [2022-04-04T20:04:54.701Z] Removing intermediate container fcdb4e73cd79 [2022-04-04T20:04:54.701Z] ---> 0c0bd3cef2b7 [2022-04-04T20:04:54.701Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T20:04:54.701Z] ---> Running in 873d16cc075a [2022-04-04T20:04:54.978Z] Removing intermediate container 873d16cc075a [2022-04-04T20:04:54.978Z] ---> 77c0802f582f [2022-04-04T20:04:54.978Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T20:04:54.978Z] ---> Running in e798883a03fa [2022-04-04T20:04:54.978Z] Removing intermediate container e798883a03fa [2022-04-04T20:04:54.978Z] ---> 0459311eccab [2022-04-04T20:04:54.978Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T20:04:55.239Z] ---> Running in eb4f509ceb5d [2022-04-04T20:04:55.809Z] Removing intermediate container eb4f509ceb5d [2022-04-04T20:04:55.809Z] ---> 8e21753c6338 [2022-04-04T20:04:55.809Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T20:04:55.809Z] ---> Running in 7825abc807cf [2022-04-04T20:04:56.072Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-04T20:04:57.014Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-04T20:04:57.275Z] OK: 224 MiB in 56 packages [2022-04-04T20:04:57.537Z] Removing intermediate container 7825abc807cf [2022-04-04T20:04:57.537Z] ---> da5fa07582c8 [2022-04-04T20:04:57.537Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-04T20:04:57.537Z] ---> Running in 903025cdd0c7 [2022-04-04T20:04:57.796Z] Removing intermediate container 903025cdd0c7 [2022-04-04T20:04:57.796Z] ---> 025aa55a5718 [2022-04-04T20:04:57.796Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-04T20:04:57.796Z] ---> c4228aff987e [2022-04-04T20:04:57.796Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T20:04:57.796Z] ---> Running in 56059ad61d1c [2022-04-04T20:04:58.738Z] Removing intermediate container 56059ad61d1c [2022-04-04T20:04:58.738Z] ---> 40d62f71fb2a [2022-04-04T20:04:58.738Z] Step 11/25 : COPY . . [2022-04-04T20:04:58.738Z] ---> afc008361167 [2022-04-04T20:04:58.738Z] Step 12/25 : RUN $MAKE [2022-04-04T20:04:58.998Z] ---> Running in 4d09ec025f08 [2022-04-04T20:04:59.263Z] 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-04-04T20:05:07.386Z] Removing intermediate container 4d09ec025f08 [2022-04-04T20:05:07.386Z] ---> 13a1abb3ae9f [2022-04-04T20:05:07.386Z] Step 13/25 : FROM alpine:3.14 [2022-04-04T20:05:07.386Z] 3.14: Pulling from library/alpine [2022-04-04T20:05:07.386Z] cfab2db72209: Pulling fs layer [2022-04-04T20:05:07.386Z] cfab2db72209: Verifying Checksum [2022-04-04T20:05:07.386Z] cfab2db72209: Download complete [2022-04-04T20:05:07.386Z] cfab2db72209: Pull complete [2022-04-04T20:05:07.386Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-04T20:05:07.386Z] Status: Downloaded newer image for alpine:3.14 [2022-04-04T20:05:07.386Z] ---> 84b07dd2d1fd [2022-04-04T20:05:07.386Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-04T20:05:07.386Z] ---> Running in e0b6fd75a653 [2022-04-04T20:05:07.386Z] Removing intermediate container e0b6fd75a653 [2022-04-04T20:05:07.386Z] ---> a89291c2c590 [2022-04-04T20:05:07.386Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-04T20:05:07.386Z] ---> Running in dea75ceda880 [2022-04-04T20:05:07.386Z] Removing intermediate container dea75ceda880 [2022-04-04T20:05:07.386Z] ---> 939c340068ab [2022-04-04T20:05:07.386Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-04T20:05:07.646Z] ---> Running in 4646a0c5ab70 [2022-04-04T20:05:07.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-04T20:05:07.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-04T20:05:07.907Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-04T20:05:08.196Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-04T20:05:08.196Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-04T20:05:08.196Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-04T20:05:08.196Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-04T20:05:08.196Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-04T20:05:08.196Z] Executing busybox-1.33.1-r6.trigger [2022-04-04T20:05:08.196Z] OK: 8 MiB in 20 packages [2022-04-04T20:05:08.457Z] Removing intermediate container 4646a0c5ab70 [2022-04-04T20:05:08.457Z] ---> cc6bf54cc727 [2022-04-04T20:05:08.457Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-04T20:05:08.718Z] ---> fb1a103abbb3 [2022-04-04T20:05:08.718Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-04T20:05:08.979Z] ---> 1c8b715ae5a8 [2022-04-04T20:05:08.979Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-04T20:05:09.249Z] ---> 4754142660c4 [2022-04-04T20:05:09.249Z] Step 20/25 : EXPOSE 59986 [2022-04-04T20:05:09.249Z] ---> Running in 1d7e149df900 [2022-04-04T20:05:09.249Z] Removing intermediate container 1d7e149df900 [2022-04-04T20:05:09.249Z] ---> ad43ac42290e [2022-04-04T20:05:09.249Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-04T20:05:09.249Z] ---> Running in 538382b56f1d [2022-04-04T20:05:09.249Z] Removing intermediate container 538382b56f1d [2022-04-04T20:05:09.249Z] ---> 5482efb2df39 [2022-04-04T20:05:09.249Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-04T20:05:09.514Z] ---> Running in 46d010713607 [2022-04-04T20:05:09.514Z] Removing intermediate container 46d010713607 [2022-04-04T20:05:09.514Z] ---> 5a7d1b1c514a [2022-04-04T20:05:09.514Z] Step 23/25 : LABEL arch=amd64 [2022-04-04T20:05:09.515Z] ---> Running in c8c9fe6c553e [2022-04-04T20:05:09.515Z] Removing intermediate container c8c9fe6c553e [2022-04-04T20:05:09.515Z] ---> 5eedd8831a10 [2022-04-04T20:05:09.515Z] Step 24/25 : LABEL git_sha=adc96bab208d4995b9cc965dbf151073ed5ad656 [2022-04-04T20:05:09.775Z] ---> Running in f387296f2f46 [2022-04-04T20:05:09.775Z] Removing intermediate container f387296f2f46 [2022-04-04T20:05:09.775Z] ---> ed26b45957bb [2022-04-04T20:05:09.775Z] Step 25/25 : LABEL version=0.0.0 [2022-04-04T20:05:09.775Z] ---> Running in e2cc341f9f46 [2022-04-04T20:05:09.775Z] Removing intermediate container e2cc341f9f46 [2022-04-04T20:05:09.775Z] ---> 7b350b3d92d9 [2022-04-04T20:05:09.775Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-04T20:05:09.775Z] Successfully built 7b350b3d92d9 [2022-04-04T20:05:09.775Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:05:10.499Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T20:05:10.499Z] [2022-04-04T20:05:10.499Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:05:10.843Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T20:05:10.843Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-04T20:05:10.843Z] 5eb5b503b376: Pulling fs layer [2022-04-04T20:05:10.843Z] 5c69ac0246d0: Pulling fs layer [2022-04-04T20:05:10.843Z] ec43610c2a17: Pulling fs layer [2022-04-04T20:05:10.843Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-04T20:05:10.843Z] 33b1e0a273af: Pulling fs layer [2022-04-04T20:05:10.843Z] 5d3b04190fa2: Pulling fs layer [2022-04-04T20:05:10.843Z] 2f39f015ded8: Pulling fs layer [2022-04-04T20:05:10.843Z] 3a2ae6a8a46f: Waiting [2022-04-04T20:05:10.843Z] 33b1e0a273af: Waiting [2022-04-04T20:05:10.843Z] 5d3b04190fa2: Waiting [2022-04-04T20:05:10.843Z] 2f39f015ded8: Waiting [2022-04-04T20:05:10.843Z] 5c69ac0246d0: Verifying Checksum [2022-04-04T20:05:10.843Z] 5c69ac0246d0: Download complete [2022-04-04T20:05:10.843Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-04T20:05:10.843Z] 3a2ae6a8a46f: Download complete [2022-04-04T20:05:10.843Z] 33b1e0a273af: Verifying Checksum [2022-04-04T20:05:10.843Z] 33b1e0a273af: Download complete [2022-04-04T20:05:10.843Z] 5d3b04190fa2: Verifying Checksum [2022-04-04T20:05:10.843Z] 5d3b04190fa2: Download complete [2022-04-04T20:05:11.105Z] ec43610c2a17: Verifying Checksum [2022-04-04T20:05:11.105Z] ec43610c2a17: Download complete [2022-04-04T20:05:11.105Z] 5eb5b503b376: Verifying Checksum [2022-04-04T20:05:11.105Z] 5eb5b503b376: Download complete [2022-04-04T20:05:11.674Z] 2f39f015ded8: Download complete [2022-04-04T20:05:12.242Z] 5eb5b503b376: Pull complete [2022-04-04T20:05:12.242Z] 5c69ac0246d0: Pull complete [2022-04-04T20:05:12.814Z] ec43610c2a17: Pull complete [2022-04-04T20:05:12.814Z] 3a2ae6a8a46f: Pull complete [2022-04-04T20:05:13.073Z] 33b1e0a273af: Pull complete [2022-04-04T20:05:13.073Z] 5d3b04190fa2: Pull complete [2022-04-04T20:05:17.268Z] 2f39f015ded8: Pull complete [2022-04-04T20:05:17.268Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-04T20:05:17.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T20:05:17.268Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-04T20:05:17.351Z] prd-ubuntu20.04-docker-8c-8g-10675 does not seem to be running inside a container [2022-04-04T20:05:17.390Z] $ 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-167 -v /w/workspace/gexfoundry_device-rest-go_PR-167:/w/workspace/gexfoundry_device-rest-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-167@tmp:/w/workspace/gexfoundry_device-rest-go_PR-167@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-04-04T20:05:19.141Z] $ docker top 92db2dd7d804356685e52aca4614cbcf8634cfd07a2c168b5a51c390302ebeea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:05:19.623Z] ---> job-cost.sh [2022-04-04T20:05:19.623Z] lf-activate-venv: SKIPPING [2022-04-04T20:05:19.623Z] INFO: No Stack... [2022-04-04T20:05:19.883Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T20:05:20.452Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T20:05:20.776Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-167/archives/cost.csv [2022-04-04T20:05:20.776Z] + cut -d, -f6 [Pipeline] lock [2022-04-04T20:05:20.818Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] [2022-04-04T20:05:20.823Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] did not exist. Created. [2022-04-04T20:05:20.823Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T20:05:21.212Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-04T20:05:21.257Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T20:05:21.281Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T20:05:21.351Z] $ docker stop --time=1 92db2dd7d804356685e52aca4614cbcf8634cfd07a2c168b5a51c390302ebeea [2022-04-04T20:05:22.514Z] $ docker rm -f 92db2dd7d804356685e52aca4614cbcf8634cfd07a2c168b5a51c390302ebeea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-04T20:05:49.092Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10678 in /w/workspace/gexfoundry_device-rest-go_PR-167 [Pipeline] { [Pipeline] ws [2022-04-04T20:05:49.195Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-04-04T20:05:49.445Z] The recommended git tool is: git [2022-04-04T20:05:57.077Z] using credential edgex-jenkins-ssh [2022-04-04T20:05:57.097Z] Cloning the remote Git repository [2022-04-04T20:05:57.214Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-04-04T20:05:57.330Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-04-04T20:05:57.530Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-04T20:05:57.531Z] > git --version # timeout=10 [2022-04-04T20:05:57.623Z] > git --version # 'git version 2.25.1' [2022-04-04T20:05:57.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T20:05:57.842Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T20:06:01.088Z] Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit adc96bab208d4995b9cc965dbf151073ed5ad656 [2022-04-04T20:06:00.298Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-04T20:06:00.355Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-04T20:06:00.397Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-04T20:06:00.446Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-04T20:06:00.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T20:06:00.471Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/167/head:refs/remotes/origin/PR-167 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-04T20:06:01.112Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T20:06:01.145Z] > git checkout -f adc96bab208d4995b9cc965dbf151073ed5ad656 # timeout=10 [2022-04-04T20:06:01.427Z] Merge succeeded, producing adc96bab208d4995b9cc965dbf151073ed5ad656 [2022-04-04T20:06:01.427Z] Checking out Revision adc96bab208d4995b9cc965dbf151073ed5ad656 (PR-167) [2022-04-04T20:06:01.280Z] > git remote # timeout=10 [2022-04-04T20:06:01.329Z] > git config --get remote.origin.url # timeout=10 [2022-04-04T20:06:01.352Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-04T20:06:01.366Z] > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 [2022-04-04T20:06:01.401Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-04T20:06:01.441Z] > git config core.sparsecheckout # timeout=10 [2022-04-04T20:06:01.474Z] > git checkout -f adc96bab208d4995b9cc965dbf151073ed5ad656 # timeout=10 [2022-04-04T20:06:05.897Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-04-04T20:06:05.958Z] > git --version # timeout=10 [2022-04-04T20:06:05.968Z] > git --version # 'git version 2.25.1' [2022-04-04T20:06:05.983Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T20:06:07.052Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-04T20:06:07.052Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T20:06:07.052Z] Dload Upload Total Spent Left Speed [2022-04-04T20:06:07.052Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45903 0 --:--:-- --:--:-- --:--:-- 45903 [Pipeline] sh [2022-04-04T20:06:07.623Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-04T20:06:07.980Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-04T20:06:07.980Z] + sudo tee /etc/docker/daemon.new [2022-04-04T20:06:07.980Z] { [2022-04-04T20:06:07.980Z] "registry-mirrors": [ [2022-04-04T20:06:07.980Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-04T20:06:07.980Z] ], [2022-04-04T20:06:07.980Z] "bip": "10.250.0.254/24", [2022-04-04T20:06:07.980Z] "hosts": [ [2022-04-04T20:06:07.980Z] "tcp://0.0.0.0:5555", [2022-04-04T20:06:07.980Z] "unix:///var/run/docker.sock" [2022-04-04T20:06:07.980Z] ], [2022-04-04T20:06:07.980Z] "mtu": 1458, [2022-04-04T20:06:07.980Z] "selinux-enabled": true, [2022-04-04T20:06:07.980Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-04T20:06:07.980Z] } [Pipeline] sh [2022-04-04T20:06:08.348Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-04T20:06:08.711Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T20:06:27.245Z] provisioning config files... [2022-04-04T20:06:27.275Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1683803697663110606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:06:27.922Z] ---> docker-login.sh [2022-04-04T20:06:27.922Z] nexus3.edgexfoundry.org:10001 [2022-04-04T20:06:28.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:06:28.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:06:28.793Z] Configure a credential helper to remove this warning. See [2022-04-04T20:06:28.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:06:28.793Z] [2022-04-04T20:06:28.793Z] Login Succeeded [2022-04-04T20:06:28.793Z] nexus3.edgexfoundry.org:10002 [2022-04-04T20:06:29.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:06:29.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:06:29.342Z] Configure a credential helper to remove this warning. See [2022-04-04T20:06:29.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:06:29.342Z] [2022-04-04T20:06:29.342Z] Login Succeeded [2022-04-04T20:06:29.342Z] nexus3.edgexfoundry.org:10003 [2022-04-04T20:06:29.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:06:29.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:06:29.912Z] Configure a credential helper to remove this warning. See [2022-04-04T20:06:29.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:06:29.912Z] [2022-04-04T20:06:29.912Z] Login Succeeded [2022-04-04T20:06:29.912Z] nexus3.edgexfoundry.org:10004 [2022-04-04T20:06:30.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:06:30.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:06:30.188Z] Configure a credential helper to remove this warning. See [2022-04-04T20:06:30.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:06:30.188Z] [2022-04-04T20:06:30.188Z] Login Succeeded [2022-04-04T20:06:30.188Z] docker.io [2022-04-04T20:06:30.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-04T20:06:31.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-04T20:06:31.061Z] Configure a credential helper to remove this warning. See [2022-04-04T20:06:31.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-04T20:06:31.061Z] [2022-04-04T20:06:31.061Z] Login Succeeded [2022-04-04T20:06:31.061Z] ---> docker-login.sh ends [Pipeline] } [2022-04-04T20:06:31.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-04T20:06:31.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-04T20:06:31.530Z] ========================================================= [2022-04-04T20:06:31.530Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-04T20:06:31.530Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:06:31.981Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-04T20:06:31.981Z] Sending build context to Docker daemon 124.9kB [2022-04-04T20:06:32.268Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T20:06:32.268Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-04T20:06:32.268Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-04T20:06:32.268Z] 9b3977197b4f: Pulling fs layer [2022-04-04T20:06:32.268Z] 1a89e8eeedd5: Pulling fs layer [2022-04-04T20:06:32.268Z] 94645a83ff95: Pulling fs layer [2022-04-04T20:06:32.268Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-04T20:06:32.268Z] 0c92f367c5e7: Pulling fs layer [2022-04-04T20:06:32.268Z] f7c0051592d6: Pulling fs layer [2022-04-04T20:06:32.268Z] a227ed2f7395: Pulling fs layer [2022-04-04T20:06:32.546Z] 7b1c46037f91: Pulling fs layer [2022-04-04T20:06:32.546Z] 0c92f367c5e7: Waiting [2022-04-04T20:06:32.546Z] 3f3a8bcf1eab: Waiting [2022-04-04T20:06:32.546Z] f7c0051592d6: Waiting [2022-04-04T20:06:32.546Z] a227ed2f7395: Waiting [2022-04-04T20:06:32.546Z] 7b1c46037f91: Waiting [2022-04-04T20:06:32.546Z] 94645a83ff95: Download complete [2022-04-04T20:06:32.546Z] 1a89e8eeedd5: Verifying Checksum [2022-04-04T20:06:32.546Z] 1a89e8eeedd5: Download complete [2022-04-04T20:06:32.546Z] 0c92f367c5e7: Verifying Checksum [2022-04-04T20:06:32.546Z] 0c92f367c5e7: Download complete [2022-04-04T20:06:32.546Z] f7c0051592d6: Verifying Checksum [2022-04-04T20:06:32.546Z] f7c0051592d6: Download complete [2022-04-04T20:06:32.546Z] 9b3977197b4f: Download complete [2022-04-04T20:06:32.546Z] a227ed2f7395: Verifying Checksum [2022-04-04T20:06:32.546Z] a227ed2f7395: Download complete [2022-04-04T20:06:33.148Z] 9b3977197b4f: Pull complete [2022-04-04T20:06:33.755Z] 1a89e8eeedd5: Pull complete [2022-04-04T20:06:34.046Z] 94645a83ff95: Pull complete [2022-04-04T20:06:34.648Z] 7b1c46037f91: Verifying Checksum [2022-04-04T20:06:34.648Z] 7b1c46037f91: Download complete [2022-04-04T20:06:35.249Z] 3f3a8bcf1eab: Download complete [2022-04-04T20:06:47.672Z] 3f3a8bcf1eab: Pull complete [2022-04-04T20:06:47.672Z] 0c92f367c5e7: Pull complete [2022-04-04T20:06:47.672Z] f7c0051592d6: Pull complete [2022-04-04T20:06:47.672Z] a227ed2f7395: Pull complete [2022-04-04T20:06:53.077Z] 7b1c46037f91: Pull complete [2022-04-04T20:06:53.077Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-04T20:06:53.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-04T20:06:53.077Z] ---> f79e39bc4007 [2022-04-04T20:06:53.077Z] Step 3/12 : ARG MAKE='make build' [2022-04-04T20:06:54.513Z] ---> Running in b09214d030a2 [2022-04-04T20:06:54.513Z] Removing intermediate container b09214d030a2 [2022-04-04T20:06:54.513Z] ---> a5b1270faf0d [2022-04-04T20:06:54.513Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T20:06:54.513Z] ---> Running in e90cab53eeab [2022-04-04T20:06:55.112Z] Removing intermediate container e90cab53eeab [2022-04-04T20:06:55.112Z] ---> 21b500923332 [2022-04-04T20:06:55.112Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T20:06:55.112Z] ---> Running in 52caf1e3b50b [2022-04-04T20:06:55.384Z] Removing intermediate container 52caf1e3b50b [2022-04-04T20:06:55.384Z] ---> 70757cfaa228 [2022-04-04T20:06:55.384Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T20:06:55.384Z] ---> Running in 2424ccba24b7 [2022-04-04T20:06:57.360Z] Removing intermediate container 2424ccba24b7 [2022-04-04T20:06:57.360Z] ---> a6725649b337 [2022-04-04T20:06:57.360Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T20:06:57.360Z] ---> Running in fcd1fdc2896f [2022-04-04T20:06:57.958Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T20:06:58.933Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T20:06:59.915Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-04T20:06:59.915Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-04T20:06:59.915Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-04T20:07:00.193Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-04T20:07:00.193Z] Executing busybox-1.34.1-r3.trigger [2022-04-04T20:07:00.193Z] OK: 224 MiB in 56 packages [2022-04-04T20:07:01.180Z] Removing intermediate container fcd1fdc2896f [2022-04-04T20:07:01.180Z] ---> 26f5725a8735 [2022-04-04T20:07:01.180Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-04T20:07:01.180Z] ---> Running in 01d2b1864158 [2022-04-04T20:07:01.457Z] Removing intermediate container 01d2b1864158 [2022-04-04T20:07:01.457Z] ---> e90164ecce35 [2022-04-04T20:07:01.457Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-04T20:07:02.069Z] ---> 7e74932785e5 [2022-04-04T20:07:02.069Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T20:07:02.069Z] ---> Running in 4b4112f19aa7 [2022-04-04T20:08:23.884Z] Removing intermediate container 4b4112f19aa7 [2022-04-04T20:08:23.884Z] ---> a0fde189dc16 [2022-04-04T20:08:23.884Z] Step 11/12 : COPY . . [2022-04-04T20:08:23.884Z] ---> 5cdd6f04b55a [2022-04-04T20:08:23.884Z] Step 12/12 : RUN $MAKE [2022-04-04T20:08:23.884Z] ---> Running in 428c1e3cf12e [2022-04-04T20:08:23.884Z] noop [2022-04-04T20:08:23.884Z] Removing intermediate container 428c1e3cf12e [2022-04-04T20:08:23.884Z] ---> f79873feafcb [2022-04-04T20:08:23.884Z] Successfully built f79873feafcb [2022-04-04T20:08:23.884Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:08:24.261Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T20:08:24.261Z] . [Pipeline] withDockerContainer [2022-04-04T20:08:24.512Z] prd-ubuntu20.04-docker-arm64-4c-16g-10678 does not seem to be running inside a container [2022-04-04T20:08:24.597Z] $ 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-04-04T20:08:25.925Z] $ docker top 5d77faeb478078fa5c918fd43faccc9d3ae784945b0f7f7246165d2f4928de36 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T20:08:26.895Z] + go version [2022-04-04T20:08:26.895Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-04T20:08:26.938Z] $ docker stop --time=1 5d77faeb478078fa5c918fd43faccc9d3ae784945b0f7f7246165d2f4928de36 [2022-04-04T20:08:28.575Z] $ docker rm -f 5d77faeb478078fa5c918fd43faccc9d3ae784945b0f7f7246165d2f4928de36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:08:29.458Z] + docker inspect -f . ci-base-image-arm64 [2022-04-04T20:08:29.458Z] . [Pipeline] withDockerContainer [2022-04-04T20:08:29.703Z] prd-ubuntu20.04-docker-arm64-4c-16g-10678 does not seem to be running inside a container [2022-04-04T20:08:29.794Z] $ 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-04-04T20:08:31.094Z] $ docker top 52810e7958d163250b7096f6f2208abe0bae240ba99d4d6b7baa888684ac4b42 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-04T20:08:32.082Z] + make test [2022-04-04T20:08:32.082Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-04-04T20:08:33.539Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-04T20:09:30.209Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-04T20:09:30.209Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 56.0% of statements [2022-04-04T20:09:30.209Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-04T20:09:45.362Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-04T20:09:45.362Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-04T20:09:45.362Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-04T20:09:46.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-04T20:09:46.876Z] $ docker stop --time=1 52810e7958d163250b7096f6f2208abe0bae240ba99d4d6b7baa888684ac4b42 [2022-04-04T20:09:48.638Z] $ docker rm -f 52810e7958d163250b7096f6f2208abe0bae240ba99d4d6b7baa888684ac4b42 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-04T20:09:49.497Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-04T20:09:49.531Z] Warning: overwriting stash ‘coverage-report’ [2022-04-04T20:09:49.999Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-04T20:09:50.591Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-04T20:09:50.953Z] + ls -al . [2022-04-04T20:09:50.953Z] total 176 [2022-04-04T20:09:50.953Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 20:09 . [2022-04-04T20:09:50.953Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 20:05 .. [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 4 20:06 .dockerignore [2022-04-04T20:09:50.953Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 20:06 .git [2022-04-04T20:09:50.953Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 20:06 .github [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 4 20:06 .gitignore [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 7192 Apr 4 20:06 Attribution.txt [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 4 20:06 CHANGELOG.md [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 4 20:06 Dockerfile [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 20:06 GOVERNANCE.md [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 4 20:06 Jenkinsfile [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 20:06 LICENSE [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 1078 Apr 4 20:06 Makefile [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 20:06 OWNERS.md [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 4 20:06 README.md [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 20:03 VERSION [2022-04-04T20:09:50.953Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 20:06 bin [2022-04-04T20:09:50.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 20:06 cmd [2022-04-04T20:09:50.953Z] -rw-r--r-- 1 jenkins jenkins 9215 Apr 4 20:09 coverage.out [2022-04-04T20:09:50.953Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 20:06 driver [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 2908 Apr 4 20:06 go.mod [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 4 20:06 go.sum [2022-04-04T20:09:50.953Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 20:06 snap [2022-04-04T20:09:50.953Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 4 20:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:09:51.341Z] + 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=adc96bab208d4995b9cc965dbf151073ed5ad656 --label arch=arm64 --label version=0.0.0 . [2022-04-04T20:09:51.341Z] Sending build context to Docker daemon 134.7kB [2022-04-04T20:09:51.689Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-04T20:09:51.689Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-04T20:09:51.689Z] ---> f79873feafcb [2022-04-04T20:09:51.689Z] Step 3/25 : ARG MAKE='make build' [2022-04-04T20:09:51.978Z] ---> Running in 94c446e79438 [2022-04-04T20:09:52.252Z] Removing intermediate container 94c446e79438 [2022-04-04T20:09:52.252Z] ---> d00e11d78629 [2022-04-04T20:09:52.252Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-04T20:09:52.252Z] ---> Running in 34525e2bd152 [2022-04-04T20:09:52.546Z] Removing intermediate container 34525e2bd152 [2022-04-04T20:09:52.546Z] ---> 6565d7c36bbd [2022-04-04T20:09:52.546Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-04T20:09:52.835Z] ---> Running in 17142b79e4cd [2022-04-04T20:09:53.166Z] Removing intermediate container 17142b79e4cd [2022-04-04T20:09:53.166Z] ---> d8a2ba016e46 [2022-04-04T20:09:53.166Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-04T20:09:53.166Z] ---> Running in c127d459a955 [2022-04-04T20:09:55.197Z] Removing intermediate container c127d459a955 [2022-04-04T20:09:55.197Z] ---> 6dd51b413708 [2022-04-04T20:09:55.197Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-04T20:09:55.197Z] ---> Running in 89cbf167dc47 [2022-04-04T20:09:56.173Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-04T20:09:57.145Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-04T20:09:57.742Z] OK: 224 MiB in 56 packages [2022-04-04T20:09:58.728Z] Removing intermediate container 89cbf167dc47 [2022-04-04T20:09:58.728Z] ---> 09be5f4bee6e [2022-04-04T20:09:58.728Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-04T20:09:58.728Z] ---> Running in cf53337fef66 [2022-04-04T20:09:59.006Z] Removing intermediate container cf53337fef66 [2022-04-04T20:09:59.006Z] ---> 9e45242d981c [2022-04-04T20:09:59.006Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-04T20:09:59.621Z] ---> 80db5ffedec9 [2022-04-04T20:09:59.621Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-04T20:09:59.621Z] ---> Running in cdeac60fc360 [2022-04-04T20:10:01.605Z] Removing intermediate container cdeac60fc360 [2022-04-04T20:10:01.605Z] ---> 70a6c4a2aeb8 [2022-04-04T20:10:01.605Z] Step 11/25 : COPY . . [2022-04-04T20:10:02.204Z] ---> 6455e01222e5 [2022-04-04T20:10:02.204Z] Step 12/25 : RUN $MAKE [2022-04-04T20:10:02.204Z] ---> Running in d0529fd9153e [2022-04-04T20:10:03.196Z] 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-04-04T20:10:50.191Z] Removing intermediate container d0529fd9153e [2022-04-04T20:10:50.191Z] ---> 0935a9b8d74a [2022-04-04T20:10:50.191Z] Step 13/25 : FROM alpine:3.14 [2022-04-04T20:10:50.191Z] 3.14: Pulling from library/alpine [2022-04-04T20:10:50.191Z] 810d54c7e01b: Pulling fs layer [2022-04-04T20:10:50.191Z] 810d54c7e01b: Verifying Checksum [2022-04-04T20:10:50.191Z] 810d54c7e01b: Download complete [2022-04-04T20:10:50.191Z] 810d54c7e01b: Pull complete [2022-04-04T20:10:50.191Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-04T20:10:50.191Z] Status: Downloaded newer image for alpine:3.14 [2022-04-04T20:10:50.191Z] ---> cc3d11fa2d52 [2022-04-04T20:10:50.191Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-04T20:10:50.191Z] ---> Running in 5aefaa6bd7ce [2022-04-04T20:10:50.191Z] Removing intermediate container 5aefaa6bd7ce [2022-04-04T20:10:50.191Z] ---> 7a56c6fc521f [2022-04-04T20:10:50.191Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-04T20:10:50.191Z] ---> Running in 795f9ffb7327 [2022-04-04T20:10:50.191Z] Removing intermediate container 795f9ffb7327 [2022-04-04T20:10:50.191Z] ---> 9dcdc51b01ea [2022-04-04T20:10:50.191Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-04T20:10:50.191Z] ---> Running in 87a060e2369f [2022-04-04T20:10:50.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-04T20:10:50.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-04T20:10:50.191Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-04T20:10:50.191Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-04T20:10:50.191Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-04T20:10:50.191Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-04T20:10:50.191Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-04T20:10:50.191Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-04T20:10:50.191Z] Executing busybox-1.33.1-r6.trigger [2022-04-04T20:10:50.191Z] OK: 8 MiB in 20 packages [2022-04-04T20:10:50.191Z] Removing intermediate container 87a060e2369f [2022-04-04T20:10:50.191Z] ---> cab6f6ca077b [2022-04-04T20:10:50.191Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-04T20:10:51.175Z] ---> 513f7a5a6367 [2022-04-04T20:10:51.175Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-04T20:10:51.770Z] ---> 109e45c33a0f [2022-04-04T20:10:51.770Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-04T20:10:52.370Z] ---> 0b55e3e4fbdd [2022-04-04T20:10:52.370Z] Step 20/25 : EXPOSE 59986 [2022-04-04T20:10:52.370Z] ---> Running in 14216e9d59f0 [2022-04-04T20:10:52.658Z] Removing intermediate container 14216e9d59f0 [2022-04-04T20:10:52.658Z] ---> b96bcd39738b [2022-04-04T20:10:52.658Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-04T20:10:52.945Z] ---> Running in 8be1fd84a239 [2022-04-04T20:10:53.219Z] Removing intermediate container 8be1fd84a239 [2022-04-04T20:10:53.219Z] ---> 10d7fb9f96e0 [2022-04-04T20:10:53.219Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-04T20:10:53.219Z] ---> Running in cc848bfa19ad [2022-04-04T20:10:53.497Z] Removing intermediate container cc848bfa19ad [2022-04-04T20:10:53.498Z] ---> e407a860c041 [2022-04-04T20:10:53.498Z] Step 23/25 : LABEL arch=arm64 [2022-04-04T20:10:53.772Z] ---> Running in f89cab098e57 [2022-04-04T20:10:54.048Z] Removing intermediate container f89cab098e57 [2022-04-04T20:10:54.048Z] ---> 9ed3473f3d2c [2022-04-04T20:10:54.048Z] Step 24/25 : LABEL git_sha=adc96bab208d4995b9cc965dbf151073ed5ad656 [2022-04-04T20:10:54.048Z] ---> Running in 27931a6dc4e0 [2022-04-04T20:10:54.321Z] Removing intermediate container 27931a6dc4e0 [2022-04-04T20:10:54.322Z] ---> f59f0b86f550 [2022-04-04T20:10:54.322Z] Step 25/25 : LABEL version=0.0.0 [2022-04-04T20:10:54.322Z] ---> Running in eb59cafbc60f [2022-04-04T20:10:54.924Z] Removing intermediate container eb59cafbc60f [2022-04-04T20:10:54.924Z] ---> 465351e9891b [2022-04-04T20:10:54.924Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-04T20:10:54.924Z] Successfully built 465351e9891b [2022-04-04T20:10:54.924Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:10:55.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T20:10:55.600Z] [2022-04-04T20:10:55.600Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:10:55.973Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T20:10:56.249Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-04T20:10:56.249Z] 8998bd30e6a1: Pulling fs layer [2022-04-04T20:10:56.249Z] 04944245beec: Pulling fs layer [2022-04-04T20:10:56.249Z] 699f458cf7ca: Pulling fs layer [2022-04-04T20:10:56.249Z] 765212b225bb: Pulling fs layer [2022-04-04T20:10:56.249Z] f23df028b6ca: Pulling fs layer [2022-04-04T20:10:56.249Z] d65c8cfc05b1: Pulling fs layer [2022-04-04T20:10:56.249Z] 2437ff75d9bd: Pulling fs layer [2022-04-04T20:10:56.249Z] 765212b225bb: Waiting [2022-04-04T20:10:56.249Z] f23df028b6ca: Waiting [2022-04-04T20:10:56.249Z] d65c8cfc05b1: Waiting [2022-04-04T20:10:56.249Z] 2437ff75d9bd: Waiting [2022-04-04T20:10:56.249Z] 04944245beec: Download complete [2022-04-04T20:10:56.249Z] 765212b225bb: Download complete [2022-04-04T20:10:56.249Z] f23df028b6ca: Download complete [2022-04-04T20:10:56.249Z] d65c8cfc05b1: Verifying Checksum [2022-04-04T20:10:56.249Z] d65c8cfc05b1: Download complete [2022-04-04T20:10:56.529Z] 699f458cf7ca: Verifying Checksum [2022-04-04T20:10:56.529Z] 699f458cf7ca: Download complete [2022-04-04T20:10:56.802Z] 8998bd30e6a1: Verifying Checksum [2022-04-04T20:10:56.802Z] 8998bd30e6a1: Download complete [2022-04-04T20:10:59.429Z] 2437ff75d9bd: Verifying Checksum [2022-04-04T20:10:59.429Z] 2437ff75d9bd: Download complete [2022-04-04T20:11:01.418Z] 8998bd30e6a1: Pull complete [2022-04-04T20:11:01.701Z] 04944245beec: Pull complete [2022-04-04T20:11:03.136Z] 699f458cf7ca: Pull complete [2022-04-04T20:11:03.417Z] 765212b225bb: Pull complete [2022-04-04T20:11:04.409Z] f23df028b6ca: Pull complete [2022-04-04T20:11:04.409Z] d65c8cfc05b1: Pull complete [2022-04-04T20:11:19.508Z] 2437ff75d9bd: Pull complete [2022-04-04T20:11:19.508Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-04T20:11:19.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-04T20:11:19.508Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-04T20:11:19.752Z] prd-ubuntu20.04-docker-arm64-4c-16g-10678 does not seem to be running inside a container [2022-04-04T20:11:19.847Z] $ 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-04-04T20:11:22.602Z] $ docker top 576ac3e9a9636f2caaef37b824ff89310b0f7b4ac2654a3a5487abf186cb52d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:11:23.614Z] ---> job-cost.sh [2022-04-04T20:11:23.614Z] lf-activate-venv: SKIPPING [2022-04-04T20:11:23.614Z] INFO: No Stack... [2022-04-04T20:11:24.207Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-04T20:11:25.184Z] INFO: Archiving Costs [Pipeline] sh [2022-04-04T20:11:25.860Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-04-04T20:11:25.860Z] + cut -d, -f6 [Pipeline] lock [2022-04-04T20:11:25.956Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] [2022-04-04T20:11:25.961Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] did not exist. Created. [2022-04-04T20:11:25.961Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-04T20:11:26.714Z] /w/workspace/device-rest-go/1@tmp/durable-b9ac0e77/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-04T20:11:27.404Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-04T20:11:27.445Z] Warning: overwriting stash ‘stack-cost’ [2022-04-04T20:11:27.492Z] Stashed 1 file(s) [Pipeline] } [2022-04-04T20:11:27.508Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-167-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-04T20:11:27.602Z] $ docker stop --time=1 576ac3e9a9636f2caaef37b824ff89310b0f7b4ac2654a3a5487abf186cb52d9 [2022-04-04T20:11:29.117Z] $ docker rm -f 576ac3e9a9636f2caaef37b824ff89310b0f7b4ac2654a3a5487abf186cb52d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-04T20:11:30.185Z] provisioning config files... [2022-04-04T20:11:30.194Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-167@tmp/config714133903223193064tmp [Pipeline] { [Pipeline] sh [2022-04-04T20:11:30.531Z] + set +x [2022-04-04T20:11:30.531Z] + curl -s https://codecov.io/bash [2022-04-04T20:11:30.531Z] + bash -s -- [2022-04-04T20:11:30.531Z] [2022-04-04T20:11:30.531Z] _____ _ [2022-04-04T20:11:30.531Z] / ____| | | [2022-04-04T20:11:30.531Z] | | ___ __| | ___ ___ _____ __ [2022-04-04T20:11:30.531Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-04T20:11:30.531Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-04T20:11:30.531Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-04T20:11:30.531Z] Bash-1.0.6 [2022-04-04T20:11:30.531Z] [2022-04-04T20:11:30.531Z] [2022-04-04T20:11:30.531Z] ==> git version 2.25.1 found [2022-04-04T20:11:30.531Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-04T20:11:30.531Z] Release-Date: 2020-01-08 [2022-04-04T20:11:30.531Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-04T20:11:30.531Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-04T20:11:30.531Z] ==> Jenkins CI detected. [2022-04-04T20:11:30.531Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-167 [2022-04-04T20:11:30.531Z] project root: . [2022-04-04T20:11:30.531Z] --> token set from env [2022-04-04T20:11:30.531Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-04T20:11:30.531Z] ==> Running gcov in . (disable via -X gcov) [2022-04-04T20:11:30.531Z] ==> Python coveragepy not found [2022-04-04T20:11:30.531Z] ==> Searching for coverage reports in: [2022-04-04T20:11:30.531Z] + . [2022-04-04T20:11:30.531Z] -> Found 1 reports [2022-04-04T20:11:30.531Z] ==> Detecting git/mercurial file structure [2022-04-04T20:11:30.531Z] ==> Reading reports [2022-04-04T20:11:30.793Z] + ./coverage.out bytes=9215 [2022-04-04T20:11:30.793Z] ==> Appending adjustments [2022-04-04T20:11:30.793Z] https://docs.codecov.io/docs/fixing-reports [2022-04-04T20:11:30.793Z] + Found adjustments [2022-04-04T20:11:30.793Z] ==> Gzipping contents [2022-04-04T20:11:30.793Z] 4.0K /tmp/codecov.3HkJpU.gz [2022-04-04T20:11:30.793Z] ==> Uploading reports [2022-04-04T20:11:30.793Z] url: https://codecov.io [2022-04-04T20:11:30.793Z] query: branch=PR-167&commit=adc96bab208d4995b9cc965dbf151073ed5ad656&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-167%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=167&job=&cmd_args= [2022-04-04T20:11:30.793Z] -> Pinging Codecov [2022-04-04T20:11:30.793Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-167&commit=adc96bab208d4995b9cc965dbf151073ed5ad656&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-167%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=167&job=&cmd_args= [2022-04-04T20:11:31.055Z] -> Uploading to [2022-04-04T20:11:31.055Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-04/4E5D53B4F1F92C436F7061BF334D961C/adc96bab208d4995b9cc965dbf151073ed5ad656/1b36a812-ce76-4c31-b75a-5af9fd24df99.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220404T201130Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7a1609f554661e3e576d959921d311438e579475a5604a88a76b83298e3cf85 [2022-04-04T20:11:31.055Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-04T20:11:31.055Z] Dload Upload Total Spent Left Speed [2022-04-04T20:11:31.318Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1798 0 0 100 1798 0 8062 --:--:-- --:--:-- --:--:-- 8062 [2022-04-04T20:11:31.318Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/adc96bab208d4995b9cc965dbf151073ed5ad656 [Pipeline] } [2022-04-04T20:11:31.343Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-04T20:11:33.121Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-167/archives ] [2022-04-04T20:11:33.121Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-167/archives [2022-04-04T20:11:33.121Z] total 16 [2022-04-04T20:11:33.121Z] drwxr-xr-x 3 root root 4096 Apr 4 20:05 . [2022-04-04T20:11:33.121Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 20:05 .. [2022-04-04T20:11:33.121Z] drwxr-xr-x 2 root root 4096 Apr 4 20:05 cost [2022-04-04T20:11:33.121Z] -rw-r--r-- 1 root root 85 Apr 4 20:05 cost.csv [2022-04-04T20:11:33.121Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-167/archives [2022-04-04T20:11:33.121Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-167/archives [2022-04-04T20:11:33.121Z] total 16 [2022-04-04T20:11:33.121Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 20:05 . [2022-04-04T20:11:33.121Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 20:05 .. [2022-04-04T20:11:33.121Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 20:05 cost [2022-04-04T20:11:33.121Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 4 20:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:11:33.505Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:11:34.443Z] ---> package-listing.sh [2022-04-04T20:11:34.443Z] ++ facter osfamily [2022-04-04T20:11:34.443Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-04T20:11:34.704Z] + OS_FAMILY=debian [2022-04-04T20:11:34.704Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-167 [2022-04-04T20:11:34.704Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-04T20:11:34.704Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-04T20:11:34.704Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-04T20:11:34.704Z] + PACKAGES=/tmp/packages_start.txt [2022-04-04T20:11:34.704Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-167 ']' [2022-04-04T20:11:34.704Z] + PACKAGES=/tmp/packages_end.txt [2022-04-04T20:11:34.704Z] + case "${OS_FAMILY}" in [2022-04-04T20:11:34.704Z] + dpkg -l [2022-04-04T20:11:34.704Z] + grep '^ii' [2022-04-04T20:11:34.704Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-04T20:11:34.704Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-04T20:11:34.704Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-04T20:11:34.704Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-167 ']' [2022-04-04T20:11:34.704Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-167/archives/ [2022-04-04T20:11:34.704Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-167/archives/ [Pipeline] echo [2022-04-04T20:11:34.739Z] 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-167/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-04T20:11:35.036Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-04T20:11:35.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-04T20:11:35.618Z] . [Pipeline] withDockerContainer [2022-04-04T20:11:35.711Z] prd-ubuntu20.04-docker-8c-8g-10675 does not seem to be running inside a container [2022-04-04T20:11:35.750Z] $ 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-167/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-167 -v /w/workspace/gexfoundry_device-rest-go_PR-167:/w/workspace/gexfoundry_device-rest-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-167@tmp:/w/workspace/gexfoundry_device-rest-go_PR-167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-04T20:11:35.995Z] $ docker top 53210e0e0daf0e27a26b4c2a22ceea8882cb0b02a149a35ff6445e25caa5814c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-04T20:11:36.395Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-04T20:11:36.706Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-04T20:11:37.020Z] + ls /var/log/sa-host [2022-04-04T20:11:37.020Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-04T20:11:37.298Z] provisioning config files... [2022-04-04T20:11:37.311Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-167@tmp/config5829023323854422888tmp [Pipeline] { [Pipeline] echo [2022-04-04T20:11:37.364Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:11:37.681Z] ---> create-netrc.sh [Pipeline] } [2022-04-04T20:11:37.705Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:11:38.100Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-04T20:11:38.131Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:11:38.443Z] ---> sudo-logs.sh [2022-04-04T20:11:38.443Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-04T20:11:38.529Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:11:38.848Z] ---> job-cost.sh [2022-04-04T20:11:38.848Z] lf-activate-venv: SKIPPING [2022-04-04T20:11:38.848Z] DEBUG: total: 0.2199999988079071 [2022-04-04T20:11:38.848Z] INFO: Retrieving Stack Cost... [2022-04-04T20:11:39.420Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-04T20:11:39.680Z] INFO: Archiving Costs [Pipeline] echo [2022-04-04T20:11:39.720Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-04T20:11:40.035Z] ---> logs-deploy.sh [2022-04-04T20:11:40.035Z] lf-activate-venv: SKIPPING [2022-04-04T20:11:40.035Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-167/1 [2022-04-04T20:11:40.035Z] INFO: archiving workspace using pattern(s): [2022-04-04T20:11:40.976Z] Archives upload complete. [2022-04-04T20:11:40.977Z] INFO: archiving logs to Nexus