Pull request #161 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ee2e6e81ad487de87278d539e48b56c24f1169b0+ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 (335f540a247ba94629573f37f34b15d462e77e74) 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-ssh12726810714493952298.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-ssh15502945538693264448.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-161/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-161/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16044382532936297669.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-161/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1115674567764965920.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-ssh9713726398246499179.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-161/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-161/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8786557659987409671.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8447 in /w/workspace/gexfoundry_device-rest-go_PR-161 [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-161 # 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 ee2e6e81ad487de87278d539e48b56c24f1169b0 Merge succeeded, producing ee2e6e81ad487de87278d539e48b56c24f1169b0 Checking out Revision ee2e6e81ad487de87278d539e48b56c24f1169b0 (PR-161) > 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/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ee2e6e81ad487de87278d539e48b56c24f1169b0 # 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 ee2e6e81ad487de87278d539e48b56c24f1169b0 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-21T20:03:32.826Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-21T20:03:33.003Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-21T20:03:33.108Z] ========================================================= [2022-03-21T20:03:33.109Z] EdgeX Global Pipelines Version Info [2022-03-21T20:03:33.109Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:03:33.963Z] ------------------- [2022-03-21T20:03:33.963Z] stable info: [2022-03-21T20:03:33.963Z] ------------------- [2022-03-21T20:03:33.963Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-21T20:03:33.963Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-21T20:03:33.963Z] Message: update stable to v1.0.221 [2022-03-21T20:03:34.540Z] ------------------- [2022-03-21T20:03:34.540Z] experimental info: [2022-03-21T20:03:34.540Z] ------------------- [2022-03-21T20:03:34.540Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-21T20:03:34.540Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-21T20:03:34.540Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-21T20:03:34.798Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-03-21T20:03:34.840Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-03-21T20:03:34.883Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-21T20:03:34.926Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-21T20:03:34.968Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-21T20:03:35.005Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-21T20:03:35.043Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-21T20:03:35.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-21T20:03:35.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-21T20:03:35.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-21T20:03:35.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-21T20:03:35.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-03-21T20:03:35.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-21T20:03:35.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-21T20:03:35.363Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-21T20:03:35.404Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-21T20:03:35.446Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-21T20:03:35.484Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-21T20:03:35.527Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-21T20:03:35.573Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-21T20:03:35.616Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-21T20:03:35.662Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-21T20:03:35.706Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-21T20:03:35.793Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-21T20:03:35.837Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-21T20:03:35.881Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-21T20:03:35.926Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo [2022-03-21T20:03:35.970Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo [2022-03-21T20:03:36.013Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo [2022-03-21T20:03:36.055Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee2e6e81ad487de87278d539e48b56c24f1169b0 [Pipeline] echo [2022-03-21T20:03:36.094Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee2e6e8 [Pipeline] echo [2022-03-21T20:03:36.142Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T20:03:36.246Z] provisioning config files... [2022-03-21T20:03:36.264Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-161@tmp/config1447911291314457629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:03:36.622Z] ---> docker-login.sh [2022-03-21T20:03:36.622Z] nexus3.edgexfoundry.org:10001 [2022-03-21T20:03:37.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:03:37.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:03:37.574Z] Configure a credential helper to remove this warning. See [2022-03-21T20:03:37.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:03:37.574Z] [2022-03-21T20:03:37.574Z] Login Succeeded [2022-03-21T20:03:37.574Z] nexus3.edgexfoundry.org:10002 [2022-03-21T20:03:37.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:03:37.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:03:37.574Z] Configure a credential helper to remove this warning. See [2022-03-21T20:03:37.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:03:37.574Z] [2022-03-21T20:03:37.574Z] Login Succeeded [2022-03-21T20:03:37.835Z] nexus3.edgexfoundry.org:10003 [2022-03-21T20:03:37.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:03:37.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:03:37.835Z] Configure a credential helper to remove this warning. See [2022-03-21T20:03:37.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:03:37.835Z] [2022-03-21T20:03:37.835Z] Login Succeeded [2022-03-21T20:03:37.835Z] nexus3.edgexfoundry.org:10004 [2022-03-21T20:03:37.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:03:38.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:03:38.096Z] Configure a credential helper to remove this warning. See [2022-03-21T20:03:38.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:03:38.096Z] [2022-03-21T20:03:38.096Z] Login Succeeded [2022-03-21T20:03:38.096Z] docker.io [2022-03-21T20:03:38.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:03:38.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:03:38.358Z] Configure a credential helper to remove this warning. See [2022-03-21T20:03:38.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:03:38.358Z] [2022-03-21T20:03:38.358Z] Login Succeeded [2022-03-21T20:03:38.358Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T20:03:38.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-21T20:03:39.047Z] + git rev-list -1 --merges ee2e6e81ad487de87278d539e48b56c24f1169b0~1..ee2e6e81ad487de87278d539e48b56c24f1169b0 [Pipeline] echo [2022-03-21T20:03:39.171Z] -----------> git rev-list -1 --merges ee2e6e81ad487de87278d539e48b56c24f1169b0~1..ee2e6e81ad487de87278d539e48b56c24f1169b0 ee2e6e81ad487de87278d539e48b56c24f1169b0 [false] [Pipeline] sh [2022-03-21T20:03:39.485Z] + git log --format=format:%s -1 ee2e6e81ad487de87278d539e48b56c24f1169b0 [Pipeline] echo [2022-03-21T20:03:39.523Z] ========================================================= [2022-03-21T20:03:39.523Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-21T20:03:39.523Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-21T20:03:39.966Z] + git log --format=format:%s -1 ee2e6e81ad487de87278d539e48b56c24f1169b0 [Pipeline] echo [2022-03-21T20:03:39.999Z] [semverPrep] GIT_COMMIT: ee2e6e81ad487de87278d539e48b56c24f1169b0, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-03-21T20:03:40.044Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-21T20:03:40.502Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-21T20:03:40.502Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-21T20:03:40.502Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-21T20:03:40.502Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-21T20:03:40.502Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-21T20:03:40.502Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-21T20:03:40.502Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:03:40.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T20:03:40.958Z] [2022-03-21T20:03:40.958Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:03:41.307Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T20:03:41.307Z] latest: Pulling from edgex-devops/git-semver [2022-03-21T20:03:41.307Z] a0d0a0d46f8b: Pulling fs layer [2022-03-21T20:03:41.307Z] 3e5f54012d9b: Pulling fs layer [2022-03-21T20:03:41.307Z] 4c7163046ea9: Pulling fs layer [2022-03-21T20:03:41.307Z] 0c2d73faf560: Pulling fs layer [2022-03-21T20:03:41.307Z] 0c2d73faf560: Waiting [2022-03-21T20:03:41.307Z] 3e5f54012d9b: Verifying Checksum [2022-03-21T20:03:41.307Z] 3e5f54012d9b: Download complete [2022-03-21T20:03:41.307Z] a0d0a0d46f8b: Verifying Checksum [2022-03-21T20:03:41.307Z] a0d0a0d46f8b: Download complete [2022-03-21T20:03:41.307Z] 0c2d73faf560: Verifying Checksum [2022-03-21T20:03:41.307Z] 0c2d73faf560: Download complete [2022-03-21T20:03:41.307Z] 4c7163046ea9: Verifying Checksum [2022-03-21T20:03:41.307Z] 4c7163046ea9: Download complete [2022-03-21T20:03:41.569Z] a0d0a0d46f8b: Pull complete [2022-03-21T20:03:41.569Z] 3e5f54012d9b: Pull complete [2022-03-21T20:03:42.145Z] 4c7163046ea9: Pull complete [2022-03-21T20:03:42.145Z] 0c2d73faf560: Pull complete [2022-03-21T20:03:42.145Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-21T20:03:42.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T20:03:42.145Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-21T20:03:42.259Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2022-03-21T20:03:42.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-161 -v /w/workspace/gexfoundry_device-rest-go_PR-161:/w/workspace/gexfoundry_device-rest-go_PR-161:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-161@tmp:/w/workspace/gexfoundry_device-rest-go_PR-161@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-03-21T20:03:43.121Z] $ docker top 983450716c253ab0fae5f8ac98bc72c0ff2bfac0c2fa15afb158b1d491ccbaaa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-21T20:03:43.312Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-21T20:03:43.312Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-21T20:03:43.441Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-21T20:03:43.436Z] $ docker exec 983450716c253ab0fae5f8ac98bc72c0ff2bfac0c2fa15afb158b1d491ccbaaa ssh-agent [2022-03-21T20:03:43.577Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjJiMlN/agent.14 [2022-03-21T20:03:43.577Z] SSH_AGENT_PID=20 [2022-03-21T20:03:43.585Z] Running ssh-add (command line suppressed) [2022-03-21T20:03:43.695Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-161@tmp/private_key_2482958405447804541.key (/w/workspace/gexfoundry_device-rest-go_PR-161@tmp/private_key_2482958405447804541.key) [2022-03-21T20:03:43.723Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-21T20:03:44.072Z] + git tag --points-at HEAD [Pipeline] } [2022-03-21T20:03:44.089Z] $ docker exec --env ******** --env ******** 983450716c253ab0fae5f8ac98bc72c0ff2bfac0c2fa15afb158b1d491ccbaaa ssh-agent -k [2022-03-21T20:03:44.202Z] unset SSH_AUTH_SOCK; [2022-03-21T20:03:44.203Z] unset SSH_AGENT_PID; [2022-03-21T20:03:44.203Z] echo Agent pid 20 killed; [2022-03-21T20:03:44.223Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-21T20:03:44.312Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-21T20:03:44.312Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-21T20:03:44.469Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-21T20:03:44.464Z] $ docker exec 983450716c253ab0fae5f8ac98bc72c0ff2bfac0c2fa15afb158b1d491ccbaaa ssh-agent [2022-03-21T20:03:44.604Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXADfmac/agent.54 [2022-03-21T20:03:44.604Z] SSH_AGENT_PID=60 [2022-03-21T20:03:44.609Z] Running ssh-add (command line suppressed) [2022-03-21T20:03:44.733Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-161@tmp/private_key_7542249522562203907.key (/w/workspace/gexfoundry_device-rest-go_PR-161@tmp/private_key_7542249522562203907.key) [2022-03-21T20:03:44.759Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-21T20:03:45.096Z] + git semver init [2022-03-21T20:03:45.096Z] # -> Open(): unable to determine branch for HEAD [2022-03-21T20:03:45.096Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-161/.git [2022-03-21T20:03:45.096Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-161 [2022-03-21T20:03:45.096Z] # $SEMVER_REMOTE_NAME = origin [2022-03-21T20:03:45.096Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-21T20:03:45.096Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-21T20:03:45.096Z] # $SEMVER_BRANCH = PR-161 [2022-03-21T20:03:45.096Z] # $SEMVER_TEMP = /tmp/semver-262393815 [2022-03-21T20:03:45.096Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-03-21T20:03:46.484Z] # '/tmp/semver-262393815' -> '/w/workspace/gexfoundry_device-rest-go_PR-161/.semver' [2022-03-21T20:03:46.484Z] # -> Force: false [2022-03-21T20:03:46.484Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-161/.semver [Pipeline] } [2022-03-21T20:03:46.502Z] $ docker exec --env ******** --env ******** 983450716c253ab0fae5f8ac98bc72c0ff2bfac0c2fa15afb158b1d491ccbaaa ssh-agent -k [2022-03-21T20:03:46.615Z] unset SSH_AUTH_SOCK; [2022-03-21T20:03:46.616Z] unset SSH_AGENT_PID; [2022-03-21T20:03:46.616Z] echo Agent pid 60 killed; [2022-03-21T20:03:46.634Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-21T20:03:47.046Z] + git semver [Pipeline] } [2022-03-21T20:03:47.071Z] $ docker stop --time=1 983450716c253ab0fae5f8ac98bc72c0ff2bfac0c2fa15afb158b1d491ccbaaa [2022-03-21T20:03:48.502Z] $ docker rm -f 983450716c253ab0fae5f8ac98bc72c0ff2bfac0c2fa15afb158b1d491ccbaaa [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-21T20:03:48.921Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-21T20:03:49.303Z] Stashed 1 file(s) [Pipeline] echo [2022-03-21T20:03:49.322Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T20:03:49.930Z] provisioning config files... [2022-03-21T20:03:49.940Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-161@tmp/config1973220512555776690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:03:50.283Z] ---> docker-login.sh [2022-03-21T20:03:50.283Z] nexus3.edgexfoundry.org:10001 [2022-03-21T20:03:50.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:03:50.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:03:50.283Z] Configure a credential helper to remove this warning. See [2022-03-21T20:03:50.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:03:50.283Z] [2022-03-21T20:03:50.283Z] Login Succeeded [2022-03-21T20:03:50.283Z] nexus3.edgexfoundry.org:10002 [2022-03-21T20:03:50.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:03:50.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:03:50.544Z] Configure a credential helper to remove this warning. See [2022-03-21T20:03:50.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:03:50.544Z] [2022-03-21T20:03:50.544Z] Login Succeeded [2022-03-21T20:03:50.544Z] nexus3.edgexfoundry.org:10003 [2022-03-21T20:03:50.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:03:50.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:03:50.544Z] Configure a credential helper to remove this warning. See [2022-03-21T20:03:50.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:03:50.544Z] [2022-03-21T20:03:50.544Z] Login Succeeded [2022-03-21T20:03:50.544Z] nexus3.edgexfoundry.org:10004 [2022-03-21T20:03:50.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:03:50.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:03:50.810Z] Configure a credential helper to remove this warning. See [2022-03-21T20:03:50.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:03:50.810Z] [2022-03-21T20:03:50.810Z] Login Succeeded [2022-03-21T20:03:50.810Z] docker.io [2022-03-21T20:03:50.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:03:51.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:03:51.072Z] Configure a credential helper to remove this warning. See [2022-03-21T20:03:51.072Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:03:51.072Z] [2022-03-21T20:03:51.072Z] Login Succeeded [2022-03-21T20:03:51.072Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T20:03:51.103Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-21T20:03:51.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-21T20:03:51.330Z] ========================================================= [2022-03-21T20:03:51.330Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-21T20:03:51.330Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:03:51.739Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-03-21T20:03:51.739Z] Sending build context to Docker daemon 10.55MB [2022-03-21T20:03:51.739Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-21T20:03:51.739Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-21T20:03:51.739Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-21T20:03:51.739Z] 59bf1c3509f3: Pulling fs layer [2022-03-21T20:03:51.739Z] 666ba61612fd: Pulling fs layer [2022-03-21T20:03:51.739Z] 8ed8ca486205: Pulling fs layer [2022-03-21T20:03:51.739Z] 4fe6c5a15a65: Pulling fs layer [2022-03-21T20:03:51.739Z] 22a0e8bec74d: Pulling fs layer [2022-03-21T20:03:51.739Z] 640e595b4fbd: Pulling fs layer [2022-03-21T20:03:51.739Z] 4fe6c5a15a65: Waiting [2022-03-21T20:03:51.739Z] 22a0e8bec74d: Waiting [2022-03-21T20:03:51.739Z] 640e595b4fbd: Waiting [2022-03-21T20:03:51.739Z] 763cafe07f6e: Pulling fs layer [2022-03-21T20:03:51.739Z] 0c0b528cf693: Pulling fs layer [2022-03-21T20:03:51.739Z] 10935f4eaf8b: Pulling fs layer [2022-03-21T20:03:51.739Z] 763cafe07f6e: Waiting [2022-03-21T20:03:51.739Z] 0c0b528cf693: Waiting [2022-03-21T20:03:52.000Z] 8ed8ca486205: Verifying Checksum [2022-03-21T20:03:52.000Z] 8ed8ca486205: Download complete [2022-03-21T20:03:52.000Z] 666ba61612fd: Verifying Checksum [2022-03-21T20:03:52.000Z] 666ba61612fd: Download complete [2022-03-21T20:03:52.000Z] 22a0e8bec74d: Download complete [2022-03-21T20:03:52.000Z] 640e595b4fbd: Verifying Checksum [2022-03-21T20:03:52.000Z] 640e595b4fbd: Download complete [2022-03-21T20:03:52.000Z] 59bf1c3509f3: Verifying Checksum [2022-03-21T20:03:52.000Z] 59bf1c3509f3: Download complete [2022-03-21T20:03:52.000Z] 763cafe07f6e: Download complete [2022-03-21T20:03:52.000Z] 0c0b528cf693: Verifying Checksum [2022-03-21T20:03:52.000Z] 0c0b528cf693: Download complete [2022-03-21T20:03:52.000Z] 59bf1c3509f3: Pull complete [2022-03-21T20:03:52.260Z] 666ba61612fd: Pull complete [2022-03-21T20:03:52.260Z] 8ed8ca486205: Pull complete [2022-03-21T20:03:52.523Z] 10935f4eaf8b: Verifying Checksum [2022-03-21T20:03:52.523Z] 10935f4eaf8b: Download complete [2022-03-21T20:03:52.783Z] 4fe6c5a15a65: Verifying Checksum [2022-03-21T20:03:52.783Z] 4fe6c5a15a65: Download complete [2022-03-21T20:03:56.985Z] 4fe6c5a15a65: Pull complete [2022-03-21T20:03:56.985Z] 22a0e8bec74d: Pull complete [2022-03-21T20:03:56.985Z] 640e595b4fbd: Pull complete [2022-03-21T20:03:56.985Z] 763cafe07f6e: Pull complete [2022-03-21T20:03:57.245Z] 0c0b528cf693: Pull complete [2022-03-21T20:03:59.152Z] 10935f4eaf8b: Pull complete [2022-03-21T20:03:59.152Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-21T20:03:59.152Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-21T20:03:59.152Z] ---> 99d49a6021b9 [2022-03-21T20:03:59.152Z] Step 3/12 : ARG MAKE='make build' [2022-03-21T20:04:01.070Z] ---> Running in 716198f10ada [2022-03-21T20:04:01.333Z] Removing intermediate container 716198f10ada [2022-03-21T20:04:01.333Z] ---> f11a43af6cfa [2022-03-21T20:04:01.333Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-21T20:04:01.333Z] ---> Running in 3900cde6bef4 [2022-03-21T20:04:01.333Z] Removing intermediate container 3900cde6bef4 [2022-03-21T20:04:01.333Z] ---> d453d2db1366 [2022-03-21T20:04:01.333Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-21T20:04:01.598Z] ---> Running in ce87f4879df2 [2022-03-21T20:04:01.598Z] Removing intermediate container ce87f4879df2 [2022-03-21T20:04:01.598Z] ---> c4ba5664d6d0 [2022-03-21T20:04:01.598Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-21T20:04:01.598Z] ---> Running in c48b57e1f072 [2022-03-21T20:04:02.171Z] Removing intermediate container c48b57e1f072 [2022-03-21T20:04:02.171Z] ---> 2a438324fa70 [2022-03-21T20:04:02.171Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-21T20:04:02.431Z] ---> Running in 9092583746b2 [2022-03-21T20:04:02.691Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-21T20:04:03.631Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-21T20:04:03.893Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-21T20:04:03.893Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-21T20:04:04.156Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-21T20:04:04.156Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-21T20:04:04.156Z] Executing busybox-1.34.1-r3.trigger [2022-03-21T20:04:04.156Z] OK: 224 MiB in 56 packages [2022-03-21T20:04:04.727Z] Removing intermediate container 9092583746b2 [2022-03-21T20:04:04.727Z] ---> eef57dc43ea5 [2022-03-21T20:04:04.727Z] Step 8/12 : WORKDIR /device-rest-go [2022-03-21T20:04:04.727Z] ---> Running in f945ff9ec00d [2022-03-21T20:04:04.749Z] Still waiting to schedule task [2022-03-21T20:04:04.749Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-21T20:04:04.988Z] Removing intermediate container f945ff9ec00d [2022-03-21T20:04:04.988Z] ---> a6226975b61d [2022-03-21T20:04:04.988Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-21T20:04:04.988Z] ---> 8eda6c10d5cd [2022-03-21T20:04:04.988Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-21T20:04:04.988Z] ---> Running in f36cea9d3e78 [2022-03-21T20:04:31.572Z] Removing intermediate container f36cea9d3e78 [2022-03-21T20:04:31.572Z] ---> 038e6d33f345 [2022-03-21T20:04:31.572Z] Step 11/12 : COPY . . [2022-03-21T20:04:31.572Z] ---> b282dbb8f631 [2022-03-21T20:04:31.572Z] Step 12/12 : RUN $MAKE [2022-03-21T20:04:31.572Z] ---> Running in 4461065d7bd9 [2022-03-21T20:04:31.572Z] noop [2022-03-21T20:04:31.831Z] Removing intermediate container 4461065d7bd9 [2022-03-21T20:04:31.831Z] ---> 51c870a71485 [2022-03-21T20:04:31.831Z] Successfully built 51c870a71485 [2022-03-21T20:04:31.831Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:04:32.161Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-21T20:04:32.161Z] . [Pipeline] withDockerContainer [2022-03-21T20:04:32.246Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2022-03-21T20:04:32.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-161 -v /w/workspace/gexfoundry_device-rest-go_PR-161:/w/workspace/gexfoundry_device-rest-go_PR-161:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-161@tmp:/w/workspace/gexfoundry_device-rest-go_PR-161@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-03-21T20:04:32.646Z] $ docker top fab4f59ca5e92916600eaf0032ea00fbe2eff0bc9ce79d30f312513786fe3137 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-21T20:04:33.046Z] + go version [2022-03-21T20:04:33.046Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-21T20:04:33.084Z] $ docker stop --time=1 fab4f59ca5e92916600eaf0032ea00fbe2eff0bc9ce79d30f312513786fe3137 [2022-03-21T20:04:34.382Z] $ docker rm -f fab4f59ca5e92916600eaf0032ea00fbe2eff0bc9ce79d30f312513786fe3137 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:04:35.053Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-21T20:04:35.053Z] . [Pipeline] withDockerContainer [2022-03-21T20:04:35.160Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2022-03-21T20:04:35.203Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-161 -v /w/workspace/gexfoundry_device-rest-go_PR-161:/w/workspace/gexfoundry_device-rest-go_PR-161:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-161@tmp:/w/workspace/gexfoundry_device-rest-go_PR-161@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-03-21T20:04:35.676Z] $ docker top 9ae71f855eee59e6395da2db34a1228c10d4174963d9c3141fabbc74362a9eaf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-21T20:04:36.124Z] + make test [2022-03-21T20:04:36.124Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-21T20:04:36.383Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-03-21T20:04:43.099Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-03-21T20:04:43.099Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 56.0% of statements [2022-03-21T20:04:43.099Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-21T20:04:46.402Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-21T20:04:46.402Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-21T20:04:46.402Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-21T20:04:46.697Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-21T20:04:46.737Z] $ docker stop --time=1 9ae71f855eee59e6395da2db34a1228c10d4174963d9c3141fabbc74362a9eaf [2022-03-21T20:04:48.397Z] $ docker rm -f 9ae71f855eee59e6395da2db34a1228c10d4174963d9c3141fabbc74362a9eaf [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-21T20:04:48.835Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-21T20:04:48.898Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-21T20:04:50.089Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-21T20:04:50.403Z] + ls -al . [2022-03-21T20:04:50.403Z] total 180 [2022-03-21T20:04:50.403Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 20:04 . [2022-03-21T20:04:50.403Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 20:03 .. [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 20:03 .dockerignore [2022-03-21T20:04:50.403Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 20:03 .git [2022-03-21T20:04:50.403Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 20:03 .github [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 20:03 .gitignore [2022-03-21T20:04:50.403Z] drwx------ 3 jenkins jenkins 4096 Mar 21 20:03 .semver [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 7192 Mar 21 20:03 Attribution.txt [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 7459 Mar 21 20:03 CHANGELOG.md [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 1672 Mar 21 20:03 Dockerfile [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 20:03 GOVERNANCE.md [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 20:03 Jenkinsfile [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 20:03 LICENSE [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 1078 Mar 21 20:03 Makefile [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 20:03 OWNERS.md [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 8246 Mar 21 20:03 README.md [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 20:03 VERSION [2022-03-21T20:04:50.403Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 20:03 bin [2022-03-21T20:04:50.403Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 20:03 cmd [2022-03-21T20:04:50.403Z] -rw-r--r-- 1 jenkins jenkins 9215 Mar 21 20:04 coverage.out [2022-03-21T20:04:50.403Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 20:03 driver [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 21 20:03 go.mod [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 50572 Mar 21 20:03 go.sum [2022-03-21T20:04:50.403Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 20:03 snap [2022-03-21T20:04:50.403Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 20:03 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:04:50.734Z] + 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=ee2e6e81ad487de87278d539e48b56c24f1169b0 --label arch=amd64 --label version=0.0.0 . [2022-03-21T20:04:50.734Z] Sending build context to Docker daemon 10.56MB [2022-03-21T20:04:50.734Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-21T20:04:50.734Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-21T20:04:50.734Z] ---> 51c870a71485 [2022-03-21T20:04:50.734Z] Step 3/25 : ARG MAKE='make build' [2022-03-21T20:04:50.734Z] ---> Running in f4f6dcdb29f0 [2022-03-21T20:04:50.993Z] Removing intermediate container f4f6dcdb29f0 [2022-03-21T20:04:50.993Z] ---> d45cdff76398 [2022-03-21T20:04:50.993Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-21T20:04:50.993Z] ---> Running in 712c9fa9f3cc [2022-03-21T20:04:50.993Z] Removing intermediate container 712c9fa9f3cc [2022-03-21T20:04:50.993Z] ---> 183abcd7b4b3 [2022-03-21T20:04:50.993Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-21T20:04:50.993Z] ---> Running in 91ca5518708a [2022-03-21T20:04:51.254Z] Removing intermediate container 91ca5518708a [2022-03-21T20:04:51.254Z] ---> 4c818405200c [2022-03-21T20:04:51.254Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-21T20:04:51.254Z] ---> Running in 363164edfd4f [2022-03-21T20:04:51.823Z] Removing intermediate container 363164edfd4f [2022-03-21T20:04:51.823Z] ---> aa5a16b809d3 [2022-03-21T20:04:51.823Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-21T20:04:51.823Z] ---> Running in c967b11065e4 [2022-03-21T20:04:52.084Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-21T20:04:53.035Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-21T20:04:53.297Z] OK: 224 MiB in 56 packages [2022-03-21T20:04:53.557Z] Removing intermediate container c967b11065e4 [2022-03-21T20:04:53.557Z] ---> b50fb146ccb6 [2022-03-21T20:04:53.557Z] Step 8/25 : WORKDIR /device-rest-go [2022-03-21T20:04:53.820Z] ---> Running in a5ecf4b7794d [2022-03-21T20:04:53.820Z] Removing intermediate container a5ecf4b7794d [2022-03-21T20:04:53.820Z] ---> 237f9bc19d97 [2022-03-21T20:04:53.820Z] Step 9/25 : COPY go.mod vendor* ./ [2022-03-21T20:04:53.820Z] ---> f9e6cad09f1b [2022-03-21T20:04:53.820Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-21T20:04:54.080Z] ---> Running in b774f80a1a98 [2022-03-21T20:04:54.679Z] Removing intermediate container b774f80a1a98 [2022-03-21T20:04:54.679Z] ---> fedae9d3ed20 [2022-03-21T20:04:54.679Z] Step 11/25 : COPY . . [2022-03-21T20:04:54.942Z] ---> 3853626f4f4d [2022-03-21T20:04:54.942Z] Step 12/25 : RUN $MAKE [2022-03-21T20:04:54.942Z] ---> Running in e314d03464da [2022-03-21T20:04:55.202Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-03-21T20:05:03.383Z] Removing intermediate container e314d03464da [2022-03-21T20:05:03.383Z] ---> 9fca00d912ee [2022-03-21T20:05:03.383Z] Step 13/25 : FROM alpine:3.14 [2022-03-21T20:05:03.383Z] 3.14: Pulling from library/alpine [2022-03-21T20:05:03.383Z] 36ccefbf3d8a: Pulling fs layer [2022-03-21T20:05:03.383Z] 36ccefbf3d8a: Verifying Checksum [2022-03-21T20:05:03.383Z] 36ccefbf3d8a: Download complete [2022-03-21T20:05:03.383Z] 36ccefbf3d8a: Pull complete [2022-03-21T20:05:03.383Z] Digest: sha256:beca83085fd7f5b2a2cc457ddb2ed180c090c13ad7e806530e4ef578cb5cfe7b [2022-03-21T20:05:03.383Z] Status: Downloaded newer image for alpine:3.14 [2022-03-21T20:05:03.383Z] ---> a33ac4f1069a [2022-03-21T20:05:03.383Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-03-21T20:05:03.383Z] ---> Running in 32cde8b459f4 [2022-03-21T20:05:03.383Z] Removing intermediate container 32cde8b459f4 [2022-03-21T20:05:03.383Z] ---> c81d81bf2bd5 [2022-03-21T20:05:03.383Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-03-21T20:05:03.383Z] ---> Running in 878c27eb7b18 [2022-03-21T20:05:03.646Z] Removing intermediate container 878c27eb7b18 [2022-03-21T20:05:03.646Z] ---> f57b21a15f5d [2022-03-21T20:05:03.646Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-21T20:05:03.646Z] ---> Running in f0efb43f48ad [2022-03-21T20:05:03.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-21T20:05:03.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-21T20:05:04.176Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-21T20:05:04.176Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-21T20:05:04.176Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-21T20:05:04.176Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-21T20:05:04.176Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-21T20:05:04.176Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-21T20:05:04.176Z] Executing busybox-1.33.1-r6.trigger [2022-03-21T20:05:04.486Z] OK: 8 MiB in 20 packages [2022-03-21T20:05:04.747Z] Removing intermediate container f0efb43f48ad [2022-03-21T20:05:04.747Z] ---> ccb4cf8281e4 [2022-03-21T20:05:04.747Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-03-21T20:05:05.319Z] ---> 0097c08d6ec5 [2022-03-21T20:05:05.319Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-03-21T20:05:05.580Z] ---> f9fe95df8d90 [2022-03-21T20:05:05.580Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-03-21T20:05:05.580Z] ---> 7018aca4cb27 [2022-03-21T20:05:05.580Z] Step 20/25 : EXPOSE 59986 [2022-03-21T20:05:05.844Z] ---> Running in 03eb27fc772a [2022-03-21T20:05:05.844Z] Removing intermediate container 03eb27fc772a [2022-03-21T20:05:05.844Z] ---> cd7094156307 [2022-03-21T20:05:05.844Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-03-21T20:05:05.844Z] ---> Running in 9c14dc7872cf [2022-03-21T20:05:05.844Z] Removing intermediate container 9c14dc7872cf [2022-03-21T20:05:05.844Z] ---> 11830c2ae06a [2022-03-21T20:05:05.844Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-03-21T20:05:06.104Z] ---> Running in b2273290c059 [2022-03-21T20:05:06.104Z] Removing intermediate container b2273290c059 [2022-03-21T20:05:06.104Z] ---> fe30ea854908 [2022-03-21T20:05:06.104Z] Step 23/25 : LABEL arch=amd64 [2022-03-21T20:05:06.104Z] ---> Running in 823553e7ee9c [2022-03-21T20:05:06.104Z] Removing intermediate container 823553e7ee9c [2022-03-21T20:05:06.104Z] ---> bab2482e1396 [2022-03-21T20:05:06.104Z] Step 24/25 : LABEL git_sha=ee2e6e81ad487de87278d539e48b56c24f1169b0 [2022-03-21T20:05:06.365Z] ---> Running in 6caf5ad7e1ad [2022-03-21T20:05:06.365Z] Removing intermediate container 6caf5ad7e1ad [2022-03-21T20:05:06.365Z] ---> 019bceb95efb [2022-03-21T20:05:06.365Z] Step 25/25 : LABEL version=0.0.0 [2022-03-21T20:05:06.365Z] ---> Running in 34bf6f21c347 [2022-03-21T20:05:06.365Z] Removing intermediate container 34bf6f21c347 [2022-03-21T20:05:06.365Z] ---> 0a40b58f9d6a [2022-03-21T20:05:06.365Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-21T20:05:06.365Z] Successfully built 0a40b58f9d6a [2022-03-21T20:05:06.365Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:05:07.103Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T20:05:07.103Z] [2022-03-21T20:05:07.103Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:05:07.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T20:05:07.448Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-21T20:05:07.448Z] 5eb5b503b376: Pulling fs layer [2022-03-21T20:05:07.448Z] 5c69ac0246d0: Pulling fs layer [2022-03-21T20:05:07.448Z] ec43610c2a17: Pulling fs layer [2022-03-21T20:05:07.448Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-21T20:05:07.448Z] 33b1e0a273af: Pulling fs layer [2022-03-21T20:05:07.448Z] 5d3b04190fa2: Pulling fs layer [2022-03-21T20:05:07.448Z] 2f39f015ded8: Pulling fs layer [2022-03-21T20:05:07.448Z] 33b1e0a273af: Waiting [2022-03-21T20:05:07.448Z] 5d3b04190fa2: Waiting [2022-03-21T20:05:07.448Z] 2f39f015ded8: Waiting [2022-03-21T20:05:07.448Z] 3a2ae6a8a46f: Waiting [2022-03-21T20:05:07.448Z] 5c69ac0246d0: Verifying Checksum [2022-03-21T20:05:07.448Z] 5c69ac0246d0: Download complete [2022-03-21T20:05:07.448Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-21T20:05:07.448Z] 3a2ae6a8a46f: Download complete [2022-03-21T20:05:07.448Z] 33b1e0a273af: Verifying Checksum [2022-03-21T20:05:07.449Z] 33b1e0a273af: Download complete [2022-03-21T20:05:07.449Z] ec43610c2a17: Verifying Checksum [2022-03-21T20:05:07.449Z] ec43610c2a17: Download complete [2022-03-21T20:05:07.449Z] 5d3b04190fa2: Verifying Checksum [2022-03-21T20:05:07.449Z] 5d3b04190fa2: Download complete [2022-03-21T20:05:07.708Z] 5eb5b503b376: Verifying Checksum [2022-03-21T20:05:07.708Z] 5eb5b503b376: Download complete [2022-03-21T20:05:08.275Z] 2f39f015ded8: Download complete [2022-03-21T20:05:08.844Z] 5eb5b503b376: Pull complete [2022-03-21T20:05:09.103Z] 5c69ac0246d0: Pull complete [2022-03-21T20:05:09.674Z] ec43610c2a17: Pull complete [2022-03-21T20:05:09.674Z] 3a2ae6a8a46f: Pull complete [2022-03-21T20:05:09.674Z] 33b1e0a273af: Pull complete [2022-03-21T20:05:09.934Z] 5d3b04190fa2: Pull complete [2022-03-21T20:05:14.136Z] 2f39f015ded8: Pull complete [2022-03-21T20:05:14.136Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-21T20:05:14.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T20:05:14.136Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-21T20:05:14.223Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2022-03-21T20:05:14.265Z] $ 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-161 -v /w/workspace/gexfoundry_device-rest-go_PR-161:/w/workspace/gexfoundry_device-rest-go_PR-161:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-161@tmp:/w/workspace/gexfoundry_device-rest-go_PR-161@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-21T20:05:16.255Z] $ docker top d2cbc6402676929c2242d96bf686308591a587e22027a283c3700180873cd37d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:05:16.745Z] ---> job-cost.sh [2022-03-21T20:05:16.745Z] lf-activate-venv: SKIPPING [2022-03-21T20:05:16.745Z] INFO: No Stack... [2022-03-21T20:05:17.317Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-21T20:05:17.577Z] INFO: Archiving Costs [Pipeline] sh [2022-03-21T20:05:17.896Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-161/archives/cost.csv [2022-03-21T20:05:17.897Z] + cut -d, -f6 [Pipeline] lock [2022-03-21T20:05:17.943Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] [2022-03-21T20:05:17.948Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] did not exist. Created. [2022-03-21T20:05:17.948Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-21T20:05:18.330Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-21T20:05:18.388Z] Stashed 1 file(s) [Pipeline] } [2022-03-21T20:05:18.412Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-21T20:05:18.494Z] $ docker stop --time=1 d2cbc6402676929c2242d96bf686308591a587e22027a283c3700180873cd37d [2022-03-21T20:05:19.692Z] $ docker rm -f d2cbc6402676929c2242d96bf686308591a587e22027a283c3700180873cd37d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-21T20:05:38.291Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8449 in /w/workspace/gexfoundry_device-rest-go_PR-161 [Pipeline] { [Pipeline] ws [2022-03-21T20:05:38.337Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-03-21T20:05:38.773Z] The recommended git tool is: git [2022-03-21T20:05:46.425Z] using credential edgex-jenkins-ssh [2022-03-21T20:05:46.442Z] Cloning the remote Git repository [2022-03-21T20:05:46.515Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-03-21T20:05:46.595Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-03-21T20:05:46.765Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-03-21T20:05:46.766Z] > git --version # timeout=10 [2022-03-21T20:05:46.824Z] > git --version # 'git version 2.25.1' [2022-03-21T20:05:46.825Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-21T20:05:46.932Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-21T20:05:49.844Z] Merging remotes/origin/main commit ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 into PR head commit ee2e6e81ad487de87278d539e48b56c24f1169b0 [2022-03-21T20:05:49.172Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-03-21T20:05:49.212Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-21T20:05:49.254Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-03-21T20:05:49.303Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-03-21T20:05:49.304Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-21T20:05:49.323Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-21T20:05:49.870Z] > git config core.sparsecheckout # timeout=10 [2022-03-21T20:05:49.900Z] > git checkout -f ee2e6e81ad487de87278d539e48b56c24f1169b0 # timeout=10 [2022-03-21T20:05:50.171Z] Merge succeeded, producing ee2e6e81ad487de87278d539e48b56c24f1169b0 [2022-03-21T20:05:50.172Z] Checking out Revision ee2e6e81ad487de87278d539e48b56c24f1169b0 (PR-161) [2022-03-21T20:05:50.009Z] > git remote # timeout=10 [2022-03-21T20:05:50.042Z] > git config --get remote.origin.url # timeout=10 [2022-03-21T20:05:50.089Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-21T20:05:50.103Z] > git merge ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 [2022-03-21T20:05:50.133Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-21T20:05:50.187Z] > git config core.sparsecheckout # timeout=10 [2022-03-21T20:05:50.210Z] > git checkout -f ee2e6e81ad487de87278d539e48b56c24f1169b0 # timeout=10 [2022-03-21T20:05:54.487Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-03-21T20:05:54.553Z] > git --version # timeout=10 [2022-03-21T20:05:54.564Z] > git --version # 'git version 2.25.1' [2022-03-21T20:05:54.585Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-21T20:05:55.693Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-21T20:05:55.693Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-21T20:05:55.693Z] Dload Upload Total Spent Left Speed [2022-03-21T20:05:55.693Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44190 0 --:--:-- --:--:-- --:--:-- 44355 [Pipeline] sh [2022-03-21T20:05:56.257Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-21T20:05:56.611Z] + sudo tee /etc/docker/daemon.new [2022-03-21T20:05:56.611Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-21T20:05:56.611Z] { [2022-03-21T20:05:56.611Z] "registry-mirrors": [ [2022-03-21T20:05:56.611Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-21T20:05:56.611Z] ], [2022-03-21T20:05:56.611Z] "bip": "10.250.0.254/24", [2022-03-21T20:05:56.611Z] "hosts": [ [2022-03-21T20:05:56.611Z] "tcp://0.0.0.0:5555", [2022-03-21T20:05:56.611Z] "unix:///var/run/docker.sock" [2022-03-21T20:05:56.611Z] ], [2022-03-21T20:05:56.611Z] "mtu": 1458, [2022-03-21T20:05:56.611Z] "selinux-enabled": true, [2022-03-21T20:05:56.611Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-21T20:05:56.611Z] } [Pipeline] sh [2022-03-21T20:05:57.054Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-21T20:05:57.416Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T20:06:15.814Z] provisioning config files... [2022-03-21T20:06:15.841Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1427121808010233444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:06:16.445Z] ---> docker-login.sh [2022-03-21T20:06:16.445Z] nexus3.edgexfoundry.org:10001 [2022-03-21T20:06:17.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:06:17.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:06:17.321Z] Configure a credential helper to remove this warning. See [2022-03-21T20:06:17.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:06:17.321Z] [2022-03-21T20:06:17.321Z] Login Succeeded [2022-03-21T20:06:17.321Z] nexus3.edgexfoundry.org:10002 [2022-03-21T20:06:17.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:06:17.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:06:17.871Z] Configure a credential helper to remove this warning. See [2022-03-21T20:06:17.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:06:17.871Z] [2022-03-21T20:06:17.871Z] Login Succeeded [2022-03-21T20:06:17.871Z] nexus3.edgexfoundry.org:10003 [2022-03-21T20:06:18.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:06:18.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:06:18.154Z] Configure a credential helper to remove this warning. See [2022-03-21T20:06:18.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:06:18.154Z] [2022-03-21T20:06:18.154Z] Login Succeeded [2022-03-21T20:06:18.154Z] nexus3.edgexfoundry.org:10004 [2022-03-21T20:06:18.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:06:18.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:06:18.753Z] Configure a credential helper to remove this warning. See [2022-03-21T20:06:18.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:06:18.753Z] [2022-03-21T20:06:18.753Z] Login Succeeded [2022-03-21T20:06:18.753Z] docker.io [2022-03-21T20:06:19.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T20:06:19.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T20:06:19.625Z] Configure a credential helper to remove this warning. See [2022-03-21T20:06:19.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T20:06:19.625Z] [2022-03-21T20:06:19.625Z] Login Succeeded [2022-03-21T20:06:19.625Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T20:06:19.652Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-21T20:06:20.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-21T20:06:20.091Z] ========================================================= [2022-03-21T20:06:20.091Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-21T20:06:20.091Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:06:20.541Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-03-21T20:06:20.541Z] Sending build context to Docker daemon 124.9kB [2022-03-21T20:06:20.814Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-21T20:06:20.814Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-21T20:06:21.097Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-21T20:06:21.097Z] 9b3977197b4f: Pulling fs layer [2022-03-21T20:06:21.097Z] 1a89e8eeedd5: Pulling fs layer [2022-03-21T20:06:21.097Z] 94645a83ff95: Pulling fs layer [2022-03-21T20:06:21.097Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-21T20:06:21.097Z] 3f3a8bcf1eab: Waiting [2022-03-21T20:06:21.097Z] 0c92f367c5e7: Pulling fs layer [2022-03-21T20:06:21.097Z] f7c0051592d6: Pulling fs layer [2022-03-21T20:06:21.097Z] a227ed2f7395: Pulling fs layer [2022-03-21T20:06:21.097Z] 7b1c46037f91: Pulling fs layer [2022-03-21T20:06:21.097Z] 0c92f367c5e7: Waiting [2022-03-21T20:06:21.097Z] a227ed2f7395: Waiting [2022-03-21T20:06:21.097Z] f7c0051592d6: Waiting [2022-03-21T20:06:21.097Z] 94645a83ff95: Verifying Checksum [2022-03-21T20:06:21.097Z] 94645a83ff95: Download complete [2022-03-21T20:06:21.097Z] 1a89e8eeedd5: Verifying Checksum [2022-03-21T20:06:21.097Z] 1a89e8eeedd5: Download complete [2022-03-21T20:06:21.097Z] 0c92f367c5e7: Verifying Checksum [2022-03-21T20:06:21.097Z] 0c92f367c5e7: Download complete [2022-03-21T20:06:21.097Z] f7c0051592d6: Verifying Checksum [2022-03-21T20:06:21.097Z] f7c0051592d6: Download complete [2022-03-21T20:06:21.097Z] 9b3977197b4f: Download complete [2022-03-21T20:06:21.097Z] a227ed2f7395: Verifying Checksum [2022-03-21T20:06:21.097Z] a227ed2f7395: Download complete [2022-03-21T20:06:21.705Z] 9b3977197b4f: Pull complete [2022-03-21T20:06:22.311Z] 1a89e8eeedd5: Pull complete [2022-03-21T20:06:22.593Z] 94645a83ff95: Pull complete [2022-03-21T20:06:23.205Z] 7b1c46037f91: Verifying Checksum [2022-03-21T20:06:23.205Z] 7b1c46037f91: Download complete [2022-03-21T20:06:23.803Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-21T20:06:23.803Z] 3f3a8bcf1eab: Download complete [2022-03-21T20:06:36.206Z] 3f3a8bcf1eab: Pull complete [2022-03-21T20:06:36.206Z] 0c92f367c5e7: Pull complete [2022-03-21T20:06:36.206Z] f7c0051592d6: Pull complete [2022-03-21T20:06:36.479Z] a227ed2f7395: Pull complete [2022-03-21T20:06:43.224Z] 7b1c46037f91: Pull complete [2022-03-21T20:06:43.224Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-21T20:06:43.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-21T20:06:43.224Z] ---> f79e39bc4007 [2022-03-21T20:06:43.224Z] Step 3/12 : ARG MAKE='make build' [2022-03-21T20:06:43.505Z] ---> Running in 18940bc1b703 [2022-03-21T20:06:43.781Z] Removing intermediate container 18940bc1b703 [2022-03-21T20:06:43.781Z] ---> 370571a723ee [2022-03-21T20:06:43.781Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-21T20:06:43.781Z] ---> Running in 8a6969d221dc [2022-03-21T20:06:44.056Z] Removing intermediate container 8a6969d221dc [2022-03-21T20:06:44.056Z] ---> 8e11df0fed5f [2022-03-21T20:06:44.056Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-21T20:06:44.056Z] ---> Running in bff474dcad69 [2022-03-21T20:06:44.339Z] Removing intermediate container bff474dcad69 [2022-03-21T20:06:44.339Z] ---> 05bb18406e3d [2022-03-21T20:06:44.339Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-21T20:06:44.617Z] ---> Running in 8396c753229f [2022-03-21T20:06:46.598Z] Removing intermediate container 8396c753229f [2022-03-21T20:06:46.598Z] ---> 5bd49519d1ae [2022-03-21T20:06:46.598Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-21T20:06:46.598Z] ---> Running in eb19e466695f [2022-03-21T20:06:47.203Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-21T20:06:48.184Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-21T20:06:49.165Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-21T20:06:49.165Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-21T20:06:49.165Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-21T20:06:49.440Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-21T20:06:49.440Z] Executing busybox-1.34.1-r3.trigger [2022-03-21T20:06:49.440Z] OK: 224 MiB in 56 packages [2022-03-21T20:06:50.427Z] Removing intermediate container eb19e466695f [2022-03-21T20:06:50.427Z] ---> 9d069d823594 [2022-03-21T20:06:50.427Z] Step 8/12 : WORKDIR /device-rest-go [2022-03-21T20:06:50.427Z] ---> Running in 71f6b69bc6c1 [2022-03-21T20:06:50.710Z] Removing intermediate container 71f6b69bc6c1 [2022-03-21T20:06:50.710Z] ---> bb1aecd577e7 [2022-03-21T20:06:50.710Z] Step 9/12 : COPY go.mod vendor* ./ [2022-03-21T20:06:51.314Z] ---> 5f355dd46b8d [2022-03-21T20:06:51.314Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-21T20:06:51.597Z] ---> Running in 66ef25b6776e [2022-03-21T20:08:13.459Z] Removing intermediate container 66ef25b6776e [2022-03-21T20:08:13.459Z] ---> 53b80f16f668 [2022-03-21T20:08:13.459Z] Step 11/12 : COPY . . [2022-03-21T20:08:13.459Z] ---> 44976580d450 [2022-03-21T20:08:13.459Z] Step 12/12 : RUN $MAKE [2022-03-21T20:08:13.459Z] ---> Running in 36eeaf4f9e7e [2022-03-21T20:08:13.459Z] noop [2022-03-21T20:08:13.459Z] Removing intermediate container 36eeaf4f9e7e [2022-03-21T20:08:13.459Z] ---> 1bf44bf9933f [2022-03-21T20:08:13.459Z] Successfully built 1bf44bf9933f [2022-03-21T20:08:13.459Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:08:13.832Z] + docker inspect -f . ci-base-image-arm64 [2022-03-21T20:08:13.832Z] . [Pipeline] withDockerContainer [2022-03-21T20:08:14.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-8449 does not seem to be running inside a container [2022-03-21T20:08:14.149Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-21T20:08:15.409Z] $ docker top 3ba99896e12690767e7abb2e9697687ac42448c921e05f9cfe42bc2f7daac4e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-21T20:08:16.351Z] + go version [2022-03-21T20:08:16.351Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-21T20:08:16.391Z] $ docker stop --time=1 3ba99896e12690767e7abb2e9697687ac42448c921e05f9cfe42bc2f7daac4e2 [2022-03-21T20:08:17.989Z] $ docker rm -f 3ba99896e12690767e7abb2e9697687ac42448c921e05f9cfe42bc2f7daac4e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:08:18.836Z] + docker inspect -f . ci-base-image-arm64 [2022-03-21T20:08:18.836Z] . [Pipeline] withDockerContainer [2022-03-21T20:08:19.098Z] prd-ubuntu20.04-docker-arm64-4c-16g-8449 does not seem to be running inside a container [2022-03-21T20:08:19.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-21T20:08:20.369Z] $ docker top 793f303e46343f5048c9310eca598b6b27d3b5c1d2b44063cc02e4435be463a4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-21T20:08:21.367Z] + make test [2022-03-21T20:08:21.367Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-21T20:08:22.810Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-03-21T20:09:09.896Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-03-21T20:09:12.523Z] ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 56.0% of statements [2022-03-21T20:09:12.523Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-21T20:09:34.735Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-21T20:09:34.736Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-21T20:09:34.736Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-21T20:09:34.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-21T20:09:34.811Z] $ docker stop --time=1 793f303e46343f5048c9310eca598b6b27d3b5c1d2b44063cc02e4435be463a4 [2022-03-21T20:09:36.591Z] $ docker rm -f 793f303e46343f5048c9310eca598b6b27d3b5c1d2b44063cc02e4435be463a4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-21T20:09:37.458Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-21T20:09:37.493Z] Warning: overwriting stash ‘coverage-report’ [2022-03-21T20:09:37.953Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-21T20:09:38.543Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-21T20:09:38.895Z] + ls -al . [2022-03-21T20:09:38.895Z] total 176 [2022-03-21T20:09:38.895Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 20:09 . [2022-03-21T20:09:38.895Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 20:05 .. [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 20:05 .dockerignore [2022-03-21T20:09:38.895Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 20:05 .git [2022-03-21T20:09:38.895Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 20:05 .github [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 20:05 .gitignore [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 7192 Mar 21 20:05 Attribution.txt [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 7459 Mar 21 20:05 CHANGELOG.md [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 1672 Mar 21 20:05 Dockerfile [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 20:05 GOVERNANCE.md [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 20:05 Jenkinsfile [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 20:05 LICENSE [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 1078 Mar 21 20:05 Makefile [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 20:05 OWNERS.md [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 8246 Mar 21 20:05 README.md [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 20:03 VERSION [2022-03-21T20:09:38.895Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 20:05 bin [2022-03-21T20:09:38.895Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 20:05 cmd [2022-03-21T20:09:38.895Z] -rw-r--r-- 1 jenkins jenkins 9215 Mar 21 20:09 coverage.out [2022-03-21T20:09:38.895Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 20:05 driver [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 2908 Mar 21 20:05 go.mod [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 50572 Mar 21 20:05 go.sum [2022-03-21T20:09:38.895Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 20:05 snap [2022-03-21T20:09:38.895Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 20:05 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:09:39.266Z] + 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=ee2e6e81ad487de87278d539e48b56c24f1169b0 --label arch=arm64 --label version=0.0.0 . [2022-03-21T20:09:39.266Z] Sending build context to Docker daemon 134.7kB [2022-03-21T20:09:39.541Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-21T20:09:39.541Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-21T20:09:39.541Z] ---> 1bf44bf9933f [2022-03-21T20:09:39.541Z] Step 3/25 : ARG MAKE='make build' [2022-03-21T20:09:39.819Z] ---> Running in 860a3c0a22c1 [2022-03-21T20:09:40.091Z] Removing intermediate container 860a3c0a22c1 [2022-03-21T20:09:40.091Z] ---> bd3cf73911bf [2022-03-21T20:09:40.091Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-21T20:09:40.091Z] ---> Running in 336e90910b21 [2022-03-21T20:09:40.366Z] Removing intermediate container 336e90910b21 [2022-03-21T20:09:40.366Z] ---> a73c40ba23a0 [2022-03-21T20:09:40.366Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-03-21T20:09:40.366Z] ---> Running in 0d548b767b03 [2022-03-21T20:09:40.644Z] Removing intermediate container 0d548b767b03 [2022-03-21T20:09:40.644Z] ---> b98d5ac863d3 [2022-03-21T20:09:40.644Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-21T20:09:40.925Z] ---> Running in cc4031505244 [2022-03-21T20:09:42.376Z] Removing intermediate container cc4031505244 [2022-03-21T20:09:42.377Z] ---> a723aa24ca53 [2022-03-21T20:09:42.377Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-21T20:09:42.377Z] ---> Running in 53392326a579 [2022-03-21T20:09:43.824Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-21T20:09:44.420Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-21T20:09:45.405Z] OK: 224 MiB in 56 packages [2022-03-21T20:09:46.011Z] Removing intermediate container 53392326a579 [2022-03-21T20:09:46.011Z] ---> 2a0f582c8c3a [2022-03-21T20:09:46.011Z] Step 8/25 : WORKDIR /device-rest-go [2022-03-21T20:09:46.011Z] ---> Running in cecbf9d329e7 [2022-03-21T20:09:46.288Z] Removing intermediate container cecbf9d329e7 [2022-03-21T20:09:46.288Z] ---> 3499e65b41b6 [2022-03-21T20:09:46.288Z] Step 9/25 : COPY go.mod vendor* ./ [2022-03-21T20:09:46.886Z] ---> 8f035e39a5e1 [2022-03-21T20:09:46.886Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-21T20:09:46.886Z] ---> Running in cda8a41bb5fd [2022-03-21T20:09:49.520Z] Removing intermediate container cda8a41bb5fd [2022-03-21T20:09:49.520Z] ---> 4daba6715e94 [2022-03-21T20:09:49.520Z] Step 11/25 : COPY . . [2022-03-21T20:09:49.520Z] ---> 2b50b3dda29d [2022-03-21T20:09:49.520Z] Step 12/25 : RUN $MAKE [2022-03-21T20:09:49.796Z] ---> Running in 25cdb1c38ab6 [2022-03-21T20:09:50.796Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-03-21T20:10:37.847Z] Removing intermediate container 25cdb1c38ab6 [2022-03-21T20:10:37.847Z] ---> b0f503cc4c4d [2022-03-21T20:10:37.847Z] Step 13/25 : FROM alpine:3.14 [2022-03-21T20:10:37.847Z] 3.14: Pulling from library/alpine [2022-03-21T20:10:37.847Z] 93a1719cf261: Pulling fs layer [2022-03-21T20:10:37.847Z] 93a1719cf261: Verifying Checksum [2022-03-21T20:10:37.847Z] 93a1719cf261: Download complete [2022-03-21T20:10:37.847Z] 93a1719cf261: Pull complete [2022-03-21T20:10:37.847Z] Digest: sha256:beca83085fd7f5b2a2cc457ddb2ed180c090c13ad7e806530e4ef578cb5cfe7b [2022-03-21T20:10:37.847Z] Status: Downloaded newer image for alpine:3.14 [2022-03-21T20:10:37.847Z] ---> 71a2028e5025 [2022-03-21T20:10:37.847Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-03-21T20:10:37.847Z] ---> Running in ca7bfd3be864 [2022-03-21T20:10:37.847Z] Removing intermediate container ca7bfd3be864 [2022-03-21T20:10:37.847Z] ---> 376d3005d7a1 [2022-03-21T20:10:37.847Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-03-21T20:10:37.847Z] ---> Running in f912107655b3 [2022-03-21T20:10:37.847Z] Removing intermediate container f912107655b3 [2022-03-21T20:10:37.847Z] ---> 9da17b84e4bc [2022-03-21T20:10:37.847Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-21T20:10:37.847Z] ---> Running in c02cc7357965 [2022-03-21T20:10:37.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-21T20:10:37.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-21T20:10:37.847Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-21T20:10:37.847Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-21T20:10:37.847Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-21T20:10:37.847Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-21T20:10:37.847Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-21T20:10:37.847Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-21T20:10:37.847Z] Executing busybox-1.33.1-r6.trigger [2022-03-21T20:10:37.847Z] OK: 8 MiB in 20 packages [2022-03-21T20:10:37.847Z] Removing intermediate container c02cc7357965 [2022-03-21T20:10:37.847Z] ---> 4363c1da8f65 [2022-03-21T20:10:37.847Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-03-21T20:10:37.847Z] ---> 35abedf12ece [2022-03-21T20:10:37.847Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-03-21T20:10:37.847Z] ---> dd5f820a9057 [2022-03-21T20:10:37.847Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-03-21T20:10:37.847Z] ---> 729f3398fe3d [2022-03-21T20:10:37.847Z] Step 20/25 : EXPOSE 59986 [2022-03-21T20:10:38.127Z] ---> Running in 8aafaae8eda0 [2022-03-21T20:10:38.402Z] Removing intermediate container 8aafaae8eda0 [2022-03-21T20:10:38.402Z] ---> 630941308148 [2022-03-21T20:10:38.402Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-03-21T20:10:38.402Z] ---> Running in adfa20b33b17 [2022-03-21T20:10:38.689Z] Removing intermediate container adfa20b33b17 [2022-03-21T20:10:38.689Z] ---> e0983c39109f [2022-03-21T20:10:38.689Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-03-21T20:10:38.689Z] ---> Running in 014f114a53a7 [2022-03-21T20:10:39.289Z] Removing intermediate container 014f114a53a7 [2022-03-21T20:10:39.289Z] ---> 235ead93a03d [2022-03-21T20:10:39.289Z] Step 23/25 : LABEL arch=arm64 [2022-03-21T20:10:39.289Z] ---> Running in 343d71b84dfe [2022-03-21T20:10:39.564Z] Removing intermediate container 343d71b84dfe [2022-03-21T20:10:39.564Z] ---> 04b0bb91c926 [2022-03-21T20:10:39.564Z] Step 24/25 : LABEL git_sha=ee2e6e81ad487de87278d539e48b56c24f1169b0 [2022-03-21T20:10:39.564Z] ---> Running in e5f80a8b1b09 [2022-03-21T20:10:39.841Z] Removing intermediate container e5f80a8b1b09 [2022-03-21T20:10:39.841Z] ---> 0fa4b2098160 [2022-03-21T20:10:39.841Z] Step 25/25 : LABEL version=0.0.0 [2022-03-21T20:10:40.114Z] ---> Running in f68b48b25bc1 [2022-03-21T20:10:40.388Z] Removing intermediate container f68b48b25bc1 [2022-03-21T20:10:40.388Z] ---> be250655ce5c [2022-03-21T20:10:40.388Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-21T20:10:40.388Z] Successfully built be250655ce5c [2022-03-21T20:10:40.388Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:10:41.075Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-21T20:10:41.075Z] [2022-03-21T20:10:41.075Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:10:41.466Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-21T20:10:41.744Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-21T20:10:41.745Z] 8998bd30e6a1: Pulling fs layer [2022-03-21T20:10:41.745Z] 04944245beec: Pulling fs layer [2022-03-21T20:10:41.745Z] 699f458cf7ca: Pulling fs layer [2022-03-21T20:10:41.745Z] 765212b225bb: Pulling fs layer [2022-03-21T20:10:41.745Z] f23df028b6ca: Pulling fs layer [2022-03-21T20:10:41.745Z] d65c8cfc05b1: Pulling fs layer [2022-03-21T20:10:41.745Z] 2437ff75d9bd: Pulling fs layer [2022-03-21T20:10:41.745Z] f23df028b6ca: Waiting [2022-03-21T20:10:41.745Z] d65c8cfc05b1: Waiting [2022-03-21T20:10:41.745Z] 2437ff75d9bd: Waiting [2022-03-21T20:10:41.745Z] 765212b225bb: Waiting [2022-03-21T20:10:41.745Z] 04944245beec: Verifying Checksum [2022-03-21T20:10:41.745Z] 04944245beec: Download complete [2022-03-21T20:10:41.745Z] 765212b225bb: Verifying Checksum [2022-03-21T20:10:41.745Z] 765212b225bb: Download complete [2022-03-21T20:10:41.745Z] f23df028b6ca: Download complete [2022-03-21T20:10:41.745Z] d65c8cfc05b1: Verifying Checksum [2022-03-21T20:10:41.745Z] d65c8cfc05b1: Download complete [2022-03-21T20:10:42.021Z] 699f458cf7ca: Verifying Checksum [2022-03-21T20:10:42.021Z] 699f458cf7ca: Download complete [2022-03-21T20:10:42.301Z] 8998bd30e6a1: Verifying Checksum [2022-03-21T20:10:42.301Z] 8998bd30e6a1: Download complete [2022-03-21T20:10:44.928Z] 2437ff75d9bd: Verifying Checksum [2022-03-21T20:10:44.928Z] 2437ff75d9bd: Download complete [2022-03-21T20:10:46.370Z] 8998bd30e6a1: Pull complete [2022-03-21T20:10:46.976Z] 04944245beec: Pull complete [2022-03-21T20:10:48.420Z] 699f458cf7ca: Pull complete [2022-03-21T20:10:48.696Z] 765212b225bb: Pull complete [2022-03-21T20:10:49.685Z] f23df028b6ca: Pull complete [2022-03-21T20:10:49.962Z] d65c8cfc05b1: Pull complete [2022-03-21T20:11:05.074Z] 2437ff75d9bd: Pull complete [2022-03-21T20:11:05.074Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-21T20:11:05.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-21T20:11:05.074Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-21T20:11:05.317Z] prd-ubuntu20.04-docker-arm64-4c-16g-8449 does not seem to be running inside a container [2022-03-21T20:11:05.413Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-21T20:11:07.918Z] $ docker top 411f96ffe5a8a49e407e391d58adcf88af979d80e25debbc8bd0231a47e766cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:11:08.893Z] ---> job-cost.sh [2022-03-21T20:11:08.893Z] lf-activate-venv: SKIPPING [2022-03-21T20:11:08.893Z] INFO: No Stack... [2022-03-21T20:11:09.165Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-21T20:11:10.145Z] INFO: Archiving Costs [Pipeline] sh [2022-03-21T20:11:10.834Z] + cut -d, -f6 [2022-03-21T20:11:10.834Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-03-21T20:11:10.923Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] [2022-03-21T20:11:10.929Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] did not exist. Created. [2022-03-21T20:11:10.929Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-21T20:11:11.690Z] /w/workspace/device-rest-go/1@tmp/durable-617fc4f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-21T20:11:12.409Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-21T20:11:12.445Z] Warning: overwriting stash ‘stack-cost’ [2022-03-21T20:11:12.490Z] Stashed 1 file(s) [Pipeline] } [2022-03-21T20:11:12.505Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-161-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-21T20:11:12.588Z] $ docker stop --time=1 411f96ffe5a8a49e407e391d58adcf88af979d80e25debbc8bd0231a47e766cf [2022-03-21T20:11:14.102Z] $ docker rm -f 411f96ffe5a8a49e407e391d58adcf88af979d80e25debbc8bd0231a47e766cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-03-21T20:11:15.074Z] provisioning config files... [2022-03-21T20:11:15.084Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-161@tmp/config3723478137111141181tmp [Pipeline] { [Pipeline] sh [2022-03-21T20:11:15.417Z] + set +x [2022-03-21T20:11:15.417Z] + curl -s https://codecov.io/bash [2022-03-21T20:11:15.417Z] + bash -s -- [2022-03-21T20:11:15.417Z] [2022-03-21T20:11:15.417Z] _____ _ [2022-03-21T20:11:15.417Z] / ____| | | [2022-03-21T20:11:15.417Z] | | ___ __| | ___ ___ _____ __ [2022-03-21T20:11:15.417Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-21T20:11:15.417Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-21T20:11:15.417Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-21T20:11:15.417Z] Bash-1.0.6 [2022-03-21T20:11:15.417Z] [2022-03-21T20:11:15.417Z] [2022-03-21T20:11:15.417Z] ==> git version 2.25.1 found [2022-03-21T20:11:15.417Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-03-21T20:11:15.417Z] Release-Date: 2020-01-08 [2022-03-21T20:11:15.417Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-03-21T20:11:15.417Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-21T20:11:15.417Z] ==> Jenkins CI detected. [2022-03-21T20:11:15.417Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-161 [2022-03-21T20:11:15.417Z] project root: . [2022-03-21T20:11:15.417Z] --> token set from env [2022-03-21T20:11:15.417Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-21T20:11:15.417Z] ==> Running gcov in . (disable via -X gcov) [2022-03-21T20:11:15.417Z] ==> Python coveragepy not found [2022-03-21T20:11:15.417Z] ==> Searching for coverage reports in: [2022-03-21T20:11:15.417Z] + . [2022-03-21T20:11:15.417Z] -> Found 1 reports [2022-03-21T20:11:15.417Z] ==> Detecting git/mercurial file structure [2022-03-21T20:11:15.417Z] ==> Reading reports [2022-03-21T20:11:15.417Z] + ./coverage.out bytes=9215 [2022-03-21T20:11:15.678Z] ==> Appending adjustments [2022-03-21T20:11:15.679Z] https://docs.codecov.io/docs/fixing-reports [2022-03-21T20:11:15.679Z] + Found adjustments [2022-03-21T20:11:15.679Z] ==> Gzipping contents [2022-03-21T20:11:15.679Z] 4.0K /tmp/codecov.weeOd5.gz [2022-03-21T20:11:15.679Z] ==> Uploading reports [2022-03-21T20:11:15.679Z] url: https://codecov.io [2022-03-21T20:11:15.679Z] query: branch=PR-161&commit=ee2e6e81ad487de87278d539e48b56c24f1169b0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-161%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-03-21T20:11:15.679Z] -> Pinging Codecov [2022-03-21T20:11:15.679Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-161&commit=ee2e6e81ad487de87278d539e48b56c24f1169b0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-161%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=161&job=&cmd_args= [2022-03-21T20:11:15.940Z] -> Uploading to [2022-03-21T20:11:15.940Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-21/4E5D53B4F1F92C436F7061BF334D961C/ee2e6e81ad487de87278d539e48b56c24f1169b0/cfef7cc1-8d95-4818-9b00-25c98a181551.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220321T201115Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=02ba0536fb2791a2e78210307d611c87b73dd578c43f08d9042a64656b18068e [2022-03-21T20:11:15.940Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-21T20:11:15.940Z] Dload Upload Total Spent Left Speed [2022-03-21T20:11:16.202Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1798 0 0 100 1798 0 6996 --:--:-- --:--:-- --:--:-- 6996 [2022-03-21T20:11:16.202Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ee2e6e81ad487de87278d539e48b56c24f1169b0 [Pipeline] } [2022-03-21T20:11:16.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-03-21T20:11:17.978Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-161/archives ] [2022-03-21T20:11:17.979Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-161/archives [2022-03-21T20:11:17.979Z] total 16 [2022-03-21T20:11:17.979Z] drwxr-xr-x 3 root root 4096 Mar 21 20:05 . [2022-03-21T20:11:17.979Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 20:05 .. [2022-03-21T20:11:17.979Z] drwxr-xr-x 2 root root 4096 Mar 21 20:05 cost [2022-03-21T20:11:17.979Z] -rw-r--r-- 1 root root 85 Mar 21 20:05 cost.csv [2022-03-21T20:11:17.979Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-161/archives [2022-03-21T20:11:17.979Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-161/archives [2022-03-21T20:11:17.979Z] total 16 [2022-03-21T20:11:17.979Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 20:05 . [2022-03-21T20:11:17.979Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 20:05 .. [2022-03-21T20:11:17.979Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 20:05 cost [2022-03-21T20:11:17.979Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 21 20:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:11:18.357Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:11:19.276Z] ---> package-listing.sh [2022-03-21T20:11:19.276Z] ++ facter osfamily [2022-03-21T20:11:19.276Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-21T20:11:19.540Z] + OS_FAMILY=debian [2022-03-21T20:11:19.540Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-161 [2022-03-21T20:11:19.540Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-21T20:11:19.540Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-21T20:11:19.540Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-21T20:11:19.540Z] + PACKAGES=/tmp/packages_start.txt [2022-03-21T20:11:19.540Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-161 ']' [2022-03-21T20:11:19.540Z] + PACKAGES=/tmp/packages_end.txt [2022-03-21T20:11:19.540Z] + case "${OS_FAMILY}" in [2022-03-21T20:11:19.540Z] + dpkg -l [2022-03-21T20:11:19.540Z] + grep '^ii' [2022-03-21T20:11:19.540Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-21T20:11:19.540Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-21T20:11:19.540Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-21T20:11:19.540Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-161 ']' [2022-03-21T20:11:19.540Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-161/archives/ [2022-03-21T20:11:19.540Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-161/archives/ [Pipeline] echo [2022-03-21T20:11:19.571Z] 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-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-21T20:11:19.870Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-21T20:11:20.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T20:11:20.462Z] . [Pipeline] withDockerContainer [2022-03-21T20:11:20.545Z] prd-ubuntu20.04-docker-8c-8g-8447 does not seem to be running inside a container [2022-03-21T20:11:20.588Z] $ 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-161/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-161 -v /w/workspace/gexfoundry_device-rest-go_PR-161:/w/workspace/gexfoundry_device-rest-go_PR-161:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-161@tmp:/w/workspace/gexfoundry_device-rest-go_PR-161@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-03-21T20:11:20.820Z] $ docker top c3ca16ee1d9bacd5c363fa14c80895ebef97a878d1ef8ec7c7579e0352f69977 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-21T20:11:21.213Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-21T20:11:21.524Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-21T20:11:21.837Z] + ls /var/log/sa-host [2022-03-21T20:11:21.837Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T20:11:22.100Z] provisioning config files... [2022-03-21T20:11:22.111Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-161@tmp/config5389637082269729317tmp [Pipeline] { [Pipeline] echo [2022-03-21T20:11:22.156Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:11:22.472Z] ---> create-netrc.sh [Pipeline] } [2022-03-21T20:11:22.496Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:11:22.904Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-21T20:11:22.935Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:11:23.251Z] ---> sudo-logs.sh [2022-03-21T20:11:23.251Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-21T20:11:23.330Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:11:23.650Z] ---> job-cost.sh [2022-03-21T20:11:23.650Z] lf-activate-venv: SKIPPING [2022-03-21T20:11:23.650Z] DEBUG: total: 0.2199999988079071 [2022-03-21T20:11:23.650Z] INFO: Retrieving Stack Cost... [2022-03-21T20:11:23.910Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-21T20:11:24.480Z] INFO: Archiving Costs [Pipeline] echo [2022-03-21T20:11:24.513Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T20:11:24.833Z] ---> logs-deploy.sh [2022-03-21T20:11:24.834Z] lf-activate-venv: SKIPPING [2022-03-21T20:11:24.834Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-161/1 [2022-03-21T20:11:24.834Z] INFO: archiving workspace using pattern(s): [2022-03-21T20:11:25.773Z] Archives upload complete. [2022-03-21T20:11:25.773Z] INFO: archiving logs to Nexus