Pull request #222 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 350a65c731730f67ca503570233d7e961a4dd6de+811e52826d6202cae27d826a4f6ae05b050034a3 (a5bb3ba611289a73a25c07ece96f9c06ab988e7a) 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-ssh4510766099635496587.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh785230865009125665.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15891438016674247563.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 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-ssh17941235081613533745.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13604903280922282747.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117287 in /w/workspace/gexfoundry_device-rest-go_PR-222 [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-222 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 811e52826d6202cae27d826a4f6ae05b050034a3 into PR head commit 350a65c731730f67ca503570233d7e961a4dd6de Merge succeeded, producing 350a65c731730f67ca503570233d7e961a4dd6de Checking out Revision 350a65c731730f67ca503570233d7e961a4dd6de (PR-222) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T20:10:31.717Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T20:10:31.785Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T20:10:31.802Z] ========================================================= [2022-10-26T20:10:31.802Z] EdgeX Global Pipelines Version Info [2022-10-26T20:10:31.802Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 350a65c731730f67ca503570233d7e961a4dd6de # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 811e52826d6202cae27d826a4f6ae05b050034a3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 350a65c731730f67ca503570233d7e961a4dd6de # timeout=10 > git rev-list --no-walk 773ca0592ac1fba226a3cba0864cc995234b6d2d # timeout=10 [2022-10-26T20:10:32.512Z] ------------------- [2022-10-26T20:10:32.512Z] stable info: [2022-10-26T20:10:32.512Z] ------------------- [2022-10-26T20:10:32.512Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T20:10:32.512Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:10:32.512Z] Message: update stable to v1.0.243 [2022-10-26T20:10:33.080Z] ------------------- [2022-10-26T20:10:33.080Z] experimental info: [2022-10-26T20:10:33.080Z] ------------------- [2022-10-26T20:10:33.080Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T20:10:33.080Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:10:33.080Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T20:10:33.254Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-26T20:10:33.264Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-26T20:10:33.276Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T20:10:33.287Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T20:10:33.304Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T20:10:33.317Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T20:10:33.325Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T20:10:33.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T20:10:33.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T20:10:33.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T20:10:33.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T20:10:33.387Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-26T20:10:33.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T20:10:33.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T20:10:33.427Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:10:33.440Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:10:33.452Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:10:33.463Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:10:33.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T20:10:33.499Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T20:10:33.518Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T20:10:33.531Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T20:10:33.542Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T20:10:33.554Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T20:10:33.569Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T20:10:33.583Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T20:10:33.593Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T20:10:33.606Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-222 [Pipeline] echo [2022-10-26T20:10:33.622Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-222 [Pipeline] echo [2022-10-26T20:10:33.632Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-222 [Pipeline] echo [2022-10-26T20:10:33.643Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 350a65c731730f67ca503570233d7e961a4dd6de [Pipeline] echo [2022-10-26T20:10:33.657Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 350a65c [Pipeline] echo [2022-10-26T20:10:33.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:10:33.710Z] provisioning config files... [2022-10-26T20:10:33.722Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config13789964926140984312tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:10:34.023Z] ---> docker-login.sh [2022-10-26T20:10:34.023Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:10:34.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:34.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:34.282Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:34.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:34.282Z] [2022-10-26T20:10:34.282Z] Login Succeeded [2022-10-26T20:10:34.282Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:10:34.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:34.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:34.546Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:34.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:34.546Z] [2022-10-26T20:10:34.546Z] Login Succeeded [2022-10-26T20:10:34.546Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:10:34.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:34.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:34.546Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:34.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:34.546Z] [2022-10-26T20:10:34.546Z] Login Succeeded [2022-10-26T20:10:34.546Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:10:34.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:34.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:34.807Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:34.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:34.807Z] [2022-10-26T20:10:34.807Z] Login Succeeded [2022-10-26T20:10:34.807Z] docker.io [2022-10-26T20:10:34.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:35.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:35.067Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:35.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:35.067Z] [2022-10-26T20:10:35.067Z] Login Succeeded [2022-10-26T20:10:35.067Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:10:35.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T20:10:35.443Z] + git rev-list -1 --merges 350a65c731730f67ca503570233d7e961a4dd6de~1..350a65c731730f67ca503570233d7e961a4dd6de [Pipeline] echo [2022-10-26T20:10:35.487Z] -----------> git rev-list -1 --merges 350a65c731730f67ca503570233d7e961a4dd6de~1..350a65c731730f67ca503570233d7e961a4dd6de 350a65c731730f67ca503570233d7e961a4dd6de [false] [Pipeline] sh [2022-10-26T20:10:35.773Z] + git log --format=format:%s -1 350a65c731730f67ca503570233d7e961a4dd6de [Pipeline] echo [2022-10-26T20:10:35.787Z] ========================================================= [2022-10-26T20:10:35.787Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T20:10:35.787Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:10:36.120Z] + git log --format=format:%s -1 350a65c731730f67ca503570233d7e961a4dd6de [Pipeline] echo [2022-10-26T20:10:36.132Z] [semverPrep] GIT_COMMIT: 350a65c731730f67ca503570233d7e961a4dd6de, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo [2022-10-26T20:10:36.142Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T20:10:36.478Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:10:36.478Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T20:10:36.478Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T20:10:36.478Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T20:10:36.478Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T20:10:36.478Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T20:10:36.478Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:10:36.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:10:36.825Z] [2022-10-26T20:10:36.825Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:10:37.126Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:10:37.126Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T20:10:37.126Z] b85a868b505f: Pulling fs layer [2022-10-26T20:10:37.126Z] e2be974225ed: Pulling fs layer [2022-10-26T20:10:37.126Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T20:10:37.126Z] 988bab9f4d93: Pulling fs layer [2022-10-26T20:10:37.126Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T20:10:37.126Z] eaf3925da568: Pulling fs layer [2022-10-26T20:10:37.126Z] bab4dde63d76: Pulling fs layer [2022-10-26T20:10:37.126Z] bde34c3a00c8: Pulling fs layer [2022-10-26T20:10:37.126Z] b352a97aabf1: Pulling fs layer [2022-10-26T20:10:37.126Z] 4872d77fe225: Pulling fs layer [2022-10-26T20:10:37.126Z] 5851b861e8e6: Pulling fs layer [2022-10-26T20:10:37.126Z] bab4dde63d76: Waiting [2022-10-26T20:10:37.126Z] bde34c3a00c8: Waiting [2022-10-26T20:10:37.126Z] b352a97aabf1: Waiting [2022-10-26T20:10:37.126Z] 4872d77fe225: Waiting [2022-10-26T20:10:37.126Z] 1469e6f7b9e6: Waiting [2022-10-26T20:10:37.126Z] eaf3925da568: Waiting [2022-10-26T20:10:37.126Z] e2be974225ed: Verifying Checksum [2022-10-26T20:10:37.126Z] e2be974225ed: Download complete [2022-10-26T20:10:37.126Z] 988bab9f4d93: Verifying Checksum [2022-10-26T20:10:37.126Z] 988bab9f4d93: Download complete [2022-10-26T20:10:37.386Z] 339a4e72a1f5: Download complete [2022-10-26T20:10:37.386Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T20:10:37.386Z] 1469e6f7b9e6: Download complete [2022-10-26T20:10:37.386Z] eaf3925da568: Verifying Checksum [2022-10-26T20:10:37.386Z] eaf3925da568: Download complete [2022-10-26T20:10:37.386Z] bde34c3a00c8: Download complete [2022-10-26T20:10:37.386Z] b352a97aabf1: Verifying Checksum [2022-10-26T20:10:37.386Z] b352a97aabf1: Download complete [2022-10-26T20:10:37.386Z] 4872d77fe225: Download complete [2022-10-26T20:10:37.386Z] 5851b861e8e6: Verifying Checksum [2022-10-26T20:10:37.386Z] 5851b861e8e6: Download complete [2022-10-26T20:10:37.386Z] b85a868b505f: Download complete [2022-10-26T20:10:37.645Z] bab4dde63d76: Verifying Checksum [2022-10-26T20:10:37.645Z] bab4dde63d76: Download complete [2022-10-26T20:10:39.023Z] b85a868b505f: Pull complete [2022-10-26T20:10:39.023Z] e2be974225ed: Pull complete [2022-10-26T20:10:39.589Z] 339a4e72a1f5: Pull complete [2022-10-26T20:10:39.589Z] 988bab9f4d93: Pull complete [2022-10-26T20:10:39.848Z] 1469e6f7b9e6: Pull complete [2022-10-26T20:10:39.848Z] eaf3925da568: Pull complete [2022-10-26T20:10:41.749Z] bab4dde63d76: Pull complete [2022-10-26T20:10:41.749Z] bde34c3a00c8: Pull complete [2022-10-26T20:10:42.008Z] b352a97aabf1: Pull complete [2022-10-26T20:10:42.008Z] 4872d77fe225: Pull complete [2022-10-26T20:10:42.008Z] 5851b861e8e6: Pull complete [2022-10-26T20:10:42.008Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T20:10:42.008Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:10:42.008Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:10:42.100Z] prd-ubuntu20.04-docker-8c-8g-117287 does not seem to be running inside a container [2022-10-26T20:10:42.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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-devops/py-git-semver:0.1.4 cat [2022-10-26T20:10:43.604Z] $ docker top 70ed952f7363cca5d985a0431f3f2188ee16fa66d92e7102fd9d38b68930b4f4 -eo pid,comm [2022-10-26T20:10:43.659Z] 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-10-26T20:10:43.659Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:10:43.697Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:10:43.697Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:10:43.811Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:10:43.818Z] $ docker exec 70ed952f7363cca5d985a0431f3f2188ee16fa66d92e7102fd9d38b68930b4f4 ssh-agent [2022-10-26T20:10:43.945Z] SSH_AUTH_SOCK=/tmp/ssh-LXeAl0S61TIt/agent.33 [2022-10-26T20:10:43.945Z] SSH_AGENT_PID=39 [2022-10-26T20:10:43.952Z] Running ssh-add (command line suppressed) [2022-10-26T20:10:44.053Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_13890200342932324888.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_13890200342932324888.key) [2022-10-26T20:10:44.071Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:10:44.364Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T20:10:44.379Z] $ docker exec --env ******** --env ******** 70ed952f7363cca5d985a0431f3f2188ee16fa66d92e7102fd9d38b68930b4f4 ssh-agent -k [2022-10-26T20:10:44.481Z] unset SSH_AUTH_SOCK; [2022-10-26T20:10:44.481Z] unset SSH_AGENT_PID; [2022-10-26T20:10:44.481Z] echo Agent pid 39 killed; [2022-10-26T20:10:44.488Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T20:10:44.507Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:10:44.507Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:10:44.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:10:44.629Z] $ docker exec 70ed952f7363cca5d985a0431f3f2188ee16fa66d92e7102fd9d38b68930b4f4 ssh-agent [2022-10-26T20:10:44.743Z] SSH_AUTH_SOCK=/tmp/ssh-I33xaV95ZWtG/agent.71 [2022-10-26T20:10:44.743Z] SSH_AGENT_PID=77 [2022-10-26T20:10:44.747Z] Running ssh-add (command line suppressed) [2022-10-26T20:10:44.849Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_11289620063843455380.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_11289620063843455380.key) [2022-10-26T20:10:44.860Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:10:45.146Z] + git semver init [2022-10-26T20:10:45.405Z] 2022-10-26 20:10:45,337 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T20:10:45.405Z] 2022-10-26 20:10:45,338 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver [2022-10-26T20:10:45.405Z] 2022-10-26 20:10:45,338 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-222/.semver [2022-10-26T20:10:45.405Z] 2022-10-26 20:10:45,338 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-222/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222, universal_newlines=False, shell=None, istream=None) [2022-10-26T20:10:46.793Z] 2022-10-26 20:10:46,472 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.git/info/exclude [2022-10-26T20:10:46.793Z] 2022-10-26 20:10:46,473 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 with force:False [2022-10-26T20:10:46.793Z] 2022-10-26 20:10:46,473 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 [2022-10-26T20:10:46.793Z] 2022-10-26 20:10:46,477 [execute] INFO git cat-file --batch-check [2022-10-26T20:10:46.793Z] 2022-10-26 20:10:46,477 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T20:10:46.793Z] 2022-10-26 20:10:46,485 [execute] INFO git cat-file --batch [2022-10-26T20:10:46.793Z] 2022-10-26 20:10:46,485 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T20:10:46.793Z] 2022-10-26 20:10:46,491 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 [2022-10-26T20:10:46.793Z] 0.0.0 [Pipeline] } [2022-10-26T20:10:46.806Z] $ docker exec --env ******** --env ******** 70ed952f7363cca5d985a0431f3f2188ee16fa66d92e7102fd9d38b68930b4f4 ssh-agent -k [2022-10-26T20:10:46.927Z] unset SSH_AUTH_SOCK; [2022-10-26T20:10:46.928Z] unset SSH_AGENT_PID; [2022-10-26T20:10:46.928Z] echo Agent pid 77 killed; [2022-10-26T20:10:46.937Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:10:47.246Z] + git semver [Pipeline] } [2022-10-26T20:10:47.520Z] $ docker stop --time=1 70ed952f7363cca5d985a0431f3f2188ee16fa66d92e7102fd9d38b68930b4f4 [2022-10-26T20:10:48.832Z] $ docker rm -f 70ed952f7363cca5d985a0431f3f2188ee16fa66d92e7102fd9d38b68930b4f4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:10:49.182Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T20:10:49.366Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T20:10:49.368Z] [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-10-26T20:10:49.491Z] provisioning config files... [2022-10-26T20:10:49.501Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config5803906719171942721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:10:49.800Z] ---> docker-login.sh [2022-10-26T20:10:49.800Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:10:49.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:49.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:49.800Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:49.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:49.800Z] [2022-10-26T20:10:49.800Z] Login Succeeded [2022-10-26T20:10:49.800Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:10:49.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:49.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:49.800Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:49.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:49.800Z] [2022-10-26T20:10:49.800Z] Login Succeeded [2022-10-26T20:10:49.800Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:10:50.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:50.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:50.060Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:50.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:50.060Z] [2022-10-26T20:10:50.060Z] Login Succeeded [2022-10-26T20:10:50.060Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:10:50.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:50.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:50.060Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:50.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:50.060Z] [2022-10-26T20:10:50.060Z] Login Succeeded [2022-10-26T20:10:50.060Z] docker.io [2022-10-26T20:10:50.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:10:50.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:10:50.581Z] Configure a credential helper to remove this warning. See [2022-10-26T20:10:50.581Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:10:50.581Z] [2022-10-26T20:10:50.581Z] Login Succeeded [2022-10-26T20:10:50.581Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:10:50.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:10:50.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:10:50.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:10:50.661Z] ========================================================= [2022-10-26T20:10:50.661Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T20:10:50.661Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:10:50.962Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T20:10:50.962Z] Sending build context to Docker daemon 10.75MB [2022-10-26T20:10:50.962Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:10:50.962Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T20:10:50.962Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T20:10:50.962Z] 213ec9aee27d: Pulling fs layer [2022-10-26T20:10:50.962Z] 4583459ba037: Pulling fs layer [2022-10-26T20:10:50.962Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T20:10:50.962Z] 53926ce57604: Pulling fs layer [2022-10-26T20:10:50.962Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T20:10:50.962Z] 30f14e443154: Pulling fs layer [2022-10-26T20:10:50.962Z] 801331c1e519: Pulling fs layer [2022-10-26T20:10:50.962Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T20:10:50.962Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T20:10:50.962Z] 801331c1e519: Waiting [2022-10-26T20:10:50.962Z] 53926ce57604: Waiting [2022-10-26T20:10:50.962Z] 21b2b0c7a3f4: Waiting [2022-10-26T20:10:50.962Z] 7d9ed39f4882: Waiting [2022-10-26T20:10:50.962Z] 99cc6dd402b0: Waiting [2022-10-26T20:10:50.962Z] 30f14e443154: Waiting [2022-10-26T20:10:50.962Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T20:10:50.962Z] 93c1e223e6f2: Download complete [2022-10-26T20:10:50.962Z] 4583459ba037: Download complete [2022-10-26T20:10:51.224Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T20:10:51.224Z] 21b2b0c7a3f4: Download complete [2022-10-26T20:10:51.224Z] 30f14e443154: Download complete [2022-10-26T20:10:51.224Z] 213ec9aee27d: Verifying Checksum [2022-10-26T20:10:51.224Z] 213ec9aee27d: Download complete [2022-10-26T20:10:51.224Z] 801331c1e519: Verifying Checksum [2022-10-26T20:10:51.224Z] 801331c1e519: Download complete [2022-10-26T20:10:51.224Z] 213ec9aee27d: Pull complete [2022-10-26T20:10:51.489Z] 4583459ba037: Pull complete [2022-10-26T20:10:51.489Z] 93c1e223e6f2: Pull complete [2022-10-26T20:10:51.749Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T20:10:51.749Z] 7d9ed39f4882: Download complete [2022-10-26T20:10:51.749Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T20:10:51.749Z] 99cc6dd402b0: Download complete [2022-10-26T20:10:52.008Z] 53926ce57604: Verifying Checksum [2022-10-26T20:10:52.008Z] 53926ce57604: Download complete [2022-10-26T20:10:56.210Z] 53926ce57604: Pull complete [2022-10-26T20:10:56.210Z] 21b2b0c7a3f4: Pull complete [2022-10-26T20:10:56.210Z] 30f14e443154: Pull complete [2022-10-26T20:10:56.210Z] 801331c1e519: Pull complete [2022-10-26T20:10:58.765Z] 99cc6dd402b0: Pull complete [2022-10-26T20:10:59.029Z] 7d9ed39f4882: Pull complete [2022-10-26T20:10:59.029Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T20:10:59.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T20:10:59.029Z] ---> 1dedd983c030 [2022-10-26T20:10:59.029Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:11:00.932Z] ---> Running in 85f21c76e544 [2022-10-26T20:11:00.932Z] Removing intermediate container 85f21c76e544 [2022-10-26T20:11:00.932Z] ---> 338975b24c6a [2022-10-26T20:11:00.932Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:11:00.932Z] ---> Running in 625f6f16f861 [2022-10-26T20:11:01.189Z] Removing intermediate container 625f6f16f861 [2022-10-26T20:11:01.189Z] ---> 1210656a290b [2022-10-26T20:11:01.189Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:11:01.189Z] ---> Running in 051396d10337 [2022-10-26T20:11:01.189Z] Removing intermediate container 051396d10337 [2022-10-26T20:11:01.189Z] ---> 41f81d7a45d5 [2022-10-26T20:11:01.189Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:11:01.189Z] ---> Running in 9cbbacc9adb0 [2022-10-26T20:11:01.446Z] Removing intermediate container 9cbbacc9adb0 [2022-10-26T20:11:01.446Z] ---> ee2f4b0ee979 [2022-10-26T20:11:01.446Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:11:01.446Z] ---> Running in f10103ef92d2 [2022-10-26T20:11:01.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:11:01.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:11:01.960Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:11:01.960Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T20:11:01.960Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:11:01.960Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:11:02.249Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:11:02.249Z] OK: 216 MiB in 55 packages [2022-10-26T20:11:02.506Z] Removing intermediate container f10103ef92d2 [2022-10-26T20:11:02.506Z] ---> 017180835a8b [2022-10-26T20:11:02.506Z] Step 8/12 : WORKDIR /device-rest-go [2022-10-26T20:11:02.506Z] ---> Running in 856b34c022d5 [2022-10-26T20:11:02.764Z] Removing intermediate container 856b34c022d5 [2022-10-26T20:11:02.764Z] ---> 0c58e482b0cb [2022-10-26T20:11:02.764Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T20:11:02.764Z] ---> 4b04541c0618 [2022-10-26T20:11:02.764Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:11:03.022Z] ---> Running in d76683beb7f6 [2022-10-26T20:11:04.459Z] Still waiting to schedule task [2022-10-26T20:11:04.459Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T20:11:24.971Z] Removing intermediate container d76683beb7f6 [2022-10-26T20:11:24.971Z] ---> 3d9babe045ed [2022-10-26T20:11:24.971Z] Step 11/12 : COPY . . [2022-10-26T20:11:24.971Z] ---> 08b2171f8c0f [2022-10-26T20:11:24.971Z] Step 12/12 : RUN $MAKE [2022-10-26T20:11:24.971Z] ---> Running in 3120109aebcb [2022-10-26T20:11:24.971Z] noop [2022-10-26T20:11:24.971Z] Removing intermediate container 3120109aebcb [2022-10-26T20:11:24.971Z] ---> f1232778dd74 [2022-10-26T20:11:24.971Z] Successfully built f1232778dd74 [2022-10-26T20:11:24.971Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:11:25.272Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:11:25.272Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:11:25.335Z] prd-ubuntu20.04-docker-8c-8g-117287 does not seem to be running inside a container [2022-10-26T20:11:25.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T20:11:25.919Z] $ docker top c63ee3a0839ce14b10870c8ecee24a607c8f6d64362aba0e18f5ed180fbcf5a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:11:26.265Z] + go version [2022-10-26T20:11:26.265Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T20:11:26.277Z] $ docker stop --time=1 c63ee3a0839ce14b10870c8ecee24a607c8f6d64362aba0e18f5ed180fbcf5a0 [2022-10-26T20:11:27.597Z] $ docker rm -f c63ee3a0839ce14b10870c8ecee24a607c8f6d64362aba0e18f5ed180fbcf5a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:11:28.011Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:11:28.011Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:11:28.080Z] prd-ubuntu20.04-docker-8c-8g-117287 does not seem to be running inside a container [2022-10-26T20:11:28.116Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T20:11:28.476Z] $ docker top 7b4bc27112cef9e890f8fee8635c71caaf54eaea4eb0f0ec011010535f4f012f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:11:28.819Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:11:29.111Z] + make test [2022-10-26T20:11:29.111Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T20:11:29.369Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-26T20:11:39.335Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-26T20:11:39.902Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements [2022-10-26T20:11:48.013Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-26T20:11:48.013Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:11:50.544Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:11:50.544Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:11:50.544Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:11:50.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:11:50.570Z] $ docker stop --time=1 7b4bc27112cef9e890f8fee8635c71caaf54eaea4eb0f0ec011010535f4f012f [2022-10-26T20:11:52.348Z] $ docker rm -f 7b4bc27112cef9e890f8fee8635c71caaf54eaea4eb0f0ec011010535f4f012f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:11:52.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:11:52.860Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T20:11:53.314Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:11:53.640Z] + ls -al . [2022-10-26T20:11:53.640Z] total 188 [2022-10-26T20:11:53.640Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:11 . [2022-10-26T20:11:53.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:10 .. [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 20:10 .dockerignore [2022-10-26T20:11:53.640Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:11 .git [2022-10-26T20:11:53.640Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:10 .github [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 20:10 .gitignore [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:10 .golangci.yml [2022-10-26T20:11:53.640Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:10 .semver [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 26 20:10 Attribution.txt [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 26 20:10 CHANGELOG.md [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 1641 Oct 26 20:10 Dockerfile [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:10 GOVERNANCE.md [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:10 Jenkinsfile [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:10 LICENSE [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 26 20:10 Makefile [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 20:10 OWNERS.md [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 26 20:10 README.md [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:10 VERSION [2022-10-26T20:11:53.640Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:10 bin [2022-10-26T20:11:53.640Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:10 cmd [2022-10-26T20:11:53.640Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 26 20:11 coverage.out [2022-10-26T20:11:53.640Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:10 driver [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 3536 Oct 26 20:10 go.mod [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 45144 Oct 26 20:10 go.sum [2022-10-26T20:11:53.640Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:10 snap [2022-10-26T20:11:53.640Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 20:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:11:53.942Z] + 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=350a65c731730f67ca503570233d7e961a4dd6de --label arch=amd64 --label version=0.0.0 . [2022-10-26T20:11:53.942Z] Sending build context to Docker daemon 10.76MB [2022-10-26T20:11:53.942Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:11:53.942Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-26T20:11:53.942Z] ---> f1232778dd74 [2022-10-26T20:11:53.943Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:11:54.201Z] ---> Running in b09bdad4eebf [2022-10-26T20:11:54.201Z] Removing intermediate container b09bdad4eebf [2022-10-26T20:11:54.201Z] ---> 1bc7d3914579 [2022-10-26T20:11:54.201Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:11:54.201Z] ---> Running in 185f87c74098 [2022-10-26T20:11:54.201Z] Removing intermediate container 185f87c74098 [2022-10-26T20:11:54.202Z] ---> 9fed1450fff9 [2022-10-26T20:11:54.202Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:11:54.483Z] ---> Running in 0f471ff00549 [2022-10-26T20:11:54.483Z] Removing intermediate container 0f471ff00549 [2022-10-26T20:11:54.483Z] ---> 48609a3295f4 [2022-10-26T20:11:54.483Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:11:54.483Z] ---> Running in 768fc7bc1afc [2022-10-26T20:11:54.740Z] Removing intermediate container 768fc7bc1afc [2022-10-26T20:11:54.740Z] ---> 7a56ea00f628 [2022-10-26T20:11:54.740Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:11:54.740Z] ---> Running in 29e200ef8556 [2022-10-26T20:11:54.999Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:11:55.258Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:11:55.258Z] OK: 216 MiB in 55 packages [2022-10-26T20:11:55.828Z] Removing intermediate container 29e200ef8556 [2022-10-26T20:11:55.828Z] ---> 45bc92fec560 [2022-10-26T20:11:55.828Z] Step 8/25 : WORKDIR /device-rest-go [2022-10-26T20:11:55.828Z] ---> Running in 7bf3ccd80fe4 [2022-10-26T20:11:55.828Z] Removing intermediate container 7bf3ccd80fe4 [2022-10-26T20:11:55.828Z] ---> 6835bd56daac [2022-10-26T20:11:55.828Z] Step 9/25 : COPY go.mod vendor* ./ [2022-10-26T20:11:56.087Z] ---> fdf66f5e8ce0 [2022-10-26T20:11:56.087Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:11:56.087Z] ---> Running in 862def7e13c0 [2022-10-26T20:11:57.056Z] Removing intermediate container 862def7e13c0 [2022-10-26T20:11:57.056Z] ---> da118460321f [2022-10-26T20:11:57.056Z] Step 11/25 : COPY . . [2022-10-26T20:11:57.317Z] ---> 78e18c77617d [2022-10-26T20:11:57.317Z] Step 12/25 : RUN $MAKE [2022-10-26T20:11:57.317Z] ---> Running in e2412d6b1980 [2022-10-26T20:11:57.576Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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-10-26T20:12:19.511Z] Removing intermediate container e2412d6b1980 [2022-10-26T20:12:19.511Z] ---> 8f26fc6d925d [2022-10-26T20:12:19.511Z] Step 13/25 : FROM alpine:3.16 [2022-10-26T20:12:19.511Z] 3.16: Pulling from library/alpine [2022-10-26T20:12:19.511Z] 213ec9aee27d: Already exists [2022-10-26T20:12:19.511Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T20:12:19.511Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T20:12:19.511Z] ---> 9c6f07244728 [2022-10-26T20:12:19.511Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T20:12:19.511Z] ---> Running in 2e7e6d85ecee [2022-10-26T20:12:19.511Z] Removing intermediate container 2e7e6d85ecee [2022-10-26T20:12:19.511Z] ---> 334261e833cd [2022-10-26T20:12:19.511Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-26T20:12:19.511Z] ---> Running in 745c9d9c2ed7 [2022-10-26T20:12:19.511Z] Removing intermediate container 745c9d9c2ed7 [2022-10-26T20:12:19.511Z] ---> 58adf4f1284f [2022-10-26T20:12:19.511Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:12:19.511Z] ---> Running in 4bf711fd148d [2022-10-26T20:12:19.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:12:19.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:12:19.511Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:12:19.511Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T20:12:19.511Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:12:19.511Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T20:12:19.511Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:12:19.511Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:12:19.511Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:12:19.511Z] OK: 8 MiB in 20 packages [2022-10-26T20:12:19.511Z] Removing intermediate container 4bf711fd148d [2022-10-26T20:12:19.511Z] ---> 23aad0d62f2f [2022-10-26T20:12:19.511Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-10-26T20:12:20.078Z] ---> fb8a5c81006d [2022-10-26T20:12:20.078Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-26T20:12:20.339Z] ---> 8f5b1be57346 [2022-10-26T20:12:20.339Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-26T20:12:20.339Z] ---> 872d91150a10 [2022-10-26T20:12:20.339Z] Step 20/25 : EXPOSE 59986 [2022-10-26T20:12:20.598Z] ---> Running in 8d100c1b52f6 [2022-10-26T20:12:20.598Z] Removing intermediate container 8d100c1b52f6 [2022-10-26T20:12:20.598Z] ---> 9e3eab9fb0f6 [2022-10-26T20:12:20.598Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-10-26T20:12:20.598Z] ---> Running in 12672d92638e [2022-10-26T20:12:20.598Z] Removing intermediate container 12672d92638e [2022-10-26T20:12:20.598Z] ---> 18e1a1056150 [2022-10-26T20:12:20.598Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-26T20:12:20.598Z] ---> Running in eeb99c28da4e [2022-10-26T20:12:20.857Z] Removing intermediate container eeb99c28da4e [2022-10-26T20:12:20.857Z] ---> 73e7402c320e [2022-10-26T20:12:20.857Z] Step 23/25 : LABEL arch=amd64 [2022-10-26T20:12:20.857Z] ---> Running in 31654175ced3 [2022-10-26T20:12:20.857Z] Removing intermediate container 31654175ced3 [2022-10-26T20:12:20.857Z] ---> a7655f5ac38e [2022-10-26T20:12:20.857Z] Step 24/25 : LABEL git_sha=350a65c731730f67ca503570233d7e961a4dd6de [2022-10-26T20:12:20.857Z] ---> Running in f53b0653f2ee [2022-10-26T20:12:21.116Z] Removing intermediate container f53b0653f2ee [2022-10-26T20:12:21.116Z] ---> 2cfb2f1384b4 [2022-10-26T20:12:21.116Z] Step 25/25 : LABEL version=0.0.0 [2022-10-26T20:12:21.116Z] ---> Running in feb41f226317 [2022-10-26T20:12:21.116Z] Removing intermediate container feb41f226317 [2022-10-26T20:12:21.116Z] ---> d9bf4fb66c5c [2022-10-26T20:12:21.116Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:12:21.116Z] Successfully built d9bf4fb66c5c [2022-10-26T20:12:21.116Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:12:21.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:12:21.529Z] [2022-10-26T20:12:21.529Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:12:21.824Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:12:21.824Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T20:12:21.824Z] 5eb5b503b376: Pulling fs layer [2022-10-26T20:12:21.824Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T20:12:21.824Z] ec43610c2a17: Pulling fs layer [2022-10-26T20:12:21.824Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T20:12:21.824Z] 33b1e0a273af: Pulling fs layer [2022-10-26T20:12:21.824Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T20:12:21.824Z] 2f39f015ded8: Pulling fs layer [2022-10-26T20:12:21.824Z] 33b1e0a273af: Waiting [2022-10-26T20:12:21.824Z] 5d3b04190fa2: Waiting [2022-10-26T20:12:21.824Z] 2f39f015ded8: Waiting [2022-10-26T20:12:21.824Z] 3a2ae6a8a46f: Waiting [2022-10-26T20:12:21.824Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T20:12:21.824Z] 5c69ac0246d0: Download complete [2022-10-26T20:12:21.824Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T20:12:21.824Z] 3a2ae6a8a46f: Download complete [2022-10-26T20:12:21.824Z] 33b1e0a273af: Verifying Checksum [2022-10-26T20:12:21.824Z] 33b1e0a273af: Download complete [2022-10-26T20:12:21.824Z] 5d3b04190fa2: Download complete [2022-10-26T20:12:21.824Z] ec43610c2a17: Verifying Checksum [2022-10-26T20:12:21.824Z] ec43610c2a17: Download complete [2022-10-26T20:12:22.082Z] 5eb5b503b376: Download complete [2022-10-26T20:12:22.648Z] 2f39f015ded8: Verifying Checksum [2022-10-26T20:12:22.648Z] 2f39f015ded8: Download complete [2022-10-26T20:12:23.213Z] 5eb5b503b376: Pull complete [2022-10-26T20:12:23.470Z] 5c69ac0246d0: Pull complete [2022-10-26T20:12:23.728Z] ec43610c2a17: Pull complete [2022-10-26T20:12:23.990Z] 3a2ae6a8a46f: Pull complete [2022-10-26T20:12:23.990Z] 33b1e0a273af: Pull complete [2022-10-26T20:12:24.249Z] 5d3b04190fa2: Pull complete [2022-10-26T20:12:28.430Z] 2f39f015ded8: Pull complete [2022-10-26T20:12:28.430Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T20:12:28.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:12:28.430Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:12:28.501Z] prd-ubuntu20.04-docker-8c-8g-117287 does not seem to be running inside a container [2022-10-26T20:12:28.529Z] $ 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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T20:12:30.071Z] $ docker top 37a2c7197f072527994cfd026ed66fb75d8a0b86bd2c38cf2b10dfe02a467361 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:12:30.433Z] ---> job-cost.sh [2022-10-26T20:12:30.433Z] lf-activate-venv: SKIPPING [2022-10-26T20:12:30.433Z] INFO: No Stack... [2022-10-26T20:12:30.692Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:12:31.259Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:12:31.544Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-222/archives/cost.csv [2022-10-26T20:12:31.544Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:12:31.557Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-6-stack-cost] [2022-10-26T20:12:31.562Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-222-6-stack-cost] did not exist. Created. [2022-10-26T20:12:31.562Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:12:31.856Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T20:12:31.882Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:12:31.889Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:12:31.906Z] $ docker stop --time=1 37a2c7197f072527994cfd026ed66fb75d8a0b86bd2c38cf2b10dfe02a467361 [2022-10-26T20:12:33.063Z] $ docker rm -f 37a2c7197f072527994cfd026ed66fb75d8a0b86bd2c38cf2b10dfe02a467361 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T20:12:57.571Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117293 in /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] { [Pipeline] ws [2022-10-26T20:12:57.583Z] Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout [2022-10-26T20:12:57.613Z] The recommended git tool is: git [2022-10-26T20:13:04.155Z] using credential edgex-jenkins-ssh [2022-10-26T20:13:04.182Z] Cloning the remote Git repository [2022-10-26T20:13:04.248Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-26T20:13:04.350Z] > git init /w/workspace/device-rest-go/6 # timeout=10 [2022-10-26T20:13:04.537Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-26T20:13:04.538Z] > git --version # timeout=10 [2022-10-26T20:13:04.567Z] > git --version # 'git version 2.25.1' [2022-10-26T20:13:04.569Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:13:04.629Z] Verifying host key using known hosts file [2022-10-26T20:13:04.886Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T20:13:04.900Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:13:07.018Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-26T20:13:07.054Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:13:08.720Z] Merging remotes/origin/main commit 811e52826d6202cae27d826a4f6ae05b050034a3 into PR head commit 350a65c731730f67ca503570233d7e961a4dd6de [2022-10-26T20:13:09.014Z] Merge succeeded, producing 350a65c731730f67ca503570233d7e961a4dd6de [2022-10-26T20:13:09.014Z] Checking out Revision 350a65c731730f67ca503570233d7e961a4dd6de (PR-222) [2022-10-26T20:13:08.006Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-26T20:13:08.055Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-26T20:13:08.056Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:13:08.063Z] Verifying host key using known hosts file [2022-10-26T20:13:08.070Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T20:13:08.090Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T20:13:08.739Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:13:08.763Z] > git checkout -f 350a65c731730f67ca503570233d7e961a4dd6de # timeout=10 [2022-10-26T20:13:08.868Z] > git remote # timeout=10 [2022-10-26T20:13:08.892Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T20:13:08.923Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:13:08.930Z] Verifying host key using known hosts file [2022-10-26T20:13:08.935Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T20:13:08.952Z] > git merge 811e52826d6202cae27d826a4f6ae05b050034a3 # timeout=10 [2022-10-26T20:13:08.985Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T20:13:09.017Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:13:09.035Z] > git checkout -f 350a65c731730f67ca503570233d7e961a4dd6de # timeout=10 [2022-10-26T20:13:09.582Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:13:10.447Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T20:13:10.447Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:13:10.447Z] Dload Upload Total Spent Left Speed [2022-10-26T20:13:10.447Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh [2022-10-26T20:13:11.084Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T20:13:11.426Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T20:13:11.426Z] + sudo tee /etc/docker/daemon.new [2022-10-26T20:13:11.426Z] { [2022-10-26T20:13:11.426Z] "registry-mirrors": [ [2022-10-26T20:13:11.426Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T20:13:11.426Z] ], [2022-10-26T20:13:11.426Z] "bip": "10.250.0.254/24", [2022-10-26T20:13:11.426Z] "hosts": [ [2022-10-26T20:13:11.426Z] "tcp://0.0.0.0:5555", [2022-10-26T20:13:11.426Z] "unix:///var/run/docker.sock" [2022-10-26T20:13:11.426Z] ], [2022-10-26T20:13:11.426Z] "mtu": 1458, [2022-10-26T20:13:11.426Z] "selinux-enabled": true, [2022-10-26T20:13:11.426Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T20:13:11.426Z] } [Pipeline] sh [2022-10-26T20:13:11.786Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T20:13:12.146Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:13:30.478Z] provisioning config files... [2022-10-26T20:13:30.513Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config13289329113378314175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:13:30.886Z] ---> docker-login.sh [2022-10-26T20:13:30.886Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:13:31.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:13:31.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:13:31.478Z] Configure a credential helper to remove this warning. See [2022-10-26T20:13:31.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:13:31.478Z] [2022-10-26T20:13:31.748Z] Login Succeeded [2022-10-26T20:13:31.748Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:13:32.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:13:32.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:13:32.020Z] Configure a credential helper to remove this warning. See [2022-10-26T20:13:32.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:13:32.020Z] [2022-10-26T20:13:32.020Z] Login Succeeded [2022-10-26T20:13:32.020Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:13:32.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:13:32.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:13:32.568Z] Configure a credential helper to remove this warning. See [2022-10-26T20:13:32.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:13:32.568Z] [2022-10-26T20:13:32.568Z] Login Succeeded [2022-10-26T20:13:32.568Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:13:32.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:13:32.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:13:32.843Z] Configure a credential helper to remove this warning. See [2022-10-26T20:13:32.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:13:32.843Z] [2022-10-26T20:13:32.843Z] Login Succeeded [2022-10-26T20:13:32.843Z] docker.io [2022-10-26T20:13:33.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:13:33.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:13:33.703Z] Configure a credential helper to remove this warning. See [2022-10-26T20:13:33.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:13:33.703Z] [2022-10-26T20:13:33.703Z] Login Succeeded [2022-10-26T20:13:33.703Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:13:33.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:13:33.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:13:33.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:13:33.942Z] ========================================================= [2022-10-26T20:13:33.942Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T20:13:33.942Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:13:34.305Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T20:13:34.305Z] Sending build context to Docker daemon 128kB [2022-10-26T20:13:34.577Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:13:34.577Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T20:13:34.863Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T20:13:34.863Z] 9b18e9b68314: Pulling fs layer [2022-10-26T20:13:34.863Z] d32db5db7311: Pulling fs layer [2022-10-26T20:13:34.863Z] d0c4b47475fc: Pulling fs layer [2022-10-26T20:13:34.863Z] 5831b945b038: Pulling fs layer [2022-10-26T20:13:34.863Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T20:13:34.863Z] e10730c5d714: Pulling fs layer [2022-10-26T20:13:34.863Z] 5dd5c2283517: Pulling fs layer [2022-10-26T20:13:34.863Z] d5ac0230b979: Pulling fs layer [2022-10-26T20:13:34.863Z] e10730c5d714: Waiting [2022-10-26T20:13:34.863Z] 5dd5c2283517: Waiting [2022-10-26T20:13:34.863Z] d5ac0230b979: Waiting [2022-10-26T20:13:34.863Z] 5831b945b038: Waiting [2022-10-26T20:13:34.863Z] 86bbec2aaacd: Waiting [2022-10-26T20:13:34.863Z] d0c4b47475fc: Verifying Checksum [2022-10-26T20:13:34.863Z] d0c4b47475fc: Download complete [2022-10-26T20:13:34.863Z] d32db5db7311: Verifying Checksum [2022-10-26T20:13:34.863Z] d32db5db7311: Download complete [2022-10-26T20:13:34.863Z] 86bbec2aaacd: Download complete [2022-10-26T20:13:34.863Z] e10730c5d714: Verifying Checksum [2022-10-26T20:13:34.863Z] e10730c5d714: Download complete [2022-10-26T20:13:34.863Z] 9b18e9b68314: Verifying Checksum [2022-10-26T20:13:34.863Z] 9b18e9b68314: Download complete [2022-10-26T20:13:35.879Z] 9b18e9b68314: Pull complete [2022-10-26T20:13:36.156Z] d5ac0230b979: Verifying Checksum [2022-10-26T20:13:36.156Z] d5ac0230b979: Download complete [2022-10-26T20:13:36.438Z] d32db5db7311: Pull complete [2022-10-26T20:13:37.041Z] d0c4b47475fc: Pull complete [2022-10-26T20:13:37.646Z] 5dd5c2283517: Verifying Checksum [2022-10-26T20:13:37.646Z] 5dd5c2283517: Download complete [2022-10-26T20:13:38.624Z] 5831b945b038: Verifying Checksum [2022-10-26T20:13:38.624Z] 5831b945b038: Download complete [2022-10-26T20:13:51.001Z] 5831b945b038: Pull complete [2022-10-26T20:13:51.001Z] 86bbec2aaacd: Pull complete [2022-10-26T20:13:51.001Z] e10730c5d714: Pull complete [2022-10-26T20:13:57.735Z] 5dd5c2283517: Pull complete [2022-10-26T20:13:58.732Z] d5ac0230b979: Pull complete [2022-10-26T20:13:58.732Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T20:13:58.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T20:13:58.732Z] ---> 59b3b1a385d4 [2022-10-26T20:13:58.732Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:13:59.705Z] ---> Running in 10d4747bb9d6 [2022-10-26T20:13:59.973Z] Removing intermediate container 10d4747bb9d6 [2022-10-26T20:13:59.973Z] ---> f0e4702924b9 [2022-10-26T20:13:59.973Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:14:00.244Z] ---> Running in 509af4e276b3 [2022-10-26T20:14:00.513Z] Removing intermediate container 509af4e276b3 [2022-10-26T20:14:00.513Z] ---> b78572984050 [2022-10-26T20:14:00.513Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:14:00.513Z] ---> Running in 8dcdf8d951c3 [2022-10-26T20:14:01.103Z] Removing intermediate container 8dcdf8d951c3 [2022-10-26T20:14:01.103Z] ---> fd346b6f5b48 [2022-10-26T20:14:01.103Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:14:01.103Z] ---> Running in d0920f0a51e4 [2022-10-26T20:14:01.383Z] Removing intermediate container d0920f0a51e4 [2022-10-26T20:14:01.383Z] ---> e34c0ce6face [2022-10-26T20:14:01.383Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:14:01.383Z] ---> Running in 88b1f338a70b [2022-10-26T20:14:02.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:14:03.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:14:04.511Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:14:04.511Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T20:14:04.511Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:14:04.511Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:14:04.511Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:14:04.790Z] OK: 226 MiB in 55 packages [2022-10-26T20:14:05.799Z] Removing intermediate container 88b1f338a70b [2022-10-26T20:14:05.799Z] ---> a271c2ed65aa [2022-10-26T20:14:05.799Z] Step 8/12 : WORKDIR /device-rest-go [2022-10-26T20:14:06.079Z] ---> Running in d6731c743d76 [2022-10-26T20:14:06.349Z] Removing intermediate container d6731c743d76 [2022-10-26T20:14:06.349Z] ---> 00fa902bd166 [2022-10-26T20:14:06.349Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T20:14:06.944Z] ---> aabb96862637 [2022-10-26T20:14:06.944Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:14:07.233Z] ---> Running in 2943d95ba087 [2022-10-26T20:15:03.678Z] Removing intermediate container 2943d95ba087 [2022-10-26T20:15:03.678Z] ---> 97cc5578875a [2022-10-26T20:15:03.678Z] Step 11/12 : COPY . . [2022-10-26T20:15:03.678Z] ---> 3b0376557fa2 [2022-10-26T20:15:03.678Z] Step 12/12 : RUN $MAKE [2022-10-26T20:15:03.678Z] ---> Running in 506a42b53fe7 [2022-10-26T20:15:03.678Z] noop [2022-10-26T20:15:04.265Z] Removing intermediate container 506a42b53fe7 [2022-10-26T20:15:04.265Z] ---> db409e5fc13a [2022-10-26T20:15:04.265Z] Successfully built db409e5fc13a [2022-10-26T20:15:04.265Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:15:04.887Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:15:04.887Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:15:05.091Z] prd-ubuntu20.04-docker-arm64-4c-16g-117293 does not seem to be running inside a container [2022-10-26T20:15:05.174Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** ci-base-image-arm64 cat [2022-10-26T20:15:06.529Z] $ docker top aec663a479530be5eae754022bb6175355d1e14bfabf6e0e24d4c3cb33d3eda9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:15:07.406Z] + go version [2022-10-26T20:15:07.406Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T20:15:07.433Z] $ docker stop --time=1 aec663a479530be5eae754022bb6175355d1e14bfabf6e0e24d4c3cb33d3eda9 [2022-10-26T20:15:09.136Z] $ docker rm -f aec663a479530be5eae754022bb6175355d1e14bfabf6e0e24d4c3cb33d3eda9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:15:09.689Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:15:09.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:15:09.891Z] prd-ubuntu20.04-docker-arm64-4c-16g-117293 does not seem to be running inside a container [2022-10-26T20:15:09.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** ci-base-image-arm64 cat [2022-10-26T20:15:11.342Z] $ docker top 76c4f4ec031250fcf6314eaa35457c28019a8350ec20adb5e335cb27686d5322 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:15:12.225Z] + git config --global --add safe.directory /w/workspace/device-rest-go/6 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:15:12.893Z] + make test [2022-10-26T20:15:12.893Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T20:15:14.871Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-26T20:17:06.596Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-26T20:17:06.596Z] ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 55.2% of statements [2022-10-26T20:17:06.596Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T20:17:06.596Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:17:24.826Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:17:24.826Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:17:24.826Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:17:24.845Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:17:24.864Z] $ docker stop --time=1 76c4f4ec031250fcf6314eaa35457c28019a8350ec20adb5e335cb27686d5322 [2022-10-26T20:17:26.733Z] $ docker rm -f 76c4f4ec031250fcf6314eaa35457c28019a8350ec20adb5e335cb27686d5322 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:17:27.805Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:17:27.827Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T20:17:28.457Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:17:28.880Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:17:29.231Z] + ls -al . [2022-10-26T20:17:29.231Z] total 184 [2022-10-26T20:17:29.231Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:15 . [2022-10-26T20:17:29.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:13 .. [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 20:13 .dockerignore [2022-10-26T20:17:29.231Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:13 .git [2022-10-26T20:17:29.231Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:13 .github [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 20:13 .gitignore [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:13 .golangci.yml [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 26 20:13 Attribution.txt [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 26 20:13 CHANGELOG.md [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 1641 Oct 26 20:13 Dockerfile [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:13 GOVERNANCE.md [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 20:13 Jenkinsfile [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:13 LICENSE [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 26 20:13 Makefile [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 20:13 OWNERS.md [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 26 20:13 README.md [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:10 VERSION [2022-10-26T20:17:29.231Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:13 bin [2022-10-26T20:17:29.231Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:13 cmd [2022-10-26T20:17:29.231Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 26 20:16 coverage.out [2022-10-26T20:17:29.231Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:13 driver [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 3536 Oct 26 20:13 go.mod [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 45144 Oct 26 20:13 go.sum [2022-10-26T20:17:29.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:13 snap [2022-10-26T20:17:29.231Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 20:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:17:29.567Z] + 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=350a65c731730f67ca503570233d7e961a4dd6de --label arch=arm64 --label version=0.0.0 . [2022-10-26T20:17:29.567Z] Sending build context to Docker daemon 138.2kB [2022-10-26T20:17:29.845Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:17:29.845Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-26T20:17:29.845Z] ---> db409e5fc13a [2022-10-26T20:17:29.845Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:17:29.845Z] ---> Running in cad7ce9624f6 [2022-10-26T20:17:30.442Z] Removing intermediate container cad7ce9624f6 [2022-10-26T20:17:30.442Z] ---> 0b61493051f9 [2022-10-26T20:17:30.442Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:17:30.442Z] ---> Running in 7f30f71ec50b [2022-10-26T20:17:31.028Z] Removing intermediate container 7f30f71ec50b [2022-10-26T20:17:31.028Z] ---> 1362fc2ac480 [2022-10-26T20:17:31.028Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:17:31.028Z] ---> Running in d088eed746c9 [2022-10-26T20:17:31.615Z] Removing intermediate container d088eed746c9 [2022-10-26T20:17:31.615Z] ---> 1e5294582f20 [2022-10-26T20:17:31.615Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:17:31.615Z] ---> Running in 247e77c19c76 [2022-10-26T20:17:32.199Z] Removing intermediate container 247e77c19c76 [2022-10-26T20:17:32.199Z] ---> 1513d5b84e1f [2022-10-26T20:17:32.199Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:17:32.199Z] ---> Running in 3c5ea205deea [2022-10-26T20:17:33.614Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:17:33.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:17:34.847Z] OK: 226 MiB in 55 packages [2022-10-26T20:17:35.815Z] Removing intermediate container 3c5ea205deea [2022-10-26T20:17:35.815Z] ---> bb79e92b6f7e [2022-10-26T20:17:35.815Z] Step 8/25 : WORKDIR /device-rest-go [2022-10-26T20:17:36.083Z] ---> Running in 2d673166d79b [2022-10-26T20:17:36.356Z] Removing intermediate container 2d673166d79b [2022-10-26T20:17:36.356Z] ---> a26b48ef8170 [2022-10-26T20:17:36.356Z] Step 9/25 : COPY go.mod vendor* ./ [2022-10-26T20:17:36.941Z] ---> 5d5d09499d7b [2022-10-26T20:17:36.941Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:17:36.941Z] ---> Running in 51e681911399 [2022-10-26T20:17:39.541Z] Removing intermediate container 51e681911399 [2022-10-26T20:17:39.541Z] ---> 073fba5a8700 [2022-10-26T20:17:39.541Z] Step 11/25 : COPY . . [2022-10-26T20:17:40.516Z] ---> b286d3ecc4a7 [2022-10-26T20:17:40.516Z] Step 12/25 : RUN $MAKE [2022-10-26T20:17:40.516Z] ---> Running in 02a42bc965e8 [2022-10-26T20:17:41.935Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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-10-26T20:20:48.996Z] Removing intermediate container 02a42bc965e8 [2022-10-26T20:20:48.996Z] ---> c5b810e4db4f [2022-10-26T20:20:48.996Z] Step 13/25 : FROM alpine:3.16 [2022-10-26T20:20:48.996Z] 3.16: Pulling from library/alpine [2022-10-26T20:20:48.996Z] 9b18e9b68314: Already exists [2022-10-26T20:20:48.996Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T20:20:48.996Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T20:20:48.996Z] ---> a6215f271958 [2022-10-26T20:20:48.996Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T20:20:48.996Z] ---> Running in cf99bd1446b1 [2022-10-26T20:20:48.996Z] Removing intermediate container cf99bd1446b1 [2022-10-26T20:20:48.996Z] ---> 35c7b6255ee0 [2022-10-26T20:20:48.996Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-26T20:20:48.996Z] ---> Running in 99e86721e007 [2022-10-26T20:20:48.996Z] Removing intermediate container 99e86721e007 [2022-10-26T20:20:48.996Z] ---> 4b11332d7dbd [2022-10-26T20:20:48.996Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:20:48.996Z] ---> Running in 43d3edd20ead [2022-10-26T20:20:48.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:20:48.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:20:48.996Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:20:48.996Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T20:20:48.996Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:20:48.996Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T20:20:48.996Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:20:48.996Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:20:48.996Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:20:48.996Z] OK: 8 MiB in 20 packages [2022-10-26T20:20:48.996Z] Removing intermediate container 43d3edd20ead [2022-10-26T20:20:48.996Z] ---> 6dccb09b2390 [2022-10-26T20:20:48.996Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-10-26T20:20:48.996Z] ---> 3daf3d294ce9 [2022-10-26T20:20:48.996Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-26T20:20:48.996Z] ---> 646907189829 [2022-10-26T20:20:48.996Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-26T20:20:49.583Z] ---> 12d9f269ef4b [2022-10-26T20:20:49.583Z] Step 20/25 : EXPOSE 59986 [2022-10-26T20:20:49.583Z] ---> Running in bf8f36e74f0e [2022-10-26T20:20:49.853Z] Removing intermediate container bf8f36e74f0e [2022-10-26T20:20:49.853Z] ---> 4601c611328a [2022-10-26T20:20:49.853Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-10-26T20:20:50.134Z] ---> Running in 030e2c58903e [2022-10-26T20:20:50.403Z] Removing intermediate container 030e2c58903e [2022-10-26T20:20:50.403Z] ---> feafbc1934fc [2022-10-26T20:20:50.403Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-26T20:20:50.403Z] ---> Running in 09265c8dea93 [2022-10-26T20:20:50.691Z] Removing intermediate container 09265c8dea93 [2022-10-26T20:20:50.691Z] ---> 6f75d8c4632f [2022-10-26T20:20:50.691Z] Step 23/25 : LABEL arch=arm64 [2022-10-26T20:20:50.962Z] ---> Running in 7b0f73d9026d [2022-10-26T20:20:51.235Z] Removing intermediate container 7b0f73d9026d [2022-10-26T20:20:51.235Z] ---> 9d553b36f816 [2022-10-26T20:20:51.235Z] Step 24/25 : LABEL git_sha=350a65c731730f67ca503570233d7e961a4dd6de [2022-10-26T20:20:51.235Z] ---> Running in b68345a6b4b6 [2022-10-26T20:20:51.505Z] Removing intermediate container b68345a6b4b6 [2022-10-26T20:20:51.505Z] ---> 3d7cce86efa5 [2022-10-26T20:20:51.505Z] Step 25/25 : LABEL version=0.0.0 [2022-10-26T20:20:51.774Z] ---> Running in 53f972fb92fb [2022-10-26T20:20:52.044Z] Removing intermediate container 53f972fb92fb [2022-10-26T20:20:52.044Z] ---> 939d16d0abda [2022-10-26T20:20:52.044Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:20:52.044Z] Successfully built 939d16d0abda [2022-10-26T20:20:52.044Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:20:52.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:20:52.496Z] [2022-10-26T20:20:52.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:20:52.853Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:20:52.853Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T20:20:52.853Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T20:20:52.853Z] 04944245beec: Pulling fs layer [2022-10-26T20:20:52.853Z] 699f458cf7ca: Pulling fs layer [2022-10-26T20:20:52.853Z] 765212b225bb: Pulling fs layer [2022-10-26T20:20:52.853Z] f23df028b6ca: Pulling fs layer [2022-10-26T20:20:52.853Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T20:20:52.853Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T20:20:52.853Z] f23df028b6ca: Waiting [2022-10-26T20:20:52.853Z] d65c8cfc05b1: Waiting [2022-10-26T20:20:52.853Z] 2437ff75d9bd: Waiting [2022-10-26T20:20:52.853Z] 765212b225bb: Waiting [2022-10-26T20:20:53.124Z] 04944245beec: Verifying Checksum [2022-10-26T20:20:53.124Z] 04944245beec: Download complete [2022-10-26T20:20:53.124Z] 765212b225bb: Verifying Checksum [2022-10-26T20:20:53.124Z] 765212b225bb: Download complete [2022-10-26T20:20:53.124Z] f23df028b6ca: Download complete [2022-10-26T20:20:53.124Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T20:20:53.124Z] d65c8cfc05b1: Download complete [2022-10-26T20:20:53.395Z] 699f458cf7ca: Verifying Checksum [2022-10-26T20:20:53.395Z] 699f458cf7ca: Download complete [2022-10-26T20:20:53.668Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T20:20:53.668Z] 8998bd30e6a1: Download complete [2022-10-26T20:20:56.309Z] 2437ff75d9bd: Download complete [2022-10-26T20:20:58.263Z] 8998bd30e6a1: Pull complete [2022-10-26T20:20:58.530Z] 04944245beec: Pull complete [2022-10-26T20:20:59.959Z] 699f458cf7ca: Pull complete [2022-10-26T20:21:00.228Z] 765212b225bb: Pull complete [2022-10-26T20:21:00.815Z] f23df028b6ca: Pull complete [2022-10-26T20:21:01.084Z] d65c8cfc05b1: Pull complete [2022-10-26T20:21:16.097Z] 2437ff75d9bd: Pull complete [2022-10-26T20:21:16.097Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T20:21:16.097Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:21:16.097Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:21:16.306Z] prd-ubuntu20.04-docker-arm64-4c-16g-117293 does not seem to be running inside a container [2022-10-26T20:21:16.399Z] $ 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/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T20:21:19.383Z] $ docker top 0a694aa19097f7ec937a261b6e24c308b79d7ae29c9f3d216303ab6e01c08c54 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:21:20.239Z] ---> job-cost.sh [2022-10-26T20:21:20.239Z] lf-activate-venv: SKIPPING [2022-10-26T20:21:20.239Z] INFO: No Stack... [2022-10-26T20:21:20.826Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T20:21:21.411Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:21:22.061Z] + cat /w/workspace/device-rest-go/6/archives/cost.csv [2022-10-26T20:21:22.061Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:21:22.103Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-6-stack-cost] [2022-10-26T20:21:22.109Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-222-6-stack-cost] did not exist. Created. [2022-10-26T20:21:22.109Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:21:22.776Z] /w/workspace/device-rest-go/6@tmp/durable-6ee2f3ef/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T20:21:23.442Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T20:21:23.467Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T20:21:23.518Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:21:23.525Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:21:23.555Z] $ docker stop --time=1 0a694aa19097f7ec937a261b6e24c308b79d7ae29c9f3d216303ab6e01c08c54 [2022-10-26T20:21:25.097Z] $ docker rm -f 0a694aa19097f7ec937a261b6e24c308b79d7ae29c9f3d216303ab6e01c08c54 [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-10-26T20:21:25.487Z] provisioning config files... [2022-10-26T20:21:25.495Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config10170858235977635643tmp [Pipeline] { [Pipeline] sh [2022-10-26T20:21:25.795Z] + set +x [2022-10-26T20:21:25.795Z] + curl -s https://codecov.io/bash [2022-10-26T20:21:25.795Z] + bash -s -- [2022-10-26T20:21:25.795Z] [2022-10-26T20:21:25.795Z] _____ _ [2022-10-26T20:21:25.795Z] / ____| | | [2022-10-26T20:21:25.795Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T20:21:25.795Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T20:21:25.795Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T20:21:25.795Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T20:21:25.795Z] Bash-1.0.6 [2022-10-26T20:21:25.795Z] [2022-10-26T20:21:25.795Z] [2022-10-26T20:21:25.795Z] ==> git version 2.25.1 found [2022-10-26T20:21:25.795Z] ==> 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-10-26T20:21:25.795Z] Release-Date: 2020-01-08 [2022-10-26T20:21:25.795Z] 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-10-26T20:21:25.795Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T20:21:25.795Z] ==> Jenkins CI detected. [2022-10-26T20:21:25.795Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-222 [2022-10-26T20:21:25.795Z] project root: . [2022-10-26T20:21:25.795Z] --> token set from env [2022-10-26T20:21:25.795Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T20:21:25.795Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T20:21:25.795Z] ==> Python coveragepy not found [2022-10-26T20:21:25.795Z] ==> Searching for coverage reports in: [2022-10-26T20:21:25.795Z] + . [2022-10-26T20:21:25.795Z] -> Found 1 reports [2022-10-26T20:21:25.795Z] ==> Detecting git/mercurial file structure [2022-10-26T20:21:25.795Z] ==> Reading reports [2022-10-26T20:21:25.795Z] + ./coverage.out bytes=9355 [2022-10-26T20:21:25.795Z] ==> Appending adjustments [2022-10-26T20:21:25.795Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T20:21:26.055Z] + Found adjustments [2022-10-26T20:21:26.055Z] ==> Gzipping contents [2022-10-26T20:21:26.055Z] 4.0K /tmp/codecov.ily1dg.gz [2022-10-26T20:21:26.055Z] ==> Uploading reports [2022-10-26T20:21:26.055Z] url: https://codecov.io [2022-10-26T20:21:26.055Z] query: branch=PR-222&commit=350a65c731730f67ca503570233d7e961a4dd6de&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-222%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=222&job=&cmd_args= [2022-10-26T20:21:26.055Z] -> Pinging Codecov [2022-10-26T20:21:26.055Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-222&commit=350a65c731730f67ca503570233d7e961a4dd6de&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-222%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=222&job=&cmd_args= [2022-10-26T20:21:26.313Z] -> Uploading to [2022-10-26T20:21:26.313Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/4E5D53B4F1F92C436F7061BF334D961C/350a65c731730f67ca503570233d7e961a4dd6de/83bd3fab-1767-48c4-8213-8a6d39644902.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T202126Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af66ba896de2828ae6af63d76a6956ca0751ef3611f54df322b81a4f248971f4 [2022-10-26T20:21:26.313Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:21:26.313Z] Dload Upload Total Spent Left Speed [2022-10-26T20:21:26.572Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7241 --:--:-- --:--:-- --:--:-- 7241 [2022-10-26T20:21:26.572Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/350a65c731730f67ca503570233d7e961a4dd6de [Pipeline] } [2022-10-26T20:21:26.579Z] 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-10-26T20:21:27.244Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-222/archives ] [2022-10-26T20:21:27.244Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-10-26T20:21:27.244Z] total 16 [2022-10-26T20:21:27.244Z] drwxr-xr-x 3 root root 4096 Oct 26 20:12 . [2022-10-26T20:21:27.244Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:12 .. [2022-10-26T20:21:27.244Z] drwxr-xr-x 2 root root 4096 Oct 26 20:12 cost [2022-10-26T20:21:27.244Z] -rw-r--r-- 1 root root 86 Oct 26 20:12 cost.csv [2022-10-26T20:21:27.244Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-10-26T20:21:27.244Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-10-26T20:21:27.244Z] total 16 [2022-10-26T20:21:27.244Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:12 . [2022-10-26T20:21:27.244Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:12 .. [2022-10-26T20:21:27.244Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:12 cost [2022-10-26T20:21:27.244Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 26 20:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:21:27.534Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:21:28.390Z] ---> package-listing.sh [2022-10-26T20:21:28.390Z] ++ facter osfamily [2022-10-26T20:21:28.390Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T20:21:28.651Z] + OS_FAMILY=debian [2022-10-26T20:21:28.651Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-222 [2022-10-26T20:21:28.651Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T20:21:28.651Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T20:21:28.651Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T20:21:28.651Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T20:21:28.651Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' [2022-10-26T20:21:28.651Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T20:21:28.651Z] + case "${OS_FAMILY}" in [2022-10-26T20:21:28.651Z] + dpkg -l [2022-10-26T20:21:28.651Z] + grep '^ii' [2022-10-26T20:21:28.651Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T20:21:28.651Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T20:21:28.651Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T20:21:28.651Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' [2022-10-26T20:21:28.651Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [2022-10-26T20:21:28.651Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [Pipeline] echo [2022-10-26T20:21:28.663Z] 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-222/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T20:21:28.941Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:21:29.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:21:29.490Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:21:29.553Z] prd-ubuntu20.04-docker-8c-8g-117287 does not seem to be running inside a container [2022-10-26T20:21:29.583Z] $ 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-222/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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@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:latest cat [2022-10-26T20:21:29.813Z] $ docker top b19efb64408f002d37de2f41f61a7edfc12ca3899c1a3ff78f803e2346c69a2a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:21:30.154Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T20:21:30.441Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T20:21:30.724Z] + ls /var/log/sa-host [2022-10-26T20:21:30.724Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:21:30.791Z] provisioning config files... [2022-10-26T20:21:30.804Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config8918454056917885675tmp [Pipeline] { [Pipeline] echo [2022-10-26T20:21:30.819Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:21:31.101Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T20:21:31.107Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:21:31.431Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T20:21:31.439Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:21:31.722Z] ---> sudo-logs.sh [2022-10-26T20:21:31.723Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T20:21:31.743Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:21:32.025Z] ---> job-cost.sh [2022-10-26T20:21:32.026Z] lf-activate-venv: SKIPPING [2022-10-26T20:21:32.026Z] DEBUG: total: 0.2199999988079071 [2022-10-26T20:21:32.026Z] INFO: Retrieving Stack Cost... [2022-10-26T20:21:32.593Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:21:32.851Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T20:21:32.863Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:21:33.145Z] ---> logs-deploy.sh [2022-10-26T20:21:33.145Z] lf-activate-venv: SKIPPING [2022-10-26T20:21:33.145Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-222/6 [2022-10-26T20:21:33.145Z] INFO: archiving workspace using pattern(s): [2022-10-26T20:21:34.080Z] Archives upload complete. [2022-10-26T20:21:34.080Z] INFO: archiving logs to Nexus