Pull request #229 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of sudhamani-hcl for edgexfoundry/device-rest-go Obtained Jenkinsfile from ff6ce5c3090b2d908f9c26fedcc0482195c5264c+6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba (2df0d707274119da01aa0a606f8e914d099e6cb2) 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-ssh6123906317890311512.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13869062076504952217.key > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12630976032030157665.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9849260132635871215.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7412048566640049205.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1575 in /w/workspace/gexfoundry_device-rest-go_PR-229 [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-229 # 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 > 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 Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit ff6ce5c3090b2d908f9c26fedcc0482195c5264c Merge succeeded, producing d74216482c4c28c9f38a949d6cbcf65cf3734972 Checking out Revision d74216482c4c28c9f38a949d6cbcf65cf3734972 (PR-229) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff6ce5c3090b2d908f9c26fedcc0482195c5264c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d74216482c4c28c9f38a949d6cbcf65cf3734972 # timeout=10 Commit message: "Merge commit '6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-10T16:02:14.511Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T16:02:14.576Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T16:02:14.594Z] ========================================================= [2023-01-10T16:02:14.594Z] EdgeX Global Pipelines Version Info [2023-01-10T16:02:14.594Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1d0aacead33164d72f4bca911d15936e0bd06d5c # timeout=10 [2023-01-10T16:02:15.321Z] ------------------- [2023-01-10T16:02:15.321Z] stable info: [2023-01-10T16:02:15.321Z] ------------------- [2023-01-10T16:02:15.321Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T16:02:15.321Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T16:02:15.321Z] Message: update stable to v1.0.244 [2023-01-10T16:02:15.892Z] ------------------- [2023-01-10T16:02:15.892Z] experimental info: [2023-01-10T16:02:15.892Z] ------------------- [2023-01-10T16:02:15.892Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T16:02:15.892Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T16:02:15.892Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T16:02:16.071Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-10T16:02:16.080Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-10T16:02:16.089Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T16:02:16.098Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T16:02:16.111Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T16:02:16.122Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T16:02:16.138Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T16:02:16.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T16:02:16.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T16:02:16.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T16:02:16.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T16:02:16.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-10T16:02:16.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T16:02:16.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T16:02:16.266Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T16:02:16.283Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T16:02:16.297Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T16:02:16.312Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T16:02:16.323Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T16:02:16.341Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T16:02:16.358Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T16:02:16.374Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T16:02:16.389Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T16:02:16.403Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T16:02:16.421Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T16:02:16.436Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T16:02:16.448Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T16:02:16.466Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo [2023-01-10T16:02:16.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo [2023-01-10T16:02:16.495Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo [2023-01-10T16:02:16.507Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d74216482c4c28c9f38a949d6cbcf65cf3734972 [Pipeline] echo [2023-01-10T16:02:16.520Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d742164 [Pipeline] echo [2023-01-10T16:02:16.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T16:02:16.586Z] provisioning config files... [2023-01-10T16:02:16.600Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config2487054732418147600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:02:16.896Z] ---> docker-login.sh [2023-01-10T16:02:16.896Z] nexus3.edgexfoundry.org:10001 [2023-01-10T16:02:17.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:02:17.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:02:17.173Z] Configure a credential helper to remove this warning. See [2023-01-10T16:02:17.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:02:17.173Z] [2023-01-10T16:02:17.173Z] Login Succeeded [2023-01-10T16:02:17.173Z] nexus3.edgexfoundry.org:10002 [2023-01-10T16:02:17.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:02:17.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:02:17.441Z] Configure a credential helper to remove this warning. See [2023-01-10T16:02:17.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:02:17.441Z] [2023-01-10T16:02:17.441Z] Login Succeeded [2023-01-10T16:02:17.441Z] nexus3.edgexfoundry.org:10003 [2023-01-10T16:02:17.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:02:17.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:02:17.441Z] Configure a credential helper to remove this warning. See [2023-01-10T16:02:17.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:02:17.441Z] [2023-01-10T16:02:17.441Z] Login Succeeded [2023-01-10T16:02:17.441Z] nexus3.edgexfoundry.org:10004 [2023-01-10T16:02:17.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:02:17.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:02:17.703Z] Configure a credential helper to remove this warning. See [2023-01-10T16:02:17.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:02:17.703Z] [2023-01-10T16:02:17.703Z] Login Succeeded [2023-01-10T16:02:17.703Z] docker.io [2023-01-10T16:02:17.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:02:17.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:02:17.963Z] Configure a credential helper to remove this warning. See [2023-01-10T16:02:17.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:02:17.963Z] [2023-01-10T16:02:17.963Z] Login Succeeded [2023-01-10T16:02:17.963Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T16:02:17.972Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T16:02:18.379Z] + git rev-list -1 --merges d74216482c4c28c9f38a949d6cbcf65cf3734972~1..d74216482c4c28c9f38a949d6cbcf65cf3734972 [Pipeline] echo [2023-01-10T16:02:18.427Z] -----------> git rev-list -1 --merges d74216482c4c28c9f38a949d6cbcf65cf3734972~1..d74216482c4c28c9f38a949d6cbcf65cf3734972 d74216482c4c28c9f38a949d6cbcf65cf3734972 [2023-01-10T16:02:18.427Z] d74216482c4c28c9f38a949d6cbcf65cf3734972 [false] [Pipeline] sh [2023-01-10T16:02:18.724Z] + git log --format=format:%s -1 d74216482c4c28c9f38a949d6cbcf65cf3734972 [Pipeline] echo [2023-01-10T16:02:18.742Z] ========================================================= [2023-01-10T16:02:18.742Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T16:02:18.742Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T16:02:19.088Z] + git log --format=format:%s -1 d74216482c4c28c9f38a949d6cbcf65cf3734972 [Pipeline] echo [2023-01-10T16:02:19.100Z] [semverPrep] GIT_COMMIT: d74216482c4c28c9f38a949d6cbcf65cf3734972, Commit Message: Merge commit '6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba' into HEAD [Pipeline] echo [2023-01-10T16:02:19.112Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T16:02:19.494Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T16:02:19.494Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T16:02:19.494Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T16:02:19.494Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T16:02:19.494Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T16:02:19.494Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T16:02:19.494Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:02:19.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T16:02:19.919Z] [2023-01-10T16:02:19.919Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:02:20.226Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T16:02:20.226Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T16:02:20.226Z] b85a868b505f: Pulling fs layer [2023-01-10T16:02:20.226Z] e2be974225ed: Pulling fs layer [2023-01-10T16:02:20.226Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T16:02:20.226Z] 988bab9f4d93: Pulling fs layer [2023-01-10T16:02:20.226Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T16:02:20.226Z] eaf3925da568: Pulling fs layer [2023-01-10T16:02:20.226Z] bab4dde63d76: Pulling fs layer [2023-01-10T16:02:20.226Z] bde34c3a00c8: Pulling fs layer [2023-01-10T16:02:20.226Z] b352a97aabf1: Pulling fs layer [2023-01-10T16:02:20.226Z] 4872d77fe225: Pulling fs layer [2023-01-10T16:02:20.226Z] 5851b861e8e6: Pulling fs layer [2023-01-10T16:02:20.226Z] 988bab9f4d93: Waiting [2023-01-10T16:02:20.226Z] 1469e6f7b9e6: Waiting [2023-01-10T16:02:20.226Z] eaf3925da568: Waiting [2023-01-10T16:02:20.226Z] bab4dde63d76: Waiting [2023-01-10T16:02:20.226Z] bde34c3a00c8: Waiting [2023-01-10T16:02:20.487Z] e2be974225ed: Download complete [2023-01-10T16:02:20.487Z] 988bab9f4d93: Download complete [2023-01-10T16:02:20.487Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T16:02:20.487Z] 1469e6f7b9e6: Download complete [2023-01-10T16:02:20.487Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T16:02:20.487Z] 339a4e72a1f5: Download complete [2023-01-10T16:02:20.487Z] eaf3925da568: Verifying Checksum [2023-01-10T16:02:20.487Z] eaf3925da568: Download complete [2023-01-10T16:02:20.487Z] bde34c3a00c8: Download complete [2023-01-10T16:02:20.747Z] b352a97aabf1: Verifying Checksum [2023-01-10T16:02:20.747Z] b352a97aabf1: Download complete [2023-01-10T16:02:20.747Z] 4872d77fe225: Verifying Checksum [2023-01-10T16:02:20.747Z] 4872d77fe225: Download complete [2023-01-10T16:02:20.747Z] 5851b861e8e6: Verifying Checksum [2023-01-10T16:02:20.747Z] 5851b861e8e6: Download complete [2023-01-10T16:02:20.747Z] b85a868b505f: Verifying Checksum [2023-01-10T16:02:20.747Z] b85a868b505f: Download complete [2023-01-10T16:02:21.022Z] bab4dde63d76: Verifying Checksum [2023-01-10T16:02:21.022Z] bab4dde63d76: Download complete [2023-01-10T16:02:22.403Z] b85a868b505f: Pull complete [2023-01-10T16:02:22.403Z] e2be974225ed: Pull complete [2023-01-10T16:02:23.345Z] 339a4e72a1f5: Pull complete [2023-01-10T16:02:23.345Z] 988bab9f4d93: Pull complete [2023-01-10T16:02:23.608Z] 1469e6f7b9e6: Pull complete [2023-01-10T16:02:23.872Z] eaf3925da568: Pull complete [2023-01-10T16:02:26.420Z] bab4dde63d76: Pull complete [2023-01-10T16:02:26.420Z] bde34c3a00c8: Pull complete [2023-01-10T16:02:26.420Z] b352a97aabf1: Pull complete [2023-01-10T16:02:26.684Z] 4872d77fe225: Pull complete [2023-01-10T16:02:26.943Z] 5851b861e8e6: Pull complete [2023-01-10T16:02:26.943Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T16:02:27.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T16:02:27.203Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:02:27.288Z] prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container [2023-01-10T16:02:27.327Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T16:02:31.127Z] $ docker top 1134410bee844f0b8e607ef1973af41bbca32edc8f39bac5cc11530d9b88731d -eo pid,comm [2023-01-10T16:02:31.196Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-10T16:02:31.196Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T16:02:31.235Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T16:02:31.235Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T16:02:31.348Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T16:02:31.354Z] $ docker exec 1134410bee844f0b8e607ef1973af41bbca32edc8f39bac5cc11530d9b88731d ssh-agent [2023-01-10T16:02:31.464Z] SSH_AUTH_SOCK=/tmp/ssh-6I37LFBPJmBc/agent.14 [2023-01-10T16:02:31.464Z] SSH_AGENT_PID=27 [2023-01-10T16:02:31.480Z] Running ssh-add (command line suppressed) [2023-01-10T16:02:31.578Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_3977295986353956324.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_3977295986353956324.key) [2023-01-10T16:02:31.592Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T16:02:31.878Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T16:02:31.901Z] $ docker exec --env ******** --env ******** 1134410bee844f0b8e607ef1973af41bbca32edc8f39bac5cc11530d9b88731d ssh-agent -k [2023-01-10T16:02:31.985Z] unset SSH_AUTH_SOCK; [2023-01-10T16:02:31.986Z] unset SSH_AGENT_PID; [2023-01-10T16:02:31.986Z] echo Agent pid 27 killed; [2023-01-10T16:02:31.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T16:02:32.017Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T16:02:32.017Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T16:02:32.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T16:02:32.142Z] $ docker exec 1134410bee844f0b8e607ef1973af41bbca32edc8f39bac5cc11530d9b88731d ssh-agent [2023-01-10T16:02:32.267Z] SSH_AUTH_SOCK=/tmp/ssh-VAdulgtretk0/agent.71 [2023-01-10T16:02:32.267Z] SSH_AGENT_PID=76 [2023-01-10T16:02:32.271Z] Running ssh-add (command line suppressed) [2023-01-10T16:02:32.372Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_9178996875265420783.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_9178996875265420783.key) [2023-01-10T16:02:32.382Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T16:02:32.668Z] + git semver init [2023-01-10T16:02:32.927Z] 2023-01-10 16:02:32,876 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T16:02:32.927Z] 2023-01-10 16:02:32,877 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2023-01-10T16:02:32.927Z] 2023-01-10 16:02:32,877 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2023-01-10T16:02:32.927Z] 2023-01-10 16:02:32,877 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-229/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229, universal_newlines=False, shell=None, istream=None) [2023-01-10T16:02:34.308Z] 2023-01-10 16:02:34,070 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.git/info/exclude [2023-01-10T16:02:34.308Z] 2023-01-10 16:02:34,070 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 with force:False [2023-01-10T16:02:34.308Z] 2023-01-10 16:02:34,070 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2023-01-10T16:02:34.308Z] 2023-01-10 16:02:34,073 [execute] INFO git cat-file --batch-check [2023-01-10T16:02:34.308Z] 2023-01-10 16:02:34,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T16:02:34.308Z] 2023-01-10 16:02:34,081 [execute] INFO git cat-file --batch [2023-01-10T16:02:34.308Z] 2023-01-10 16:02:34,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T16:02:34.308Z] 2023-01-10 16:02:34,089 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2023-01-10T16:02:34.308Z] 0.0.0 [Pipeline] } [2023-01-10T16:02:34.321Z] $ docker exec --env ******** --env ******** 1134410bee844f0b8e607ef1973af41bbca32edc8f39bac5cc11530d9b88731d ssh-agent -k [2023-01-10T16:02:34.425Z] unset SSH_AUTH_SOCK; [2023-01-10T16:02:34.426Z] unset SSH_AGENT_PID; [2023-01-10T16:02:34.426Z] echo Agent pid 76 killed; [2023-01-10T16:02:34.434Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T16:02:34.735Z] + git semver [Pipeline] } [2023-01-10T16:02:35.011Z] $ docker stop --time=1 1134410bee844f0b8e607ef1973af41bbca32edc8f39bac5cc11530d9b88731d [2023-01-10T16:02:36.313Z] $ docker rm -f --volumes 1134410bee844f0b8e607ef1973af41bbca32edc8f39bac5cc11530d9b88731d [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T16:02:36.644Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T16:02:36.852Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T16:02:36.856Z] [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 [2023-01-10T16:02:37.010Z] provisioning config files... [2023-01-10T16:02:37.019Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config743800387679690891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:02:37.318Z] ---> docker-login.sh [2023-01-10T16:02:37.318Z] nexus3.edgexfoundry.org:10001 [2023-01-10T16:02:37.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:02:37.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:02:37.318Z] Configure a credential helper to remove this warning. See [2023-01-10T16:02:37.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:02:37.318Z] [2023-01-10T16:02:37.318Z] Login Succeeded [2023-01-10T16:02:37.318Z] nexus3.edgexfoundry.org:10002 [2023-01-10T16:02:37.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:02:37.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:02:37.318Z] Configure a credential helper to remove this warning. See [2023-01-10T16:02:37.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:02:37.318Z] [2023-01-10T16:02:37.318Z] Login Succeeded [2023-01-10T16:02:37.318Z] nexus3.edgexfoundry.org:10003 [2023-01-10T16:02:37.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:02:37.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:02:37.578Z] Configure a credential helper to remove this warning. See [2023-01-10T16:02:37.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:02:37.578Z] [2023-01-10T16:02:37.578Z] Login Succeeded [2023-01-10T16:02:37.578Z] nexus3.edgexfoundry.org:10004 [2023-01-10T16:02:37.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:02:37.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:02:37.578Z] Configure a credential helper to remove this warning. See [2023-01-10T16:02:37.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:02:37.578Z] [2023-01-10T16:02:37.578Z] Login Succeeded [2023-01-10T16:02:37.578Z] docker.io [2023-01-10T16:02:37.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:02:37.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:02:37.839Z] Configure a credential helper to remove this warning. See [2023-01-10T16:02:37.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:02:37.839Z] [2023-01-10T16:02:37.839Z] Login Succeeded [2023-01-10T16:02:37.839Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T16:02:37.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T16:02:37.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T16:02:37.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T16:02:37.925Z] ========================================================= [2023-01-10T16:02:37.925Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T16:02:37.925Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:02:38.241Z] + 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 . [2023-01-10T16:02:38.242Z] Sending build context to Docker daemon 10.81MB [2023-01-10T16:02:38.242Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T16:02:38.242Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T16:02:38.242Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T16:02:38.242Z] 213ec9aee27d: Pulling fs layer [2023-01-10T16:02:38.242Z] 4583459ba037: Pulling fs layer [2023-01-10T16:02:38.242Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T16:02:38.242Z] 53926ce57604: Pulling fs layer [2023-01-10T16:02:38.242Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T16:02:38.242Z] 22ff95d597cd: Pulling fs layer [2023-01-10T16:02:38.242Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T16:02:38.242Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T16:02:38.242Z] a7acece74701: Pulling fs layer [2023-01-10T16:02:38.242Z] 21b2b0c7a3f4: Waiting [2023-01-10T16:02:38.242Z] a7acece74701: Waiting [2023-01-10T16:02:38.242Z] 96b7cbca73a9: Waiting [2023-01-10T16:02:38.242Z] 22ff95d597cd: Waiting [2023-01-10T16:02:38.242Z] 53926ce57604: Waiting [2023-01-10T16:02:38.242Z] 12d6caf4c0d1: Waiting [2023-01-10T16:02:38.242Z] 93c1e223e6f2: Verifying Checksum [2023-01-10T16:02:38.242Z] 93c1e223e6f2: Download complete [2023-01-10T16:02:38.242Z] 4583459ba037: Verifying Checksum [2023-01-10T16:02:38.242Z] 4583459ba037: Download complete [2023-01-10T16:02:38.502Z] 21b2b0c7a3f4: Download complete [2023-01-10T16:02:38.502Z] 22ff95d597cd: Download complete [2023-01-10T16:02:38.502Z] 213ec9aee27d: Verifying Checksum [2023-01-10T16:02:38.502Z] 213ec9aee27d: Download complete [2023-01-10T16:02:38.502Z] 12d6caf4c0d1: Download complete [2023-01-10T16:02:38.502Z] 213ec9aee27d: Pull complete [2023-01-10T16:02:38.763Z] 4583459ba037: Pull complete [2023-01-10T16:02:38.763Z] 93c1e223e6f2: Pull complete [2023-01-10T16:02:39.024Z] a7acece74701: Verifying Checksum [2023-01-10T16:02:39.024Z] a7acece74701: Download complete [2023-01-10T16:02:39.024Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T16:02:39.024Z] 96b7cbca73a9: Download complete [2023-01-10T16:02:39.284Z] 53926ce57604: Verifying Checksum [2023-01-10T16:02:39.284Z] 53926ce57604: Download complete [2023-01-10T16:02:43.496Z] 53926ce57604: Pull complete [2023-01-10T16:02:43.496Z] 21b2b0c7a3f4: Pull complete [2023-01-10T16:02:43.496Z] 22ff95d597cd: Pull complete [2023-01-10T16:02:43.496Z] 12d6caf4c0d1: Pull complete [2023-01-10T16:02:45.414Z] 96b7cbca73a9: Pull complete [2023-01-10T16:02:45.985Z] a7acece74701: Pull complete [2023-01-10T16:02:45.985Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T16:02:45.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T16:02:45.985Z] ---> db6d94c90886 [2023-01-10T16:02:45.985Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T16:02:50.178Z] ---> Running in 0292e9720b0f [2023-01-10T16:02:50.178Z] Removing intermediate container 0292e9720b0f [2023-01-10T16:02:50.178Z] ---> 464b041cb020 [2023-01-10T16:02:50.178Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T16:02:50.178Z] ---> Running in 70e9b14693f8 [2023-01-10T16:02:50.178Z] Removing intermediate container 70e9b14693f8 [2023-01-10T16:02:50.178Z] ---> 84ecfefb85b5 [2023-01-10T16:02:50.178Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T16:02:50.178Z] ---> Running in 4a52dbf80f69 [2023-01-10T16:02:50.178Z] Removing intermediate container 4a52dbf80f69 [2023-01-10T16:02:50.178Z] ---> 4b215440973b [2023-01-10T16:02:50.178Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T16:02:50.178Z] ---> Running in 8746e44c1c9a [2023-01-10T16:02:50.178Z] Removing intermediate container 8746e44c1c9a [2023-01-10T16:02:50.178Z] ---> 87974a48aecb [2023-01-10T16:02:50.178Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T16:02:50.178Z] ---> Running in cd5f49c199c1 [2023-01-10T16:02:50.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T16:02:50.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T16:02:50.695Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T16:02:50.695Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T16:02:50.695Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T16:02:50.695Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T16:02:50.695Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T16:02:50.695Z] OK: 216 MiB in 55 packages [2023-01-10T16:02:51.263Z] Removing intermediate container cd5f49c199c1 [2023-01-10T16:02:51.263Z] ---> 8a92123967cd [2023-01-10T16:02:51.263Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-10T16:02:51.263Z] ---> Running in 63604efd29c5 [2023-01-10T16:02:51.263Z] Removing intermediate container 63604efd29c5 [2023-01-10T16:02:51.263Z] ---> 4a4489a6484a [2023-01-10T16:02:51.263Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T16:02:51.530Z] ---> 3491319c2654 [2023-01-10T16:02:51.530Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T16:02:51.530Z] ---> Running in ead6a9b92488 [2023-01-10T16:02:51.978Z] Still waiting to schedule task [2023-01-10T16:02:51.978Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-10T16:03:23.708Z] Removing intermediate container ead6a9b92488 [2023-01-10T16:03:23.708Z] ---> b4b2a1a7d45b [2023-01-10T16:03:23.708Z] Step 11/12 : COPY . . [2023-01-10T16:03:23.708Z] ---> 236af4bb8fdf [2023-01-10T16:03:23.708Z] Step 12/12 : RUN $MAKE [2023-01-10T16:03:23.708Z] ---> Running in 0be51e160070 [2023-01-10T16:03:23.708Z] noop [2023-01-10T16:03:23.708Z] Removing intermediate container 0be51e160070 [2023-01-10T16:03:23.708Z] ---> a6e2a0d1d37d [2023-01-10T16:03:23.708Z] Successfully built a6e2a0d1d37d [2023-01-10T16:03:23.708Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:03:24.032Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T16:03:24.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:03:24.118Z] prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container [2023-01-10T16:03:24.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T16:03:24.670Z] $ docker top 1645d29a183541ea0090eb7fe0ded9f37363db45de882499668b11428214df65 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T16:03:25.031Z] + go version [2023-01-10T16:03:25.031Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T16:03:25.045Z] $ docker stop --time=1 1645d29a183541ea0090eb7fe0ded9f37363db45de882499668b11428214df65 [2023-01-10T16:03:26.374Z] $ docker rm -f --volumes 1645d29a183541ea0090eb7fe0ded9f37363db45de882499668b11428214df65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:03:26.767Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T16:03:26.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:03:26.846Z] prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container [2023-01-10T16:03:26.882Z] $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T16:03:27.243Z] $ docker top c9d053284deacff18efeadce0992e85dd3bd57a78aedc59e5768dd1b16284cb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T16:03:27.595Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] fileExists [Pipeline] sh [2023-01-10T16:03:27.899Z] + make test [2023-01-10T16:03:27.899Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-10T16:03:28.158Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-10T16:03:38.126Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-10T16:03:38.126Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 26.8% of statements [2023-01-10T16:03:44.697Z] 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." [2023-01-10T16:03:44.697Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-10T16:03:47.995Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T16:03:47.995Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T16:03:47.995Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T16:03:48.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T16:03:48.019Z] $ docker stop --time=1 c9d053284deacff18efeadce0992e85dd3bd57a78aedc59e5768dd1b16284cb8 [2023-01-10T16:03:50.306Z] $ docker rm -f --volumes c9d053284deacff18efeadce0992e85dd3bd57a78aedc59e5768dd1b16284cb8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T16:03:50.761Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T16:03:50.825Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T16:03:51.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T16:03:51.643Z] + ls -al . [2023-01-10T16:03:51.643Z] total 200 [2023-01-10T16:03:51.643Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 16:03 . [2023-01-10T16:03:51.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 16:02 .. [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 10 16:02 .dockerignore [2023-01-10T16:03:51.643Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 16:03 .git [2023-01-10T16:03:51.643Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:02 .github [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 16:02 .gitignore [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 16:02 .golangci.yml [2023-01-10T16:03:51.643Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 16:02 .semver [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 9100 Jan 10 16:02 Attribution.txt [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 10 16:02 CHANGELOG.md [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 1623 Jan 10 16:02 Dockerfile [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 16:02 GOVERNANCE.md [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 16:02 Jenkinsfile [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 16:02 LICENSE [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 2173 Jan 10 16:02 Makefile [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 16:02 OWNERS.md [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 12657 Jan 10 16:02 README.md [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 16:02 VERSION [2023-01-10T16:03:51.643Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 16:02 bin [2023-01-10T16:03:51.643Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:02 cmd [2023-01-10T16:03:51.643Z] -rw-r--r-- 1 jenkins jenkins 18351 Jan 10 16:03 coverage.out [2023-01-10T16:03:51.643Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 16:02 driver [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 10 16:02 go.mod [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 16:02 go.sum [2023-01-10T16:03:51.643Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 16:02 snap [2023-01-10T16:03:51.643Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 10 16:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:03:51.968Z] + 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=d74216482c4c28c9f38a949d6cbcf65cf3734972 --label arch=amd64 --label version=0.0.0 . [2023-01-10T16:03:51.968Z] Sending build context to Docker daemon 10.83MB [2023-01-10T16:03:51.968Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T16:03:51.968Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T16:03:51.968Z] ---> a6e2a0d1d37d [2023-01-10T16:03:51.968Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T16:03:52.227Z] ---> Running in 5da28dff35df [2023-01-10T16:03:52.227Z] Removing intermediate container 5da28dff35df [2023-01-10T16:03:52.227Z] ---> f9513d368a15 [2023-01-10T16:03:52.227Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T16:03:52.228Z] ---> Running in d557575291a3 [2023-01-10T16:03:52.228Z] Removing intermediate container d557575291a3 [2023-01-10T16:03:52.228Z] ---> dc66bd221e7e [2023-01-10T16:03:52.228Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T16:03:52.228Z] ---> Running in 7f0dfb915c41 [2023-01-10T16:03:52.486Z] Removing intermediate container 7f0dfb915c41 [2023-01-10T16:03:52.486Z] ---> 2a1e42510a6c [2023-01-10T16:03:52.486Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T16:03:52.486Z] ---> Running in f00b1f77f6e6 [2023-01-10T16:03:52.486Z] Removing intermediate container f00b1f77f6e6 [2023-01-10T16:03:52.486Z] ---> 3b0e987acefa [2023-01-10T16:03:52.486Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T16:03:52.486Z] ---> Running in 88bfaae5ea9c [2023-01-10T16:03:52.745Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T16:03:53.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T16:03:53.261Z] OK: 216 MiB in 55 packages [2023-01-10T16:03:53.521Z] Removing intermediate container 88bfaae5ea9c [2023-01-10T16:03:53.521Z] ---> 652f9002e9b2 [2023-01-10T16:03:53.521Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-10T16:03:53.521Z] ---> Running in 6a957f5c0589 [2023-01-10T16:03:53.779Z] Removing intermediate container 6a957f5c0589 [2023-01-10T16:03:53.779Z] ---> 5d2f8d68caa0 [2023-01-10T16:03:53.779Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-10T16:03:53.779Z] ---> 96c7a1c9e6e7 [2023-01-10T16:03:53.779Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T16:03:53.779Z] ---> Running in 47f43eecac42 [2023-01-10T16:03:54.714Z] Removing intermediate container 47f43eecac42 [2023-01-10T16:03:54.714Z] ---> 3fd7eae44c92 [2023-01-10T16:03:54.714Z] Step 11/25 : COPY . . [2023-01-10T16:03:54.714Z] ---> b0333ecbb439 [2023-01-10T16:03:54.714Z] Step 12/25 : RUN $MAKE [2023-01-10T16:03:54.714Z] ---> Running in 6c46c7a6c889 [2023-01-10T16:03:54.974Z] 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 [2023-01-10T16:04:16.903Z] Removing intermediate container 6c46c7a6c889 [2023-01-10T16:04:16.903Z] ---> d621aac4b0ca [2023-01-10T16:04:16.903Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T16:04:16.903Z] 3.16: Pulling from library/alpine [2023-01-10T16:04:16.903Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T16:04:16.903Z] ca7dd9ec2225: Verifying Checksum [2023-01-10T16:04:16.903Z] ca7dd9ec2225: Download complete [2023-01-10T16:04:16.903Z] ca7dd9ec2225: Pull complete [2023-01-10T16:04:16.903Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T16:04:16.903Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T16:04:16.903Z] ---> bfe296a52501 [2023-01-10T16:04:16.903Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-10T16:04:16.903Z] ---> Running in dba5893e71d5 [2023-01-10T16:04:16.903Z] Removing intermediate container dba5893e71d5 [2023-01-10T16:04:16.903Z] ---> 1b6b9ecebe72 [2023-01-10T16:04:16.903Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-10T16:04:16.903Z] ---> Running in 8b12ac886450 [2023-01-10T16:04:16.903Z] Removing intermediate container 8b12ac886450 [2023-01-10T16:04:16.903Z] ---> 53beb053de11 [2023-01-10T16:04:16.903Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-10T16:04:16.903Z] ---> Running in 0d7f65d331b9 [2023-01-10T16:04:16.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T16:04:17.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T16:04:17.419Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-10T16:04:17.419Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-10T16:04:17.419Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-10T16:04:17.419Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-10T16:04:17.419Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-10T16:04:17.419Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-10T16:04:17.419Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T16:04:17.419Z] OK: 8 MiB in 20 packages [2023-01-10T16:04:17.986Z] Removing intermediate container 0d7f65d331b9 [2023-01-10T16:04:17.986Z] ---> c5da1bab8ddb [2023-01-10T16:04:17.986Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-10T16:04:18.552Z] ---> b01cdec5f0a7 [2023-01-10T16:04:18.552Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-10T16:04:18.810Z] ---> 30c8d57a992b [2023-01-10T16:04:18.810Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-10T16:04:18.810Z] ---> f18894717563 [2023-01-10T16:04:18.811Z] Step 20/25 : EXPOSE 59986 [2023-01-10T16:04:18.811Z] ---> Running in 0379bff8ef90 [2023-01-10T16:04:18.811Z] Removing intermediate container 0379bff8ef90 [2023-01-10T16:04:18.811Z] ---> 1b3b42c09be0 [2023-01-10T16:04:18.811Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-10T16:04:19.069Z] ---> Running in 5f0b77f1e2cb [2023-01-10T16:04:19.069Z] Removing intermediate container 5f0b77f1e2cb [2023-01-10T16:04:19.069Z] ---> 4e8ee3556774 [2023-01-10T16:04:19.069Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T16:04:19.069Z] ---> Running in 335adb1b7c27 [2023-01-10T16:04:19.069Z] Removing intermediate container 335adb1b7c27 [2023-01-10T16:04:19.069Z] ---> eff64701c8b0 [2023-01-10T16:04:19.069Z] Step 23/25 : LABEL arch=amd64 [2023-01-10T16:04:19.069Z] ---> Running in 3c184c605eb8 [2023-01-10T16:04:19.069Z] Removing intermediate container 3c184c605eb8 [2023-01-10T16:04:19.069Z] ---> bbb3462ac1de [2023-01-10T16:04:19.069Z] Step 24/25 : LABEL git_sha=d74216482c4c28c9f38a949d6cbcf65cf3734972 [2023-01-10T16:04:19.327Z] ---> Running in 8597fde8c27b [2023-01-10T16:04:19.327Z] Removing intermediate container 8597fde8c27b [2023-01-10T16:04:19.327Z] ---> c4e3b27dd9f7 [2023-01-10T16:04:19.327Z] Step 25/25 : LABEL version=0.0.0 [2023-01-10T16:04:19.327Z] ---> Running in 1183548f7689 [2023-01-10T16:04:19.327Z] Removing intermediate container 1183548f7689 [2023-01-10T16:04:19.327Z] ---> 384b0671ed7f [2023-01-10T16:04:19.327Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T16:04:19.327Z] Successfully built 384b0671ed7f [2023-01-10T16:04:19.327Z] 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 [2023-01-10T16:04:19.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T16:04:19.742Z] [2023-01-10T16:04:19.742Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:04:20.045Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T16:04:20.045Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T16:04:20.045Z] 5eb5b503b376: Pulling fs layer [2023-01-10T16:04:20.045Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T16:04:20.045Z] ec43610c2a17: Pulling fs layer [2023-01-10T16:04:20.045Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T16:04:20.045Z] 33b1e0a273af: Pulling fs layer [2023-01-10T16:04:20.045Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T16:04:20.045Z] 2f39f015ded8: Pulling fs layer [2023-01-10T16:04:20.045Z] 2f39f015ded8: Waiting [2023-01-10T16:04:20.045Z] 33b1e0a273af: Waiting [2023-01-10T16:04:20.045Z] 5d3b04190fa2: Waiting [2023-01-10T16:04:20.045Z] 3a2ae6a8a46f: Waiting [2023-01-10T16:04:20.045Z] 5c69ac0246d0: Verifying Checksum [2023-01-10T16:04:20.045Z] 5c69ac0246d0: Download complete [2023-01-10T16:04:20.045Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T16:04:20.045Z] 3a2ae6a8a46f: Download complete [2023-01-10T16:04:20.305Z] 33b1e0a273af: Verifying Checksum [2023-01-10T16:04:20.305Z] 33b1e0a273af: Download complete [2023-01-10T16:04:20.305Z] ec43610c2a17: Verifying Checksum [2023-01-10T16:04:20.305Z] ec43610c2a17: Download complete [2023-01-10T16:04:20.305Z] 5d3b04190fa2: Download complete [2023-01-10T16:04:20.305Z] 5eb5b503b376: Verifying Checksum [2023-01-10T16:04:20.305Z] 5eb5b503b376: Download complete [2023-01-10T16:04:20.872Z] 2f39f015ded8: Verifying Checksum [2023-01-10T16:04:20.872Z] 2f39f015ded8: Download complete [2023-01-10T16:04:21.440Z] 5eb5b503b376: Pull complete [2023-01-10T16:04:21.698Z] 5c69ac0246d0: Pull complete [2023-01-10T16:04:21.700Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1576 in /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] { [Pipeline] ws [2023-01-10T16:04:21.711Z] Running in /w/workspace/device-rest-go/9 [Pipeline] { [Pipeline] checkout [2023-01-10T16:04:21.745Z] The recommended git tool is: git [2023-01-10T16:04:22.265Z] ec43610c2a17: Pull complete [2023-01-10T16:04:22.265Z] 3a2ae6a8a46f: Pull complete [2023-01-10T16:04:22.523Z] 33b1e0a273af: Pull complete [2023-01-10T16:04:22.523Z] 5d3b04190fa2: Pull complete [2023-01-10T16:04:26.711Z] 2f39f015ded8: Pull complete [2023-01-10T16:04:26.711Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T16:04:26.711Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T16:04:26.711Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:04:26.796Z] prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container [2023-01-10T16:04:26.817Z] $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T16:04:26.959Z] using credential edgex-jenkins-ssh [2023-01-10T16:04:26.980Z] Cloning the remote Git repository [2023-01-10T16:04:27.021Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T16:04:27.094Z] > git init /w/workspace/device-rest-go/9 # timeout=10 [2023-01-10T16:04:27.241Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T16:04:27.242Z] > git --version # timeout=10 [2023-01-10T16:04:27.271Z] > git --version # 'git version 2.25.1' [2023-01-10T16:04:27.273Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T16:04:27.333Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T16:04:29.155Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-10T16:04:29.177Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T16:04:29.869Z] $ docker top 409fb1a0a0d2de26a5052b563488fff52923c4cbe30303f83c0f4416a6c78ec8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:04:30.263Z] ---> job-cost.sh [2023-01-10T16:04:30.263Z] lf-activate-venv: SKIPPING [2023-01-10T16:04:30.263Z] INFO: No Stack... [2023-01-10T16:04:30.522Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T16:04:30.040Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-10T16:04:30.084Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-10T16:04:30.085Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T16:04:30.102Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T16:04:30.696Z] Merging remotes/origin/main commit 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba into PR head commit ff6ce5c3090b2d908f9c26fedcc0482195c5264c [2023-01-10T16:04:30.954Z] Merge succeeded, producing 619ea7ab404cc09a64b7a9e135d7d7e2a5e08e59 [2023-01-10T16:04:30.955Z] Checking out Revision 619ea7ab404cc09a64b7a9e135d7d7e2a5e08e59 (PR-229) [2023-01-10T16:04:31.090Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T16:04:31.380Z] + cut -d, -f6 [2023-01-10T16:04:31.380Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-229/archives/cost.csv [Pipeline] lock [2023-01-10T16:04:31.394Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-9-stack-cost] [2023-01-10T16:04:31.399Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-9-stack-cost] did not exist. Created. [2023-01-10T16:04:31.399Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T16:04:31.695Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T16:04:31.725Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T16:04:31.731Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-9-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T16:04:31.745Z] $ docker stop --time=1 409fb1a0a0d2de26a5052b563488fff52923c4cbe30303f83c0f4416a6c78ec8 [2023-01-10T16:04:30.712Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T16:04:30.730Z] > git checkout -f ff6ce5c3090b2d908f9c26fedcc0482195c5264c # timeout=10 [2023-01-10T16:04:30.813Z] > git remote # timeout=10 [2023-01-10T16:04:30.830Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T16:04:30.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T16:04:30.865Z] > git merge 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 [2023-01-10T16:04:30.922Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T16:04:30.962Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T16:04:30.981Z] > git checkout -f 619ea7ab404cc09a64b7a9e135d7d7e2a5e08e59 # timeout=10 [2023-01-10T16:04:32.893Z] $ docker rm -f --volumes 409fb1a0a0d2de26a5052b563488fff52923c4cbe30303f83c0f4416a6c78ec8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T16:04:34.448Z] Commit message: "Merge commit '6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba' into HEAD" [2023-01-10T16:04:34.478Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T16:04:34.457Z] > git rev-list --no-walk 1d0aacead33164d72f4bca911d15936e0bd06d5c # timeout=10 [2023-01-10T16:04:35.581Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T16:04:35.581Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T16:04:35.581Z] Dload Upload Total Spent Left Speed [2023-01-10T16:04:35.581Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 69298 0 --:--:-- --:--:-- --:--:-- 69677 [Pipeline] sh [2023-01-10T16:04:36.383Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T16:04:36.718Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-01-10T16:04:36.718Z] /etc/docker/daemon.new [2023-01-10T16:04:36.718Z] { [2023-01-10T16:04:36.718Z] "registry-mirrors": [ [2023-01-10T16:04:36.718Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T16:04:36.718Z] ], [2023-01-10T16:04:36.718Z] "bip": "10.250.0.254/24", [2023-01-10T16:04:36.718Z] "hosts": [ [2023-01-10T16:04:36.718Z] "tcp://0.0.0.0:5555", [2023-01-10T16:04:36.718Z] "unix:///var/run/docker.sock" [2023-01-10T16:04:36.718Z] ], [2023-01-10T16:04:36.718Z] "mtu": 1458, [2023-01-10T16:04:36.718Z] "selinux-enabled": true, [2023-01-10T16:04:36.718Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T16:04:36.718Z] } [Pipeline] sh [2023-01-10T16:04:37.056Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T16:04:37.386Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T16:04:55.640Z] provisioning config files... [2023-01-10T16:04:55.667Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/9@tmp/config5365913118618670478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:04:56.010Z] ---> docker-login.sh [2023-01-10T16:04:56.010Z] nexus3.edgexfoundry.org:10001 [2023-01-10T16:04:56.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:04:56.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:04:56.545Z] Configure a credential helper to remove this warning. See [2023-01-10T16:04:56.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:04:56.545Z] [2023-01-10T16:04:56.545Z] Login Succeeded [2023-01-10T16:04:56.545Z] nexus3.edgexfoundry.org:10002 [2023-01-10T16:04:56.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:04:56.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:04:56.813Z] Configure a credential helper to remove this warning. See [2023-01-10T16:04:56.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:04:56.813Z] [2023-01-10T16:04:56.813Z] Login Succeeded [2023-01-10T16:04:56.813Z] nexus3.edgexfoundry.org:10003 [2023-01-10T16:04:57.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:04:57.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:04:57.348Z] Configure a credential helper to remove this warning. See [2023-01-10T16:04:57.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:04:57.348Z] [2023-01-10T16:04:57.348Z] Login Succeeded [2023-01-10T16:04:57.348Z] nexus3.edgexfoundry.org:10004 [2023-01-10T16:04:57.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:04:57.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:04:57.616Z] Configure a credential helper to remove this warning. See [2023-01-10T16:04:57.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:04:57.616Z] [2023-01-10T16:04:57.616Z] Login Succeeded [2023-01-10T16:04:57.616Z] docker.io [2023-01-10T16:04:57.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T16:04:58.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T16:04:58.156Z] Configure a credential helper to remove this warning. See [2023-01-10T16:04:58.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T16:04:58.156Z] [2023-01-10T16:04:58.156Z] Login Succeeded [2023-01-10T16:04:58.156Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T16:04:58.172Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T16:04:58.415Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T16:04:58.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T16:04:58.445Z] ========================================================= [2023-01-10T16:04:58.445Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T16:04:58.445Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:04:58.808Z] + 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 . [2023-01-10T16:04:58.808Z] Sending build context to Docker daemon 150kB [2023-01-10T16:04:59.083Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T16:04:59.083Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T16:04:59.352Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T16:04:59.352Z] 9b18e9b68314: Pulling fs layer [2023-01-10T16:04:59.352Z] 35d82f9e3411: Pulling fs layer [2023-01-10T16:04:59.352Z] e16973657156: Pulling fs layer [2023-01-10T16:04:59.352Z] fc693d55d65f: Pulling fs layer [2023-01-10T16:04:59.352Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T16:04:59.352Z] dda99020689f: Pulling fs layer [2023-01-10T16:04:59.352Z] db1c61fa0a46: Pulling fs layer [2023-01-10T16:04:59.352Z] 891c053d2c06: Pulling fs layer [2023-01-10T16:04:59.352Z] fc693d55d65f: Waiting [2023-01-10T16:04:59.352Z] db1c61fa0a46: Waiting [2023-01-10T16:04:59.352Z] 891c053d2c06: Waiting [2023-01-10T16:04:59.352Z] dda99020689f: Waiting [2023-01-10T16:04:59.352Z] 7e9fc2657dce: Waiting [2023-01-10T16:04:59.352Z] e16973657156: Verifying Checksum [2023-01-10T16:04:59.352Z] e16973657156: Download complete [2023-01-10T16:04:59.352Z] 9b18e9b68314: Verifying Checksum [2023-01-10T16:04:59.352Z] 9b18e9b68314: Download complete [2023-01-10T16:04:59.352Z] 35d82f9e3411: Verifying Checksum [2023-01-10T16:04:59.352Z] 35d82f9e3411: Download complete [2023-01-10T16:04:59.352Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T16:04:59.352Z] 7e9fc2657dce: Download complete [2023-01-10T16:04:59.352Z] dda99020689f: Download complete [2023-01-10T16:04:59.965Z] 9b18e9b68314: Pull complete [2023-01-10T16:05:00.560Z] 35d82f9e3411: Pull complete [2023-01-10T16:05:00.560Z] 891c053d2c06: Verifying Checksum [2023-01-10T16:05:00.560Z] 891c053d2c06: Download complete [2023-01-10T16:05:00.830Z] e16973657156: Pull complete [2023-01-10T16:05:01.804Z] db1c61fa0a46: Verifying Checksum [2023-01-10T16:05:01.804Z] db1c61fa0a46: Download complete [2023-01-10T16:05:02.076Z] fc693d55d65f: Verifying Checksum [2023-01-10T16:05:02.076Z] fc693d55d65f: Download complete [2023-01-10T16:05:14.402Z] fc693d55d65f: Pull complete [2023-01-10T16:05:14.402Z] 7e9fc2657dce: Pull complete [2023-01-10T16:05:14.402Z] dda99020689f: Pull complete [2023-01-10T16:05:19.754Z] db1c61fa0a46: Pull complete [2023-01-10T16:05:21.710Z] 891c053d2c06: Pull complete [2023-01-10T16:05:21.710Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T16:05:21.710Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T16:05:21.710Z] ---> f96f9c87975a [2023-01-10T16:05:21.710Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T16:05:23.655Z] ---> Running in b39b17f93a50 [2023-01-10T16:05:23.926Z] Removing intermediate container b39b17f93a50 [2023-01-10T16:05:23.926Z] ---> 9ce9091106b6 [2023-01-10T16:05:23.926Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T16:05:23.926Z] ---> Running in 4e457071aba6 [2023-01-10T16:05:24.199Z] Removing intermediate container 4e457071aba6 [2023-01-10T16:05:24.199Z] ---> 373625003d90 [2023-01-10T16:05:24.199Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T16:05:24.199Z] ---> Running in 24b74cf76c60 [2023-01-10T16:05:24.466Z] Removing intermediate container 24b74cf76c60 [2023-01-10T16:05:24.466Z] ---> b3af0023994c [2023-01-10T16:05:24.466Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T16:05:24.735Z] ---> Running in ac88ee43009f [2023-01-10T16:05:25.008Z] Removing intermediate container ac88ee43009f [2023-01-10T16:05:25.008Z] ---> 3c261e2eacea [2023-01-10T16:05:25.008Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T16:05:25.008Z] ---> Running in 6cde6682f1fe [2023-01-10T16:05:25.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T16:05:26.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T16:05:27.154Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T16:05:27.421Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T16:05:27.421Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T16:05:27.421Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T16:05:27.421Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T16:05:27.421Z] OK: 226 MiB in 55 packages [2023-01-10T16:05:28.390Z] Removing intermediate container 6cde6682f1fe [2023-01-10T16:05:28.390Z] ---> 78afe13a2660 [2023-01-10T16:05:28.390Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-10T16:05:28.390Z] ---> Running in 7388ac06a433 [2023-01-10T16:05:28.658Z] Removing intermediate container 7388ac06a433 [2023-01-10T16:05:28.658Z] ---> f68704569cfa [2023-01-10T16:05:28.658Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T16:05:29.247Z] ---> 794d3a6847f3 [2023-01-10T16:05:29.247Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T16:05:29.247Z] ---> Running in 19c1f13f5501 [2023-01-10T16:06:25.665Z] Removing intermediate container 19c1f13f5501 [2023-01-10T16:06:25.665Z] ---> 3fdd20f89b4b [2023-01-10T16:06:25.665Z] Step 11/12 : COPY . . [2023-01-10T16:06:25.665Z] ---> bbe375c7e2e1 [2023-01-10T16:06:25.665Z] Step 12/12 : RUN $MAKE [2023-01-10T16:06:25.665Z] ---> Running in f3bab2044613 [2023-01-10T16:06:25.665Z] noop [2023-01-10T16:06:25.665Z] Removing intermediate container f3bab2044613 [2023-01-10T16:06:25.665Z] ---> e91f855966b7 [2023-01-10T16:06:25.665Z] Successfully built e91f855966b7 [2023-01-10T16:06:25.665Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:06:26.009Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T16:06:26.009Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:06:26.193Z] prd-ubuntu20.04-docker-arm64-4c-16g-1576 does not seem to be running inside a container [2023-01-10T16:06:26.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/9 -v /w/workspace/device-rest-go/9:/w/workspace/device-rest-go/9:rw,z -v /w/workspace/device-rest-go/9@tmp:/w/workspace/device-rest-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T16:06:27.385Z] $ docker top 93f93828a4454c5026eaa271d72f85c97bb8d4c2ca654b412fc00a9213a4a1c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T16:06:28.192Z] + go version [2023-01-10T16:06:28.192Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T16:06:28.209Z] $ docker stop --time=1 93f93828a4454c5026eaa271d72f85c97bb8d4c2ca654b412fc00a9213a4a1c9 [2023-01-10T16:06:29.793Z] $ docker rm -f --volumes 93f93828a4454c5026eaa271d72f85c97bb8d4c2ca654b412fc00a9213a4a1c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:06:30.324Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T16:06:30.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:06:30.499Z] prd-ubuntu20.04-docker-arm64-4c-16g-1576 does not seem to be running inside a container [2023-01-10T16:06:30.562Z] $ 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/9 -v /w/workspace/device-rest-go/9:/w/workspace/device-rest-go/9:rw,z -v /w/workspace/device-rest-go/9@tmp:/w/workspace/device-rest-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T16:06:31.623Z] $ docker top c5f0f66b6958aeca4a0a8f44115a2928d51d1fda0fce9557dc5d5a24ce846be6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T16:06:32.119Z] + git config --global --add safe.directory /w/workspace/device-rest-go/9 [Pipeline] fileExists [Pipeline] sh [2023-01-10T16:06:32.456Z] + make test [2023-01-10T16:06:32.456Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-10T16:06:34.398Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-10T16:07:57.358Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-10T16:07:57.358Z] ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 26.8% of statements [2023-01-10T16:07:57.358Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T16:07:57.358Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-10T16:08:15.587Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T16:08:15.587Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T16:08:15.587Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T16:08:15.605Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T16:08:15.616Z] $ docker stop --time=1 c5f0f66b6958aeca4a0a8f44115a2928d51d1fda0fce9557dc5d5a24ce846be6 [2023-01-10T16:08:17.270Z] $ docker rm -f --volumes c5f0f66b6958aeca4a0a8f44115a2928d51d1fda0fce9557dc5d5a24ce846be6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T16:08:18.119Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T16:08:18.139Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T16:08:18.557Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T16:08:18.937Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T16:08:19.246Z] + ls -al . [2023-01-10T16:08:19.246Z] total 196 [2023-01-10T16:08:19.246Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 16:06 . [2023-01-10T16:08:19.246Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 16:04 .. [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 10 16:04 .dockerignore [2023-01-10T16:08:19.246Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 16:04 .git [2023-01-10T16:08:19.246Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:04 .github [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 16:04 .gitignore [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 16:04 .golangci.yml [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 9100 Jan 10 16:04 Attribution.txt [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 10 16:04 CHANGELOG.md [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 1623 Jan 10 16:04 Dockerfile [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 16:04 GOVERNANCE.md [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 16:04 Jenkinsfile [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 16:04 LICENSE [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 2173 Jan 10 16:04 Makefile [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 16:04 OWNERS.md [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 12657 Jan 10 16:04 README.md [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 16:02 VERSION [2023-01-10T16:08:19.246Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 16:04 bin [2023-01-10T16:08:19.246Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 16:04 cmd [2023-01-10T16:08:19.246Z] -rw-r--r-- 1 jenkins jenkins 18351 Jan 10 16:07 coverage.out [2023-01-10T16:08:19.246Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 16:04 driver [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 10 16:04 go.mod [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 16:04 go.sum [2023-01-10T16:08:19.246Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 16:04 snap [2023-01-10T16:08:19.246Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 10 16:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:08:19.574Z] + 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=619ea7ab404cc09a64b7a9e135d7d7e2a5e08e59 --label arch=arm64 --label version=0.0.0 . [2023-01-10T16:08:19.574Z] Sending build context to Docker daemon 169kB [2023-01-10T16:08:19.839Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T16:08:19.839Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-10T16:08:19.839Z] ---> e91f855966b7 [2023-01-10T16:08:19.839Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-10T16:08:19.839Z] ---> Running in 17c6ea118f22 [2023-01-10T16:08:20.107Z] Removing intermediate container 17c6ea118f22 [2023-01-10T16:08:20.107Z] ---> 6904686a6e11 [2023-01-10T16:08:20.107Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T16:08:20.107Z] ---> Running in 8710cf25d611 [2023-01-10T16:08:20.373Z] Removing intermediate container 8710cf25d611 [2023-01-10T16:08:20.373Z] ---> 2de96a2aa4ce [2023-01-10T16:08:20.373Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T16:08:20.373Z] ---> Running in fe4b2d178ce5 [2023-01-10T16:08:20.640Z] Removing intermediate container fe4b2d178ce5 [2023-01-10T16:08:20.640Z] ---> fc35ccd272e8 [2023-01-10T16:08:20.640Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T16:08:20.640Z] ---> Running in c7e15af55c23 [2023-01-10T16:08:20.918Z] Removing intermediate container c7e15af55c23 [2023-01-10T16:08:20.918Z] ---> a10d934b37bf [2023-01-10T16:08:20.918Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T16:08:21.187Z] ---> Running in 26653ecffae8 [2023-01-10T16:08:22.146Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T16:08:22.412Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T16:08:23.371Z] OK: 226 MiB in 55 packages [2023-01-10T16:08:23.960Z] Removing intermediate container 26653ecffae8 [2023-01-10T16:08:23.960Z] ---> 5c8b7a13ee3e [2023-01-10T16:08:23.960Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-10T16:08:24.226Z] ---> Running in 20d434eb1041 [2023-01-10T16:08:24.227Z] Removing intermediate container 20d434eb1041 [2023-01-10T16:08:24.227Z] ---> 0121142116db [2023-01-10T16:08:24.227Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-10T16:08:24.807Z] ---> 8558156e47d2 [2023-01-10T16:08:24.807Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T16:08:24.807Z] ---> Running in f197398d5ef3 [2023-01-10T16:08:26.745Z] Removing intermediate container f197398d5ef3 [2023-01-10T16:08:26.745Z] ---> 38e38f7830f9 [2023-01-10T16:08:26.745Z] Step 11/25 : COPY . . [2023-01-10T16:08:27.011Z] ---> 454fb114f993 [2023-01-10T16:08:27.011Z] Step 12/25 : RUN $MAKE [2023-01-10T16:08:27.279Z] ---> Running in 4f406784539a [2023-01-10T16:08:27.862Z] 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 [2023-01-10T16:10:49.921Z] Removing intermediate container 4f406784539a [2023-01-10T16:10:49.921Z] ---> 216f2a6e67f7 [2023-01-10T16:10:49.921Z] Step 13/25 : FROM alpine:3.16 [2023-01-10T16:10:49.921Z] 3.16: Pulling from library/alpine [2023-01-10T16:10:49.921Z] 6875df1f5354: Pulling fs layer [2023-01-10T16:10:49.921Z] 6875df1f5354: Verifying Checksum [2023-01-10T16:10:49.921Z] 6875df1f5354: Download complete [2023-01-10T16:10:49.921Z] 6875df1f5354: Pull complete [2023-01-10T16:10:49.921Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T16:10:49.921Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T16:10:49.921Z] ---> 2b4661558fb8 [2023-01-10T16:10:49.921Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-10T16:10:49.921Z] ---> Running in df2ae68a6818 [2023-01-10T16:10:49.921Z] Removing intermediate container df2ae68a6818 [2023-01-10T16:10:49.921Z] ---> bc4c37e64386 [2023-01-10T16:10:49.921Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-10T16:10:49.921Z] ---> Running in 4f5b9314cbcc [2023-01-10T16:10:49.921Z] Removing intermediate container 4f5b9314cbcc [2023-01-10T16:10:49.921Z] ---> bc426023df69 [2023-01-10T16:10:49.921Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-10T16:10:49.921Z] ---> Running in ab5a54e623ed [2023-01-10T16:10:49.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T16:10:49.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T16:10:49.921Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-10T16:10:49.921Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-10T16:10:49.921Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-10T16:10:49.921Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-10T16:10:49.921Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-10T16:10:49.921Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-10T16:10:49.921Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T16:10:49.921Z] OK: 8 MiB in 20 packages [2023-01-10T16:10:49.921Z] Removing intermediate container ab5a54e623ed [2023-01-10T16:10:49.921Z] ---> 3f8530dac3f2 [2023-01-10T16:10:49.921Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-10T16:10:49.921Z] ---> d688988003db [2023-01-10T16:10:49.921Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-10T16:10:49.921Z] ---> 2aa6d51868d0 [2023-01-10T16:10:49.921Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-10T16:10:49.921Z] ---> cccb99da94b4 [2023-01-10T16:10:49.921Z] Step 20/25 : EXPOSE 59986 [2023-01-10T16:10:49.921Z] ---> Running in 1b8b40313664 [2023-01-10T16:10:49.921Z] Removing intermediate container 1b8b40313664 [2023-01-10T16:10:49.921Z] ---> 3e158f9b8181 [2023-01-10T16:10:49.921Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-10T16:10:49.921Z] ---> Running in bab1dab24d71 [2023-01-10T16:10:49.921Z] Removing intermediate container bab1dab24d71 [2023-01-10T16:10:49.921Z] ---> 13921c73a0ff [2023-01-10T16:10:49.921Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T16:10:49.921Z] ---> Running in 15aca9e43232 [2023-01-10T16:10:49.921Z] Removing intermediate container 15aca9e43232 [2023-01-10T16:10:49.921Z] ---> fbbc09288196 [2023-01-10T16:10:49.921Z] Step 23/25 : LABEL arch=arm64 [2023-01-10T16:10:49.921Z] ---> Running in 5e987a993257 [2023-01-10T16:10:49.921Z] Removing intermediate container 5e987a993257 [2023-01-10T16:10:49.921Z] ---> 40f5d07a9e22 [2023-01-10T16:10:49.921Z] Step 24/25 : LABEL git_sha=619ea7ab404cc09a64b7a9e135d7d7e2a5e08e59 [2023-01-10T16:10:49.921Z] ---> Running in e2698ca89864 [2023-01-10T16:10:50.189Z] Removing intermediate container e2698ca89864 [2023-01-10T16:10:50.189Z] ---> efd8e123f51f [2023-01-10T16:10:50.189Z] Step 25/25 : LABEL version=0.0.0 [2023-01-10T16:10:50.463Z] ---> Running in b99116a347d2 [2023-01-10T16:10:50.730Z] Removing intermediate container b99116a347d2 [2023-01-10T16:10:50.731Z] ---> 4cc5dd9e06d3 [2023-01-10T16:10:50.731Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T16:10:50.731Z] Successfully built 4cc5dd9e06d3 [2023-01-10T16:10:50.731Z] 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 [2023-01-10T16:10:51.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T16:10:51.146Z] [2023-01-10T16:10:51.146Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:10:51.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T16:10:51.488Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T16:10:51.488Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T16:10:51.488Z] 04944245beec: Pulling fs layer [2023-01-10T16:10:51.488Z] 699f458cf7ca: Pulling fs layer [2023-01-10T16:10:51.488Z] 765212b225bb: Pulling fs layer [2023-01-10T16:10:51.488Z] f23df028b6ca: Pulling fs layer [2023-01-10T16:10:51.488Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T16:10:51.488Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T16:10:51.488Z] 765212b225bb: Waiting [2023-01-10T16:10:51.488Z] f23df028b6ca: Waiting [2023-01-10T16:10:51.488Z] d65c8cfc05b1: Waiting [2023-01-10T16:10:51.488Z] 2437ff75d9bd: Waiting [2023-01-10T16:10:51.757Z] 04944245beec: Verifying Checksum [2023-01-10T16:10:51.757Z] 04944245beec: Download complete [2023-01-10T16:10:51.757Z] 765212b225bb: Verifying Checksum [2023-01-10T16:10:51.757Z] 765212b225bb: Download complete [2023-01-10T16:10:51.757Z] f23df028b6ca: Verifying Checksum [2023-01-10T16:10:51.757Z] f23df028b6ca: Download complete [2023-01-10T16:10:51.757Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T16:10:51.757Z] d65c8cfc05b1: Download complete [2023-01-10T16:10:52.026Z] 699f458cf7ca: Verifying Checksum [2023-01-10T16:10:52.026Z] 699f458cf7ca: Download complete [2023-01-10T16:10:52.292Z] 8998bd30e6a1: Verifying Checksum [2023-01-10T16:10:52.292Z] 8998bd30e6a1: Download complete [2023-01-10T16:10:54.894Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T16:10:54.894Z] 2437ff75d9bd: Download complete [2023-01-10T16:10:55.861Z] 8998bd30e6a1: Pull complete [2023-01-10T16:10:56.448Z] 04944245beec: Pull complete [2023-01-10T16:10:57.864Z] 699f458cf7ca: Pull complete [2023-01-10T16:10:57.864Z] 765212b225bb: Pull complete [2023-01-10T16:10:58.446Z] f23df028b6ca: Pull complete [2023-01-10T16:10:58.713Z] d65c8cfc05b1: Pull complete [2023-01-10T16:11:11.026Z] 2437ff75d9bd: Pull complete [2023-01-10T16:11:11.026Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T16:11:11.026Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T16:11:11.026Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:11:11.210Z] prd-ubuntu20.04-docker-arm64-4c-16g-1576 does not seem to be running inside a container [2023-01-10T16:11:11.274Z] $ 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/9 -v /w/workspace/device-rest-go/9:/w/workspace/device-rest-go/9:rw,z -v /w/workspace/device-rest-go/9@tmp:/w/workspace/device-rest-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-10T16:11:13.921Z] $ docker top 9cf4303c8a9dbad996b4495487c3d12bcb2311aecfb35dcb40850921008ee4f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:11:14.780Z] ---> job-cost.sh [2023-01-10T16:11:14.780Z] lf-activate-venv: SKIPPING [2023-01-10T16:11:14.780Z] INFO: No Stack... [2023-01-10T16:11:15.047Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T16:11:16.014Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T16:11:16.340Z] + cut -d, -f6 [2023-01-10T16:11:16.340Z] + cat /w/workspace/device-rest-go/9/archives/cost.csv [Pipeline] lock [2023-01-10T16:11:16.682Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-9-stack-cost] [2023-01-10T16:11:16.693Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-9-stack-cost] did not exist. Created. [2023-01-10T16:11:16.693Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T16:11:17.039Z] /w/workspace/device-rest-go/9@tmp/durable-7010aacd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T16:11:17.694Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T16:11:17.716Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T16:11:17.756Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T16:11:17.763Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-9-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T16:11:17.777Z] $ docker stop --time=1 9cf4303c8a9dbad996b4495487c3d12bcb2311aecfb35dcb40850921008ee4f4 [2023-01-10T16:11:19.248Z] $ docker rm -f --volumes 9cf4303c8a9dbad996b4495487c3d12bcb2311aecfb35dcb40850921008ee4f4 [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 [2023-01-10T16:11:19.616Z] provisioning config files... [2023-01-10T16:11:19.627Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config3743677497991438707tmp [Pipeline] { [Pipeline] sh [2023-01-10T16:11:20.016Z] + set +x [2023-01-10T16:11:20.016Z] + + bash -s -- [2023-01-10T16:11:20.016Z] curl -s https://codecov.io/bash [2023-01-10T16:11:20.016Z] [2023-01-10T16:11:20.016Z] _____ _ [2023-01-10T16:11:20.016Z] / ____| | | [2023-01-10T16:11:20.016Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T16:11:20.016Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T16:11:20.016Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T16:11:20.016Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T16:11:20.016Z] Bash-1.0.6 [2023-01-10T16:11:20.016Z] [2023-01-10T16:11:20.016Z] [2023-01-10T16:11:20.016Z] ==> git version 2.25.1 found [2023-01-10T16:11:20.016Z] ==> 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 [2023-01-10T16:11:20.016Z] Release-Date: 2020-01-08 [2023-01-10T16:11:20.016Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-10T16:11:20.016Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T16:11:20.016Z] ==> Jenkins CI detected. [2023-01-10T16:11:20.016Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-229 [2023-01-10T16:11:20.016Z] project root: . [2023-01-10T16:11:20.016Z] --> token set from env [2023-01-10T16:11:20.016Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T16:11:20.016Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T16:11:20.016Z] ==> Python coveragepy not found [2023-01-10T16:11:20.016Z] ==> Searching for coverage reports in: [2023-01-10T16:11:20.016Z] + . [2023-01-10T16:11:20.016Z] -> Found 1 reports [2023-01-10T16:11:20.016Z] ==> Detecting git/mercurial file structure [2023-01-10T16:11:20.016Z] ==> Reading reports [2023-01-10T16:11:20.280Z] + ./coverage.out bytes=18351 [2023-01-10T16:11:20.280Z] ==> Appending adjustments [2023-01-10T16:11:20.280Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T16:11:20.280Z] + Found adjustments [2023-01-10T16:11:20.280Z] ==> Gzipping contents [2023-01-10T16:11:20.280Z] 4.0K /tmp/codecov.a84l4q.gz [2023-01-10T16:11:20.280Z] ==> Uploading reports [2023-01-10T16:11:20.280Z] url: https://codecov.io [2023-01-10T16:11:20.280Z] query: branch=PR-229&commit=d74216482c4c28c9f38a949d6cbcf65cf3734972&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= [2023-01-10T16:11:20.280Z] -> Pinging Codecov [2023-01-10T16:11:20.280Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-229&commit=d74216482c4c28c9f38a949d6cbcf65cf3734972&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= [2023-01-10T16:11:20.540Z] -> Uploading to [2023-01-10T16:11:20.540Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/4E5D53B4F1F92C436F7061BF334D961C/d74216482c4c28c9f38a949d6cbcf65cf3734972/3ef2f06e-73ec-400f-aec5-40af0013e815.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T161120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=204f31edaf0feb4ecef0e03db55ef75fa7d928b5b7f4c09d12020b930dfc0bec [2023-01-10T16:11:20.540Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T16:11:20.540Z] Dload Upload Total Spent Left Speed [2023-01-10T16:11:20.799Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3009 0 0 100 3009 0 12589 --:--:-- --:--:-- --:--:-- 12642 [2023-01-10T16:11:20.799Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d74216482c4c28c9f38a949d6cbcf65cf3734972 [Pipeline] } [2023-01-10T16:11:20.806Z] 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 [2023-01-10T16:11:21.466Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-229/archives ] [2023-01-10T16:11:21.467Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-10T16:11:21.467Z] total 16 [2023-01-10T16:11:21.467Z] drwxr-xr-x 3 root root 4096 Jan 10 16:04 . [2023-01-10T16:11:21.467Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 16:04 .. [2023-01-10T16:11:21.467Z] drwxr-xr-x 2 root root 4096 Jan 10 16:04 cost [2023-01-10T16:11:21.467Z] -rw-r--r-- 1 root root 86 Jan 10 16:04 cost.csv [2023-01-10T16:11:21.467Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-10T16:11:21.467Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-10T16:11:21.467Z] total 16 [2023-01-10T16:11:21.467Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 16:04 . [2023-01-10T16:11:21.467Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 16:04 .. [2023-01-10T16:11:21.467Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 16:04 cost [2023-01-10T16:11:21.467Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 10 16:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:11:21.762Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:11:22.622Z] ---> package-listing.sh [2023-01-10T16:11:22.622Z] ++ facter osfamily [2023-01-10T16:11:22.622Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T16:11:22.881Z] + OS_FAMILY=debian [2023-01-10T16:11:22.881Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-229 [2023-01-10T16:11:22.881Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T16:11:22.881Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T16:11:22.881Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T16:11:22.881Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T16:11:22.881Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2023-01-10T16:11:22.881Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T16:11:22.881Z] + case "${OS_FAMILY}" in [2023-01-10T16:11:22.881Z] + dpkg -l [2023-01-10T16:11:22.881Z] + grep '^ii' [2023-01-10T16:11:22.881Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T16:11:22.881Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T16:11:22.881Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T16:11:22.881Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2023-01-10T16:11:22.881Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [2023-01-10T16:11:22.881Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [Pipeline] echo [2023-01-10T16:11:22.891Z] 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-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T16:11:23.166Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T16:11:23.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T16:11:23.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T16:11:23.787Z] prd-ubuntu20.04-docker-8c-8g-1575 does not seem to be running inside a container [2023-01-10T16:11:23.810Z] $ 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-229/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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T16:11:24.303Z] $ docker top 275c78aa71c235f8686aeec3cdf068bb0823f8954157537eee162d0c260d161a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T16:11:24.643Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T16:11:24.932Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T16:11:25.214Z] + ls /var/log/sa-host [2023-01-10T16:11:25.214Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T16:11:25.359Z] provisioning config files... [2023-01-10T16:11:25.367Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config3084260404339382961tmp [Pipeline] { [Pipeline] echo [2023-01-10T16:11:25.381Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:11:25.662Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T16:11:25.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:11:26.004Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T16:11:26.011Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:11:26.295Z] ---> sudo-logs.sh [2023-01-10T16:11:26.295Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T16:11:26.325Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:11:26.614Z] ---> job-cost.sh [2023-01-10T16:11:26.614Z] lf-activate-venv: SKIPPING [2023-01-10T16:11:26.614Z] DEBUG: total: 0.2199999988079071 [2023-01-10T16:11:26.614Z] INFO: Retrieving Stack Cost... [2023-01-10T16:11:26.872Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T16:11:27.440Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T16:11:27.453Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T16:11:27.739Z] ---> logs-deploy.sh [2023-01-10T16:11:27.739Z] lf-activate-venv: SKIPPING [2023-01-10T16:11:27.739Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-229/9 [2023-01-10T16:11:27.739Z] INFO: archiving workspace using pattern(s): [2023-01-10T16:11:28.689Z] Archives upload complete. [2023-01-10T16:11:28.948Z] INFO: archiving logs to Nexus [2023-01-10T16:11:29.516Z] ---> uname -a: [2023-01-10T16:11:29.516Z] Linux prd-ubuntu20-04-docker-8c-8g-1575 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-01-10T16:11:29.516Z] [2023-01-10T16:11:29.516Z]