Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5034d95c24c283ca5c1cd8748801c0a382af0d0d+02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 (4a8ea0b6caa115eb4f3ce68ef303df18e12d9152) 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-ssh7408411374826342456.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8035625556154394200.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8953643087457018751.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10821487954167982385.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4865385689000659547.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117158 in /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-222 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 into PR head commit 5034d95c24c283ca5c1cd8748801c0a382af0d0d Merge succeeded, producing c3b440c7cd832d98825fb158869cd98ede46ef49 Checking out Revision c3b440c7cd832d98825fb158869cd98ede46ef49 (PR-222) > git config core.sparsecheckout # timeout=10 > git checkout -f 5034d95c24c283ca5c1cd8748801c0a382af0d0d # 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 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3b440c7cd832d98825fb158869cd98ede46ef49 # timeout=10 Commit message: "Merge commit '02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T15:10:26.298Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T15:10:26.338Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T15:10:26.348Z] ========================================================= [2022-10-26T15:10:26.348Z] EdgeX Global Pipelines Version Info [2022-10-26T15:10:26.348Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T15:10:27.040Z] ------------------- [2022-10-26T15:10:27.040Z] stable info: [2022-10-26T15:10:27.040Z] ------------------- [2022-10-26T15:10:27.040Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T15:10:27.040Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T15:10:27.040Z] Message: update stable to v1.0.243 > git rev-list --no-walk be52db1ccfe161bb93485934e73de478f8ad7fa3 # timeout=10 [2022-10-26T15:10:27.615Z] ------------------- [2022-10-26T15:10:27.615Z] experimental info: [2022-10-26T15:10:27.615Z] ------------------- [2022-10-26T15:10:27.615Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T15:10:27.615Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T15:10:27.615Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T15:10:27.801Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-26T15:10:27.810Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-26T15:10:27.817Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T15:10:27.825Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T15:10:27.835Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T15:10:27.845Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T15:10:27.853Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T15:10:27.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T15:10:27.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T15:10:27.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T15:10:27.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T15:10:27.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-26T15:10:27.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T15:10:27.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T15:10:27.917Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T15:10:27.925Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T15:10:27.933Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T15:10:27.951Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T15:10:27.967Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T15:10:27.983Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T15:10:28.005Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T15:10:28.017Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T15:10:28.028Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T15:10:28.039Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T15:10:28.050Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T15:10:28.061Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T15:10:28.074Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T15:10:28.088Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-222 [Pipeline] echo [2022-10-26T15:10:28.097Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-222 [Pipeline] echo [2022-10-26T15:10:28.113Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-222 [Pipeline] echo [2022-10-26T15:10:28.130Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3b440c7cd832d98825fb158869cd98ede46ef49 [Pipeline] echo [2022-10-26T15:10:28.146Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3b440c [Pipeline] echo [2022-10-26T15:10:28.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T15:10:28.197Z] provisioning config files... [2022-10-26T15:10:28.214Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config8587147121608721940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T15:10:28.518Z] ---> docker-login.sh [2022-10-26T15:10:28.518Z] nexus3.edgexfoundry.org:10001 [2022-10-26T15:10:28.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:10:28.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:10:28.779Z] Configure a credential helper to remove this warning. See [2022-10-26T15:10:28.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:10:28.779Z] [2022-10-26T15:10:28.779Z] Login Succeeded [2022-10-26T15:10:28.779Z] nexus3.edgexfoundry.org:10002 [2022-10-26T15:10:29.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:10:29.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:10:29.043Z] Configure a credential helper to remove this warning. See [2022-10-26T15:10:29.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:10:29.043Z] [2022-10-26T15:10:29.043Z] Login Succeeded [2022-10-26T15:10:29.043Z] nexus3.edgexfoundry.org:10003 [2022-10-26T15:10:29.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:10:29.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:10:29.043Z] Configure a credential helper to remove this warning. See [2022-10-26T15:10:29.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:10:29.043Z] [2022-10-26T15:10:29.043Z] Login Succeeded [2022-10-26T15:10:29.043Z] nexus3.edgexfoundry.org:10004 [2022-10-26T15:10:29.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:10:29.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:10:29.303Z] Configure a credential helper to remove this warning. See [2022-10-26T15:10:29.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:10:29.303Z] [2022-10-26T15:10:29.303Z] Login Succeeded [2022-10-26T15:10:29.303Z] docker.io [2022-10-26T15:10:29.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:10:29.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:10:29.571Z] Configure a credential helper to remove this warning. See [2022-10-26T15:10:29.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:10:29.571Z] [2022-10-26T15:10:29.571Z] Login Succeeded [2022-10-26T15:10:29.571Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T15:10:29.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T15:10:29.950Z] + git rev-list -1 --merges c3b440c7cd832d98825fb158869cd98ede46ef49~1..c3b440c7cd832d98825fb158869cd98ede46ef49 [Pipeline] echo [2022-10-26T15:10:29.978Z] -----------> git rev-list -1 --merges c3b440c7cd832d98825fb158869cd98ede46ef49~1..c3b440c7cd832d98825fb158869cd98ede46ef49 c3b440c7cd832d98825fb158869cd98ede46ef49 [2022-10-26T15:10:29.978Z] c3b440c7cd832d98825fb158869cd98ede46ef49 [false] [Pipeline] sh [2022-10-26T15:10:30.263Z] + git log --format=format:%s -1 c3b440c7cd832d98825fb158869cd98ede46ef49 [Pipeline] echo [2022-10-26T15:10:30.277Z] ========================================================= [2022-10-26T15:10:30.277Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T15:10:30.277Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T15:10:30.585Z] + git log --format=format:%s -1 c3b440c7cd832d98825fb158869cd98ede46ef49 [Pipeline] echo [2022-10-26T15:10:30.596Z] [semverPrep] GIT_COMMIT: c3b440c7cd832d98825fb158869cd98ede46ef49, Commit Message: Merge commit '02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2' into HEAD [Pipeline] echo [2022-10-26T15:10:30.605Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T15:10:30.958Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T15:10:30.958Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T15:10:30.958Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T15:10:30.958Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T15:10:30.958Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T15:10:30.958Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T15:10:30.958Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T15:10:31.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T15:10:31.298Z] [2022-10-26T15:10:31.298Z] 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-26T15:10:31.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T15:10:31.595Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T15:10:31.595Z] b85a868b505f: Pulling fs layer [2022-10-26T15:10:31.595Z] e2be974225ed: Pulling fs layer [2022-10-26T15:10:31.595Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T15:10:31.595Z] 988bab9f4d93: Pulling fs layer [2022-10-26T15:10:31.595Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T15:10:31.595Z] eaf3925da568: Pulling fs layer [2022-10-26T15:10:31.595Z] bab4dde63d76: Pulling fs layer [2022-10-26T15:10:31.595Z] bde34c3a00c8: Pulling fs layer [2022-10-26T15:10:31.595Z] b352a97aabf1: Pulling fs layer [2022-10-26T15:10:31.595Z] 4872d77fe225: Pulling fs layer [2022-10-26T15:10:31.595Z] 5851b861e8e6: Pulling fs layer [2022-10-26T15:10:31.595Z] bab4dde63d76: Waiting [2022-10-26T15:10:31.595Z] bde34c3a00c8: Waiting [2022-10-26T15:10:31.595Z] b352a97aabf1: Waiting [2022-10-26T15:10:31.595Z] 4872d77fe225: Waiting [2022-10-26T15:10:31.595Z] 5851b861e8e6: Waiting [2022-10-26T15:10:31.595Z] 1469e6f7b9e6: Waiting [2022-10-26T15:10:31.595Z] eaf3925da568: Waiting [2022-10-26T15:10:31.595Z] 988bab9f4d93: Waiting [2022-10-26T15:10:31.595Z] e2be974225ed: Download complete [2022-10-26T15:10:31.595Z] 988bab9f4d93: Verifying Checksum [2022-10-26T15:10:31.595Z] 988bab9f4d93: Download complete [2022-10-26T15:10:31.854Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T15:10:31.854Z] 1469e6f7b9e6: Download complete [2022-10-26T15:10:31.854Z] eaf3925da568: Download complete [2022-10-26T15:10:31.854Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T15:10:31.854Z] 339a4e72a1f5: Download complete [2022-10-26T15:10:31.854Z] bde34c3a00c8: Download complete [2022-10-26T15:10:31.854Z] b352a97aabf1: Download complete [2022-10-26T15:10:31.854Z] 4872d77fe225: Verifying Checksum [2022-10-26T15:10:31.854Z] 4872d77fe225: Download complete [2022-10-26T15:10:31.854Z] 5851b861e8e6: Verifying Checksum [2022-10-26T15:10:31.854Z] 5851b861e8e6: Download complete [2022-10-26T15:10:31.854Z] b85a868b505f: Download complete [2022-10-26T15:10:32.112Z] bab4dde63d76: Verifying Checksum [2022-10-26T15:10:32.112Z] bab4dde63d76: Download complete [2022-10-26T15:10:33.047Z] b85a868b505f: Pull complete [2022-10-26T15:10:33.306Z] e2be974225ed: Pull complete [2022-10-26T15:10:33.873Z] 339a4e72a1f5: Pull complete [2022-10-26T15:10:33.873Z] 988bab9f4d93: Pull complete [2022-10-26T15:10:34.134Z] 1469e6f7b9e6: Pull complete [2022-10-26T15:10:34.392Z] eaf3925da568: Pull complete [2022-10-26T15:10:36.297Z] bab4dde63d76: Pull complete [2022-10-26T15:10:36.297Z] bde34c3a00c8: Pull complete [2022-10-26T15:10:36.297Z] b352a97aabf1: Pull complete [2022-10-26T15:10:36.297Z] 4872d77fe225: Pull complete [2022-10-26T15:10:36.557Z] 5851b861e8e6: Pull complete [2022-10-26T15:10:36.557Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T15:10:36.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T15:10:36.557Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T15:10:36.638Z] prd-ubuntu20.04-docker-8c-8g-117158 does not seem to be running inside a container [2022-10-26T15:10:36.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T15:10:38.141Z] $ docker top 2962932c9d6fdf9141e07816697544f4f0c1083d4bce10f212de0612de6c3341 -eo pid,comm [2022-10-26T15:10:38.196Z] 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-26T15:10:38.196Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T15:10:38.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T15:10:38.229Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T15:10:38.345Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T15:10:38.349Z] $ docker exec 2962932c9d6fdf9141e07816697544f4f0c1083d4bce10f212de0612de6c3341 ssh-agent [2022-10-26T15:10:38.460Z] SSH_AUTH_SOCK=/tmp/ssh-CwjlYzqOZKyU/agent.32 [2022-10-26T15:10:38.460Z] SSH_AGENT_PID=38 [2022-10-26T15:10:38.466Z] Running ssh-add (command line suppressed) [2022-10-26T15:10:38.575Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_6009116767299199812.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_6009116767299199812.key) [2022-10-26T15:10:38.585Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T15:10:38.872Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T15:10:38.887Z] $ docker exec --env ******** --env ******** 2962932c9d6fdf9141e07816697544f4f0c1083d4bce10f212de0612de6c3341 ssh-agent -k [2022-10-26T15:10:38.995Z] unset SSH_AUTH_SOCK; [2022-10-26T15:10:38.995Z] unset SSH_AGENT_PID; [2022-10-26T15:10:38.995Z] echo Agent pid 38 killed; [2022-10-26T15:10:39.003Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T15:10:39.028Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T15:10:39.028Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T15:10:39.144Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T15:10:39.148Z] $ docker exec 2962932c9d6fdf9141e07816697544f4f0c1083d4bce10f212de0612de6c3341 ssh-agent [2022-10-26T15:10:39.253Z] SSH_AUTH_SOCK=/tmp/ssh-WdgkC4KTO0g4/agent.70 [2022-10-26T15:10:39.253Z] SSH_AGENT_PID=76 [2022-10-26T15:10:39.257Z] Running ssh-add (command line suppressed) [2022-10-26T15:10:39.371Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_99890821022510532.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_99890821022510532.key) [2022-10-26T15:10:39.383Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T15:10:39.670Z] + git semver init [2022-10-26T15:10:39.929Z] 2022-10-26 15:10:39,857 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T15:10:39.929Z] 2022-10-26 15:10:39,858 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver [2022-10-26T15:10:39.929Z] 2022-10-26 15:10:39,859 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-222/.semver [2022-10-26T15:10:39.929Z] 2022-10-26 15:10:39,859 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-222/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222, universal_newlines=False, shell=None, istream=None) [2022-10-26T15:10:41.309Z] 2022-10-26 15:10:40,932 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.git/info/exclude [2022-10-26T15:10:41.310Z] 2022-10-26 15:10:40,933 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 with force:False [2022-10-26T15:10:41.310Z] 2022-10-26 15:10:40,933 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 [2022-10-26T15:10:41.310Z] 2022-10-26 15:10:40,937 [execute] INFO git cat-file --batch-check [2022-10-26T15:10:41.310Z] 2022-10-26 15:10:40,938 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T15:10:41.310Z] 2022-10-26 15:10:40,945 [execute] INFO git cat-file --batch [2022-10-26T15:10:41.310Z] 2022-10-26 15:10:40,945 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T15:10:41.310Z] 2022-10-26 15:10:40,950 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 [2022-10-26T15:10:41.310Z] 0.0.0 [Pipeline] } [2022-10-26T15:10:41.323Z] $ docker exec --env ******** --env ******** 2962932c9d6fdf9141e07816697544f4f0c1083d4bce10f212de0612de6c3341 ssh-agent -k [2022-10-26T15:10:41.432Z] unset SSH_AUTH_SOCK; [2022-10-26T15:10:41.432Z] unset SSH_AGENT_PID; [2022-10-26T15:10:41.433Z] echo Agent pid 76 killed; [2022-10-26T15:10:41.440Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T15:10:41.738Z] + git semver [Pipeline] } [2022-10-26T15:10:42.012Z] $ docker stop --time=1 2962932c9d6fdf9141e07816697544f4f0c1083d4bce10f212de0612de6c3341 [2022-10-26T15:10:43.359Z] $ docker rm -f 2962932c9d6fdf9141e07816697544f4f0c1083d4bce10f212de0612de6c3341 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T15:10:43.706Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T15:10:43.893Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T15:10:43.895Z] [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-26T15:10:43.993Z] provisioning config files... [2022-10-26T15:10:44.002Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config7385362163714564406tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T15:10:44.294Z] ---> docker-login.sh [2022-10-26T15:10:44.294Z] nexus3.edgexfoundry.org:10001 [2022-10-26T15:10:44.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:10:44.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:10:44.294Z] Configure a credential helper to remove this warning. See [2022-10-26T15:10:44.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:10:44.294Z] [2022-10-26T15:10:44.294Z] Login Succeeded [2022-10-26T15:10:44.294Z] nexus3.edgexfoundry.org:10002 [2022-10-26T15:10:44.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:10:44.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:10:44.294Z] Configure a credential helper to remove this warning. See [2022-10-26T15:10:44.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:10:44.294Z] [2022-10-26T15:10:44.294Z] Login Succeeded [2022-10-26T15:10:44.294Z] nexus3.edgexfoundry.org:10003 [2022-10-26T15:10:44.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:10:44.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:10:44.553Z] Configure a credential helper to remove this warning. See [2022-10-26T15:10:44.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:10:44.553Z] [2022-10-26T15:10:44.553Z] Login Succeeded [2022-10-26T15:10:44.553Z] nexus3.edgexfoundry.org:10004 [2022-10-26T15:10:44.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:10:44.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:10:44.553Z] Configure a credential helper to remove this warning. See [2022-10-26T15:10:44.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:10:44.553Z] [2022-10-26T15:10:44.553Z] Login Succeeded [2022-10-26T15:10:44.553Z] docker.io [2022-10-26T15:10:44.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:10:45.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:10:45.071Z] Configure a credential helper to remove this warning. See [2022-10-26T15:10:45.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:10:45.071Z] [2022-10-26T15:10:45.071Z] Login Succeeded [2022-10-26T15:10:45.071Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T15:10:45.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T15:10:45.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T15:10:45.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T15:10:45.156Z] ========================================================= [2022-10-26T15:10:45.156Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T15:10:45.156Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T15:10:45.457Z] + 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-26T15:10:45.457Z] Sending build context to Docker daemon 10.75MB [2022-10-26T15:10:45.457Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T15:10:45.457Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-26T15:10:45.457Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T15:10:45.457Z] 213ec9aee27d: Pulling fs layer [2022-10-26T15:10:45.457Z] 4583459ba037: Pulling fs layer [2022-10-26T15:10:45.457Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T15:10:45.457Z] 53926ce57604: Pulling fs layer [2022-10-26T15:10:45.457Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T15:10:45.457Z] 30f14e443154: Pulling fs layer [2022-10-26T15:10:45.457Z] 801331c1e519: Pulling fs layer [2022-10-26T15:10:45.457Z] 21b2b0c7a3f4: Waiting [2022-10-26T15:10:45.457Z] 30f14e443154: Waiting [2022-10-26T15:10:45.457Z] 53926ce57604: Waiting [2022-10-26T15:10:45.457Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T15:10:45.457Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T15:10:45.457Z] 801331c1e519: Waiting [2022-10-26T15:10:45.457Z] 99cc6dd402b0: Waiting [2022-10-26T15:10:45.457Z] 7d9ed39f4882: Waiting [2022-10-26T15:10:45.457Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T15:10:45.457Z] 93c1e223e6f2: Download complete [2022-10-26T15:10:45.457Z] 4583459ba037: Download complete [2022-10-26T15:10:45.719Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T15:10:45.719Z] 21b2b0c7a3f4: Download complete [2022-10-26T15:10:45.719Z] 30f14e443154: Verifying Checksum [2022-10-26T15:10:45.719Z] 30f14e443154: Download complete [2022-10-26T15:10:45.719Z] 213ec9aee27d: Verifying Checksum [2022-10-26T15:10:45.719Z] 213ec9aee27d: Download complete [2022-10-26T15:10:45.719Z] 801331c1e519: Verifying Checksum [2022-10-26T15:10:45.719Z] 801331c1e519: Download complete [2022-10-26T15:10:45.719Z] 213ec9aee27d: Pull complete [2022-10-26T15:10:45.985Z] 4583459ba037: Pull complete [2022-10-26T15:10:45.985Z] 93c1e223e6f2: Pull complete [2022-10-26T15:10:46.245Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T15:10:46.245Z] 7d9ed39f4882: Download complete [2022-10-26T15:10:46.245Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T15:10:46.245Z] 99cc6dd402b0: Download complete [2022-10-26T15:10:46.503Z] 53926ce57604: Verifying Checksum [2022-10-26T15:10:46.503Z] 53926ce57604: Download complete [2022-10-26T15:10:50.687Z] 53926ce57604: Pull complete [2022-10-26T15:10:50.687Z] 21b2b0c7a3f4: Pull complete [2022-10-26T15:10:50.687Z] 30f14e443154: Pull complete [2022-10-26T15:10:50.687Z] 801331c1e519: Pull complete [2022-10-26T15:10:52.591Z] 99cc6dd402b0: Pull complete [2022-10-26T15:10:53.526Z] 7d9ed39f4882: Pull complete [2022-10-26T15:10:53.526Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T15:10:53.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T15:10:53.526Z] ---> 1dedd983c030 [2022-10-26T15:10:53.526Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-26T15:10:55.440Z] ---> Running in 411ab2cb94d3 [2022-10-26T15:10:55.440Z] Removing intermediate container 411ab2cb94d3 [2022-10-26T15:10:55.440Z] ---> 27fc2be58cd8 [2022-10-26T15:10:55.440Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T15:10:55.440Z] ---> Running in 00f5a5f92149 [2022-10-26T15:10:55.699Z] Removing intermediate container 00f5a5f92149 [2022-10-26T15:10:55.699Z] ---> f5c54cbb4757 [2022-10-26T15:10:55.699Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T15:10:55.699Z] ---> Running in 1ca5f2839be4 [2022-10-26T15:10:55.958Z] Removing intermediate container 1ca5f2839be4 [2022-10-26T15:10:55.958Z] ---> 7d566e143ecc [2022-10-26T15:10:55.958Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T15:10:55.958Z] ---> Running in 5231a1acb326 [2022-10-26T15:10:55.958Z] Removing intermediate container 5231a1acb326 [2022-10-26T15:10:55.958Z] ---> a082940b0576 [2022-10-26T15:10:55.958Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T15:10:55.958Z] ---> Running in 6900c3167b70 [2022-10-26T15:10:56.901Z] Removing intermediate container 6900c3167b70 [2022-10-26T15:10:56.901Z] ---> 3fd2efb5205f [2022-10-26T15:10:56.901Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T15:10:56.901Z] ---> Running in 58446aca6b4d [2022-10-26T15:10:56.901Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T15:10:57.477Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T15:10:58.420Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T15:10:58.679Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T15:10:58.938Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T15:10:58.968Z] Still waiting to schedule task [2022-10-26T15:10:58.968Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T15:10:59.505Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T15:10:59.764Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T15:10:59.764Z] OK: 216 MiB in 55 packages [2022-10-26T15:11:00.331Z] Removing intermediate container 58446aca6b4d [2022-10-26T15:11:00.331Z] ---> b93b7a8bd4f3 [2022-10-26T15:11:00.331Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-26T15:11:00.331Z] ---> Running in 387dd94fa948 [2022-10-26T15:11:00.589Z] Removing intermediate container 387dd94fa948 [2022-10-26T15:11:00.589Z] ---> 079236d40dc5 [2022-10-26T15:11:00.589Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-26T15:11:00.589Z] ---> 7ed2caca3d9c [2022-10-26T15:11:00.589Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T15:11:00.589Z] ---> Running in e9896057200a [2022-10-26T15:11:22.529Z] Removing intermediate container e9896057200a [2022-10-26T15:11:22.529Z] ---> e5a94c538e96 [2022-10-26T15:11:22.529Z] Step 12/13 : COPY . . [2022-10-26T15:11:22.529Z] ---> c30e8e2f1dab [2022-10-26T15:11:22.529Z] Step 13/13 : RUN $MAKE [2022-10-26T15:11:22.529Z] ---> Running in f3dad15a95d8 [2022-10-26T15:11:22.529Z] noop [2022-10-26T15:11:22.529Z] Removing intermediate container f3dad15a95d8 [2022-10-26T15:11:22.529Z] ---> 3043b352d763 [2022-10-26T15:11:22.529Z] Successfully built 3043b352d763 [2022-10-26T15:11:22.529Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T15:11:22.846Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T15:11:22.846Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T15:11:22.912Z] prd-ubuntu20.04-docker-8c-8g-117158 does not seem to be running inside a container [2022-10-26T15:11:22.938Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T15:11:23.341Z] $ docker top 522a2e174b378f8a20ae446737479c53559a25f3bb6bfdd1341d1424efc8ba3a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T15:11:23.682Z] + go version [2022-10-26T15:11:23.682Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T15:11:23.693Z] $ docker stop --time=1 522a2e174b378f8a20ae446737479c53559a25f3bb6bfdd1341d1424efc8ba3a [2022-10-26T15:11:24.990Z] $ docker rm -f 522a2e174b378f8a20ae446737479c53559a25f3bb6bfdd1341d1424efc8ba3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T15:11:25.413Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T15:11:25.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T15:11:25.478Z] prd-ubuntu20.04-docker-8c-8g-117158 does not seem to be running inside a container [2022-10-26T15:11:25.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T15:11:25.893Z] $ docker top f149134fdf50cb7d6dcbb9924d3edf696b563b8aa5c432d82a9f986811690379 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T15:11:26.247Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] fileExists [Pipeline] sh [2022-10-26T15:11:26.540Z] + make test [2022-10-26T15:11:26.540Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T15:11:26.799Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-26T15:11:36.773Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-26T15:11:37.032Z] ok github.com/edgexfoundry/device-rest-go/driver 0.020s coverage: 55.2% of statements [2022-10-26T15:11:45.142Z] 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-26T15:11:45.142Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T15:11:47.671Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T15:11:47.671Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T15:11:47.671Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T15:11:47.938Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T15:11:47.952Z] $ docker stop --time=1 f149134fdf50cb7d6dcbb9924d3edf696b563b8aa5c432d82a9f986811690379 [2022-10-26T15:11:49.847Z] $ docker rm -f f149134fdf50cb7d6dcbb9924d3edf696b563b8aa5c432d82a9f986811690379 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T15:11:50.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T15:11:50.342Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T15:11:50.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T15:11:51.150Z] + ls -al . [2022-10-26T15:11:51.151Z] total 188 [2022-10-26T15:11:51.151Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 15:11 . [2022-10-26T15:11:51.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 15:10 .. [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 15:10 .dockerignore [2022-10-26T15:11:51.151Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 15:11 .git [2022-10-26T15:11:51.151Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 15:10 .github [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 15:10 .gitignore [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 15:10 .golangci.yml [2022-10-26T15:11:51.151Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 15:10 .semver [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 26 15:10 Attribution.txt [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 26 15:10 CHANGELOG.md [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 26 15:10 Dockerfile [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 15:10 GOVERNANCE.md [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 15:10 Jenkinsfile [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 15:10 LICENSE [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 26 15:10 Makefile [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 15:10 OWNERS.md [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 26 15:10 README.md [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 15:10 VERSION [2022-10-26T15:11:51.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 15:10 bin [2022-10-26T15:11:51.151Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 15:10 cmd [2022-10-26T15:11:51.151Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 26 15:11 coverage.out [2022-10-26T15:11:51.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 15:10 driver [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 3535 Oct 26 15:10 go.mod [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 45142 Oct 26 15:10 go.sum [2022-10-26T15:11:51.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 15:10 snap [2022-10-26T15:11:51.151Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 15:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T15:11:51.462Z] + 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=c3b440c7cd832d98825fb158869cd98ede46ef49 --label arch=amd64 --label version=0.0.0 . [2022-10-26T15:11:51.462Z] Sending build context to Docker daemon 10.76MB [2022-10-26T15:11:51.462Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T15:11:51.462Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T15:11:51.462Z] ---> 3043b352d763 [2022-10-26T15:11:51.462Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T15:11:51.722Z] ---> Running in dad3581e3b58 [2022-10-26T15:11:51.722Z] Removing intermediate container dad3581e3b58 [2022-10-26T15:11:51.722Z] ---> 52b400d8bee9 [2022-10-26T15:11:51.722Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T15:11:51.722Z] ---> Running in e7c196d0ab8d [2022-10-26T15:11:51.722Z] Removing intermediate container e7c196d0ab8d [2022-10-26T15:11:51.722Z] ---> 2f7f9c65fe72 [2022-10-26T15:11:51.722Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T15:11:51.985Z] ---> Running in 1f3f6a4a14ae [2022-10-26T15:11:51.985Z] Removing intermediate container 1f3f6a4a14ae [2022-10-26T15:11:51.985Z] ---> d5bde680bd70 [2022-10-26T15:11:51.985Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T15:11:51.985Z] ---> Running in a6172e1bdb28 [2022-10-26T15:11:51.985Z] Removing intermediate container a6172e1bdb28 [2022-10-26T15:11:51.985Z] ---> 5e7a428f22ea [2022-10-26T15:11:51.985Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T15:11:52.244Z] ---> Running in bdd33a1ead7f [2022-10-26T15:11:52.812Z] Removing intermediate container bdd33a1ead7f [2022-10-26T15:11:52.812Z] ---> a23958f56e01 [2022-10-26T15:11:52.812Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T15:11:52.812Z] ---> Running in 2e39bef33e98 [2022-10-26T15:11:53.070Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T15:11:53.645Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T15:11:54.213Z] OK: 216 MiB in 55 packages [2022-10-26T15:11:54.471Z] Removing intermediate container 2e39bef33e98 [2022-10-26T15:11:54.471Z] ---> 46f36a96f738 [2022-10-26T15:11:54.471Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-26T15:11:54.471Z] ---> Running in bf13964416ee [2022-10-26T15:11:54.732Z] Removing intermediate container bf13964416ee [2022-10-26T15:11:54.732Z] ---> d076edaac98c [2022-10-26T15:11:54.732Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-26T15:11:54.732Z] ---> 134ccc6054f2 [2022-10-26T15:11:54.732Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T15:11:54.732Z] ---> Running in b0837b7421b8 [2022-10-26T15:11:55.672Z] Removing intermediate container b0837b7421b8 [2022-10-26T15:11:55.672Z] ---> 10539f2a4a63 [2022-10-26T15:11:55.672Z] Step 12/26 : COPY . . [2022-10-26T15:11:55.931Z] ---> f6a2a2d20a3f [2022-10-26T15:11:55.931Z] Step 13/26 : RUN $MAKE [2022-10-26T15:11:55.931Z] ---> Running in 99d729db4795 [2022-10-26T15:11:56.190Z] 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-26T15:12:18.153Z] Removing intermediate container 99d729db4795 [2022-10-26T15:12:18.153Z] ---> 19d04f844e01 [2022-10-26T15:12:18.153Z] Step 14/26 : FROM alpine:3.16 [2022-10-26T15:12:18.153Z] 3.16: Pulling from library/alpine [2022-10-26T15:12:18.153Z] 213ec9aee27d: Already exists [2022-10-26T15:12:18.153Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T15:12:18.153Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T15:12:18.153Z] ---> 9c6f07244728 [2022-10-26T15:12:18.153Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T15:12:18.153Z] ---> Running in c06f9fd920f2 [2022-10-26T15:12:18.153Z] Removing intermediate container c06f9fd920f2 [2022-10-26T15:12:18.153Z] ---> 7018b91a614d [2022-10-26T15:12:18.153Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-26T15:12:18.153Z] ---> Running in 4f7fc1af3ebe [2022-10-26T15:12:18.153Z] Removing intermediate container 4f7fc1af3ebe [2022-10-26T15:12:18.153Z] ---> 72f97b31aba4 [2022-10-26T15:12:18.153Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T15:12:18.153Z] ---> Running in bb57f09699fd [2022-10-26T15:12:18.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T15:12:18.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T15:12:18.976Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T15:12:18.976Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T15:12:18.976Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T15:12:18.976Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T15:12:18.976Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T15:12:18.976Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T15:12:18.976Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T15:12:18.976Z] OK: 8 MiB in 20 packages [2022-10-26T15:12:19.235Z] Removing intermediate container bb57f09699fd [2022-10-26T15:12:19.235Z] ---> 260515fbe466 [2022-10-26T15:12:19.235Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-26T15:12:20.180Z] ---> cec10411a625 [2022-10-26T15:12:20.180Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-26T15:12:20.180Z] ---> b1701c4f18b7 [2022-10-26T15:12:20.180Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-26T15:12:20.180Z] ---> 3806e8f1b0d0 [2022-10-26T15:12:20.180Z] Step 21/26 : EXPOSE 59986 [2022-10-26T15:12:20.445Z] ---> Running in 290cfe41f762 [2022-10-26T15:12:20.445Z] Removing intermediate container 290cfe41f762 [2022-10-26T15:12:20.445Z] ---> 7017d282b83f [2022-10-26T15:12:20.445Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-26T15:12:20.445Z] ---> Running in 067ad390682b [2022-10-26T15:12:20.445Z] Removing intermediate container 067ad390682b [2022-10-26T15:12:20.445Z] ---> ff0a71a93b96 [2022-10-26T15:12:20.445Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-26T15:12:20.702Z] ---> Running in 5deb1e79b679 [2022-10-26T15:12:20.702Z] Removing intermediate container 5deb1e79b679 [2022-10-26T15:12:20.702Z] ---> 8dfce4013610 [2022-10-26T15:12:20.702Z] Step 24/26 : LABEL arch=amd64 [2022-10-26T15:12:20.702Z] ---> Running in 7bdbe973935e [2022-10-26T15:12:20.702Z] Removing intermediate container 7bdbe973935e [2022-10-26T15:12:20.702Z] ---> 48391ba763c8 [2022-10-26T15:12:20.702Z] Step 25/26 : LABEL git_sha=c3b440c7cd832d98825fb158869cd98ede46ef49 [2022-10-26T15:12:20.960Z] ---> Running in 63b5bac1c1c1 [2022-10-26T15:12:20.960Z] Removing intermediate container 63b5bac1c1c1 [2022-10-26T15:12:20.960Z] ---> a9e171e71abc [2022-10-26T15:12:20.960Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T15:12:20.960Z] ---> Running in e9d5ce3d2ab3 [2022-10-26T15:12:21.217Z] Removing intermediate container e9d5ce3d2ab3 [2022-10-26T15:12:21.217Z] ---> f6decbbfafe6 [2022-10-26T15:12:21.217Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T15:12:21.217Z] Successfully built f6decbbfafe6 [2022-10-26T15:12:21.217Z] 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-26T15:12:21.625Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T15:12:21.626Z] [2022-10-26T15:12:21.626Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T15:12:21.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T15:12:21.922Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T15:12:21.922Z] 5eb5b503b376: Pulling fs layer [2022-10-26T15:12:21.922Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T15:12:21.922Z] ec43610c2a17: Pulling fs layer [2022-10-26T15:12:21.922Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T15:12:21.922Z] 33b1e0a273af: Pulling fs layer [2022-10-26T15:12:21.922Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T15:12:21.922Z] 2f39f015ded8: Pulling fs layer [2022-10-26T15:12:21.922Z] 3a2ae6a8a46f: Waiting [2022-10-26T15:12:21.922Z] 33b1e0a273af: Waiting [2022-10-26T15:12:21.922Z] 5d3b04190fa2: Waiting [2022-10-26T15:12:21.922Z] 2f39f015ded8: Waiting [2022-10-26T15:12:21.922Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T15:12:21.922Z] 5c69ac0246d0: Download complete [2022-10-26T15:12:21.922Z] 3a2ae6a8a46f: Download complete [2022-10-26T15:12:21.922Z] 33b1e0a273af: Verifying Checksum [2022-10-26T15:12:21.922Z] 33b1e0a273af: Download complete [2022-10-26T15:12:21.922Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T15:12:21.922Z] 5d3b04190fa2: Download complete [2022-10-26T15:12:21.922Z] ec43610c2a17: Verifying Checksum [2022-10-26T15:12:21.922Z] ec43610c2a17: Download complete [2022-10-26T15:12:22.181Z] 5eb5b503b376: Verifying Checksum [2022-10-26T15:12:22.181Z] 5eb5b503b376: Download complete [2022-10-26T15:12:22.750Z] 2f39f015ded8: Download complete [2022-10-26T15:12:23.316Z] 5eb5b503b376: Pull complete [2022-10-26T15:12:23.574Z] 5c69ac0246d0: Pull complete [2022-10-26T15:12:24.139Z] ec43610c2a17: Pull complete [2022-10-26T15:12:24.139Z] 3a2ae6a8a46f: Pull complete [2022-10-26T15:12:24.397Z] 33b1e0a273af: Pull complete [2022-10-26T15:12:24.397Z] 5d3b04190fa2: Pull complete [2022-10-26T15:12:28.586Z] 2f39f015ded8: Pull complete [2022-10-26T15:12:28.586Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T15:12:28.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T15:12:28.586Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T15:12:28.675Z] prd-ubuntu20.04-docker-8c-8g-117158 does not seem to be running inside a container [2022-10-26T15:12:28.708Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T15:12:30.504Z] $ docker top 4775fc40c591a549d3cc5adf8a64dff8620d3f945b00273b00753ce57e194d35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T15:12:30.896Z] ---> job-cost.sh [2022-10-26T15:12:30.896Z] lf-activate-venv: SKIPPING [2022-10-26T15:12:30.896Z] INFO: No Stack... [2022-10-26T15:12:31.462Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T15:12:31.721Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T15:12:32.006Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-222/archives/cost.csv [2022-10-26T15:12:32.006Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T15:12:32.018Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-4-stack-cost] [2022-10-26T15:12:32.024Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-222-4-stack-cost] did not exist. Created. [2022-10-26T15:12:32.024Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T15:12:32.322Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T15:12:32.354Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T15:12:32.364Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T15:12:32.384Z] $ docker stop --time=1 4775fc40c591a549d3cc5adf8a64dff8620d3f945b00273b00753ce57e194d35 [2022-10-26T15:12:33.552Z] $ docker rm -f 4775fc40c591a549d3cc5adf8a64dff8620d3f945b00273b00753ce57e194d35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T15:16:05.275Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117159 in /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] { [Pipeline] ws [2022-10-26T15:16:05.287Z] Running in /w/workspace/device-rest-go/4 [Pipeline] { [Pipeline] checkout [2022-10-26T15:16:05.321Z] The recommended git tool is: git [2022-10-26T15:16:13.559Z] using credential edgex-jenkins-ssh [2022-10-26T15:16:13.577Z] Cloning the remote Git repository [2022-10-26T15:16:13.631Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-26T15:16:13.724Z] > git init /w/workspace/device-rest-go/4 # timeout=10 [2022-10-26T15:16:13.910Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-26T15:16:13.911Z] > git --version # timeout=10 [2022-10-26T15:16:13.934Z] > git --version # 'git version 2.25.1' [2022-10-26T15:16:13.936Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T15:16:13.994Z] Verifying host key using known hosts file [2022-10-26T15:16:14.239Z] 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-26T15:16:14.253Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T15:16:16.216Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-26T15:16:16.252Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T15:16:17.223Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-26T15:16:17.847Z] Merging remotes/origin/main commit 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 into PR head commit 5034d95c24c283ca5c1cd8748801c0a382af0d0d [2022-10-26T15:16:18.134Z] Merge succeeded, producing 10334d7377044e929a34c32c78b9e31f7210ae2e [2022-10-26T15:16:18.134Z] Checking out Revision 10334d7377044e929a34c32c78b9e31f7210ae2e (PR-222) [2022-10-26T15:16:17.272Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-26T15:16:17.273Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T15:16:17.279Z] Verifying host key using known hosts file [2022-10-26T15:16:17.287Z] 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-26T15:16:17.301Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T15:16:17.864Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T15:16:17.886Z] > git checkout -f 5034d95c24c283ca5c1cd8748801c0a382af0d0d # timeout=10 [2022-10-26T15:16:17.980Z] > git remote # timeout=10 [2022-10-26T15:16:18.002Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T15:16:18.027Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T15:16:18.034Z] Verifying host key using known hosts file [2022-10-26T15:16:18.041Z] 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-26T15:16:18.052Z] > git merge 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 [2022-10-26T15:16:18.109Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T15:16:18.139Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T15:16:18.154Z] > git checkout -f 10334d7377044e929a34c32c78b9e31f7210ae2e # timeout=10 [2022-10-26T15:16:21.737Z] Commit message: "Merge commit '02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2' into HEAD" [2022-10-26T15:16:21.766Z] First time build. Skipping changelog. [2022-10-26T15:16:21.744Z] > git rev-list --no-walk be52db1ccfe161bb93485934e73de478f8ad7fa3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T15:16:22.805Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T15:16:22.805Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T15:16:22.805Z] Dload Upload Total Spent Left Speed [2022-10-26T15:16:22.805Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 87513 0 --:--:-- --:--:-- --:--:-- 87513 [Pipeline] sh [2022-10-26T15:16:23.606Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T15:16:23.948Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T15:16:23.948Z] + sudo tee /etc/docker/daemon.new [2022-10-26T15:16:23.948Z] { [2022-10-26T15:16:23.948Z] "registry-mirrors": [ [2022-10-26T15:16:23.948Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T15:16:23.948Z] ], [2022-10-26T15:16:23.948Z] "bip": "10.250.0.254/24", [2022-10-26T15:16:23.948Z] "hosts": [ [2022-10-26T15:16:23.948Z] "tcp://0.0.0.0:5555", [2022-10-26T15:16:23.948Z] "unix:///var/run/docker.sock" [2022-10-26T15:16:23.948Z] ], [2022-10-26T15:16:23.948Z] "mtu": 1458, [2022-10-26T15:16:23.948Z] "selinux-enabled": true, [2022-10-26T15:16:23.948Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T15:16:23.948Z] } [Pipeline] sh [2022-10-26T15:16:24.279Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T15:16:24.609Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T15:16:42.905Z] provisioning config files... [2022-10-26T15:16:42.937Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/4@tmp/config9766981412051252848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T15:16:43.299Z] ---> docker-login.sh [2022-10-26T15:16:43.299Z] nexus3.edgexfoundry.org:10001 [2022-10-26T15:16:43.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:16:43.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:16:43.891Z] Configure a credential helper to remove this warning. See [2022-10-26T15:16:43.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:16:43.891Z] [2022-10-26T15:16:43.891Z] Login Succeeded [2022-10-26T15:16:43.891Z] nexus3.edgexfoundry.org:10002 [2022-10-26T15:16:44.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:16:44.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:16:44.481Z] Configure a credential helper to remove this warning. See [2022-10-26T15:16:44.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:16:44.481Z] [2022-10-26T15:16:44.481Z] Login Succeeded [2022-10-26T15:16:44.481Z] nexus3.edgexfoundry.org:10003 [2022-10-26T15:16:44.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:16:44.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:16:44.755Z] Configure a credential helper to remove this warning. See [2022-10-26T15:16:44.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:16:44.755Z] [2022-10-26T15:16:44.755Z] Login Succeeded [2022-10-26T15:16:44.755Z] nexus3.edgexfoundry.org:10004 [2022-10-26T15:16:45.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:16:45.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:16:45.303Z] Configure a credential helper to remove this warning. See [2022-10-26T15:16:45.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:16:45.303Z] [2022-10-26T15:16:45.303Z] Login Succeeded [2022-10-26T15:16:45.303Z] docker.io [2022-10-26T15:16:45.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T15:16:45.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T15:16:45.847Z] Configure a credential helper to remove this warning. See [2022-10-26T15:16:45.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T15:16:45.847Z] [2022-10-26T15:16:45.847Z] Login Succeeded [2022-10-26T15:16:45.847Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T15:16:45.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T15:16:46.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T15:16:46.063Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T15:16:46.071Z] ========================================================= [2022-10-26T15:16:46.071Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T15:16:46.071Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T15:16:46.423Z] + 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-26T15:16:46.423Z] Sending build context to Docker daemon 127.5kB [2022-10-26T15:16:46.695Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T15:16:46.695Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-26T15:16:46.966Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T15:16:46.966Z] 9b18e9b68314: Pulling fs layer [2022-10-26T15:16:46.966Z] d32db5db7311: Pulling fs layer [2022-10-26T15:16:46.966Z] d0c4b47475fc: Pulling fs layer [2022-10-26T15:16:46.966Z] 5831b945b038: Pulling fs layer [2022-10-26T15:16:46.966Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T15:16:46.966Z] e10730c5d714: Pulling fs layer [2022-10-26T15:16:46.966Z] 5dd5c2283517: Pulling fs layer [2022-10-26T15:16:46.966Z] d5ac0230b979: Pulling fs layer [2022-10-26T15:16:46.966Z] 5831b945b038: Waiting [2022-10-26T15:16:46.966Z] e10730c5d714: Waiting [2022-10-26T15:16:46.966Z] 5dd5c2283517: Waiting [2022-10-26T15:16:46.966Z] 86bbec2aaacd: Waiting [2022-10-26T15:16:46.966Z] d5ac0230b979: Waiting [2022-10-26T15:16:46.966Z] d0c4b47475fc: Verifying Checksum [2022-10-26T15:16:46.966Z] d0c4b47475fc: Download complete [2022-10-26T15:16:46.966Z] d32db5db7311: Verifying Checksum [2022-10-26T15:16:46.966Z] d32db5db7311: Download complete [2022-10-26T15:16:46.966Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T15:16:46.966Z] 86bbec2aaacd: Download complete [2022-10-26T15:16:46.966Z] e10730c5d714: Verifying Checksum [2022-10-26T15:16:46.966Z] e10730c5d714: Download complete [2022-10-26T15:16:46.966Z] 9b18e9b68314: Verifying Checksum [2022-10-26T15:16:46.966Z] 9b18e9b68314: Download complete [2022-10-26T15:16:47.956Z] 9b18e9b68314: Pull complete [2022-10-26T15:16:47.956Z] d5ac0230b979: Verifying Checksum [2022-10-26T15:16:47.956Z] d5ac0230b979: Download complete [2022-10-26T15:16:48.554Z] d32db5db7311: Pull complete [2022-10-26T15:16:49.158Z] d0c4b47475fc: Pull complete [2022-10-26T15:16:49.437Z] 5dd5c2283517: Verifying Checksum [2022-10-26T15:16:49.437Z] 5dd5c2283517: Download complete [2022-10-26T15:16:50.409Z] 5831b945b038: Verifying Checksum [2022-10-26T15:16:50.409Z] 5831b945b038: Download complete [2022-10-26T15:17:05.469Z] 5831b945b038: Pull complete [2022-10-26T15:17:05.469Z] 86bbec2aaacd: Pull complete [2022-10-26T15:17:05.469Z] e10730c5d714: Pull complete [2022-10-26T15:17:12.154Z] 5dd5c2283517: Pull complete [2022-10-26T15:17:14.115Z] d5ac0230b979: Pull complete [2022-10-26T15:17:14.115Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T15:17:14.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T15:17:14.115Z] ---> 59b3b1a385d4 [2022-10-26T15:17:14.115Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-26T15:17:15.111Z] ---> Running in b1092e2f8dbf [2022-10-26T15:17:15.381Z] Removing intermediate container b1092e2f8dbf [2022-10-26T15:17:15.381Z] ---> a7cfe9ae21f4 [2022-10-26T15:17:15.381Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T15:17:15.381Z] ---> Running in 66f205608f9e [2022-10-26T15:17:15.970Z] Removing intermediate container 66f205608f9e [2022-10-26T15:17:15.970Z] ---> f69ad306c95b [2022-10-26T15:17:15.970Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T15:17:15.970Z] ---> Running in 7db2c10d78f1 [2022-10-26T15:17:16.238Z] Removing intermediate container 7db2c10d78f1 [2022-10-26T15:17:16.238Z] ---> 9bd0a618ad6b [2022-10-26T15:17:16.238Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T15:17:16.238Z] ---> Running in b2c3966d0e2b [2022-10-26T15:17:16.509Z] Removing intermediate container b2c3966d0e2b [2022-10-26T15:17:16.509Z] ---> 457b9d2cdc52 [2022-10-26T15:17:16.509Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T15:17:16.778Z] ---> Running in 60b3f78fa55f [2022-10-26T15:17:18.734Z] Removing intermediate container 60b3f78fa55f [2022-10-26T15:17:18.734Z] ---> 7c04a2f7d14b [2022-10-26T15:17:18.734Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T15:17:18.734Z] ---> Running in 071a0674e1a0 [2022-10-26T15:17:19.699Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T15:17:20.285Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T15:17:21.700Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T15:17:22.285Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T15:17:22.552Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T15:17:23.134Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T15:17:23.719Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T15:17:23.719Z] OK: 226 MiB in 55 packages [2022-10-26T15:17:24.683Z] Removing intermediate container 071a0674e1a0 [2022-10-26T15:17:24.683Z] ---> cd91d472bf48 [2022-10-26T15:17:24.683Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-26T15:17:24.952Z] ---> Running in 3f429c5626cf [2022-10-26T15:17:25.220Z] Removing intermediate container 3f429c5626cf [2022-10-26T15:17:25.220Z] ---> 90fc58ea1b05 [2022-10-26T15:17:25.220Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-26T15:17:25.807Z] ---> e431b0bcd2dd [2022-10-26T15:17:25.807Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T15:17:25.807Z] ---> Running in 4ddc7f8a54f3 [2022-10-26T15:18:22.334Z] Removing intermediate container 4ddc7f8a54f3 [2022-10-26T15:18:22.334Z] ---> 0a53348706aa [2022-10-26T15:18:22.334Z] Step 12/13 : COPY . . [2022-10-26T15:18:22.334Z] ---> fe0c4f343ea3 [2022-10-26T15:18:22.334Z] Step 13/13 : RUN $MAKE [2022-10-26T15:18:22.334Z] ---> Running in ebc1441a27fe [2022-10-26T15:18:23.308Z] noop [2022-10-26T15:18:23.962Z] Removing intermediate container ebc1441a27fe [2022-10-26T15:18:23.962Z] ---> 7b657c129d65 [2022-10-26T15:18:23.962Z] Successfully built 7b657c129d65 [2022-10-26T15:18:23.962Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T15:18:24.343Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T15:18:24.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T15:18:24.544Z] prd-ubuntu20.04-docker-arm64-4c-16g-117159 does not seem to be running inside a container [2022-10-26T15:18:24.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T15:18:25.916Z] $ docker top 981b24584b9ff900283394555632dd8282e5a9b36a821f5109887d3baa92ac00 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T15:18:26.780Z] + go version [2022-10-26T15:18:26.780Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T15:18:26.797Z] $ docker stop --time=1 981b24584b9ff900283394555632dd8282e5a9b36a821f5109887d3baa92ac00 [2022-10-26T15:18:28.503Z] $ docker rm -f 981b24584b9ff900283394555632dd8282e5a9b36a821f5109887d3baa92ac00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T15:18:29.068Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T15:18:29.068Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T15:18:29.260Z] prd-ubuntu20.04-docker-arm64-4c-16g-117159 does not seem to be running inside a container [2022-10-26T15:18:29.338Z] $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T15:18:30.700Z] $ docker top 5f8bd97af037176a531d4477a8bc1726f4085da55a1a2fa6ed1530eff297de36 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T15:18:31.562Z] + git config --global --add safe.directory /w/workspace/device-rest-go/4 [Pipeline] fileExists [Pipeline] sh [2022-10-26T15:18:32.222Z] + make test [2022-10-26T15:18:32.222Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T15:18:34.185Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-26T15:20:10.875Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-26T15:20:13.469Z] ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 55.2% of statements [2022-10-26T15:20:13.739Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T15:20:13.739Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T15:20:40.474Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T15:20:40.474Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T15:20:40.474Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T15:20:40.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T15:20:40.502Z] $ docker stop --time=1 5f8bd97af037176a531d4477a8bc1726f4085da55a1a2fa6ed1530eff297de36 [2022-10-26T15:20:42.365Z] $ docker rm -f 5f8bd97af037176a531d4477a8bc1726f4085da55a1a2fa6ed1530eff297de36 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T15:20:43.456Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T15:20:43.477Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T15:20:44.076Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T15:20:44.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T15:20:44.814Z] + ls -al . [2022-10-26T15:20:44.814Z] total 184 [2022-10-26T15:20:44.814Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 15:18 . [2022-10-26T15:20:44.814Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 15:16 .. [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 26 15:16 .dockerignore [2022-10-26T15:20:44.814Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 15:16 .git [2022-10-26T15:20:44.814Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 15:16 .github [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 15:16 .gitignore [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 15:16 .golangci.yml [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 26 15:16 Attribution.txt [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 26 15:16 CHANGELOG.md [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 26 15:16 Dockerfile [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 15:16 GOVERNANCE.md [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 26 15:16 Jenkinsfile [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 15:16 LICENSE [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 26 15:16 Makefile [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 15:16 OWNERS.md [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 26 15:16 README.md [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 15:10 VERSION [2022-10-26T15:20:44.814Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 15:16 bin [2022-10-26T15:20:44.814Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 15:16 cmd [2022-10-26T15:20:44.814Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 26 15:20 coverage.out [2022-10-26T15:20:44.814Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 15:16 driver [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 3535 Oct 26 15:16 go.mod [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 45142 Oct 26 15:16 go.sum [2022-10-26T15:20:44.814Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 15:16 snap [2022-10-26T15:20:44.814Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 26 15:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T15:20:45.172Z] + 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=10334d7377044e929a34c32c78b9e31f7210ae2e --label arch=arm64 --label version=0.0.0 . [2022-10-26T15:20:45.172Z] Sending build context to Docker daemon 137.7kB [2022-10-26T15:20:45.441Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T15:20:45.441Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-26T15:20:45.441Z] ---> 7b657c129d65 [2022-10-26T15:20:45.441Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-26T15:20:45.441Z] ---> Running in c7ad990ed2f9 [2022-10-26T15:20:46.028Z] Removing intermediate container c7ad990ed2f9 [2022-10-26T15:20:46.028Z] ---> eb8b37eb8f49 [2022-10-26T15:20:46.028Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T15:20:46.028Z] ---> Running in 8a5fd33691c3 [2022-10-26T15:20:46.297Z] Removing intermediate container 8a5fd33691c3 [2022-10-26T15:20:46.297Z] ---> 42fecef0607d [2022-10-26T15:20:46.297Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T15:20:46.297Z] ---> Running in 6d4b4f852bd1 [2022-10-26T15:20:46.565Z] Removing intermediate container 6d4b4f852bd1 [2022-10-26T15:20:46.565Z] ---> 4f24d27c23cb [2022-10-26T15:20:46.565Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T15:20:46.835Z] ---> Running in c66b20a186c9 [2022-10-26T15:20:47.105Z] Removing intermediate container c66b20a186c9 [2022-10-26T15:20:47.105Z] ---> f438165d42c8 [2022-10-26T15:20:47.105Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T15:20:47.105Z] ---> Running in 1566f805c93f [2022-10-26T15:20:49.066Z] Removing intermediate container 1566f805c93f [2022-10-26T15:20:49.066Z] ---> 92e809a9f145 [2022-10-26T15:20:49.066Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T15:20:49.066Z] ---> Running in bd434e2a9631 [2022-10-26T15:20:50.033Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T15:20:50.619Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T15:20:52.036Z] OK: 226 MiB in 55 packages [2022-10-26T15:20:54.623Z] Removing intermediate container bd434e2a9631 [2022-10-26T15:20:54.623Z] ---> 48b32c105315 [2022-10-26T15:20:54.623Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-26T15:20:54.623Z] ---> Running in ae4d5144d604 [2022-10-26T15:20:54.623Z] Removing intermediate container ae4d5144d604 [2022-10-26T15:20:54.623Z] ---> 470702c38e99 [2022-10-26T15:20:54.623Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-26T15:20:55.215Z] ---> c5e61dae7c44 [2022-10-26T15:20:55.215Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T15:20:55.215Z] ---> Running in 9fcbd10cfa0c [2022-10-26T15:20:57.179Z] Removing intermediate container 9fcbd10cfa0c [2022-10-26T15:20:57.179Z] ---> e8828070f0c2 [2022-10-26T15:20:57.179Z] Step 12/26 : COPY . . [2022-10-26T15:20:57.765Z] ---> eadb402f2596 [2022-10-26T15:20:57.765Z] Step 13/26 : RUN $MAKE [2022-10-26T15:20:57.765Z] ---> Running in eb76bff26339 [2022-10-26T15:20:58.733Z] 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-26T15:23:50.560Z] Removing intermediate container eb76bff26339 [2022-10-26T15:23:50.560Z] ---> 003d0eb676c6 [2022-10-26T15:23:50.560Z] Step 14/26 : FROM alpine:3.16 [2022-10-26T15:23:50.560Z] 3.16: Pulling from library/alpine [2022-10-26T15:23:50.560Z] 9b18e9b68314: Already exists [2022-10-26T15:23:50.560Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T15:23:50.560Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T15:23:50.560Z] ---> a6215f271958 [2022-10-26T15:23:50.560Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-26T15:23:50.560Z] ---> Running in 1c1bbf10e54f [2022-10-26T15:23:50.560Z] Removing intermediate container 1c1bbf10e54f [2022-10-26T15:23:50.560Z] ---> 62d01778b490 [2022-10-26T15:23:50.560Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-26T15:23:50.560Z] ---> Running in 1a6b2efdade9 [2022-10-26T15:23:50.560Z] Removing intermediate container 1a6b2efdade9 [2022-10-26T15:23:50.560Z] ---> a6133749a842 [2022-10-26T15:23:50.560Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T15:23:50.560Z] ---> Running in 0eb1340ce809 [2022-10-26T15:23:50.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T15:23:50.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T15:23:50.560Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T15:23:50.560Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T15:23:50.560Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T15:23:50.560Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T15:23:50.560Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T15:23:50.560Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T15:23:50.560Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T15:23:50.560Z] OK: 8 MiB in 20 packages [2022-10-26T15:23:50.560Z] Removing intermediate container 0eb1340ce809 [2022-10-26T15:23:50.560Z] ---> f551ad91e377 [2022-10-26T15:23:50.560Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-26T15:23:50.560Z] ---> d6156a9965ea [2022-10-26T15:23:50.560Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-26T15:23:51.149Z] ---> 742a157ffa85 [2022-10-26T15:23:51.149Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-26T15:23:51.740Z] ---> e2c77197f695 [2022-10-26T15:23:51.740Z] Step 21/26 : EXPOSE 59986 [2022-10-26T15:23:52.008Z] ---> Running in ecea7e69f7c4 [2022-10-26T15:23:52.289Z] Removing intermediate container ecea7e69f7c4 [2022-10-26T15:23:52.289Z] ---> f803ba182ecb [2022-10-26T15:23:52.289Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-26T15:23:52.289Z] ---> Running in a976e7c942e3 [2022-10-26T15:23:52.877Z] Removing intermediate container a976e7c942e3 [2022-10-26T15:23:52.877Z] ---> d4062cddf023 [2022-10-26T15:23:52.877Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-26T15:23:52.877Z] ---> Running in c2cccaf2951d [2022-10-26T15:23:53.147Z] Removing intermediate container c2cccaf2951d [2022-10-26T15:23:53.147Z] ---> 15fb54cd77c3 [2022-10-26T15:23:53.147Z] Step 24/26 : LABEL arch=arm64 [2022-10-26T15:23:53.147Z] ---> Running in 6a7f1ac3361e [2022-10-26T15:23:53.739Z] Removing intermediate container 6a7f1ac3361e [2022-10-26T15:23:53.739Z] ---> 0d76d955dce9 [2022-10-26T15:23:53.739Z] Step 25/26 : LABEL git_sha=10334d7377044e929a34c32c78b9e31f7210ae2e [2022-10-26T15:23:53.739Z] ---> Running in c8cb748ea814 [2022-10-26T15:23:54.007Z] Removing intermediate container c8cb748ea814 [2022-10-26T15:23:54.007Z] ---> 804a2215b4f2 [2022-10-26T15:23:54.007Z] Step 26/26 : LABEL version=0.0.0 [2022-10-26T15:23:54.007Z] ---> Running in f87fe67c7a9b [2022-10-26T15:23:54.595Z] Removing intermediate container f87fe67c7a9b [2022-10-26T15:23:54.595Z] ---> 102d7b964358 [2022-10-26T15:23:54.595Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T15:23:54.595Z] Successfully built 102d7b964358 [2022-10-26T15:23:54.595Z] 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-26T15:23:55.046Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T15:23:55.047Z] [2022-10-26T15:23:55.047Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T15:23:55.386Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T15:23:55.386Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T15:23:55.386Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T15:23:55.386Z] 04944245beec: Pulling fs layer [2022-10-26T15:23:55.386Z] 699f458cf7ca: Pulling fs layer [2022-10-26T15:23:55.386Z] 765212b225bb: Pulling fs layer [2022-10-26T15:23:55.386Z] f23df028b6ca: Pulling fs layer [2022-10-26T15:23:55.386Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T15:23:55.386Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T15:23:55.386Z] 765212b225bb: Waiting [2022-10-26T15:23:55.386Z] f23df028b6ca: Waiting [2022-10-26T15:23:55.386Z] 2437ff75d9bd: Waiting [2022-10-26T15:23:55.386Z] d65c8cfc05b1: Waiting [2022-10-26T15:23:55.658Z] 04944245beec: Verifying Checksum [2022-10-26T15:23:55.658Z] 04944245beec: Download complete [2022-10-26T15:23:55.658Z] 765212b225bb: Download complete [2022-10-26T15:23:55.658Z] f23df028b6ca: Download complete [2022-10-26T15:23:55.658Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T15:23:55.658Z] d65c8cfc05b1: Download complete [2022-10-26T15:23:55.928Z] 699f458cf7ca: Verifying Checksum [2022-10-26T15:23:55.928Z] 699f458cf7ca: Download complete [2022-10-26T15:23:56.201Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T15:23:56.201Z] 8998bd30e6a1: Download complete [2022-10-26T15:23:58.797Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T15:23:58.797Z] 2437ff75d9bd: Download complete [2022-10-26T15:24:00.216Z] 8998bd30e6a1: Pull complete [2022-10-26T15:24:00.801Z] 04944245beec: Pull complete [2022-10-26T15:24:02.216Z] 699f458cf7ca: Pull complete [2022-10-26T15:24:02.484Z] 765212b225bb: Pull complete [2022-10-26T15:24:03.451Z] f23df028b6ca: Pull complete [2022-10-26T15:24:03.451Z] d65c8cfc05b1: Pull complete [2022-10-26T15:24:21.685Z] 2437ff75d9bd: Pull complete [2022-10-26T15:24:21.685Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T15:24:21.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T15:24:21.685Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T15:24:21.889Z] prd-ubuntu20.04-docker-arm64-4c-16g-117159 does not seem to be running inside a container [2022-10-26T15:24:21.965Z] $ 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/4 -v /w/workspace/device-rest-go/4:/w/workspace/device-rest-go/4:rw,z -v /w/workspace/device-rest-go/4@tmp:/w/workspace/device-rest-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T15:24:24.999Z] $ docker top 09bb3ebc516c7da0d56599673715c106b33a74540d48fe38c6f5f0e77e6b59c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T15:24:25.870Z] ---> job-cost.sh [2022-10-26T15:24:25.870Z] lf-activate-venv: SKIPPING [2022-10-26T15:24:25.870Z] INFO: No Stack... [2022-10-26T15:24:26.136Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T15:24:27.098Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T15:24:27.740Z] + cat /w/workspace/device-rest-go/4/archives/cost.csv [2022-10-26T15:24:27.740Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T15:24:27.782Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-4-stack-cost] [2022-10-26T15:24:27.788Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-222-4-stack-cost] did not exist. Created. [2022-10-26T15:24:27.788Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T15:24:28.446Z] /w/workspace/device-rest-go/4@tmp/durable-b0f74256/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T15:24:29.104Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T15:24:29.125Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T15:24:29.173Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T15:24:29.182Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T15:24:29.197Z] $ docker stop --time=1 09bb3ebc516c7da0d56599673715c106b33a74540d48fe38c6f5f0e77e6b59c9 [2022-10-26T15:24:30.773Z] $ docker rm -f 09bb3ebc516c7da0d56599673715c106b33a74540d48fe38c6f5f0e77e6b59c9 [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-26T15:24:31.134Z] provisioning config files... [2022-10-26T15:24:31.141Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config11856330976698876676tmp [Pipeline] { [Pipeline] sh [2022-10-26T15:24:31.436Z] + set +x [2022-10-26T15:24:31.436Z] + bash -s -- [2022-10-26T15:24:31.436Z] + curl -s https://codecov.io/bash [2022-10-26T15:24:31.436Z] [2022-10-26T15:24:31.436Z] _____ _ [2022-10-26T15:24:31.436Z] / ____| | | [2022-10-26T15:24:31.436Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T15:24:31.436Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T15:24:31.436Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T15:24:31.436Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T15:24:31.436Z] Bash-1.0.6 [2022-10-26T15:24:31.436Z] [2022-10-26T15:24:31.436Z] [2022-10-26T15:24:31.436Z] ==> git version 2.25.1 found [2022-10-26T15:24:31.436Z] ==> 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-26T15:24:31.436Z] Release-Date: 2020-01-08 [2022-10-26T15:24:31.436Z] 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-26T15:24:31.436Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T15:24:31.436Z] ==> Jenkins CI detected. [2022-10-26T15:24:31.436Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-222 [2022-10-26T15:24:31.436Z] project root: . [2022-10-26T15:24:31.436Z] --> token set from env [2022-10-26T15:24:31.436Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T15:24:31.436Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T15:24:31.436Z] ==> Python coveragepy not found [2022-10-26T15:24:31.436Z] ==> Searching for coverage reports in: [2022-10-26T15:24:31.436Z] + . [2022-10-26T15:24:31.436Z] -> Found 1 reports [2022-10-26T15:24:31.436Z] ==> Detecting git/mercurial file structure [2022-10-26T15:24:31.436Z] ==> Reading reports [2022-10-26T15:24:31.436Z] + ./coverage.out bytes=9355 [2022-10-26T15:24:31.436Z] ==> Appending adjustments [2022-10-26T15:24:31.436Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T15:24:31.695Z] + Found adjustments [2022-10-26T15:24:31.696Z] ==> Gzipping contents [2022-10-26T15:24:31.696Z] 4.0K /tmp/codecov.0xh9z1.gz [2022-10-26T15:24:31.696Z] ==> Uploading reports [2022-10-26T15:24:31.696Z] url: https://codecov.io [2022-10-26T15:24:31.696Z] query: branch=PR-222&commit=c3b440c7cd832d98825fb158869cd98ede46ef49&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-222%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=222&job=&cmd_args= [2022-10-26T15:24:31.696Z] -> Pinging Codecov [2022-10-26T15:24:31.696Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-222&commit=c3b440c7cd832d98825fb158869cd98ede46ef49&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-222%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=222&job=&cmd_args= [2022-10-26T15:24:31.954Z] -> Uploading to [2022-10-26T15:24:31.954Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/4E5D53B4F1F92C436F7061BF334D961C/c3b440c7cd832d98825fb158869cd98ede46ef49/126c47f8-e79d-4a0a-b5be-c1b37b03cc28.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T152431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d523c41a55b594f4ae0c5efe979708000776accfa955ace9d250264f1a6abb88 [2022-10-26T15:24:31.954Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T15:24:31.954Z] Dload Upload Total Spent Left Speed [2022-10-26T15:24:32.213Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7936 --:--:-- --:--:-- --:--:-- 7936 [2022-10-26T15:24:32.213Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c3b440c7cd832d98825fb158869cd98ede46ef49 [Pipeline] } [2022-10-26T15:24:32.220Z] 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-26T15:24:32.893Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-222/archives ] [2022-10-26T15:24:32.893Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-10-26T15:24:32.893Z] total 16 [2022-10-26T15:24:32.893Z] drwxr-xr-x 3 root root 4096 Oct 26 15:12 . [2022-10-26T15:24:32.893Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 15:12 .. [2022-10-26T15:24:32.893Z] drwxr-xr-x 2 root root 4096 Oct 26 15:12 cost [2022-10-26T15:24:32.893Z] -rw-r--r-- 1 root root 86 Oct 26 15:12 cost.csv [2022-10-26T15:24:32.893Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-10-26T15:24:32.893Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-10-26T15:24:32.893Z] total 16 [2022-10-26T15:24:32.893Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 15:12 . [2022-10-26T15:24:32.893Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 15:12 .. [2022-10-26T15:24:32.893Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 15:12 cost [2022-10-26T15:24:32.893Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 26 15:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T15:24:33.183Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T15:24:34.042Z] ---> package-listing.sh [2022-10-26T15:24:34.042Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T15:24:34.042Z] ++ facter osfamily [2022-10-26T15:24:34.302Z] + OS_FAMILY=debian [2022-10-26T15:24:34.302Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-222 [2022-10-26T15:24:34.302Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T15:24:34.302Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T15:24:34.302Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T15:24:34.302Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T15:24:34.302Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' [2022-10-26T15:24:34.302Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T15:24:34.302Z] + case "${OS_FAMILY}" in [2022-10-26T15:24:34.302Z] + dpkg -l [2022-10-26T15:24:34.302Z] + grep '^ii' [2022-10-26T15:24:34.302Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T15:24:34.302Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T15:24:34.302Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T15:24:34.302Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' [2022-10-26T15:24:34.302Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [2022-10-26T15:24:34.302Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [Pipeline] echo [2022-10-26T15:24:34.312Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-222/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T15:24:34.589Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T15:24:35.142Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T15:24:35.142Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T15:24:35.207Z] prd-ubuntu20.04-docker-8c-8g-117158 does not seem to be running inside a container [2022-10-26T15:24:35.233Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-222/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T15:24:35.477Z] $ docker top 0b172b0cb864040946bb216ebc7125e43feb26d470bf0934fb94914811478d08 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T15:24:35.823Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T15:24:36.105Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T15:24:36.388Z] + ls /var/log/sa-host [2022-10-26T15:24:36.388Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T15:24:36.447Z] provisioning config files... [2022-10-26T15:24:36.456Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config8055201941425939256tmp [Pipeline] { [Pipeline] echo [2022-10-26T15:24:36.472Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T15:24:36.756Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T15:24:36.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T15:24:37.085Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T15:24:37.094Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T15:24:37.376Z] ---> sudo-logs.sh [2022-10-26T15:24:37.376Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T15:24:37.396Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T15:24:37.677Z] ---> job-cost.sh [2022-10-26T15:24:37.677Z] lf-activate-venv: SKIPPING [2022-10-26T15:24:37.677Z] DEBUG: total: 0.2199999988079071 [2022-10-26T15:24:37.677Z] INFO: Retrieving Stack Cost... [2022-10-26T15:24:37.936Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T15:24:38.504Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T15:24:38.514Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T15:24:38.799Z] ---> logs-deploy.sh [2022-10-26T15:24:38.800Z] lf-activate-venv: SKIPPING [2022-10-26T15:24:38.800Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-222/4 [2022-10-26T15:24:38.800Z] INFO: archiving workspace using pattern(s): [2022-10-26T15:24:39.735Z] Archives upload complete. [2022-10-26T15:24:39.735Z] INFO: archiving logs to Nexus