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+7d8e6f5ecbf08d53345d5c199887d0d319da1d2d (19a432ed611949b88b85eb47d40fc251e3c232ea) 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-ssh8992917487261527697.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-ssh13989740360237263575.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-ssh5126761563852313987.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-ssh15865298840307069368.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-ssh14492793895839505433.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2888’ Running on prd-ubuntu20.04-docker-8c-8g-2890 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 > 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 Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit ff6ce5c3090b2d908f9c26fedcc0482195c5264c Merge succeeded, producing 6080b04240aef5d4363153901ebd9e8e0df69f9f Checking out Revision 6080b04240aef5d4363153901ebd9e8e0df69f9f (PR-229) > 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 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6080b04240aef5d4363153901ebd9e8e0df69f9f # timeout=10 Commit message: "Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 4e396d58f1d2de6a2dab6773ae1b3f0a8d08ee35 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-18T06:57:32.222Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-18T06:57:32.280Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-18T06:57:32.296Z] ========================================================= [2023-01-18T06:57:32.296Z] EdgeX Global Pipelines Version Info [2023-01-18T06:57:32.296Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-18T06:57:33.014Z] ------------------- [2023-01-18T06:57:33.015Z] stable info: [2023-01-18T06:57:33.015Z] ------------------- [2023-01-18T06:57:33.015Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-18T06:57:33.015Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T06:57:33.015Z] Message: update stable to v1.0.244 [2023-01-18T06:57:33.586Z] ------------------- [2023-01-18T06:57:33.586Z] experimental info: [2023-01-18T06:57:33.586Z] ------------------- [2023-01-18T06:57:33.586Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-18T06:57:33.586Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T06:57:33.586Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-18T06:57:33.738Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-18T06:57:33.749Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-18T06:57:33.759Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-18T06:57:33.768Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-18T06:57:33.781Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-18T06:57:33.790Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-18T06:57:33.800Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-18T06:57:33.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-18T06:57:33.818Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-18T06:57:33.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-18T06:57:33.837Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-18T06:57:33.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-18T06:57:33.856Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-18T06:57:33.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-18T06:57:33.875Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-18T06:57:33.886Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-18T06:57:33.899Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T06:57:33.914Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T06:57:33.926Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-18T06:57:33.942Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-18T06:57:33.951Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-18T06:57:33.959Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-18T06:57:33.968Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-18T06:57:33.976Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-18T06:57:33.985Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-18T06:57:34.001Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-18T06:57:34.012Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-18T06:57:34.025Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo [2023-01-18T06:57:34.037Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo [2023-01-18T06:57:34.050Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo [2023-01-18T06:57:34.060Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6080b04240aef5d4363153901ebd9e8e0df69f9f [Pipeline] echo [2023-01-18T06:57:34.072Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6080b04 [Pipeline] echo [2023-01-18T06:57:34.084Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T06:57:34.128Z] provisioning config files... [2023-01-18T06:57:34.140Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config12716898554320536437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T06:57:34.438Z] ---> docker-login.sh [2023-01-18T06:57:34.438Z] nexus3.edgexfoundry.org:10001 [2023-01-18T06:57:34.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T06:57:34.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T06:57:34.699Z] Configure a credential helper to remove this warning. See [2023-01-18T06:57:34.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T06:57:34.699Z] [2023-01-18T06:57:34.699Z] Login Succeeded [2023-01-18T06:57:34.959Z] nexus3.edgexfoundry.org:10002 [2023-01-18T06:57:34.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T06:57:34.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T06:57:34.959Z] Configure a credential helper to remove this warning. See [2023-01-18T06:57:34.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T06:57:34.959Z] [2023-01-18T06:57:34.959Z] Login Succeeded [2023-01-18T06:57:34.959Z] nexus3.edgexfoundry.org:10003 [2023-01-18T06:57:34.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T06:57:34.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T06:57:34.959Z] Configure a credential helper to remove this warning. See [2023-01-18T06:57:34.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T06:57:34.959Z] [2023-01-18T06:57:34.960Z] Login Succeeded [2023-01-18T06:57:34.960Z] nexus3.edgexfoundry.org:10004 [2023-01-18T06:57:35.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T06:57:35.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T06:57:35.220Z] Configure a credential helper to remove this warning. See [2023-01-18T06:57:35.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T06:57:35.220Z] [2023-01-18T06:57:35.220Z] Login Succeeded [2023-01-18T06:57:35.221Z] docker.io [2023-01-18T06:57:35.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T06:57:35.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T06:57:35.481Z] Configure a credential helper to remove this warning. See [2023-01-18T06:57:35.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T06:57:35.481Z] [2023-01-18T06:57:35.481Z] Login Succeeded [2023-01-18T06:57:35.481Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T06:57:35.490Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-18T06:57:35.893Z] + git rev-list -1 --merges 6080b04240aef5d4363153901ebd9e8e0df69f9f~1..6080b04240aef5d4363153901ebd9e8e0df69f9f [Pipeline] echo [2023-01-18T06:57:35.942Z] -----------> git rev-list -1 --merges 6080b04240aef5d4363153901ebd9e8e0df69f9f~1..6080b04240aef5d4363153901ebd9e8e0df69f9f 6080b04240aef5d4363153901ebd9e8e0df69f9f [2023-01-18T06:57:35.942Z] 6080b04240aef5d4363153901ebd9e8e0df69f9f [false] [Pipeline] sh [2023-01-18T06:57:36.233Z] + git log --format=format:%s -1 6080b04240aef5d4363153901ebd9e8e0df69f9f [Pipeline] echo [2023-01-18T06:57:36.251Z] ========================================================= [2023-01-18T06:57:36.251Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-18T06:57:36.251Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T06:57:36.577Z] + git log --format=format:%s -1 6080b04240aef5d4363153901ebd9e8e0df69f9f [Pipeline] echo [2023-01-18T06:57:36.591Z] [semverPrep] GIT_COMMIT: 6080b04240aef5d4363153901ebd9e8e0df69f9f, Commit Message: Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD [Pipeline] echo [2023-01-18T06:57:36.601Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-18T06:57:36.971Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-18T06:57:36.971Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-18T06:57:36.971Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-18T06:57:36.971Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-18T06:57:36.971Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-18T06:57:36.971Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-18T06:57:36.971Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T06:57:37.396Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T06:57:37.396Z] [2023-01-18T06:57:37.396Z] 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-18T06:57:37.700Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T06:57:37.700Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-18T06:57:37.700Z] b85a868b505f: Pulling fs layer [2023-01-18T06:57:37.700Z] e2be974225ed: Pulling fs layer [2023-01-18T06:57:37.700Z] 339a4e72a1f5: Pulling fs layer [2023-01-18T06:57:37.700Z] 988bab9f4d93: Pulling fs layer [2023-01-18T06:57:37.700Z] 1469e6f7b9e6: Pulling fs layer [2023-01-18T06:57:37.700Z] eaf3925da568: Pulling fs layer [2023-01-18T06:57:37.700Z] bab4dde63d76: Pulling fs layer [2023-01-18T06:57:37.700Z] bde34c3a00c8: Pulling fs layer [2023-01-18T06:57:37.700Z] b352a97aabf1: Pulling fs layer [2023-01-18T06:57:37.700Z] 4872d77fe225: Pulling fs layer [2023-01-18T06:57:37.700Z] 5851b861e8e6: Pulling fs layer [2023-01-18T06:57:37.700Z] 1469e6f7b9e6: Waiting [2023-01-18T06:57:37.700Z] eaf3925da568: Waiting [2023-01-18T06:57:37.700Z] bab4dde63d76: Waiting [2023-01-18T06:57:37.700Z] bde34c3a00c8: Waiting [2023-01-18T06:57:37.700Z] b352a97aabf1: Waiting [2023-01-18T06:57:37.700Z] 4872d77fe225: Waiting [2023-01-18T06:57:37.700Z] 5851b861e8e6: Waiting [2023-01-18T06:57:37.700Z] e2be974225ed: Verifying Checksum [2023-01-18T06:57:37.700Z] e2be974225ed: Download complete [2023-01-18T06:57:37.700Z] 988bab9f4d93: Download complete [2023-01-18T06:57:37.967Z] 1469e6f7b9e6: Verifying Checksum [2023-01-18T06:57:37.967Z] 1469e6f7b9e6: Download complete [2023-01-18T06:57:37.967Z] eaf3925da568: Download complete [2023-01-18T06:57:37.967Z] 339a4e72a1f5: Verifying Checksum [2023-01-18T06:57:37.967Z] 339a4e72a1f5: Download complete [2023-01-18T06:57:38.227Z] bde34c3a00c8: Download complete [2023-01-18T06:57:38.227Z] b85a868b505f: Verifying Checksum [2023-01-18T06:57:38.227Z] b85a868b505f: Download complete [2023-01-18T06:57:38.227Z] b352a97aabf1: Verifying Checksum [2023-01-18T06:57:38.227Z] b352a97aabf1: Download complete [2023-01-18T06:57:38.227Z] 4872d77fe225: Verifying Checksum [2023-01-18T06:57:38.227Z] 4872d77fe225: Download complete [2023-01-18T06:57:38.227Z] 5851b861e8e6: Download complete [2023-01-18T06:57:38.490Z] bab4dde63d76: Verifying Checksum [2023-01-18T06:57:38.490Z] bab4dde63d76: Download complete [2023-01-18T06:57:39.435Z] b85a868b505f: Pull complete [2023-01-18T06:57:39.435Z] e2be974225ed: Pull complete [2023-01-18T06:57:40.003Z] 339a4e72a1f5: Pull complete [2023-01-18T06:57:40.003Z] 988bab9f4d93: Pull complete [2023-01-18T06:57:40.263Z] 1469e6f7b9e6: Pull complete [2023-01-18T06:57:40.263Z] eaf3925da568: Pull complete [2023-01-18T06:57:42.162Z] bab4dde63d76: Pull complete [2023-01-18T06:57:42.162Z] bde34c3a00c8: Pull complete [2023-01-18T06:57:42.162Z] b352a97aabf1: Pull complete [2023-01-18T06:57:42.421Z] 4872d77fe225: Pull complete [2023-01-18T06:57:42.421Z] 5851b861e8e6: Pull complete [2023-01-18T06:57:42.421Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-18T06:57:42.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T06:57:42.421Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T06:57:42.513Z] prd-ubuntu20.04-docker-8c-8g-2890 does not seem to be running inside a container [2023-01-18T06:57:42.544Z] $ 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-18T06:57:43.745Z] $ docker top c5f65af6e46061bc9a272f6a272d8fb1e957b1ecd598821f53cc04e864a34251 -eo pid,comm [2023-01-18T06:57:43.809Z] 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-18T06:57:43.809Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-18T06:57:43.843Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-18T06:57:43.843Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-18T06:57:43.967Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-18T06:57:43.966Z] $ docker exec c5f65af6e46061bc9a272f6a272d8fb1e957b1ecd598821f53cc04e864a34251 ssh-agent [2023-01-18T06:57:44.079Z] SSH_AUTH_SOCK=/tmp/ssh-61i0bfurzTZJ/agent.32 [2023-01-18T06:57:44.079Z] SSH_AGENT_PID=38 [2023-01-18T06:57:44.088Z] Running ssh-add (command line suppressed) [2023-01-18T06:57:44.196Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_10049072094006559095.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_10049072094006559095.key) [2023-01-18T06:57:44.214Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-18T06:57:44.503Z] + git tag --points-at HEAD [Pipeline] } [2023-01-18T06:57:44.516Z] $ docker exec --env ******** --env ******** c5f65af6e46061bc9a272f6a272d8fb1e957b1ecd598821f53cc04e864a34251 ssh-agent -k [2023-01-18T06:57:44.610Z] unset SSH_AUTH_SOCK; [2023-01-18T06:57:44.611Z] unset SSH_AGENT_PID; [2023-01-18T06:57:44.611Z] echo Agent pid 38 killed; [2023-01-18T06:57:44.625Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-18T06:57:44.646Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-18T06:57:44.646Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-18T06:57:44.761Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-18T06:57:44.760Z] $ docker exec c5f65af6e46061bc9a272f6a272d8fb1e957b1ecd598821f53cc04e864a34251 ssh-agent [2023-01-18T06:57:44.890Z] SSH_AUTH_SOCK=/tmp/ssh-DqZduOAZaOOx/agent.70 [2023-01-18T06:57:44.890Z] SSH_AGENT_PID=76 [2023-01-18T06:57:44.896Z] Running ssh-add (command line suppressed) [2023-01-18T06:57:45.010Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_17826151976803137893.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_17826151976803137893.key) [2023-01-18T06:57:45.029Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-18T06:57:45.320Z] + git semver init [2023-01-18T06:57:45.579Z] 2023-01-18 06:57:45,489 [run_init] DEBUG init version:0.0.0 force:False [2023-01-18T06:57:45.579Z] 2023-01-18 06:57:45,490 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2023-01-18T06:57:45.579Z] 2023-01-18 06:57:45,490 [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-18T06:57:45.580Z] 2023-01-18 06:57:45,490 [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-18T06:57:46.523Z] 2023-01-18 06:57:46,484 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.git/info/exclude [2023-01-18T06:57:46.523Z] 2023-01-18 06:57:46,485 [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-18T06:57:46.523Z] 2023-01-18 06:57:46,485 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2023-01-18T06:57:46.523Z] 2023-01-18 06:57:46,489 [execute] INFO git cat-file --batch-check [2023-01-18T06:57:46.523Z] 2023-01-18 06:57:46,490 [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-18T06:57:46.523Z] 2023-01-18 06:57:46,496 [execute] INFO git cat-file --batch [2023-01-18T06:57:46.523Z] 2023-01-18 06:57:46,496 [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-18T06:57:46.523Z] 2023-01-18 06:57:46,501 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2023-01-18T06:57:46.523Z] 0.0.0 [Pipeline] } [2023-01-18T06:57:46.530Z] $ docker exec --env ******** --env ******** c5f65af6e46061bc9a272f6a272d8fb1e957b1ecd598821f53cc04e864a34251 ssh-agent -k [2023-01-18T06:57:46.629Z] unset SSH_AUTH_SOCK; [2023-01-18T06:57:46.630Z] unset SSH_AGENT_PID; [2023-01-18T06:57:46.630Z] echo Agent pid 76 killed; [2023-01-18T06:57:46.642Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-18T06:57:46.941Z] + git semver [Pipeline] } [2023-01-18T06:57:47.213Z] $ docker stop --time=1 c5f65af6e46061bc9a272f6a272d8fb1e957b1ecd598821f53cc04e864a34251 [2023-01-18T06:57:48.521Z] $ docker rm -f --volumes c5f65af6e46061bc9a272f6a272d8fb1e957b1ecd598821f53cc04e864a34251 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T06:57:48.866Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-18T06:57:49.071Z] Stashed 1 file(s) [Pipeline] echo [2023-01-18T06:57:49.074Z] [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-18T06:57:49.216Z] provisioning config files... [2023-01-18T06:57:49.224Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config15892943696584072077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T06:57:49.524Z] ---> docker-login.sh [2023-01-18T06:57:49.524Z] nexus3.edgexfoundry.org:10001 [2023-01-18T06:57:49.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T06:57:49.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T06:57:49.524Z] Configure a credential helper to remove this warning. See [2023-01-18T06:57:49.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T06:57:49.524Z] [2023-01-18T06:57:49.524Z] Login Succeeded [2023-01-18T06:57:49.524Z] nexus3.edgexfoundry.org:10002 [2023-01-18T06:57:49.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T06:57:49.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T06:57:49.524Z] Configure a credential helper to remove this warning. See [2023-01-18T06:57:49.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T06:57:49.524Z] [2023-01-18T06:57:49.524Z] Login Succeeded [2023-01-18T06:57:49.524Z] nexus3.edgexfoundry.org:10003 [2023-01-18T06:57:49.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T06:57:49.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T06:57:49.798Z] Configure a credential helper to remove this warning. See [2023-01-18T06:57:49.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T06:57:49.798Z] [2023-01-18T06:57:49.798Z] Login Succeeded [2023-01-18T06:57:49.798Z] nexus3.edgexfoundry.org:10004 [2023-01-18T06:57:49.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T06:57:49.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T06:57:49.798Z] Configure a credential helper to remove this warning. See [2023-01-18T06:57:49.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T06:57:49.798Z] [2023-01-18T06:57:49.798Z] Login Succeeded [2023-01-18T06:57:49.798Z] docker.io [2023-01-18T06:57:50.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T06:57:50.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T06:57:50.057Z] Configure a credential helper to remove this warning. See [2023-01-18T06:57:50.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T06:57:50.057Z] [2023-01-18T06:57:50.057Z] Login Succeeded [2023-01-18T06:57:50.057Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T06:57:50.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-18T06:57:50.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T06:57:50.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T06:57:50.139Z] ========================================================= [2023-01-18T06:57:50.139Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-18T06:57:50.139Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T06:57:50.455Z] + 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-18T06:57:50.455Z] Sending build context to Docker daemon 10.82MB [2023-01-18T06:57:50.455Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T06:57:50.455Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-18T06:57:50.455Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-18T06:57:50.455Z] 213ec9aee27d: Pulling fs layer [2023-01-18T06:57:50.455Z] 4583459ba037: Pulling fs layer [2023-01-18T06:57:50.455Z] 93c1e223e6f2: Pulling fs layer [2023-01-18T06:57:50.455Z] 53926ce57604: Pulling fs layer [2023-01-18T06:57:50.455Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-18T06:57:50.455Z] 22ff95d597cd: Pulling fs layer [2023-01-18T06:57:50.455Z] 12d6caf4c0d1: Pulling fs layer [2023-01-18T06:57:50.455Z] 96b7cbca73a9: Pulling fs layer [2023-01-18T06:57:50.455Z] a7acece74701: Pulling fs layer [2023-01-18T06:57:50.455Z] 53926ce57604: Waiting [2023-01-18T06:57:50.455Z] 21b2b0c7a3f4: Waiting [2023-01-18T06:57:50.455Z] 22ff95d597cd: Waiting [2023-01-18T06:57:50.455Z] a7acece74701: Waiting [2023-01-18T06:57:50.455Z] 12d6caf4c0d1: Waiting [2023-01-18T06:57:50.455Z] 93c1e223e6f2: Verifying Checksum [2023-01-18T06:57:50.455Z] 93c1e223e6f2: Download complete [2023-01-18T06:57:50.455Z] 4583459ba037: Verifying Checksum [2023-01-18T06:57:50.455Z] 4583459ba037: Download complete [2023-01-18T06:57:50.455Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-18T06:57:50.721Z] 22ff95d597cd: Verifying Checksum [2023-01-18T06:57:50.721Z] 22ff95d597cd: Download complete [2023-01-18T06:57:50.721Z] 213ec9aee27d: Verifying Checksum [2023-01-18T06:57:50.721Z] 213ec9aee27d: Download complete [2023-01-18T06:57:50.721Z] 12d6caf4c0d1: Download complete [2023-01-18T06:57:50.721Z] 213ec9aee27d: Pull complete [2023-01-18T06:57:51.002Z] 4583459ba037: Pull complete [2023-01-18T06:57:51.002Z] 93c1e223e6f2: Pull complete [2023-01-18T06:57:52.022Z] a7acece74701: Verifying Checksum [2023-01-18T06:57:52.022Z] a7acece74701: Download complete [2023-01-18T06:57:52.022Z] 53926ce57604: Verifying Checksum [2023-01-18T06:57:52.022Z] 53926ce57604: Download complete [2023-01-18T06:57:52.280Z] 96b7cbca73a9: Verifying Checksum [2023-01-18T06:57:52.280Z] 96b7cbca73a9: Download complete [2023-01-18T06:57:56.470Z] 53926ce57604: Pull complete [2023-01-18T06:57:56.470Z] 21b2b0c7a3f4: Pull complete [2023-01-18T06:57:56.470Z] 22ff95d597cd: Pull complete [2023-01-18T06:57:56.470Z] 12d6caf4c0d1: Pull complete [2023-01-18T06:57:58.368Z] 96b7cbca73a9: Pull complete [2023-01-18T06:57:58.934Z] a7acece74701: Pull complete [2023-01-18T06:57:58.934Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-18T06:57:58.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-18T06:57:58.934Z] ---> db6d94c90886 [2023-01-18T06:57:58.934Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-18T06:58:00.313Z] ---> Running in b7060427e46d [2023-01-18T06:58:00.571Z] Removing intermediate container b7060427e46d [2023-01-18T06:58:00.571Z] ---> 528833db38fc [2023-01-18T06:58:00.571Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T06:58:00.571Z] ---> Running in 537891387b49 [2023-01-18T06:58:00.571Z] Removing intermediate container 537891387b49 [2023-01-18T06:58:00.571Z] ---> 2717091aba7e [2023-01-18T06:58:00.571Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T06:58:00.571Z] ---> Running in 5cee0be8861c [2023-01-18T06:58:00.830Z] Removing intermediate container 5cee0be8861c [2023-01-18T06:58:00.830Z] ---> 18179f404d8d [2023-01-18T06:58:00.830Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T06:58:00.830Z] ---> Running in 327768584ce5 [2023-01-18T06:58:00.830Z] Removing intermediate container 327768584ce5 [2023-01-18T06:58:00.830Z] ---> 845e784d3466 [2023-01-18T06:58:00.830Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T06:58:00.831Z] ---> Running in 3ba9dfd02817 [2023-01-18T06:58:01.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T06:58:01.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T06:58:01.607Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-18T06:58:01.607Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-18T06:58:01.607Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-18T06:58:01.607Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-18T06:58:01.607Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T06:58:01.607Z] OK: 216 MiB in 55 packages [2023-01-18T06:58:02.176Z] Removing intermediate container 3ba9dfd02817 [2023-01-18T06:58:02.176Z] ---> 47d1c6bc03c8 [2023-01-18T06:58:02.176Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-18T06:58:02.176Z] ---> Running in 320f85f650d6 [2023-01-18T06:58:02.176Z] Removing intermediate container 320f85f650d6 [2023-01-18T06:58:02.176Z] ---> cc94c6ea749f [2023-01-18T06:58:02.176Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-18T06:58:02.176Z] ---> 248f8d4b0168 [2023-01-18T06:58:02.176Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T06:58:02.435Z] ---> Running in 658a408bf30b [2023-01-18T06:58:04.162Z] Still waiting to schedule task [2023-01-18T06:58:04.162Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2889’ [2023-01-18T06:58:20.676Z] Removing intermediate container 658a408bf30b [2023-01-18T06:58:20.676Z] ---> 98d250e6661d [2023-01-18T06:58:20.676Z] Step 11/12 : COPY . . [2023-01-18T06:58:20.676Z] ---> c57d49204d87 [2023-01-18T06:58:20.676Z] Step 12/12 : RUN $MAKE [2023-01-18T06:58:20.676Z] ---> Running in d96f0f0e87b4 [2023-01-18T06:58:20.676Z] noop [2023-01-18T06:58:20.676Z] Removing intermediate container d96f0f0e87b4 [2023-01-18T06:58:20.676Z] ---> 95a3f4592e2d [2023-01-18T06:58:20.676Z] Successfully built 95a3f4592e2d [2023-01-18T06:58:20.676Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T06:58:20.984Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-18T06:58:20.984Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T06:58:21.052Z] prd-ubuntu20.04-docker-8c-8g-2890 does not seem to be running inside a container [2023-01-18T06:58:21.080Z] $ 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-18T06:58:21.405Z] $ docker top b93a69a6245bb3125e6adb68eae7f4dd7360df253182e86ddea26bf51c2de9fd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T06:58:21.746Z] + go version [2023-01-18T06:58:21.746Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-18T06:58:21.756Z] $ docker stop --time=1 b93a69a6245bb3125e6adb68eae7f4dd7360df253182e86ddea26bf51c2de9fd [2023-01-18T06:58:23.060Z] $ docker rm -f --volumes b93a69a6245bb3125e6adb68eae7f4dd7360df253182e86ddea26bf51c2de9fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T06:58:23.438Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-18T06:58:23.438Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T06:58:23.510Z] prd-ubuntu20.04-docker-8c-8g-2890 does not seem to be running inside a container [2023-01-18T06:58:23.538Z] $ 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-18T06:58:23.866Z] $ docker top 25893b4612055f8428d6fd3004ac7276ed06eff94f6fd6d36a570a8c9a72bd0e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T06:58:24.198Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] fileExists [Pipeline] sh [2023-01-18T06:58:24.497Z] + make test [2023-01-18T06:58:24.497Z] go test ./... -coverprofile=coverage.out ./... [2023-01-18T06:58:24.755Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-18T06:58:34.719Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-18T06:58:34.719Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 26.8% of statements [2023-01-18T06:58:41.288Z] 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-18T06:58:41.288Z] go vet ./... [2023-01-18T06:58:44.586Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-18T06:58:44.586Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-18T06:58:44.586Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-18T06:58:44.606Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-18T06:58:44.619Z] $ docker stop --time=1 25893b4612055f8428d6fd3004ac7276ed06eff94f6fd6d36a570a8c9a72bd0e [2023-01-18T06:58:46.182Z] $ docker rm -f --volumes 25893b4612055f8428d6fd3004ac7276ed06eff94f6fd6d36a570a8c9a72bd0e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T06:58:46.622Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-18T06:58:46.667Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-18T06:58:47.183Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-18T06:58:47.471Z] + ls -al . [2023-01-18T06:58:47.471Z] total 200 [2023-01-18T06:58:47.471Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 18 06:58 . [2023-01-18T06:58:47.471Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 06:57 .. [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 18 06:57 .dockerignore [2023-01-18T06:58:47.471Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 06:58 .git [2023-01-18T06:58:47.471Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 06:57 .github [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 18 06:57 .gitignore [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 18 06:57 .golangci.yml [2023-01-18T06:58:47.471Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 06:57 .semver [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 18 06:57 Attribution.txt [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 18 06:57 CHANGELOG.md [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 18 06:57 Dockerfile [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 06:57 GOVERNANCE.md [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 18 06:57 Jenkinsfile [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 18 06:57 LICENSE [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 18 06:57 Makefile [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 18 06:57 OWNERS.md [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 12657 Jan 18 06:57 README.md [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 06:57 VERSION [2023-01-18T06:58:47.471Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 06:57 bin [2023-01-18T06:58:47.471Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 06:57 cmd [2023-01-18T06:58:47.471Z] -rw-r--r-- 1 jenkins jenkins 18351 Jan 18 06:58 coverage.out [2023-01-18T06:58:47.471Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 06:57 driver [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 18 06:57 go.mod [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 18 06:57 go.sum [2023-01-18T06:58:47.471Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 06:57 snap [2023-01-18T06:58:47.471Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 18 06:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T06:58:47.784Z] + 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=6080b04240aef5d4363153901ebd9e8e0df69f9f --label arch=amd64 --label version=0.0.0 . [2023-01-18T06:58:47.784Z] Sending build context to Docker daemon 10.84MB [2023-01-18T06:58:47.784Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T06:58:47.784Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-18T06:58:47.784Z] ---> 95a3f4592e2d [2023-01-18T06:58:47.784Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-18T06:58:47.784Z] ---> Running in 1c6cc4e2c935 [2023-01-18T06:58:47.784Z] Removing intermediate container 1c6cc4e2c935 [2023-01-18T06:58:47.784Z] ---> 61e4cd2585e9 [2023-01-18T06:58:47.784Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T06:58:48.044Z] ---> Running in 2676dd4b0615 [2023-01-18T06:58:48.044Z] Removing intermediate container 2676dd4b0615 [2023-01-18T06:58:48.044Z] ---> 067718a459cf [2023-01-18T06:58:48.044Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T06:58:48.044Z] ---> Running in 248698f1bc07 [2023-01-18T06:58:48.044Z] Removing intermediate container 248698f1bc07 [2023-01-18T06:58:48.044Z] ---> 54a563c0d5c7 [2023-01-18T06:58:48.044Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T06:58:48.044Z] ---> Running in 95b739129eeb [2023-01-18T06:58:48.304Z] Removing intermediate container 95b739129eeb [2023-01-18T06:58:48.304Z] ---> 914ab449b2c9 [2023-01-18T06:58:48.304Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T06:58:48.304Z] ---> Running in ebf7d50ed4ff [2023-01-18T06:58:48.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T06:58:48.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T06:58:48.821Z] OK: 216 MiB in 55 packages [2023-01-18T06:58:49.387Z] Removing intermediate container ebf7d50ed4ff [2023-01-18T06:58:49.387Z] ---> 1a06c160a218 [2023-01-18T06:58:49.387Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-18T06:58:49.387Z] ---> Running in 18580bf9c3c7 [2023-01-18T06:58:49.387Z] Removing intermediate container 18580bf9c3c7 [2023-01-18T06:58:49.387Z] ---> 4adb1e51b553 [2023-01-18T06:58:49.387Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-18T06:58:49.387Z] ---> 83af6b433a60 [2023-01-18T06:58:49.387Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T06:58:49.387Z] ---> Running in ed75053e1ff9 [2023-01-18T06:58:50.324Z] Removing intermediate container ed75053e1ff9 [2023-01-18T06:58:50.324Z] ---> fad77d05494c [2023-01-18T06:58:50.324Z] Step 11/25 : COPY . . [2023-01-18T06:58:50.324Z] ---> b15c0586bb4a [2023-01-18T06:58:50.324Z] Step 12/25 : RUN $MAKE [2023-01-18T06:58:50.324Z] ---> Running in d600e58d19d8 [2023-01-18T06:58:50.584Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-01-18T06:59:08.683Z] Removing intermediate container d600e58d19d8 [2023-01-18T06:59:08.683Z] ---> 01755bbe80e0 [2023-01-18T06:59:08.683Z] Step 13/25 : FROM alpine:3.16 [2023-01-18T06:59:09.285Z] 3.16: Pulling from library/alpine [2023-01-18T06:59:09.285Z] ca7dd9ec2225: Pulling fs layer [2023-01-18T06:59:09.846Z] ca7dd9ec2225: Verifying Checksum [2023-01-18T06:59:09.846Z] ca7dd9ec2225: Download complete [2023-01-18T06:59:09.846Z] ca7dd9ec2225: Pull complete [2023-01-18T06:59:09.846Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-18T06:59:09.846Z] Status: Downloaded newer image for alpine:3.16 [2023-01-18T06:59:09.846Z] ---> bfe296a52501 [2023-01-18T06:59:09.846Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-18T06:59:09.846Z] ---> Running in be25cfe73526 [2023-01-18T06:59:09.846Z] Removing intermediate container be25cfe73526 [2023-01-18T06:59:09.846Z] ---> 0b318c42717f [2023-01-18T06:59:09.846Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-18T06:59:09.846Z] ---> Running in 4debf9173c31 [2023-01-18T06:59:09.846Z] Removing intermediate container 4debf9173c31 [2023-01-18T06:59:09.846Z] ---> f7d62c68678b [2023-01-18T06:59:09.846Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-18T06:59:09.846Z] ---> Running in 272bb54c053c [2023-01-18T06:59:10.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T06:59:10.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T06:59:10.668Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-18T06:59:10.668Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T06:59:10.668Z] OK: 6 MiB in 15 packages [2023-01-18T06:59:11.237Z] Removing intermediate container 272bb54c053c [2023-01-18T06:59:11.237Z] ---> 0ba0d3a93f43 [2023-01-18T06:59:11.237Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-18T06:59:12.190Z] ---> 3b11839ff2ea [2023-01-18T06:59:12.190Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-18T06:59:12.545Z] ---> 4c0c32342ebb [2023-01-18T06:59:12.546Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-18T06:59:12.546Z] ---> 90758563d139 [2023-01-18T06:59:12.546Z] Step 20/25 : EXPOSE 59986 [2023-01-18T06:59:12.546Z] ---> Running in 98918cee5b50 [2023-01-18T06:59:12.546Z] Removing intermediate container 98918cee5b50 [2023-01-18T06:59:12.546Z] ---> 9d78da2447d8 [2023-01-18T06:59:12.546Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-18T06:59:12.901Z] ---> Running in aa7976227dbd [2023-01-18T06:59:12.901Z] Removing intermediate container aa7976227dbd [2023-01-18T06:59:12.901Z] ---> deb5b700d4b0 [2023-01-18T06:59:12.901Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-18T06:59:12.901Z] ---> Running in fcbfae0fa59d [2023-01-18T06:59:12.901Z] Removing intermediate container fcbfae0fa59d [2023-01-18T06:59:12.901Z] ---> 93717f16c898 [2023-01-18T06:59:12.901Z] Step 23/25 : LABEL arch=amd64 [2023-01-18T06:59:12.901Z] ---> Running in 3c8d89975cc6 [2023-01-18T06:59:12.901Z] Removing intermediate container 3c8d89975cc6 [2023-01-18T06:59:12.901Z] ---> ff9358f16292 [2023-01-18T06:59:12.901Z] Step 24/25 : LABEL git_sha=6080b04240aef5d4363153901ebd9e8e0df69f9f [2023-01-18T06:59:12.901Z] ---> Running in 0dcb8b6a6f50 [2023-01-18T06:59:13.162Z] Removing intermediate container 0dcb8b6a6f50 [2023-01-18T06:59:13.162Z] ---> 0cedc04dea40 [2023-01-18T06:59:13.162Z] Step 25/25 : LABEL version=0.0.0 [2023-01-18T06:59:13.162Z] ---> Running in 93d9f6b993ba [2023-01-18T06:59:13.162Z] Removing intermediate container 93d9f6b993ba [2023-01-18T06:59:13.162Z] ---> 8c982f30c460 [2023-01-18T06:59:13.162Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-18T06:59:13.162Z] Successfully built 8c982f30c460 [2023-01-18T06:59:13.162Z] 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-18T06:59:13.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T06:59:13.616Z] [2023-01-18T06:59:13.616Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T06:59:13.936Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T06:59:13.936Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-18T06:59:13.936Z] 5eb5b503b376: Pulling fs layer [2023-01-18T06:59:13.936Z] 5c69ac0246d0: Pulling fs layer [2023-01-18T06:59:13.936Z] ec43610c2a17: Pulling fs layer [2023-01-18T06:59:13.936Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-18T06:59:13.936Z] 33b1e0a273af: Pulling fs layer [2023-01-18T06:59:13.936Z] 5d3b04190fa2: Pulling fs layer [2023-01-18T06:59:13.936Z] 2f39f015ded8: Pulling fs layer [2023-01-18T06:59:13.936Z] 3a2ae6a8a46f: Waiting [2023-01-18T06:59:13.936Z] 33b1e0a273af: Waiting [2023-01-18T06:59:13.936Z] 2f39f015ded8: Waiting [2023-01-18T06:59:13.936Z] 5d3b04190fa2: Waiting [2023-01-18T06:59:13.936Z] 5c69ac0246d0: Verifying Checksum [2023-01-18T06:59:13.936Z] 5c69ac0246d0: Download complete [2023-01-18T06:59:13.936Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-18T06:59:13.936Z] 3a2ae6a8a46f: Download complete [2023-01-18T06:59:14.198Z] 33b1e0a273af: Verifying Checksum [2023-01-18T06:59:14.198Z] 33b1e0a273af: Download complete [2023-01-18T06:59:14.198Z] 5d3b04190fa2: Verifying Checksum [2023-01-18T06:59:14.198Z] 5d3b04190fa2: Download complete [2023-01-18T06:59:14.198Z] ec43610c2a17: Verifying Checksum [2023-01-18T06:59:14.198Z] ec43610c2a17: Download complete [2023-01-18T06:59:14.458Z] 5eb5b503b376: Download complete [2023-01-18T06:59:15.415Z] 2f39f015ded8: Download complete [2023-01-18T06:59:15.673Z] 5eb5b503b376: Pull complete [2023-01-18T06:59:15.673Z] 5c69ac0246d0: Pull complete [2023-01-18T06:59:16.250Z] ec43610c2a17: Pull complete [2023-01-18T06:59:16.250Z] 3a2ae6a8a46f: Pull complete [2023-01-18T06:59:16.509Z] 33b1e0a273af: Pull complete [2023-01-18T06:59:16.509Z] 5d3b04190fa2: Pull complete [2023-01-18T06:59:21.035Z] 2f39f015ded8: Pull complete [2023-01-18T06:59:21.035Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-18T06:59:21.035Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T06:59:21.035Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T06:59:21.131Z] prd-ubuntu20.04-docker-8c-8g-2890 does not seem to be running inside a container [2023-01-18T06:59:21.162Z] $ 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-18T06:59:22.329Z] $ docker top 3b746ad3571fd524fe6ae6c2282acf2f54e1cffad1b66015bda34e9c076ea26c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T06:59:23.116Z] ---> job-cost.sh [2023-01-18T06:59:23.116Z] lf-activate-venv: SKIPPING [2023-01-18T06:59:23.116Z] INFO: No Stack... [2023-01-18T06:59:23.376Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-18T06:59:23.635Z] INFO: Archiving Costs [Pipeline] sh [2023-01-18T06:59:23.948Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-229/archives/cost.csv [2023-01-18T06:59:23.948Z] + cut -d, -f6 [Pipeline] lock [2023-01-18T06:59:23.959Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-13-stack-cost] [2023-01-18T06:59:23.964Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-13-stack-cost] did not exist. Created. [2023-01-18T06:59:23.964Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-18T06:59:24.279Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-18T06:59:24.308Z] Stashed 1 file(s) [Pipeline] } [2023-01-18T06:59:24.314Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-13-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-18T06:59:24.341Z] $ docker stop --time=1 3b746ad3571fd524fe6ae6c2282acf2f54e1cffad1b66015bda34e9c076ea26c [2023-01-18T06:59:25.490Z] $ docker rm -f --volumes 3b746ad3571fd524fe6ae6c2282acf2f54e1cffad1b66015bda34e9c076ea26c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-18T07:01:40.716Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2891 in /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] { [Pipeline] ws [2023-01-18T07:01:40.728Z] Running in /w/workspace/device-rest-go/13 [Pipeline] { [Pipeline] checkout [2023-01-18T07:01:40.778Z] The recommended git tool is: git [2023-01-18T07:01:51.280Z] using credential edgex-jenkins-ssh [2023-01-18T07:01:51.299Z] Cloning the remote Git repository [2023-01-18T07:01:51.361Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-18T07:01:51.489Z] > git init /w/workspace/device-rest-go/13 # timeout=10 [2023-01-18T07:01:51.712Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-18T07:01:51.713Z] > git --version # timeout=10 [2023-01-18T07:01:51.747Z] > git --version # 'git version 2.25.1' [2023-01-18T07:01:51.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T07:01:51.834Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-18T07:01:53.715Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-18T07:01:53.738Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-18T07:01:54.558Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-18T07:01:54.612Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-18T07:01:54.613Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T07:01:54.627Z] > 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-18T07:01:55.245Z] Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit ff6ce5c3090b2d908f9c26fedcc0482195c5264c [2023-01-18T07:01:55.499Z] Merge succeeded, producing 939fcac84ab68858f7c2a17ce4194403d8f19198 [2023-01-18T07:01:55.499Z] Checking out Revision 939fcac84ab68858f7c2a17ce4194403d8f19198 (PR-229) [2023-01-18T07:01:55.264Z] > git config core.sparsecheckout # timeout=10 [2023-01-18T07:01:55.287Z] > git checkout -f ff6ce5c3090b2d908f9c26fedcc0482195c5264c # timeout=10 [2023-01-18T07:01:55.367Z] > git remote # timeout=10 [2023-01-18T07:01:55.384Z] > git config --get remote.origin.url # timeout=10 [2023-01-18T07:01:55.400Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T07:01:55.412Z] > git merge 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 [2023-01-18T07:01:55.480Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-18T07:01:55.507Z] > git config core.sparsecheckout # timeout=10 [2023-01-18T07:01:55.522Z] > git checkout -f 939fcac84ab68858f7c2a17ce4194403d8f19198 # timeout=10 [2023-01-18T07:01:59.020Z] Commit message: "Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD" [2023-01-18T07:01:59.046Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T07:02:00.049Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-18T07:02:00.049Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-18T07:02:00.049Z] Dload Upload Total Spent Left Speed [2023-01-18T07:02:00.049Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 68187 0 --:--:-- --:--:-- --:--:-- 68187 [2023-01-18T07:01:59.029Z] > git rev-list --no-walk 4e396d58f1d2de6a2dab6773ae1b3f0a8d08ee35 # timeout=10 [Pipeline] sh [2023-01-18T07:02:00.689Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-18T07:02:01.027Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-18T07:02:01.027Z] + sudo tee /etc/docker/daemon.new [2023-01-18T07:02:01.027Z] { [2023-01-18T07:02:01.027Z] "registry-mirrors": [ [2023-01-18T07:02:01.027Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-18T07:02:01.027Z] ], [2023-01-18T07:02:01.027Z] "bip": "10.250.0.254/24", [2023-01-18T07:02:01.027Z] "hosts": [ [2023-01-18T07:02:01.027Z] "tcp://0.0.0.0:5555", [2023-01-18T07:02:01.027Z] "unix:///var/run/docker.sock" [2023-01-18T07:02:01.027Z] ], [2023-01-18T07:02:01.027Z] "mtu": 1458, [2023-01-18T07:02:01.027Z] "selinux-enabled": true, [2023-01-18T07:02:01.027Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-18T07:02:01.027Z] } [Pipeline] sh [2023-01-18T07:02:01.374Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-18T07:02:01.717Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T07:02:19.985Z] provisioning config files... [2023-01-18T07:02:20.010Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/13@tmp/config8143351824935452358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:02:20.356Z] ---> docker-login.sh [2023-01-18T07:02:20.356Z] nexus3.edgexfoundry.org:10001 [2023-01-18T07:02:20.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:02:20.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:02:20.943Z] Configure a credential helper to remove this warning. See [2023-01-18T07:02:20.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:02:20.943Z] [2023-01-18T07:02:20.943Z] Login Succeeded [2023-01-18T07:02:20.943Z] nexus3.edgexfoundry.org:10002 [2023-01-18T07:02:21.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:02:21.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:02:21.213Z] Configure a credential helper to remove this warning. See [2023-01-18T07:02:21.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:02:21.213Z] [2023-01-18T07:02:21.213Z] Login Succeeded [2023-01-18T07:02:21.213Z] nexus3.edgexfoundry.org:10003 [2023-01-18T07:02:21.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:02:21.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:02:21.756Z] Configure a credential helper to remove this warning. See [2023-01-18T07:02:21.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:02:21.756Z] [2023-01-18T07:02:21.756Z] Login Succeeded [2023-01-18T07:02:21.756Z] nexus3.edgexfoundry.org:10004 [2023-01-18T07:02:22.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:02:22.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:02:22.026Z] Configure a credential helper to remove this warning. See [2023-01-18T07:02:22.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:02:22.026Z] [2023-01-18T07:02:22.026Z] Login Succeeded [2023-01-18T07:02:22.026Z] docker.io [2023-01-18T07:02:22.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T07:02:22.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T07:02:22.573Z] Configure a credential helper to remove this warning. See [2023-01-18T07:02:22.573Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T07:02:22.573Z] [2023-01-18T07:02:22.573Z] Login Succeeded [2023-01-18T07:02:22.573Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T07:02:22.588Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-18T07:02:22.852Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T07:02:22.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T07:02:22.880Z] ========================================================= [2023-01-18T07:02:22.880Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-18T07:02:22.880Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:02:23.235Z] + 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-18T07:02:23.235Z] Sending build context to Docker daemon 147.5kB [2023-01-18T07:02:23.502Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T07:02:23.502Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-18T07:02:23.777Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-18T07:02:23.777Z] 9b18e9b68314: Pulling fs layer [2023-01-18T07:02:23.777Z] 35d82f9e3411: Pulling fs layer [2023-01-18T07:02:23.777Z] e16973657156: Pulling fs layer [2023-01-18T07:02:23.777Z] fc693d55d65f: Pulling fs layer [2023-01-18T07:02:23.777Z] 7e9fc2657dce: Pulling fs layer [2023-01-18T07:02:23.777Z] dda99020689f: Pulling fs layer [2023-01-18T07:02:23.777Z] db1c61fa0a46: Pulling fs layer [2023-01-18T07:02:23.777Z] 891c053d2c06: Pulling fs layer [2023-01-18T07:02:23.777Z] fc693d55d65f: Waiting [2023-01-18T07:02:23.777Z] dda99020689f: Waiting [2023-01-18T07:02:23.777Z] 7e9fc2657dce: Waiting [2023-01-18T07:02:23.777Z] 891c053d2c06: Waiting [2023-01-18T07:02:23.777Z] e16973657156: Verifying Checksum [2023-01-18T07:02:23.777Z] e16973657156: Download complete [2023-01-18T07:02:23.777Z] 35d82f9e3411: Verifying Checksum [2023-01-18T07:02:23.777Z] 35d82f9e3411: Download complete [2023-01-18T07:02:23.777Z] 7e9fc2657dce: Verifying Checksum [2023-01-18T07:02:23.777Z] 7e9fc2657dce: Download complete [2023-01-18T07:02:23.777Z] 9b18e9b68314: Verifying Checksum [2023-01-18T07:02:23.777Z] 9b18e9b68314: Download complete [2023-01-18T07:02:24.048Z] dda99020689f: Verifying Checksum [2023-01-18T07:02:24.048Z] dda99020689f: Download complete [2023-01-18T07:02:24.640Z] 9b18e9b68314: Pull complete [2023-01-18T07:02:25.247Z] 891c053d2c06: Verifying Checksum [2023-01-18T07:02:25.247Z] 891c053d2c06: Download complete [2023-01-18T07:02:25.247Z] 35d82f9e3411: Pull complete [2023-01-18T07:02:25.521Z] e16973657156: Pull complete [2023-01-18T07:02:26.121Z] db1c61fa0a46: Verifying Checksum [2023-01-18T07:02:26.121Z] db1c61fa0a46: Download complete [2023-01-18T07:02:27.084Z] fc693d55d65f: Download complete [2023-01-18T07:02:39.407Z] fc693d55d65f: Pull complete [2023-01-18T07:02:39.407Z] 7e9fc2657dce: Pull complete [2023-01-18T07:02:39.407Z] dda99020689f: Pull complete [2023-01-18T07:02:44.752Z] db1c61fa0a46: Pull complete [2023-01-18T07:02:46.718Z] 891c053d2c06: Pull complete [2023-01-18T07:02:46.987Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-18T07:02:46.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-18T07:02:46.987Z] ---> f96f9c87975a [2023-01-18T07:02:46.987Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-18T07:02:48.962Z] ---> Running in 464682bdada2 [2023-01-18T07:02:49.232Z] Removing intermediate container 464682bdada2 [2023-01-18T07:02:49.232Z] ---> 917e6423bf8b [2023-01-18T07:02:49.232Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T07:02:49.232Z] ---> Running in a20bf7644020 [2023-01-18T07:02:49.503Z] Removing intermediate container a20bf7644020 [2023-01-18T07:02:49.503Z] ---> 75c95a52b2e6 [2023-01-18T07:02:49.503Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T07:02:49.773Z] ---> Running in 82b41423f3b9 [2023-01-18T07:02:50.045Z] Removing intermediate container 82b41423f3b9 [2023-01-18T07:02:50.045Z] ---> 0f52ab182bf7 [2023-01-18T07:02:50.045Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T07:02:50.045Z] ---> Running in 3904b800be1a [2023-01-18T07:02:50.316Z] Removing intermediate container 3904b800be1a [2023-01-18T07:02:50.316Z] ---> 22045acf1053 [2023-01-18T07:02:50.316Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T07:02:50.316Z] ---> Running in b8abb5995357 [2023-01-18T07:02:51.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T07:02:52.008Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T07:02:52.977Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-18T07:02:52.977Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-18T07:02:52.977Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-18T07:02:52.977Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-18T07:02:52.977Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T07:02:52.977Z] OK: 226 MiB in 55 packages [2023-01-18T07:02:55.582Z] Removing intermediate container b8abb5995357 [2023-01-18T07:02:55.582Z] ---> 68e512d166c3 [2023-01-18T07:02:55.582Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-18T07:02:55.582Z] ---> Running in 7dc634c11a7b [2023-01-18T07:02:55.851Z] Removing intermediate container 7dc634c11a7b [2023-01-18T07:02:55.851Z] ---> 9a3834cdc7f5 [2023-01-18T07:02:55.851Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-18T07:02:56.133Z] ---> 54a8ca16bd42 [2023-01-18T07:02:56.133Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T07:02:56.402Z] ---> Running in 752f923e4364 [2023-01-18T07:03:52.861Z] Removing intermediate container 752f923e4364 [2023-01-18T07:03:52.861Z] ---> c6abcc57d651 [2023-01-18T07:03:52.861Z] Step 11/12 : COPY . . [2023-01-18T07:03:52.861Z] ---> 37340ee2c76e [2023-01-18T07:03:52.861Z] Step 12/12 : RUN $MAKE [2023-01-18T07:03:52.861Z] ---> Running in e5f177cc393e [2023-01-18T07:03:52.861Z] noop [2023-01-18T07:03:52.861Z] Removing intermediate container e5f177cc393e [2023-01-18T07:03:52.861Z] ---> a621510c6a9a [2023-01-18T07:03:52.861Z] Successfully built a621510c6a9a [2023-01-18T07:03:52.861Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:03:53.212Z] + docker inspect -f . ci-base-image-arm64 [2023-01-18T07:03:53.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T07:03:53.408Z] prd-ubuntu20.04-docker-arm64-4c-16g-2891 does not seem to be running inside a container [2023-01-18T07:03:53.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@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-18T07:03:54.713Z] $ docker top 626c22431b0563004bff6e889d90c87b68ffe386ccccd7435affc81a905ab039 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T07:03:55.537Z] + go version [2023-01-18T07:03:55.537Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-18T07:03:55.557Z] $ docker stop --time=1 626c22431b0563004bff6e889d90c87b68ffe386ccccd7435affc81a905ab039 [2023-01-18T07:03:57.200Z] $ docker rm -f --volumes 626c22431b0563004bff6e889d90c87b68ffe386ccccd7435affc81a905ab039 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:03:57.749Z] + docker inspect -f . ci-base-image-arm64 [2023-01-18T07:03:57.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T07:03:57.958Z] prd-ubuntu20.04-docker-arm64-4c-16g-2891 does not seem to be running inside a container [2023-01-18T07:03:58.072Z] $ 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/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@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-18T07:03:59.341Z] $ docker top f4252dda036ba79b3bf54dc08c70fe03abf9ffc6d5576d3b865d60243a156399 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T07:03:59.898Z] + git config --global --add safe.directory /w/workspace/device-rest-go/13 [Pipeline] fileExists [Pipeline] sh [2023-01-18T07:04:00.255Z] + make test [2023-01-18T07:04:00.524Z] go test ./... -coverprofile=coverage.out ./... [2023-01-18T07:04:02.474Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-18T07:05:24.126Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-18T07:05:24.392Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 26.8% of statements [2023-01-18T07:05:24.974Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-18T07:05:24.974Z] go vet ./... [2023-01-18T07:05:47.037Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-18T07:05:47.037Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-18T07:05:47.037Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-18T07:05:47.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-18T07:05:47.075Z] $ docker stop --time=1 f4252dda036ba79b3bf54dc08c70fe03abf9ffc6d5576d3b865d60243a156399 [2023-01-18T07:05:48.877Z] $ docker rm -f --volumes f4252dda036ba79b3bf54dc08c70fe03abf9ffc6d5576d3b865d60243a156399 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T07:05:49.794Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-18T07:05:49.818Z] Warning: overwriting stash ‘coverage-report’ [2023-01-18T07:05:50.324Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T07:05:50.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-18T07:05:51.031Z] + ls -al . [2023-01-18T07:05:51.031Z] total 196 [2023-01-18T07:05:51.031Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 07:04 . [2023-01-18T07:05:51.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 07:01 .. [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 18 07:01 .dockerignore [2023-01-18T07:05:51.031Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 07:01 .git [2023-01-18T07:05:51.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 07:01 .github [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 18 07:01 .gitignore [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 18 07:01 .golangci.yml [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 18 07:01 Attribution.txt [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 18 07:01 CHANGELOG.md [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 18 07:01 Dockerfile [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 07:01 GOVERNANCE.md [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 18 07:01 Jenkinsfile [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 18 07:01 LICENSE [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 18 07:01 Makefile [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 18 07:01 OWNERS.md [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 12657 Jan 18 07:01 README.md [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 06:57 VERSION [2023-01-18T07:05:51.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 07:01 bin [2023-01-18T07:05:51.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 07:01 cmd [2023-01-18T07:05:51.031Z] -rw-r--r-- 1 jenkins jenkins 18351 Jan 18 07:05 coverage.out [2023-01-18T07:05:51.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 07:01 driver [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 18 07:01 go.mod [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 18 07:01 go.sum [2023-01-18T07:05:51.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 07:01 snap [2023-01-18T07:05:51.031Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 18 07:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:05:51.378Z] + 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=939fcac84ab68858f7c2a17ce4194403d8f19198 --label arch=arm64 --label version=0.0.0 . [2023-01-18T07:05:51.378Z] Sending build context to Docker daemon 166.4kB [2023-01-18T07:05:51.646Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T07:05:51.646Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-18T07:05:51.646Z] ---> a621510c6a9a [2023-01-18T07:05:51.646Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-18T07:05:51.646Z] ---> Running in ee9a6e56ffa7 [2023-01-18T07:05:51.914Z] Removing intermediate container ee9a6e56ffa7 [2023-01-18T07:05:51.914Z] ---> cfad489670ec [2023-01-18T07:05:51.914Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T07:05:52.184Z] ---> Running in bab77bff6d35 [2023-01-18T07:05:52.456Z] Removing intermediate container bab77bff6d35 [2023-01-18T07:05:52.456Z] ---> c344dd05f10b [2023-01-18T07:05:52.456Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T07:05:52.456Z] ---> Running in 159968b9fe63 [2023-01-18T07:05:52.725Z] Removing intermediate container 159968b9fe63 [2023-01-18T07:05:52.725Z] ---> 10e44ec4a7ae [2023-01-18T07:05:52.725Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T07:05:52.725Z] ---> Running in f90030553ba8 [2023-01-18T07:05:52.994Z] Removing intermediate container f90030553ba8 [2023-01-18T07:05:52.994Z] ---> 4bbd745996f2 [2023-01-18T07:05:52.994Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T07:05:52.994Z] ---> Running in f5f8204055d4 [2023-01-18T07:05:53.955Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T07:05:54.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T07:05:55.495Z] OK: 226 MiB in 55 packages [2023-01-18T07:05:56.456Z] Removing intermediate container f5f8204055d4 [2023-01-18T07:05:56.456Z] ---> 2ce91672a55b [2023-01-18T07:05:56.456Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-18T07:05:56.456Z] ---> Running in 8dce69640354 [2023-01-18T07:05:56.725Z] Removing intermediate container 8dce69640354 [2023-01-18T07:05:56.725Z] ---> 913938974e5d [2023-01-18T07:05:56.725Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-18T07:05:57.309Z] ---> 2d933f7d8906 [2023-01-18T07:05:57.309Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T07:05:57.309Z] ---> Running in c8d36c819c93 [2023-01-18T07:06:00.682Z] Removing intermediate container c8d36c819c93 [2023-01-18T07:06:00.682Z] ---> b0d200f3ceba [2023-01-18T07:06:00.682Z] Step 11/25 : COPY . . [2023-01-18T07:06:00.949Z] ---> ae40af897664 [2023-01-18T07:06:00.949Z] Step 12/25 : RUN $MAKE [2023-01-18T07:06:00.949Z] ---> Running in dc15e54b45a7 [2023-01-18T07:06:01.911Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-01-18T07:08:08.585Z] Removing intermediate container dc15e54b45a7 [2023-01-18T07:08:08.585Z] ---> 285a30cc71db [2023-01-18T07:08:08.585Z] Step 13/25 : FROM alpine:3.16 [2023-01-18T07:08:08.585Z] 3.16: Pulling from library/alpine [2023-01-18T07:08:08.585Z] 6875df1f5354: Pulling fs layer [2023-01-18T07:08:08.585Z] 6875df1f5354: Download complete [2023-01-18T07:08:08.585Z] 6875df1f5354: Pull complete [2023-01-18T07:08:08.585Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-18T07:08:08.585Z] Status: Downloaded newer image for alpine:3.16 [2023-01-18T07:08:08.585Z] ---> 2b4661558fb8 [2023-01-18T07:08:08.585Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-18T07:08:08.585Z] ---> Running in b64877f0d9d1 [2023-01-18T07:08:08.585Z] Removing intermediate container b64877f0d9d1 [2023-01-18T07:08:08.585Z] ---> 0ae1308acc52 [2023-01-18T07:08:08.585Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-18T07:08:08.585Z] ---> Running in 1bb1853e1792 [2023-01-18T07:08:08.585Z] Removing intermediate container 1bb1853e1792 [2023-01-18T07:08:08.585Z] ---> 73aa1c9a87db [2023-01-18T07:08:08.585Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-18T07:08:08.585Z] ---> Running in 0d237c8b0524 [2023-01-18T07:08:08.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T07:08:08.585Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T07:08:08.585Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-18T07:08:08.585Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T07:08:08.585Z] OK: 5 MiB in 15 packages [2023-01-18T07:08:08.585Z] Removing intermediate container 0d237c8b0524 [2023-01-18T07:08:08.585Z] ---> 08c956db96a5 [2023-01-18T07:08:08.585Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-18T07:08:08.585Z] ---> a476917c43dd [2023-01-18T07:08:08.585Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-18T07:08:08.585Z] ---> 6b19fe9d2eaa [2023-01-18T07:08:08.585Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-18T07:08:08.855Z] ---> f9474553ec39 [2023-01-18T07:08:08.855Z] Step 20/25 : EXPOSE 59986 [2023-01-18T07:08:09.123Z] ---> Running in ec2c534e09f1 [2023-01-18T07:08:09.392Z] Removing intermediate container ec2c534e09f1 [2023-01-18T07:08:09.392Z] ---> c748de81c165 [2023-01-18T07:08:09.392Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-18T07:08:09.392Z] ---> Running in c058c7513d79 [2023-01-18T07:08:09.662Z] Removing intermediate container c058c7513d79 [2023-01-18T07:08:09.662Z] ---> 3d9d32d7687f [2023-01-18T07:08:09.662Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-18T07:08:09.662Z] ---> Running in d641483029a7 [2023-01-18T07:08:09.931Z] Removing intermediate container d641483029a7 [2023-01-18T07:08:09.931Z] ---> 7048a3c8026f [2023-01-18T07:08:09.931Z] Step 23/25 : LABEL arch=arm64 [2023-01-18T07:08:10.208Z] ---> Running in 3b3521f68a32 [2023-01-18T07:08:10.483Z] Removing intermediate container 3b3521f68a32 [2023-01-18T07:08:10.483Z] ---> 35fd7ff5018e [2023-01-18T07:08:10.483Z] Step 24/25 : LABEL git_sha=939fcac84ab68858f7c2a17ce4194403d8f19198 [2023-01-18T07:08:10.483Z] ---> Running in e3646e5911d1 [2023-01-18T07:08:10.752Z] Removing intermediate container e3646e5911d1 [2023-01-18T07:08:10.752Z] ---> dbe5db12899a [2023-01-18T07:08:10.752Z] Step 25/25 : LABEL version=0.0.0 [2023-01-18T07:08:10.752Z] ---> Running in 67202527c79b [2023-01-18T07:08:11.022Z] Removing intermediate container 67202527c79b [2023-01-18T07:08:11.022Z] ---> 965bbb3bd935 [2023-01-18T07:08:11.022Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-18T07:08:11.022Z] Successfully built 965bbb3bd935 [2023-01-18T07:08:11.022Z] 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-18T07:08:11.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T07:08:11.467Z] [2023-01-18T07:08:11.467Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:08:11.808Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T07:08:11.809Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-18T07:08:11.809Z] 8998bd30e6a1: Pulling fs layer [2023-01-18T07:08:11.809Z] 04944245beec: Pulling fs layer [2023-01-18T07:08:11.809Z] 699f458cf7ca: Pulling fs layer [2023-01-18T07:08:11.809Z] 765212b225bb: Pulling fs layer [2023-01-18T07:08:11.809Z] f23df028b6ca: Pulling fs layer [2023-01-18T07:08:11.809Z] d65c8cfc05b1: Pulling fs layer [2023-01-18T07:08:11.809Z] 2437ff75d9bd: Pulling fs layer [2023-01-18T07:08:11.809Z] f23df028b6ca: Waiting [2023-01-18T07:08:11.809Z] d65c8cfc05b1: Waiting [2023-01-18T07:08:11.809Z] 765212b225bb: Waiting [2023-01-18T07:08:11.809Z] 2437ff75d9bd: Waiting [2023-01-18T07:08:12.076Z] 04944245beec: Verifying Checksum [2023-01-18T07:08:12.076Z] 04944245beec: Download complete [2023-01-18T07:08:12.076Z] 765212b225bb: Verifying Checksum [2023-01-18T07:08:12.076Z] 765212b225bb: Download complete [2023-01-18T07:08:12.076Z] f23df028b6ca: Download complete [2023-01-18T07:08:12.346Z] d65c8cfc05b1: Verifying Checksum [2023-01-18T07:08:12.346Z] d65c8cfc05b1: Download complete [2023-01-18T07:08:12.346Z] 699f458cf7ca: Verifying Checksum [2023-01-18T07:08:12.346Z] 699f458cf7ca: Download complete [2023-01-18T07:08:12.617Z] 8998bd30e6a1: Verifying Checksum [2023-01-18T07:08:12.617Z] 8998bd30e6a1: Download complete [2023-01-18T07:08:15.217Z] 2437ff75d9bd: Verifying Checksum [2023-01-18T07:08:15.217Z] 2437ff75d9bd: Download complete [2023-01-18T07:08:16.630Z] 8998bd30e6a1: Pull complete [2023-01-18T07:08:17.218Z] 04944245beec: Pull complete [2023-01-18T07:08:18.632Z] 699f458cf7ca: Pull complete [2023-01-18T07:08:18.632Z] 765212b225bb: Pull complete [2023-01-18T07:08:19.597Z] f23df028b6ca: Pull complete [2023-01-18T07:08:19.597Z] d65c8cfc05b1: Pull complete [2023-01-18T07:08:34.604Z] 2437ff75d9bd: Pull complete [2023-01-18T07:08:34.604Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-18T07:08:34.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T07:08:34.604Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T07:08:34.802Z] prd-ubuntu20.04-docker-arm64-4c-16g-2891 does not seem to be running inside a container [2023-01-18T07:08:34.871Z] $ 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/13 -v /w/workspace/device-rest-go/13:/w/workspace/device-rest-go/13:rw,z -v /w/workspace/device-rest-go/13@tmp:/w/workspace/device-rest-go/13@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-18T07:08:37.477Z] $ docker top 979dd89b274fa38bd26ca48c397a58832b86e93e2ef2d4c1bf07f5066b9740c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:08:38.310Z] ---> job-cost.sh [2023-01-18T07:08:38.310Z] lf-activate-venv: SKIPPING [2023-01-18T07:08:38.310Z] INFO: No Stack... [2023-01-18T07:08:38.577Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-18T07:08:39.541Z] INFO: Archiving Costs [Pipeline] sh [2023-01-18T07:08:40.187Z] + cut -d, -f6 [2023-01-18T07:08:40.187Z] + cat /w/workspace/device-rest-go/13/archives/cost.csv [Pipeline] lock [2023-01-18T07:08:40.253Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-13-stack-cost] [2023-01-18T07:08:40.260Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-13-stack-cost] did not exist. Created. [2023-01-18T07:08:40.260Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-18T07:08:40.920Z] /w/workspace/device-rest-go/13@tmp/durable-8991328a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-18T07:08:41.573Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-18T07:08:41.597Z] Warning: overwriting stash ‘stack-cost’ [2023-01-18T07:08:41.641Z] Stashed 1 file(s) [Pipeline] } [2023-01-18T07:08:41.650Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-13-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-18T07:08:41.674Z] $ docker stop --time=1 979dd89b274fa38bd26ca48c397a58832b86e93e2ef2d4c1bf07f5066b9740c4 [2023-01-18T07:08:44.164Z] $ docker rm -f --volumes 979dd89b274fa38bd26ca48c397a58832b86e93e2ef2d4c1bf07f5066b9740c4 [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-18T07:08:44.560Z] provisioning config files... [2023-01-18T07:08:44.566Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config16517703829161552582tmp [Pipeline] { [Pipeline] sh [2023-01-18T07:08:44.858Z] + set +x [2023-01-18T07:08:44.858Z] + + curl -sbash https://codecov.io/bash -s [2023-01-18T07:08:44.858Z] -- [2023-01-18T07:08:44.858Z] [2023-01-18T07:08:44.858Z] _____ _ [2023-01-18T07:08:44.858Z] / ____| | | [2023-01-18T07:08:44.858Z] | | ___ __| | ___ ___ _____ __ [2023-01-18T07:08:44.858Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-18T07:08:44.858Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-18T07:08:44.858Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-18T07:08:44.858Z] Bash-1.0.6 [2023-01-18T07:08:44.858Z] [2023-01-18T07:08:44.858Z] [2023-01-18T07:08:44.858Z] ==> git version 2.25.1 found [2023-01-18T07:08:44.858Z] ==> 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-18T07:08:44.858Z] Release-Date: 2020-01-08 [2023-01-18T07:08:44.858Z] 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-18T07:08:44.858Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-18T07:08:44.858Z] ==> Jenkins CI detected. [2023-01-18T07:08:44.858Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-229 [2023-01-18T07:08:44.858Z] project root: . [2023-01-18T07:08:44.858Z] --> token set from env [2023-01-18T07:08:44.858Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-18T07:08:44.858Z] ==> Running gcov in . (disable via -X gcov) [2023-01-18T07:08:44.858Z] ==> Python coveragepy not found [2023-01-18T07:08:44.858Z] ==> Searching for coverage reports in: [2023-01-18T07:08:44.858Z] + . [2023-01-18T07:08:44.858Z] -> Found 1 reports [2023-01-18T07:08:44.858Z] ==> Detecting git/mercurial file structure [2023-01-18T07:08:44.858Z] ==> Reading reports [2023-01-18T07:08:44.858Z] + ./coverage.out bytes=18351 [2023-01-18T07:08:44.858Z] ==> Appending adjustments [2023-01-18T07:08:44.858Z] https://docs.codecov.io/docs/fixing-reports [2023-01-18T07:08:45.118Z] + Found adjustments [2023-01-18T07:08:45.118Z] ==> Gzipping contents [2023-01-18T07:08:45.118Z] 4.0K /tmp/codecov.igTqPr.gz [2023-01-18T07:08:45.118Z] ==> Uploading reports [2023-01-18T07:08:45.118Z] url: https://codecov.io [2023-01-18T07:08:45.118Z] query: branch=PR-229&commit=6080b04240aef5d4363153901ebd9e8e0df69f9f&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= [2023-01-18T07:08:45.118Z] -> Pinging Codecov [2023-01-18T07:08:45.118Z] 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=6080b04240aef5d4363153901ebd9e8e0df69f9f&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= [2023-01-18T07:08:45.377Z] -> Uploading to [2023-01-18T07:08:45.377Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-18/4E5D53B4F1F92C436F7061BF334D961C/6080b04240aef5d4363153901ebd9e8e0df69f9f/1d7a371a-0ba6-44c5-8deb-f941eeb4df76.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230118T070845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e93e563c77349e35cf3de46fa9eafa62eec0fb528ab178f366a867f0cd8abdb [2023-01-18T07:08:45.634Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-18T07:08:45.634Z] Dload Upload Total Spent Left Speed [2023-01-18T07:08:45.893Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3006 0 0 100 3006 0 13601 --:--:-- --:--:-- --:--:-- 13540 100 3006 0 0 100 3006 0 11133 --:--:-- --:--:-- --:--:-- 11092 [2023-01-18T07:08:45.893Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6080b04240aef5d4363153901ebd9e8e0df69f9f [Pipeline] } [2023-01-18T07:08:45.901Z] 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-18T07:08:46.615Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-229/archives ] [2023-01-18T07:08:46.615Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-18T07:08:46.615Z] total 16 [2023-01-18T07:08:46.615Z] drwxr-xr-x 3 root root 4096 Jan 18 06:59 . [2023-01-18T07:08:46.615Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 06:59 .. [2023-01-18T07:08:46.615Z] drwxr-xr-x 2 root root 4096 Jan 18 06:59 cost [2023-01-18T07:08:46.615Z] -rw-r--r-- 1 root root 87 Jan 18 06:59 cost.csv [2023-01-18T07:08:46.615Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-18T07:08:46.615Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-18T07:08:46.615Z] total 16 [2023-01-18T07:08:46.615Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 06:59 . [2023-01-18T07:08:46.615Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 06:59 .. [2023-01-18T07:08:46.615Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 18 06:59 cost [2023-01-18T07:08:46.615Z] -rw-r--r-- 1 jenkins jenkins 87 Jan 18 06:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:08:46.907Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:08:47.765Z] ---> package-listing.sh [2023-01-18T07:08:47.765Z] ++ facter osfamily [2023-01-18T07:08:47.765Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-18T07:08:48.024Z] + OS_FAMILY=debian [2023-01-18T07:08:48.024Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-229 [2023-01-18T07:08:48.024Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-18T07:08:48.024Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-18T07:08:48.024Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-18T07:08:48.024Z] + PACKAGES=/tmp/packages_start.txt [2023-01-18T07:08:48.024Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2023-01-18T07:08:48.024Z] + PACKAGES=/tmp/packages_end.txt [2023-01-18T07:08:48.024Z] + case "${OS_FAMILY}" in [2023-01-18T07:08:48.024Z] + dpkg -l [2023-01-18T07:08:48.024Z] + grep '^ii' [2023-01-18T07:08:48.024Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-18T07:08:48.024Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-18T07:08:48.024Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-18T07:08:48.024Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2023-01-18T07:08:48.024Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [2023-01-18T07:08:48.024Z] + 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-18T07:08:48.035Z] 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-18T07:08:48.313Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T07:08:48.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T07:08:48.868Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T07:08:48.935Z] prd-ubuntu20.04-docker-8c-8g-2890 does not seem to be running inside a container [2023-01-18T07:08:48.962Z] $ 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-18T07:08:49.207Z] $ docker top 9fe1ceb852f30537549799d34017de4500b9f8d774b1783cb35c5ff1e27779f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T07:08:49.551Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-18T07:08:49.841Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-18T07:08:50.124Z] + ls /var/log/sa-host [2023-01-18T07:08:50.124Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T07:08:50.269Z] provisioning config files... [2023-01-18T07:08:50.277Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config13851182019395496212tmp [Pipeline] { [Pipeline] echo [2023-01-18T07:08:50.292Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:08:50.577Z] ---> create-netrc.sh [Pipeline] } [2023-01-18T07:08:50.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:08:50.905Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-18T07:08:50.914Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:08:51.199Z] ---> sudo-logs.sh [2023-01-18T07:08:51.199Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-18T07:08:51.234Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:08:51.526Z] ---> job-cost.sh [2023-01-18T07:08:51.526Z] lf-activate-venv: SKIPPING [2023-01-18T07:08:51.526Z] DEBUG: total: 0.2199999988079071 [2023-01-18T07:08:51.526Z] INFO: Retrieving Stack Cost... [2023-01-18T07:08:52.909Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-18T07:08:52.909Z] INFO: Archiving Costs [Pipeline] echo [2023-01-18T07:08:52.922Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T07:08:53.204Z] ---> logs-deploy.sh [2023-01-18T07:08:53.204Z] lf-activate-venv: SKIPPING [2023-01-18T07:08:53.204Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-229/13 [2023-01-18T07:08:53.204Z] INFO: archiving workspace using pattern(s): [2023-01-18T07:08:54.142Z] Archives upload complete. [2023-01-18T07:08:54.142Z] INFO: archiving logs to Nexus