Pull request #218 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 902f5739c8cc50782bc0de1ec6e284f7a8258042+401106fad354fe4e00d3a8593bef2b7e60417552 (21261ddfc4b582f04c49ddf950631f9875586d3d) 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-ssh13104313317768389865.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9397088865254730308.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-218/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-218/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9850549334507863967.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-218/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8025202998384041556.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14445132952293507953.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-218/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-218/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3666754763089640887.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-7577’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7581 in /w/workspace/gexfoundry_device-rest-go_PR-218 [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-218 # 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/218/head:refs/remotes/origin/PR-218 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 401106fad354fe4e00d3a8593bef2b7e60417552 into PR head commit 902f5739c8cc50782bc0de1ec6e284f7a8258042 Merge succeeded, producing 902f5739c8cc50782bc0de1ec6e284f7a8258042 Checking out Revision 902f5739c8cc50782bc0de1ec6e284f7a8258042 (PR-218) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T20:05:13.196Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 902f5739c8cc50782bc0de1ec6e284f7a8258042 # 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 401106fad354fe4e00d3a8593bef2b7e60417552 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 902f5739c8cc50782bc0de1ec6e284f7a8258042 # timeout=10 [Pipeline] withCredentials [2022-10-10T20:05:13.376Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T20:05:13.486Z] ========================================================= [2022-10-10T20:05:13.486Z] EdgeX Global Pipelines Version Info [2022-10-10T20:05:13.486Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T20:05:14.582Z] ------------------- [2022-10-10T20:05:14.582Z] stable info: [2022-10-10T20:05:14.582Z] ------------------- [2022-10-10T20:05:14.582Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T20:05:14.582Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T20:05:14.582Z] Message: update stable to v1.0.239 [2022-10-10T20:05:14.841Z] ------------------- [2022-10-10T20:05:14.841Z] experimental info: [2022-10-10T20:05:14.841Z] ------------------- [2022-10-10T20:05:14.841Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T20:05:14.841Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T20:05:14.841Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T20:05:15.128Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-10T20:05:15.173Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-10T20:05:15.229Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T20:05:15.293Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T20:05:15.338Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T20:05:15.377Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T20:05:15.421Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T20:05:15.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T20:05:15.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T20:05:15.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T20:05:15.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T20:05:15.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-10T20:05:15.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T20:05:15.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T20:05:15.765Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T20:05:15.810Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T20:05:15.847Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T20:05:15.889Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T20:05:15.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T20:05:15.974Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T20:05:16.023Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T20:05:16.068Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T20:05:16.112Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T20:05:16.154Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T20:05:16.200Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T20:05:16.244Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T20:05:16.289Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T20:05:16.328Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-218 [Pipeline] echo [2022-10-10T20:05:16.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-218 [Pipeline] echo [2022-10-10T20:05:16.412Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-218 [Pipeline] echo [2022-10-10T20:05:16.460Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 902f5739c8cc50782bc0de1ec6e284f7a8258042 [Pipeline] echo [2022-10-10T20:05:16.498Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 902f573 [Pipeline] echo [2022-10-10T20:05:16.544Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T20:05:16.666Z] provisioning config files... [2022-10-10T20:05:16.707Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-218@tmp/config14431711384310505890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T20:05:17.044Z] ---> docker-login.sh [2022-10-10T20:05:17.044Z] nexus3.edgexfoundry.org:10001 [2022-10-10T20:05:17.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:05:17.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:05:17.304Z] Configure a credential helper to remove this warning. See [2022-10-10T20:05:17.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:05:17.304Z] [2022-10-10T20:05:17.304Z] Login Succeeded [2022-10-10T20:05:17.304Z] nexus3.edgexfoundry.org:10002 [2022-10-10T20:05:17.304Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:05:17.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:05:17.304Z] Configure a credential helper to remove this warning. See [2022-10-10T20:05:17.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:05:17.304Z] [2022-10-10T20:05:17.304Z] Login Succeeded [2022-10-10T20:05:17.304Z] nexus3.edgexfoundry.org:10003 [2022-10-10T20:05:17.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:05:17.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:05:17.565Z] Configure a credential helper to remove this warning. See [2022-10-10T20:05:17.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:05:17.565Z] [2022-10-10T20:05:17.565Z] Login Succeeded [2022-10-10T20:05:17.565Z] nexus3.edgexfoundry.org:10004 [2022-10-10T20:05:17.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:05:17.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:05:17.565Z] Configure a credential helper to remove this warning. See [2022-10-10T20:05:17.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:05:17.565Z] [2022-10-10T20:05:17.565Z] Login Succeeded [2022-10-10T20:05:17.565Z] docker.io [2022-10-10T20:05:17.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:05:18.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:05:18.084Z] Configure a credential helper to remove this warning. See [2022-10-10T20:05:18.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:05:18.084Z] [2022-10-10T20:05:18.084Z] Login Succeeded [2022-10-10T20:05:18.084Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T20:05:18.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T20:05:18.755Z] + git rev-list -1 --merges 902f5739c8cc50782bc0de1ec6e284f7a8258042~1..902f5739c8cc50782bc0de1ec6e284f7a8258042 [Pipeline] echo [2022-10-10T20:05:18.805Z] -----------> git rev-list -1 --merges 902f5739c8cc50782bc0de1ec6e284f7a8258042~1..902f5739c8cc50782bc0de1ec6e284f7a8258042 902f5739c8cc50782bc0de1ec6e284f7a8258042 [false] [Pipeline] sh [2022-10-10T20:05:19.126Z] + git log --format=format:%s -1 902f5739c8cc50782bc0de1ec6e284f7a8258042 [Pipeline] echo [2022-10-10T20:05:19.166Z] ========================================================= [2022-10-10T20:05:19.167Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T20:05:19.167Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T20:05:19.585Z] + git log --format=format:%s -1 902f5739c8cc50782bc0de1ec6e284f7a8258042 [Pipeline] echo [2022-10-10T20:05:19.618Z] [semverPrep] GIT_COMMIT: 902f5739c8cc50782bc0de1ec6e284f7a8258042, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-10T20:05:19.642Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T20:05:20.018Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T20:05:20.018Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T20:05:20.018Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T20:05:20.018Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T20:05:20.018Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T20:05:20.018Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T20:05:20.018Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T20:05:20.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T20:05:20.449Z] [2022-10-10T20:05:20.449Z] 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-10T20:05:20.858Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T20:05:20.858Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T20:05:20.858Z] b85a868b505f: Pulling fs layer [2022-10-10T20:05:20.858Z] e2be974225ed: Pulling fs layer [2022-10-10T20:05:20.858Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T20:05:20.858Z] 988bab9f4d93: Pulling fs layer [2022-10-10T20:05:20.858Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T20:05:20.858Z] eaf3925da568: Pulling fs layer [2022-10-10T20:05:20.858Z] bab4dde63d76: Pulling fs layer [2022-10-10T20:05:20.858Z] bde34c3a00c8: Pulling fs layer [2022-10-10T20:05:20.858Z] b352a97aabf1: Pulling fs layer [2022-10-10T20:05:20.858Z] 4872d77fe225: Pulling fs layer [2022-10-10T20:05:20.858Z] 5851b861e8e6: Pulling fs layer [2022-10-10T20:05:20.858Z] bab4dde63d76: Waiting [2022-10-10T20:05:20.858Z] bde34c3a00c8: Waiting [2022-10-10T20:05:20.858Z] b352a97aabf1: Waiting [2022-10-10T20:05:20.858Z] 4872d77fe225: Waiting [2022-10-10T20:05:20.858Z] 5851b861e8e6: Waiting [2022-10-10T20:05:20.858Z] 1469e6f7b9e6: Waiting [2022-10-10T20:05:20.858Z] eaf3925da568: Waiting [2022-10-10T20:05:20.858Z] 988bab9f4d93: Waiting [2022-10-10T20:05:20.858Z] e2be974225ed: Download complete [2022-10-10T20:05:20.858Z] 988bab9f4d93: Verifying Checksum [2022-10-10T20:05:20.858Z] 988bab9f4d93: Download complete [2022-10-10T20:05:21.117Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T20:05:21.117Z] 339a4e72a1f5: Download complete [2022-10-10T20:05:21.117Z] eaf3925da568: Download complete [2022-10-10T20:05:21.117Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T20:05:21.117Z] 1469e6f7b9e6: Download complete [2022-10-10T20:05:21.117Z] bde34c3a00c8: Download complete [2022-10-10T20:05:21.117Z] b352a97aabf1: Verifying Checksum [2022-10-10T20:05:21.117Z] b352a97aabf1: Download complete [2022-10-10T20:05:21.117Z] 4872d77fe225: Verifying Checksum [2022-10-10T20:05:21.117Z] 4872d77fe225: Download complete [2022-10-10T20:05:21.117Z] 5851b861e8e6: Verifying Checksum [2022-10-10T20:05:21.117Z] 5851b861e8e6: Download complete [2022-10-10T20:05:21.117Z] b85a868b505f: Verifying Checksum [2022-10-10T20:05:21.117Z] b85a868b505f: Download complete [2022-10-10T20:05:21.376Z] bab4dde63d76: Verifying Checksum [2022-10-10T20:05:21.376Z] bab4dde63d76: Download complete [2022-10-10T20:05:22.754Z] b85a868b505f: Pull complete [2022-10-10T20:05:22.754Z] e2be974225ed: Pull complete [2022-10-10T20:05:23.329Z] 339a4e72a1f5: Pull complete [2022-10-10T20:05:23.329Z] 988bab9f4d93: Pull complete [2022-10-10T20:05:23.592Z] 1469e6f7b9e6: Pull complete [2022-10-10T20:05:23.592Z] eaf3925da568: Pull complete [2022-10-10T20:05:25.498Z] bab4dde63d76: Pull complete [2022-10-10T20:05:25.498Z] bde34c3a00c8: Pull complete [2022-10-10T20:05:25.758Z] b352a97aabf1: Pull complete [2022-10-10T20:05:25.758Z] 4872d77fe225: Pull complete [2022-10-10T20:05:26.018Z] 5851b861e8e6: Pull complete [2022-10-10T20:05:26.018Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T20:05:26.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T20:05:26.018Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T20:05:26.264Z] prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container [2022-10-10T20:05:26.299Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-218 -v /w/workspace/gexfoundry_device-rest-go_PR-218:/w/workspace/gexfoundry_device-rest-go_PR-218:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-218@tmp:/w/workspace/gexfoundry_device-rest-go_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T20:05:28.470Z] $ docker top 7afcc25e134e2964fd8d29a4dccdc550af8cae2a443458679941af6ade1971a1 -eo pid,comm [2022-10-10T20:05:28.534Z] 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-10T20:05:28.534Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T20:05:28.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T20:05:28.654Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T20:05:28.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T20:05:28.782Z] $ docker exec 7afcc25e134e2964fd8d29a4dccdc550af8cae2a443458679941af6ade1971a1 ssh-agent [2022-10-10T20:05:28.893Z] SSH_AUTH_SOCK=/tmp/ssh-bxQJA1nqMWYf/agent.32 [2022-10-10T20:05:28.893Z] SSH_AGENT_PID=38 [2022-10-10T20:05:28.900Z] Running ssh-add (command line suppressed) [2022-10-10T20:05:29.009Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-218@tmp/private_key_8065815562294930532.key (/w/workspace/gexfoundry_device-rest-go_PR-218@tmp/private_key_8065815562294930532.key) [2022-10-10T20:05:29.022Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T20:05:29.354Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T20:05:29.383Z] $ docker exec --env ******** --env ******** 7afcc25e134e2964fd8d29a4dccdc550af8cae2a443458679941af6ade1971a1 ssh-agent -k [2022-10-10T20:05:29.499Z] unset SSH_AUTH_SOCK; [2022-10-10T20:05:29.499Z] unset SSH_AGENT_PID; [2022-10-10T20:05:29.499Z] echo Agent pid 38 killed; [2022-10-10T20:05:29.513Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T20:05:29.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T20:05:29.612Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T20:05:29.746Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T20:05:29.751Z] $ docker exec 7afcc25e134e2964fd8d29a4dccdc550af8cae2a443458679941af6ade1971a1 ssh-agent [2022-10-10T20:05:29.863Z] SSH_AUTH_SOCK=/tmp/ssh-s5IK7G9LOg75/agent.69 [2022-10-10T20:05:29.863Z] SSH_AGENT_PID=75 [2022-10-10T20:05:29.868Z] Running ssh-add (command line suppressed) [2022-10-10T20:05:29.974Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-218@tmp/private_key_2220882439836416492.key (/w/workspace/gexfoundry_device-rest-go_PR-218@tmp/private_key_2220882439836416492.key) [2022-10-10T20:05:29.992Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T20:05:30.324Z] + git semver init [2022-10-10T20:05:30.594Z] 2022-10-10 20:05:30,522 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T20:05:30.594Z] 2022-10-10 20:05:30,522 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-218/.semver [2022-10-10T20:05:30.594Z] 2022-10-10 20:05:30,523 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-218/.semver [2022-10-10T20:05:30.594Z] 2022-10-10 20:05:30,523 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-218/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-218, universal_newlines=False, shell=None, istream=None) [2022-10-10T20:05:32.004Z] 2022-10-10 20:05:31,631 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-218/.git/info/exclude [2022-10-10T20:05:32.004Z] 2022-10-10 20:05:31,632 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-218/.semver/PR-218 with force:False [2022-10-10T20:05:32.004Z] 2022-10-10 20:05:31,632 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-218/.semver/PR-218 [2022-10-10T20:05:32.004Z] 2022-10-10 20:05:31,637 [execute] INFO git cat-file --batch-check [2022-10-10T20:05:32.004Z] 2022-10-10 20:05:31,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-218/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T20:05:32.004Z] 2022-10-10 20:05:31,643 [execute] INFO git cat-file --batch [2022-10-10T20:05:32.004Z] 2022-10-10 20:05:31,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-218/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T20:05:32.004Z] 2022-10-10 20:05:31,648 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-218/.semver/PR-218 [2022-10-10T20:05:32.004Z] 0.0.0 [Pipeline] } [2022-10-10T20:05:32.032Z] $ docker exec --env ******** --env ******** 7afcc25e134e2964fd8d29a4dccdc550af8cae2a443458679941af6ade1971a1 ssh-agent -k [2022-10-10T20:05:32.137Z] unset SSH_AUTH_SOCK; [2022-10-10T20:05:32.137Z] unset SSH_AGENT_PID; [2022-10-10T20:05:32.138Z] echo Agent pid 75 killed; [2022-10-10T20:05:32.148Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T20:05:32.569Z] + git semver [Pipeline] } [2022-10-10T20:05:32.854Z] $ docker stop --time=1 7afcc25e134e2964fd8d29a4dccdc550af8cae2a443458679941af6ade1971a1 [2022-10-10T20:05:34.172Z] $ docker rm -f 7afcc25e134e2964fd8d29a4dccdc550af8cae2a443458679941af6ade1971a1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T20:05:34.573Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T20:05:34.826Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T20:05:34.846Z] [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-10T20:05:35.417Z] provisioning config files... [2022-10-10T20:05:35.429Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-218@tmp/config2077223489106152350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T20:05:35.770Z] ---> docker-login.sh [2022-10-10T20:05:35.770Z] nexus3.edgexfoundry.org:10001 [2022-10-10T20:05:35.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:05:35.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:05:35.770Z] Configure a credential helper to remove this warning. See [2022-10-10T20:05:35.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:05:35.770Z] [2022-10-10T20:05:35.770Z] Login Succeeded [2022-10-10T20:05:35.770Z] nexus3.edgexfoundry.org:10002 [2022-10-10T20:05:35.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:05:35.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:05:35.770Z] Configure a credential helper to remove this warning. See [2022-10-10T20:05:35.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:05:35.770Z] [2022-10-10T20:05:35.770Z] Login Succeeded [2022-10-10T20:05:35.770Z] nexus3.edgexfoundry.org:10003 [2022-10-10T20:05:36.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:05:36.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:05:36.029Z] Configure a credential helper to remove this warning. See [2022-10-10T20:05:36.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:05:36.029Z] [2022-10-10T20:05:36.029Z] Login Succeeded [2022-10-10T20:05:36.029Z] nexus3.edgexfoundry.org:10004 [2022-10-10T20:05:36.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:05:36.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:05:36.029Z] Configure a credential helper to remove this warning. See [2022-10-10T20:05:36.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:05:36.029Z] [2022-10-10T20:05:36.029Z] Login Succeeded [2022-10-10T20:05:36.029Z] docker.io [2022-10-10T20:05:36.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:05:36.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:05:36.545Z] Configure a credential helper to remove this warning. See [2022-10-10T20:05:36.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:05:36.545Z] [2022-10-10T20:05:36.545Z] Login Succeeded [2022-10-10T20:05:36.545Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T20:05:36.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T20:05:36.790Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T20:05:36.825Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T20:05:36.857Z] ========================================================= [2022-10-10T20:05:36.857Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T20:05:36.857Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T20:05:37.324Z] + 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-10T20:05:37.324Z] Sending build context to Docker daemon 10.73MB [2022-10-10T20:05:37.324Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T20:05:37.324Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T20:05:37.324Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T20:05:37.324Z] 213ec9aee27d: Pulling fs layer [2022-10-10T20:05:37.324Z] 4583459ba037: Pulling fs layer [2022-10-10T20:05:37.324Z] 93c1e223e6f2: Pulling fs layer [2022-10-10T20:05:37.324Z] 53926ce57604: Pulling fs layer [2022-10-10T20:05:37.324Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-10T20:05:37.324Z] 30f14e443154: Pulling fs layer [2022-10-10T20:05:37.324Z] 801331c1e519: Pulling fs layer [2022-10-10T20:05:37.324Z] 99cc6dd402b0: Pulling fs layer [2022-10-10T20:05:37.324Z] 7d9ed39f4882: Pulling fs layer [2022-10-10T20:05:37.324Z] 801331c1e519: Waiting [2022-10-10T20:05:37.324Z] 99cc6dd402b0: Waiting [2022-10-10T20:05:37.324Z] 7d9ed39f4882: Waiting [2022-10-10T20:05:37.324Z] 53926ce57604: Waiting [2022-10-10T20:05:37.324Z] 30f14e443154: Waiting [2022-10-10T20:05:37.324Z] 21b2b0c7a3f4: Waiting [2022-10-10T20:05:37.324Z] 93c1e223e6f2: Verifying Checksum [2022-10-10T20:05:37.324Z] 93c1e223e6f2: Download complete [2022-10-10T20:05:37.324Z] 4583459ba037: Verifying Checksum [2022-10-10T20:05:37.324Z] 4583459ba037: Download complete [2022-10-10T20:05:37.585Z] 21b2b0c7a3f4: Download complete [2022-10-10T20:05:37.585Z] 30f14e443154: Verifying Checksum [2022-10-10T20:05:37.585Z] 30f14e443154: Download complete [2022-10-10T20:05:37.585Z] 213ec9aee27d: Verifying Checksum [2022-10-10T20:05:37.585Z] 213ec9aee27d: Download complete [2022-10-10T20:05:37.585Z] 801331c1e519: Verifying Checksum [2022-10-10T20:05:37.585Z] 801331c1e519: Download complete [2022-10-10T20:05:37.585Z] 213ec9aee27d: Pull complete [2022-10-10T20:05:37.845Z] 4583459ba037: Pull complete [2022-10-10T20:05:38.104Z] 93c1e223e6f2: Pull complete [2022-10-10T20:05:38.104Z] 7d9ed39f4882: Verifying Checksum [2022-10-10T20:05:38.104Z] 7d9ed39f4882: Download complete [2022-10-10T20:05:38.673Z] 53926ce57604: Verifying Checksum [2022-10-10T20:05:38.673Z] 53926ce57604: Download complete [2022-10-10T20:05:38.673Z] 99cc6dd402b0: Verifying Checksum [2022-10-10T20:05:42.859Z] 53926ce57604: Pull complete [2022-10-10T20:05:42.859Z] 21b2b0c7a3f4: Pull complete [2022-10-10T20:05:42.859Z] 30f14e443154: Pull complete [2022-10-10T20:05:42.859Z] 801331c1e519: Pull complete [2022-10-10T20:05:44.757Z] 99cc6dd402b0: Pull complete [2022-10-10T20:05:45.323Z] 7d9ed39f4882: Pull complete [2022-10-10T20:05:45.323Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-10T20:05:45.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T20:05:45.323Z] ---> 1dedd983c030 [2022-10-10T20:05:45.323Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T20:05:49.536Z] ---> Running in 5477ae903306 [2022-10-10T20:05:49.536Z] Removing intermediate container 5477ae903306 [2022-10-10T20:05:49.536Z] ---> 696da4108228 [2022-10-10T20:05:49.536Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T20:05:49.536Z] ---> Running in 604136d93238 [2022-10-10T20:05:49.536Z] Removing intermediate container 604136d93238 [2022-10-10T20:05:49.536Z] ---> 5f10a457e625 [2022-10-10T20:05:49.536Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T20:05:49.536Z] ---> Running in 327d4c55dd8d [2022-10-10T20:05:49.536Z] Removing intermediate container 327d4c55dd8d [2022-10-10T20:05:49.536Z] ---> 37d1b3a4b1f1 [2022-10-10T20:05:49.536Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T20:05:49.536Z] ---> Running in df375b6b404c [2022-10-10T20:05:49.536Z] Removing intermediate container df375b6b404c [2022-10-10T20:05:49.536Z] ---> 64c7eb1c32f4 [2022-10-10T20:05:49.536Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T20:05:49.536Z] ---> Running in 950cb58fa10c [2022-10-10T20:05:50.105Z] Removing intermediate container 950cb58fa10c [2022-10-10T20:05:50.105Z] ---> 8a3141526d41 [2022-10-10T20:05:50.105Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T20:05:50.105Z] ---> Running in 115287c682e2 [2022-10-10T20:05:50.244Z] Still waiting to schedule task [2022-10-10T20:05:50.245Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7578’ is offline [2022-10-10T20:05:50.364Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T20:05:51.300Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T20:05:51.560Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T20:05:51.560Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T20:05:51.819Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T20:05:51.819Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T20:05:52.079Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T20:05:52.079Z] OK: 216 MiB in 55 packages [2022-10-10T20:05:52.339Z] Removing intermediate container 115287c682e2 [2022-10-10T20:05:52.339Z] ---> 0d1df973e2bc [2022-10-10T20:05:52.339Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-10T20:05:52.339Z] ---> Running in 4c5a30527d8a [2022-10-10T20:05:52.598Z] Removing intermediate container 4c5a30527d8a [2022-10-10T20:05:52.598Z] ---> dbabd571a470 [2022-10-10T20:05:52.598Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T20:05:52.598Z] ---> b7cc383451f9 [2022-10-10T20:05:52.598Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T20:05:52.856Z] ---> Running in 5bd716c46898 [2022-10-10T20:06:14.807Z] Removing intermediate container 5bd716c46898 [2022-10-10T20:06:14.807Z] ---> cc7e57f591bf [2022-10-10T20:06:14.807Z] Step 12/13 : COPY . . [2022-10-10T20:06:14.807Z] ---> 6c3074975afe [2022-10-10T20:06:14.807Z] Step 13/13 : RUN $MAKE [2022-10-10T20:06:14.807Z] ---> Running in daaca6c13763 [2022-10-10T20:06:14.807Z] noop [2022-10-10T20:06:14.807Z] Removing intermediate container daaca6c13763 [2022-10-10T20:06:14.807Z] ---> beb8200d3384 [2022-10-10T20:06:14.807Z] Successfully built beb8200d3384 [2022-10-10T20:06:14.807Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T20:06:15.253Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T20:06:15.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T20:06:15.412Z] prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container [2022-10-10T20:06:15.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-218 -v /w/workspace/gexfoundry_device-rest-go_PR-218:/w/workspace/gexfoundry_device-rest-go_PR-218:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-218@tmp:/w/workspace/gexfoundry_device-rest-go_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T20:06:15.771Z] $ docker top 013efbf21b03f22d56019d5aa81e7aca84500f0f93e667bd6cc2ee8a6819b0fc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T20:06:16.163Z] + go version [2022-10-10T20:06:16.163Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-10T20:06:16.199Z] $ docker stop --time=1 013efbf21b03f22d56019d5aa81e7aca84500f0f93e667bd6cc2ee8a6819b0fc [2022-10-10T20:06:17.499Z] $ docker rm -f 013efbf21b03f22d56019d5aa81e7aca84500f0f93e667bd6cc2ee8a6819b0fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T20:06:18.197Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T20:06:18.197Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T20:06:18.349Z] prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container [2022-10-10T20:06:18.373Z] $ 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-218 -v /w/workspace/gexfoundry_device-rest-go_PR-218:/w/workspace/gexfoundry_device-rest-go_PR-218:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-218@tmp:/w/workspace/gexfoundry_device-rest-go_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T20:06:18.709Z] $ docker top 2cd5fd3ec21d7538c55e69e6fa393cc9e331ab1348f45da97846bcfe65a9ab60 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T20:06:19.105Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-218 [Pipeline] fileExists [Pipeline] sh [2022-10-10T20:06:19.468Z] + make test [2022-10-10T20:06:19.468Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T20:06:19.727Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-10T20:06:29.690Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-10T20:06:29.690Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-10-10T20:06:36.242Z] 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-10T20:06:36.242Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T20:06:38.769Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T20:06:38.769Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T20:06:38.769Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T20:06:38.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T20:06:38.846Z] $ docker stop --time=1 2cd5fd3ec21d7538c55e69e6fa393cc9e331ab1348f45da97846bcfe65a9ab60 [2022-10-10T20:06:41.163Z] $ docker rm -f 2cd5fd3ec21d7538c55e69e6fa393cc9e331ab1348f45da97846bcfe65a9ab60 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T20:06:41.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T20:06:41.815Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T20:06:42.458Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T20:06:42.768Z] + ls -al . [2022-10-10T20:06:42.768Z] total 180 [2022-10-10T20:06:42.768Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 20:06 . [2022-10-10T20:06:42.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 20:05 .. [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 10 20:05 .dockerignore [2022-10-10T20:06:42.768Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 20:06 .git [2022-10-10T20:06:42.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 20:05 .github [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 20:05 .gitignore [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 20:05 .golangci.yml [2022-10-10T20:06:42.768Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 20:05 .semver [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 10 20:05 Attribution.txt [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 10 20:05 CHANGELOG.md [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 10 20:05 Dockerfile [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 20:05 GOVERNANCE.md [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 10 20:05 Jenkinsfile [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 20:05 LICENSE [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 10 20:05 Makefile [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 20:05 OWNERS.md [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 10 20:05 README.md [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 20:05 VERSION [2022-10-10T20:06:42.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 20:05 bin [2022-10-10T20:06:42.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 20:05 cmd [2022-10-10T20:06:42.768Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 10 20:06 coverage.out [2022-10-10T20:06:42.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 20:05 driver [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 10 20:05 go.mod [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 20:05 go.sum [2022-10-10T20:06:42.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 20:05 snap [2022-10-10T20:06:42.768Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 10 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T20:06:43.157Z] + 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=902f5739c8cc50782bc0de1ec6e284f7a8258042 --label arch=amd64 --label version=0.0.0 . [2022-10-10T20:06:43.157Z] Sending build context to Docker daemon 10.74MB [2022-10-10T20:06:43.157Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T20:06:43.157Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-10T20:06:43.157Z] ---> beb8200d3384 [2022-10-10T20:06:43.157Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-10T20:06:43.157Z] ---> Running in af4227293ecf [2022-10-10T20:06:43.419Z] Removing intermediate container af4227293ecf [2022-10-10T20:06:43.419Z] ---> 194c56bac5cf [2022-10-10T20:06:43.419Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T20:06:43.419Z] ---> Running in dfc42a1d7c22 [2022-10-10T20:06:43.419Z] Removing intermediate container dfc42a1d7c22 [2022-10-10T20:06:43.419Z] ---> 6873ea80f31d [2022-10-10T20:06:43.419Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T20:06:43.419Z] ---> Running in 76a3ed3f1cba [2022-10-10T20:06:43.677Z] Removing intermediate container 76a3ed3f1cba [2022-10-10T20:06:43.677Z] ---> e598a28d3564 [2022-10-10T20:06:43.677Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T20:06:43.677Z] ---> Running in ac704dbfa9b4 [2022-10-10T20:06:43.677Z] Removing intermediate container ac704dbfa9b4 [2022-10-10T20:06:43.677Z] ---> 67c62e5c7fd7 [2022-10-10T20:06:43.677Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T20:06:43.677Z] ---> Running in 8a213384b7db [2022-10-10T20:06:44.243Z] Removing intermediate container 8a213384b7db [2022-10-10T20:06:44.243Z] ---> 052885837e8d [2022-10-10T20:06:44.243Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T20:06:44.243Z] ---> Running in 47ec84a64dbd [2022-10-10T20:06:44.500Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T20:06:45.436Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T20:06:45.693Z] OK: 216 MiB in 55 packages [2022-10-10T20:06:45.952Z] Removing intermediate container 47ec84a64dbd [2022-10-10T20:06:45.952Z] ---> 767c682d990d [2022-10-10T20:06:45.952Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-10T20:06:45.952Z] ---> Running in b1e1d23cd2de [2022-10-10T20:06:46.209Z] Removing intermediate container b1e1d23cd2de [2022-10-10T20:06:46.209Z] ---> 6cf048b3bb68 [2022-10-10T20:06:46.209Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-10T20:06:46.209Z] ---> c4975973cbf6 [2022-10-10T20:06:46.209Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T20:06:46.209Z] ---> Running in f5bde90a2303 [2022-10-10T20:06:47.196Z] Removing intermediate container f5bde90a2303 [2022-10-10T20:06:47.196Z] ---> 06e81314380e [2022-10-10T20:06:47.196Z] Step 12/26 : COPY . . [2022-10-10T20:06:47.455Z] ---> d44e306b52d7 [2022-10-10T20:06:47.455Z] Step 13/26 : RUN $MAKE [2022-10-10T20:06:47.455Z] ---> Running in f2f5d45d293e [2022-10-10T20:06:47.711Z] 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-10T20:07:09.620Z] Removing intermediate container f2f5d45d293e [2022-10-10T20:07:09.620Z] ---> a11784624e98 [2022-10-10T20:07:09.620Z] Step 14/26 : FROM alpine:3.16 [2022-10-10T20:07:09.620Z] 3.16: Pulling from library/alpine [2022-10-10T20:07:09.620Z] 213ec9aee27d: Already exists [2022-10-10T20:07:09.620Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T20:07:09.620Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T20:07:09.620Z] ---> 9c6f07244728 [2022-10-10T20:07:09.620Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-10T20:07:09.620Z] ---> Running in 9a5848b71f69 [2022-10-10T20:07:09.620Z] Removing intermediate container 9a5848b71f69 [2022-10-10T20:07:09.620Z] ---> 569ecf38f4be [2022-10-10T20:07:09.620Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-10T20:07:09.620Z] ---> Running in aeb529b29a1d [2022-10-10T20:07:09.620Z] Removing intermediate container aeb529b29a1d [2022-10-10T20:07:09.620Z] ---> 83a7309183e8 [2022-10-10T20:07:09.620Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T20:07:09.620Z] ---> Running in 569d5122b990 [2022-10-10T20:07:09.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T20:07:09.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T20:07:09.620Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T20:07:09.620Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T20:07:09.620Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T20:07:09.620Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T20:07:09.620Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T20:07:09.620Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T20:07:09.620Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T20:07:09.620Z] OK: 8 MiB in 20 packages [2022-10-10T20:07:09.620Z] Removing intermediate container 569d5122b990 [2022-10-10T20:07:09.620Z] ---> 9a4b37126de9 [2022-10-10T20:07:09.620Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-10T20:07:10.188Z] ---> 4e4a4f3e2070 [2022-10-10T20:07:10.188Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-10T20:07:10.188Z] ---> 95fb945c0a92 [2022-10-10T20:07:10.188Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-10T20:07:10.448Z] ---> 95fc870f6176 [2022-10-10T20:07:10.448Z] Step 21/26 : EXPOSE 59986 [2022-10-10T20:07:10.448Z] ---> Running in cacb2adcea02 [2022-10-10T20:07:10.448Z] Removing intermediate container cacb2adcea02 [2022-10-10T20:07:10.448Z] ---> b1294dd9d247 [2022-10-10T20:07:10.448Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-10T20:07:10.448Z] ---> Running in b78ab4025884 [2022-10-10T20:07:10.708Z] Removing intermediate container b78ab4025884 [2022-10-10T20:07:10.708Z] ---> ba93578b6e5e [2022-10-10T20:07:10.708Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-10T20:07:10.708Z] ---> Running in 44193bb9b913 [2022-10-10T20:07:10.708Z] Removing intermediate container 44193bb9b913 [2022-10-10T20:07:10.708Z] ---> 26e3f066a6d8 [2022-10-10T20:07:10.708Z] Step 24/26 : LABEL arch=amd64 [2022-10-10T20:07:10.708Z] ---> Running in 7adc9b875b7b [2022-10-10T20:07:10.708Z] Removing intermediate container 7adc9b875b7b [2022-10-10T20:07:10.708Z] ---> 1204927ee8a7 [2022-10-10T20:07:10.708Z] Step 25/26 : LABEL git_sha=902f5739c8cc50782bc0de1ec6e284f7a8258042 [2022-10-10T20:07:10.708Z] ---> Running in 5f6f389e6705 [2022-10-10T20:07:10.967Z] Removing intermediate container 5f6f389e6705 [2022-10-10T20:07:10.967Z] ---> 5b9eb06c1370 [2022-10-10T20:07:10.967Z] Step 26/26 : LABEL version=0.0.0 [2022-10-10T20:07:10.967Z] ---> Running in 86038185bb63 [2022-10-10T20:07:10.967Z] Removing intermediate container 86038185bb63 [2022-10-10T20:07:10.967Z] ---> 756fc2f02323 [2022-10-10T20:07:10.967Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T20:07:10.967Z] Successfully built 756fc2f02323 [2022-10-10T20:07:10.967Z] 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-10T20:07:11.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T20:07:11.802Z] [2022-10-10T20:07:11.802Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T20:07:12.171Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T20:07:12.171Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T20:07:12.171Z] 5eb5b503b376: Pulling fs layer [2022-10-10T20:07:12.171Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T20:07:12.171Z] ec43610c2a17: Pulling fs layer [2022-10-10T20:07:12.171Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T20:07:12.171Z] 33b1e0a273af: Pulling fs layer [2022-10-10T20:07:12.171Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T20:07:12.171Z] 2f39f015ded8: Pulling fs layer [2022-10-10T20:07:12.171Z] 3a2ae6a8a46f: Waiting [2022-10-10T20:07:12.171Z] 5d3b04190fa2: Waiting [2022-10-10T20:07:12.171Z] 33b1e0a273af: Waiting [2022-10-10T20:07:12.171Z] 2f39f015ded8: Waiting [2022-10-10T20:07:12.171Z] 5c69ac0246d0: Verifying Checksum [2022-10-10T20:07:12.171Z] 5c69ac0246d0: Download complete [2022-10-10T20:07:12.171Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T20:07:12.171Z] 3a2ae6a8a46f: Download complete [2022-10-10T20:07:12.171Z] 33b1e0a273af: Verifying Checksum [2022-10-10T20:07:12.171Z] 33b1e0a273af: Download complete [2022-10-10T20:07:12.171Z] 5d3b04190fa2: Verifying Checksum [2022-10-10T20:07:12.171Z] 5d3b04190fa2: Download complete [2022-10-10T20:07:12.171Z] ec43610c2a17: Verifying Checksum [2022-10-10T20:07:12.171Z] ec43610c2a17: Download complete [2022-10-10T20:07:12.432Z] 5eb5b503b376: Verifying Checksum [2022-10-10T20:07:12.432Z] 5eb5b503b376: Download complete [2022-10-10T20:07:12.994Z] 2f39f015ded8: Download complete [2022-10-10T20:07:13.560Z] 5eb5b503b376: Pull complete [2022-10-10T20:07:13.817Z] 5c69ac0246d0: Pull complete [2022-10-10T20:07:14.075Z] ec43610c2a17: Pull complete [2022-10-10T20:07:14.075Z] 3a2ae6a8a46f: Pull complete [2022-10-10T20:07:14.333Z] 33b1e0a273af: Pull complete [2022-10-10T20:07:14.333Z] 5d3b04190fa2: Pull complete [2022-10-10T20:07:18.515Z] 2f39f015ded8: Pull complete [2022-10-10T20:07:18.515Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T20:07:18.515Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T20:07:18.515Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T20:07:18.738Z] prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container [2022-10-10T20:07:18.769Z] $ 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-218 -v /w/workspace/gexfoundry_device-rest-go_PR-218:/w/workspace/gexfoundry_device-rest-go_PR-218:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-218@tmp:/w/workspace/gexfoundry_device-rest-go_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T20:07:21.505Z] $ docker top ed6625d10f1915a115302db8fd80533aca9d5b1d8e2bfd51789a818c159b167e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T20:07:21.936Z] ---> job-cost.sh [2022-10-10T20:07:21.936Z] lf-activate-venv: SKIPPING [2022-10-10T20:07:21.936Z] INFO: No Stack... [2022-10-10T20:07:22.196Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T20:07:22.761Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T20:07:23.072Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-218/archives/cost.csv [2022-10-10T20:07:23.072Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T20:07:23.118Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] [2022-10-10T20:07:23.128Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] did not exist. Created. [2022-10-10T20:07:23.128Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T20:07:23.533Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T20:07:23.590Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T20:07:23.624Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T20:07:23.705Z] $ docker stop --time=1 ed6625d10f1915a115302db8fd80533aca9d5b1d8e2bfd51789a818c159b167e [2022-10-10T20:07:24.880Z] $ docker rm -f ed6625d10f1915a115302db8fd80533aca9d5b1d8e2bfd51789a818c159b167e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T20:08:10.184Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7585 in /w/workspace/gexfoundry_device-rest-go_PR-218 [Pipeline] { [Pipeline] ws [2022-10-10T20:08:10.226Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-10-10T20:08:10.305Z] The recommended git tool is: git [2022-10-10T20:08:15.901Z] using credential edgex-jenkins-ssh [2022-10-10T20:08:15.916Z] Cloning the remote Git repository [2022-10-10T20:08:15.957Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-10T20:08:16.034Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-10-10T20:08:16.170Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-10T20:08:16.171Z] > git --version # timeout=10 [2022-10-10T20:08:16.190Z] > git --version # 'git version 2.25.1' [2022-10-10T20:08:16.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T20:08:16.242Z] Verifying host key using known hosts file [2022-10-10T20:08:16.449Z] 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-10T20:08:16.462Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T20:08:18.348Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-10T20:08:18.388Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T20:08:20.003Z] Merging remotes/origin/main commit 401106fad354fe4e00d3a8593bef2b7e60417552 into PR head commit 902f5739c8cc50782bc0de1ec6e284f7a8258042 [2022-10-10T20:08:20.267Z] Merge succeeded, producing 902f5739c8cc50782bc0de1ec6e284f7a8258042 [2022-10-10T20:08:20.267Z] Checking out Revision 902f5739c8cc50782bc0de1ec6e284f7a8258042 (PR-218) [2022-10-10T20:08:19.352Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-10T20:08:19.402Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-10T20:08:19.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T20:08:19.410Z] Verifying host key using known hosts file [2022-10-10T20:08:19.417Z] 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-10T20:08:19.433Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/218/head:refs/remotes/origin/PR-218 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T20:08:20.022Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T20:08:20.044Z] > git checkout -f 902f5739c8cc50782bc0de1ec6e284f7a8258042 # timeout=10 [2022-10-10T20:08:20.138Z] > git remote # timeout=10 [2022-10-10T20:08:20.160Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T20:08:20.190Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T20:08:20.196Z] Verifying host key using known hosts file [2022-10-10T20:08:20.200Z] 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-10T20:08:20.210Z] > git merge 401106fad354fe4e00d3a8593bef2b7e60417552 # timeout=10 [2022-10-10T20:08:20.239Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T20:08:20.273Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T20:08:20.295Z] > git checkout -f 902f5739c8cc50782bc0de1ec6e284f7a8258042 # timeout=10 [2022-10-10T20:08:20.865Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-10T20:08:20.924Z] > git --version # timeout=10 [2022-10-10T20:08:20.937Z] > git --version # 'git version 2.25.1' [2022-10-10T20:08:20.957Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T20:08:21.996Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T20:08:21.996Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T20:08:21.996Z] Dload Upload Total Spent Left Speed [2022-10-10T20:08:21.996Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh [2022-10-10T20:08:22.625Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T20:08:22.994Z] + + sudo tee /etc/docker/daemon.new [2022-10-10T20:08:22.994Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T20:08:22.994Z] { [2022-10-10T20:08:22.994Z] "registry-mirrors": [ [2022-10-10T20:08:22.994Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T20:08:22.994Z] ], [2022-10-10T20:08:22.994Z] "bip": "10.250.0.254/24", [2022-10-10T20:08:22.994Z] "hosts": [ [2022-10-10T20:08:22.994Z] "tcp://0.0.0.0:5555", [2022-10-10T20:08:22.994Z] "unix:///var/run/docker.sock" [2022-10-10T20:08:22.994Z] ], [2022-10-10T20:08:22.994Z] "mtu": 1458, [2022-10-10T20:08:22.994Z] "selinux-enabled": true, [2022-10-10T20:08:22.994Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T20:08:22.994Z] } [Pipeline] sh [2022-10-10T20:08:23.350Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T20:08:23.697Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T20:08:45.898Z] provisioning config files... [2022-10-10T20:08:45.929Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config16000269181642823748tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T20:08:46.327Z] ---> docker-login.sh [2022-10-10T20:08:46.327Z] nexus3.edgexfoundry.org:10001 [2022-10-10T20:08:46.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:08:47.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:08:47.180Z] Configure a credential helper to remove this warning. See [2022-10-10T20:08:47.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:08:47.180Z] [2022-10-10T20:08:47.181Z] Login Succeeded [2022-10-10T20:08:47.181Z] nexus3.edgexfoundry.org:10002 [2022-10-10T20:08:47.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:08:47.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:08:47.452Z] Configure a credential helper to remove this warning. See [2022-10-10T20:08:47.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:08:47.452Z] [2022-10-10T20:08:47.452Z] Login Succeeded [2022-10-10T20:08:47.452Z] nexus3.edgexfoundry.org:10003 [2022-10-10T20:08:47.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:08:47.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:08:47.998Z] Configure a credential helper to remove this warning. See [2022-10-10T20:08:47.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:08:47.998Z] [2022-10-10T20:08:47.998Z] Login Succeeded [2022-10-10T20:08:47.998Z] nexus3.edgexfoundry.org:10004 [2022-10-10T20:08:48.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:08:48.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:08:48.271Z] Configure a credential helper to remove this warning. See [2022-10-10T20:08:48.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:08:48.271Z] [2022-10-10T20:08:48.271Z] Login Succeeded [2022-10-10T20:08:48.271Z] docker.io [2022-10-10T20:08:48.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T20:08:49.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T20:08:49.136Z] Configure a credential helper to remove this warning. See [2022-10-10T20:08:49.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T20:08:49.136Z] [2022-10-10T20:08:49.136Z] Login Succeeded [2022-10-10T20:08:49.136Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T20:08:49.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T20:08:49.467Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T20:08:49.503Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T20:08:49.532Z] ========================================================= [2022-10-10T20:08:49.532Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T20:08:49.532Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T20:08:50.028Z] + 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-10T20:08:50.028Z] Sending build context to Docker daemon 127kB [2022-10-10T20:08:50.300Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T20:08:50.300Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-10T20:08:50.576Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T20:08:50.576Z] 9b18e9b68314: Pulling fs layer [2022-10-10T20:08:50.576Z] d32db5db7311: Pulling fs layer [2022-10-10T20:08:50.576Z] d0c4b47475fc: Pulling fs layer [2022-10-10T20:08:50.576Z] 5831b945b038: Pulling fs layer [2022-10-10T20:08:50.576Z] 86bbec2aaacd: Pulling fs layer [2022-10-10T20:08:50.576Z] e10730c5d714: Pulling fs layer [2022-10-10T20:08:50.576Z] 5dd5c2283517: Pulling fs layer [2022-10-10T20:08:50.576Z] d5ac0230b979: Pulling fs layer [2022-10-10T20:08:50.576Z] 86bbec2aaacd: Waiting [2022-10-10T20:08:50.576Z] e10730c5d714: Waiting [2022-10-10T20:08:50.576Z] 5831b945b038: Waiting [2022-10-10T20:08:50.576Z] 5dd5c2283517: Waiting [2022-10-10T20:08:50.576Z] d5ac0230b979: Waiting [2022-10-10T20:08:50.576Z] d0c4b47475fc: Verifying Checksum [2022-10-10T20:08:50.576Z] d0c4b47475fc: Download complete [2022-10-10T20:08:50.576Z] d32db5db7311: Verifying Checksum [2022-10-10T20:08:50.576Z] d32db5db7311: Download complete [2022-10-10T20:08:50.576Z] 86bbec2aaacd: Verifying Checksum [2022-10-10T20:08:50.576Z] 86bbec2aaacd: Download complete [2022-10-10T20:08:50.576Z] e10730c5d714: Verifying Checksum [2022-10-10T20:08:50.576Z] e10730c5d714: Download complete [2022-10-10T20:08:50.576Z] 9b18e9b68314: Verifying Checksum [2022-10-10T20:08:50.576Z] 9b18e9b68314: Download complete [2022-10-10T20:08:51.568Z] 9b18e9b68314: Pull complete [2022-10-10T20:08:51.844Z] d5ac0230b979: Verifying Checksum [2022-10-10T20:08:51.844Z] d5ac0230b979: Download complete [2022-10-10T20:08:52.121Z] d32db5db7311: Pull complete [2022-10-10T20:08:52.714Z] d0c4b47475fc: Pull complete [2022-10-10T20:08:52.989Z] 5dd5c2283517: Verifying Checksum [2022-10-10T20:08:52.989Z] 5dd5c2283517: Download complete [2022-10-10T20:08:53.579Z] 5831b945b038: Verifying Checksum [2022-10-10T20:08:53.579Z] 5831b945b038: Download complete [2022-10-10T20:09:06.205Z] 5831b945b038: Pull complete [2022-10-10T20:09:06.205Z] 86bbec2aaacd: Pull complete [2022-10-10T20:09:06.205Z] e10730c5d714: Pull complete [2022-10-10T20:09:11.567Z] 5dd5c2283517: Pull complete [2022-10-10T20:09:13.528Z] d5ac0230b979: Pull complete [2022-10-10T20:09:13.528Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-10T20:09:13.528Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T20:09:13.528Z] ---> 59b3b1a385d4 [2022-10-10T20:09:13.528Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-10T20:09:15.500Z] ---> Running in 65b711e95caa [2022-10-10T20:09:15.771Z] Removing intermediate container 65b711e95caa [2022-10-10T20:09:15.771Z] ---> c7055799f1ea [2022-10-10T20:09:15.771Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T20:09:16.042Z] ---> Running in 0de0c2695f3a [2022-10-10T20:09:16.313Z] Removing intermediate container 0de0c2695f3a [2022-10-10T20:09:16.313Z] ---> f9923e2fd4ac [2022-10-10T20:09:16.313Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T20:09:16.313Z] ---> Running in 56070249d9c5 [2022-10-10T20:09:16.902Z] Removing intermediate container 56070249d9c5 [2022-10-10T20:09:16.902Z] ---> b936fc85d134 [2022-10-10T20:09:16.902Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T20:09:16.902Z] ---> Running in 102240f0a669 [2022-10-10T20:09:17.490Z] Removing intermediate container 102240f0a669 [2022-10-10T20:09:17.490Z] ---> 11906a0f2560 [2022-10-10T20:09:17.490Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T20:09:17.490Z] ---> Running in 6fb134e5be62 [2022-10-10T20:09:19.452Z] Removing intermediate container 6fb134e5be62 [2022-10-10T20:09:19.452Z] ---> 5069814b594d [2022-10-10T20:09:19.452Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T20:09:19.452Z] ---> Running in f38e877eb885 [2022-10-10T20:09:20.419Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T20:09:21.390Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T20:09:22.813Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-10T20:09:22.813Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-10T20:09:23.082Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-10T20:09:23.082Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-10T20:09:23.352Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T20:09:23.352Z] OK: 226 MiB in 55 packages [2022-10-10T20:09:24.782Z] Removing intermediate container f38e877eb885 [2022-10-10T20:09:24.782Z] ---> 6f1baf85cd41 [2022-10-10T20:09:24.782Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-10T20:09:24.782Z] ---> Running in f3ea7301c733 [2022-10-10T20:09:25.054Z] Removing intermediate container f3ea7301c733 [2022-10-10T20:09:25.054Z] ---> beaf37599cab [2022-10-10T20:09:25.054Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-10T20:09:25.644Z] ---> 907d0cbd05cf [2022-10-10T20:09:25.644Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T20:09:25.644Z] ---> Running in ea5a1c14d1c3 [2022-10-10T20:10:22.104Z] Removing intermediate container ea5a1c14d1c3 [2022-10-10T20:10:22.104Z] ---> 7683324c38b4 [2022-10-10T20:10:22.104Z] Step 12/13 : COPY . . [2022-10-10T20:10:22.104Z] ---> ab7987cca462 [2022-10-10T20:10:22.104Z] Step 13/13 : RUN $MAKE [2022-10-10T20:10:22.104Z] ---> Running in a3f9a7173f02 [2022-10-10T20:10:22.104Z] noop [2022-10-10T20:10:22.104Z] Removing intermediate container a3f9a7173f02 [2022-10-10T20:10:22.104Z] ---> 6632e7403b05 [2022-10-10T20:10:22.104Z] Successfully built 6632e7403b05 [2022-10-10T20:10:22.104Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T20:10:22.587Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T20:10:22.587Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T20:10:22.869Z] prd-ubuntu20.04-docker-arm64-4c-16g-7585 does not seem to be running inside a container [2022-10-10T20:10:22.954Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T20:10:24.348Z] $ docker top 335f55ecc21875e00abfd5df8026c29e3cb82f936b3d2cb53c82e058916ff9bb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T20:10:25.273Z] + go version [2022-10-10T20:10:25.273Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-10T20:10:25.311Z] $ docker stop --time=1 335f55ecc21875e00abfd5df8026c29e3cb82f936b3d2cb53c82e058916ff9bb [2022-10-10T20:10:27.034Z] $ docker rm -f 335f55ecc21875e00abfd5df8026c29e3cb82f936b3d2cb53c82e058916ff9bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T20:10:27.896Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T20:10:27.896Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T20:10:28.165Z] prd-ubuntu20.04-docker-arm64-4c-16g-7585 does not seem to be running inside a container [2022-10-10T20:10:28.237Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T20:10:29.493Z] $ docker top 94bd446d51b64f2bbf8dfed69eda57be13bc2b28713a84dbf1337daafccbb388 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T20:10:30.403Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-10T20:10:30.791Z] + make test [2022-10-10T20:10:31.058Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T20:10:32.483Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-10T20:12:09.154Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-10T20:12:09.154Z] ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 55.2% of statements [2022-10-10T20:12:09.154Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T20:12:09.154Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T20:12:41.439Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T20:12:41.439Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T20:12:41.439Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T20:12:41.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T20:12:41.507Z] $ docker stop --time=1 94bd446d51b64f2bbf8dfed69eda57be13bc2b28713a84dbf1337daafccbb388 [2022-10-10T20:12:43.395Z] $ docker rm -f 94bd446d51b64f2bbf8dfed69eda57be13bc2b28713a84dbf1337daafccbb388 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T20:12:44.627Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T20:12:44.660Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T20:12:45.258Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T20:12:45.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T20:12:46.206Z] + ls -al . [2022-10-10T20:12:46.206Z] total 176 [2022-10-10T20:12:46.206Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 20:10 . [2022-10-10T20:12:46.206Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 20:08 .. [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 10 20:08 .dockerignore [2022-10-10T20:12:46.206Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 20:08 .git [2022-10-10T20:12:46.206Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 20:08 .github [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 20:08 .gitignore [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 20:08 .golangci.yml [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 10 20:08 Attribution.txt [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 10 20:08 CHANGELOG.md [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 10 20:08 Dockerfile [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 20:08 GOVERNANCE.md [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 10 20:08 Jenkinsfile [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 20:08 LICENSE [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 10 20:08 Makefile [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 20:08 OWNERS.md [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 10 20:08 README.md [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 20:05 VERSION [2022-10-10T20:12:46.206Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 20:08 bin [2022-10-10T20:12:46.206Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 20:08 cmd [2022-10-10T20:12:46.206Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 10 20:12 coverage.out [2022-10-10T20:12:46.206Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 20:08 driver [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 10 20:08 go.mod [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 20:08 go.sum [2022-10-10T20:12:46.206Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 20:08 snap [2022-10-10T20:12:46.206Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 10 20:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T20:12:46.645Z] + 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=902f5739c8cc50782bc0de1ec6e284f7a8258042 --label arch=arm64 --label version=0.0.0 . [2022-10-10T20:12:46.919Z] Sending build context to Docker daemon 137.2kB [2022-10-10T20:12:47.201Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T20:12:47.201Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-10T20:12:47.201Z] ---> 6632e7403b05 [2022-10-10T20:12:47.201Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-10T20:12:47.472Z] ---> Running in dee8938bf3de [2022-10-10T20:12:48.067Z] Removing intermediate container dee8938bf3de [2022-10-10T20:12:48.068Z] ---> 2e49006ffa03 [2022-10-10T20:12:48.068Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T20:12:48.068Z] ---> Running in 8c72d3084fc4 [2022-10-10T20:12:48.652Z] Removing intermediate container 8c72d3084fc4 [2022-10-10T20:12:48.652Z] ---> 806ba0526dc2 [2022-10-10T20:12:48.652Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T20:12:48.652Z] ---> Running in 59f3e36d5cb1 [2022-10-10T20:12:49.239Z] Removing intermediate container 59f3e36d5cb1 [2022-10-10T20:12:49.239Z] ---> 3c89cf7b18ef [2022-10-10T20:12:49.239Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T20:12:49.239Z] ---> Running in 6d05972f8ad1 [2022-10-10T20:12:49.830Z] Removing intermediate container 6d05972f8ad1 [2022-10-10T20:12:49.830Z] ---> b28fa393d97c [2022-10-10T20:12:49.830Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T20:12:49.830Z] ---> Running in 3c14d7508e85 [2022-10-10T20:12:51.789Z] Removing intermediate container 3c14d7508e85 [2022-10-10T20:12:51.789Z] ---> ee51c951ff28 [2022-10-10T20:12:51.789Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T20:12:51.789Z] ---> Running in db6779e0d253 [2022-10-10T20:12:52.761Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T20:12:53.725Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T20:12:55.142Z] OK: 226 MiB in 55 packages [2022-10-10T20:12:56.576Z] Removing intermediate container db6779e0d253 [2022-10-10T20:12:56.576Z] ---> aad4465a1b23 [2022-10-10T20:12:56.576Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-10T20:12:56.576Z] ---> Running in 6442f42c1a08 [2022-10-10T20:12:56.844Z] Removing intermediate container 6442f42c1a08 [2022-10-10T20:12:56.844Z] ---> fb492d3e74af [2022-10-10T20:12:56.844Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-10T20:12:57.430Z] ---> afd700579f6d [2022-10-10T20:12:57.430Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T20:12:57.430Z] ---> Running in eeb9d19bf727 [2022-10-10T20:13:00.031Z] Removing intermediate container eeb9d19bf727 [2022-10-10T20:13:00.031Z] ---> 95bdacbf05a1 [2022-10-10T20:13:00.031Z] Step 12/26 : COPY . . [2022-10-10T20:13:00.323Z] ---> a351d85dd1c4 [2022-10-10T20:13:00.323Z] Step 13/26 : RUN $MAKE [2022-10-10T20:13:00.323Z] ---> Running in 9e4220781e77 [2022-10-10T20:13:01.737Z] 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-10T20:15:53.558Z] Removing intermediate container 9e4220781e77 [2022-10-10T20:15:53.558Z] ---> 124acd0140bd [2022-10-10T20:15:53.558Z] Step 14/26 : FROM alpine:3.16 [2022-10-10T20:15:53.558Z] 3.16: Pulling from library/alpine [2022-10-10T20:15:53.558Z] 9b18e9b68314: Already exists [2022-10-10T20:15:53.558Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T20:15:53.558Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T20:15:53.558Z] ---> a6215f271958 [2022-10-10T20:15:53.558Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-10T20:15:53.558Z] ---> Running in 634c7e9a8d6b [2022-10-10T20:15:53.558Z] Removing intermediate container 634c7e9a8d6b [2022-10-10T20:15:53.558Z] ---> 2ffe38b7f38f [2022-10-10T20:15:53.558Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-10T20:15:53.558Z] ---> Running in 28935e3c1744 [2022-10-10T20:15:53.558Z] Removing intermediate container 28935e3c1744 [2022-10-10T20:15:53.558Z] ---> f7ccbf640470 [2022-10-10T20:15:53.558Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T20:15:53.558Z] ---> Running in 2b83352c2730 [2022-10-10T20:15:53.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T20:15:53.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T20:15:53.558Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T20:15:53.558Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T20:15:53.558Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T20:15:53.558Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T20:15:53.558Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T20:15:53.558Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T20:15:53.558Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T20:15:53.558Z] OK: 8 MiB in 20 packages [2022-10-10T20:15:53.558Z] Removing intermediate container 2b83352c2730 [2022-10-10T20:15:53.558Z] ---> 57953d90b0cf [2022-10-10T20:15:53.558Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-10T20:15:53.558Z] ---> e2d192f33885 [2022-10-10T20:15:53.558Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-10T20:15:53.558Z] ---> af9a96acb5f8 [2022-10-10T20:15:53.558Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-10T20:15:53.558Z] ---> 2b1a1747f0ba [2022-10-10T20:15:53.558Z] Step 21/26 : EXPOSE 59986 [2022-10-10T20:15:53.558Z] ---> Running in fca3dc46f76c [2022-10-10T20:15:53.558Z] Removing intermediate container fca3dc46f76c [2022-10-10T20:15:53.558Z] ---> 435816502554 [2022-10-10T20:15:53.558Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-10T20:15:53.558Z] ---> Running in f9bb27d4033a [2022-10-10T20:15:53.558Z] Removing intermediate container f9bb27d4033a [2022-10-10T20:15:53.558Z] ---> 2cae01daa0bd [2022-10-10T20:15:53.558Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-10T20:15:53.558Z] ---> Running in 07c777d41c58 [2022-10-10T20:15:53.558Z] Removing intermediate container 07c777d41c58 [2022-10-10T20:15:53.558Z] ---> 6663a8800e3f [2022-10-10T20:15:53.558Z] Step 24/26 : LABEL arch=arm64 [2022-10-10T20:15:53.558Z] ---> Running in 4d51a660f61d [2022-10-10T20:15:53.558Z] Removing intermediate container 4d51a660f61d [2022-10-10T20:15:53.558Z] ---> 2773d316868d [2022-10-10T20:15:53.558Z] Step 25/26 : LABEL git_sha=902f5739c8cc50782bc0de1ec6e284f7a8258042 [2022-10-10T20:15:53.558Z] ---> Running in 26c80f6420ff [2022-10-10T20:15:53.558Z] Removing intermediate container 26c80f6420ff [2022-10-10T20:15:53.558Z] ---> 12051e446fd5 [2022-10-10T20:15:53.558Z] Step 26/26 : LABEL version=0.0.0 [2022-10-10T20:15:53.558Z] ---> Running in 6b5521121ae1 [2022-10-10T20:15:53.558Z] Removing intermediate container 6b5521121ae1 [2022-10-10T20:15:53.558Z] ---> 225957e8fb70 [2022-10-10T20:15:53.558Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T20:15:53.558Z] Successfully built 225957e8fb70 [2022-10-10T20:15:53.558Z] 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-10T20:15:54.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T20:15:54.389Z] [2022-10-10T20:15:54.389Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T20:15:54.798Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T20:15:54.798Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T20:15:54.798Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T20:15:54.798Z] 04944245beec: Pulling fs layer [2022-10-10T20:15:54.798Z] 699f458cf7ca: Pulling fs layer [2022-10-10T20:15:54.798Z] 765212b225bb: Pulling fs layer [2022-10-10T20:15:54.798Z] f23df028b6ca: Pulling fs layer [2022-10-10T20:15:54.798Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T20:15:54.798Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T20:15:54.798Z] 765212b225bb: Waiting [2022-10-10T20:15:54.798Z] f23df028b6ca: Waiting [2022-10-10T20:15:54.798Z] d65c8cfc05b1: Waiting [2022-10-10T20:15:54.798Z] 2437ff75d9bd: Waiting [2022-10-10T20:15:55.069Z] 04944245beec: Verifying Checksum [2022-10-10T20:15:55.069Z] 04944245beec: Download complete [2022-10-10T20:15:55.069Z] 765212b225bb: Verifying Checksum [2022-10-10T20:15:55.069Z] 765212b225bb: Download complete [2022-10-10T20:15:55.069Z] f23df028b6ca: Verifying Checksum [2022-10-10T20:15:55.069Z] f23df028b6ca: Download complete [2022-10-10T20:15:55.069Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T20:15:55.069Z] d65c8cfc05b1: Download complete [2022-10-10T20:15:55.339Z] 699f458cf7ca: Verifying Checksum [2022-10-10T20:15:55.339Z] 699f458cf7ca: Download complete [2022-10-10T20:15:55.609Z] 8998bd30e6a1: Verifying Checksum [2022-10-10T20:15:55.609Z] 8998bd30e6a1: Download complete [2022-10-10T20:15:58.236Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T20:15:58.236Z] 2437ff75d9bd: Download complete [2022-10-10T20:15:59.650Z] 8998bd30e6a1: Pull complete [2022-10-10T20:16:00.233Z] 04944245beec: Pull complete [2022-10-10T20:16:01.643Z] 699f458cf7ca: Pull complete [2022-10-10T20:16:01.911Z] 765212b225bb: Pull complete [2022-10-10T20:16:02.496Z] f23df028b6ca: Pull complete [2022-10-10T20:16:02.768Z] d65c8cfc05b1: Pull complete [2022-10-10T20:16:17.964Z] 2437ff75d9bd: Pull complete [2022-10-10T20:16:17.964Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T20:16:17.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T20:16:17.964Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T20:16:18.287Z] prd-ubuntu20.04-docker-arm64-4c-16g-7585 does not seem to be running inside a container [2022-10-10T20:16:18.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-10T20:16:20.880Z] $ docker top a643c1a861e908cd121036894a2d90f70d23698bc031af01cbfe248d59dab765 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T20:16:21.813Z] ---> job-cost.sh [2022-10-10T20:16:21.814Z] lf-activate-venv: SKIPPING [2022-10-10T20:16:21.814Z] INFO: No Stack... [2022-10-10T20:16:22.396Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T20:16:23.358Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T20:16:24.011Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-10-10T20:16:24.011Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T20:16:24.094Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] [2022-10-10T20:16:24.099Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] did not exist. Created. [2022-10-10T20:16:24.099Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T20:16:24.514Z] /w/workspace/device-rest-go/1@tmp/durable-e9383f88/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T20:16:25.190Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T20:16:25.223Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T20:16:25.270Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T20:16:25.285Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-218-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T20:16:25.367Z] $ docker stop --time=1 a643c1a861e908cd121036894a2d90f70d23698bc031af01cbfe248d59dab765 [2022-10-10T20:16:26.912Z] $ docker rm -f a643c1a861e908cd121036894a2d90f70d23698bc031af01cbfe248d59dab765 [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-10T20:16:27.873Z] provisioning config files... [2022-10-10T20:16:27.879Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-218@tmp/config4934036633281808927tmp [Pipeline] { [Pipeline] sh [2022-10-10T20:16:28.222Z] + set +x [2022-10-10T20:16:28.222Z] + curl -s https://codecov.io/bash [2022-10-10T20:16:28.222Z] + bash -s -- [2022-10-10T20:16:28.222Z] [2022-10-10T20:16:28.222Z] _____ _ [2022-10-10T20:16:28.222Z] / ____| | | [2022-10-10T20:16:28.222Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T20:16:28.222Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T20:16:28.222Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T20:16:28.222Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T20:16:28.222Z] Bash-1.0.6 [2022-10-10T20:16:28.222Z] [2022-10-10T20:16:28.222Z] [2022-10-10T20:16:28.222Z] ==> git version 2.25.1 found [2022-10-10T20:16:28.222Z] ==> 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-10T20:16:28.222Z] Release-Date: 2020-01-08 [2022-10-10T20:16:28.222Z] 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-10T20:16:28.222Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T20:16:28.222Z] ==> Jenkins CI detected. [2022-10-10T20:16:28.222Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-218 [2022-10-10T20:16:28.222Z] project root: . [2022-10-10T20:16:28.222Z] --> token set from env [2022-10-10T20:16:28.222Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T20:16:28.222Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T20:16:28.222Z] ==> Python coveragepy not found [2022-10-10T20:16:28.222Z] ==> Searching for coverage reports in: [2022-10-10T20:16:28.222Z] + . [2022-10-10T20:16:28.222Z] -> Found 1 reports [2022-10-10T20:16:28.222Z] ==> Detecting git/mercurial file structure [2022-10-10T20:16:28.222Z] ==> Reading reports [2022-10-10T20:16:28.222Z] + ./coverage.out bytes=9355 [2022-10-10T20:16:28.222Z] ==> Appending adjustments [2022-10-10T20:16:28.222Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T20:16:28.222Z] + Found adjustments [2022-10-10T20:16:28.483Z] ==> Gzipping contents [2022-10-10T20:16:28.483Z] 4.0K /tmp/codecov.exfDVh.gz [2022-10-10T20:16:28.483Z] ==> Uploading reports [2022-10-10T20:16:28.483Z] url: https://codecov.io [2022-10-10T20:16:28.483Z] query: branch=PR-218&commit=902f5739c8cc50782bc0de1ec6e284f7a8258042&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-218%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=218&job=&cmd_args= [2022-10-10T20:16:28.483Z] -> Pinging Codecov [2022-10-10T20:16:28.483Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-218&commit=902f5739c8cc50782bc0de1ec6e284f7a8258042&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-218%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=218&job=&cmd_args= [2022-10-10T20:16:28.741Z] -> Uploading to [2022-10-10T20:16:28.741Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/4E5D53B4F1F92C436F7061BF334D961C/902f5739c8cc50782bc0de1ec6e284f7a8258042/cb18abbf-cf47-4f1e-bbfb-084318a0b455.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T201628Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6952a3d3cda0a04d74b7cb428376b4460f1f97b29edee0e32e832f3f99f9f14a [2022-10-10T20:16:28.741Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T20:16:28.741Z] Dload Upload Total Spent Left Speed [2022-10-10T20:16:29.000Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7828 --:--:-- --:--:-- --:--:-- 7828 [2022-10-10T20:16:29.000Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/902f5739c8cc50782bc0de1ec6e284f7a8258042 [Pipeline] } [2022-10-10T20:16:29.026Z] 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-10T20:16:30.716Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-218/archives ] [2022-10-10T20:16:30.716Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-218/archives [2022-10-10T20:16:30.716Z] total 16 [2022-10-10T20:16:30.716Z] drwxr-xr-x 3 root root 4096 Oct 10 20:07 . [2022-10-10T20:16:30.716Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 20:07 .. [2022-10-10T20:16:30.716Z] drwxr-xr-x 2 root root 4096 Oct 10 20:07 cost [2022-10-10T20:16:30.716Z] -rw-r--r-- 1 root root 86 Oct 10 20:07 cost.csv [2022-10-10T20:16:30.716Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-218/archives [2022-10-10T20:16:30.716Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-218/archives [2022-10-10T20:16:30.716Z] total 16 [2022-10-10T20:16:30.716Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 20:07 . [2022-10-10T20:16:30.716Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 20:07 .. [2022-10-10T20:16:30.716Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 20:07 cost [2022-10-10T20:16:30.716Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 10 20:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T20:16:31.045Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T20:16:31.932Z] ---> package-listing.sh [2022-10-10T20:16:31.932Z] ++ facter osfamily [2022-10-10T20:16:31.932Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T20:16:32.191Z] + OS_FAMILY=debian [2022-10-10T20:16:32.191Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-218 [2022-10-10T20:16:32.191Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T20:16:32.191Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T20:16:32.191Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T20:16:32.191Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T20:16:32.191Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-218 ']' [2022-10-10T20:16:32.191Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T20:16:32.191Z] + case "${OS_FAMILY}" in [2022-10-10T20:16:32.191Z] + dpkg -l [2022-10-10T20:16:32.191Z] + grep '^ii' [2022-10-10T20:16:32.191Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T20:16:32.191Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T20:16:32.191Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T20:16:32.191Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-218 ']' [2022-10-10T20:16:32.191Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-218/archives/ [2022-10-10T20:16:32.191Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-218/archives/ [Pipeline] echo [2022-10-10T20:16:32.227Z] 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-218/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T20:16:32.518Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T20:16:33.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T20:16:33.134Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T20:16:33.268Z] prd-ubuntu20.04-docker-8c-8g-7581 does not seem to be running inside a container [2022-10-10T20:16:33.300Z] $ 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-218/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-218 -v /w/workspace/gexfoundry_device-rest-go_PR-218:/w/workspace/gexfoundry_device-rest-go_PR-218:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-218@tmp:/w/workspace/gexfoundry_device-rest-go_PR-218@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T20:16:33.521Z] $ docker top 51376f156f7e9c0deb56c87366982cde636b3519b94bfb7e82a4d5ed97d47fba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T20:16:33.911Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T20:16:34.215Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T20:16:34.526Z] + ls /var/log/sa-host [2022-10-10T20:16:34.526Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T20:16:34.649Z] provisioning config files... [2022-10-10T20:16:34.662Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-218@tmp/config1800267030935859980tmp [Pipeline] { [Pipeline] echo [2022-10-10T20:16:34.712Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T20:16:35.018Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T20:16:35.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T20:16:35.444Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T20:16:35.478Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T20:16:35.783Z] ---> sudo-logs.sh [2022-10-10T20:16:35.783Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T20:16:35.866Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T20:16:36.173Z] ---> job-cost.sh [2022-10-10T20:16:36.173Z] lf-activate-venv: SKIPPING [2022-10-10T20:16:36.173Z] DEBUG: total: 0.2199999988079071 [2022-10-10T20:16:36.173Z] INFO: Retrieving Stack Cost... [2022-10-10T20:16:36.432Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T20:16:36.998Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T20:16:37.031Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T20:16:37.339Z] ---> logs-deploy.sh [2022-10-10T20:16:37.339Z] lf-activate-venv: SKIPPING [2022-10-10T20:16:37.339Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-218/1 [2022-10-10T20:16:37.339Z] INFO: archiving workspace using pattern(s): [2022-10-10T20:16:38.274Z] Archives upload complete. [2022-10-10T20:16:38.274Z] INFO: archiving logs to Nexus