Pull request #219 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Obtained Jenkinsfile from 6e8a5909a9c906afe33035ec85f5e357b03f38e9+da0fc691370f2a0b0463f80469643f152cdbe902 (aef7cd99413f10e10b3a9f3bee7a30213dc353bc) 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-ssh15756391549273034372.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh5758340535553181024.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11485554784749905119.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-219/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7002960393261730260.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh5004787272005243155.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-219/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-219/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12480041520979960292.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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-7860 in /w/workspace/gexfoundry_device-rest-go_PR-219 [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-219 # 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/219/head:refs/remotes/origin/PR-219 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit da0fc691370f2a0b0463f80469643f152cdbe902 into PR head commit 6e8a5909a9c906afe33035ec85f5e357b03f38e9 Merge succeeded, producing 6e8a5909a9c906afe33035ec85f5e357b03f38e9 Checking out Revision 6e8a5909a9c906afe33035ec85f5e357b03f38e9 (PR-219) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e8a5909a9c906afe33035ec85f5e357b03f38e9 # 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 da0fc691370f2a0b0463f80469643f152cdbe902 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e8a5909a9c906afe33035ec85f5e357b03f38e9 # timeout=10 Commit message: "feat(snap): add config interface with unique identifier" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-14T13:15:34.970Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-14T13:15:35.135Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-14T13:15:35.229Z] ========================================================= [2022-10-14T13:15:35.229Z] EdgeX Global Pipelines Version Info [2022-10-14T13:15:35.229Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:15:35.959Z] ------------------- [2022-10-14T13:15:35.959Z] stable info: [2022-10-14T13:15:35.959Z] ------------------- [2022-10-14T13:15:35.959Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-14T13:15:35.959Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-14T13:15:35.959Z] Message: update stable to v1.0.239 [2022-10-14T13:15:36.531Z] ------------------- [2022-10-14T13:15:36.531Z] experimental info: [2022-10-14T13:15:36.531Z] ------------------- [2022-10-14T13:15:36.531Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-14T13:15:36.531Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-14T13:15:36.531Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-14T13:15:36.815Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-14T13:15:36.861Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-14T13:15:36.906Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-14T13:15:36.959Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-14T13:15:37.004Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-14T13:15:37.051Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-14T13:15:37.093Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-14T13:15:37.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-14T13:15:37.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-14T13:15:37.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-14T13:15:37.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-14T13:15:37.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-14T13:15:37.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-14T13:15:37.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-14T13:15:37.455Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-14T13:15:37.501Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-14T13:15:37.542Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-14T13:15:37.587Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-14T13:15:37.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-14T13:15:37.669Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-14T13:15:37.715Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-14T13:15:37.757Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-14T13:15:37.799Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-14T13:15:37.838Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-14T13:15:37.878Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-14T13:15:37.917Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-14T13:15:37.959Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-14T13:15:38.004Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-219 [Pipeline] echo [2022-10-14T13:15:38.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-219 [Pipeline] echo [2022-10-14T13:15:38.092Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-219 [Pipeline] echo [2022-10-14T13:15:38.136Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e8a5909a9c906afe33035ec85f5e357b03f38e9 [Pipeline] echo [2022-10-14T13:15:38.183Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e8a590 [Pipeline] echo [2022-10-14T13:15:38.229Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-14T13:15:38.347Z] provisioning config files... [2022-10-14T13:15:38.363Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-219@tmp/config9186603203935735499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:15:38.710Z] ---> docker-login.sh [2022-10-14T13:15:38.710Z] nexus3.edgexfoundry.org:10001 [2022-10-14T13:15:39.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:15:39.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:15:39.279Z] Configure a credential helper to remove this warning. See [2022-10-14T13:15:39.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:15:39.279Z] [2022-10-14T13:15:39.279Z] Login Succeeded [2022-10-14T13:15:39.279Z] nexus3.edgexfoundry.org:10002 [2022-10-14T13:15:39.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:15:39.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:15:39.279Z] Configure a credential helper to remove this warning. See [2022-10-14T13:15:39.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:15:39.279Z] [2022-10-14T13:15:39.279Z] Login Succeeded [2022-10-14T13:15:39.279Z] nexus3.edgexfoundry.org:10003 [2022-10-14T13:15:39.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:15:39.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:15:39.539Z] Configure a credential helper to remove this warning. See [2022-10-14T13:15:39.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:15:39.539Z] [2022-10-14T13:15:39.539Z] Login Succeeded [2022-10-14T13:15:39.539Z] nexus3.edgexfoundry.org:10004 [2022-10-14T13:15:39.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:15:39.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:15:39.539Z] Configure a credential helper to remove this warning. See [2022-10-14T13:15:39.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:15:39.539Z] [2022-10-14T13:15:39.539Z] Login Succeeded [2022-10-14T13:15:39.539Z] docker.io [2022-10-14T13:15:39.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:15:40.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:15:40.064Z] Configure a credential helper to remove this warning. See [2022-10-14T13:15:40.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:15:40.064Z] [2022-10-14T13:15:40.064Z] Login Succeeded [2022-10-14T13:15:40.064Z] ---> docker-login.sh ends [Pipeline] } [2022-10-14T13:15:40.096Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-14T13:15:40.905Z] + git rev-list -1 --merges 6e8a5909a9c906afe33035ec85f5e357b03f38e9~1..6e8a5909a9c906afe33035ec85f5e357b03f38e9 [Pipeline] echo [2022-10-14T13:15:40.948Z] -----------> git rev-list -1 --merges 6e8a5909a9c906afe33035ec85f5e357b03f38e9~1..6e8a5909a9c906afe33035ec85f5e357b03f38e9 6e8a5909a9c906afe33035ec85f5e357b03f38e9 [false] [Pipeline] sh [2022-10-14T13:15:41.265Z] + git log --format=format:%s -1 6e8a5909a9c906afe33035ec85f5e357b03f38e9 [Pipeline] echo [2022-10-14T13:15:41.302Z] ========================================================= [2022-10-14T13:15:41.302Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-14T13:15:41.302Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-14T13:15:41.745Z] + git log --format=format:%s -1 6e8a5909a9c906afe33035ec85f5e357b03f38e9 [Pipeline] echo [2022-10-14T13:15:41.778Z] [semverPrep] GIT_COMMIT: 6e8a5909a9c906afe33035ec85f5e357b03f38e9, Commit Message: feat(snap): add config interface with unique identifier [Pipeline] echo [2022-10-14T13:15:41.809Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-14T13:15:42.175Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-14T13:15:42.175Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-14T13:15:42.175Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-14T13:15:42.175Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-14T13:15:42.175Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-14T13:15:42.175Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-14T13:15:42.175Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:15:42.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-14T13:15:42.591Z] [2022-10-14T13:15:42.591Z] 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-14T13:15:42.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-14T13:15:43.226Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-14T13:15:43.226Z] b85a868b505f: Pulling fs layer [2022-10-14T13:15:43.226Z] e2be974225ed: Pulling fs layer [2022-10-14T13:15:43.226Z] 339a4e72a1f5: Pulling fs layer [2022-10-14T13:15:43.226Z] 988bab9f4d93: Pulling fs layer [2022-10-14T13:15:43.226Z] 1469e6f7b9e6: Pulling fs layer [2022-10-14T13:15:43.226Z] eaf3925da568: Pulling fs layer [2022-10-14T13:15:43.226Z] bab4dde63d76: Pulling fs layer [2022-10-14T13:15:43.226Z] bde34c3a00c8: Pulling fs layer [2022-10-14T13:15:43.226Z] b352a97aabf1: Pulling fs layer [2022-10-14T13:15:43.226Z] 4872d77fe225: Pulling fs layer [2022-10-14T13:15:43.226Z] 5851b861e8e6: Pulling fs layer [2022-10-14T13:15:43.226Z] 1469e6f7b9e6: Waiting [2022-10-14T13:15:43.226Z] eaf3925da568: Waiting [2022-10-14T13:15:43.226Z] bab4dde63d76: Waiting [2022-10-14T13:15:43.226Z] bde34c3a00c8: Waiting [2022-10-14T13:15:43.226Z] b352a97aabf1: Waiting [2022-10-14T13:15:43.226Z] 4872d77fe225: Waiting [2022-10-14T13:15:43.226Z] 5851b861e8e6: Waiting [2022-10-14T13:15:43.226Z] 988bab9f4d93: Waiting [2022-10-14T13:15:43.226Z] e2be974225ed: Verifying Checksum [2022-10-14T13:15:43.226Z] e2be974225ed: Download complete [2022-10-14T13:15:43.226Z] 988bab9f4d93: Verifying Checksum [2022-10-14T13:15:43.226Z] 988bab9f4d93: Download complete [2022-10-14T13:15:43.226Z] 1469e6f7b9e6: Verifying Checksum [2022-10-14T13:15:43.226Z] 1469e6f7b9e6: Download complete [2022-10-14T13:15:43.226Z] eaf3925da568: Verifying Checksum [2022-10-14T13:15:43.226Z] eaf3925da568: Download complete [2022-10-14T13:15:43.226Z] 339a4e72a1f5: Verifying Checksum [2022-10-14T13:15:43.226Z] 339a4e72a1f5: Download complete [2022-10-14T13:15:43.226Z] bde34c3a00c8: Verifying Checksum [2022-10-14T13:15:43.226Z] bde34c3a00c8: Download complete [2022-10-14T13:15:43.226Z] b352a97aabf1: Verifying Checksum [2022-10-14T13:15:43.226Z] b352a97aabf1: Download complete [2022-10-14T13:15:43.488Z] 4872d77fe225: Verifying Checksum [2022-10-14T13:15:43.488Z] 4872d77fe225: Download complete [2022-10-14T13:15:43.488Z] 5851b861e8e6: Verifying Checksum [2022-10-14T13:15:43.488Z] 5851b861e8e6: Download complete [2022-10-14T13:15:43.488Z] b85a868b505f: Verifying Checksum [2022-10-14T13:15:43.488Z] b85a868b505f: Download complete [2022-10-14T13:15:43.746Z] bab4dde63d76: Verifying Checksum [2022-10-14T13:15:43.746Z] bab4dde63d76: Download complete [2022-10-14T13:15:44.684Z] b85a868b505f: Pull complete [2022-10-14T13:15:44.943Z] e2be974225ed: Pull complete [2022-10-14T13:15:45.510Z] 339a4e72a1f5: Pull complete [2022-10-14T13:15:45.510Z] 988bab9f4d93: Pull complete [2022-10-14T13:15:45.768Z] 1469e6f7b9e6: Pull complete [2022-10-14T13:15:45.768Z] eaf3925da568: Pull complete [2022-10-14T13:15:47.672Z] bab4dde63d76: Pull complete [2022-10-14T13:15:47.672Z] bde34c3a00c8: Pull complete [2022-10-14T13:15:47.672Z] b352a97aabf1: Pull complete [2022-10-14T13:15:47.930Z] 4872d77fe225: Pull complete [2022-10-14T13:15:47.930Z] 5851b861e8e6: Pull complete [2022-10-14T13:15:47.930Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-14T13:15:47.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-14T13:15:47.930Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:15:48.164Z] prd-ubuntu20.04-docker-8c-8g-7860 does not seem to be running inside a container [2022-10-14T13:15:48.195Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-219 -v /w/workspace/gexfoundry_device-rest-go_PR-219:/w/workspace/gexfoundry_device-rest-go_PR-219:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-219@tmp:/w/workspace/gexfoundry_device-rest-go_PR-219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-14T13:15:50.305Z] $ docker top d66c6dfd84255d42177b71b3fd00ff99179f914e4e0e1339194d513654eac33a -eo pid,comm [2022-10-14T13:15:50.353Z] 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-14T13:15:50.353Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-14T13:15:50.480Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-14T13:15:50.480Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-14T13:15:50.599Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-14T13:15:50.605Z] $ docker exec d66c6dfd84255d42177b71b3fd00ff99179f914e4e0e1339194d513654eac33a ssh-agent [2022-10-14T13:15:50.711Z] SSH_AUTH_SOCK=/tmp/ssh-bMC5SwkKV2hR/agent.33 [2022-10-14T13:15:50.711Z] SSH_AGENT_PID=39 [2022-10-14T13:15:50.716Z] Running ssh-add (command line suppressed) [2022-10-14T13:15:50.816Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-219@tmp/private_key_7648281984019066717.key (/w/workspace/gexfoundry_device-rest-go_PR-219@tmp/private_key_7648281984019066717.key) [2022-10-14T13:15:50.828Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-14T13:15:51.158Z] + git tag --points-at HEAD [Pipeline] } [2022-10-14T13:15:51.186Z] $ docker exec --env ******** --env ******** d66c6dfd84255d42177b71b3fd00ff99179f914e4e0e1339194d513654eac33a ssh-agent -k [2022-10-14T13:15:51.283Z] unset SSH_AUTH_SOCK; [2022-10-14T13:15:51.284Z] unset SSH_AGENT_PID; [2022-10-14T13:15:51.284Z] echo Agent pid 39 killed; [2022-10-14T13:15:51.289Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-14T13:15:51.379Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-14T13:15:51.379Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-14T13:15:51.502Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-14T13:15:51.508Z] $ docker exec d66c6dfd84255d42177b71b3fd00ff99179f914e4e0e1339194d513654eac33a ssh-agent [2022-10-14T13:15:51.620Z] SSH_AUTH_SOCK=/tmp/ssh-Mwm8VNu3KSbg/agent.71 [2022-10-14T13:15:51.620Z] SSH_AGENT_PID=77 [2022-10-14T13:15:51.624Z] Running ssh-add (command line suppressed) [2022-10-14T13:15:51.743Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-219@tmp/private_key_2872937814156580493.key (/w/workspace/gexfoundry_device-rest-go_PR-219@tmp/private_key_2872937814156580493.key) [2022-10-14T13:15:51.755Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-14T13:15:52.089Z] + git semver init [2022-10-14T13:15:52.347Z] 2022-10-14 13:15:52,273 [run_init] DEBUG init version:0.0.0 force:False [2022-10-14T13:15:52.347Z] 2022-10-14 13:15:52,273 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-219/.semver [2022-10-14T13:15:52.347Z] 2022-10-14 13:15:52,274 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-219/.semver [2022-10-14T13:15:52.347Z] 2022-10-14 13:15:52,274 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-219/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-219, universal_newlines=False, shell=None, istream=None) [2022-10-14T13:15:53.725Z] 2022-10-14 13:15:53,386 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-219/.git/info/exclude [2022-10-14T13:15:53.725Z] 2022-10-14 13:15:53,387 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-219/.semver/PR-219 with force:False [2022-10-14T13:15:53.725Z] 2022-10-14 13:15:53,387 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-219/.semver/PR-219 [2022-10-14T13:15:53.725Z] 2022-10-14 13:15:53,391 [execute] INFO git cat-file --batch-check [2022-10-14T13:15:53.725Z] 2022-10-14 13:15:53,391 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-219/.semver, universal_newlines=False, shell=None, istream=) [2022-10-14T13:15:53.725Z] 2022-10-14 13:15:53,398 [execute] INFO git cat-file --batch [2022-10-14T13:15:53.725Z] 2022-10-14 13:15:53,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-219/.semver, universal_newlines=False, shell=None, istream=) [2022-10-14T13:15:53.725Z] 2022-10-14 13:15:53,404 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-219/.semver/PR-219 [2022-10-14T13:15:53.725Z] 0.0.0 [Pipeline] } [2022-10-14T13:15:53.756Z] $ docker exec --env ******** --env ******** d66c6dfd84255d42177b71b3fd00ff99179f914e4e0e1339194d513654eac33a ssh-agent -k [2022-10-14T13:15:53.854Z] unset SSH_AUTH_SOCK; [2022-10-14T13:15:53.854Z] unset SSH_AGENT_PID; [2022-10-14T13:15:53.854Z] echo Agent pid 77 killed; [2022-10-14T13:15:53.862Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-14T13:15:54.370Z] + git semver [Pipeline] } [2022-10-14T13:15:54.687Z] $ docker stop --time=1 d66c6dfd84255d42177b71b3fd00ff99179f914e4e0e1339194d513654eac33a [2022-10-14T13:15:56.568Z] $ docker rm -f d66c6dfd84255d42177b71b3fd00ff99179f914e4e0e1339194d513654eac33a [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-14T13:15:56.979Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-14T13:15:57.261Z] Stashed 1 file(s) [Pipeline] echo [2022-10-14T13:15:57.279Z] [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-14T13:15:57.861Z] provisioning config files... [2022-10-14T13:15:57.870Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-219@tmp/config14476912141827501710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:15:58.222Z] ---> docker-login.sh [2022-10-14T13:15:58.222Z] nexus3.edgexfoundry.org:10001 [2022-10-14T13:15:58.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:15:58.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:15:58.222Z] Configure a credential helper to remove this warning. See [2022-10-14T13:15:58.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:15:58.222Z] [2022-10-14T13:15:58.222Z] Login Succeeded [2022-10-14T13:15:58.222Z] nexus3.edgexfoundry.org:10002 [2022-10-14T13:15:58.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:15:58.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:15:58.222Z] Configure a credential helper to remove this warning. See [2022-10-14T13:15:58.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:15:58.222Z] [2022-10-14T13:15:58.222Z] Login Succeeded [2022-10-14T13:15:58.222Z] nexus3.edgexfoundry.org:10003 [2022-10-14T13:15:58.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:15:58.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:15:58.482Z] Configure a credential helper to remove this warning. See [2022-10-14T13:15:58.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:15:58.482Z] [2022-10-14T13:15:58.482Z] Login Succeeded [2022-10-14T13:15:58.482Z] nexus3.edgexfoundry.org:10004 [2022-10-14T13:15:58.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:15:58.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:15:58.482Z] Configure a credential helper to remove this warning. See [2022-10-14T13:15:58.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:15:58.482Z] [2022-10-14T13:15:58.482Z] Login Succeeded [2022-10-14T13:15:58.482Z] docker.io [2022-10-14T13:15:58.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:15:58.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:15:58.999Z] Configure a credential helper to remove this warning. See [2022-10-14T13:15:59.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:15:59.000Z] [2022-10-14T13:15:59.000Z] Login Succeeded [2022-10-14T13:15:59.000Z] ---> docker-login.sh ends [Pipeline] } [2022-10-14T13:15:59.027Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-14T13:15:59.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-14T13:15:59.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-14T13:15:59.290Z] ========================================================= [2022-10-14T13:15:59.290Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-14T13:15:59.290Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:15:59.740Z] + 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-14T13:15:59.740Z] Sending build context to Docker daemon 10.73MB [2022-10-14T13:15:59.740Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-14T13:15:59.740Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-14T13:15:59.740Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-14T13:15:59.740Z] 213ec9aee27d: Pulling fs layer [2022-10-14T13:15:59.740Z] 4583459ba037: Pulling fs layer [2022-10-14T13:15:59.740Z] 93c1e223e6f2: Pulling fs layer [2022-10-14T13:15:59.740Z] 53926ce57604: Pulling fs layer [2022-10-14T13:15:59.740Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-14T13:15:59.740Z] 30f14e443154: Pulling fs layer [2022-10-14T13:15:59.740Z] 801331c1e519: Pulling fs layer [2022-10-14T13:15:59.740Z] 99cc6dd402b0: Pulling fs layer [2022-10-14T13:15:59.740Z] 7d9ed39f4882: Pulling fs layer [2022-10-14T13:15:59.740Z] 30f14e443154: Waiting [2022-10-14T13:15:59.740Z] 801331c1e519: Waiting [2022-10-14T13:15:59.740Z] 7d9ed39f4882: Waiting [2022-10-14T13:15:59.740Z] 99cc6dd402b0: Waiting [2022-10-14T13:15:59.740Z] 53926ce57604: Waiting [2022-10-14T13:15:59.740Z] 93c1e223e6f2: Verifying Checksum [2022-10-14T13:15:59.740Z] 93c1e223e6f2: Download complete [2022-10-14T13:15:59.740Z] 4583459ba037: Download complete [2022-10-14T13:16:00.006Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-14T13:16:00.006Z] 21b2b0c7a3f4: Download complete [2022-10-14T13:16:00.006Z] 30f14e443154: Verifying Checksum [2022-10-14T13:16:00.007Z] 30f14e443154: Download complete [2022-10-14T13:16:00.007Z] 213ec9aee27d: Verifying Checksum [2022-10-14T13:16:00.007Z] 801331c1e519: Verifying Checksum [2022-10-14T13:16:00.007Z] 801331c1e519: Download complete [2022-10-14T13:16:00.007Z] 213ec9aee27d: Pull complete [2022-10-14T13:16:00.279Z] 4583459ba037: Pull complete [2022-10-14T13:16:00.279Z] 93c1e223e6f2: Pull complete [2022-10-14T13:16:00.866Z] 7d9ed39f4882: Verifying Checksum [2022-10-14T13:16:00.866Z] 7d9ed39f4882: Download complete [2022-10-14T13:16:00.866Z] 53926ce57604: Verifying Checksum [2022-10-14T13:16:00.866Z] 53926ce57604: Download complete [2022-10-14T13:16:01.125Z] 99cc6dd402b0: Verifying Checksum [2022-10-14T13:16:01.125Z] 99cc6dd402b0: Download complete [2022-10-14T13:16:05.307Z] 53926ce57604: Pull complete [2022-10-14T13:16:05.307Z] 21b2b0c7a3f4: Pull complete [2022-10-14T13:16:05.307Z] 30f14e443154: Pull complete [2022-10-14T13:16:05.307Z] 801331c1e519: Pull complete [2022-10-14T13:16:07.210Z] 99cc6dd402b0: Pull complete [2022-10-14T13:16:07.776Z] 7d9ed39f4882: Pull complete [2022-10-14T13:16:07.776Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-14T13:16:07.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-14T13:16:07.777Z] ---> 1dedd983c030 [2022-10-14T13:16:07.777Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-14T13:16:11.068Z] ---> Running in 3152c1fada0d [2022-10-14T13:16:11.328Z] Removing intermediate container 3152c1fada0d [2022-10-14T13:16:11.328Z] ---> 65098c6ed3f0 [2022-10-14T13:16:11.328Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-14T13:16:11.328Z] ---> Running in afd6c6e1a1c6 [2022-10-14T13:16:11.328Z] Removing intermediate container afd6c6e1a1c6 [2022-10-14T13:16:11.328Z] ---> 90b6da48ad72 [2022-10-14T13:16:11.328Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-14T13:16:11.588Z] ---> Running in 2a83015c0762 [2022-10-14T13:16:11.588Z] Removing intermediate container 2a83015c0762 [2022-10-14T13:16:11.588Z] ---> 4e4ce8b9c721 [2022-10-14T13:16:11.588Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-14T13:16:11.588Z] ---> Running in 09e9c8f8143a [2022-10-14T13:16:11.588Z] Removing intermediate container 09e9c8f8143a [2022-10-14T13:16:11.588Z] ---> b0261472cace [2022-10-14T13:16:11.588Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-14T13:16:11.846Z] ---> Running in b1f89d0390c4 [2022-10-14T13:16:12.414Z] Removing intermediate container b1f89d0390c4 [2022-10-14T13:16:12.414Z] ---> 44a5aaf1f0ba [2022-10-14T13:16:12.414Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-14T13:16:12.414Z] ---> Running in 0147841abb48 [2022-10-14T13:16:12.673Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-14T13:16:12.681Z] Still waiting to schedule task [2022-10-14T13:16:12.681Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7858’ [2022-10-14T13:16:13.611Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-14T13:16:13.870Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-14T13:16:14.128Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-14T13:16:14.128Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-14T13:16:14.388Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-14T13:16:14.388Z] Executing busybox-1.35.0-r17.trigger [2022-10-14T13:16:14.388Z] OK: 216 MiB in 55 packages [2022-10-14T13:16:14.957Z] Removing intermediate container 0147841abb48 [2022-10-14T13:16:14.957Z] ---> ac7d29149af2 [2022-10-14T13:16:14.957Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-14T13:16:14.957Z] ---> Running in e60894bb6065 [2022-10-14T13:16:14.957Z] Removing intermediate container e60894bb6065 [2022-10-14T13:16:14.957Z] ---> 990d4e44b2b6 [2022-10-14T13:16:14.957Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-14T13:16:14.957Z] ---> 305482db5a29 [2022-10-14T13:16:14.957Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-14T13:16:15.216Z] ---> Running in 20dde10353d7 [2022-10-14T13:16:33.541Z] Removing intermediate container 20dde10353d7 [2022-10-14T13:16:33.541Z] ---> 56fb46616bfb [2022-10-14T13:16:33.541Z] Step 12/13 : COPY . . [2022-10-14T13:16:33.541Z] ---> d73ce1c688da [2022-10-14T13:16:33.541Z] Step 13/13 : RUN $MAKE [2022-10-14T13:16:33.541Z] ---> Running in ad010a4ce233 [2022-10-14T13:16:33.541Z] noop [2022-10-14T13:16:33.541Z] Removing intermediate container ad010a4ce233 [2022-10-14T13:16:33.541Z] ---> 5e0645cefe92 [2022-10-14T13:16:33.541Z] Successfully built 5e0645cefe92 [2022-10-14T13:16:33.541Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:16:33.993Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-14T13:16:33.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:16:34.138Z] prd-ubuntu20.04-docker-8c-8g-7860 does not seem to be running inside a container [2022-10-14T13:16:34.171Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-219 -v /w/workspace/gexfoundry_device-rest-go_PR-219:/w/workspace/gexfoundry_device-rest-go_PR-219:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-219@tmp:/w/workspace/gexfoundry_device-rest-go_PR-219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-14T13:16:34.524Z] $ docker top 130f8943026580c0efdca6cae014980993713683327ab2ad28127cf4f37a8cff -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:16:34.916Z] + go version [2022-10-14T13:16:34.916Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-14T13:16:34.947Z] $ docker stop --time=1 130f8943026580c0efdca6cae014980993713683327ab2ad28127cf4f37a8cff [2022-10-14T13:16:36.232Z] $ docker rm -f 130f8943026580c0efdca6cae014980993713683327ab2ad28127cf4f37a8cff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:16:36.919Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-14T13:16:36.919Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:16:37.052Z] prd-ubuntu20.04-docker-8c-8g-7860 does not seem to be running inside a container [2022-10-14T13:16:37.089Z] $ 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-219 -v /w/workspace/gexfoundry_device-rest-go_PR-219:/w/workspace/gexfoundry_device-rest-go_PR-219:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-219@tmp:/w/workspace/gexfoundry_device-rest-go_PR-219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-14T13:16:37.414Z] $ docker top ab1349f406194c8d03711c38224f772e878ec7ba86641cdd455585edcc007e31 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:16:37.801Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-219 [Pipeline] fileExists [Pipeline] sh [2022-10-14T13:16:38.161Z] + make test [2022-10-14T13:16:38.162Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-14T13:16:38.420Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-14T13:16:48.395Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-14T13:16:48.395Z] ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 55.2% of statements [2022-10-14T13:16:56.512Z] 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-14T13:16:56.512Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-14T13:16:58.413Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-14T13:16:58.413Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-14T13:16:58.413Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-14T13:16:58.452Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-14T13:16:58.483Z] $ docker stop --time=1 ab1349f406194c8d03711c38224f772e878ec7ba86641cdd455585edcc007e31 [2022-10-14T13:17:00.815Z] $ docker rm -f ab1349f406194c8d03711c38224f772e878ec7ba86641cdd455585edcc007e31 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-14T13:17:01.294Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-14T13:17:01.358Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-14T13:17:01.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-14T13:17:02.269Z] + ls -al . [2022-10-14T13:17:02.269Z] total 180 [2022-10-14T13:17:02.269Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 13:16 . [2022-10-14T13:17:02.269Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:15 .. [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 14 13:15 .dockerignore [2022-10-14T13:17:02.269Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 13:16 .git [2022-10-14T13:17:02.269Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:15 .github [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 14 13:15 .gitignore [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 13:15 .golangci.yml [2022-10-14T13:17:02.269Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 13:15 .semver [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 14 13:15 Attribution.txt [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 14 13:15 CHANGELOG.md [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 14 13:15 Dockerfile [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 13:15 GOVERNANCE.md [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 14 13:15 Jenkinsfile [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 13:15 LICENSE [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 14 13:15 Makefile [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 13:15 OWNERS.md [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 14 13:15 README.md [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 13:15 VERSION [2022-10-14T13:17:02.269Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 13:15 bin [2022-10-14T13:17:02.269Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:15 cmd [2022-10-14T13:17:02.269Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 14 13:16 coverage.out [2022-10-14T13:17:02.269Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 13:15 driver [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 14 13:15 go.mod [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 14 13:15 go.sum [2022-10-14T13:17:02.269Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:15 snap [2022-10-14T13:17:02.269Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 14 13:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:17:02.660Z] + 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=6e8a5909a9c906afe33035ec85f5e357b03f38e9 --label arch=amd64 --label version=0.0.0 . [2022-10-14T13:17:02.660Z] Sending build context to Docker daemon 10.74MB [2022-10-14T13:17:02.660Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-14T13:17:02.660Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-14T13:17:02.660Z] ---> 5e0645cefe92 [2022-10-14T13:17:02.660Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-14T13:17:02.660Z] ---> Running in 82033ac5056f [2022-10-14T13:17:02.921Z] Removing intermediate container 82033ac5056f [2022-10-14T13:17:02.921Z] ---> 017d5b3a6fe1 [2022-10-14T13:17:02.921Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-14T13:17:02.921Z] ---> Running in 213ac13d9034 [2022-10-14T13:17:02.921Z] Removing intermediate container 213ac13d9034 [2022-10-14T13:17:02.921Z] ---> 407ca0a360e6 [2022-10-14T13:17:02.921Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-14T13:17:02.921Z] ---> Running in 0d9b1e714d9b [2022-10-14T13:17:03.180Z] Removing intermediate container 0d9b1e714d9b [2022-10-14T13:17:03.180Z] ---> 32b17f2f538a [2022-10-14T13:17:03.180Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-14T13:17:03.180Z] ---> Running in 3c7b206f8fc8 [2022-10-14T13:17:03.180Z] Removing intermediate container 3c7b206f8fc8 [2022-10-14T13:17:03.180Z] ---> 9c0ebcaa5861 [2022-10-14T13:17:03.180Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-14T13:17:03.180Z] ---> Running in 075dce9580d1 [2022-10-14T13:17:03.748Z] Removing intermediate container 075dce9580d1 [2022-10-14T13:17:03.748Z] ---> cc0ea4a5cc5d [2022-10-14T13:17:03.748Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-14T13:17:03.748Z] ---> Running in 025849c557c5 [2022-10-14T13:17:04.008Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-14T13:17:04.946Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-14T13:17:05.205Z] OK: 216 MiB in 55 packages [2022-10-14T13:17:05.464Z] Removing intermediate container 025849c557c5 [2022-10-14T13:17:05.464Z] ---> f32038b53b40 [2022-10-14T13:17:05.464Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-14T13:17:05.731Z] ---> Running in 4fad96259180 [2022-10-14T13:17:05.731Z] Removing intermediate container 4fad96259180 [2022-10-14T13:17:05.731Z] ---> 5d77857509e3 [2022-10-14T13:17:05.731Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-14T13:17:05.731Z] ---> 4056a51cc258 [2022-10-14T13:17:05.731Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-14T13:17:05.731Z] ---> Running in a1e0cc0cc360 [2022-10-14T13:17:06.710Z] Removing intermediate container a1e0cc0cc360 [2022-10-14T13:17:06.710Z] ---> 4804a74c3fdf [2022-10-14T13:17:06.710Z] Step 12/26 : COPY . . [2022-10-14T13:17:06.971Z] ---> 18282dd8777e [2022-10-14T13:17:06.971Z] Step 13/26 : RUN $MAKE [2022-10-14T13:17:06.971Z] ---> Running in 31228d852020 [2022-10-14T13:17:07.228Z] 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-14T13:17:29.150Z] Removing intermediate container 31228d852020 [2022-10-14T13:17:29.150Z] ---> 402e2ada1c4b [2022-10-14T13:17:29.150Z] Step 14/26 : FROM alpine:3.16 [2022-10-14T13:17:29.150Z] 3.16: Pulling from library/alpine [2022-10-14T13:17:29.150Z] 213ec9aee27d: Already exists [2022-10-14T13:17:29.150Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-14T13:17:29.150Z] Status: Downloaded newer image for alpine:3.16 [2022-10-14T13:17:29.150Z] ---> 9c6f07244728 [2022-10-14T13:17:29.150Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-14T13:17:29.150Z] ---> Running in 532dbf805146 [2022-10-14T13:17:29.150Z] Removing intermediate container 532dbf805146 [2022-10-14T13:17:29.150Z] ---> 647b91155c68 [2022-10-14T13:17:29.150Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-14T13:17:29.150Z] ---> Running in 729ffa0c0ce5 [2022-10-14T13:17:29.150Z] Removing intermediate container 729ffa0c0ce5 [2022-10-14T13:17:29.150Z] ---> 5760005511c5 [2022-10-14T13:17:29.150Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-14T13:17:29.150Z] ---> Running in 5f17b7f42df1 [2022-10-14T13:17:29.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-14T13:17:29.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-14T13:17:29.408Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-14T13:17:29.408Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-14T13:17:29.408Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-14T13:17:29.408Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-14T13:17:29.408Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-14T13:17:29.408Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-14T13:17:29.408Z] Executing busybox-1.35.0-r17.trigger [2022-10-14T13:17:29.408Z] OK: 8 MiB in 20 packages [2022-10-14T13:17:29.665Z] Removing intermediate container 5f17b7f42df1 [2022-10-14T13:17:29.665Z] ---> 8553bbb4f1f0 [2022-10-14T13:17:29.665Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-14T13:17:30.597Z] ---> a1cfc9a5d569 [2022-10-14T13:17:30.597Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-14T13:17:30.597Z] ---> 2e48a5987423 [2022-10-14T13:17:30.597Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-14T13:17:30.597Z] ---> 7efd2e30e4d1 [2022-10-14T13:17:30.597Z] Step 21/26 : EXPOSE 59986 [2022-10-14T13:17:30.856Z] ---> Running in b949811a3ea7 [2022-10-14T13:17:30.856Z] Removing intermediate container b949811a3ea7 [2022-10-14T13:17:30.856Z] ---> 00ba3ea0a17b [2022-10-14T13:17:30.856Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-14T13:17:30.856Z] ---> Running in bb32845d1157 [2022-10-14T13:17:30.856Z] Removing intermediate container bb32845d1157 [2022-10-14T13:17:30.856Z] ---> 9d07019da204 [2022-10-14T13:17:30.856Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-14T13:17:30.856Z] ---> Running in 8e448bcc8173 [2022-10-14T13:17:31.115Z] Removing intermediate container 8e448bcc8173 [2022-10-14T13:17:31.115Z] ---> 52209425e8c5 [2022-10-14T13:17:31.115Z] Step 24/26 : LABEL arch=amd64 [2022-10-14T13:17:31.115Z] ---> Running in 4f7dca3179c2 [2022-10-14T13:17:31.115Z] Removing intermediate container 4f7dca3179c2 [2022-10-14T13:17:31.115Z] ---> ae33c18cd7b2 [2022-10-14T13:17:31.115Z] Step 25/26 : LABEL git_sha=6e8a5909a9c906afe33035ec85f5e357b03f38e9 [2022-10-14T13:17:31.115Z] ---> Running in cb438f75b989 [2022-10-14T13:17:31.374Z] Removing intermediate container cb438f75b989 [2022-10-14T13:17:31.374Z] ---> 99a616fb8fdf [2022-10-14T13:17:31.374Z] Step 26/26 : LABEL version=0.0.0 [2022-10-14T13:17:31.374Z] ---> Running in b5cd74aaad56 [2022-10-14T13:17:31.374Z] Removing intermediate container b5cd74aaad56 [2022-10-14T13:17:31.374Z] ---> 64e0e023a1b6 [2022-10-14T13:17:31.374Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-14T13:17:31.374Z] Successfully built 64e0e023a1b6 [2022-10-14T13:17:31.374Z] 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-14T13:17:32.181Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-14T13:17:32.181Z] [2022-10-14T13:17:32.181Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:17:32.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-14T13:17:32.562Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-14T13:17:32.562Z] 5eb5b503b376: Pulling fs layer [2022-10-14T13:17:32.562Z] 5c69ac0246d0: Pulling fs layer [2022-10-14T13:17:32.562Z] ec43610c2a17: Pulling fs layer [2022-10-14T13:17:32.562Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-14T13:17:32.562Z] 33b1e0a273af: Pulling fs layer [2022-10-14T13:17:32.562Z] 5d3b04190fa2: Pulling fs layer [2022-10-14T13:17:32.562Z] 2f39f015ded8: Pulling fs layer [2022-10-14T13:17:32.562Z] 33b1e0a273af: Waiting [2022-10-14T13:17:32.562Z] 5d3b04190fa2: Waiting [2022-10-14T13:17:32.562Z] 2f39f015ded8: Waiting [2022-10-14T13:17:32.562Z] 3a2ae6a8a46f: Waiting [2022-10-14T13:17:32.562Z] 5c69ac0246d0: Verifying Checksum [2022-10-14T13:17:32.562Z] 5c69ac0246d0: Download complete [2022-10-14T13:17:32.562Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-14T13:17:32.562Z] 3a2ae6a8a46f: Download complete [2022-10-14T13:17:32.562Z] 33b1e0a273af: Verifying Checksum [2022-10-14T13:17:32.562Z] 33b1e0a273af: Download complete [2022-10-14T13:17:32.562Z] 5d3b04190fa2: Verifying Checksum [2022-10-14T13:17:32.562Z] 5d3b04190fa2: Download complete [2022-10-14T13:17:32.562Z] ec43610c2a17: Verifying Checksum [2022-10-14T13:17:32.562Z] ec43610c2a17: Download complete [2022-10-14T13:17:32.824Z] 5eb5b503b376: Verifying Checksum [2022-10-14T13:17:32.824Z] 5eb5b503b376: Download complete [2022-10-14T13:17:33.389Z] 2f39f015ded8: Download complete [2022-10-14T13:17:33.953Z] 5eb5b503b376: Pull complete [2022-10-14T13:17:34.209Z] 5c69ac0246d0: Pull complete [2022-10-14T13:17:34.468Z] ec43610c2a17: Pull complete [2022-10-14T13:17:34.468Z] 3a2ae6a8a46f: Pull complete [2022-10-14T13:17:34.726Z] 33b1e0a273af: Pull complete [2022-10-14T13:17:34.726Z] 5d3b04190fa2: Pull complete [2022-10-14T13:17:38.908Z] 2f39f015ded8: Pull complete [2022-10-14T13:17:38.908Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-14T13:17:38.908Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-14T13:17:38.908Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:17:39.120Z] prd-ubuntu20.04-docker-8c-8g-7860 does not seem to be running inside a container [2022-10-14T13:17:39.151Z] $ 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-219 -v /w/workspace/gexfoundry_device-rest-go_PR-219:/w/workspace/gexfoundry_device-rest-go_PR-219:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-219@tmp:/w/workspace/gexfoundry_device-rest-go_PR-219@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-14T13:17:42.262Z] $ docker top b06a16916cbd208bc4bc27dce8600b3e4f6ed748b15386c972dfdc19dbe4f3a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:17:42.696Z] ---> job-cost.sh [2022-10-14T13:17:42.696Z] lf-activate-venv: SKIPPING [2022-10-14T13:17:42.696Z] INFO: No Stack... [2022-10-14T13:17:42.955Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-14T13:17:43.215Z] INFO: Archiving Costs [Pipeline] sh [2022-10-14T13:17:43.545Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-219/archives/cost.csv [2022-10-14T13:17:43.546Z] + cut -d, -f6 [Pipeline] lock [2022-10-14T13:17:43.587Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] [2022-10-14T13:17:43.592Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] did not exist. Created. [2022-10-14T13:17:43.592Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-14T13:17:43.981Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-14T13:17:44.035Z] Stashed 1 file(s) [Pipeline] } [2022-10-14T13:17:44.066Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-14T13:17:44.147Z] $ docker stop --time=1 b06a16916cbd208bc4bc27dce8600b3e4f6ed748b15386c972dfdc19dbe4f3a7 [2022-10-14T13:17:45.294Z] $ docker rm -f b06a16916cbd208bc4bc27dce8600b3e4f6ed748b15386c972dfdc19dbe4f3a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-14T13:18:39.396Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7862 in /w/workspace/gexfoundry_device-rest-go_PR-219 [Pipeline] { [Pipeline] ws [2022-10-14T13:18:39.436Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-10-14T13:18:39.513Z] The recommended git tool is: git [2022-10-14T13:18:44.822Z] using credential edgex-jenkins-ssh [2022-10-14T13:18:44.838Z] Cloning the remote Git repository [2022-10-14T13:18:44.886Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-14T13:18:44.961Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-10-14T13:18:45.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-14T13:18:45.110Z] > git --version # timeout=10 [2022-10-14T13:18:45.133Z] > git --version # 'git version 2.25.1' [2022-10-14T13:18:45.134Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-14T13:18:45.187Z] Verifying host key using known hosts file [2022-10-14T13:18:45.380Z] 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-14T13:18:45.393Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-14T13:18:47.347Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-14T13:18:47.370Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-14T13:18:48.939Z] Merging remotes/origin/main commit da0fc691370f2a0b0463f80469643f152cdbe902 into PR head commit 6e8a5909a9c906afe33035ec85f5e357b03f38e9 [2022-10-14T13:18:49.168Z] Merge succeeded, producing 6e8a5909a9c906afe33035ec85f5e357b03f38e9 [2022-10-14T13:18:49.169Z] Checking out Revision 6e8a5909a9c906afe33035ec85f5e357b03f38e9 (PR-219) [2022-10-14T13:18:48.243Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-14T13:18:48.288Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-14T13:18:48.289Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-14T13:18:48.295Z] Verifying host key using known hosts file [2022-10-14T13:18:48.301Z] 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-14T13:18:48.312Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/219/head:refs/remotes/origin/PR-219 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-14T13:18:48.957Z] > git config core.sparsecheckout # timeout=10 [2022-10-14T13:18:48.986Z] > git checkout -f 6e8a5909a9c906afe33035ec85f5e357b03f38e9 # timeout=10 [2022-10-14T13:18:49.065Z] > git remote # timeout=10 [2022-10-14T13:18:49.081Z] > git config --get remote.origin.url # timeout=10 [2022-10-14T13:18:49.105Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-14T13:18:49.110Z] Verifying host key using known hosts file [2022-10-14T13:18:49.115Z] 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-14T13:18:49.123Z] > git merge da0fc691370f2a0b0463f80469643f152cdbe902 # timeout=10 [2022-10-14T13:18:49.145Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-14T13:18:49.175Z] > git config core.sparsecheckout # timeout=10 [2022-10-14T13:18:49.187Z] > git checkout -f 6e8a5909a9c906afe33035ec85f5e357b03f38e9 # timeout=10 [2022-10-14T13:18:52.659Z] Commit message: "feat(snap): add config interface with unique identifier" [2022-10-14T13:18:52.709Z] > git --version # timeout=10 [2022-10-14T13:18:52.723Z] > git --version # 'git version 2.25.1' [2022-10-14T13:18:52.745Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-14T13:18:53.826Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-14T13:18:53.826Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-14T13:18:53.826Z] Dload Upload Total Spent Left Speed [2022-10-14T13:18:53.826Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 219k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh [2022-10-14T13:18:54.532Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-14T13:18:54.880Z] + sudo tee /etc/docker/daemon.new [2022-10-14T13:18:54.881Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-14T13:18:54.881Z] { [2022-10-14T13:18:54.881Z] "registry-mirrors": [ [2022-10-14T13:18:54.881Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-14T13:18:54.881Z] ], [2022-10-14T13:18:54.881Z] "bip": "10.250.0.254/24", [2022-10-14T13:18:54.881Z] "hosts": [ [2022-10-14T13:18:54.881Z] "tcp://0.0.0.0:5555", [2022-10-14T13:18:54.881Z] "unix:///var/run/docker.sock" [2022-10-14T13:18:54.881Z] ], [2022-10-14T13:18:54.881Z] "mtu": 1458, [2022-10-14T13:18:54.881Z] "selinux-enabled": true, [2022-10-14T13:18:54.881Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-14T13:18:54.881Z] } [Pipeline] sh [2022-10-14T13:18:55.229Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-14T13:18:55.580Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-14T13:19:13.897Z] provisioning config files... [2022-10-14T13:19:13.924Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9551199277600603881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:19:14.315Z] ---> docker-login.sh [2022-10-14T13:19:14.315Z] nexus3.edgexfoundry.org:10001 [2022-10-14T13:19:14.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:19:14.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:19:14.909Z] Configure a credential helper to remove this warning. See [2022-10-14T13:19:14.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:19:14.909Z] [2022-10-14T13:19:14.909Z] Login Succeeded [2022-10-14T13:19:14.909Z] nexus3.edgexfoundry.org:10002 [2022-10-14T13:19:15.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:19:15.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:19:15.183Z] Configure a credential helper to remove this warning. See [2022-10-14T13:19:15.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:19:15.183Z] [2022-10-14T13:19:15.183Z] Login Succeeded [2022-10-14T13:19:15.183Z] nexus3.edgexfoundry.org:10003 [2022-10-14T13:19:15.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:19:15.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:19:15.725Z] Configure a credential helper to remove this warning. See [2022-10-14T13:19:15.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:19:15.725Z] [2022-10-14T13:19:15.725Z] Login Succeeded [2022-10-14T13:19:15.725Z] nexus3.edgexfoundry.org:10004 [2022-10-14T13:19:15.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:19:15.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:19:15.994Z] Configure a credential helper to remove this warning. See [2022-10-14T13:19:15.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:19:15.994Z] [2022-10-14T13:19:15.994Z] Login Succeeded [2022-10-14T13:19:15.994Z] docker.io [2022-10-14T13:19:16.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-14T13:19:16.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-14T13:19:16.530Z] Configure a credential helper to remove this warning. See [2022-10-14T13:19:16.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-14T13:19:16.530Z] [2022-10-14T13:19:16.530Z] Login Succeeded [2022-10-14T13:19:16.530Z] ---> docker-login.sh ends [Pipeline] } [2022-10-14T13:19:16.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-14T13:19:16.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-14T13:19:16.862Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-14T13:19:16.894Z] ========================================================= [2022-10-14T13:19:16.894Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-14T13:19:16.894Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:19:17.380Z] + 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-14T13:19:17.380Z] Sending build context to Docker daemon 127.5kB [2022-10-14T13:19:17.647Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-14T13:19:17.647Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-14T13:19:17.918Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-14T13:19:17.918Z] 9b18e9b68314: Pulling fs layer [2022-10-14T13:19:17.918Z] d32db5db7311: Pulling fs layer [2022-10-14T13:19:17.918Z] d0c4b47475fc: Pulling fs layer [2022-10-14T13:19:17.918Z] 5831b945b038: Pulling fs layer [2022-10-14T13:19:17.918Z] 86bbec2aaacd: Pulling fs layer [2022-10-14T13:19:17.918Z] e10730c5d714: Pulling fs layer [2022-10-14T13:19:17.918Z] 5831b945b038: Waiting [2022-10-14T13:19:17.918Z] 86bbec2aaacd: Waiting [2022-10-14T13:19:17.918Z] 5dd5c2283517: Pulling fs layer [2022-10-14T13:19:17.918Z] d5ac0230b979: Pulling fs layer [2022-10-14T13:19:17.918Z] e10730c5d714: Waiting [2022-10-14T13:19:17.918Z] 5dd5c2283517: Waiting [2022-10-14T13:19:17.918Z] d5ac0230b979: Waiting [2022-10-14T13:19:17.918Z] d0c4b47475fc: Verifying Checksum [2022-10-14T13:19:17.918Z] d0c4b47475fc: Download complete [2022-10-14T13:19:17.918Z] d32db5db7311: Verifying Checksum [2022-10-14T13:19:17.918Z] d32db5db7311: Download complete [2022-10-14T13:19:17.918Z] 86bbec2aaacd: Verifying Checksum [2022-10-14T13:19:17.918Z] 86bbec2aaacd: Download complete [2022-10-14T13:19:18.188Z] e10730c5d714: Verifying Checksum [2022-10-14T13:19:18.188Z] e10730c5d714: Download complete [2022-10-14T13:19:18.188Z] 9b18e9b68314: Verifying Checksum [2022-10-14T13:19:18.188Z] 9b18e9b68314: Download complete [2022-10-14T13:19:19.167Z] 9b18e9b68314: Pull complete [2022-10-14T13:19:19.167Z] d5ac0230b979: Verifying Checksum [2022-10-14T13:19:19.167Z] d5ac0230b979: Download complete [2022-10-14T13:19:19.769Z] d32db5db7311: Pull complete [2022-10-14T13:19:20.037Z] d0c4b47475fc: Pull complete [2022-10-14T13:19:20.309Z] 5dd5c2283517: Verifying Checksum [2022-10-14T13:19:20.309Z] 5dd5c2283517: Download complete [2022-10-14T13:19:21.279Z] 5831b945b038: Verifying Checksum [2022-10-14T13:19:21.279Z] 5831b945b038: Download complete [2022-10-14T13:19:33.593Z] 5831b945b038: Pull complete [2022-10-14T13:19:33.593Z] 86bbec2aaacd: Pull complete [2022-10-14T13:19:33.593Z] e10730c5d714: Pull complete [2022-10-14T13:19:38.946Z] 5dd5c2283517: Pull complete [2022-10-14T13:19:40.365Z] d5ac0230b979: Pull complete [2022-10-14T13:19:40.365Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-14T13:19:40.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-14T13:19:40.365Z] ---> 59b3b1a385d4 [2022-10-14T13:19:40.365Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-14T13:19:42.304Z] ---> Running in 62539c864bfa [2022-10-14T13:19:42.569Z] Removing intermediate container 62539c864bfa [2022-10-14T13:19:42.569Z] ---> 9112df9d630f [2022-10-14T13:19:42.569Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-14T13:19:42.569Z] ---> Running in ade1b26203e0 [2022-10-14T13:19:42.835Z] Removing intermediate container ade1b26203e0 [2022-10-14T13:19:42.835Z] ---> 1352c7d6d47d [2022-10-14T13:19:42.835Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-14T13:19:42.835Z] ---> Running in 03dbe5540c88 [2022-10-14T13:19:43.114Z] Removing intermediate container 03dbe5540c88 [2022-10-14T13:19:43.114Z] ---> 3adc354ea91e [2022-10-14T13:19:43.114Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-14T13:19:43.114Z] ---> Running in c30f33ab3136 [2022-10-14T13:19:43.378Z] Removing intermediate container c30f33ab3136 [2022-10-14T13:19:43.378Z] ---> ba76f4b384f4 [2022-10-14T13:19:43.378Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-14T13:19:43.643Z] ---> Running in 54b2c0b03fbc [2022-10-14T13:19:45.050Z] Removing intermediate container 54b2c0b03fbc [2022-10-14T13:19:45.050Z] ---> 4b4578138cc9 [2022-10-14T13:19:45.050Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-14T13:19:45.319Z] ---> Running in 58bc29157faf [2022-10-14T13:19:46.290Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-14T13:19:46.871Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-14T13:19:47.830Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-14T13:19:48.096Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-14T13:19:48.096Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-14T13:19:48.364Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-14T13:19:48.364Z] Executing busybox-1.35.0-r17.trigger [2022-10-14T13:19:48.364Z] OK: 226 MiB in 55 packages [2022-10-14T13:19:49.321Z] Removing intermediate container 58bc29157faf [2022-10-14T13:19:49.321Z] ---> cba7023474f3 [2022-10-14T13:19:49.321Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-14T13:19:49.321Z] ---> Running in e4a74790f3a6 [2022-10-14T13:19:49.587Z] Removing intermediate container e4a74790f3a6 [2022-10-14T13:19:49.587Z] ---> 2114343ee012 [2022-10-14T13:19:49.587Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-14T13:19:50.168Z] ---> ad1be808881d [2022-10-14T13:19:50.168Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-14T13:19:50.168Z] ---> Running in 38a660c18182 [2022-10-14T13:20:37.018Z] Removing intermediate container 38a660c18182 [2022-10-14T13:20:37.018Z] ---> bb475110a69d [2022-10-14T13:20:37.018Z] Step 12/13 : COPY . . [2022-10-14T13:20:37.018Z] ---> 37bacaf54772 [2022-10-14T13:20:37.018Z] Step 13/13 : RUN $MAKE [2022-10-14T13:20:37.018Z] ---> Running in d1da57dd35f4 [2022-10-14T13:20:37.609Z] noop [2022-10-14T13:20:38.190Z] Removing intermediate container d1da57dd35f4 [2022-10-14T13:20:38.190Z] ---> 93c7ced3e561 [2022-10-14T13:20:38.190Z] Successfully built 93c7ced3e561 [2022-10-14T13:20:38.190Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:20:38.660Z] + docker inspect -f . ci-base-image-arm64 [2022-10-14T13:20:38.660Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:20:38.900Z] prd-ubuntu20.04-docker-arm64-4c-16g-7862 does not seem to be running inside a container [2022-10-14T13:20:38.965Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-14T13:20:40.122Z] $ docker top 1ea532a78d6fa9fdd0ba6ec2c1f91d7a58e318597df844328bb006e11d4a76c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:20:41.004Z] + go version [2022-10-14T13:20:41.004Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-14T13:20:41.040Z] $ docker stop --time=1 1ea532a78d6fa9fdd0ba6ec2c1f91d7a58e318597df844328bb006e11d4a76c8 [2022-10-14T13:20:43.209Z] $ docker rm -f 1ea532a78d6fa9fdd0ba6ec2c1f91d7a58e318597df844328bb006e11d4a76c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:20:44.058Z] + docker inspect -f . ci-base-image-arm64 [2022-10-14T13:20:44.059Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:20:44.298Z] prd-ubuntu20.04-docker-arm64-4c-16g-7862 does not seem to be running inside a container [2022-10-14T13:20:44.360Z] $ 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/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-14T13:20:45.502Z] $ docker top 786b002683f67fcca8cc4a6290cf19d6846d38f70c7b69cd6704d7f020037b85 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:20:46.034Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-14T13:20:46.416Z] + make test [2022-10-14T13:20:46.416Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-14T13:20:48.353Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-14T13:22:25.013Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-14T13:22:25.013Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements [2022-10-14T13:22:25.013Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-14T13:22:25.013Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-14T13:22:37.335Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-14T13:22:37.335Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-14T13:22:37.335Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-14T13:22:37.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-14T13:22:37.414Z] $ docker stop --time=1 786b002683f67fcca8cc4a6290cf19d6846d38f70c7b69cd6704d7f020037b85 [2022-10-14T13:22:40.059Z] $ docker rm -f 786b002683f67fcca8cc4a6290cf19d6846d38f70c7b69cd6704d7f020037b85 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-14T13:22:41.064Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-14T13:22:41.098Z] Warning: overwriting stash ‘coverage-report’ [2022-10-14T13:22:41.483Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-14T13:22:42.101Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-14T13:22:42.442Z] + ls -al . [2022-10-14T13:22:42.442Z] total 176 [2022-10-14T13:22:42.442Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 13:20 . [2022-10-14T13:22:42.442Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:18 .. [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 14 13:18 .dockerignore [2022-10-14T13:22:42.442Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 13:18 .git [2022-10-14T13:22:42.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:18 .github [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 14 13:18 .gitignore [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 13:18 .golangci.yml [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 14 13:18 Attribution.txt [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 14 13:18 CHANGELOG.md [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 14 13:18 Dockerfile [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 13:18 GOVERNANCE.md [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 14 13:18 Jenkinsfile [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 13:18 LICENSE [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 14 13:18 Makefile [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 13:18 OWNERS.md [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 14 13:18 README.md [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 13:15 VERSION [2022-10-14T13:22:42.442Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 13:18 bin [2022-10-14T13:22:42.442Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 13:18 cmd [2022-10-14T13:22:42.442Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 14 13:22 coverage.out [2022-10-14T13:22:42.442Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 13:18 driver [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 14 13:18 go.mod [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 14 13:18 go.sum [2022-10-14T13:22:42.442Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 13:18 snap [2022-10-14T13:22:42.442Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 14 13:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:22:42.863Z] + 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=6e8a5909a9c906afe33035ec85f5e357b03f38e9 --label arch=arm64 --label version=0.0.0 . [2022-10-14T13:22:42.863Z] Sending build context to Docker daemon 137.7kB [2022-10-14T13:22:43.134Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-14T13:22:43.134Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-14T13:22:43.134Z] ---> 93c7ced3e561 [2022-10-14T13:22:43.134Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-14T13:22:43.134Z] ---> Running in 71324447827e [2022-10-14T13:22:43.401Z] Removing intermediate container 71324447827e [2022-10-14T13:22:43.402Z] ---> 17e73a069069 [2022-10-14T13:22:43.402Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-14T13:22:43.672Z] ---> Running in 26d3f2c48b77 [2022-10-14T13:22:43.940Z] Removing intermediate container 26d3f2c48b77 [2022-10-14T13:22:43.940Z] ---> 1bb3b97a0a4e [2022-10-14T13:22:43.940Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-14T13:22:43.940Z] ---> Running in 0686e811a58b [2022-10-14T13:22:44.207Z] Removing intermediate container 0686e811a58b [2022-10-14T13:22:44.207Z] ---> 0b10b75d3a29 [2022-10-14T13:22:44.207Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-14T13:22:44.474Z] ---> Running in 1a242ae57f07 [2022-10-14T13:22:44.748Z] Removing intermediate container 1a242ae57f07 [2022-10-14T13:22:44.748Z] ---> 5243ddfc957c [2022-10-14T13:22:44.748Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-14T13:22:44.748Z] ---> Running in 32420464432c [2022-10-14T13:22:46.700Z] Removing intermediate container 32420464432c [2022-10-14T13:22:46.700Z] ---> adae7e880797 [2022-10-14T13:22:46.700Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-14T13:22:46.700Z] ---> Running in 8606acddd2a0 [2022-10-14T13:22:47.667Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-14T13:22:48.630Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-14T13:22:49.593Z] OK: 226 MiB in 55 packages [2022-10-14T13:22:50.179Z] Removing intermediate container 8606acddd2a0 [2022-10-14T13:22:50.179Z] ---> 72f2bae39ada [2022-10-14T13:22:50.179Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-14T13:22:50.448Z] ---> Running in f0e96ac7e2f6 [2022-10-14T13:22:50.717Z] Removing intermediate container f0e96ac7e2f6 [2022-10-14T13:22:50.717Z] ---> c290bea3f998 [2022-10-14T13:22:50.717Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-14T13:22:50.985Z] ---> a4090df4bc39 [2022-10-14T13:22:50.985Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-14T13:22:51.254Z] ---> Running in 9874f12e74b1 [2022-10-14T13:22:53.202Z] Removing intermediate container 9874f12e74b1 [2022-10-14T13:22:53.202Z] ---> 486b12181b31 [2022-10-14T13:22:53.202Z] Step 12/26 : COPY . . [2022-10-14T13:22:53.786Z] ---> 4320778e1988 [2022-10-14T13:22:53.787Z] Step 13/26 : RUN $MAKE [2022-10-14T13:22:53.787Z] ---> Running in 4eba63a8dd9f [2022-10-14T13:22:54.749Z] 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-14T13:25:31.750Z] Removing intermediate container 4eba63a8dd9f [2022-10-14T13:25:31.750Z] ---> 33f097bffcdb [2022-10-14T13:25:31.750Z] Step 14/26 : FROM alpine:3.16 [2022-10-14T13:25:31.750Z] 3.16: Pulling from library/alpine [2022-10-14T13:25:31.750Z] 9b18e9b68314: Already exists [2022-10-14T13:25:31.750Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-14T13:25:31.750Z] Status: Downloaded newer image for alpine:3.16 [2022-10-14T13:25:31.750Z] ---> a6215f271958 [2022-10-14T13:25:31.750Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-14T13:25:31.750Z] ---> Running in 18056f2b6c26 [2022-10-14T13:25:31.750Z] Removing intermediate container 18056f2b6c26 [2022-10-14T13:25:31.750Z] ---> b165475c759e [2022-10-14T13:25:31.750Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-14T13:25:31.750Z] ---> Running in 220ca06bfa66 [2022-10-14T13:25:31.750Z] Removing intermediate container 220ca06bfa66 [2022-10-14T13:25:31.750Z] ---> 640a6f5a433c [2022-10-14T13:25:31.750Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-14T13:25:31.750Z] ---> Running in 8fcf986ecd65 [2022-10-14T13:25:31.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-14T13:25:31.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-14T13:25:32.720Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-14T13:25:32.720Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-14T13:25:32.720Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-14T13:25:32.720Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-14T13:25:32.720Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-14T13:25:32.720Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-14T13:25:32.720Z] Executing busybox-1.35.0-r17.trigger [2022-10-14T13:25:32.988Z] OK: 8 MiB in 20 packages [2022-10-14T13:25:33.951Z] Removing intermediate container 8fcf986ecd65 [2022-10-14T13:25:33.952Z] ---> e1ff2be385ac [2022-10-14T13:25:33.952Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-14T13:25:35.368Z] ---> 9de50aaf8df3 [2022-10-14T13:25:35.368Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-14T13:25:35.634Z] ---> 6e80c758ac32 [2022-10-14T13:25:35.634Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-14T13:25:36.221Z] ---> 48b8ddb8bfdc [2022-10-14T13:25:36.221Z] Step 21/26 : EXPOSE 59986 [2022-10-14T13:25:36.221Z] ---> Running in dd3ba6f69324 [2022-10-14T13:25:36.489Z] Removing intermediate container dd3ba6f69324 [2022-10-14T13:25:36.489Z] ---> baed4a60e9f7 [2022-10-14T13:25:36.489Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-14T13:25:36.489Z] ---> Running in 7d17bdf0399e [2022-10-14T13:25:36.758Z] Removing intermediate container 7d17bdf0399e [2022-10-14T13:25:36.758Z] ---> c3d8ade1370b [2022-10-14T13:25:36.758Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-14T13:25:36.758Z] ---> Running in eb72ed82f3d8 [2022-10-14T13:25:37.030Z] Removing intermediate container eb72ed82f3d8 [2022-10-14T13:25:37.030Z] ---> 74e4301196df [2022-10-14T13:25:37.030Z] Step 24/26 : LABEL arch=arm64 [2022-10-14T13:25:37.300Z] ---> Running in 6d38493c1d72 [2022-10-14T13:25:37.568Z] Removing intermediate container 6d38493c1d72 [2022-10-14T13:25:37.568Z] ---> 36da61e46743 [2022-10-14T13:25:37.568Z] Step 25/26 : LABEL git_sha=6e8a5909a9c906afe33035ec85f5e357b03f38e9 [2022-10-14T13:25:37.568Z] ---> Running in 6d0dcbae60de [2022-10-14T13:25:37.834Z] Removing intermediate container 6d0dcbae60de [2022-10-14T13:25:37.834Z] ---> ac23a4720176 [2022-10-14T13:25:37.834Z] Step 26/26 : LABEL version=0.0.0 [2022-10-14T13:25:38.102Z] ---> Running in e261b95b5612 [2022-10-14T13:25:38.368Z] Removing intermediate container e261b95b5612 [2022-10-14T13:25:38.368Z] ---> ea4c4953a956 [2022-10-14T13:25:38.368Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-14T13:25:38.368Z] Successfully built ea4c4953a956 [2022-10-14T13:25:38.368Z] 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-14T13:25:39.159Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-14T13:25:39.159Z] [2022-10-14T13:25:39.159Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:25:39.544Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-14T13:25:39.544Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-14T13:25:39.544Z] 8998bd30e6a1: Pulling fs layer [2022-10-14T13:25:39.544Z] 04944245beec: Pulling fs layer [2022-10-14T13:25:39.544Z] 699f458cf7ca: Pulling fs layer [2022-10-14T13:25:39.544Z] 765212b225bb: Pulling fs layer [2022-10-14T13:25:39.544Z] f23df028b6ca: Pulling fs layer [2022-10-14T13:25:39.544Z] d65c8cfc05b1: Pulling fs layer [2022-10-14T13:25:39.544Z] 2437ff75d9bd: Pulling fs layer [2022-10-14T13:25:39.544Z] 765212b225bb: Waiting [2022-10-14T13:25:39.544Z] f23df028b6ca: Waiting [2022-10-14T13:25:39.544Z] d65c8cfc05b1: Waiting [2022-10-14T13:25:39.544Z] 2437ff75d9bd: Waiting [2022-10-14T13:25:39.811Z] 04944245beec: Verifying Checksum [2022-10-14T13:25:39.811Z] 04944245beec: Download complete [2022-10-14T13:25:39.811Z] 765212b225bb: Verifying Checksum [2022-10-14T13:25:39.811Z] 765212b225bb: Download complete [2022-10-14T13:25:39.811Z] f23df028b6ca: Verifying Checksum [2022-10-14T13:25:39.811Z] f23df028b6ca: Download complete [2022-10-14T13:25:39.811Z] d65c8cfc05b1: Download complete [2022-10-14T13:25:39.811Z] 699f458cf7ca: Verifying Checksum [2022-10-14T13:25:39.811Z] 699f458cf7ca: Download complete [2022-10-14T13:25:40.397Z] 8998bd30e6a1: Verifying Checksum [2022-10-14T13:25:40.397Z] 8998bd30e6a1: Download complete [2022-10-14T13:25:42.978Z] 2437ff75d9bd: Verifying Checksum [2022-10-14T13:25:42.978Z] 2437ff75d9bd: Download complete [2022-10-14T13:25:44.386Z] 8998bd30e6a1: Pull complete [2022-10-14T13:25:44.652Z] 04944245beec: Pull complete [2022-10-14T13:25:46.070Z] 699f458cf7ca: Pull complete [2022-10-14T13:25:46.070Z] 765212b225bb: Pull complete [2022-10-14T13:25:47.030Z] f23df028b6ca: Pull complete [2022-10-14T13:25:47.030Z] d65c8cfc05b1: Pull complete [2022-10-14T13:26:02.029Z] 2437ff75d9bd: Pull complete [2022-10-14T13:26:02.029Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-14T13:26:02.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-14T13:26:02.029Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:26:02.332Z] prd-ubuntu20.04-docker-arm64-4c-16g-7862 does not seem to be running inside a container [2022-10-14T13:26:02.391Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-14T13:26:04.870Z] $ docker top b8c6ed5340a84f4309159766b983e9f750b4cc3d438e6c77ab251c09ee2e12da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:26:05.442Z] ---> job-cost.sh [2022-10-14T13:26:05.706Z] lf-activate-venv: SKIPPING [2022-10-14T13:26:05.707Z] INFO: No Stack... [2022-10-14T13:26:06.282Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-14T13:26:06.863Z] INFO: Archiving Costs [Pipeline] sh [2022-10-14T13:26:07.202Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-10-14T13:26:07.202Z] + cut -d, -f6 [Pipeline] lock [2022-10-14T13:26:07.279Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] [2022-10-14T13:26:07.284Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] did not exist. Created. [2022-10-14T13:26:07.284Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-14T13:26:08.009Z] /w/workspace/device-rest-go/1@tmp/durable-da64d0de/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-14T13:26:08.676Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-14T13:26:08.723Z] Warning: overwriting stash ‘stack-cost’ [2022-10-14T13:26:08.760Z] Stashed 1 file(s) [Pipeline] } [2022-10-14T13:26:08.777Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-219-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-14T13:26:08.860Z] $ docker stop --time=1 b8c6ed5340a84f4309159766b983e9f750b4cc3d438e6c77ab251c09ee2e12da [2022-10-14T13:26:10.347Z] $ docker rm -f b8c6ed5340a84f4309159766b983e9f750b4cc3d438e6c77ab251c09ee2e12da [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-14T13:26:11.321Z] provisioning config files... [2022-10-14T13:26:11.328Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-219@tmp/config9259480738204984354tmp [Pipeline] { [Pipeline] sh [2022-10-14T13:26:11.664Z] + set +x [2022-10-14T13:26:11.664Z] + curl -s https://codecov.io/bash [2022-10-14T13:26:11.664Z] + bash -s -- [2022-10-14T13:26:11.664Z] [2022-10-14T13:26:11.664Z] _____ _ [2022-10-14T13:26:11.664Z] / ____| | | [2022-10-14T13:26:11.664Z] | | ___ __| | ___ ___ _____ __ [2022-10-14T13:26:11.664Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-14T13:26:11.664Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-14T13:26:11.664Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-14T13:26:11.664Z] Bash-1.0.6 [2022-10-14T13:26:11.664Z] [2022-10-14T13:26:11.664Z] [2022-10-14T13:26:11.664Z] ==> git version 2.25.1 found [2022-10-14T13:26:11.664Z] ==> 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-14T13:26:11.664Z] Release-Date: 2020-01-08 [2022-10-14T13:26:11.664Z] 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-14T13:26:11.664Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-14T13:26:11.664Z] ==> Jenkins CI detected. [2022-10-14T13:26:11.664Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-219 [2022-10-14T13:26:11.664Z] project root: . [2022-10-14T13:26:11.664Z] --> token set from env [2022-10-14T13:26:11.664Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-14T13:26:11.664Z] ==> Running gcov in . (disable via -X gcov) [2022-10-14T13:26:11.664Z] ==> Python coveragepy not found [2022-10-14T13:26:11.664Z] ==> Searching for coverage reports in: [2022-10-14T13:26:11.664Z] + . [2022-10-14T13:26:11.664Z] -> Found 1 reports [2022-10-14T13:26:11.664Z] ==> Detecting git/mercurial file structure [2022-10-14T13:26:11.664Z] ==> Reading reports [2022-10-14T13:26:11.664Z] + ./coverage.out bytes=9355 [2022-10-14T13:26:11.664Z] ==> Appending adjustments [2022-10-14T13:26:11.664Z] https://docs.codecov.io/docs/fixing-reports [2022-10-14T13:26:11.664Z] + Found adjustments [2022-10-14T13:26:11.925Z] ==> Gzipping contents [2022-10-14T13:26:11.925Z] 4.0K /tmp/codecov.WrfsWd.gz [2022-10-14T13:26:11.925Z] ==> Uploading reports [2022-10-14T13:26:11.925Z] url: https://codecov.io [2022-10-14T13:26:11.925Z] query: branch=PR-219&commit=6e8a5909a9c906afe33035ec85f5e357b03f38e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-219%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=219&job=&cmd_args= [2022-10-14T13:26:11.925Z] -> Pinging Codecov [2022-10-14T13:26:11.925Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-219&commit=6e8a5909a9c906afe33035ec85f5e357b03f38e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-219%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=219&job=&cmd_args= [2022-10-14T13:26:12.184Z] -> Uploading to [2022-10-14T13:26:12.184Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-14/4E5D53B4F1F92C436F7061BF334D961C/6e8a5909a9c906afe33035ec85f5e357b03f38e9/d8e1b1a7-96eb-4efc-b70c-c8a2c7d241b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221014T132612Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d4d1e269d3046f2f4f7dc97a0d979d3081ae47fe7fd29c242fb9d047d773c36c [2022-10-14T13:26:12.184Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-14T13:26:12.184Z] Dload Upload Total Spent Left Speed [2022-10-14T13:26:12.445Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 8561 --:--:-- --:--:-- --:--:-- 8519 100 1738 0 0 100 1738 0 8083 --:--:-- --:--:-- --:--:-- 8046 [2022-10-14T13:26:12.445Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6e8a5909a9c906afe33035ec85f5e357b03f38e9 [Pipeline] } [2022-10-14T13:26:12.471Z] 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-14T13:26:14.201Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-219/archives ] [2022-10-14T13:26:14.201Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-219/archives [2022-10-14T13:26:14.201Z] total 16 [2022-10-14T13:26:14.201Z] drwxr-xr-x 3 root root 4096 Oct 14 13:17 . [2022-10-14T13:26:14.201Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 13:17 .. [2022-10-14T13:26:14.201Z] drwxr-xr-x 2 root root 4096 Oct 14 13:17 cost [2022-10-14T13:26:14.201Z] -rw-r--r-- 1 root root 86 Oct 14 13:17 cost.csv [2022-10-14T13:26:14.201Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-219/archives [2022-10-14T13:26:14.201Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-219/archives [2022-10-14T13:26:14.201Z] total 16 [2022-10-14T13:26:14.201Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 13:17 . [2022-10-14T13:26:14.201Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 13:17 .. [2022-10-14T13:26:14.201Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 13:17 cost [2022-10-14T13:26:14.201Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 14 13:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:26:14.528Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:26:15.421Z] ---> package-listing.sh [2022-10-14T13:26:15.421Z] ++ facter osfamily [2022-10-14T13:26:15.421Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-14T13:26:15.680Z] + OS_FAMILY=debian [2022-10-14T13:26:15.680Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-219 [2022-10-14T13:26:15.680Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-14T13:26:15.680Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-14T13:26:15.680Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-14T13:26:15.680Z] + PACKAGES=/tmp/packages_start.txt [2022-10-14T13:26:15.680Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-219 ']' [2022-10-14T13:26:15.680Z] + PACKAGES=/tmp/packages_end.txt [2022-10-14T13:26:15.680Z] + case "${OS_FAMILY}" in [2022-10-14T13:26:15.680Z] + dpkg -l [2022-10-14T13:26:15.680Z] + grep '^ii' [2022-10-14T13:26:15.680Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-14T13:26:15.680Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-14T13:26:15.680Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-14T13:26:15.680Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-219 ']' [2022-10-14T13:26:15.680Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-219/archives/ [2022-10-14T13:26:15.680Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-219/archives/ [Pipeline] echo [2022-10-14T13:26:15.710Z] 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-219/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-14T13:26:16.001Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-14T13:26:16.634Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-14T13:26:16.634Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-14T13:26:16.777Z] prd-ubuntu20.04-docker-8c-8g-7860 does not seem to be running inside a container [2022-10-14T13:26:16.805Z] $ 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-219/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-219 -v /w/workspace/gexfoundry_device-rest-go_PR-219:/w/workspace/gexfoundry_device-rest-go_PR-219:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-219@tmp:/w/workspace/gexfoundry_device-rest-go_PR-219@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-14T13:26:16.974Z] $ docker top fc28d0596fb966c39aa558e2d3bbfaa2bdfb71a1bed12bc8a2cb108b5cae6294 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-14T13:26:17.351Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-14T13:26:17.661Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-14T13:26:17.969Z] + ls /var/log/sa-host [2022-10-14T13:26:17.969Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-14T13:26:18.100Z] provisioning config files... [2022-10-14T13:26:18.110Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-219@tmp/config3900049008250390072tmp [Pipeline] { [Pipeline] echo [2022-10-14T13:26:18.159Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:26:18.474Z] ---> create-netrc.sh [Pipeline] } [2022-10-14T13:26:18.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:26:18.909Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-14T13:26:18.950Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:26:19.263Z] ---> sudo-logs.sh [2022-10-14T13:26:19.263Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-14T13:26:19.346Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:26:19.661Z] ---> job-cost.sh [2022-10-14T13:26:19.661Z] lf-activate-venv: SKIPPING [2022-10-14T13:26:19.661Z] DEBUG: total: 0.2199999988079071 [2022-10-14T13:26:19.661Z] INFO: Retrieving Stack Cost... [2022-10-14T13:26:19.920Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-14T13:26:20.489Z] INFO: Archiving Costs [Pipeline] echo [2022-10-14T13:26:20.521Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-14T13:26:20.832Z] ---> logs-deploy.sh [2022-10-14T13:26:20.832Z] lf-activate-venv: SKIPPING [2022-10-14T13:26:20.832Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-219/1 [2022-10-14T13:26:20.832Z] INFO: archiving workspace using pattern(s): [2022-10-14T13:26:21.770Z] Archives upload complete. [2022-10-14T13:26:21.770Z] INFO: archiving logs to Nexus [2022-10-14T13:26:22.339Z] ---> uname -a: [2022-10-14T13:26:22.339Z] Linux prd-ubuntu20-04-docker-8c-8g-7860 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-14T13:26:22.339Z] [2022-10-14T13:26:22.339Z]