Pull request #182 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e1e7071f072e9c52fdee87aa4e744db5d45758f+f0689e2451660e374e54247122f91e779ddae9a5 (35571657d242676210fde3631220a8fd163893eb) 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-ssh5227406171449013776.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh1050649057859446912.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-182/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-182/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17322131047833205715.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16170443196370618668.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-182/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-182/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13429313958658708695.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-34311’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-34832’ is offline ‘prd-ubuntu20.04-docker-8c-8g-34833’ is offline ‘prd-ubuntu20.04-docker-8c-8g-34836’ is offline Running on prd-ubuntu20.04-docker-8c-8g-39486 in /w/workspace/gexfoundry_device-rest-go_PR-182 [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-182 # 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 f0689e2451660e374e54247122f91e779ddae9a5 into PR head commit 0e1e7071f072e9c52fdee87aa4e744db5d45758f Merge succeeded, producing 0e1e7071f072e9c52fdee87aa4e744db5d45758f Checking out Revision 0e1e7071f072e9c52fdee87aa4e744db5d45758f (PR-182) > 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/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e1e7071f072e9c52fdee87aa4e744db5d45758f # 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 f0689e2451660e374e54247122f91e779ddae9a5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e1e7071f072e9c52fdee87aa4e744db5d45758f # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-03T03:53:46.145Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-03T03:53:46.210Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-03T03:53:46.234Z] ========================================================= [2022-05-03T03:53:46.235Z] EdgeX Global Pipelines Version Info [2022-05-03T03:53:46.235Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 578fb88605a7b0beb16c95e7a15e89bf8109c0df # timeout=10 [2022-05-03T03:53:47.007Z] ------------------- [2022-05-03T03:53:47.007Z] stable info: [2022-05-03T03:53:47.007Z] ------------------- [2022-05-03T03:53:47.007Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-03T03:53:47.007Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-03T03:53:47.007Z] Message: update stable to v1.0.227 [2022-05-03T03:53:47.581Z] ------------------- [2022-05-03T03:53:47.581Z] experimental info: [2022-05-03T03:53:47.581Z] ------------------- [2022-05-03T03:53:47.581Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-05-03T03:53:47.581Z] Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 [2022-05-03T03:53:47.581Z] Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-03T03:53:47.715Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-03T03:53:47.733Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-03T03:53:47.749Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-03T03:53:47.762Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-03T03:53:47.778Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-03T03:53:47.793Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-03T03:53:47.812Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-03T03:53:47.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-03T03:53:47.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-03T03:53:47.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-03T03:53:47.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-03T03:53:47.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-03T03:53:47.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-03T03:53:47.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-03T03:53:47.923Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-03T03:53:47.937Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-03T03:53:47.955Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T03:53:47.971Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T03:53:47.991Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-03T03:53:48.009Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-03T03:53:48.020Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-03T03:53:48.033Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-03T03:53:48.046Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-03T03:53:48.058Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-03T03:53:48.070Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-03T03:53:48.081Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-03T03:53:48.095Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-182 [Pipeline] echo [2022-05-03T03:53:48.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-182 [Pipeline] echo [2022-05-03T03:53:48.120Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-182 [Pipeline] echo [2022-05-03T03:53:48.136Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e1e7071f072e9c52fdee87aa4e744db5d45758f [Pipeline] echo [2022-05-03T03:53:48.153Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e1e707 [Pipeline] echo [2022-05-03T03:53:48.173Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T03:53:48.222Z] provisioning config files... [2022-05-03T03:53:48.237Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/config793056594591982671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T03:53:48.566Z] ---> docker-login.sh [2022-05-03T03:53:48.566Z] nexus3.edgexfoundry.org:10001 [2022-05-03T03:53:48.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:53:48.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:53:48.828Z] Configure a credential helper to remove this warning. See [2022-05-03T03:53:48.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:53:48.828Z] [2022-05-03T03:53:48.828Z] Login Succeeded [2022-05-03T03:53:48.828Z] nexus3.edgexfoundry.org:10002 [2022-05-03T03:53:49.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:53:49.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:53:49.091Z] Configure a credential helper to remove this warning. See [2022-05-03T03:53:49.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:53:49.091Z] [2022-05-03T03:53:49.091Z] Login Succeeded [2022-05-03T03:53:49.091Z] nexus3.edgexfoundry.org:10003 [2022-05-03T03:53:49.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:53:49.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:53:49.091Z] Configure a credential helper to remove this warning. See [2022-05-03T03:53:49.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:53:49.091Z] [2022-05-03T03:53:49.091Z] Login Succeeded [2022-05-03T03:53:49.091Z] nexus3.edgexfoundry.org:10004 [2022-05-03T03:53:49.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:53:49.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:53:49.353Z] Configure a credential helper to remove this warning. See [2022-05-03T03:53:49.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:53:49.353Z] [2022-05-03T03:53:49.353Z] Login Succeeded [2022-05-03T03:53:49.353Z] docker.io [2022-05-03T03:53:49.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:53:49.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:53:49.926Z] Configure a credential helper to remove this warning. See [2022-05-03T03:53:49.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:53:49.926Z] [2022-05-03T03:53:49.926Z] Login Succeeded [2022-05-03T03:53:49.926Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T03:53:49.935Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-03T03:53:50.336Z] + git rev-list -1 --merges 0e1e7071f072e9c52fdee87aa4e744db5d45758f~1..0e1e7071f072e9c52fdee87aa4e744db5d45758f [Pipeline] echo [2022-05-03T03:53:50.446Z] -----------> git rev-list -1 --merges 0e1e7071f072e9c52fdee87aa4e744db5d45758f~1..0e1e7071f072e9c52fdee87aa4e744db5d45758f 0e1e7071f072e9c52fdee87aa4e744db5d45758f [false] [Pipeline] sh [2022-05-03T03:53:50.741Z] + git log --format=format:%s -1 0e1e7071f072e9c52fdee87aa4e744db5d45758f [Pipeline] echo [2022-05-03T03:53:50.759Z] ========================================================= [2022-05-03T03:53:50.759Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-03T03:53:50.759Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T03:53:51.108Z] + git log --format=format:%s -1 0e1e7071f072e9c52fdee87aa4e744db5d45758f [Pipeline] echo [2022-05-03T03:53:51.121Z] [semverPrep] GIT_COMMIT: 0e1e7071f072e9c52fdee87aa4e744db5d45758f, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-05-03T03:53:51.130Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-03T03:53:51.748Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T03:53:51.748Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-03T03:53:51.748Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-03T03:53:51.748Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-03T03:53:51.748Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-03T03:53:51.748Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-03T03:53:51.749Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:53:52.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T03:53:52.174Z] [2022-05-03T03:53:52.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:53:52.471Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T03:53:52.471Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-03T03:53:52.471Z] 1fe172e4850f: Pulling fs layer [2022-05-03T03:53:52.471Z] caf521ccaac6: Pulling fs layer [2022-05-03T03:53:52.471Z] 3ead6fa29328: Pulling fs layer [2022-05-03T03:53:52.471Z] 5c2a1cbceb83: Pulling fs layer [2022-05-03T03:53:52.471Z] a8d5f1318db7: Pulling fs layer [2022-05-03T03:53:52.471Z] c427282e49a2: Pulling fs layer [2022-05-03T03:53:52.471Z] 1827001aaf11: Pulling fs layer [2022-05-03T03:53:52.471Z] 0714d37db230: Pulling fs layer [2022-05-03T03:53:52.471Z] 5c2a1cbceb83: Waiting [2022-05-03T03:53:52.471Z] 1827001aaf11: Waiting [2022-05-03T03:53:52.471Z] a8d5f1318db7: Waiting [2022-05-03T03:53:52.471Z] c427282e49a2: Waiting [2022-05-03T03:53:52.471Z] ac28cf19c067: Pulling fs layer [2022-05-03T03:53:52.471Z] ca983d60f3e2: Pulling fs layer [2022-05-03T03:53:52.471Z] 9f894cec8388: Pulling fs layer [2022-05-03T03:53:52.471Z] ac28cf19c067: Waiting [2022-05-03T03:53:52.471Z] ca983d60f3e2: Waiting [2022-05-03T03:53:52.471Z] 9f894cec8388: Waiting [2022-05-03T03:53:52.471Z] 0714d37db230: Waiting [2022-05-03T03:53:52.471Z] caf521ccaac6: Verifying Checksum [2022-05-03T03:53:52.471Z] caf521ccaac6: Download complete [2022-05-03T03:53:52.471Z] 5c2a1cbceb83: Verifying Checksum [2022-05-03T03:53:52.471Z] 5c2a1cbceb83: Download complete [2022-05-03T03:53:52.730Z] a8d5f1318db7: Verifying Checksum [2022-05-03T03:53:52.730Z] a8d5f1318db7: Download complete [2022-05-03T03:53:52.730Z] c427282e49a2: Verifying Checksum [2022-05-03T03:53:52.730Z] c427282e49a2: Download complete [2022-05-03T03:53:52.730Z] 3ead6fa29328: Verifying Checksum [2022-05-03T03:53:52.730Z] 3ead6fa29328: Download complete [2022-05-03T03:53:52.730Z] 0714d37db230: Download complete [2022-05-03T03:53:52.730Z] ac28cf19c067: Verifying Checksum [2022-05-03T03:53:52.730Z] ac28cf19c067: Download complete [2022-05-03T03:53:52.730Z] ca983d60f3e2: Verifying Checksum [2022-05-03T03:53:52.730Z] ca983d60f3e2: Download complete [2022-05-03T03:53:52.730Z] 9f894cec8388: Verifying Checksum [2022-05-03T03:53:52.730Z] 9f894cec8388: Download complete [2022-05-03T03:53:52.730Z] 1fe172e4850f: Verifying Checksum [2022-05-03T03:53:52.730Z] 1fe172e4850f: Download complete [2022-05-03T03:53:52.989Z] 1827001aaf11: Verifying Checksum [2022-05-03T03:53:53.927Z] 1fe172e4850f: Pull complete [2022-05-03T03:53:54.186Z] caf521ccaac6: Pull complete [2022-05-03T03:53:54.445Z] 3ead6fa29328: Pull complete [2022-05-03T03:53:54.706Z] 5c2a1cbceb83: Pull complete [2022-05-03T03:53:54.966Z] a8d5f1318db7: Pull complete [2022-05-03T03:53:54.966Z] c427282e49a2: Pull complete [2022-05-03T03:53:56.876Z] 1827001aaf11: Pull complete [2022-05-03T03:53:56.876Z] 0714d37db230: Pull complete [2022-05-03T03:53:56.876Z] ac28cf19c067: Pull complete [2022-05-03T03:53:56.876Z] ca983d60f3e2: Pull complete [2022-05-03T03:53:56.876Z] 9f894cec8388: Pull complete [2022-05-03T03:53:56.876Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-03T03:53:56.876Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T03:53:56.876Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-03T03:53:56.952Z] prd-ubuntu20.04-docker-8c-8g-39486 does not seem to be running inside a container [2022-05-03T03:53:56.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@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-devops/py-git-semver:latest cat [2022-05-03T03:53:58.400Z] $ docker top d91a41ca1aab367f7142cf2131a91bdd5e6940b0a58d636ca4f036a8cd981b02 -eo pid,comm [2022-05-03T03:53:58.476Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-03T03:53:58.476Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T03:53:58.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T03:53:58.518Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T03:53:58.641Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T03:53:58.644Z] $ docker exec d91a41ca1aab367f7142cf2131a91bdd5e6940b0a58d636ca4f036a8cd981b02 ssh-agent [2022-05-03T03:53:58.764Z] SSH_AUTH_SOCK=/tmp/ssh-PJkyuOs56ffs/agent.35 [2022-05-03T03:53:58.764Z] SSH_AGENT_PID=42 [2022-05-03T03:53:58.770Z] Running ssh-add (command line suppressed) [2022-05-03T03:53:58.890Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-182@tmp/private_key_6868073714463212451.key (/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/private_key_6868073714463212451.key) [2022-05-03T03:53:58.907Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T03:53:59.198Z] + git tag --points-at HEAD [Pipeline] } [2022-05-03T03:53:59.212Z] $ docker exec --env ******** --env ******** d91a41ca1aab367f7142cf2131a91bdd5e6940b0a58d636ca4f036a8cd981b02 ssh-agent -k [2022-05-03T03:53:59.318Z] unset SSH_AUTH_SOCK; [2022-05-03T03:53:59.319Z] unset SSH_AGENT_PID; [2022-05-03T03:53:59.319Z] echo Agent pid 42 killed; [2022-05-03T03:53:59.331Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-03T03:53:59.359Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T03:53:59.359Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T03:53:59.492Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T03:53:59.496Z] $ docker exec d91a41ca1aab367f7142cf2131a91bdd5e6940b0a58d636ca4f036a8cd981b02 ssh-agent [2022-05-03T03:53:59.622Z] SSH_AUTH_SOCK=/tmp/ssh-lzGMvqCEt3ng/agent.75 [2022-05-03T03:53:59.622Z] SSH_AGENT_PID=81 [2022-05-03T03:53:59.627Z] Running ssh-add (command line suppressed) [2022-05-03T03:53:59.753Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-182@tmp/private_key_3137809206737296825.key (/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/private_key_3137809206737296825.key) [2022-05-03T03:53:59.769Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T03:54:00.060Z] + git semver init [2022-05-03T03:54:00.321Z] 2022-05-03 03:54:00,234 [run_init] DEBUG init version:0.0.0 force:False [2022-05-03T03:54:00.321Z] 2022-05-03 03:54:00,235 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-182/.semver [2022-05-03T03:54:00.321Z] 2022-05-03 03:54:00,235 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-182/.semver [2022-05-03T03:54:00.321Z] 2022-05-03 03:54:00,235 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-182/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-182, universal_newlines=False, shell=None, istream=None) [2022-05-03T03:54:01.263Z] 2022-05-03 03:54:01,183 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-182/.git/info/exclude [2022-05-03T03:54:01.263Z] 2022-05-03 03:54:01,183 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-182/.semver/PR-182 with force:False [2022-05-03T03:54:01.263Z] 2022-05-03 03:54:01,183 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-182/.semver/PR-182 [2022-05-03T03:54:01.263Z] 2022-05-03 03:54:01,187 [execute] INFO git cat-file --batch-check [2022-05-03T03:54:01.263Z] 2022-05-03 03:54:01,187 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-182/.semver, universal_newlines=False, shell=None, istream=) [2022-05-03T03:54:01.263Z] 2022-05-03 03:54:01,192 [execute] INFO git cat-file --batch [2022-05-03T03:54:01.263Z] 2022-05-03 03:54:01,193 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-182/.semver, universal_newlines=False, shell=None, istream=) [2022-05-03T03:54:01.263Z] 2022-05-03 03:54:01,197 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-182/.semver/PR-182 [2022-05-03T03:54:01.263Z] 0.0.0 [Pipeline] } [2022-05-03T03:54:01.276Z] $ docker exec --env ******** --env ******** d91a41ca1aab367f7142cf2131a91bdd5e6940b0a58d636ca4f036a8cd981b02 ssh-agent -k [2022-05-03T03:54:01.395Z] unset SSH_AUTH_SOCK; [2022-05-03T03:54:01.395Z] unset SSH_AGENT_PID; [2022-05-03T03:54:01.395Z] echo Agent pid 81 killed; [2022-05-03T03:54:01.404Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T03:54:01.705Z] + git semver [Pipeline] } [2022-05-03T03:54:01.980Z] $ docker stop --time=1 d91a41ca1aab367f7142cf2131a91bdd5e6940b0a58d636ca4f036a8cd981b02 [2022-05-03T03:54:03.274Z] $ docker rm -f d91a41ca1aab367f7142cf2131a91bdd5e6940b0a58d636ca4f036a8cd981b02 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T03:54:03.623Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-03T03:54:03.872Z] Stashed 1 file(s) [Pipeline] echo [2022-05-03T03:54:03.875Z] [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-05-03T03:54:04.024Z] provisioning config files... [2022-05-03T03:54:04.034Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/config4904556826571212818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T03:54:04.337Z] ---> docker-login.sh [2022-05-03T03:54:04.337Z] nexus3.edgexfoundry.org:10001 [2022-05-03T03:54:04.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:54:04.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:54:04.337Z] Configure a credential helper to remove this warning. See [2022-05-03T03:54:04.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:54:04.337Z] [2022-05-03T03:54:04.337Z] Login Succeeded [2022-05-03T03:54:04.337Z] nexus3.edgexfoundry.org:10002 [2022-05-03T03:54:04.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:54:04.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:54:04.337Z] Configure a credential helper to remove this warning. See [2022-05-03T03:54:04.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:54:04.337Z] [2022-05-03T03:54:04.337Z] Login Succeeded [2022-05-03T03:54:04.599Z] nexus3.edgexfoundry.org:10003 [2022-05-03T03:54:04.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:54:04.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:54:04.599Z] Configure a credential helper to remove this warning. See [2022-05-03T03:54:04.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:54:04.599Z] [2022-05-03T03:54:04.599Z] Login Succeeded [2022-05-03T03:54:04.599Z] nexus3.edgexfoundry.org:10004 [2022-05-03T03:54:04.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:54:04.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:54:04.860Z] Configure a credential helper to remove this warning. See [2022-05-03T03:54:04.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:54:04.860Z] [2022-05-03T03:54:04.860Z] Login Succeeded [2022-05-03T03:54:04.860Z] docker.io [2022-05-03T03:54:04.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:54:05.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:54:05.121Z] Configure a credential helper to remove this warning. See [2022-05-03T03:54:05.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:54:05.121Z] [2022-05-03T03:54:05.121Z] Login Succeeded [2022-05-03T03:54:05.121Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T03:54:05.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T03:54:05.201Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T03:54:05.208Z] ========================================================= [2022-05-03T03:54:05.208Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-03T03:54:05.208Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:54:05.525Z] + 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-05-03T03:54:05.525Z] Sending build context to Docker daemon 10.61MB [2022-05-03T03:54:05.525Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T03:54:05.525Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-03T03:54:05.525Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-03T03:54:05.525Z] 59bf1c3509f3: Pulling fs layer [2022-05-03T03:54:05.525Z] 666ba61612fd: Pulling fs layer [2022-05-03T03:54:05.525Z] 8ed8ca486205: Pulling fs layer [2022-05-03T03:54:05.525Z] 4fe6c5a15a65: Pulling fs layer [2022-05-03T03:54:05.525Z] 22a0e8bec74d: Pulling fs layer [2022-05-03T03:54:05.525Z] ca2b28591e48: Pulling fs layer [2022-05-03T03:54:05.525Z] a51346096db8: Pulling fs layer [2022-05-03T03:54:05.525Z] daebc70d1ce1: Pulling fs layer [2022-05-03T03:54:05.526Z] 0e18a0eac166: Pulling fs layer [2022-05-03T03:54:05.526Z] 4fe6c5a15a65: Waiting [2022-05-03T03:54:05.526Z] 22a0e8bec74d: Waiting [2022-05-03T03:54:05.526Z] daebc70d1ce1: Waiting [2022-05-03T03:54:05.526Z] ca2b28591e48: Waiting [2022-05-03T03:54:05.526Z] 0e18a0eac166: Waiting [2022-05-03T03:54:05.526Z] a51346096db8: Waiting [2022-05-03T03:54:05.526Z] 8ed8ca486205: Verifying Checksum [2022-05-03T03:54:05.526Z] 8ed8ca486205: Download complete [2022-05-03T03:54:05.526Z] 666ba61612fd: Verifying Checksum [2022-05-03T03:54:05.526Z] 666ba61612fd: Download complete [2022-05-03T03:54:05.786Z] 22a0e8bec74d: Verifying Checksum [2022-05-03T03:54:05.786Z] 22a0e8bec74d: Download complete [2022-05-03T03:54:05.786Z] ca2b28591e48: Verifying Checksum [2022-05-03T03:54:05.786Z] 59bf1c3509f3: Verifying Checksum [2022-05-03T03:54:05.786Z] 59bf1c3509f3: Download complete [2022-05-03T03:54:05.786Z] a51346096db8: Verifying Checksum [2022-05-03T03:54:05.786Z] a51346096db8: Download complete [2022-05-03T03:54:05.786Z] daebc70d1ce1: Verifying Checksum [2022-05-03T03:54:05.786Z] daebc70d1ce1: Download complete [2022-05-03T03:54:05.786Z] 59bf1c3509f3: Pull complete [2022-05-03T03:54:06.049Z] 666ba61612fd: Pull complete [2022-05-03T03:54:06.050Z] 8ed8ca486205: Pull complete [2022-05-03T03:54:06.309Z] 0e18a0eac166: Verifying Checksum [2022-05-03T03:54:06.578Z] 4fe6c5a15a65: Verifying Checksum [2022-05-03T03:54:06.578Z] 4fe6c5a15a65: Download complete [2022-05-03T03:54:09.868Z] 4fe6c5a15a65: Pull complete [2022-05-03T03:54:09.868Z] 22a0e8bec74d: Pull complete [2022-05-03T03:54:09.868Z] ca2b28591e48: Pull complete [2022-05-03T03:54:09.868Z] a51346096db8: Pull complete [2022-05-03T03:54:10.127Z] daebc70d1ce1: Pull complete [2022-05-03T03:54:12.031Z] 0e18a0eac166: Pull complete [2022-05-03T03:54:12.031Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-03T03:54:12.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-03T03:54:12.031Z] ---> f018257e8ee9 [2022-05-03T03:54:12.031Z] Step 3/12 : ARG MAKE='make build' [2022-05-03T03:54:13.430Z] ---> Running in 2720d5e845d1 [2022-05-03T03:54:13.690Z] Removing intermediate container 2720d5e845d1 [2022-05-03T03:54:13.690Z] ---> 69514af6b0e5 [2022-05-03T03:54:13.690Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-03T03:54:13.690Z] ---> Running in b32580e1ecef [2022-05-03T03:54:13.690Z] Removing intermediate container b32580e1ecef [2022-05-03T03:54:13.690Z] ---> 261c026603b5 [2022-05-03T03:54:13.690Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-03T03:54:13.690Z] ---> Running in 4d7de350cff1 [2022-05-03T03:54:13.690Z] Removing intermediate container 4d7de350cff1 [2022-05-03T03:54:13.690Z] ---> b3dae63f9980 [2022-05-03T03:54:13.690Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T03:54:13.949Z] ---> Running in 499d935a2a63 [2022-05-03T03:54:14.522Z] Removing intermediate container 499d935a2a63 [2022-05-03T03:54:14.522Z] ---> 1d927d2f5abc [2022-05-03T03:54:14.522Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-03T03:54:14.522Z] ---> Running in b4edda9a4838 [2022-05-03T03:54:14.784Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-03T03:54:15.725Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-03T03:54:15.725Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-03T03:54:15.985Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-03T03:54:15.985Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-03T03:54:15.985Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-03T03:54:16.246Z] Executing busybox-1.34.1-r3.trigger [2022-05-03T03:54:16.246Z] OK: 224 MiB in 56 packages [2022-05-03T03:54:16.506Z] Removing intermediate container b4edda9a4838 [2022-05-03T03:54:16.506Z] ---> 082f33a679ed [2022-05-03T03:54:16.506Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-03T03:54:16.506Z] ---> Running in 52a9dee9c893 [2022-05-03T03:54:16.766Z] Removing intermediate container 52a9dee9c893 [2022-05-03T03:54:16.766Z] ---> c14b7681b029 [2022-05-03T03:54:16.766Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-03T03:54:16.766Z] ---> 7c6c2842b908 [2022-05-03T03:54:16.766Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T03:54:16.766Z] ---> Running in 552628fdb9f9 [2022-05-03T03:54:18.984Z] Still waiting to schedule task [2022-05-03T03:54:18.985Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-39491’ is offline [2022-05-03T03:54:31.666Z] Removing intermediate container 552628fdb9f9 [2022-05-03T03:54:31.667Z] ---> 2fdbf070cff3 [2022-05-03T03:54:31.667Z] Step 11/12 : COPY . . [2022-05-03T03:54:31.667Z] ---> aabe2dec320b [2022-05-03T03:54:31.667Z] Step 12/12 : RUN $MAKE [2022-05-03T03:54:31.667Z] ---> Running in aaf1790520bb [2022-05-03T03:54:31.667Z] noop [2022-05-03T03:54:31.667Z] Removing intermediate container aaf1790520bb [2022-05-03T03:54:31.667Z] ---> 542e45dd7ed7 [2022-05-03T03:54:31.667Z] Successfully built 542e45dd7ed7 [2022-05-03T03:54:31.667Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:54:31.964Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T03:54:31.964Z] . [Pipeline] withDockerContainer [2022-05-03T03:54:32.033Z] prd-ubuntu20.04-docker-8c-8g-39486 does not seem to be running inside a container [2022-05-03T03:54:32.075Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-03T03:54:32.450Z] $ docker top ee3592b2cf943e6d3ed6acc233a6a8952027d5d6ca6b453146a4707bacf83542 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T03:54:32.807Z] + go version [2022-05-03T03:54:32.807Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-03T03:54:32.822Z] $ docker stop --time=1 ee3592b2cf943e6d3ed6acc233a6a8952027d5d6ca6b453146a4707bacf83542 [2022-05-03T03:54:34.107Z] $ docker rm -f ee3592b2cf943e6d3ed6acc233a6a8952027d5d6ca6b453146a4707bacf83542 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:54:34.523Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T03:54:34.523Z] . [Pipeline] withDockerContainer [2022-05-03T03:54:34.584Z] prd-ubuntu20.04-docker-8c-8g-39486 does not seem to be running inside a container [2022-05-03T03:54:34.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-03T03:54:35.035Z] $ docker top 61f76cccc2517cebe8cc040c5e4c24e580739e4605b5e3b19966a0842b5ff372 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-03T03:54:35.387Z] + make test [2022-05-03T03:54:35.387Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-03T03:54:35.646Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-03T03:54:45.714Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-03T03:54:45.714Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-05-03T03:54:50.993Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-03T03:54:55.188Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T03:54:55.188Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T03:54:55.188Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-03T03:54:55.203Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-03T03:54:55.224Z] $ docker stop --time=1 61f76cccc2517cebe8cc040c5e4c24e580739e4605b5e3b19966a0842b5ff372 [2022-05-03T03:54:56.875Z] $ docker rm -f 61f76cccc2517cebe8cc040c5e4c24e580739e4605b5e3b19966a0842b5ff372 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T03:54:57.303Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-03T03:54:57.349Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-03T03:54:58.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-03T03:54:58.650Z] + ls -al . [2022-05-03T03:54:58.650Z] total 172 [2022-05-03T03:54:58.650Z] drwxrwxr-x 9 jenkins jenkins 4096 May 3 03:54 . [2022-05-03T03:54:58.650Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 03:53 .. [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 151 May 3 03:53 .dockerignore [2022-05-03T03:54:58.650Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 03:54 .git [2022-05-03T03:54:58.650Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:53 .github [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 329 May 3 03:53 .gitignore [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 41 May 3 03:53 .golangci.yml [2022-05-03T03:54:58.650Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 03:54 .semver [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 3 03:53 Attribution.txt [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 3 03:53 CHANGELOG.md [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 3 03:53 Dockerfile [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 03:53 GOVERNANCE.md [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 680 May 3 03:53 Jenkinsfile [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 3 03:53 LICENSE [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 3 03:53 Makefile [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 620 May 3 03:53 OWNERS.md [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 8246 May 3 03:53 README.md [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 03:54 VERSION [2022-05-03T03:54:58.650Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:53 bin [2022-05-03T03:54:58.650Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:53 cmd [2022-05-03T03:54:58.650Z] -rw-r--r-- 1 jenkins jenkins 9355 May 3 03:54 coverage.out [2022-05-03T03:54:58.650Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:53 driver [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 3 03:53 go.mod [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 35377 May 3 03:53 go.sum [2022-05-03T03:54:58.650Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:53 snap [2022-05-03T03:54:58.650Z] -rw-rw-r-- 1 jenkins jenkins 713 May 3 03:53 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:54:58.950Z] + 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=0e1e7071f072e9c52fdee87aa4e744db5d45758f --label arch=amd64 --label version=0.0.0 . [2022-05-03T03:54:58.950Z] Sending build context to Docker daemon 10.62MB [2022-05-03T03:54:58.950Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T03:54:58.950Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-03T03:54:58.950Z] ---> 542e45dd7ed7 [2022-05-03T03:54:58.950Z] Step 3/25 : ARG MAKE='make build' [2022-05-03T03:54:58.950Z] ---> Running in 44744e761724 [2022-05-03T03:54:59.210Z] Removing intermediate container 44744e761724 [2022-05-03T03:54:59.210Z] ---> 105a79764601 [2022-05-03T03:54:59.210Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-03T03:54:59.210Z] ---> Running in 44d3b67e62e7 [2022-05-03T03:54:59.210Z] Removing intermediate container 44d3b67e62e7 [2022-05-03T03:54:59.210Z] ---> a7d62f381dce [2022-05-03T03:54:59.210Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-03T03:54:59.210Z] ---> Running in ece7f2634dfe [2022-05-03T03:54:59.470Z] Removing intermediate container ece7f2634dfe [2022-05-03T03:54:59.470Z] ---> a18ce96379b8 [2022-05-03T03:54:59.470Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T03:54:59.470Z] ---> Running in e1bf76296684 [2022-05-03T03:55:00.041Z] Removing intermediate container e1bf76296684 [2022-05-03T03:55:00.041Z] ---> 7b423d9fffad [2022-05-03T03:55:00.041Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-03T03:55:00.041Z] ---> Running in 52fb35150055 [2022-05-03T03:55:00.300Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-03T03:55:01.241Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-03T03:55:01.241Z] OK: 224 MiB in 56 packages [2022-05-03T03:55:01.811Z] Removing intermediate container 52fb35150055 [2022-05-03T03:55:01.811Z] ---> cef92e56a1dd [2022-05-03T03:55:01.811Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-03T03:55:01.811Z] ---> Running in 71c09e12e8a0 [2022-05-03T03:55:01.811Z] Removing intermediate container 71c09e12e8a0 [2022-05-03T03:55:01.811Z] ---> 1536631ba4fd [2022-05-03T03:55:01.811Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-03T03:55:01.811Z] ---> 5b46c8b8a526 [2022-05-03T03:55:01.811Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T03:55:02.071Z] ---> Running in 97adad1ee1c9 [2022-05-03T03:55:02.639Z] Removing intermediate container 97adad1ee1c9 [2022-05-03T03:55:02.639Z] ---> 7c9af33d58cd [2022-05-03T03:55:02.639Z] Step 11/25 : COPY . . [2022-05-03T03:55:02.899Z] ---> fefe3d184b1f [2022-05-03T03:55:02.899Z] Step 12/25 : RUN $MAKE [2022-05-03T03:55:02.899Z] ---> Running in 9c7d6796b613 [2022-05-03T03:55:03.160Z] 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-05-03T03:55:21.264Z] Removing intermediate container 9c7d6796b613 [2022-05-03T03:55:21.264Z] ---> c366571cbcae [2022-05-03T03:55:21.264Z] Step 13/25 : FROM alpine:3.14 [2022-05-03T03:55:21.523Z] 3.14: Pulling from library/alpine [2022-05-03T03:55:21.784Z] 8663204ce13b: Pulling fs layer [2022-05-03T03:55:22.045Z] 8663204ce13b: Verifying Checksum [2022-05-03T03:55:22.045Z] 8663204ce13b: Download complete [2022-05-03T03:55:22.045Z] 8663204ce13b: Pull complete [2022-05-03T03:55:22.045Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-03T03:55:22.045Z] Status: Downloaded newer image for alpine:3.14 [2022-05-03T03:55:22.045Z] ---> e04c818066af [2022-05-03T03:55:22.045Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-03T03:55:22.045Z] ---> Running in 17765ed1b4b2 [2022-05-03T03:55:22.307Z] Removing intermediate container 17765ed1b4b2 [2022-05-03T03:55:22.307Z] ---> b0327db70ec2 [2022-05-03T03:55:22.307Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-03T03:55:22.307Z] ---> Running in 010bc03f3c8c [2022-05-03T03:55:22.307Z] Removing intermediate container 010bc03f3c8c [2022-05-03T03:55:22.307Z] ---> 2a7a7f9248b6 [2022-05-03T03:55:22.307Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-03T03:55:22.307Z] ---> Running in 5f0ff4cc1c8a [2022-05-03T03:55:22.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-03T03:55:22.831Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-03T03:55:22.831Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-03T03:55:22.831Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-03T03:55:22.831Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-03T03:55:22.831Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-03T03:55:22.831Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-03T03:55:22.831Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-03T03:55:22.831Z] Executing busybox-1.33.1-r7.trigger [2022-05-03T03:55:23.091Z] OK: 8 MiB in 20 packages [2022-05-03T03:55:23.353Z] Removing intermediate container 5f0ff4cc1c8a [2022-05-03T03:55:23.353Z] ---> 18f70314274b [2022-05-03T03:55:23.353Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-03T03:55:23.924Z] ---> f29b3e2fc298 [2022-05-03T03:55:23.924Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-03T03:55:23.924Z] ---> 2ef925e1f06c [2022-05-03T03:55:23.924Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-03T03:55:24.184Z] ---> 5f134582122a [2022-05-03T03:55:24.184Z] Step 20/25 : EXPOSE 59986 [2022-05-03T03:55:24.184Z] ---> Running in 46d03e747546 [2022-05-03T03:55:24.184Z] Removing intermediate container 46d03e747546 [2022-05-03T03:55:24.184Z] ---> b270f278852d [2022-05-03T03:55:24.184Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-03T03:55:24.184Z] ---> Running in c75f144682e3 [2022-05-03T03:55:24.444Z] Removing intermediate container c75f144682e3 [2022-05-03T03:55:24.444Z] ---> 6191f8ddd8e3 [2022-05-03T03:55:24.444Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-03T03:55:24.444Z] ---> Running in 56f13287ceb5 [2022-05-03T03:55:24.444Z] Removing intermediate container 56f13287ceb5 [2022-05-03T03:55:24.444Z] ---> 8d66552ba23a [2022-05-03T03:55:24.444Z] Step 23/25 : LABEL arch=amd64 [2022-05-03T03:55:24.444Z] ---> Running in 5365a7711fa1 [2022-05-03T03:55:24.705Z] Removing intermediate container 5365a7711fa1 [2022-05-03T03:55:24.705Z] ---> 6bfa50260a05 [2022-05-03T03:55:24.705Z] Step 24/25 : LABEL git_sha=0e1e7071f072e9c52fdee87aa4e744db5d45758f [2022-05-03T03:55:24.705Z] ---> Running in 53738c657235 [2022-05-03T03:55:24.705Z] Removing intermediate container 53738c657235 [2022-05-03T03:55:24.705Z] ---> 22f13965a34a [2022-05-03T03:55:24.705Z] Step 25/25 : LABEL version=0.0.0 [2022-05-03T03:55:24.705Z] ---> Running in 0f5bc2ca9845 [2022-05-03T03:55:24.967Z] Removing intermediate container 0f5bc2ca9845 [2022-05-03T03:55:24.967Z] ---> 299b38b1a7d2 [2022-05-03T03:55:24.967Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-03T03:55:24.967Z] Successfully built 299b38b1a7d2 [2022-05-03T03:55:24.967Z] 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-05-03T03:55:25.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T03:55:25.382Z] [2022-05-03T03:55:25.382Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:55:25.685Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T03:55:25.685Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-03T03:55:25.685Z] 5eb5b503b376: Pulling fs layer [2022-05-03T03:55:25.685Z] 5c69ac0246d0: Pulling fs layer [2022-05-03T03:55:25.685Z] ec43610c2a17: Pulling fs layer [2022-05-03T03:55:25.685Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-03T03:55:25.685Z] 33b1e0a273af: Pulling fs layer [2022-05-03T03:55:25.685Z] 5d3b04190fa2: Pulling fs layer [2022-05-03T03:55:25.685Z] 2f39f015ded8: Pulling fs layer [2022-05-03T03:55:25.685Z] 3a2ae6a8a46f: Waiting [2022-05-03T03:55:25.685Z] 5d3b04190fa2: Waiting [2022-05-03T03:55:25.685Z] 2f39f015ded8: Waiting [2022-05-03T03:55:25.685Z] 33b1e0a273af: Waiting [2022-05-03T03:55:25.685Z] 5c69ac0246d0: Download complete [2022-05-03T03:55:25.685Z] 3a2ae6a8a46f: Download complete [2022-05-03T03:55:25.685Z] ec43610c2a17: Download complete [2022-05-03T03:55:25.685Z] 5d3b04190fa2: Verifying Checksum [2022-05-03T03:55:25.685Z] 5d3b04190fa2: Download complete [2022-05-03T03:55:25.685Z] 33b1e0a273af: Verifying Checksum [2022-05-03T03:55:25.685Z] 33b1e0a273af: Download complete [2022-05-03T03:55:25.945Z] 5eb5b503b376: Verifying Checksum [2022-05-03T03:55:25.945Z] 5eb5b503b376: Download complete [2022-05-03T03:55:26.513Z] 2f39f015ded8: Download complete [2022-05-03T03:55:27.080Z] 5eb5b503b376: Pull complete [2022-05-03T03:55:27.341Z] 5c69ac0246d0: Pull complete [2022-05-03T03:55:27.601Z] ec43610c2a17: Pull complete [2022-05-03T03:55:27.601Z] 3a2ae6a8a46f: Pull complete [2022-05-03T03:55:27.861Z] 33b1e0a273af: Pull complete [2022-05-03T03:55:28.122Z] 5d3b04190fa2: Pull complete [2022-05-03T03:55:32.319Z] 2f39f015ded8: Pull complete [2022-05-03T03:55:32.319Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-03T03:55:32.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T03:55:32.319Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-03T03:55:32.382Z] prd-ubuntu20.04-docker-8c-8g-39486 does not seem to be running inside a container [2022-05-03T03:55:32.422Z] $ 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-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-03T03:55:33.886Z] $ docker top a3332d7684b9a5cffd413c52863cf938541b025efe28157fbaf488a448593c94 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T03:55:34.300Z] ---> job-cost.sh [2022-05-03T03:55:34.300Z] lf-activate-venv: SKIPPING [2022-05-03T03:55:34.300Z] INFO: No Stack... [2022-05-03T03:55:34.559Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T03:55:35.129Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T03:55:35.419Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-182/archives/cost.csv [2022-05-03T03:55:35.419Z] + cut -d, -f6 [Pipeline] lock [2022-05-03T03:55:35.437Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-182-2-stack-cost] [2022-05-03T03:55:35.445Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-182-2-stack-cost] did not exist. Created. [2022-05-03T03:55:35.445Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-182-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T03:55:35.749Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-03T03:55:35.782Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T03:55:35.788Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-182-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T03:55:35.815Z] $ docker stop --time=1 a3332d7684b9a5cffd413c52863cf938541b025efe28157fbaf488a448593c94 [2022-05-03T03:55:37.002Z] $ docker rm -f a3332d7684b9a5cffd413c52863cf938541b025efe28157fbaf488a448593c94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-03T04:14:57.447Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-40297 in /w/workspace/gexfoundry_device-rest-go_PR-182 [Pipeline] { [Pipeline] ws [2022-05-03T04:14:57.457Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-05-03T04:14:57.694Z] The recommended git tool is: git [2022-05-03T04:15:03.529Z] using credential edgex-jenkins-ssh [2022-05-03T04:15:03.547Z] Cloning the remote Git repository [2022-05-03T04:15:03.612Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-03T04:15:03.702Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-05-03T04:15:03.789Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-03T04:15:03.790Z] > git --version # timeout=10 [2022-05-03T04:15:03.817Z] > git --version # 'git version 2.25.1' [2022-05-03T04:15:03.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T04:15:03.906Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T04:15:06.704Z] Merging remotes/origin/main commit f0689e2451660e374e54247122f91e779ddae9a5 into PR head commit 0e1e7071f072e9c52fdee87aa4e744db5d45758f [2022-05-03T04:15:05.992Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-03T04:15:06.019Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T04:15:06.081Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-03T04:15:06.133Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-03T04:15:06.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T04:15:06.150Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/182/head:refs/remotes/origin/PR-182 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-03T04:15:06.730Z] > git config core.sparsecheckout # timeout=10 [2022-05-03T04:15:06.930Z] Merge succeeded, producing 0e1e7071f072e9c52fdee87aa4e744db5d45758f [2022-05-03T04:15:06.931Z] Checking out Revision 0e1e7071f072e9c52fdee87aa4e744db5d45758f (PR-182) [2022-05-03T04:15:06.750Z] > git checkout -f 0e1e7071f072e9c52fdee87aa4e744db5d45758f # timeout=10 [2022-05-03T04:15:06.841Z] > git remote # timeout=10 [2022-05-03T04:15:06.863Z] > git config --get remote.origin.url # timeout=10 [2022-05-03T04:15:06.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T04:15:06.889Z] > git merge f0689e2451660e374e54247122f91e779ddae9a5 # timeout=10 [2022-05-03T04:15:06.914Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-03T04:15:06.940Z] > git config core.sparsecheckout # timeout=10 [2022-05-03T04:15:06.995Z] > git checkout -f 0e1e7071f072e9c52fdee87aa4e744db5d45758f # timeout=10 [2022-05-03T04:15:11.473Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T04:15:12.372Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-03T04:15:12.372Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T04:15:12.372Z] Dload Upload Total Spent Left Speed [2022-05-03T04:15:12.372Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2022-05-03T04:15:12.977Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-03T04:15:13.335Z] + sudo tee /etc/docker/daemon.new [2022-05-03T04:15:13.335Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-03T04:15:13.335Z] { [2022-05-03T04:15:13.335Z] "registry-mirrors": [ [2022-05-03T04:15:13.335Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-03T04:15:13.335Z] ], [2022-05-03T04:15:13.335Z] "bip": "10.250.0.254/24", [2022-05-03T04:15:13.335Z] "hosts": [ [2022-05-03T04:15:13.335Z] "tcp://0.0.0.0:5555", [2022-05-03T04:15:13.335Z] "unix:///var/run/docker.sock" [2022-05-03T04:15:13.335Z] ], [2022-05-03T04:15:13.335Z] "mtu": 1458, [2022-05-03T04:15:13.335Z] "selinux-enabled": true, [2022-05-03T04:15:13.335Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-03T04:15:13.335Z] } [Pipeline] sh [2022-05-03T04:15:13.700Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-03T04:15:14.065Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:15:32.457Z] provisioning config files... [2022-05-03T04:15:32.488Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3567501831611975436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:15:32.902Z] ---> docker-login.sh [2022-05-03T04:15:32.902Z] nexus3.edgexfoundry.org:10001 [2022-05-03T04:15:33.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:34.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:34.133Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:34.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:34.133Z] [2022-05-03T04:15:34.133Z] Login Succeeded [2022-05-03T04:15:34.133Z] nexus3.edgexfoundry.org:10002 [2022-05-03T04:15:34.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:34.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:34.707Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:34.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:34.707Z] [2022-05-03T04:15:34.707Z] Login Succeeded [2022-05-03T04:15:34.707Z] nexus3.edgexfoundry.org:10003 [2022-05-03T04:15:35.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:35.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:35.328Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:35.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:35.328Z] [2022-05-03T04:15:35.328Z] Login Succeeded [2022-05-03T04:15:35.328Z] nexus3.edgexfoundry.org:10004 [2022-05-03T04:15:36.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:36.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:36.926Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:36.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:36.926Z] [2022-05-03T04:15:36.926Z] Login Succeeded [2022-05-03T04:15:36.926Z] docker.io [2022-05-03T04:15:38.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:38.767Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:38.767Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:38.767Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:38.767Z] [2022-05-03T04:15:38.767Z] Login Succeeded [2022-05-03T04:15:38.767Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T04:15:38.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T04:15:39.679Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T04:15:39.693Z] ========================================================= [2022-05-03T04:15:39.693Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-03T04:15:39.693Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:15:40.109Z] + 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-05-03T04:15:40.109Z] Sending build context to Docker daemon 130kB [2022-05-03T04:15:41.126Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T04:15:41.126Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-03T04:15:41.412Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-03T04:15:41.412Z] 9b3977197b4f: Pulling fs layer [2022-05-03T04:15:41.412Z] 1a89e8eeedd5: Pulling fs layer [2022-05-03T04:15:41.412Z] 94645a83ff95: Pulling fs layer [2022-05-03T04:15:41.412Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-03T04:15:41.412Z] 0c92f367c5e7: Pulling fs layer [2022-05-03T04:15:41.412Z] 3096ccb668a1: Pulling fs layer [2022-05-03T04:15:41.412Z] e8cf19c19ddd: Pulling fs layer [2022-05-03T04:15:41.412Z] a4caa8a26152: Pulling fs layer [2022-05-03T04:15:41.412Z] 3f3a8bcf1eab: Waiting [2022-05-03T04:15:41.412Z] 0c92f367c5e7: Waiting [2022-05-03T04:15:41.412Z] 3096ccb668a1: Waiting [2022-05-03T04:15:41.412Z] e8cf19c19ddd: Waiting [2022-05-03T04:15:41.412Z] a4caa8a26152: Waiting [2022-05-03T04:15:41.412Z] 94645a83ff95: Verifying Checksum [2022-05-03T04:15:41.412Z] 94645a83ff95: Download complete [2022-05-03T04:15:41.412Z] 1a89e8eeedd5: Verifying Checksum [2022-05-03T04:15:41.412Z] 1a89e8eeedd5: Download complete [2022-05-03T04:15:41.412Z] 0c92f367c5e7: Download complete [2022-05-03T04:15:41.412Z] 3096ccb668a1: Verifying Checksum [2022-05-03T04:15:41.412Z] 3096ccb668a1: Download complete [2022-05-03T04:15:41.412Z] 9b3977197b4f: Verifying Checksum [2022-05-03T04:15:41.412Z] 9b3977197b4f: Download complete [2022-05-03T04:15:41.412Z] e8cf19c19ddd: Verifying Checksum [2022-05-03T04:15:41.412Z] e8cf19c19ddd: Download complete [2022-05-03T04:15:42.884Z] 9b3977197b4f: Pull complete [2022-05-03T04:15:44.929Z] 1a89e8eeedd5: Pull complete [2022-05-03T04:15:44.929Z] a4caa8a26152: Verifying Checksum [2022-05-03T04:15:44.929Z] a4caa8a26152: Download complete [2022-05-03T04:15:44.929Z] 94645a83ff95: Pull complete [2022-05-03T04:15:45.934Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-03T04:15:45.934Z] 3f3a8bcf1eab: Download complete [2022-05-03T04:16:01.099Z] 3f3a8bcf1eab: Pull complete [2022-05-03T04:16:01.099Z] 0c92f367c5e7: Pull complete [2022-05-03T04:16:01.099Z] 3096ccb668a1: Pull complete [2022-05-03T04:16:01.099Z] e8cf19c19ddd: Pull complete [2022-05-03T04:16:06.569Z] a4caa8a26152: Pull complete [2022-05-03T04:16:06.569Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-03T04:16:06.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-03T04:16:06.569Z] ---> 725f1c02e7f9 [2022-05-03T04:16:06.569Z] Step 3/12 : ARG MAKE='make build' [2022-05-03T04:16:08.575Z] ---> Running in 3f17f2a60749 [2022-05-03T04:16:09.184Z] Removing intermediate container 3f17f2a60749 [2022-05-03T04:16:09.184Z] ---> ba8740d5c080 [2022-05-03T04:16:09.184Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-03T04:16:09.184Z] ---> Running in d805c9bbf474 [2022-05-03T04:16:09.791Z] Removing intermediate container d805c9bbf474 [2022-05-03T04:16:09.791Z] ---> c0eaa20623c2 [2022-05-03T04:16:09.791Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-03T04:16:09.791Z] ---> Running in 15ba71a24282 [2022-05-03T04:16:10.407Z] Removing intermediate container 15ba71a24282 [2022-05-03T04:16:10.407Z] ---> e2b0d30ed009 [2022-05-03T04:16:10.407Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T04:16:10.407Z] ---> Running in 52a701947362 [2022-05-03T04:16:12.449Z] Removing intermediate container 52a701947362 [2022-05-03T04:16:12.449Z] ---> f5ed52e429e2 [2022-05-03T04:16:12.449Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-03T04:16:12.449Z] ---> Running in 40e9d41933af [2022-05-03T04:16:13.920Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-03T04:16:14.912Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-03T04:16:16.354Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-03T04:16:16.354Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-03T04:16:16.630Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-03T04:16:16.630Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-03T04:16:16.911Z] Executing busybox-1.34.1-r3.trigger [2022-05-03T04:16:16.911Z] OK: 224 MiB in 56 packages [2022-05-03T04:16:18.369Z] Removing intermediate container 40e9d41933af [2022-05-03T04:16:18.369Z] ---> a10bf30526bb [2022-05-03T04:16:18.369Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-03T04:16:18.369Z] ---> Running in 22c0bd10d890 [2022-05-03T04:16:18.646Z] Removing intermediate container 22c0bd10d890 [2022-05-03T04:16:18.646Z] ---> 49ef1d3d2b2b [2022-05-03T04:16:18.646Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-03T04:16:19.251Z] ---> 1f60142d9f04 [2022-05-03T04:16:19.251Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T04:16:19.251Z] ---> Running in 9315a140c0bc [2022-05-03T04:17:15.898Z] Removing intermediate container 9315a140c0bc [2022-05-03T04:17:15.898Z] ---> fa7419379751 [2022-05-03T04:17:15.898Z] Step 11/12 : COPY . . [2022-05-03T04:17:15.898Z] ---> 96750611376b [2022-05-03T04:17:15.898Z] Step 12/12 : RUN $MAKE [2022-05-03T04:17:15.898Z] ---> Running in 5944e14a7cc0 [2022-05-03T04:17:15.898Z] noop [2022-05-03T04:17:15.898Z] Removing intermediate container 5944e14a7cc0 [2022-05-03T04:17:15.898Z] ---> 49bb10404e32 [2022-05-03T04:17:15.898Z] Successfully built 49bb10404e32 [2022-05-03T04:17:15.898Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:17:16.260Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T04:17:16.260Z] . [Pipeline] withDockerContainer [2022-05-03T04:17:16.541Z] prd-ubuntu20.04-docker-arm64-4c-16g-40297 does not seem to be running inside a container [2022-05-03T04:17:16.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-03T04:17:18.154Z] $ docker top 226b97fc9ae99c8ea9da5dbe500c41e58b5812579f57cbaa5c87536e30039c5c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T04:17:19.162Z] + go version [2022-05-03T04:17:19.162Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-03T04:17:19.192Z] $ docker stop --time=1 226b97fc9ae99c8ea9da5dbe500c41e58b5812579f57cbaa5c87536e30039c5c [2022-05-03T04:17:20.939Z] $ docker rm -f 226b97fc9ae99c8ea9da5dbe500c41e58b5812579f57cbaa5c87536e30039c5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:17:21.615Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T04:17:21.615Z] . [Pipeline] withDockerContainer [2022-05-03T04:17:21.882Z] prd-ubuntu20.04-docker-arm64-4c-16g-40297 does not seem to be running inside a container [2022-05-03T04:17:21.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-03T04:17:23.460Z] $ docker top b8e1e2038106cd4b237f2a488cede7914c1bd82226f8263771cdd140829f58b1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-03T04:17:24.458Z] + make test [2022-05-03T04:17:24.458Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-03T04:17:26.479Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-03T04:19:18.494Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-03T04:19:18.494Z] ok github.com/edgexfoundry/device-rest-go/driver 0.080s coverage: 55.2% of statements [2022-05-03T04:19:18.494Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-03T04:19:18.494Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-03T04:19:40.738Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T04:19:40.738Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T04:19:40.738Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-03T04:19:44.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-03T04:19:44.183Z] $ docker stop --time=1 b8e1e2038106cd4b237f2a488cede7914c1bd82226f8263771cdd140829f58b1 [2022-05-03T04:19:46.035Z] $ docker rm -f b8e1e2038106cd4b237f2a488cede7914c1bd82226f8263771cdd140829f58b1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T04:19:47.065Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-03T04:19:47.088Z] Warning: overwriting stash ‘coverage-report’ [2022-05-03T04:19:47.626Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T04:19:48.038Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-03T04:19:48.385Z] + ls -al . [2022-05-03T04:19:48.385Z] total 168 [2022-05-03T04:19:48.385Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:19 . [2022-05-03T04:19:48.385Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:15 .. [2022-05-03T04:19:48.385Z] -rw-rw-r-- 1 jenkins jenkins 151 May 3 04:15 .dockerignore [2022-05-03T04:19:48.385Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:15 .git [2022-05-03T04:19:48.385Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 .github [2022-05-03T04:19:48.385Z] -rw-rw-r-- 1 jenkins jenkins 329 May 3 04:15 .gitignore [2022-05-03T04:19:48.385Z] -rw-rw-r-- 1 jenkins jenkins 41 May 3 04:15 .golangci.yml [2022-05-03T04:19:48.385Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 3 04:15 Attribution.txt [2022-05-03T04:19:48.385Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 3 04:15 CHANGELOG.md [2022-05-03T04:19:48.386Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 3 04:15 Dockerfile [2022-05-03T04:19:48.386Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:15 GOVERNANCE.md [2022-05-03T04:19:48.386Z] -rw-rw-r-- 1 jenkins jenkins 680 May 3 04:15 Jenkinsfile [2022-05-03T04:19:48.386Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 3 04:15 LICENSE [2022-05-03T04:19:48.386Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 3 04:15 Makefile [2022-05-03T04:19:48.386Z] -rw-rw-r-- 1 jenkins jenkins 620 May 3 04:15 OWNERS.md [2022-05-03T04:19:48.386Z] -rw-rw-r-- 1 jenkins jenkins 8246 May 3 04:15 README.md [2022-05-03T04:19:48.386Z] -rw-rw-r-- 1 jenkins jenkins 5 May 3 03:54 VERSION [2022-05-03T04:19:48.386Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:15 bin [2022-05-03T04:19:48.386Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 cmd [2022-05-03T04:19:48.386Z] -rw-r--r-- 1 jenkins jenkins 9355 May 3 04:19 coverage.out [2022-05-03T04:19:48.386Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:15 driver [2022-05-03T04:19:48.386Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 3 04:15 go.mod [2022-05-03T04:19:48.386Z] -rw-rw-r-- 1 jenkins jenkins 35377 May 3 04:15 go.sum [2022-05-03T04:19:48.386Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 snap [2022-05-03T04:19:48.386Z] -rw-rw-r-- 1 jenkins jenkins 713 May 3 04:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:19:48.734Z] + 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=0e1e7071f072e9c52fdee87aa4e744db5d45758f --label arch=arm64 --label version=0.0.0 . [2022-05-03T04:19:48.734Z] Sending build context to Docker daemon 140.3kB [2022-05-03T04:19:49.008Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T04:19:49.008Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-03T04:19:49.008Z] ---> 49bb10404e32 [2022-05-03T04:19:49.008Z] Step 3/25 : ARG MAKE='make build' [2022-05-03T04:19:49.008Z] ---> Running in df44b35fe9e4 [2022-05-03T04:19:49.606Z] Removing intermediate container df44b35fe9e4 [2022-05-03T04:19:49.606Z] ---> aa4c925f43fe [2022-05-03T04:19:49.606Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-03T04:19:49.606Z] ---> Running in 49ac8a3c1f1a [2022-05-03T04:19:49.879Z] Removing intermediate container 49ac8a3c1f1a [2022-05-03T04:19:49.879Z] ---> d5241b88e1e7 [2022-05-03T04:19:49.879Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-03T04:19:49.879Z] ---> Running in db11dd2d823a [2022-05-03T04:19:50.153Z] Removing intermediate container db11dd2d823a [2022-05-03T04:19:50.153Z] ---> c2b5c7e7f3a7 [2022-05-03T04:19:50.153Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T04:19:50.443Z] ---> Running in 2490ed4ff156 [2022-05-03T04:19:51.892Z] Removing intermediate container 2490ed4ff156 [2022-05-03T04:19:51.892Z] ---> 92c44ee6394b [2022-05-03T04:19:51.892Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-03T04:19:52.165Z] ---> Running in 147407e08044 [2022-05-03T04:19:53.223Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-03T04:19:54.262Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-03T04:19:55.252Z] OK: 224 MiB in 56 packages [2022-05-03T04:19:55.860Z] Removing intermediate container 147407e08044 [2022-05-03T04:19:55.860Z] ---> 334c35cd4a64 [2022-05-03T04:19:55.860Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-03T04:19:56.138Z] ---> Running in 631b25bf01fc [2022-05-03T04:19:56.408Z] Removing intermediate container 631b25bf01fc [2022-05-03T04:19:56.408Z] ---> 256687f92958 [2022-05-03T04:19:56.408Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-03T04:19:57.007Z] ---> b0df4211e254 [2022-05-03T04:19:57.007Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T04:19:57.007Z] ---> Running in 2e9ff36deae2 [2022-05-03T04:19:58.979Z] Removing intermediate container 2e9ff36deae2 [2022-05-03T04:19:58.979Z] ---> 7389e003a057 [2022-05-03T04:19:58.979Z] Step 11/25 : COPY . . [2022-05-03T04:19:59.572Z] ---> d9129767a8e5 [2022-05-03T04:19:59.572Z] Step 12/25 : RUN $MAKE [2022-05-03T04:19:59.572Z] ---> Running in 2c36af333c4e [2022-05-03T04:20:00.551Z] 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-05-03T04:22:22.415Z] Removing intermediate container 2c36af333c4e [2022-05-03T04:22:22.415Z] ---> 4a7d43084232 [2022-05-03T04:22:22.415Z] Step 13/25 : FROM alpine:3.14 [2022-05-03T04:22:22.415Z] 3.14: Pulling from library/alpine [2022-05-03T04:22:22.415Z] 455c02918c45: Pulling fs layer [2022-05-03T04:22:22.415Z] 455c02918c45: Verifying Checksum [2022-05-03T04:22:22.415Z] 455c02918c45: Download complete [2022-05-03T04:22:22.416Z] 455c02918c45: Pull complete [2022-05-03T04:22:22.416Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-03T04:22:22.416Z] Status: Downloaded newer image for alpine:3.14 [2022-05-03T04:22:22.416Z] ---> ac73e934f311 [2022-05-03T04:22:22.416Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-03T04:22:22.416Z] ---> Running in dfb7d8e84e89 [2022-05-03T04:22:22.416Z] Removing intermediate container dfb7d8e84e89 [2022-05-03T04:22:22.416Z] ---> 22959555db5f [2022-05-03T04:22:22.416Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-03T04:22:22.416Z] ---> Running in 59f1337d9201 [2022-05-03T04:22:22.416Z] Removing intermediate container 59f1337d9201 [2022-05-03T04:22:22.416Z] ---> c810a2e8a9f2 [2022-05-03T04:22:22.416Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-03T04:22:22.416Z] ---> Running in bfc82dede21e [2022-05-03T04:22:22.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-03T04:22:22.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-03T04:22:23.934Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-03T04:22:23.934Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-03T04:22:23.934Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-03T04:22:23.934Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-03T04:22:23.934Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-03T04:22:23.934Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-03T04:22:23.934Z] Executing busybox-1.33.1-r7.trigger [2022-05-03T04:22:23.934Z] OK: 8 MiB in 20 packages [2022-05-03T04:22:24.922Z] Removing intermediate container bfc82dede21e [2022-05-03T04:22:24.922Z] ---> f2b141b3337a [2022-05-03T04:22:24.922Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-03T04:22:26.355Z] ---> ee911e206bec [2022-05-03T04:22:26.355Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-03T04:22:26.954Z] ---> 8d18b4e04f7f [2022-05-03T04:22:26.954Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-03T04:22:27.547Z] ---> 0e4582373c49 [2022-05-03T04:22:27.547Z] Step 20/25 : EXPOSE 59986 [2022-05-03T04:22:27.547Z] ---> Running in a0818260fdb5 [2022-05-03T04:22:27.819Z] Removing intermediate container a0818260fdb5 [2022-05-03T04:22:27.819Z] ---> 6bb046ca99f5 [2022-05-03T04:22:27.819Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-03T04:22:28.091Z] ---> Running in 8052a12461be [2022-05-03T04:22:28.362Z] Removing intermediate container 8052a12461be [2022-05-03T04:22:28.362Z] ---> e5f44ccc1a6c [2022-05-03T04:22:28.362Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-03T04:22:28.362Z] ---> Running in 25c82f65658f [2022-05-03T04:22:28.635Z] Removing intermediate container 25c82f65658f [2022-05-03T04:22:28.635Z] ---> 97db7a57345d [2022-05-03T04:22:28.635Z] Step 23/25 : LABEL arch=arm64 [2022-05-03T04:22:28.914Z] ---> Running in b970a96eac46 [2022-05-03T04:22:29.187Z] Removing intermediate container b970a96eac46 [2022-05-03T04:22:29.187Z] ---> 85ead7348074 [2022-05-03T04:22:29.187Z] Step 24/25 : LABEL git_sha=0e1e7071f072e9c52fdee87aa4e744db5d45758f [2022-05-03T04:22:29.187Z] ---> Running in 5294fecc81fd [2022-05-03T04:22:29.459Z] Removing intermediate container 5294fecc81fd [2022-05-03T04:22:29.459Z] ---> a589613fe999 [2022-05-03T04:22:29.459Z] Step 25/25 : LABEL version=0.0.0 [2022-05-03T04:22:29.739Z] ---> Running in 7db08858cadf [2022-05-03T04:22:30.010Z] Removing intermediate container 7db08858cadf [2022-05-03T04:22:30.010Z] ---> 026a5095fc95 [2022-05-03T04:22:30.010Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-03T04:22:30.010Z] Successfully built 026a5095fc95 [2022-05-03T04:22:30.010Z] 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-05-03T04:22:30.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:22:30.445Z] [2022-05-03T04:22:30.445Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:30.797Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:22:31.075Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-03T04:22:31.075Z] 8998bd30e6a1: Pulling fs layer [2022-05-03T04:22:31.075Z] 04944245beec: Pulling fs layer [2022-05-03T04:22:31.075Z] 699f458cf7ca: Pulling fs layer [2022-05-03T04:22:31.075Z] 765212b225bb: Pulling fs layer [2022-05-03T04:22:31.075Z] f23df028b6ca: Pulling fs layer [2022-05-03T04:22:31.075Z] d65c8cfc05b1: Pulling fs layer [2022-05-03T04:22:31.075Z] 2437ff75d9bd: Pulling fs layer [2022-05-03T04:22:31.075Z] f23df028b6ca: Waiting [2022-05-03T04:22:31.075Z] 765212b225bb: Waiting [2022-05-03T04:22:31.075Z] d65c8cfc05b1: Waiting [2022-05-03T04:22:31.075Z] 2437ff75d9bd: Waiting [2022-05-03T04:22:31.075Z] 04944245beec: Verifying Checksum [2022-05-03T04:22:31.075Z] 04944245beec: Download complete [2022-05-03T04:22:31.075Z] 765212b225bb: Verifying Checksum [2022-05-03T04:22:31.075Z] 765212b225bb: Download complete [2022-05-03T04:22:31.353Z] f23df028b6ca: Verifying Checksum [2022-05-03T04:22:31.353Z] f23df028b6ca: Download complete [2022-05-03T04:22:31.353Z] d65c8cfc05b1: Verifying Checksum [2022-05-03T04:22:31.353Z] d65c8cfc05b1: Download complete [2022-05-03T04:22:31.353Z] 699f458cf7ca: Verifying Checksum [2022-05-03T04:22:31.353Z] 699f458cf7ca: Download complete [2022-05-03T04:22:31.629Z] 8998bd30e6a1: Verifying Checksum [2022-05-03T04:22:31.630Z] 8998bd30e6a1: Download complete [2022-05-03T04:22:34.249Z] 2437ff75d9bd: Verifying Checksum [2022-05-03T04:22:34.249Z] 2437ff75d9bd: Download complete [2022-05-03T04:22:35.735Z] 8998bd30e6a1: Pull complete [2022-05-03T04:22:36.333Z] 04944245beec: Pull complete [2022-05-03T04:22:37.763Z] 699f458cf7ca: Pull complete [2022-05-03T04:22:38.042Z] 765212b225bb: Pull complete [2022-05-03T04:22:38.643Z] f23df028b6ca: Pull complete [2022-05-03T04:22:38.917Z] d65c8cfc05b1: Pull complete [2022-05-03T04:22:53.978Z] 2437ff75d9bd: Pull complete [2022-05-03T04:22:53.978Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-03T04:22:53.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:22:53.978Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-03T04:22:54.218Z] prd-ubuntu20.04-docker-arm64-4c-16g-40297 does not seem to be running inside a container [2022-05-03T04:22:54.303Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-03T04:22:57.492Z] $ docker top d6c2ca4d5ad0e6f83ee016ed53b3399dd437f8c50d80fada5a721ec9f3174088 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:22:58.428Z] ---> job-cost.sh [2022-05-03T04:22:58.428Z] lf-activate-venv: SKIPPING [2022-05-03T04:22:58.428Z] INFO: No Stack... [2022-05-03T04:22:58.704Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-03T04:22:59.676Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T04:23:00.345Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2022-05-03T04:23:00.345Z] + cut -d, -f6 [Pipeline] lock [2022-05-03T04:23:00.416Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-182-2-stack-cost] [2022-05-03T04:23:00.421Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-182-2-stack-cost] did not exist. Created. [2022-05-03T04:23:00.421Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-182-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T04:23:01.116Z] /w/workspace/device-rest-go/2@tmp/durable-c51dc70d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-03T04:23:01.804Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-03T04:23:01.826Z] Warning: overwriting stash ‘stack-cost’ [2022-05-03T04:23:01.878Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T04:23:01.884Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-182-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T04:23:01.905Z] $ docker stop --time=1 d6c2ca4d5ad0e6f83ee016ed53b3399dd437f8c50d80fada5a721ec9f3174088 [2022-05-03T04:23:03.478Z] $ docker rm -f d6c2ca4d5ad0e6f83ee016ed53b3399dd437f8c50d80fada5a721ec9f3174088 [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-05-03T04:23:03.948Z] provisioning config files... [2022-05-03T04:23:03.956Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/config2879776646204316367tmp [Pipeline] { [Pipeline] sh [2022-05-03T04:23:04.262Z] + set +x [2022-05-03T04:23:04.262Z] + curl -s https://codecov.io/bash [2022-05-03T04:23:04.262Z] + bash -s -- [2022-05-03T04:23:04.262Z] [2022-05-03T04:23:04.262Z] _____ _ [2022-05-03T04:23:04.262Z] / ____| | | [2022-05-03T04:23:04.262Z] | | ___ __| | ___ ___ _____ __ [2022-05-03T04:23:04.262Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-03T04:23:04.262Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-03T04:23:04.262Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-03T04:23:04.262Z] Bash-1.0.6 [2022-05-03T04:23:04.262Z] [2022-05-03T04:23:04.262Z] [2022-05-03T04:23:04.262Z] ==> git version 2.25.1 found [2022-05-03T04:23:04.262Z] ==> 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-05-03T04:23:04.262Z] Release-Date: 2020-01-08 [2022-05-03T04:23:04.262Z] 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-05-03T04:23:04.262Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-03T04:23:04.262Z] ==> Jenkins CI detected. [2022-05-03T04:23:04.262Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-182 [2022-05-03T04:23:04.262Z] project root: . [2022-05-03T04:23:04.262Z] --> token set from env [2022-05-03T04:23:04.262Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-03T04:23:04.262Z] ==> Running gcov in . (disable via -X gcov) [2022-05-03T04:23:04.262Z] ==> Python coveragepy not found [2022-05-03T04:23:04.262Z] ==> Searching for coverage reports in: [2022-05-03T04:23:04.262Z] + . [2022-05-03T04:23:04.262Z] -> Found 1 reports [2022-05-03T04:23:04.262Z] ==> Detecting git/mercurial file structure [2022-05-03T04:23:04.262Z] ==> Reading reports [2022-05-03T04:23:04.262Z] + ./coverage.out bytes=9355 [2022-05-03T04:23:04.262Z] ==> Appending adjustments [2022-05-03T04:23:04.262Z] https://docs.codecov.io/docs/fixing-reports [2022-05-03T04:23:04.262Z] + Found adjustments [2022-05-03T04:23:04.262Z] ==> Gzipping contents [2022-05-03T04:23:04.262Z] 4.0K /tmp/codecov.1CjoTm.gz [2022-05-03T04:23:04.262Z] ==> Uploading reports [2022-05-03T04:23:04.262Z] url: https://codecov.io [2022-05-03T04:23:04.262Z] query: branch=PR-182&commit=0e1e7071f072e9c52fdee87aa4e744db5d45758f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-182%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-05-03T04:23:04.521Z] -> Pinging Codecov [2022-05-03T04:23:04.521Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-182&commit=0e1e7071f072e9c52fdee87aa4e744db5d45758f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-182%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=182&job=&cmd_args= [2022-05-03T04:23:04.782Z] -> Uploading to [2022-05-03T04:23:04.782Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-03/4E5D53B4F1F92C436F7061BF334D961C/0e1e7071f072e9c52fdee87aa4e744db5d45758f/07607941-3ffb-4b90-a435-b9508c9eeb94.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T042304Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=12284e61a06d62ed591885650b7d438f48af57258097c9f3fddc175f185c94b1 [2022-05-03T04:23:04.782Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T04:23:04.782Z] Dload Upload Total Spent Left Speed [2022-05-03T04:23:05.042Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8724 --:--:-- --:--:-- --:--:-- 8724 [2022-05-03T04:23:05.042Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/0e1e7071f072e9c52fdee87aa4e744db5d45758f [Pipeline] } [2022-05-03T04:23:05.051Z] 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-05-03T04:23:05.694Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-182/archives ] [2022-05-03T04:23:05.694Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-182/archives [2022-05-03T04:23:05.694Z] total 16 [2022-05-03T04:23:05.694Z] drwxr-xr-x 3 root root 4096 May 3 03:55 . [2022-05-03T04:23:05.694Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 03:55 .. [2022-05-03T04:23:05.694Z] drwxr-xr-x 2 root root 4096 May 3 03:55 cost [2022-05-03T04:23:05.694Z] -rw-r--r-- 1 root root 85 May 3 03:55 cost.csv [2022-05-03T04:23:05.694Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-182/archives [2022-05-03T04:23:05.694Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-182/archives [2022-05-03T04:23:05.694Z] total 16 [2022-05-03T04:23:05.694Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 03:55 . [2022-05-03T04:23:05.694Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 03:55 .. [2022-05-03T04:23:05.694Z] drwxr-xr-x 2 jenkins jenkins 4096 May 3 03:55 cost [2022-05-03T04:23:05.694Z] -rw-r--r-- 1 jenkins jenkins 85 May 3 03:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:23:05.985Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:23:06.854Z] ---> package-listing.sh [2022-05-03T04:23:06.854Z] ++ facter osfamily [2022-05-03T04:23:06.854Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-03T04:23:07.115Z] + OS_FAMILY=debian [2022-05-03T04:23:07.115Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-182 [2022-05-03T04:23:07.115Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-03T04:23:07.115Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-03T04:23:07.115Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-03T04:23:07.115Z] + PACKAGES=/tmp/packages_start.txt [2022-05-03T04:23:07.115Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-182 ']' [2022-05-03T04:23:07.115Z] + PACKAGES=/tmp/packages_end.txt [2022-05-03T04:23:07.115Z] + case "${OS_FAMILY}" in [2022-05-03T04:23:07.115Z] + dpkg -l [2022-05-03T04:23:07.115Z] + grep '^ii' [2022-05-03T04:23:07.115Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-03T04:23:07.115Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-03T04:23:07.115Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-03T04:23:07.115Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-182 ']' [2022-05-03T04:23:07.115Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-182/archives/ [2022-05-03T04:23:07.115Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-182/archives/ [Pipeline] echo [2022-05-03T04:23:07.129Z] 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-182/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-03T04:23:07.410Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:23:07.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T04:23:07.970Z] . [Pipeline] withDockerContainer [2022-05-03T04:23:08.033Z] prd-ubuntu20.04-docker-8c-8g-39486 does not seem to be running inside a container [2022-05-03T04:23:08.075Z] $ 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-182/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-182 -v /w/workspace/gexfoundry_device-rest-go_PR-182:/w/workspace/gexfoundry_device-rest-go_PR-182:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-182@tmp:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-03T04:23:08.271Z] $ docker top 66fc2780bd3e429a19198bd1cdc6f40f1461b939b6692417e2e2fad28405ae77 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T04:23:08.619Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-03T04:23:08.906Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-03T04:23:09.207Z] + ls /var/log/sa-host [2022-05-03T04:23:09.207Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:23:09.295Z] provisioning config files... [2022-05-03T04:23:09.304Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-182@tmp/config8158665859094516503tmp [Pipeline] { [Pipeline] echo [2022-05-03T04:23:09.322Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:23:09.606Z] ---> create-netrc.sh [Pipeline] } [2022-05-03T04:23:09.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:23:09.949Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-03T04:23:09.957Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:23:10.239Z] ---> sudo-logs.sh [2022-05-03T04:23:10.239Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-03T04:23:10.260Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:23:10.543Z] ---> job-cost.sh [2022-05-03T04:23:10.543Z] lf-activate-venv: SKIPPING [2022-05-03T04:23:10.543Z] DEBUG: total: 0.2199999988079071 [2022-05-03T04:23:10.543Z] INFO: Retrieving Stack Cost... [2022-05-03T04:23:10.804Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T04:23:11.374Z] INFO: Archiving Costs [Pipeline] echo [2022-05-03T04:23:11.386Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:23:11.668Z] ---> logs-deploy.sh [2022-05-03T04:23:11.668Z] lf-activate-venv: SKIPPING [2022-05-03T04:23:11.668Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-182/2 [2022-05-03T04:23:11.668Z] INFO: archiving workspace using pattern(s): [2022-05-03T04:23:12.606Z] Archives upload complete. [2022-05-03T04:23:12.606Z] INFO: archiving logs to Nexus