Pull request #216 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962+fa2594666deb171bc078c2a791882f5db0311ade (4015761ae08357c95bbaa61e7209388a0dbe8d10) 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-ssh6431265426976979502.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-ssh6493788319042282679.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-216/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-216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3839664379199654172.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-216/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh177635699166280716.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-ssh1057583343233539309.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-216/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-216/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7225863321643957206.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6931 in /w/workspace/gexfoundry_device-rest-go_PR-216 [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-216 # 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 Merging remotes/origin/main commit fa2594666deb171bc078c2a791882f5db0311ade into PR head commit 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 Merge succeeded, producing 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 Checking out Revision 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 (PR-216) > 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/216/head:refs/remotes/origin/PR-216 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 # 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 fa2594666deb171bc078c2a791882f5db0311ade # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-03T20:04:01.298Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T20:04:01.460Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-03T20:04:01.564Z] ========================================================= [2022-10-03T20:04:01.564Z] EdgeX Global Pipelines Version Info [2022-10-03T20:04:01.564Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:04:02.324Z] ------------------- [2022-10-03T20:04:02.324Z] stable info: [2022-10-03T20:04:02.324Z] ------------------- [2022-10-03T20:04:02.324Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T20:04:02.324Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T20:04:02.324Z] Message: update stable to v1.0.239 [2022-10-03T20:04:02.894Z] ------------------- [2022-10-03T20:04:02.894Z] experimental info: [2022-10-03T20:04:02.894Z] ------------------- [2022-10-03T20:04:02.894Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T20:04:02.894Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T20:04:02.894Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T20:04:03.196Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-03T20:04:03.238Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-03T20:04:03.277Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T20:04:03.315Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T20:04:03.354Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T20:04:03.395Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T20:04:03.436Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T20:04:03.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-03T20:04:03.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T20:04:03.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T20:04:03.615Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T20:04:03.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-03T20:04:03.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T20:04:03.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T20:04:03.842Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T20:04:03.893Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T20:04:03.937Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T20:04:03.976Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T20:04:04.030Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T20:04:04.077Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T20:04:04.122Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-03T20:04:04.168Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-03T20:04:04.205Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T20:04:04.242Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T20:04:04.283Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T20:04:04.322Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-03T20:04:04.360Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T20:04:04.395Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-216 [Pipeline] echo [2022-10-03T20:04:04.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-216 [Pipeline] echo [2022-10-03T20:04:04.475Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-216 [Pipeline] echo [2022-10-03T20:04:04.534Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [Pipeline] echo [2022-10-03T20:04:04.573Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0ab2c4c [Pipeline] echo [2022-10-03T20:04:04.615Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T20:04:04.721Z] provisioning config files... [2022-10-03T20:04:04.761Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp/config14269804630980664739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:04:05.103Z] ---> docker-login.sh [2022-10-03T20:04:05.103Z] nexus3.edgexfoundry.org:10001 [2022-10-03T20:04:05.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:05.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:05.622Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:05.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:05.622Z] [2022-10-03T20:04:05.622Z] Login Succeeded [2022-10-03T20:04:05.622Z] nexus3.edgexfoundry.org:10002 [2022-10-03T20:04:05.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:05.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:05.622Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:05.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:05.622Z] [2022-10-03T20:04:05.622Z] Login Succeeded [2022-10-03T20:04:05.622Z] nexus3.edgexfoundry.org:10003 [2022-10-03T20:04:05.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:05.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:05.883Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:05.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:05.883Z] [2022-10-03T20:04:05.883Z] Login Succeeded [2022-10-03T20:04:05.883Z] nexus3.edgexfoundry.org:10004 [2022-10-03T20:04:05.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:05.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:05.883Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:05.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:05.883Z] [2022-10-03T20:04:05.883Z] Login Succeeded [2022-10-03T20:04:05.883Z] docker.io [2022-10-03T20:04:05.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:06.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:06.452Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:06.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:06.452Z] [2022-10-03T20:04:06.452Z] Login Succeeded [2022-10-03T20:04:06.452Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T20:04:06.490Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-03T20:04:07.140Z] + git rev-list -1 --merges 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962~1..0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [Pipeline] echo [2022-10-03T20:04:07.190Z] -----------> git rev-list -1 --merges 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962~1..0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [false] [Pipeline] sh [2022-10-03T20:04:07.498Z] + git log --format=format:%s -1 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [Pipeline] echo [2022-10-03T20:04:07.530Z] ========================================================= [2022-10-03T20:04:07.530Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T20:04:07.530Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T20:04:07.959Z] + git log --format=format:%s -1 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [Pipeline] echo [2022-10-03T20:04:07.990Z] [semverPrep] GIT_COMMIT: 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-03T20:04:08.021Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T20:04:08.408Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T20:04:08.408Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T20:04:08.408Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T20:04:08.408Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T20:04:08.408Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-03T20:04:08.408Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T20:04:08.408Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:04:08.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T20:04:08.888Z] [2022-10-03T20:04:08.888Z] 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-03T20:04:09.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T20:04:09.264Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T20:04:09.264Z] b85a868b505f: Pulling fs layer [2022-10-03T20:04:09.264Z] e2be974225ed: Pulling fs layer [2022-10-03T20:04:09.264Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T20:04:09.264Z] 988bab9f4d93: Pulling fs layer [2022-10-03T20:04:09.264Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T20:04:09.264Z] eaf3925da568: Pulling fs layer [2022-10-03T20:04:09.264Z] bab4dde63d76: Pulling fs layer [2022-10-03T20:04:09.264Z] bde34c3a00c8: Pulling fs layer [2022-10-03T20:04:09.264Z] b352a97aabf1: Pulling fs layer [2022-10-03T20:04:09.264Z] 4872d77fe225: Pulling fs layer [2022-10-03T20:04:09.264Z] 5851b861e8e6: Pulling fs layer [2022-10-03T20:04:09.264Z] bab4dde63d76: Waiting [2022-10-03T20:04:09.264Z] 988bab9f4d93: Waiting [2022-10-03T20:04:09.264Z] b352a97aabf1: Waiting [2022-10-03T20:04:09.264Z] 4872d77fe225: Waiting [2022-10-03T20:04:09.264Z] 5851b861e8e6: Waiting [2022-10-03T20:04:09.264Z] 1469e6f7b9e6: Waiting [2022-10-03T20:04:09.264Z] eaf3925da568: Waiting [2022-10-03T20:04:09.264Z] e2be974225ed: Verifying Checksum [2022-10-03T20:04:09.264Z] e2be974225ed: Download complete [2022-10-03T20:04:09.264Z] 988bab9f4d93: Verifying Checksum [2022-10-03T20:04:09.264Z] 988bab9f4d93: Download complete [2022-10-03T20:04:09.527Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T20:04:09.527Z] 1469e6f7b9e6: Download complete [2022-10-03T20:04:09.527Z] 339a4e72a1f5: Verifying Checksum [2022-10-03T20:04:09.527Z] 339a4e72a1f5: Download complete [2022-10-03T20:04:09.527Z] eaf3925da568: Verifying Checksum [2022-10-03T20:04:09.527Z] eaf3925da568: Download complete [2022-10-03T20:04:09.527Z] bde34c3a00c8: Verifying Checksum [2022-10-03T20:04:09.527Z] bde34c3a00c8: Download complete [2022-10-03T20:04:09.527Z] b352a97aabf1: Download complete [2022-10-03T20:04:09.527Z] 4872d77fe225: Verifying Checksum [2022-10-03T20:04:09.527Z] 4872d77fe225: Download complete [2022-10-03T20:04:09.527Z] 5851b861e8e6: Verifying Checksum [2022-10-03T20:04:09.527Z] 5851b861e8e6: Download complete [2022-10-03T20:04:09.527Z] b85a868b505f: Verifying Checksum [2022-10-03T20:04:09.527Z] b85a868b505f: Download complete [2022-10-03T20:04:09.785Z] bab4dde63d76: Verifying Checksum [2022-10-03T20:04:09.785Z] bab4dde63d76: Download complete [2022-10-03T20:04:11.166Z] b85a868b505f: Pull complete [2022-10-03T20:04:11.166Z] e2be974225ed: Pull complete [2022-10-03T20:04:11.735Z] 339a4e72a1f5: Pull complete [2022-10-03T20:04:11.735Z] 988bab9f4d93: Pull complete [2022-10-03T20:04:12.006Z] 1469e6f7b9e6: Pull complete [2022-10-03T20:04:12.006Z] eaf3925da568: Pull complete [2022-10-03T20:04:13.926Z] bab4dde63d76: Pull complete [2022-10-03T20:04:13.926Z] bde34c3a00c8: Pull complete [2022-10-03T20:04:14.186Z] b352a97aabf1: Pull complete [2022-10-03T20:04:14.186Z] 4872d77fe225: Pull complete [2022-10-03T20:04:14.186Z] 5851b861e8e6: Pull complete [2022-10-03T20:04:14.186Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T20:04:14.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T20:04:14.186Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:04:14.395Z] prd-ubuntu20.04-docker-8c-8g-6931 does not seem to be running inside a container [2022-10-03T20:04:14.429Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-216 -v /w/workspace/gexfoundry_device-rest-go_PR-216:/w/workspace/gexfoundry_device-rest-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-216@tmp:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-03T20:04:16.459Z] $ docker top 2d90da9637122e1e82994bab3a8b6954c4a31f9b9073e5c34316b901b9fa18cf -eo pid,comm [2022-10-03T20:04:16.510Z] 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-03T20:04:16.510Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T20:04:16.626Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T20:04:16.626Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T20:04:16.738Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T20:04:16.745Z] $ docker exec 2d90da9637122e1e82994bab3a8b6954c4a31f9b9073e5c34316b901b9fa18cf ssh-agent [2022-10-03T20:04:16.847Z] SSH_AUTH_SOCK=/tmp/ssh-G7KdsACpqQCF/agent.32 [2022-10-03T20:04:16.847Z] SSH_AGENT_PID=38 [2022-10-03T20:04:16.854Z] Running ssh-add (command line suppressed) [2022-10-03T20:04:16.961Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-216@tmp/private_key_18018564593635827752.key (/w/workspace/gexfoundry_device-rest-go_PR-216@tmp/private_key_18018564593635827752.key) [2022-10-03T20:04:16.971Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T20:04:17.300Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T20:04:17.328Z] $ docker exec --env ******** --env ******** 2d90da9637122e1e82994bab3a8b6954c4a31f9b9073e5c34316b901b9fa18cf ssh-agent -k [2022-10-03T20:04:17.425Z] unset SSH_AUTH_SOCK; [2022-10-03T20:04:17.426Z] unset SSH_AGENT_PID; [2022-10-03T20:04:17.426Z] echo Agent pid 38 killed; [2022-10-03T20:04:17.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T20:04:17.515Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T20:04:17.515Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T20:04:17.628Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T20:04:17.635Z] $ docker exec 2d90da9637122e1e82994bab3a8b6954c4a31f9b9073e5c34316b901b9fa18cf ssh-agent [2022-10-03T20:04:17.736Z] SSH_AUTH_SOCK=/tmp/ssh-JA9MDlX3b38P/agent.71 [2022-10-03T20:04:17.736Z] SSH_AGENT_PID=77 [2022-10-03T20:04:17.740Z] Running ssh-add (command line suppressed) [2022-10-03T20:04:17.854Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-216@tmp/private_key_5163373256995511949.key (/w/workspace/gexfoundry_device-rest-go_PR-216@tmp/private_key_5163373256995511949.key) [2022-10-03T20:04:17.865Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T20:04:18.191Z] + git semver init [2022-10-03T20:04:18.451Z] 2022-10-03 20:04:18,361 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T20:04:18.451Z] 2022-10-03 20:04:18,362 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-216/.semver [2022-10-03T20:04:18.451Z] 2022-10-03 20:04:18,363 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-216/.semver [2022-10-03T20:04:18.451Z] 2022-10-03 20:04:18,363 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-216/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-216, universal_newlines=False, shell=None, istream=None) [2022-10-03T20:04:19.831Z] 2022-10-03 20:04:19,449 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-216/.git/info/exclude [2022-10-03T20:04:19.831Z] 2022-10-03 20:04:19,450 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-216/.semver/PR-216 with force:False [2022-10-03T20:04:19.831Z] 2022-10-03 20:04:19,450 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-216/.semver/PR-216 [2022-10-03T20:04:19.831Z] 2022-10-03 20:04:19,454 [execute] INFO git cat-file --batch-check [2022-10-03T20:04:19.831Z] 2022-10-03 20:04:19,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-216/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T20:04:19.831Z] 2022-10-03 20:04:19,460 [execute] INFO git cat-file --batch [2022-10-03T20:04:19.831Z] 2022-10-03 20:04:19,461 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-216/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T20:04:19.831Z] 2022-10-03 20:04:19,465 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-216/.semver/PR-216 [2022-10-03T20:04:19.831Z] 0.0.0 [Pipeline] } [2022-10-03T20:04:19.861Z] $ docker exec --env ******** --env ******** 2d90da9637122e1e82994bab3a8b6954c4a31f9b9073e5c34316b901b9fa18cf ssh-agent -k [2022-10-03T20:04:19.959Z] unset SSH_AUTH_SOCK; [2022-10-03T20:04:19.960Z] unset SSH_AGENT_PID; [2022-10-03T20:04:19.960Z] echo Agent pid 77 killed; [2022-10-03T20:04:19.967Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T20:04:20.394Z] + git semver [Pipeline] } [2022-10-03T20:04:20.686Z] $ docker stop --time=1 2d90da9637122e1e82994bab3a8b6954c4a31f9b9073e5c34316b901b9fa18cf [2022-10-03T20:04:21.984Z] $ docker rm -f 2d90da9637122e1e82994bab3a8b6954c4a31f9b9073e5c34316b901b9fa18cf [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T20:04:22.373Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T20:04:22.596Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T20:04:22.611Z] [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-03T20:04:23.182Z] provisioning config files... [2022-10-03T20:04:23.192Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp/config6039019571374112178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:04:23.538Z] ---> docker-login.sh [2022-10-03T20:04:23.538Z] nexus3.edgexfoundry.org:10001 [2022-10-03T20:04:23.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:23.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:23.538Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:23.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:23.538Z] [2022-10-03T20:04:23.538Z] Login Succeeded [2022-10-03T20:04:23.538Z] nexus3.edgexfoundry.org:10002 [2022-10-03T20:04:23.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:23.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:23.538Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:23.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:23.538Z] [2022-10-03T20:04:23.538Z] Login Succeeded [2022-10-03T20:04:23.538Z] nexus3.edgexfoundry.org:10003 [2022-10-03T20:04:23.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:23.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:23.802Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:23.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:23.802Z] [2022-10-03T20:04:23.802Z] Login Succeeded [2022-10-03T20:04:23.802Z] nexus3.edgexfoundry.org:10004 [2022-10-03T20:04:23.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:23.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:23.802Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:23.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:23.802Z] [2022-10-03T20:04:23.802Z] Login Succeeded [2022-10-03T20:04:23.802Z] docker.io [2022-10-03T20:04:23.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:24.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:24.371Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:24.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:24.371Z] [2022-10-03T20:04:24.371Z] Login Succeeded [2022-10-03T20:04:24.371Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T20:04:24.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T20:04:24.598Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T20:04:24.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T20:04:24.664Z] ========================================================= [2022-10-03T20:04:24.664Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T20:04:24.664Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:04:25.138Z] + 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-03T20:04:25.138Z] Sending build context to Docker daemon 10.73MB [2022-10-03T20:04:25.138Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T20:04:25.138Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T20:04:25.138Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T20:04:25.138Z] 2408cc74d12b: Pulling fs layer [2022-10-03T20:04:25.138Z] ea60b727a1ce: Pulling fs layer [2022-10-03T20:04:25.138Z] 30c4a7721957: Pulling fs layer [2022-10-03T20:04:25.138Z] 370296b7ddb6: Pulling fs layer [2022-10-03T20:04:25.138Z] 7c6cee850709: Pulling fs layer [2022-10-03T20:04:25.138Z] aa9baa53a306: Pulling fs layer [2022-10-03T20:04:25.138Z] 8b309c321861: Pulling fs layer [2022-10-03T20:04:25.138Z] d8d76fd02f46: Pulling fs layer [2022-10-03T20:04:25.138Z] fa31f396de31: Pulling fs layer [2022-10-03T20:04:25.138Z] d8d76fd02f46: Waiting [2022-10-03T20:04:25.138Z] aa9baa53a306: Waiting [2022-10-03T20:04:25.138Z] fa31f396de31: Waiting [2022-10-03T20:04:25.138Z] 8b309c321861: Waiting [2022-10-03T20:04:25.138Z] 370296b7ddb6: Waiting [2022-10-03T20:04:25.138Z] 30c4a7721957: Verifying Checksum [2022-10-03T20:04:25.138Z] 30c4a7721957: Download complete [2022-10-03T20:04:25.138Z] ea60b727a1ce: Download complete [2022-10-03T20:04:25.138Z] 7c6cee850709: Verifying Checksum [2022-10-03T20:04:25.138Z] 7c6cee850709: Download complete [2022-10-03T20:04:25.408Z] aa9baa53a306: Download complete [2022-10-03T20:04:25.408Z] 2408cc74d12b: Verifying Checksum [2022-10-03T20:04:25.408Z] 2408cc74d12b: Download complete [2022-10-03T20:04:25.408Z] 8b309c321861: Download complete [2022-10-03T20:04:25.408Z] 2408cc74d12b: Pull complete [2022-10-03T20:04:25.677Z] ea60b727a1ce: Pull complete [2022-10-03T20:04:25.677Z] 30c4a7721957: Pull complete [2022-10-03T20:04:25.940Z] fa31f396de31: Verifying Checksum [2022-10-03T20:04:25.940Z] fa31f396de31: Download complete [2022-10-03T20:04:25.940Z] d8d76fd02f46: Verifying Checksum [2022-10-03T20:04:25.940Z] d8d76fd02f46: Download complete [2022-10-03T20:04:26.198Z] 370296b7ddb6: Verifying Checksum [2022-10-03T20:04:26.198Z] 370296b7ddb6: Download complete [2022-10-03T20:04:30.437Z] 370296b7ddb6: Pull complete [2022-10-03T20:04:30.437Z] 7c6cee850709: Pull complete [2022-10-03T20:04:30.437Z] aa9baa53a306: Pull complete [2022-10-03T20:04:30.437Z] 8b309c321861: Pull complete [2022-10-03T20:04:32.335Z] d8d76fd02f46: Pull complete [2022-10-03T20:04:32.902Z] fa31f396de31: Pull complete [2022-10-03T20:04:32.902Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T20:04:32.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T20:04:32.902Z] ---> cef68f9685f8 [2022-10-03T20:04:32.902Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T20:04:36.202Z] ---> Running in 6fb9e47548b7 [2022-10-03T20:04:36.202Z] Removing intermediate container 6fb9e47548b7 [2022-10-03T20:04:36.202Z] ---> e06433000f76 [2022-10-03T20:04:36.202Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T20:04:36.202Z] ---> Running in 586ae4682e08 [2022-10-03T20:04:36.202Z] Removing intermediate container 586ae4682e08 [2022-10-03T20:04:36.202Z] ---> 5bf536db45d6 [2022-10-03T20:04:36.202Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T20:04:36.202Z] ---> Running in 211742359e39 [2022-10-03T20:04:36.202Z] Removing intermediate container 211742359e39 [2022-10-03T20:04:36.202Z] ---> 40c6563734da [2022-10-03T20:04:36.202Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T20:04:36.202Z] ---> Running in 05c208de3d6e [2022-10-03T20:04:36.202Z] Removing intermediate container 05c208de3d6e [2022-10-03T20:04:36.202Z] ---> ce5454efc81a [2022-10-03T20:04:36.202Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T20:04:36.202Z] ---> Running in 2f5f06b9304c [2022-10-03T20:04:36.772Z] Removing intermediate container 2f5f06b9304c [2022-10-03T20:04:36.772Z] ---> 46665bc8b659 [2022-10-03T20:04:36.772Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T20:04:36.772Z] ---> Running in 735b985d6e09 [2022-10-03T20:04:37.031Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T20:04:37.972Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T20:04:38.011Z] Still waiting to schedule task [2022-10-03T20:04:38.011Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-03T20:04:38.231Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T20:04:38.231Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T20:04:38.491Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T20:04:38.491Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T20:04:38.491Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T20:04:38.491Z] OK: 216 MiB in 55 packages [2022-10-03T20:04:39.867Z] Removing intermediate container 735b985d6e09 [2022-10-03T20:04:39.867Z] ---> a60d97a86f82 [2022-10-03T20:04:39.867Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-03T20:04:39.867Z] ---> Running in 2b07f267a949 [2022-10-03T20:04:39.867Z] Removing intermediate container 2b07f267a949 [2022-10-03T20:04:39.867Z] ---> 65ccb42d81e8 [2022-10-03T20:04:39.867Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T20:04:40.126Z] ---> 75a0eeca333b [2022-10-03T20:04:40.126Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T20:04:40.126Z] ---> Running in b6dc31e55c09 [2022-10-03T20:05:02.070Z] Removing intermediate container b6dc31e55c09 [2022-10-03T20:05:02.070Z] ---> 866d399666a5 [2022-10-03T20:05:02.070Z] Step 12/13 : COPY . . [2022-10-03T20:05:02.070Z] ---> 5ee323f70701 [2022-10-03T20:05:02.070Z] Step 13/13 : RUN $MAKE [2022-10-03T20:05:02.070Z] ---> Running in 2b65e6f8de9b [2022-10-03T20:05:02.331Z] noop [2022-10-03T20:05:02.331Z] Removing intermediate container 2b65e6f8de9b [2022-10-03T20:05:02.331Z] ---> 945eba7f9fe3 [2022-10-03T20:05:02.592Z] Successfully built 945eba7f9fe3 [2022-10-03T20:05:02.592Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:05:03.043Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T20:05:03.043Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:05:03.193Z] prd-ubuntu20.04-docker-8c-8g-6931 does not seem to be running inside a container [2022-10-03T20:05:03.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-216 -v /w/workspace/gexfoundry_device-rest-go_PR-216:/w/workspace/gexfoundry_device-rest-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-216@tmp:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T20:05:03.525Z] $ docker top bc47674f956f84393e6ca99e8749d367572b92caaf5cc7153362065e6ce640f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:05:03.926Z] + go version [2022-10-03T20:05:03.926Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T20:05:03.964Z] $ docker stop --time=1 bc47674f956f84393e6ca99e8749d367572b92caaf5cc7153362065e6ce640f6 [2022-10-03T20:05:05.365Z] $ docker rm -f bc47674f956f84393e6ca99e8749d367572b92caaf5cc7153362065e6ce640f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:05:06.073Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T20:05:06.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:05:06.219Z] prd-ubuntu20.04-docker-8c-8g-6931 does not seem to be running inside a container [2022-10-03T20:05:06.250Z] $ 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-216 -v /w/workspace/gexfoundry_device-rest-go_PR-216:/w/workspace/gexfoundry_device-rest-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-216@tmp:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T20:05:06.719Z] $ docker top 6b8d7aeede9c3ec6ce8e40e511a89f7073bcb30de0a03f0a8171e4ecf21c7838 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:05:07.103Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-216 [Pipeline] fileExists [Pipeline] sh [2022-10-03T20:05:07.466Z] + make test [2022-10-03T20:05:07.466Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T20:05:07.724Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-03T20:05:17.769Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-03T20:05:18.028Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-10-03T20:05:24.591Z] 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-03T20:05:24.591Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T20:05:27.879Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T20:05:27.879Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T20:05:27.879Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T20:05:27.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T20:05:27.942Z] $ docker stop --time=1 6b8d7aeede9c3ec6ce8e40e511a89f7073bcb30de0a03f0a8171e4ecf21c7838 [2022-10-03T20:05:30.547Z] $ docker rm -f 6b8d7aeede9c3ec6ce8e40e511a89f7073bcb30de0a03f0a8171e4ecf21c7838 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T20:05:31.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T20:05:31.092Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T20:05:31.723Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T20:05:32.036Z] + ls -al . [2022-10-03T20:05:32.036Z] total 180 [2022-10-03T20:05:32.036Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 20:05 . [2022-10-03T20:05:32.036Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:03 .. [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 3 20:04 .dockerignore [2022-10-03T20:05:32.036Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:05 .git [2022-10-03T20:05:32.036Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:04 .github [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 20:04 .gitignore [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 20:04 .golangci.yml [2022-10-03T20:05:32.036Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 20:04 .semver [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 3 20:04 Attribution.txt [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 3 20:04 CHANGELOG.md [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 3 20:04 Dockerfile [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 20:04 GOVERNANCE.md [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 20:04 Jenkinsfile [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 20:04 LICENSE [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 3 20:04 Makefile [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 20:04 OWNERS.md [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 3 20:04 README.md [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 20:04 VERSION [2022-10-03T20:05:32.036Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:04 bin [2022-10-03T20:05:32.036Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:04 cmd [2022-10-03T20:05:32.036Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 3 20:05 coverage.out [2022-10-03T20:05:32.036Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:04 driver [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 3 20:04 go.mod [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 20:04 go.sum [2022-10-03T20:05:32.036Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:04 snap [2022-10-03T20:05:32.036Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 3 20:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:05:32.458Z] + 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=0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 --label arch=amd64 --label version=0.0.0 . [2022-10-03T20:05:32.458Z] Sending build context to Docker daemon 10.74MB [2022-10-03T20:05:32.458Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T20:05:32.458Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-03T20:05:32.458Z] ---> 945eba7f9fe3 [2022-10-03T20:05:32.458Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-03T20:05:32.777Z] ---> Running in 674463a8caab [2022-10-03T20:05:32.777Z] Removing intermediate container 674463a8caab [2022-10-03T20:05:32.777Z] ---> 27291d81434b [2022-10-03T20:05:32.777Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T20:05:32.777Z] ---> Running in 35ec8afe3412 [2022-10-03T20:05:32.777Z] Removing intermediate container 35ec8afe3412 [2022-10-03T20:05:32.777Z] ---> ec279ebc4d66 [2022-10-03T20:05:32.777Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T20:05:32.777Z] ---> Running in 4dff3e5245fc [2022-10-03T20:05:33.048Z] Removing intermediate container 4dff3e5245fc [2022-10-03T20:05:33.048Z] ---> 78e7cf9bd2e1 [2022-10-03T20:05:33.048Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T20:05:33.048Z] ---> Running in 6f42df354b9e [2022-10-03T20:05:33.048Z] Removing intermediate container 6f42df354b9e [2022-10-03T20:05:33.048Z] ---> c1f2055fe856 [2022-10-03T20:05:33.048Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T20:05:33.048Z] ---> Running in c6ec1400cfb1 [2022-10-03T20:05:33.648Z] Removing intermediate container c6ec1400cfb1 [2022-10-03T20:05:33.648Z] ---> 262d204e06a0 [2022-10-03T20:05:33.648Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T20:05:33.648Z] ---> Running in 064746d3eaa7 [2022-10-03T20:05:33.936Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T20:05:34.900Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T20:05:35.158Z] OK: 216 MiB in 55 packages [2022-10-03T20:05:35.726Z] Removing intermediate container 064746d3eaa7 [2022-10-03T20:05:35.726Z] ---> 0d9a6b3f9817 [2022-10-03T20:05:35.726Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-03T20:05:35.726Z] ---> Running in 14d08ba3d4cc [2022-10-03T20:05:35.726Z] Removing intermediate container 14d08ba3d4cc [2022-10-03T20:05:35.726Z] ---> 32bd89399835 [2022-10-03T20:05:35.726Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-03T20:05:35.726Z] ---> 57d8474ba292 [2022-10-03T20:05:35.726Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T20:05:35.726Z] ---> Running in dc4b176b8137 [2022-10-03T20:05:36.667Z] Removing intermediate container dc4b176b8137 [2022-10-03T20:05:36.667Z] ---> 53841804bf64 [2022-10-03T20:05:36.667Z] Step 12/26 : COPY . . [2022-10-03T20:05:36.927Z] ---> 127eabc6a80f [2022-10-03T20:05:36.927Z] Step 13/26 : RUN $MAKE [2022-10-03T20:05:37.188Z] ---> Running in 18e79df26613 [2022-10-03T20:05:37.448Z] 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-03T20:05:59.477Z] Removing intermediate container 18e79df26613 [2022-10-03T20:05:59.477Z] ---> 911f84906c72 [2022-10-03T20:05:59.477Z] Step 14/26 : FROM alpine:3.16 [2022-10-03T20:05:59.477Z] 3.16: Pulling from library/alpine [2022-10-03T20:05:59.477Z] 213ec9aee27d: Pulling fs layer [2022-10-03T20:05:59.477Z] 213ec9aee27d: Verifying Checksum [2022-10-03T20:05:59.477Z] 213ec9aee27d: Download complete [2022-10-03T20:05:59.477Z] 213ec9aee27d: Pull complete [2022-10-03T20:05:59.477Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T20:05:59.477Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T20:05:59.477Z] ---> 9c6f07244728 [2022-10-03T20:05:59.477Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-03T20:05:59.737Z] ---> Running in 6ad4623024d6 [2022-10-03T20:05:59.737Z] Removing intermediate container 6ad4623024d6 [2022-10-03T20:05:59.737Z] ---> 02f39d5f1302 [2022-10-03T20:05:59.737Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-03T20:05:59.737Z] ---> Running in b0069116f5f7 [2022-10-03T20:05:59.737Z] Removing intermediate container b0069116f5f7 [2022-10-03T20:05:59.737Z] ---> 94d94c3edd4d [2022-10-03T20:05:59.737Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T20:05:59.737Z] ---> Running in 8a8664532511 [2022-10-03T20:05:59.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T20:06:00.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T20:06:00.254Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T20:06:00.254Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T20:06:00.254Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T20:06:00.254Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T20:06:00.513Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T20:06:00.513Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T20:06:00.513Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T20:06:00.513Z] OK: 8 MiB in 20 packages [2022-10-03T20:06:00.772Z] Removing intermediate container 8a8664532511 [2022-10-03T20:06:00.772Z] ---> 054b71278e30 [2022-10-03T20:06:00.772Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-03T20:06:01.706Z] ---> a5b23582a29a [2022-10-03T20:06:01.706Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-03T20:06:01.706Z] ---> f704eabd73d9 [2022-10-03T20:06:01.706Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-03T20:06:01.965Z] ---> b4497b2c9d49 [2022-10-03T20:06:01.965Z] Step 21/26 : EXPOSE 59986 [2022-10-03T20:06:01.965Z] ---> Running in 1f0d7042dca4 [2022-10-03T20:06:01.965Z] Removing intermediate container 1f0d7042dca4 [2022-10-03T20:06:01.965Z] ---> 309708d3b8b5 [2022-10-03T20:06:01.965Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-03T20:06:01.965Z] ---> Running in 47931e05347b [2022-10-03T20:06:01.965Z] Removing intermediate container 47931e05347b [2022-10-03T20:06:01.965Z] ---> 90948236189c [2022-10-03T20:06:01.965Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-03T20:06:02.224Z] ---> Running in 1ce690bd3ebf [2022-10-03T20:06:02.224Z] Removing intermediate container 1ce690bd3ebf [2022-10-03T20:06:02.224Z] ---> eb1db1ab4bb4 [2022-10-03T20:06:02.224Z] Step 24/26 : LABEL arch=amd64 [2022-10-03T20:06:02.224Z] ---> Running in 34aec3c11547 [2022-10-03T20:06:02.224Z] Removing intermediate container 34aec3c11547 [2022-10-03T20:06:02.224Z] ---> 7fee9b09a0d2 [2022-10-03T20:06:02.224Z] Step 25/26 : LABEL git_sha=0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [2022-10-03T20:06:02.224Z] ---> Running in cfd98eb1d606 [2022-10-03T20:06:02.484Z] Removing intermediate container cfd98eb1d606 [2022-10-03T20:06:02.484Z] ---> e4a9e53a8c51 [2022-10-03T20:06:02.484Z] Step 26/26 : LABEL version=0.0.0 [2022-10-03T20:06:02.484Z] ---> Running in ae9250c7b6ab [2022-10-03T20:06:02.484Z] Removing intermediate container ae9250c7b6ab [2022-10-03T20:06:02.484Z] ---> 5d5986eda052 [2022-10-03T20:06:02.484Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T20:06:02.484Z] Successfully built 5d5986eda052 [2022-10-03T20:06:02.484Z] 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-03T20:06:03.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T20:06:03.340Z] [2022-10-03T20:06:03.340Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:06:03.715Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T20:06:03.715Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T20:06:03.715Z] 5eb5b503b376: Pulling fs layer [2022-10-03T20:06:03.715Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T20:06:03.715Z] ec43610c2a17: Pulling fs layer [2022-10-03T20:06:03.715Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T20:06:03.715Z] 33b1e0a273af: Pulling fs layer [2022-10-03T20:06:03.715Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T20:06:03.715Z] 2f39f015ded8: Pulling fs layer [2022-10-03T20:06:03.715Z] 3a2ae6a8a46f: Waiting [2022-10-03T20:06:03.715Z] 33b1e0a273af: Waiting [2022-10-03T20:06:03.715Z] 5d3b04190fa2: Waiting [2022-10-03T20:06:03.715Z] 2f39f015ded8: Waiting [2022-10-03T20:06:03.715Z] 5c69ac0246d0: Download complete [2022-10-03T20:06:03.715Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-03T20:06:03.715Z] 3a2ae6a8a46f: Download complete [2022-10-03T20:06:03.715Z] 33b1e0a273af: Verifying Checksum [2022-10-03T20:06:03.715Z] ec43610c2a17: Verifying Checksum [2022-10-03T20:06:03.715Z] ec43610c2a17: Download complete [2022-10-03T20:06:03.826Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6933 in /w/workspace/gexfoundry_device-rest-go_PR-216 [Pipeline] { [Pipeline] ws [2022-10-03T20:06:03.868Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-10-03T20:06:03.950Z] The recommended git tool is: git [2022-10-03T20:06:03.973Z] 5d3b04190fa2: Verifying Checksum [2022-10-03T20:06:03.973Z] 5d3b04190fa2: Download complete [2022-10-03T20:06:03.973Z] 5eb5b503b376: Verifying Checksum [2022-10-03T20:06:03.973Z] 5eb5b503b376: Download complete [2022-10-03T20:06:04.555Z] 2f39f015ded8: Download complete [2022-10-03T20:06:05.124Z] 5eb5b503b376: Pull complete [2022-10-03T20:06:05.124Z] 5c69ac0246d0: Pull complete [2022-10-03T20:06:05.690Z] ec43610c2a17: Pull complete [2022-10-03T20:06:05.690Z] 3a2ae6a8a46f: Pull complete [2022-10-03T20:06:05.948Z] 33b1e0a273af: Pull complete [2022-10-03T20:06:05.948Z] 5d3b04190fa2: Pull complete [2022-10-03T20:06:09.253Z] using credential edgex-jenkins-ssh [2022-10-03T20:06:09.269Z] Cloning the remote Git repository [2022-10-03T20:06:10.130Z] 2f39f015ded8: Pull complete [2022-10-03T20:06:10.130Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T20:06:10.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T20:06:10.130Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [2022-10-03T20:06:09.317Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-03T20:06:09.400Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-10-03T20:06:09.552Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-03T20:06:09.553Z] > git --version # timeout=10 [2022-10-03T20:06:09.577Z] > git --version # 'git version 2.25.1' [2022-10-03T20:06:09.578Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T20:06:09.622Z] Verifying host key using known hosts file [2022-10-03T20:06:09.809Z] 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-03T20:06:09.822Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:06:10.348Z] prd-ubuntu20.04-docker-8c-8g-6931 does not seem to be running inside a container [2022-10-03T20:06:10.380Z] $ 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-216 -v /w/workspace/gexfoundry_device-rest-go_PR-216:/w/workspace/gexfoundry_device-rest-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-216@tmp:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T20:06:11.698Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-03T20:06:11.724Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T20:06:13.419Z] Merging remotes/origin/main commit fa2594666deb171bc078c2a791882f5db0311ade into PR head commit 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [2022-10-03T20:06:13.616Z] $ docker top 861fe599af8d519c596217c147ce9f984a342e1bcacd29ba83d7354f8f1c2ec3 -eo pid,comm [2022-10-03T20:06:13.668Z] Merge succeeded, producing 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [2022-10-03T20:06:13.669Z] Checking out Revision 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 (PR-216) [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:06:14.072Z] ---> job-cost.sh [2022-10-03T20:06:14.072Z] lf-activate-venv: SKIPPING [2022-10-03T20:06:14.072Z] INFO: No Stack... [2022-10-03T20:06:12.789Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-03T20:06:12.833Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-03T20:06:12.834Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T20:06:12.840Z] Verifying host key using known hosts file [2022-10-03T20:06:12.847Z] 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-03T20:06:12.862Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/216/head:refs/remotes/origin/PR-216 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-03T20:06:13.433Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T20:06:13.456Z] > git checkout -f 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 # timeout=10 [2022-10-03T20:06:13.548Z] > git remote # timeout=10 [2022-10-03T20:06:13.572Z] > git config --get remote.origin.url # timeout=10 [2022-10-03T20:06:13.593Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T20:06:13.599Z] Verifying host key using known hosts file [2022-10-03T20:06:13.602Z] 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-03T20:06:13.614Z] > git merge fa2594666deb171bc078c2a791882f5db0311ade # timeout=10 [2022-10-03T20:06:13.646Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-03T20:06:13.672Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T20:06:13.690Z] > git checkout -f 0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 # timeout=10 [2022-10-03T20:06:14.332Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T20:06:14.377Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-03T20:06:14.447Z] > git --version # timeout=10 [2022-10-03T20:06:14.459Z] > git --version # 'git version 2.25.1' [2022-10-03T20:06:14.483Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T20:06:14.815Z] [2022-10-03T20:06:14.815Z] GitHub has been notified of this commit’s build result [2022-10-03T20:06:14.815Z] [Pipeline] withEnv [Pipeline] { [2022-10-03T20:06:14.899Z] INFO: Archiving Costs [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T20:06:15.248Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-216/archives/cost.csv [2022-10-03T20:06:15.248Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T20:06:15.386Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] [2022-10-03T20:06:15.391Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] did not exist. Created. [2022-10-03T20:06:15.391Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T20:06:15.671Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T20:06:15.671Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T20:06:15.671Z] Dload Upload Total Spent Left Speed [2022-10-03T20:06:15.671Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 75461 0 --:--:-- --:--:-- --:--:-- 75915 [2022-10-03T20:06:15.784Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T20:06:15.833Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T20:06:15.861Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T20:06:15.936Z] $ docker stop --time=1 861fe599af8d519c596217c147ce9f984a342e1bcacd29ba83d7354f8f1c2ec3 [2022-10-03T20:06:17.113Z] $ docker rm -f 861fe599af8d519c596217c147ce9f984a342e1bcacd29ba83d7354f8f1c2ec3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-03T20:06:17.550Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T20:06:17.889Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T20:06:17.889Z] + sudo tee /etc/docker/daemon.new [2022-10-03T20:06:17.889Z] { [2022-10-03T20:06:17.889Z] "registry-mirrors": [ [2022-10-03T20:06:17.889Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T20:06:17.889Z] ], [2022-10-03T20:06:17.889Z] "bip": "10.250.0.254/24", [2022-10-03T20:06:17.889Z] "hosts": [ [2022-10-03T20:06:17.889Z] "tcp://0.0.0.0:5555", [2022-10-03T20:06:17.889Z] "unix:///var/run/docker.sock" [2022-10-03T20:06:17.889Z] ], [2022-10-03T20:06:17.889Z] "mtu": 1458, [2022-10-03T20:06:17.889Z] "selinux-enabled": true, [2022-10-03T20:06:17.889Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T20:06:17.889Z] } [Pipeline] sh [2022-10-03T20:06:18.228Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T20:06:18.584Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T20:06:36.920Z] provisioning config files... [2022-10-03T20:06:36.946Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config296688213022142286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:06:37.341Z] ---> docker-login.sh [2022-10-03T20:06:37.341Z] nexus3.edgexfoundry.org:10001 [2022-10-03T20:06:37.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:06:37.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:06:37.937Z] Configure a credential helper to remove this warning. See [2022-10-03T20:06:37.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:06:37.937Z] [2022-10-03T20:06:37.937Z] Login Succeeded [2022-10-03T20:06:37.937Z] nexus3.edgexfoundry.org:10002 [2022-10-03T20:06:38.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:06:38.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:06:38.474Z] Configure a credential helper to remove this warning. See [2022-10-03T20:06:38.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:06:38.474Z] [2022-10-03T20:06:38.474Z] Login Succeeded [2022-10-03T20:06:38.474Z] nexus3.edgexfoundry.org:10003 [2022-10-03T20:06:38.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:06:38.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:06:38.746Z] Configure a credential helper to remove this warning. See [2022-10-03T20:06:38.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:06:38.746Z] [2022-10-03T20:06:38.746Z] Login Succeeded [2022-10-03T20:06:38.746Z] nexus3.edgexfoundry.org:10004 [2022-10-03T20:06:39.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:06:39.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:06:39.016Z] Configure a credential helper to remove this warning. See [2022-10-03T20:06:39.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:06:39.016Z] [2022-10-03T20:06:39.016Z] Login Succeeded [2022-10-03T20:06:39.016Z] docker.io [2022-10-03T20:06:39.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:06:39.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:06:39.871Z] Configure a credential helper to remove this warning. See [2022-10-03T20:06:39.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:06:39.871Z] [2022-10-03T20:06:39.871Z] Login Succeeded [2022-10-03T20:06:39.871Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T20:06:39.906Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T20:06:40.200Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T20:06:40.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T20:06:40.271Z] ========================================================= [2022-10-03T20:06:40.271Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T20:06:40.271Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:06:40.781Z] + 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-03T20:06:40.781Z] Sending build context to Docker daemon 127kB [2022-10-03T20:06:41.050Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T20:06:41.050Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T20:06:41.322Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T20:06:41.322Z] b3c136eddcbf: Pulling fs layer [2022-10-03T20:06:41.322Z] c0a3192eca97: Pulling fs layer [2022-10-03T20:06:41.322Z] a050256f5b6f: Pulling fs layer [2022-10-03T20:06:41.322Z] 656be50a0ddc: Pulling fs layer [2022-10-03T20:06:41.322Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T20:06:41.322Z] f607e4fc86c3: Pulling fs layer [2022-10-03T20:06:41.322Z] 4d572c569a2c: Pulling fs layer [2022-10-03T20:06:41.322Z] fcf976331f73: Pulling fs layer [2022-10-03T20:06:41.322Z] f607e4fc86c3: Waiting [2022-10-03T20:06:41.322Z] 656be50a0ddc: Waiting [2022-10-03T20:06:41.322Z] 4d572c569a2c: Waiting [2022-10-03T20:06:41.322Z] fcf976331f73: Waiting [2022-10-03T20:06:41.322Z] 2bbca73fdf42: Waiting [2022-10-03T20:06:41.322Z] a050256f5b6f: Verifying Checksum [2022-10-03T20:06:41.322Z] a050256f5b6f: Download complete [2022-10-03T20:06:41.322Z] c0a3192eca97: Verifying Checksum [2022-10-03T20:06:41.322Z] c0a3192eca97: Download complete [2022-10-03T20:06:41.322Z] 2bbca73fdf42: Verifying Checksum [2022-10-03T20:06:41.322Z] 2bbca73fdf42: Download complete [2022-10-03T20:06:41.322Z] f607e4fc86c3: Verifying Checksum [2022-10-03T20:06:41.322Z] f607e4fc86c3: Download complete [2022-10-03T20:06:41.322Z] b3c136eddcbf: Verifying Checksum [2022-10-03T20:06:42.793Z] fcf976331f73: Verifying Checksum [2022-10-03T20:06:42.793Z] fcf976331f73: Download complete [2022-10-03T20:06:43.765Z] 4d572c569a2c: Verifying Checksum [2022-10-03T20:06:43.765Z] 4d572c569a2c: Download complete [2022-10-03T20:06:44.354Z] b3c136eddcbf: Pull complete [2022-10-03T20:06:44.354Z] 656be50a0ddc: Verifying Checksum [2022-10-03T20:06:44.354Z] 656be50a0ddc: Download complete [2022-10-03T20:06:44.623Z] c0a3192eca97: Pull complete [2022-10-03T20:06:44.891Z] a050256f5b6f: Pull complete [2022-10-03T20:06:57.247Z] 656be50a0ddc: Pull complete [2022-10-03T20:06:57.247Z] 2bbca73fdf42: Pull complete [2022-10-03T20:06:57.247Z] f607e4fc86c3: Pull complete [2022-10-03T20:07:03.949Z] 4d572c569a2c: Pull complete [2022-10-03T20:07:05.376Z] fcf976331f73: Pull complete [2022-10-03T20:07:05.649Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T20:07:05.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T20:07:05.649Z] ---> 3970a7415f9e [2022-10-03T20:07:05.649Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T20:07:07.699Z] ---> Running in eeacece83427 [2022-10-03T20:07:07.983Z] Removing intermediate container eeacece83427 [2022-10-03T20:07:07.983Z] ---> f19cd507496b [2022-10-03T20:07:07.983Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T20:07:08.262Z] ---> Running in e11858511a98 [2022-10-03T20:07:08.536Z] Removing intermediate container e11858511a98 [2022-10-03T20:07:08.536Z] ---> 62ab9b91060a [2022-10-03T20:07:08.536Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T20:07:08.536Z] ---> Running in 346499de978e [2022-10-03T20:07:08.808Z] Removing intermediate container 346499de978e [2022-10-03T20:07:08.808Z] ---> 0b610615a922 [2022-10-03T20:07:08.808Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T20:07:09.075Z] ---> Running in 987addb4263c [2022-10-03T20:07:09.348Z] Removing intermediate container 987addb4263c [2022-10-03T20:07:09.348Z] ---> c2692d653d30 [2022-10-03T20:07:09.348Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T20:07:09.348Z] ---> Running in 2f7c1fca600b [2022-10-03T20:07:11.312Z] Removing intermediate container 2f7c1fca600b [2022-10-03T20:07:11.312Z] ---> 607d7a30c4ed [2022-10-03T20:07:11.312Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T20:07:11.312Z] ---> Running in 2d9a76571aa7 [2022-10-03T20:07:12.293Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T20:07:13.262Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T20:07:14.689Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T20:07:14.689Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T20:07:14.689Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T20:07:14.959Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T20:07:15.233Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T20:07:15.233Z] OK: 226 MiB in 55 packages [2022-10-03T20:07:16.223Z] Removing intermediate container 2d9a76571aa7 [2022-10-03T20:07:16.223Z] ---> b10f23e7652c [2022-10-03T20:07:16.223Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-03T20:07:16.496Z] ---> Running in 4fc2f85a3c06 [2022-10-03T20:07:16.766Z] Removing intermediate container 4fc2f85a3c06 [2022-10-03T20:07:16.766Z] ---> 67d4578b0825 [2022-10-03T20:07:16.766Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T20:07:17.354Z] ---> 7371683cb900 [2022-10-03T20:07:17.354Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T20:07:17.354Z] ---> Running in c50c61b4b87a [2022-10-03T20:08:13.819Z] Removing intermediate container c50c61b4b87a [2022-10-03T20:08:13.819Z] ---> 37b089f34423 [2022-10-03T20:08:13.819Z] Step 12/13 : COPY . . [2022-10-03T20:08:13.819Z] ---> 9b6039130239 [2022-10-03T20:08:13.819Z] Step 13/13 : RUN $MAKE [2022-10-03T20:08:13.819Z] ---> Running in 29f180ec5508 [2022-10-03T20:08:13.819Z] noop [2022-10-03T20:08:13.819Z] Removing intermediate container 29f180ec5508 [2022-10-03T20:08:13.819Z] ---> 3acb93b8cc11 [2022-10-03T20:08:13.819Z] Successfully built 3acb93b8cc11 [2022-10-03T20:08:13.819Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:08:14.322Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T20:08:14.322Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:08:14.609Z] prd-ubuntu20.04-docker-arm64-4c-16g-6933 does not seem to be running inside a container [2022-10-03T20:08:14.690Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-03T20:08:16.019Z] $ docker top 9063317853d8d09360b911a90c394e0bae468d48cbedfdff5f333b2c63251928 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:08:16.989Z] + go version [2022-10-03T20:08:16.989Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T20:08:17.022Z] $ docker stop --time=1 9063317853d8d09360b911a90c394e0bae468d48cbedfdff5f333b2c63251928 [2022-10-03T20:08:18.685Z] $ docker rm -f 9063317853d8d09360b911a90c394e0bae468d48cbedfdff5f333b2c63251928 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:08:19.543Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T20:08:19.543Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:08:19.797Z] prd-ubuntu20.04-docker-arm64-4c-16g-6933 does not seem to be running inside a container [2022-10-03T20:08:19.863Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-03T20:08:21.097Z] $ docker top ad3773f0986506032abec1fe45fa102d97f0552eb91bb168a6c07d952338f746 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:08:22.027Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-03T20:08:22.741Z] + make test [2022-10-03T20:08:22.741Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T20:08:24.160Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-03T20:10:00.849Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-03T20:10:00.849Z] ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 55.2% of statements [2022-10-03T20:10:00.849Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T20:10:00.849Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T20:10:19.096Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T20:10:19.096Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T20:10:19.096Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T20:10:19.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T20:10:19.159Z] $ docker stop --time=1 ad3773f0986506032abec1fe45fa102d97f0552eb91bb168a6c07d952338f746 [2022-10-03T20:10:20.986Z] $ docker rm -f ad3773f0986506032abec1fe45fa102d97f0552eb91bb168a6c07d952338f746 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T20:10:22.106Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T20:10:22.142Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T20:10:22.676Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T20:10:23.272Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T20:10:23.618Z] + ls -al . [2022-10-03T20:10:23.618Z] total 176 [2022-10-03T20:10:23.619Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:08 . [2022-10-03T20:10:23.619Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:06 .. [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 3 20:06 .dockerignore [2022-10-03T20:10:23.619Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:06 .git [2022-10-03T20:10:23.619Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:06 .github [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 20:06 .gitignore [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 20:06 .golangci.yml [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 3 20:06 Attribution.txt [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 3 20:06 CHANGELOG.md [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 3 20:06 Dockerfile [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 20:06 GOVERNANCE.md [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 20:06 Jenkinsfile [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 20:06 LICENSE [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 3 20:06 Makefile [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 20:06 OWNERS.md [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 3 20:06 README.md [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 20:04 VERSION [2022-10-03T20:10:23.619Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:06 bin [2022-10-03T20:10:23.619Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:06 cmd [2022-10-03T20:10:23.619Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 3 20:09 coverage.out [2022-10-03T20:10:23.619Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:06 driver [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 3 20:06 go.mod [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 20:06 go.sum [2022-10-03T20:10:23.619Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:06 snap [2022-10-03T20:10:23.619Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 3 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:10:24.047Z] + 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=0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 --label arch=arm64 --label version=0.0.0 . [2022-10-03T20:10:24.047Z] Sending build context to Docker daemon 137.2kB [2022-10-03T20:10:24.337Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T20:10:24.337Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-03T20:10:24.337Z] ---> 3acb93b8cc11 [2022-10-03T20:10:24.337Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-03T20:10:24.610Z] ---> Running in 23b975c39f10 [2022-10-03T20:10:24.883Z] Removing intermediate container 23b975c39f10 [2022-10-03T20:10:24.883Z] ---> 984c1e473e96 [2022-10-03T20:10:24.883Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T20:10:25.158Z] ---> Running in 0195d51866bd [2022-10-03T20:10:25.431Z] Removing intermediate container 0195d51866bd [2022-10-03T20:10:25.431Z] ---> 909faf3be4c4 [2022-10-03T20:10:25.431Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T20:10:25.431Z] ---> Running in c45ddb4b6bed [2022-10-03T20:10:26.021Z] Removing intermediate container c45ddb4b6bed [2022-10-03T20:10:26.021Z] ---> c47f9a1c70f5 [2022-10-03T20:10:26.021Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T20:10:26.021Z] ---> Running in c45ff87a8edd [2022-10-03T20:10:26.301Z] Removing intermediate container c45ff87a8edd [2022-10-03T20:10:26.301Z] ---> d5fc895b1897 [2022-10-03T20:10:26.301Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T20:10:26.572Z] ---> Running in 8aad2a92df47 [2022-10-03T20:10:29.192Z] Removing intermediate container 8aad2a92df47 [2022-10-03T20:10:29.192Z] ---> 680726551db4 [2022-10-03T20:10:29.192Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T20:10:29.468Z] ---> Running in eed213910e8d [2022-10-03T20:10:30.888Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T20:10:31.858Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T20:10:32.835Z] OK: 226 MiB in 55 packages [2022-10-03T20:10:33.806Z] Removing intermediate container eed213910e8d [2022-10-03T20:10:33.806Z] ---> 8e87114bfa5f [2022-10-03T20:10:33.806Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-03T20:10:34.075Z] ---> Running in 3024ebbc1c08 [2022-10-03T20:10:34.342Z] Removing intermediate container 3024ebbc1c08 [2022-10-03T20:10:34.342Z] ---> 39a80048f79f [2022-10-03T20:10:34.342Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-03T20:10:34.925Z] ---> 5b28d6bbfa6c [2022-10-03T20:10:34.925Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T20:10:34.925Z] ---> Running in bb328592ff75 [2022-10-03T20:10:38.281Z] Removing intermediate container bb328592ff75 [2022-10-03T20:10:38.281Z] ---> 8bae2a7aebc5 [2022-10-03T20:10:38.281Z] Step 12/26 : COPY . . [2022-10-03T20:10:38.559Z] ---> a37860233c9e [2022-10-03T20:10:38.559Z] Step 13/26 : RUN $MAKE [2022-10-03T20:10:38.831Z] ---> Running in 0d620cbaba37 [2022-10-03T20:10:39.797Z] 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-03T20:13:31.600Z] Removing intermediate container 0d620cbaba37 [2022-10-03T20:13:31.600Z] ---> 0bd7bf956b5d [2022-10-03T20:13:31.600Z] Step 14/26 : FROM alpine:3.16 [2022-10-03T20:13:31.600Z] 3.16: Pulling from library/alpine [2022-10-03T20:13:31.600Z] 9b18e9b68314: Pulling fs layer [2022-10-03T20:13:31.600Z] 9b18e9b68314: Verifying Checksum [2022-10-03T20:13:31.600Z] 9b18e9b68314: Download complete [2022-10-03T20:13:31.600Z] 9b18e9b68314: Pull complete [2022-10-03T20:13:31.600Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T20:13:31.600Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T20:13:31.600Z] ---> a6215f271958 [2022-10-03T20:13:31.600Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-03T20:13:31.600Z] ---> Running in 2f314f0edcdf [2022-10-03T20:13:31.600Z] Removing intermediate container 2f314f0edcdf [2022-10-03T20:13:31.600Z] ---> 7efd2ef28140 [2022-10-03T20:13:31.600Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-03T20:13:31.600Z] ---> Running in 118c9d04f91b [2022-10-03T20:13:31.600Z] Removing intermediate container 118c9d04f91b [2022-10-03T20:13:31.600Z] ---> f3fab007846e [2022-10-03T20:13:31.600Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T20:13:31.600Z] ---> Running in 8576c4449558 [2022-10-03T20:13:31.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T20:13:31.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T20:13:31.600Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T20:13:31.600Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T20:13:31.600Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T20:13:31.600Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T20:13:31.600Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T20:13:31.600Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T20:13:31.600Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T20:13:31.600Z] OK: 8 MiB in 20 packages [2022-10-03T20:13:31.600Z] Removing intermediate container 8576c4449558 [2022-10-03T20:13:31.600Z] ---> d3b195a086ea [2022-10-03T20:13:31.600Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-03T20:13:31.600Z] ---> e56ff222de62 [2022-10-03T20:13:31.600Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-03T20:13:31.868Z] ---> caac462a00d4 [2022-10-03T20:13:31.868Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-03T20:13:32.600Z] ---> 5e9dfb2a7cc2 [2022-10-03T20:13:32.600Z] Step 21/26 : EXPOSE 59986 [2022-10-03T20:13:32.600Z] ---> Running in 060d178b5af8 [2022-10-03T20:13:32.869Z] Removing intermediate container 060d178b5af8 [2022-10-03T20:13:32.869Z] ---> 9f914f8f4fa9 [2022-10-03T20:13:32.869Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-03T20:13:32.869Z] ---> Running in 1aab973b1982 [2022-10-03T20:13:33.463Z] Removing intermediate container 1aab973b1982 [2022-10-03T20:13:33.463Z] ---> d46228824273 [2022-10-03T20:13:33.463Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-03T20:13:33.463Z] ---> Running in c2223965b206 [2022-10-03T20:13:33.732Z] Removing intermediate container c2223965b206 [2022-10-03T20:13:33.732Z] ---> 8193e0d6b9cd [2022-10-03T20:13:33.732Z] Step 24/26 : LABEL arch=arm64 [2022-10-03T20:13:33.732Z] ---> Running in 93cf6348ab65 [2022-10-03T20:13:33.999Z] Removing intermediate container 93cf6348ab65 [2022-10-03T20:13:33.999Z] ---> b8e6bd5efd90 [2022-10-03T20:13:33.999Z] Step 25/26 : LABEL git_sha=0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [2022-10-03T20:13:34.272Z] ---> Running in 6bcbff69a28d [2022-10-03T20:13:34.541Z] Removing intermediate container 6bcbff69a28d [2022-10-03T20:13:34.541Z] ---> 60d5baf52239 [2022-10-03T20:13:34.541Z] Step 26/26 : LABEL version=0.0.0 [2022-10-03T20:13:34.541Z] ---> Running in 6eb1e58bb229 [2022-10-03T20:13:34.811Z] Removing intermediate container 6eb1e58bb229 [2022-10-03T20:13:34.811Z] ---> 56be80f9ac0c [2022-10-03T20:13:34.811Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T20:13:34.811Z] Successfully built 56be80f9ac0c [2022-10-03T20:13:34.811Z] 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-03T20:13:35.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T20:13:35.639Z] [2022-10-03T20:13:35.639Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:13:36.062Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T20:13:36.062Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T20:13:36.062Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T20:13:36.062Z] 04944245beec: Pulling fs layer [2022-10-03T20:13:36.062Z] 699f458cf7ca: Pulling fs layer [2022-10-03T20:13:36.062Z] 765212b225bb: Pulling fs layer [2022-10-03T20:13:36.062Z] f23df028b6ca: Pulling fs layer [2022-10-03T20:13:36.062Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T20:13:36.062Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T20:13:36.062Z] 2437ff75d9bd: Waiting [2022-10-03T20:13:36.062Z] f23df028b6ca: Waiting [2022-10-03T20:13:36.062Z] 765212b225bb: Waiting [2022-10-03T20:13:36.062Z] d65c8cfc05b1: Waiting [2022-10-03T20:13:36.333Z] 04944245beec: Verifying Checksum [2022-10-03T20:13:36.333Z] 04944245beec: Download complete [2022-10-03T20:13:36.333Z] 765212b225bb: Verifying Checksum [2022-10-03T20:13:36.333Z] 765212b225bb: Download complete [2022-10-03T20:13:36.333Z] f23df028b6ca: Download complete [2022-10-03T20:13:36.333Z] d65c8cfc05b1: Verifying Checksum [2022-10-03T20:13:36.333Z] d65c8cfc05b1: Download complete [2022-10-03T20:13:36.599Z] 699f458cf7ca: Verifying Checksum [2022-10-03T20:13:36.599Z] 699f458cf7ca: Download complete [2022-10-03T20:13:36.867Z] 8998bd30e6a1: Download complete [2022-10-03T20:13:39.459Z] 2437ff75d9bd: Verifying Checksum [2022-10-03T20:13:39.459Z] 2437ff75d9bd: Download complete [2022-10-03T20:13:40.864Z] 8998bd30e6a1: Pull complete [2022-10-03T20:13:41.132Z] 04944245beec: Pull complete [2022-10-03T20:13:42.540Z] 699f458cf7ca: Pull complete [2022-10-03T20:13:42.540Z] 765212b225bb: Pull complete [2022-10-03T20:13:43.498Z] f23df028b6ca: Pull complete [2022-10-03T20:13:43.498Z] d65c8cfc05b1: Pull complete [2022-10-03T20:13:55.801Z] 2437ff75d9bd: Pull complete [2022-10-03T20:13:55.801Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T20:13:55.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T20:13:56.077Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:13:56.433Z] prd-ubuntu20.04-docker-arm64-4c-16g-6933 does not seem to be running inside a container [2022-10-03T20:13:56.500Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-03T20:13:59.272Z] $ docker top 88323b613c0005cdda63f8e5855949d68efed258c53d83e43fadbd8f39b6dd73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:14:00.223Z] ---> job-cost.sh [2022-10-03T20:14:00.223Z] lf-activate-venv: SKIPPING [2022-10-03T20:14:00.223Z] INFO: No Stack... [2022-10-03T20:14:00.808Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T20:14:01.393Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T20:14:02.067Z] + cut -d, -f6 [2022-10-03T20:14:02.068Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-10-03T20:14:02.164Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] [2022-10-03T20:14:02.170Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] did not exist. Created. [2022-10-03T20:14:02.170Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T20:14:02.902Z] /w/workspace/device-rest-go/1@tmp/durable-1b840153/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T20:14:03.263Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T20:14:03.563Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T20:14:03.605Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T20:14:03.622Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-216-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T20:14:03.693Z] $ docker stop --time=1 88323b613c0005cdda63f8e5855949d68efed258c53d83e43fadbd8f39b6dd73 [2022-10-03T20:14:05.193Z] $ docker rm -f 88323b613c0005cdda63f8e5855949d68efed258c53d83e43fadbd8f39b6dd73 [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-03T20:14:06.162Z] provisioning config files... [2022-10-03T20:14:06.169Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp/config16977887192648253728tmp [Pipeline] { [Pipeline] sh [2022-10-03T20:14:06.504Z] + set +x [2022-10-03T20:14:06.504Z] + + bashcurl -s -s -- https://codecov.io/bash [2022-10-03T20:14:06.504Z] [2022-10-03T20:14:06.504Z] [2022-10-03T20:14:06.504Z] _____ _ [2022-10-03T20:14:06.504Z] / ____| | | [2022-10-03T20:14:06.504Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T20:14:06.504Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T20:14:06.504Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T20:14:06.504Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T20:14:06.504Z] Bash-1.0.6 [2022-10-03T20:14:06.504Z] [2022-10-03T20:14:06.504Z] [2022-10-03T20:14:06.504Z] ==> git version 2.25.1 found [2022-10-03T20:14:06.504Z] ==> 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-03T20:14:06.504Z] Release-Date: 2020-01-08 [2022-10-03T20:14:06.504Z] 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-03T20:14:06.504Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-03T20:14:06.504Z] ==> Jenkins CI detected. [2022-10-03T20:14:06.504Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-216 [2022-10-03T20:14:06.504Z] project root: . [2022-10-03T20:14:06.504Z] --> token set from env [2022-10-03T20:14:06.504Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T20:14:06.504Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T20:14:06.504Z] ==> Python coveragepy not found [2022-10-03T20:14:06.504Z] ==> Searching for coverage reports in: [2022-10-03T20:14:06.504Z] + . [2022-10-03T20:14:06.504Z] -> Found 1 reports [2022-10-03T20:14:06.504Z] ==> Detecting git/mercurial file structure [2022-10-03T20:14:06.504Z] ==> Reading reports [2022-10-03T20:14:06.504Z] + ./coverage.out bytes=9355 [2022-10-03T20:14:06.762Z] ==> Appending adjustments [2022-10-03T20:14:06.762Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T20:14:06.762Z] + Found adjustments [2022-10-03T20:14:06.762Z] ==> Gzipping contents [2022-10-03T20:14:06.762Z] 4.0K /tmp/codecov.s3mmJ4.gz [2022-10-03T20:14:06.762Z] ==> Uploading reports [2022-10-03T20:14:06.762Z] url: https://codecov.io [2022-10-03T20:14:06.762Z] query: branch=PR-216&commit=0ab2c4cc72f3d5c34b81d03116f1ecaca6703962&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-216%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=216&job=&cmd_args= [2022-10-03T20:14:06.762Z] -> Pinging Codecov [2022-10-03T20:14:06.762Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-216&commit=0ab2c4cc72f3d5c34b81d03116f1ecaca6703962&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-216%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=216&job=&cmd_args= [2022-10-03T20:14:07.020Z] -> Uploading to [2022-10-03T20:14:07.020Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/4E5D53B4F1F92C436F7061BF334D961C/0ab2c4cc72f3d5c34b81d03116f1ecaca6703962/a1f87c7c-3c80-4b67-b208-a83f90e3e14d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T201406Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e466c49ef7f35b5d2d8b3a1f14fc7857f3a089f5f853f4b2dcc7f9d24abf382b [2022-10-03T20:14:07.020Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T20:14:07.020Z] Dload Upload Total Spent Left Speed [2022-10-03T20:14:07.279Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7864 --:--:-- --:--:-- --:--:-- 7828 100 1738 0 0 100 1738 0 7459 --:--:-- --:--:-- --:--:-- 7427 [2022-10-03T20:14:07.279Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0ab2c4cc72f3d5c34b81d03116f1ecaca6703962 [Pipeline] } [2022-10-03T20:14:07.305Z] 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-03T20:14:09.005Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-216/archives ] [2022-10-03T20:14:09.006Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-216/archives [2022-10-03T20:14:09.006Z] total 16 [2022-10-03T20:14:09.006Z] drwxr-xr-x 3 root root 4096 Oct 3 20:06 . [2022-10-03T20:14:09.006Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:06 .. [2022-10-03T20:14:09.006Z] drwxr-xr-x 2 root root 4096 Oct 3 20:06 cost [2022-10-03T20:14:09.006Z] -rw-r--r-- 1 root root 86 Oct 3 20:06 cost.csv [2022-10-03T20:14:09.006Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-216/archives [2022-10-03T20:14:09.006Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-216/archives [2022-10-03T20:14:09.006Z] total 16 [2022-10-03T20:14:09.006Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 20:06 . [2022-10-03T20:14:09.006Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:06 .. [2022-10-03T20:14:09.006Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 20:06 cost [2022-10-03T20:14:09.006Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 3 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:14:09.332Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:14:10.215Z] ---> package-listing.sh [2022-10-03T20:14:10.215Z] ++ facter osfamily [2022-10-03T20:14:10.215Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T20:14:10.475Z] + OS_FAMILY=debian [2022-10-03T20:14:10.475Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-216 [2022-10-03T20:14:10.475Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T20:14:10.475Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T20:14:10.475Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T20:14:10.475Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T20:14:10.475Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-216 ']' [2022-10-03T20:14:10.475Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T20:14:10.475Z] + case "${OS_FAMILY}" in [2022-10-03T20:14:10.475Z] + dpkg -l [2022-10-03T20:14:10.475Z] + grep '^ii' [2022-10-03T20:14:10.475Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T20:14:10.475Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T20:14:10.475Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T20:14:10.475Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-216 ']' [2022-10-03T20:14:10.475Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-216/archives/ [2022-10-03T20:14:10.475Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-216/archives/ [Pipeline] echo [2022-10-03T20:14:10.508Z] 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-216/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-03T20:14:10.800Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:14:11.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T20:14:11.423Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:14:11.563Z] prd-ubuntu20.04-docker-8c-8g-6931 does not seem to be running inside a container [2022-10-03T20:14:11.587Z] $ 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-216/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-216 -v /w/workspace/gexfoundry_device-rest-go_PR-216:/w/workspace/gexfoundry_device-rest-go_PR-216:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-216@tmp:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T20:14:11.790Z] $ docker top 1424d3d08da43b991658bc3099063673fd42f7fde3b2617bb84366e8946673f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:14:12.191Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T20:14:12.500Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T20:14:12.805Z] + ls /var/log/sa-host [2022-10-03T20:14:12.805Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T20:14:13.008Z] provisioning config files... [2022-10-03T20:14:13.017Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-216@tmp/config15831512296309109022tmp [Pipeline] { [Pipeline] echo [2022-10-03T20:14:13.071Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:14:13.381Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T20:14:13.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:14:13.808Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T20:14:13.840Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:14:14.148Z] ---> sudo-logs.sh [2022-10-03T20:14:14.148Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T20:14:14.234Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:14:14.542Z] ---> job-cost.sh [2022-10-03T20:14:14.542Z] lf-activate-venv: SKIPPING [2022-10-03T20:14:14.542Z] DEBUG: total: 0.2199999988079071 [2022-10-03T20:14:14.542Z] INFO: Retrieving Stack Cost... [2022-10-03T20:14:14.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T20:14:15.371Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T20:14:15.409Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:14:15.721Z] ---> logs-deploy.sh [2022-10-03T20:14:15.721Z] lf-activate-venv: SKIPPING [2022-10-03T20:14:15.721Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-216/1 [2022-10-03T20:14:15.721Z] INFO: archiving workspace using pattern(s): [2022-10-03T20:14:16.660Z] Archives upload complete. [2022-10-03T20:14:16.660Z] INFO: archiving logs to Nexus