Pull request #175 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e+238d080d640a7e3d9ba0ccf186e4988c74ba76ef (2a29b65d64b84f5f7931107ba81d3248c307b174) 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-ssh12997645781219174913.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-ssh15988251360778133430.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-175/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-175/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14532274731242784480.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-175/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16299800939660293643.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-ssh5188486291216475609.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-175/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-175/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16133363465256802572.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-21239 in /w/workspace/gexfoundry_device-rest-go_PR-175 [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-175 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e Merge succeeded, producing 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e Checking out Revision 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e (PR-175) > 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/175/head:refs/remotes/origin/PR-175 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-18T20:06:19.661Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-18T20:06:19.813Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-18T20:06:19.895Z] ========================================================= [2022-04-18T20:06:19.895Z] EdgeX Global Pipelines Version Info [2022-04-18T20:06:19.895Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-18T20:06:20.683Z] ------------------- [2022-04-18T20:06:20.683Z] stable info: [2022-04-18T20:06:20.683Z] ------------------- [2022-04-18T20:06:20.683Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-18T20:06:20.683Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-18T20:06:20.683Z] Message: update stable to v1.0.221 [2022-04-18T20:06:21.259Z] ------------------- [2022-04-18T20:06:21.259Z] experimental info: [2022-04-18T20:06:21.259Z] ------------------- [2022-04-18T20:06:21.259Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-18T20:06:21.259Z] Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d [2022-04-18T20:06:21.259Z] Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-18T20:06:21.519Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-04-18T20:06:21.560Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-04-18T20:06:21.597Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-18T20:06:21.633Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-18T20:06:21.670Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-18T20:06:21.709Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-18T20:06:21.745Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-18T20:06:21.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-18T20:06:21.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-18T20:06:21.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-18T20:06:21.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-18T20:06:21.935Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-04-18T20:06:21.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-18T20:06:22.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-18T20:06:22.057Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-18T20:06:22.100Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-18T20:06:22.140Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-18T20:06:22.177Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-18T20:06:22.213Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-18T20:06:22.254Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-18T20:06:22.296Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-18T20:06:22.340Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-18T20:06:22.381Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-18T20:06:22.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-18T20:06:22.456Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-18T20:06:22.491Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-18T20:06:22.529Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-175 [Pipeline] echo [2022-04-18T20:06:22.566Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-175 [Pipeline] echo [2022-04-18T20:06:22.601Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-175 [Pipeline] echo [2022-04-18T20:06:22.638Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [Pipeline] echo [2022-04-18T20:06:22.676Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8dfa2f0 [Pipeline] echo [2022-04-18T20:06:22.713Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-18T20:06:22.815Z] provisioning config files... [2022-04-18T20:06:22.829Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-175@tmp/config2336469674572051955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T20:06:23.180Z] ---> docker-login.sh [2022-04-18T20:06:23.180Z] nexus3.edgexfoundry.org:10001 [2022-04-18T20:06:23.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:06:23.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:06:23.443Z] Configure a credential helper to remove this warning. See [2022-04-18T20:06:23.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:06:23.443Z] [2022-04-18T20:06:23.443Z] Login Succeeded [2022-04-18T20:06:23.443Z] nexus3.edgexfoundry.org:10002 [2022-04-18T20:06:23.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:06:23.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:06:23.705Z] Configure a credential helper to remove this warning. See [2022-04-18T20:06:23.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:06:23.705Z] [2022-04-18T20:06:23.705Z] Login Succeeded [2022-04-18T20:06:23.705Z] nexus3.edgexfoundry.org:10003 [2022-04-18T20:06:23.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:06:23.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:06:23.969Z] Configure a credential helper to remove this warning. See [2022-04-18T20:06:23.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:06:23.969Z] [2022-04-18T20:06:23.969Z] Login Succeeded [2022-04-18T20:06:23.969Z] nexus3.edgexfoundry.org:10004 [2022-04-18T20:06:23.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:06:23.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:06:23.969Z] Configure a credential helper to remove this warning. See [2022-04-18T20:06:23.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:06:23.969Z] [2022-04-18T20:06:23.969Z] Login Succeeded [2022-04-18T20:06:23.969Z] docker.io [2022-04-18T20:06:23.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:06:24.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:06:24.541Z] Configure a credential helper to remove this warning. See [2022-04-18T20:06:24.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:06:24.541Z] [2022-04-18T20:06:24.541Z] Login Succeeded [2022-04-18T20:06:24.541Z] ---> docker-login.sh ends [Pipeline] } [2022-04-18T20:06:24.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-18T20:06:25.196Z] + git rev-list -1 --merges 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e~1..8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [Pipeline] echo [2022-04-18T20:06:25.333Z] -----------> git rev-list -1 --merges 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e~1..8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [false] [Pipeline] sh [2022-04-18T20:06:25.646Z] + git log --format=format:%s -1 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [Pipeline] echo [2022-04-18T20:06:25.683Z] ========================================================= [2022-04-18T20:06:25.683Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-18T20:06:25.683Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-18T20:06:26.129Z] + git log --format=format:%s -1 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [Pipeline] echo [2022-04-18T20:06:26.161Z] [semverPrep] GIT_COMMIT: 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-04-18T20:06:26.192Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-18T20:06:26.656Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-18T20:06:26.656Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-18T20:06:26.656Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-18T20:06:26.656Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-18T20:06:26.656Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-18T20:06:26.656Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-18T20:06:26.656Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:06:27.109Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-18T20:06:27.109Z] [2022-04-18T20:06:27.109Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:06:27.463Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-18T20:06:27.463Z] latest: Pulling from edgex-devops/git-semver [2022-04-18T20:06:27.463Z] a0d0a0d46f8b: Pulling fs layer [2022-04-18T20:06:27.463Z] 3e5f54012d9b: Pulling fs layer [2022-04-18T20:06:27.463Z] 4c7163046ea9: Pulling fs layer [2022-04-18T20:06:27.463Z] 0c2d73faf560: Pulling fs layer [2022-04-18T20:06:27.463Z] 0c2d73faf560: Waiting [2022-04-18T20:06:27.463Z] 3e5f54012d9b: Verifying Checksum [2022-04-18T20:06:27.463Z] 3e5f54012d9b: Download complete [2022-04-18T20:06:27.463Z] a0d0a0d46f8b: Verifying Checksum [2022-04-18T20:06:27.463Z] a0d0a0d46f8b: Download complete [2022-04-18T20:06:27.742Z] 0c2d73faf560: Verifying Checksum [2022-04-18T20:06:27.742Z] 0c2d73faf560: Download complete [2022-04-18T20:06:27.742Z] 4c7163046ea9: Verifying Checksum [2022-04-18T20:06:27.742Z] 4c7163046ea9: Download complete [2022-04-18T20:06:27.742Z] a0d0a0d46f8b: Pull complete [2022-04-18T20:06:27.742Z] 3e5f54012d9b: Pull complete [2022-04-18T20:06:28.003Z] 4c7163046ea9: Pull complete [2022-04-18T20:06:28.268Z] 0c2d73faf560: Pull complete [2022-04-18T20:06:28.268Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-18T20:06:28.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-18T20:06:28.268Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-18T20:06:28.382Z] prd-ubuntu20.04-docker-8c-8g-21239 does not seem to be running inside a container [2022-04-18T20:06:28.430Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-175 -v /w/workspace/gexfoundry_device-rest-go_PR-175:/w/workspace/gexfoundry_device-rest-go_PR-175:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-175@tmp:/w/workspace/gexfoundry_device-rest-go_PR-175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-18T20:06:29.326Z] $ docker top 14b01adf6bcfadf2256b7e17d076c32be41bb34c3289ce83ffc6c8c2383db7bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-18T20:06:29.521Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-18T20:06:29.521Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-18T20:06:29.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-18T20:06:29.669Z] $ docker exec 14b01adf6bcfadf2256b7e17d076c32be41bb34c3289ce83ffc6c8c2383db7bf ssh-agent [2022-04-18T20:06:29.800Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBbcjiG/agent.13 [2022-04-18T20:06:29.800Z] SSH_AGENT_PID=20 [2022-04-18T20:06:29.810Z] Running ssh-add (command line suppressed) [2022-04-18T20:06:29.957Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-175@tmp/private_key_2634871448975489246.key (/w/workspace/gexfoundry_device-rest-go_PR-175@tmp/private_key_2634871448975489246.key) [2022-04-18T20:06:29.979Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-18T20:06:30.323Z] + git tag --points-at HEAD [Pipeline] } [2022-04-18T20:06:30.352Z] $ docker exec --env ******** --env ******** 14b01adf6bcfadf2256b7e17d076c32be41bb34c3289ce83ffc6c8c2383db7bf ssh-agent -k [2022-04-18T20:06:30.477Z] unset SSH_AUTH_SOCK; [2022-04-18T20:06:30.477Z] unset SSH_AGENT_PID; [2022-04-18T20:06:30.477Z] echo Agent pid 20 killed; [2022-04-18T20:06:30.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-18T20:06:30.575Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-18T20:06:30.576Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-18T20:06:30.724Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-18T20:06:30.733Z] $ docker exec 14b01adf6bcfadf2256b7e17d076c32be41bb34c3289ce83ffc6c8c2383db7bf ssh-agent [2022-04-18T20:06:30.863Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkblphM/agent.54 [2022-04-18T20:06:30.863Z] SSH_AGENT_PID=61 [2022-04-18T20:06:30.869Z] Running ssh-add (command line suppressed) [2022-04-18T20:06:30.991Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-175@tmp/private_key_3077296900524336492.key (/w/workspace/gexfoundry_device-rest-go_PR-175@tmp/private_key_3077296900524336492.key) [2022-04-18T20:06:31.002Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-18T20:06:31.334Z] + git semver init [2022-04-18T20:06:31.334Z] # -> Open(): unable to determine branch for HEAD [2022-04-18T20:06:31.334Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-175/.git [2022-04-18T20:06:31.334Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-175 [2022-04-18T20:06:31.334Z] # $SEMVER_REMOTE_NAME = origin [2022-04-18T20:06:31.334Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-18T20:06:31.334Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-18T20:06:31.334Z] # $SEMVER_BRANCH = PR-175 [2022-04-18T20:06:31.334Z] # $SEMVER_TEMP = /tmp/semver-175888154 [2022-04-18T20:06:31.334Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-04-18T20:06:32.721Z] # '/tmp/semver-175888154' -> '/w/workspace/gexfoundry_device-rest-go_PR-175/.semver' [2022-04-18T20:06:32.721Z] # -> Force: false [2022-04-18T20:06:32.721Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-175/.semver [Pipeline] } [2022-04-18T20:06:32.754Z] $ docker exec --env ******** --env ******** 14b01adf6bcfadf2256b7e17d076c32be41bb34c3289ce83ffc6c8c2383db7bf ssh-agent -k [2022-04-18T20:06:32.865Z] unset SSH_AUTH_SOCK; [2022-04-18T20:06:32.865Z] unset SSH_AGENT_PID; [2022-04-18T20:06:32.865Z] echo Agent pid 61 killed; [2022-04-18T20:06:32.872Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-18T20:06:33.291Z] + git semver [Pipeline] } [2022-04-18T20:06:33.326Z] $ docker stop --time=1 14b01adf6bcfadf2256b7e17d076c32be41bb34c3289ce83ffc6c8c2383db7bf [2022-04-18T20:06:34.725Z] $ docker rm -f 14b01adf6bcfadf2256b7e17d076c32be41bb34c3289ce83ffc6c8c2383db7bf [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-18T20:06:35.149Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-18T20:06:35.465Z] Stashed 1 file(s) [Pipeline] echo [2022-04-18T20:06:35.482Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-18T20:06:36.041Z] provisioning config files... [2022-04-18T20:06:36.052Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-175@tmp/config1127422855713277656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T20:06:36.417Z] ---> docker-login.sh [2022-04-18T20:06:36.417Z] nexus3.edgexfoundry.org:10001 [2022-04-18T20:06:36.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:06:36.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:06:36.417Z] Configure a credential helper to remove this warning. See [2022-04-18T20:06:36.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:06:36.417Z] [2022-04-18T20:06:36.417Z] Login Succeeded [2022-04-18T20:06:36.417Z] nexus3.edgexfoundry.org:10002 [2022-04-18T20:06:36.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:06:36.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:06:36.679Z] Configure a credential helper to remove this warning. See [2022-04-18T20:06:36.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:06:36.679Z] [2022-04-18T20:06:36.679Z] Login Succeeded [2022-04-18T20:06:36.679Z] nexus3.edgexfoundry.org:10003 [2022-04-18T20:06:36.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:06:36.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:06:36.679Z] Configure a credential helper to remove this warning. See [2022-04-18T20:06:36.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:06:36.679Z] [2022-04-18T20:06:36.679Z] Login Succeeded [2022-04-18T20:06:36.679Z] nexus3.edgexfoundry.org:10004 [2022-04-18T20:06:36.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:06:36.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:06:36.940Z] Configure a credential helper to remove this warning. See [2022-04-18T20:06:36.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:06:36.940Z] [2022-04-18T20:06:36.940Z] Login Succeeded [2022-04-18T20:06:36.940Z] docker.io [2022-04-18T20:06:36.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:06:37.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:06:37.200Z] Configure a credential helper to remove this warning. See [2022-04-18T20:06:37.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:06:37.200Z] [2022-04-18T20:06:37.200Z] Login Succeeded [2022-04-18T20:06:37.200Z] ---> docker-login.sh ends [Pipeline] } [2022-04-18T20:06:37.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-18T20:06:37.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-18T20:06:37.453Z] ========================================================= [2022-04-18T20:06:37.453Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-18T20:06:37.453Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:06:37.859Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-18T20:06:37.859Z] Sending build context to Docker daemon 10.58MB [2022-04-18T20:06:37.859Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-18T20:06:37.859Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-18T20:06:37.859Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-18T20:06:37.859Z] 59bf1c3509f3: Pulling fs layer [2022-04-18T20:06:37.859Z] 666ba61612fd: Pulling fs layer [2022-04-18T20:06:37.859Z] 8ed8ca486205: Pulling fs layer [2022-04-18T20:06:37.859Z] 4fe6c5a15a65: Pulling fs layer [2022-04-18T20:06:37.859Z] 22a0e8bec74d: Pulling fs layer [2022-04-18T20:06:37.859Z] 640e595b4fbd: Pulling fs layer [2022-04-18T20:06:37.859Z] 763cafe07f6e: Pulling fs layer [2022-04-18T20:06:37.859Z] 0c0b528cf693: Pulling fs layer [2022-04-18T20:06:37.859Z] 4fe6c5a15a65: Waiting [2022-04-18T20:06:37.859Z] 10935f4eaf8b: Pulling fs layer [2022-04-18T20:06:37.859Z] 763cafe07f6e: Waiting [2022-04-18T20:06:37.859Z] 0c0b528cf693: Waiting [2022-04-18T20:06:37.859Z] 22a0e8bec74d: Waiting [2022-04-18T20:06:38.119Z] 8ed8ca486205: Verifying Checksum [2022-04-18T20:06:38.119Z] 8ed8ca486205: Download complete [2022-04-18T20:06:38.119Z] 666ba61612fd: Download complete [2022-04-18T20:06:38.119Z] 22a0e8bec74d: Verifying Checksum [2022-04-18T20:06:38.119Z] 640e595b4fbd: Download complete [2022-04-18T20:06:38.119Z] 59bf1c3509f3: Verifying Checksum [2022-04-18T20:06:38.119Z] 59bf1c3509f3: Download complete [2022-04-18T20:06:38.119Z] 763cafe07f6e: Download complete [2022-04-18T20:06:38.119Z] 0c0b528cf693: Verifying Checksum [2022-04-18T20:06:38.119Z] 0c0b528cf693: Download complete [2022-04-18T20:06:38.119Z] 59bf1c3509f3: Pull complete [2022-04-18T20:06:38.384Z] 666ba61612fd: Pull complete [2022-04-18T20:06:38.384Z] 8ed8ca486205: Pull complete [2022-04-18T20:06:38.645Z] 10935f4eaf8b: Verifying Checksum [2022-04-18T20:06:38.645Z] 10935f4eaf8b: Download complete [2022-04-18T20:06:38.908Z] 4fe6c5a15a65: Verifying Checksum [2022-04-18T20:06:38.908Z] 4fe6c5a15a65: Download complete [2022-04-18T20:06:42.198Z] 4fe6c5a15a65: Pull complete [2022-04-18T20:06:42.458Z] 22a0e8bec74d: Pull complete [2022-04-18T20:06:42.458Z] 640e595b4fbd: Pull complete [2022-04-18T20:06:42.719Z] 763cafe07f6e: Pull complete [2022-04-18T20:06:42.719Z] 0c0b528cf693: Pull complete [2022-04-18T20:06:45.261Z] 10935f4eaf8b: Pull complete [2022-04-18T20:06:45.261Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-18T20:06:45.261Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-18T20:06:45.261Z] ---> 99d49a6021b9 [2022-04-18T20:06:45.261Z] Step 3/12 : ARG MAKE='make build' [2022-04-18T20:06:46.650Z] ---> Running in cbeca86fd091 [2022-04-18T20:06:46.650Z] Removing intermediate container cbeca86fd091 [2022-04-18T20:06:46.650Z] ---> 1fe714a41056 [2022-04-18T20:06:46.650Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-18T20:06:46.650Z] ---> Running in 780e034346cb [2022-04-18T20:06:46.650Z] Removing intermediate container 780e034346cb [2022-04-18T20:06:46.650Z] ---> 5ec1ea919a07 [2022-04-18T20:06:46.650Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-18T20:06:46.650Z] ---> Running in dcc4269c88b4 [2022-04-18T20:06:46.910Z] Removing intermediate container dcc4269c88b4 [2022-04-18T20:06:46.910Z] ---> b98319a70b01 [2022-04-18T20:06:46.910Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T20:06:46.910Z] ---> Running in 8665dcc72736 [2022-04-18T20:06:47.480Z] Removing intermediate container 8665dcc72736 [2022-04-18T20:06:47.480Z] ---> 7e5203a2c0fb [2022-04-18T20:06:47.480Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-18T20:06:47.480Z] ---> Running in 8c96bd17b079 [2022-04-18T20:06:47.741Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-18T20:06:49.124Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-18T20:06:49.124Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-18T20:06:49.124Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-18T20:06:49.384Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-18T20:06:49.384Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-18T20:06:49.645Z] Executing busybox-1.34.1-r3.trigger [2022-04-18T20:06:49.645Z] OK: 224 MiB in 56 packages [2022-04-18T20:06:49.906Z] Removing intermediate container 8c96bd17b079 [2022-04-18T20:06:49.906Z] ---> 278d34cc91ca [2022-04-18T20:06:49.906Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-18T20:06:49.906Z] ---> Running in 67e7cff9a236 [2022-04-18T20:06:50.167Z] Removing intermediate container 67e7cff9a236 [2022-04-18T20:06:50.168Z] ---> 890686bb9db4 [2022-04-18T20:06:50.168Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-18T20:06:50.168Z] ---> 2db4798d19cb [2022-04-18T20:06:50.168Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-18T20:06:50.168Z] ---> Running in 16b45576747d [2022-04-18T20:06:50.867Z] Still waiting to schedule task [2022-04-18T20:06:50.867Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-18T20:07:08.289Z] Removing intermediate container 16b45576747d [2022-04-18T20:07:08.289Z] ---> 54516ff0a866 [2022-04-18T20:07:08.289Z] Step 11/12 : COPY . . [2022-04-18T20:07:08.289Z] ---> d623fd82e7a5 [2022-04-18T20:07:08.289Z] Step 12/12 : RUN $MAKE [2022-04-18T20:07:08.289Z] ---> Running in 180bfd7cc4cb [2022-04-18T20:07:08.289Z] noop [2022-04-18T20:07:08.289Z] Removing intermediate container 180bfd7cc4cb [2022-04-18T20:07:08.289Z] ---> 88dd134537a5 [2022-04-18T20:07:08.289Z] Successfully built 88dd134537a5 [2022-04-18T20:07:08.289Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:07:08.622Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-18T20:07:08.622Z] . [Pipeline] withDockerContainer [2022-04-18T20:07:08.714Z] prd-ubuntu20.04-docker-8c-8g-21239 does not seem to be running inside a container [2022-04-18T20:07:08.755Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-175 -v /w/workspace/gexfoundry_device-rest-go_PR-175:/w/workspace/gexfoundry_device-rest-go_PR-175:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-175@tmp:/w/workspace/gexfoundry_device-rest-go_PR-175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-18T20:07:09.175Z] $ docker top 66d4e6dde721ffed5a72a6f2f66bec80f95f84676ae99806a326c57df0438541 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-18T20:07:09.594Z] + go version [2022-04-18T20:07:09.594Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-18T20:07:09.632Z] $ docker stop --time=1 66d4e6dde721ffed5a72a6f2f66bec80f95f84676ae99806a326c57df0438541 [2022-04-18T20:07:10.937Z] $ docker rm -f 66d4e6dde721ffed5a72a6f2f66bec80f95f84676ae99806a326c57df0438541 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:07:11.717Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-18T20:07:11.718Z] . [Pipeline] withDockerContainer [2022-04-18T20:07:11.813Z] prd-ubuntu20.04-docker-8c-8g-21239 does not seem to be running inside a container [2022-04-18T20:07:11.878Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-175 -v /w/workspace/gexfoundry_device-rest-go_PR-175:/w/workspace/gexfoundry_device-rest-go_PR-175:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-175@tmp:/w/workspace/gexfoundry_device-rest-go_PR-175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-18T20:07:12.294Z] $ docker top 3e1be48d0c259206447e0f88a28c1b5bb3bee190ce56e3de99db5cf6695139cb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-18T20:07:12.757Z] + make test [2022-04-18T20:07:12.757Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-18T20:07:13.327Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-18T20:07:23.324Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-18T20:07:23.324Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-04-18T20:07:31.462Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-18T20:07:35.682Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-18T20:07:35.682Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-18T20:07:35.682Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-18T20:07:35.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-18T20:07:36.005Z] $ docker stop --time=1 3e1be48d0c259206447e0f88a28c1b5bb3bee190ce56e3de99db5cf6695139cb [2022-04-18T20:07:37.818Z] $ docker rm -f 3e1be48d0c259206447e0f88a28c1b5bb3bee190ce56e3de99db5cf6695139cb [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-18T20:07:38.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-18T20:07:38.417Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-18T20:07:39.551Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-18T20:07:39.868Z] + ls -al . [2022-04-18T20:07:39.868Z] total 192 [2022-04-18T20:07:39.868Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 20:07 . [2022-04-18T20:07:39.868Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 20:06 .. [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 18 20:06 .dockerignore [2022-04-18T20:07:39.868Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 20:06 .git [2022-04-18T20:07:39.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:06 .github [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 20:06 .gitignore [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 20:06 .golangci.yml [2022-04-18T20:07:39.868Z] drwx------ 3 jenkins jenkins 4096 Apr 18 20:06 .semver [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 18 20:06 Attribution.txt [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 18 20:06 CHANGELOG.md [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 18 20:06 Dockerfile [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 20:06 GOVERNANCE.md [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 20:06 Jenkinsfile [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 20:06 LICENSE [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 1964 Apr 18 20:06 Makefile [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 20:06 OWNERS.md [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 18 20:06 README.md [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 20:06 VERSION [2022-04-18T20:07:39.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 20:06 bin [2022-04-18T20:07:39.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:06 cmd [2022-04-18T20:07:39.868Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 18 20:07 coverage.out [2022-04-18T20:07:39.868Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 20:06 driver [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 3241 Apr 18 20:06 go.mod [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 54160 Apr 18 20:06 go.sum [2022-04-18T20:07:39.868Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:06 snap [2022-04-18T20:07:39.868Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 18 20:06 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:07:40.210Z] + 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=8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e --label arch=amd64 --label version=0.0.0 . [2022-04-18T20:07:40.210Z] Sending build context to Docker daemon 10.59MB [2022-04-18T20:07:40.210Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-18T20:07:40.210Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-18T20:07:40.210Z] ---> 88dd134537a5 [2022-04-18T20:07:40.210Z] Step 3/25 : ARG MAKE='make build' [2022-04-18T20:07:40.210Z] ---> Running in 30769e79060a [2022-04-18T20:07:40.477Z] Removing intermediate container 30769e79060a [2022-04-18T20:07:40.477Z] ---> b1035ed293fc [2022-04-18T20:07:40.477Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-18T20:07:40.477Z] ---> Running in 107e70986e32 [2022-04-18T20:07:40.477Z] Removing intermediate container 107e70986e32 [2022-04-18T20:07:40.477Z] ---> c9dd9381e2b9 [2022-04-18T20:07:40.477Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-18T20:07:40.738Z] ---> Running in 95d2e1f64e97 [2022-04-18T20:07:40.738Z] Removing intermediate container 95d2e1f64e97 [2022-04-18T20:07:40.738Z] ---> 73f1145b33f0 [2022-04-18T20:07:40.738Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T20:07:40.738Z] ---> Running in 33027137d186 [2022-04-18T20:07:41.311Z] Removing intermediate container 33027137d186 [2022-04-18T20:07:41.311Z] ---> 4fbd981de8f7 [2022-04-18T20:07:41.311Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-18T20:07:41.573Z] ---> Running in 206542a90bad [2022-04-18T20:07:41.835Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-18T20:07:42.782Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-18T20:07:42.782Z] OK: 224 MiB in 56 packages [2022-04-18T20:07:43.355Z] Removing intermediate container 206542a90bad [2022-04-18T20:07:43.355Z] ---> 158b7ed31552 [2022-04-18T20:07:43.355Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-18T20:07:43.355Z] ---> Running in c0372eebb60c [2022-04-18T20:07:43.355Z] Removing intermediate container c0372eebb60c [2022-04-18T20:07:43.355Z] ---> 400563989ea5 [2022-04-18T20:07:43.355Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-18T20:07:43.617Z] ---> 6bb56ccf0022 [2022-04-18T20:07:43.617Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-18T20:07:43.617Z] ---> Running in c83e2fc729de [2022-04-18T20:07:44.191Z] Removing intermediate container c83e2fc729de [2022-04-18T20:07:44.191Z] ---> 3dfc82213dcd [2022-04-18T20:07:44.191Z] Step 11/25 : COPY . . [2022-04-18T20:07:44.451Z] ---> 2ea8c15fad5b [2022-04-18T20:07:44.451Z] Step 12/25 : RUN $MAKE [2022-04-18T20:07:44.712Z] ---> Running in 4f687145f9dc [2022-04-18T20:07:44.976Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-04-18T20:08:06.940Z] Removing intermediate container 4f687145f9dc [2022-04-18T20:08:06.940Z] ---> d5f9cca54f8d [2022-04-18T20:08:06.940Z] Step 13/25 : FROM alpine:3.14 [2022-04-18T20:08:06.940Z] 3.14: Pulling from library/alpine [2022-04-18T20:08:06.940Z] 8663204ce13b: Pulling fs layer [2022-04-18T20:08:06.940Z] 8663204ce13b: Download complete [2022-04-18T20:08:06.940Z] 8663204ce13b: Pull complete [2022-04-18T20:08:06.940Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-18T20:08:06.940Z] Status: Downloaded newer image for alpine:3.14 [2022-04-18T20:08:06.940Z] ---> e04c818066af [2022-04-18T20:08:06.940Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-18T20:08:06.940Z] ---> Running in 3c3914b43b2e [2022-04-18T20:08:06.940Z] Removing intermediate container 3c3914b43b2e [2022-04-18T20:08:06.940Z] ---> 1dbf2e08b40f [2022-04-18T20:08:06.940Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-18T20:08:06.940Z] ---> Running in 1f8444876e96 [2022-04-18T20:08:06.940Z] Removing intermediate container 1f8444876e96 [2022-04-18T20:08:06.940Z] ---> b12e9b011190 [2022-04-18T20:08:06.940Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-18T20:08:06.940Z] ---> Running in 45ea4e7ff89a [2022-04-18T20:08:06.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-18T20:08:06.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-18T20:08:06.940Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-18T20:08:06.940Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-18T20:08:06.940Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-18T20:08:06.940Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-18T20:08:06.940Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-18T20:08:07.211Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-18T20:08:07.211Z] Executing busybox-1.33.1-r7.trigger [2022-04-18T20:08:07.211Z] OK: 8 MiB in 20 packages [2022-04-18T20:08:07.471Z] Removing intermediate container 45ea4e7ff89a [2022-04-18T20:08:07.471Z] ---> 6b1bffbaca39 [2022-04-18T20:08:07.471Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-18T20:08:08.040Z] ---> cf679c5ed3f6 [2022-04-18T20:08:08.040Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-18T20:08:08.298Z] ---> bce2fe8b3b8e [2022-04-18T20:08:08.298Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-18T20:08:08.559Z] ---> a6ddb0f4e6f9 [2022-04-18T20:08:08.559Z] Step 20/25 : EXPOSE 59986 [2022-04-18T20:08:08.559Z] ---> Running in cd7ce8f425e2 [2022-04-18T20:08:08.559Z] Removing intermediate container cd7ce8f425e2 [2022-04-18T20:08:08.559Z] ---> 83ce04e6dad0 [2022-04-18T20:08:08.559Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-18T20:08:08.559Z] ---> Running in 97a430176511 [2022-04-18T20:08:08.831Z] Removing intermediate container 97a430176511 [2022-04-18T20:08:08.831Z] ---> cb75bb1296ac [2022-04-18T20:08:08.831Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-18T20:08:08.831Z] ---> Running in efc2c9e13add [2022-04-18T20:08:09.091Z] Removing intermediate container efc2c9e13add [2022-04-18T20:08:09.091Z] ---> 4bb274c8aae6 [2022-04-18T20:08:09.091Z] Step 23/25 : LABEL arch=amd64 [2022-04-18T20:08:09.091Z] ---> Running in 971302f26c05 [2022-04-18T20:08:09.091Z] Removing intermediate container 971302f26c05 [2022-04-18T20:08:09.091Z] ---> 4613d99b436a [2022-04-18T20:08:09.091Z] Step 24/25 : LABEL git_sha=8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [2022-04-18T20:08:09.354Z] ---> Running in dcfdc7936080 [2022-04-18T20:08:09.354Z] Removing intermediate container dcfdc7936080 [2022-04-18T20:08:09.354Z] ---> ef308258565a [2022-04-18T20:08:09.354Z] Step 25/25 : LABEL version=0.0.0 [2022-04-18T20:08:09.354Z] ---> Running in aa95218d1b60 [2022-04-18T20:08:09.614Z] Removing intermediate container aa95218d1b60 [2022-04-18T20:08:09.614Z] ---> a2744f37389d [2022-04-18T20:08:09.614Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-18T20:08:09.614Z] Successfully built a2744f37389d [2022-04-18T20:08:09.614Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:08:10.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-18T20:08:10.328Z] [2022-04-18T20:08:10.328Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:08:10.671Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-18T20:08:10.671Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-18T20:08:10.671Z] 5eb5b503b376: Pulling fs layer [2022-04-18T20:08:10.671Z] 5c69ac0246d0: Pulling fs layer [2022-04-18T20:08:10.671Z] ec43610c2a17: Pulling fs layer [2022-04-18T20:08:10.671Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-18T20:08:10.671Z] 33b1e0a273af: Pulling fs layer [2022-04-18T20:08:10.671Z] 5d3b04190fa2: Pulling fs layer [2022-04-18T20:08:10.671Z] 2f39f015ded8: Pulling fs layer [2022-04-18T20:08:10.671Z] 3a2ae6a8a46f: Waiting [2022-04-18T20:08:10.671Z] 33b1e0a273af: Waiting [2022-04-18T20:08:10.671Z] 5d3b04190fa2: Waiting [2022-04-18T20:08:10.671Z] 2f39f015ded8: Waiting [2022-04-18T20:08:10.671Z] 5c69ac0246d0: Download complete [2022-04-18T20:08:10.671Z] 3a2ae6a8a46f: Download complete [2022-04-18T20:08:10.671Z] 33b1e0a273af: Verifying Checksum [2022-04-18T20:08:10.671Z] 33b1e0a273af: Download complete [2022-04-18T20:08:10.671Z] 5d3b04190fa2: Download complete [2022-04-18T20:08:10.671Z] ec43610c2a17: Verifying Checksum [2022-04-18T20:08:10.671Z] ec43610c2a17: Download complete [2022-04-18T20:08:10.933Z] 5eb5b503b376: Download complete [2022-04-18T20:08:11.502Z] 2f39f015ded8: Verifying Checksum [2022-04-18T20:08:11.502Z] 2f39f015ded8: Download complete [2022-04-18T20:08:12.440Z] 5eb5b503b376: Pull complete [2022-04-18T20:08:12.440Z] 5c69ac0246d0: Pull complete [2022-04-18T20:08:13.010Z] ec43610c2a17: Pull complete [2022-04-18T20:08:13.010Z] 3a2ae6a8a46f: Pull complete [2022-04-18T20:08:13.273Z] 33b1e0a273af: Pull complete [2022-04-18T20:08:13.532Z] 5d3b04190fa2: Pull complete [2022-04-18T20:08:18.810Z] 2f39f015ded8: Pull complete [2022-04-18T20:08:18.810Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-18T20:08:18.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-18T20:08:18.810Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-18T20:08:18.901Z] prd-ubuntu20.04-docker-8c-8g-21239 does not seem to be running inside a container [2022-04-18T20:08:18.942Z] $ 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-175 -v /w/workspace/gexfoundry_device-rest-go_PR-175:/w/workspace/gexfoundry_device-rest-go_PR-175:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-175@tmp:/w/workspace/gexfoundry_device-rest-go_PR-175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-18T20:08:20.824Z] $ docker top 1aa68989ca36960923d477f5dbeb37328edcec5851fcfb10442ece2a91d69a25 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T20:08:21.321Z] ---> job-cost.sh [2022-04-18T20:08:21.321Z] lf-activate-venv: SKIPPING [2022-04-18T20:08:21.321Z] INFO: No Stack... [2022-04-18T20:08:21.892Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-18T20:08:22.154Z] INFO: Archiving Costs [Pipeline] sh [2022-04-18T20:08:22.468Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-175/archives/cost.csv [2022-04-18T20:08:22.468Z] + cut -d, -f6 [Pipeline] lock [2022-04-18T20:08:22.513Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] [2022-04-18T20:08:22.518Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] did not exist. Created. [2022-04-18T20:08:22.518Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-18T20:08:22.915Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-18T20:08:22.964Z] Stashed 1 file(s) [Pipeline] } [2022-04-18T20:08:23.001Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-18T20:08:23.083Z] $ docker stop --time=1 1aa68989ca36960923d477f5dbeb37328edcec5851fcfb10442ece2a91d69a25 [2022-04-18T20:08:24.377Z] $ docker rm -f 1aa68989ca36960923d477f5dbeb37328edcec5851fcfb10442ece2a91d69a25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-18T20:08:27.884Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21241 in /w/workspace/gexfoundry_device-rest-go_PR-175 [Pipeline] { [Pipeline] ws [2022-04-18T20:08:27.926Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-04-18T20:08:28.165Z] The recommended git tool is: git [2022-04-18T20:08:35.023Z] using credential edgex-jenkins-ssh [2022-04-18T20:08:35.041Z] Cloning the remote Git repository [2022-04-18T20:08:35.112Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-04-18T20:08:35.234Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-04-18T20:08:35.382Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-18T20:08:35.382Z] > git --version # timeout=10 [2022-04-18T20:08:35.449Z] > git --version # 'git version 2.25.1' [2022-04-18T20:08:35.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-18T20:08:35.640Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-18T20:08:37.583Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-18T20:08:37.624Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-18T20:08:37.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-18T20:08:37.829Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-18T20:08:37.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-18T20:08:37.857Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/175/head:refs/remotes/origin/PR-175 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-18T20:08:38.446Z] Merging remotes/origin/main commit 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [2022-04-18T20:08:38.862Z] Merge succeeded, producing 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [2022-04-18T20:08:38.862Z] Checking out Revision 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e (PR-175) [2022-04-18T20:08:38.471Z] > git config core.sparsecheckout # timeout=10 [2022-04-18T20:08:38.515Z] > git checkout -f 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e # timeout=10 [2022-04-18T20:08:38.621Z] > git remote # timeout=10 [2022-04-18T20:08:38.667Z] > git config --get remote.origin.url # timeout=10 [2022-04-18T20:08:38.692Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-18T20:08:38.706Z] > git merge 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 [2022-04-18T20:08:38.776Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-18T20:08:38.878Z] > git config core.sparsecheckout # timeout=10 [2022-04-18T20:08:38.928Z] > git checkout -f 8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e # timeout=10 [2022-04-18T20:08:43.384Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-04-18T20:08:43.446Z] > git --version # timeout=10 [2022-04-18T20:08:43.459Z] > git --version # 'git version 2.25.1' [2022-04-18T20:08:43.477Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-18T20:08:44.530Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-18T20:08:44.530Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-18T20:08:44.530Z] Dload Upload Total Spent Left Speed [2022-04-18T20:08:44.530Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47372 0 --:--:-- --:--:-- --:--:-- 47372 [Pipeline] sh [2022-04-18T20:08:45.119Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-18T20:08:45.489Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-18T20:08:45.489Z] + sudo tee /etc/docker/daemon.new [2022-04-18T20:08:45.489Z] { [2022-04-18T20:08:45.489Z] "registry-mirrors": [ [2022-04-18T20:08:45.489Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-18T20:08:45.489Z] ], [2022-04-18T20:08:45.489Z] "bip": "10.250.0.254/24", [2022-04-18T20:08:45.489Z] "hosts": [ [2022-04-18T20:08:45.489Z] "tcp://0.0.0.0:5555", [2022-04-18T20:08:45.489Z] "unix:///var/run/docker.sock" [2022-04-18T20:08:45.489Z] ], [2022-04-18T20:08:45.489Z] "mtu": 1458, [2022-04-18T20:08:45.489Z] "selinux-enabled": true, [2022-04-18T20:08:45.489Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-18T20:08:45.489Z] } [Pipeline] sh [2022-04-18T20:08:45.854Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-18T20:08:46.223Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-18T20:09:04.640Z] provisioning config files... [2022-04-18T20:09:04.668Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7167471345714613803tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T20:09:05.096Z] ---> docker-login.sh [2022-04-18T20:09:05.096Z] nexus3.edgexfoundry.org:10001 [2022-04-18T20:09:05.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:09:05.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:09:05.974Z] Configure a credential helper to remove this warning. See [2022-04-18T20:09:05.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:09:05.974Z] [2022-04-18T20:09:05.974Z] Login Succeeded [2022-04-18T20:09:05.974Z] nexus3.edgexfoundry.org:10002 [2022-04-18T20:09:06.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:09:06.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:09:06.496Z] Configure a credential helper to remove this warning. See [2022-04-18T20:09:06.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:09:06.496Z] [2022-04-18T20:09:06.496Z] Login Succeeded [2022-04-18T20:09:06.496Z] nexus3.edgexfoundry.org:10003 [2022-04-18T20:09:07.141Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:09:07.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:09:07.142Z] Configure a credential helper to remove this warning. See [2022-04-18T20:09:07.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:09:07.142Z] [2022-04-18T20:09:07.142Z] Login Succeeded [2022-04-18T20:09:07.142Z] nexus3.edgexfoundry.org:10004 [2022-04-18T20:09:07.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:09:07.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:09:07.694Z] Configure a credential helper to remove this warning. See [2022-04-18T20:09:07.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:09:07.694Z] [2022-04-18T20:09:07.694Z] Login Succeeded [2022-04-18T20:09:07.694Z] docker.io [2022-04-18T20:09:07.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-18T20:09:08.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-18T20:09:08.242Z] Configure a credential helper to remove this warning. See [2022-04-18T20:09:08.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-18T20:09:08.242Z] [2022-04-18T20:09:08.242Z] Login Succeeded [2022-04-18T20:09:08.242Z] ---> docker-login.sh ends [Pipeline] } [2022-04-18T20:09:08.274Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-18T20:09:08.660Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-18T20:09:08.695Z] ========================================================= [2022-04-18T20:09:08.695Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-18T20:09:08.695Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:09:09.150Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-18T20:09:09.150Z] Sending build context to Docker daemon 129.5kB [2022-04-18T20:09:09.434Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-18T20:09:09.434Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-18T20:09:09.714Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-18T20:09:09.714Z] 9b3977197b4f: Pulling fs layer [2022-04-18T20:09:09.714Z] 1a89e8eeedd5: Pulling fs layer [2022-04-18T20:09:09.714Z] 94645a83ff95: Pulling fs layer [2022-04-18T20:09:09.714Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-18T20:09:09.714Z] 0c92f367c5e7: Pulling fs layer [2022-04-18T20:09:09.714Z] f7c0051592d6: Pulling fs layer [2022-04-18T20:09:09.714Z] a227ed2f7395: Pulling fs layer [2022-04-18T20:09:09.714Z] 7b1c46037f91: Pulling fs layer [2022-04-18T20:09:09.714Z] 3f3a8bcf1eab: Waiting [2022-04-18T20:09:09.714Z] 0c92f367c5e7: Waiting [2022-04-18T20:09:09.714Z] f7c0051592d6: Waiting [2022-04-18T20:09:09.714Z] a227ed2f7395: Waiting [2022-04-18T20:09:09.714Z] 7b1c46037f91: Waiting [2022-04-18T20:09:09.714Z] 94645a83ff95: Verifying Checksum [2022-04-18T20:09:09.714Z] 94645a83ff95: Download complete [2022-04-18T20:09:09.714Z] 1a89e8eeedd5: Verifying Checksum [2022-04-18T20:09:09.714Z] 1a89e8eeedd5: Download complete [2022-04-18T20:09:09.714Z] 0c92f367c5e7: Verifying Checksum [2022-04-18T20:09:09.714Z] 0c92f367c5e7: Download complete [2022-04-18T20:09:09.714Z] f7c0051592d6: Download complete [2022-04-18T20:09:09.714Z] 9b3977197b4f: Download complete [2022-04-18T20:09:09.714Z] a227ed2f7395: Verifying Checksum [2022-04-18T20:09:09.714Z] a227ed2f7395: Download complete [2022-04-18T20:09:10.706Z] 9b3977197b4f: Pull complete [2022-04-18T20:09:10.987Z] 1a89e8eeedd5: Pull complete [2022-04-18T20:09:11.593Z] 94645a83ff95: Pull complete [2022-04-18T20:09:11.866Z] 7b1c46037f91: Verifying Checksum [2022-04-18T20:09:11.866Z] 7b1c46037f91: Download complete [2022-04-18T20:09:12.466Z] 3f3a8bcf1eab: Download complete [2022-04-18T20:09:24.879Z] 3f3a8bcf1eab: Pull complete [2022-04-18T20:09:24.879Z] 0c92f367c5e7: Pull complete [2022-04-18T20:09:25.153Z] f7c0051592d6: Pull complete [2022-04-18T20:09:25.153Z] a227ed2f7395: Pull complete [2022-04-18T20:09:31.891Z] 7b1c46037f91: Pull complete [2022-04-18T20:09:31.891Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-18T20:09:31.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-18T20:09:31.891Z] ---> f79e39bc4007 [2022-04-18T20:09:31.891Z] Step 3/12 : ARG MAKE='make build' [2022-04-18T20:09:32.167Z] ---> Running in c133e146305c [2022-04-18T20:09:32.445Z] Removing intermediate container c133e146305c [2022-04-18T20:09:32.445Z] ---> 8374ec25c7cd [2022-04-18T20:09:32.445Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-18T20:09:32.719Z] ---> Running in 7842ac7d254c [2022-04-18T20:09:32.994Z] Removing intermediate container 7842ac7d254c [2022-04-18T20:09:32.994Z] ---> 504cbe5ad910 [2022-04-18T20:09:32.994Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-18T20:09:32.995Z] ---> Running in 1a799fb50b43 [2022-04-18T20:09:33.278Z] Removing intermediate container 1a799fb50b43 [2022-04-18T20:09:33.278Z] ---> b15ce01aaeef [2022-04-18T20:09:33.278Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T20:09:33.278Z] ---> Running in 15dcb6f580a8 [2022-04-18T20:09:35.299Z] Removing intermediate container 15dcb6f580a8 [2022-04-18T20:09:35.299Z] ---> ab3c96e2602c [2022-04-18T20:09:35.299Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-18T20:09:35.299Z] ---> Running in 933575330b46 [2022-04-18T20:09:36.291Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-18T20:09:37.271Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-18T20:09:38.249Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-18T20:09:38.249Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-18T20:09:38.249Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-18T20:09:38.527Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-18T20:09:38.527Z] Executing busybox-1.34.1-r3.trigger [2022-04-18T20:09:38.527Z] OK: 224 MiB in 56 packages [2022-04-18T20:09:39.524Z] Removing intermediate container 933575330b46 [2022-04-18T20:09:39.524Z] ---> c5a0d90ca321 [2022-04-18T20:09:39.524Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-18T20:09:39.800Z] ---> Running in 6649dbcbe98f [2022-04-18T20:09:40.079Z] Removing intermediate container 6649dbcbe98f [2022-04-18T20:09:40.079Z] ---> 42d89e73c660 [2022-04-18T20:09:40.079Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-18T20:09:40.676Z] ---> c0a85fda33ec [2022-04-18T20:09:40.676Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-18T20:09:40.676Z] ---> Running in 04dd45af383b [2022-04-18T20:10:27.694Z] Removing intermediate container 04dd45af383b [2022-04-18T20:10:27.694Z] ---> d3adeb2d034d [2022-04-18T20:10:27.694Z] Step 11/12 : COPY . . [2022-04-18T20:10:28.681Z] ---> 7e4382073876 [2022-04-18T20:10:28.681Z] Step 12/12 : RUN $MAKE [2022-04-18T20:10:28.681Z] ---> Running in 20a9f363431e [2022-04-18T20:10:29.664Z] noop [2022-04-18T20:10:30.262Z] Removing intermediate container 20a9f363431e [2022-04-18T20:10:30.262Z] ---> 6eb3202b7048 [2022-04-18T20:10:30.262Z] Successfully built 6eb3202b7048 [2022-04-18T20:10:30.262Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:10:30.645Z] + docker inspect -f . ci-base-image-arm64 [2022-04-18T20:10:30.645Z] . [Pipeline] withDockerContainer [2022-04-18T20:10:30.912Z] prd-ubuntu20.04-docker-arm64-4c-16g-21241 does not seem to be running inside a container [2022-04-18T20:10:31.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-18T20:10:32.393Z] $ docker top 01a70c93a53464b94127dcaaa484502524bba887502f34eb5268f6e7cf00c2dc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-18T20:10:33.373Z] + go version [2022-04-18T20:10:33.373Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-18T20:10:33.415Z] $ docker stop --time=1 01a70c93a53464b94127dcaaa484502524bba887502f34eb5268f6e7cf00c2dc [2022-04-18T20:10:35.106Z] $ docker rm -f 01a70c93a53464b94127dcaaa484502524bba887502f34eb5268f6e7cf00c2dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:10:35.994Z] + docker inspect -f . ci-base-image-arm64 [2022-04-18T20:10:35.994Z] . [Pipeline] withDockerContainer [2022-04-18T20:10:36.256Z] prd-ubuntu20.04-docker-arm64-4c-16g-21241 does not seem to be running inside a container [2022-04-18T20:10:36.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-18T20:10:37.684Z] $ docker top 503c2085cb12a128923d3f4f016dc4e63a8077124b8b037679f7b23e9ceb688c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-18T20:10:38.730Z] + make test [2022-04-18T20:10:38.730Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-18T20:10:40.717Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-18T20:12:02.557Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-18T20:12:02.557Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements [2022-04-18T20:12:02.557Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-18T20:12:02.557Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-18T20:12:29.397Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-18T20:12:29.397Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-18T20:12:29.397Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-18T20:12:30.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-18T20:12:30.907Z] $ docker stop --time=1 503c2085cb12a128923d3f4f016dc4e63a8077124b8b037679f7b23e9ceb688c [2022-04-18T20:12:32.716Z] $ docker rm -f 503c2085cb12a128923d3f4f016dc4e63a8077124b8b037679f7b23e9ceb688c [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-18T20:12:33.758Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-18T20:12:33.792Z] Warning: overwriting stash ‘coverage-report’ [2022-04-18T20:12:34.305Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-18T20:12:34.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-18T20:12:35.256Z] + ls -al . [2022-04-18T20:12:35.256Z] total 188 [2022-04-18T20:12:35.256Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 20:12 . [2022-04-18T20:12:35.256Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 20:08 .. [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 18 20:08 .dockerignore [2022-04-18T20:12:35.256Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 20:08 .git [2022-04-18T20:12:35.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:08 .github [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 20:08 .gitignore [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 20:08 .golangci.yml [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 18 20:08 Attribution.txt [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 18 20:08 CHANGELOG.md [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 18 20:08 Dockerfile [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 20:08 GOVERNANCE.md [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 20:08 Jenkinsfile [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 20:08 LICENSE [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 1964 Apr 18 20:08 Makefile [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 20:08 OWNERS.md [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 18 20:08 README.md [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 20:06 VERSION [2022-04-18T20:12:35.256Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 20:08 bin [2022-04-18T20:12:35.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:08 cmd [2022-04-18T20:12:35.256Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 18 20:11 coverage.out [2022-04-18T20:12:35.256Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 20:08 driver [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 3241 Apr 18 20:08 go.mod [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 54160 Apr 18 20:08 go.sum [2022-04-18T20:12:35.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 20:08 snap [2022-04-18T20:12:35.256Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 18 20:08 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:12:35.615Z] + 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=8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e --label arch=arm64 --label version=0.0.0 . [2022-04-18T20:12:35.615Z] Sending build context to Docker daemon 139.8kB [2022-04-18T20:12:35.890Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-18T20:12:35.890Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-18T20:12:35.890Z] ---> 6eb3202b7048 [2022-04-18T20:12:35.890Z] Step 3/25 : ARG MAKE='make build' [2022-04-18T20:12:35.890Z] ---> Running in e4e6ba7b2a32 [2022-04-18T20:12:36.167Z] Removing intermediate container e4e6ba7b2a32 [2022-04-18T20:12:36.167Z] ---> 3f24193c5271 [2022-04-18T20:12:36.167Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-18T20:12:36.447Z] ---> Running in ce5b9d585d38 [2022-04-18T20:12:36.726Z] Removing intermediate container ce5b9d585d38 [2022-04-18T20:12:36.726Z] ---> a0215d897d1a [2022-04-18T20:12:36.726Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-18T20:12:36.726Z] ---> Running in 05b26e282efb [2022-04-18T20:12:37.000Z] Removing intermediate container 05b26e282efb [2022-04-18T20:12:37.000Z] ---> bc08c848895c [2022-04-18T20:12:37.000Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-18T20:12:37.279Z] ---> Running in 98d1560203d2 [2022-04-18T20:12:38.728Z] Removing intermediate container 98d1560203d2 [2022-04-18T20:12:38.728Z] ---> c37927033799 [2022-04-18T20:12:38.728Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-18T20:12:39.010Z] ---> Running in f1c3d264f9eb [2022-04-18T20:12:39.995Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-18T20:12:40.591Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-18T20:12:41.571Z] OK: 224 MiB in 56 packages [2022-04-18T20:12:42.178Z] Removing intermediate container f1c3d264f9eb [2022-04-18T20:12:42.178Z] ---> 88db94846f33 [2022-04-18T20:12:42.178Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-18T20:12:42.455Z] ---> Running in 87bc487f22c2 [2022-04-18T20:12:42.731Z] Removing intermediate container 87bc487f22c2 [2022-04-18T20:12:42.731Z] ---> 816152058f21 [2022-04-18T20:12:42.731Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-18T20:12:43.329Z] ---> d6f7f3f3c290 [2022-04-18T20:12:43.329Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-18T20:12:43.329Z] ---> Running in 7eca253b2a0a [2022-04-18T20:12:45.313Z] Removing intermediate container 7eca253b2a0a [2022-04-18T20:12:45.313Z] ---> 32ae5134a495 [2022-04-18T20:12:45.313Z] Step 11/25 : COPY . . [2022-04-18T20:12:45.915Z] ---> 54628dfca7dd [2022-04-18T20:12:45.915Z] Step 12/25 : RUN $MAKE [2022-04-18T20:12:46.190Z] ---> Running in 1c00c265b0df [2022-04-18T20:12:47.175Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-04-18T20:14:54.071Z] Removing intermediate container 1c00c265b0df [2022-04-18T20:14:54.071Z] ---> 7b81511d0cc8 [2022-04-18T20:14:54.071Z] Step 13/25 : FROM alpine:3.14 [2022-04-18T20:14:54.071Z] 3.14: Pulling from library/alpine [2022-04-18T20:14:54.071Z] 455c02918c45: Pulling fs layer [2022-04-18T20:14:54.071Z] 455c02918c45: Verifying Checksum [2022-04-18T20:14:54.071Z] 455c02918c45: Download complete [2022-04-18T20:14:54.071Z] 455c02918c45: Pull complete [2022-04-18T20:14:54.071Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-18T20:14:54.071Z] Status: Downloaded newer image for alpine:3.14 [2022-04-18T20:14:54.071Z] ---> ac73e934f311 [2022-04-18T20:14:54.071Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-18T20:14:54.071Z] ---> Running in aa9257fd21a3 [2022-04-18T20:14:54.071Z] Removing intermediate container aa9257fd21a3 [2022-04-18T20:14:54.071Z] ---> bb57d712cd39 [2022-04-18T20:14:54.071Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-18T20:14:54.071Z] ---> Running in 8f1ac9caa951 [2022-04-18T20:14:54.071Z] Removing intermediate container 8f1ac9caa951 [2022-04-18T20:14:54.071Z] ---> 3852526e1d90 [2022-04-18T20:14:54.071Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-18T20:14:54.071Z] ---> Running in 07c92fe7f5f9 [2022-04-18T20:14:54.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-18T20:14:54.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-18T20:14:54.671Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-18T20:14:54.671Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-18T20:14:54.671Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-18T20:14:54.671Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-18T20:14:54.671Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-18T20:14:54.671Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-18T20:14:54.671Z] Executing busybox-1.33.1-r7.trigger [2022-04-18T20:14:54.671Z] OK: 8 MiB in 20 packages [2022-04-18T20:14:55.661Z] Removing intermediate container 07c92fe7f5f9 [2022-04-18T20:14:55.661Z] ---> 333dfaf12384 [2022-04-18T20:14:55.661Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-18T20:14:57.102Z] ---> d524322cbb84 [2022-04-18T20:14:57.102Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-18T20:14:57.706Z] ---> d3bad82d8aa7 [2022-04-18T20:14:57.706Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-18T20:14:58.303Z] ---> 02e4a1d6f989 [2022-04-18T20:14:58.303Z] Step 20/25 : EXPOSE 59986 [2022-04-18T20:14:58.303Z] ---> Running in ba410b59d15a [2022-04-18T20:14:58.579Z] Removing intermediate container ba410b59d15a [2022-04-18T20:14:58.579Z] ---> 1f1f9e2ad5aa [2022-04-18T20:14:58.579Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-18T20:14:58.579Z] ---> Running in 72b5d14b74a9 [2022-04-18T20:14:58.868Z] Removing intermediate container 72b5d14b74a9 [2022-04-18T20:14:58.868Z] ---> ab81c921cf7f [2022-04-18T20:14:58.868Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-18T20:14:58.868Z] ---> Running in ebc6c5c13284 [2022-04-18T20:14:59.466Z] Removing intermediate container ebc6c5c13284 [2022-04-18T20:14:59.466Z] ---> caf1730fbf9d [2022-04-18T20:14:59.466Z] Step 23/25 : LABEL arch=arm64 [2022-04-18T20:14:59.466Z] ---> Running in 0a9e3400b0a4 [2022-04-18T20:14:59.747Z] Removing intermediate container 0a9e3400b0a4 [2022-04-18T20:14:59.747Z] ---> 266b82ad6819 [2022-04-18T20:14:59.747Z] Step 24/25 : LABEL git_sha=8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [2022-04-18T20:14:59.747Z] ---> Running in d97d2c419fee [2022-04-18T20:15:00.022Z] Removing intermediate container d97d2c419fee [2022-04-18T20:15:00.022Z] ---> 989266c55a5b [2022-04-18T20:15:00.022Z] Step 25/25 : LABEL version=0.0.0 [2022-04-18T20:15:00.022Z] ---> Running in 803f81809a0a [2022-04-18T20:15:00.297Z] Removing intermediate container 803f81809a0a [2022-04-18T20:15:00.297Z] ---> 41f2ad3d15d0 [2022-04-18T20:15:00.297Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-18T20:15:00.297Z] Successfully built 41f2ad3d15d0 [2022-04-18T20:15:00.577Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:15:01.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-18T20:15:01.268Z] [2022-04-18T20:15:01.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:15:01.662Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-18T20:15:01.939Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-18T20:15:01.939Z] 8998bd30e6a1: Pulling fs layer [2022-04-18T20:15:01.939Z] 04944245beec: Pulling fs layer [2022-04-18T20:15:01.939Z] 699f458cf7ca: Pulling fs layer [2022-04-18T20:15:01.939Z] 765212b225bb: Pulling fs layer [2022-04-18T20:15:01.939Z] f23df028b6ca: Pulling fs layer [2022-04-18T20:15:01.939Z] d65c8cfc05b1: Pulling fs layer [2022-04-18T20:15:01.939Z] 2437ff75d9bd: Pulling fs layer [2022-04-18T20:15:01.939Z] f23df028b6ca: Waiting [2022-04-18T20:15:01.939Z] d65c8cfc05b1: Waiting [2022-04-18T20:15:01.939Z] 2437ff75d9bd: Waiting [2022-04-18T20:15:01.939Z] 765212b225bb: Waiting [2022-04-18T20:15:01.939Z] 04944245beec: Verifying Checksum [2022-04-18T20:15:01.939Z] 04944245beec: Download complete [2022-04-18T20:15:01.939Z] 765212b225bb: Download complete [2022-04-18T20:15:01.939Z] f23df028b6ca: Verifying Checksum [2022-04-18T20:15:01.939Z] f23df028b6ca: Download complete [2022-04-18T20:15:01.939Z] d65c8cfc05b1: Verifying Checksum [2022-04-18T20:15:01.939Z] d65c8cfc05b1: Download complete [2022-04-18T20:15:02.217Z] 699f458cf7ca: Verifying Checksum [2022-04-18T20:15:02.217Z] 699f458cf7ca: Download complete [2022-04-18T20:15:02.495Z] 8998bd30e6a1: Verifying Checksum [2022-04-18T20:15:02.495Z] 8998bd30e6a1: Download complete [2022-04-18T20:15:05.126Z] 2437ff75d9bd: Verifying Checksum [2022-04-18T20:15:05.126Z] 2437ff75d9bd: Download complete [2022-04-18T20:15:07.106Z] 8998bd30e6a1: Pull complete [2022-04-18T20:15:07.381Z] 04944245beec: Pull complete [2022-04-18T20:15:08.822Z] 699f458cf7ca: Pull complete [2022-04-18T20:15:09.098Z] 765212b225bb: Pull complete [2022-04-18T20:15:10.080Z] f23df028b6ca: Pull complete [2022-04-18T20:15:10.371Z] d65c8cfc05b1: Pull complete [2022-04-18T20:15:25.492Z] 2437ff75d9bd: Pull complete [2022-04-18T20:15:25.492Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-18T20:15:25.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-18T20:15:25.492Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-18T20:15:25.759Z] prd-ubuntu20.04-docker-arm64-4c-16g-21241 does not seem to be running inside a container [2022-04-18T20:15:25.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-18T20:15:28.628Z] $ docker top 45625f55f6b24904a2901e7fa28b7c48e1b33ddea930cb2ee408fb466fbc2e44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-18T20:15:29.637Z] ---> job-cost.sh [2022-04-18T20:15:29.637Z] lf-activate-venv: SKIPPING [2022-04-18T20:15:29.637Z] INFO: No Stack... [2022-04-18T20:15:29.911Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-18T20:15:30.897Z] INFO: Archiving Costs [Pipeline] sh [2022-04-18T20:15:31.594Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-04-18T20:15:31.594Z] + cut -d, -f6 [Pipeline] lock [2022-04-18T20:15:31.684Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] [2022-04-18T20:15:31.689Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] did not exist. Created. [2022-04-18T20:15:31.689Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-18T20:15:32.441Z] /w/workspace/device-rest-go/1@tmp/durable-faaed0d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-18T20:15:33.150Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-18T20:15:33.188Z] Warning: overwriting stash ‘stack-cost’ [2022-04-18T20:15:33.238Z] Stashed 1 file(s) [Pipeline] } [2022-04-18T20:15:33.254Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-175-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-18T20:15:33.340Z] $ docker stop --time=1 45625f55f6b24904a2901e7fa28b7c48e1b33ddea930cb2ee408fb466fbc2e44 [2022-04-18T20:15:34.862Z] $ docker rm -f 45625f55f6b24904a2901e7fa28b7c48e1b33ddea930cb2ee408fb466fbc2e44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-04-18T20:15:35.907Z] provisioning config files... [2022-04-18T20:15:35.916Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-175@tmp/config8462917215529394192tmp [Pipeline] { [Pipeline] sh [2022-04-18T20:15:36.254Z] + set +x [2022-04-18T20:15:36.254Z] + bash -s -- [2022-04-18T20:15:36.254Z] + curl -s https://codecov.io/bash [2022-04-18T20:15:36.254Z] [2022-04-18T20:15:36.254Z] _____ _ [2022-04-18T20:15:36.254Z] / ____| | | [2022-04-18T20:15:36.254Z] | | ___ __| | ___ ___ _____ __ [2022-04-18T20:15:36.254Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-18T20:15:36.254Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-18T20:15:36.254Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-18T20:15:36.254Z] Bash-1.0.6 [2022-04-18T20:15:36.254Z] [2022-04-18T20:15:36.254Z] [2022-04-18T20:15:36.254Z] ==> git version 2.25.1 found [2022-04-18T20:15:36.254Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-04-18T20:15:36.254Z] Release-Date: 2020-01-08 [2022-04-18T20:15:36.254Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-18T20:15:36.255Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-18T20:15:36.255Z] ==> Jenkins CI detected. [2022-04-18T20:15:36.255Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-175 [2022-04-18T20:15:36.255Z] project root: . [2022-04-18T20:15:36.255Z] --> token set from env [2022-04-18T20:15:36.255Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-18T20:15:36.255Z] ==> Running gcov in . (disable via -X gcov) [2022-04-18T20:15:36.255Z] ==> Python coveragepy not found [2022-04-18T20:15:36.255Z] ==> Searching for coverage reports in: [2022-04-18T20:15:36.255Z] + . [2022-04-18T20:15:36.515Z] -> Found 1 reports [2022-04-18T20:15:36.515Z] ==> Detecting git/mercurial file structure [2022-04-18T20:15:36.515Z] ==> Reading reports [2022-04-18T20:15:36.515Z] + ./coverage.out bytes=9355 [2022-04-18T20:15:36.515Z] ==> Appending adjustments [2022-04-18T20:15:36.515Z] https://docs.codecov.io/docs/fixing-reports [2022-04-18T20:15:36.515Z] + Found adjustments [2022-04-18T20:15:36.515Z] ==> Gzipping contents [2022-04-18T20:15:36.515Z] 4.0K /tmp/codecov.uIvtD7.gz [2022-04-18T20:15:36.515Z] ==> Uploading reports [2022-04-18T20:15:36.515Z] url: https://codecov.io [2022-04-18T20:15:36.515Z] query: branch=PR-175&commit=8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-175%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=175&job=&cmd_args= [2022-04-18T20:15:36.515Z] -> Pinging Codecov [2022-04-18T20:15:36.515Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-175&commit=8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-175%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=175&job=&cmd_args= [2022-04-18T20:15:36.776Z] -> Uploading to [2022-04-18T20:15:36.776Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-18/4E5D53B4F1F92C436F7061BF334D961C/8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e/47541345-4cb5-435c-aa6b-a06f43e7fbb7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220418T201536Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=01dcf6b2ca91a54b767a94874eb8ec5afd13e135a38dca143c4bb44de35e3000 [2022-04-18T20:15:36.776Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-18T20:15:36.776Z] Dload Upload Total Spent Left Speed [2022-04-18T20:15:37.060Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 7171 --:--:-- --:--:-- --:--:-- 7171 [2022-04-18T20:15:37.060Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/8dfa2f05f68d4cb582d80176f6d0e6ae5c10c20e [Pipeline] } [2022-04-18T20:15:37.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-04-18T20:15:38.902Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-175/archives ] [2022-04-18T20:15:38.902Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-175/archives [2022-04-18T20:15:38.902Z] total 16 [2022-04-18T20:15:38.902Z] drwxr-xr-x 3 root root 4096 Apr 18 20:08 . [2022-04-18T20:15:38.902Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 20:08 .. [2022-04-18T20:15:38.902Z] drwxr-xr-x 2 root root 4096 Apr 18 20:08 cost [2022-04-18T20:15:38.902Z] -rw-r--r-- 1 root root 85 Apr 18 20:08 cost.csv [2022-04-18T20:15:38.902Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-175/archives [2022-04-18T20:15:38.902Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-175/archives [2022-04-18T20:15:38.903Z] total 16 [2022-04-18T20:15:38.903Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 20:08 . [2022-04-18T20:15:38.903Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 20:08 .. [2022-04-18T20:15:38.903Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 20:08 cost [2022-04-18T20:15:38.903Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 18 20:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-18T20:15:39.234Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T20:15:40.130Z] ---> package-listing.sh [2022-04-18T20:15:40.130Z] ++ facter osfamily [2022-04-18T20:15:40.130Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-18T20:15:40.390Z] + OS_FAMILY=debian [2022-04-18T20:15:40.390Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-175 [2022-04-18T20:15:40.390Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-18T20:15:40.390Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-18T20:15:40.390Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-18T20:15:40.390Z] + PACKAGES=/tmp/packages_start.txt [2022-04-18T20:15:40.390Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-175 ']' [2022-04-18T20:15:40.390Z] + PACKAGES=/tmp/packages_end.txt [2022-04-18T20:15:40.390Z] + case "${OS_FAMILY}" in [2022-04-18T20:15:40.390Z] + dpkg -l [2022-04-18T20:15:40.390Z] + grep '^ii' [2022-04-18T20:15:40.390Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-18T20:15:40.390Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-18T20:15:40.390Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-18T20:15:40.390Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-175 ']' [2022-04-18T20:15:40.390Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-175/archives/ [2022-04-18T20:15:40.390Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-175/archives/ [Pipeline] echo [2022-04-18T20:15:40.426Z] 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-175/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-18T20:15:40.723Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-18T20:15:41.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-18T20:15:41.309Z] . [Pipeline] withDockerContainer [2022-04-18T20:15:41.402Z] prd-ubuntu20.04-docker-8c-8g-21239 does not seem to be running inside a container [2022-04-18T20:15:41.446Z] $ 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-175/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-175 -v /w/workspace/gexfoundry_device-rest-go_PR-175:/w/workspace/gexfoundry_device-rest-go_PR-175:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-175@tmp:/w/workspace/gexfoundry_device-rest-go_PR-175@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-18T20:15:41.724Z] $ docker top 45fef17143bd861a0fcda1c01b1c9aefe5cc2e99d32237bd0d107c02038609a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-18T20:15:42.137Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-18T20:15:42.451Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-18T20:15:42.764Z] + ls /var/log/sa-host [2022-04-18T20:15:42.764Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-18T20:15:43.047Z] provisioning config files... [2022-04-18T20:15:43.056Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-175@tmp/config695809034723009452tmp [Pipeline] { [Pipeline] echo [2022-04-18T20:15:43.106Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T20:15:43.435Z] ---> create-netrc.sh [Pipeline] } [2022-04-18T20:15:43.467Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-18T20:15:43.887Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-18T20:15:43.923Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T20:15:44.243Z] ---> sudo-logs.sh [2022-04-18T20:15:44.243Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-18T20:15:44.328Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T20:15:44.648Z] ---> job-cost.sh [2022-04-18T20:15:44.648Z] lf-activate-venv: SKIPPING [2022-04-18T20:15:44.648Z] DEBUG: total: 0.2199999988079071 [2022-04-18T20:15:44.648Z] INFO: Retrieving Stack Cost... [2022-04-18T20:15:44.910Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-18T20:15:45.488Z] INFO: Archiving Costs [Pipeline] echo [2022-04-18T20:15:45.527Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-18T20:15:45.843Z] ---> logs-deploy.sh [2022-04-18T20:15:45.843Z] lf-activate-venv: SKIPPING [2022-04-18T20:15:45.843Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-175/1 [2022-04-18T20:15:45.843Z] INFO: archiving workspace using pattern(s): [2022-04-18T20:15:46.786Z] Archives upload complete. [2022-04-18T20:15:46.786Z] INFO: archiving logs to Nexus