Pull request #227 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f7b0f3ff55221c8141e07beec435664a9a9a79ab+ee3b3be503c005455f07215b653abfd16f272028 (f986543cea194502132f491adf4ec2367b6f2025) 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-ssh100740459163862864.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 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-ssh3317769716274150053.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-227/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-227/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16725864383257947923.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-227/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16900839431809668860.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15038273542915584416.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-227/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-227/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1996881386855892191.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118507 in /w/workspace/gexfoundry_device-rest-go_PR-227 [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-227 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/227/head:refs/remotes/origin/PR-227 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ee3b3be503c005455f07215b653abfd16f272028 into PR head commit f7b0f3ff55221c8141e07beec435664a9a9a79ab Merge succeeded, producing f7b0f3ff55221c8141e07beec435664a9a9a79ab Checking out Revision f7b0f3ff55221c8141e07beec435664a9a9a79ab (PR-227) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T20:03:24.131Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T20:03:24.328Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T20:03:24.443Z] ========================================================= [2022-11-07T20:03:24.443Z] EdgeX Global Pipelines Version Info [2022-11-07T20:03:24.443Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f f7b0f3ff55221c8141e07beec435664a9a9a79ab # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge ee3b3be503c005455f07215b653abfd16f272028 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7b0f3ff55221c8141e07beec435664a9a9a79ab # timeout=10 [2022-11-07T20:03:25.209Z] ------------------- [2022-11-07T20:03:25.209Z] stable info: [2022-11-07T20:03:25.209Z] ------------------- [2022-11-07T20:03:25.209Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T20:03:25.209Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T20:03:25.209Z] Message: update stable to v1.0.244 [2022-11-07T20:03:26.153Z] ------------------- [2022-11-07T20:03:26.153Z] experimental info: [2022-11-07T20:03:26.153Z] ------------------- [2022-11-07T20:03:26.153Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T20:03:26.153Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T20:03:26.153Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T20:03:26.459Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-11-07T20:03:26.502Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-11-07T20:03:26.546Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T20:03:26.592Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T20:03:26.635Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T20:03:26.679Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T20:03:26.728Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T20:03:26.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T20:03:26.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T20:03:26.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T20:03:26.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T20:03:26.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-11-07T20:03:26.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T20:03:27.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T20:03:27.193Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T20:03:27.242Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T20:03:27.284Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T20:03:27.330Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T20:03:27.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T20:03:27.423Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T20:03:27.464Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-07T20:03:27.511Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-07T20:03:27.553Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T20:03:27.594Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T20:03:27.633Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T20:03:27.668Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T20:03:27.710Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T20:03:27.747Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-227 [Pipeline] echo [2022-11-07T20:03:27.786Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-227 [Pipeline] echo [2022-11-07T20:03:27.838Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-227 [Pipeline] echo [2022-11-07T20:03:27.878Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7b0f3ff55221c8141e07beec435664a9a9a79ab [Pipeline] echo [2022-11-07T20:03:27.916Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7b0f3f [Pipeline] echo [2022-11-07T20:03:27.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T20:03:28.072Z] provisioning config files... [2022-11-07T20:03:28.087Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp/config3073693812655246268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:03:28.431Z] ---> docker-login.sh [2022-11-07T20:03:28.431Z] nexus3.edgexfoundry.org:10001 [2022-11-07T20:03:28.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:28.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:28.689Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:28.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:28.689Z] [2022-11-07T20:03:28.689Z] Login Succeeded [2022-11-07T20:03:28.689Z] nexus3.edgexfoundry.org:10002 [2022-11-07T20:03:28.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:28.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:28.689Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:28.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:28.689Z] [2022-11-07T20:03:28.689Z] Login Succeeded [2022-11-07T20:03:28.689Z] nexus3.edgexfoundry.org:10003 [2022-11-07T20:03:28.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:28.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:28.947Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:28.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:28.947Z] [2022-11-07T20:03:28.947Z] Login Succeeded [2022-11-07T20:03:28.947Z] nexus3.edgexfoundry.org:10004 [2022-11-07T20:03:28.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:28.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:28.947Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:28.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:28.947Z] [2022-11-07T20:03:28.947Z] Login Succeeded [2022-11-07T20:03:28.947Z] docker.io [2022-11-07T20:03:29.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:29.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:29.468Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:29.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:29.468Z] [2022-11-07T20:03:29.468Z] Login Succeeded [2022-11-07T20:03:29.468Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T20:03:29.497Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T20:03:30.095Z] + git rev-list -1 --merges f7b0f3ff55221c8141e07beec435664a9a9a79ab~1..f7b0f3ff55221c8141e07beec435664a9a9a79ab [Pipeline] echo [2022-11-07T20:03:30.139Z] -----------> git rev-list -1 --merges f7b0f3ff55221c8141e07beec435664a9a9a79ab~1..f7b0f3ff55221c8141e07beec435664a9a9a79ab f7b0f3ff55221c8141e07beec435664a9a9a79ab [false] [Pipeline] sh [2022-11-07T20:03:30.449Z] + git log --format=format:%s -1 f7b0f3ff55221c8141e07beec435664a9a9a79ab [Pipeline] echo [2022-11-07T20:03:30.489Z] ========================================================= [2022-11-07T20:03:30.489Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T20:03:30.489Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T20:03:30.930Z] + git log --format=format:%s -1 f7b0f3ff55221c8141e07beec435664a9a9a79ab [Pipeline] echo [2022-11-07T20:03:30.961Z] [semverPrep] GIT_COMMIT: f7b0f3ff55221c8141e07beec435664a9a9a79ab, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-11-07T20:03:30.988Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T20:03:31.362Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T20:03:31.362Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T20:03:31.362Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T20:03:31.362Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T20:03:31.362Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T20:03:31.362Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T20:03:31.362Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:03:31.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T20:03:31.786Z] [2022-11-07T20:03:31.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:03:32.197Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T20:03:32.197Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T20:03:32.197Z] b85a868b505f: Pulling fs layer [2022-11-07T20:03:32.197Z] e2be974225ed: Pulling fs layer [2022-11-07T20:03:32.197Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T20:03:32.197Z] 988bab9f4d93: Pulling fs layer [2022-11-07T20:03:32.197Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T20:03:32.197Z] eaf3925da568: Pulling fs layer [2022-11-07T20:03:32.197Z] bab4dde63d76: Pulling fs layer [2022-11-07T20:03:32.197Z] bde34c3a00c8: Pulling fs layer [2022-11-07T20:03:32.197Z] b352a97aabf1: Pulling fs layer [2022-11-07T20:03:32.197Z] 4872d77fe225: Pulling fs layer [2022-11-07T20:03:32.197Z] 5851b861e8e6: Pulling fs layer [2022-11-07T20:03:32.197Z] bab4dde63d76: Waiting [2022-11-07T20:03:32.197Z] bde34c3a00c8: Waiting [2022-11-07T20:03:32.197Z] 988bab9f4d93: Waiting [2022-11-07T20:03:32.197Z] b352a97aabf1: Waiting [2022-11-07T20:03:32.197Z] 1469e6f7b9e6: Waiting [2022-11-07T20:03:32.197Z] eaf3925da568: Waiting [2022-11-07T20:03:32.197Z] 4872d77fe225: Waiting [2022-11-07T20:03:32.197Z] 5851b861e8e6: Waiting [2022-11-07T20:03:32.197Z] e2be974225ed: Download complete [2022-11-07T20:03:32.197Z] 988bab9f4d93: Verifying Checksum [2022-11-07T20:03:32.197Z] 988bab9f4d93: Download complete [2022-11-07T20:03:32.462Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T20:03:32.462Z] 1469e6f7b9e6: Download complete [2022-11-07T20:03:32.462Z] eaf3925da568: Verifying Checksum [2022-11-07T20:03:32.462Z] eaf3925da568: Download complete [2022-11-07T20:03:32.462Z] b85a868b505f: Verifying Checksum [2022-11-07T20:03:32.462Z] b85a868b505f: Download complete [2022-11-07T20:03:32.722Z] bde34c3a00c8: Verifying Checksum [2022-11-07T20:03:32.722Z] bde34c3a00c8: Download complete [2022-11-07T20:03:32.722Z] b352a97aabf1: Download complete [2022-11-07T20:03:32.722Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T20:03:32.722Z] 339a4e72a1f5: Download complete [2022-11-07T20:03:32.722Z] 5851b861e8e6: Verifying Checksum [2022-11-07T20:03:32.722Z] 5851b861e8e6: Download complete [2022-11-07T20:03:32.981Z] 4872d77fe225: Verifying Checksum [2022-11-07T20:03:32.981Z] 4872d77fe225: Download complete [2022-11-07T20:03:32.981Z] bab4dde63d76: Verifying Checksum [2022-11-07T20:03:32.981Z] bab4dde63d76: Download complete [2022-11-07T20:03:33.915Z] b85a868b505f: Pull complete [2022-11-07T20:03:33.915Z] e2be974225ed: Pull complete [2022-11-07T20:03:34.174Z] 339a4e72a1f5: Pull complete [2022-11-07T20:03:34.433Z] 988bab9f4d93: Pull complete [2022-11-07T20:03:34.691Z] 1469e6f7b9e6: Pull complete [2022-11-07T20:03:34.691Z] eaf3925da568: Pull complete [2022-11-07T20:03:36.597Z] bab4dde63d76: Pull complete [2022-11-07T20:03:36.597Z] bde34c3a00c8: Pull complete [2022-11-07T20:03:36.597Z] b352a97aabf1: Pull complete [2022-11-07T20:03:36.597Z] 4872d77fe225: Pull complete [2022-11-07T20:03:36.597Z] 5851b861e8e6: Pull complete [2022-11-07T20:03:36.597Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T20:03:36.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T20:03:36.597Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:03:36.824Z] prd-ubuntu20.04-docker-8c-8g-118507 does not seem to be running inside a container [2022-11-07T20:03:36.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-227 -v /w/workspace/gexfoundry_device-rest-go_PR-227:/w/workspace/gexfoundry_device-rest-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-227@tmp:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T20:03:38.449Z] $ docker top 399ca183650b688060b1fc6c2bd4f6937c46b9b0d72a8b488b23b6bd9c28f7e6 -eo pid,comm [2022-11-07T20:03:38.504Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-11-07T20:03:38.504Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T20:03:38.631Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T20:03:38.631Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T20:03:38.774Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T20:03:38.776Z] $ docker exec 399ca183650b688060b1fc6c2bd4f6937c46b9b0d72a8b488b23b6bd9c28f7e6 ssh-agent [2022-11-07T20:03:38.886Z] SSH_AUTH_SOCK=/tmp/ssh-X9AMYLECytB5/agent.32 [2022-11-07T20:03:38.886Z] SSH_AGENT_PID=38 [2022-11-07T20:03:38.893Z] Running ssh-add (command line suppressed) [2022-11-07T20:03:38.994Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-227@tmp/private_key_7368849546961008469.key (/w/workspace/gexfoundry_device-rest-go_PR-227@tmp/private_key_7368849546961008469.key) [2022-11-07T20:03:39.009Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T20:03:39.345Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T20:03:39.370Z] $ docker exec --env ******** --env ******** 399ca183650b688060b1fc6c2bd4f6937c46b9b0d72a8b488b23b6bd9c28f7e6 ssh-agent -k [2022-11-07T20:03:39.476Z] unset SSH_AUTH_SOCK; [2022-11-07T20:03:39.477Z] unset SSH_AGENT_PID; [2022-11-07T20:03:39.477Z] echo Agent pid 38 killed; [2022-11-07T20:03:39.487Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T20:03:39.575Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T20:03:39.575Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T20:03:39.692Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T20:03:39.694Z] $ docker exec 399ca183650b688060b1fc6c2bd4f6937c46b9b0d72a8b488b23b6bd9c28f7e6 ssh-agent [2022-11-07T20:03:39.787Z] SSH_AUTH_SOCK=/tmp/ssh-1oud0edn19l8/agent.71 [2022-11-07T20:03:39.787Z] SSH_AGENT_PID=77 [2022-11-07T20:03:39.792Z] Running ssh-add (command line suppressed) [2022-11-07T20:03:39.894Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-227@tmp/private_key_675600890240096796.key (/w/workspace/gexfoundry_device-rest-go_PR-227@tmp/private_key_675600890240096796.key) [2022-11-07T20:03:39.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T20:03:40.228Z] + git semver init [2022-11-07T20:03:40.488Z] 2022-11-07 20:03:40,414 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T20:03:40.488Z] 2022-11-07 20:03:40,415 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-227/.semver [2022-11-07T20:03:40.488Z] 2022-11-07 20:03:40,415 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-227/.semver [2022-11-07T20:03:40.488Z] 2022-11-07 20:03:40,416 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-227/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-227, universal_newlines=False, shell=None, istream=None) [2022-11-07T20:03:41.868Z] 2022-11-07 20:03:41,805 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-227/.git/info/exclude [2022-11-07T20:03:41.868Z] 2022-11-07 20:03:41,805 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-227/.semver/PR-227 with force:False [2022-11-07T20:03:41.868Z] 2022-11-07 20:03:41,805 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-227/.semver/PR-227 [2022-11-07T20:03:41.868Z] 2022-11-07 20:03:41,810 [execute] INFO git cat-file --batch-check [2022-11-07T20:03:41.868Z] 2022-11-07 20:03:41,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-227/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T20:03:41.868Z] 2022-11-07 20:03:41,818 [execute] INFO git cat-file --batch [2022-11-07T20:03:41.868Z] 2022-11-07 20:03:41,818 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-227/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T20:03:41.868Z] 2022-11-07 20:03:41,824 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-227/.semver/PR-227 [2022-11-07T20:03:41.868Z] 0.0.0 [Pipeline] } [2022-11-07T20:03:41.892Z] $ docker exec --env ******** --env ******** 399ca183650b688060b1fc6c2bd4f6937c46b9b0d72a8b488b23b6bd9c28f7e6 ssh-agent -k [2022-11-07T20:03:41.994Z] unset SSH_AUTH_SOCK; [2022-11-07T20:03:41.995Z] unset SSH_AGENT_PID; [2022-11-07T20:03:41.995Z] echo Agent pid 77 killed; [2022-11-07T20:03:42.006Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T20:03:42.431Z] + git semver [Pipeline] } [2022-11-07T20:03:42.713Z] $ docker stop --time=1 399ca183650b688060b1fc6c2bd4f6937c46b9b0d72a8b488b23b6bd9c28f7e6 [2022-11-07T20:03:44.021Z] $ docker rm -f 399ca183650b688060b1fc6c2bd4f6937c46b9b0d72a8b488b23b6bd9c28f7e6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T20:03:44.445Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T20:03:44.684Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T20:03:44.705Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T20:03:45.299Z] provisioning config files... [2022-11-07T20:03:45.309Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp/config4578484658612035991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:03:45.655Z] ---> docker-login.sh [2022-11-07T20:03:45.655Z] nexus3.edgexfoundry.org:10001 [2022-11-07T20:03:45.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:45.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:45.655Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:45.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:45.655Z] [2022-11-07T20:03:45.655Z] Login Succeeded [2022-11-07T20:03:45.655Z] nexus3.edgexfoundry.org:10002 [2022-11-07T20:03:45.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:45.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:45.655Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:45.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:45.655Z] [2022-11-07T20:03:45.655Z] Login Succeeded [2022-11-07T20:03:45.655Z] nexus3.edgexfoundry.org:10003 [2022-11-07T20:03:45.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:45.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:45.917Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:45.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:45.917Z] [2022-11-07T20:03:45.917Z] Login Succeeded [2022-11-07T20:03:45.917Z] nexus3.edgexfoundry.org:10004 [2022-11-07T20:03:45.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:45.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:45.918Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:45.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:45.918Z] [2022-11-07T20:03:45.918Z] Login Succeeded [2022-11-07T20:03:45.918Z] docker.io [2022-11-07T20:03:46.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:46.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:46.437Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:46.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:46.437Z] [2022-11-07T20:03:46.437Z] Login Succeeded [2022-11-07T20:03:46.437Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T20:03:46.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T20:03:46.668Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T20:03:46.707Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T20:03:46.736Z] ========================================================= [2022-11-07T20:03:46.736Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T20:03:46.736Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:03:47.200Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-07T20:03:47.200Z] Sending build context to Docker daemon 10.76MB [2022-11-07T20:03:47.200Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T20:03:47.200Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T20:03:47.200Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T20:03:47.200Z] 213ec9aee27d: Pulling fs layer [2022-11-07T20:03:47.200Z] 4583459ba037: Pulling fs layer [2022-11-07T20:03:47.200Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T20:03:47.200Z] 53926ce57604: Pulling fs layer [2022-11-07T20:03:47.200Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T20:03:47.200Z] 22ff95d597cd: Pulling fs layer [2022-11-07T20:03:47.200Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T20:03:47.200Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T20:03:47.200Z] a7acece74701: Pulling fs layer [2022-11-07T20:03:47.200Z] 96b7cbca73a9: Waiting [2022-11-07T20:03:47.200Z] 21b2b0c7a3f4: Waiting [2022-11-07T20:03:47.200Z] a7acece74701: Waiting [2022-11-07T20:03:47.200Z] 22ff95d597cd: Waiting [2022-11-07T20:03:47.200Z] 12d6caf4c0d1: Waiting [2022-11-07T20:03:47.200Z] 53926ce57604: Waiting [2022-11-07T20:03:47.200Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T20:03:47.200Z] 93c1e223e6f2: Download complete [2022-11-07T20:03:47.200Z] 4583459ba037: Download complete [2022-11-07T20:03:47.460Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-07T20:03:47.460Z] 21b2b0c7a3f4: Download complete [2022-11-07T20:03:47.460Z] 22ff95d597cd: Verifying Checksum [2022-11-07T20:03:47.460Z] 22ff95d597cd: Download complete [2022-11-07T20:03:47.460Z] 213ec9aee27d: Download complete [2022-11-07T20:03:47.460Z] 12d6caf4c0d1: Verifying Checksum [2022-11-07T20:03:47.460Z] 12d6caf4c0d1: Download complete [2022-11-07T20:03:47.460Z] 213ec9aee27d: Pull complete [2022-11-07T20:03:47.725Z] 4583459ba037: Pull complete [2022-11-07T20:03:47.725Z] 93c1e223e6f2: Pull complete [2022-11-07T20:03:47.992Z] a7acece74701: Verifying Checksum [2022-11-07T20:03:47.992Z] a7acece74701: Download complete [2022-11-07T20:03:48.253Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T20:03:48.253Z] 96b7cbca73a9: Download complete [2022-11-07T20:03:48.253Z] 53926ce57604: Verifying Checksum [2022-11-07T20:03:48.253Z] 53926ce57604: Download complete [2022-11-07T20:03:52.442Z] 53926ce57604: Pull complete [2022-11-07T20:03:52.442Z] 21b2b0c7a3f4: Pull complete [2022-11-07T20:03:52.442Z] 22ff95d597cd: Pull complete [2022-11-07T20:03:52.442Z] 12d6caf4c0d1: Pull complete [2022-11-07T20:03:54.338Z] 96b7cbca73a9: Pull complete [2022-11-07T20:03:54.596Z] a7acece74701: Pull complete [2022-11-07T20:03:54.856Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T20:03:54.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T20:03:54.856Z] ---> db6d94c90886 [2022-11-07T20:03:54.856Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T20:03:56.240Z] ---> Running in c8eadf439bcd [2022-11-07T20:03:56.501Z] Removing intermediate container c8eadf439bcd [2022-11-07T20:03:56.501Z] ---> 38fcd6012ef7 [2022-11-07T20:03:56.501Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T20:03:56.501Z] ---> Running in 3eea654524ab [2022-11-07T20:03:56.501Z] Removing intermediate container 3eea654524ab [2022-11-07T20:03:56.501Z] ---> e279b3642bca [2022-11-07T20:03:56.501Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T20:03:56.501Z] ---> Running in f5d93fc59876 [2022-11-07T20:03:56.761Z] Removing intermediate container f5d93fc59876 [2022-11-07T20:03:56.761Z] ---> 8daa74938a3e [2022-11-07T20:03:56.761Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T20:03:56.761Z] ---> Running in 09af42e0a4c1 [2022-11-07T20:03:56.761Z] Removing intermediate container 09af42e0a4c1 [2022-11-07T20:03:56.761Z] ---> ff130051c227 [2022-11-07T20:03:56.761Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T20:03:57.020Z] ---> Running in 5b6063a5319c [2022-11-07T20:03:57.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T20:03:57.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T20:03:57.539Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T20:03:57.539Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T20:03:57.539Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T20:03:57.539Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T20:03:57.539Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T20:03:57.539Z] OK: 216 MiB in 55 packages [2022-11-07T20:03:58.120Z] Removing intermediate container 5b6063a5319c [2022-11-07T20:03:58.120Z] ---> cd443e0dd6b2 [2022-11-07T20:03:58.120Z] Step 8/12 : WORKDIR /device-rest-go [2022-11-07T20:03:58.120Z] ---> Running in 966f7a5aa4c6 [2022-11-07T20:03:58.120Z] Removing intermediate container 966f7a5aa4c6 [2022-11-07T20:03:58.120Z] ---> 91a3062ae0f2 [2022-11-07T20:03:58.120Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T20:03:58.380Z] ---> 39e256198fab [2022-11-07T20:03:58.380Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T20:03:58.380Z] ---> Running in a02bf05fa734 [2022-11-07T20:04:00.126Z] Still waiting to schedule task [2022-11-07T20:04:00.127Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-07T20:04:16.480Z] Removing intermediate container a02bf05fa734 [2022-11-07T20:04:16.480Z] ---> 7aa3dcbb5fef [2022-11-07T20:04:16.480Z] Step 11/12 : COPY . . [2022-11-07T20:04:16.480Z] ---> bc8c23b0d8e8 [2022-11-07T20:04:16.480Z] Step 12/12 : RUN $MAKE [2022-11-07T20:04:16.480Z] ---> Running in ccd967e30f09 [2022-11-07T20:04:16.480Z] noop [2022-11-07T20:04:16.480Z] Removing intermediate container ccd967e30f09 [2022-11-07T20:04:16.480Z] ---> d6c2c0d2df7e [2022-11-07T20:04:16.480Z] Successfully built d6c2c0d2df7e [2022-11-07T20:04:16.480Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:04:16.923Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T20:04:16.923Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:04:17.074Z] prd-ubuntu20.04-docker-8c-8g-118507 does not seem to be running inside a container [2022-11-07T20:04:17.106Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-227 -v /w/workspace/gexfoundry_device-rest-go_PR-227:/w/workspace/gexfoundry_device-rest-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-227@tmp:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-07T20:04:17.519Z] $ docker top 5f6fdefd553553ebf5fbb9761dada75acf17c4d2819f4f3b4eaaab71a58a4cee -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T20:04:17.923Z] + go version [2022-11-07T20:04:17.923Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T20:04:17.966Z] $ docker stop --time=1 5f6fdefd553553ebf5fbb9761dada75acf17c4d2819f4f3b4eaaab71a58a4cee [2022-11-07T20:04:19.253Z] $ docker rm -f 5f6fdefd553553ebf5fbb9761dada75acf17c4d2819f4f3b4eaaab71a58a4cee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:04:20.131Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T20:04:20.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:04:20.287Z] prd-ubuntu20.04-docker-8c-8g-118507 does not seem to be running inside a container [2022-11-07T20:04:20.314Z] $ 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-227 -v /w/workspace/gexfoundry_device-rest-go_PR-227:/w/workspace/gexfoundry_device-rest-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-227@tmp:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-07T20:04:20.648Z] $ docker top af78697a24581daab79b3edf77efe75cdb6697ac491a5d927eb26233c951f876 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T20:04:21.035Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-227 [Pipeline] fileExists [Pipeline] sh [2022-11-07T20:04:21.394Z] + make test [2022-11-07T20:04:21.394Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T20:04:21.652Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-11-07T20:04:31.611Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-11-07T20:04:31.611Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-11-07T20:04:36.880Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-07T20:04:36.880Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T20:04:40.158Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T20:04:40.158Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T20:04:40.158Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T20:04:40.228Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T20:04:40.257Z] $ docker stop --time=1 af78697a24581daab79b3edf77efe75cdb6697ac491a5d927eb26233c951f876 [2022-11-07T20:04:42.029Z] $ docker rm -f af78697a24581daab79b3edf77efe75cdb6697ac491a5d927eb26233c951f876 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T20:04:42.557Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T20:04:42.616Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T20:04:43.231Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T20:04:43.545Z] + ls -al . [2022-11-07T20:04:43.545Z] total 188 [2022-11-07T20:04:43.545Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 20:04 . [2022-11-07T20:04:43.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:03 .. [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 20:03 .dockerignore [2022-11-07T20:04:43.545Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:04 .git [2022-11-07T20:04:43.545Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:03 .github [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 20:03 .gitignore [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 20:03 .golangci.yml [2022-11-07T20:04:43.545Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 20:03 .semver [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 9100 Nov 7 20:03 Attribution.txt [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 13085 Nov 7 20:03 CHANGELOG.md [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 1641 Nov 7 20:03 Dockerfile [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 20:03 GOVERNANCE.md [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 20:03 Jenkinsfile [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 20:03 LICENSE [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 2173 Nov 7 20:03 Makefile [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 20:03 OWNERS.md [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 8667 Nov 7 20:03 README.md [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 20:03 VERSION [2022-11-07T20:04:43.545Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:03 bin [2022-11-07T20:04:43.545Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:03 cmd [2022-11-07T20:04:43.545Z] -rw-r--r-- 1 jenkins jenkins 9355 Nov 7 20:04 coverage.out [2022-11-07T20:04:43.545Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:03 driver [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 3494 Nov 7 20:03 go.mod [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 44883 Nov 7 20:03 go.sum [2022-11-07T20:04:43.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:03 snap [2022-11-07T20:04:43.545Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 20:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:04:43.945Z] + 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=f7b0f3ff55221c8141e07beec435664a9a9a79ab --label arch=amd64 --label version=0.0.0 . [2022-11-07T20:04:43.945Z] Sending build context to Docker daemon 10.77MB [2022-11-07T20:04:43.945Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T20:04:43.945Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-07T20:04:43.945Z] ---> d6c2c0d2df7e [2022-11-07T20:04:43.945Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-07T20:04:43.945Z] ---> Running in b6c0fbda1e8c [2022-11-07T20:04:44.203Z] Removing intermediate container b6c0fbda1e8c [2022-11-07T20:04:44.203Z] ---> ed7d79aa009f [2022-11-07T20:04:44.203Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T20:04:44.203Z] ---> Running in de68dc109d1b [2022-11-07T20:04:44.203Z] Removing intermediate container de68dc109d1b [2022-11-07T20:04:44.203Z] ---> 1f5bde3f1cf3 [2022-11-07T20:04:44.203Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T20:04:44.203Z] ---> Running in 0ef33a352e7c [2022-11-07T20:04:44.468Z] Removing intermediate container 0ef33a352e7c [2022-11-07T20:04:44.468Z] ---> 78cc11792bc8 [2022-11-07T20:04:44.468Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T20:04:44.468Z] ---> Running in 7d711c4c550d [2022-11-07T20:04:44.468Z] Removing intermediate container 7d711c4c550d [2022-11-07T20:04:44.468Z] ---> cc29bec64262 [2022-11-07T20:04:44.468Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T20:04:44.468Z] ---> Running in 1c3f220bd1e5 [2022-11-07T20:04:44.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T20:04:44.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T20:04:45.057Z] OK: 216 MiB in 55 packages [2022-11-07T20:04:45.315Z] Removing intermediate container 1c3f220bd1e5 [2022-11-07T20:04:45.315Z] ---> a5ac5d815164 [2022-11-07T20:04:45.315Z] Step 8/25 : WORKDIR /device-rest-go [2022-11-07T20:04:45.315Z] ---> Running in 246927650ceb [2022-11-07T20:04:45.576Z] Removing intermediate container 246927650ceb [2022-11-07T20:04:45.576Z] ---> 474a6c8df463 [2022-11-07T20:04:45.576Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-07T20:04:45.576Z] ---> 33e074a5437f [2022-11-07T20:04:45.576Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T20:04:45.576Z] ---> Running in b4f930655f78 [2022-11-07T20:04:46.145Z] Removing intermediate container b4f930655f78 [2022-11-07T20:04:46.145Z] ---> 25fa4e982382 [2022-11-07T20:04:46.145Z] Step 11/25 : COPY . . [2022-11-07T20:04:46.716Z] ---> 3e833a1cde90 [2022-11-07T20:04:46.716Z] Step 12/25 : RUN $MAKE [2022-11-07T20:04:46.716Z] ---> Running in e1a4e4314c92 [2022-11-07T20:04:46.976Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-11-07T20:05:05.060Z] Removing intermediate container e1a4e4314c92 [2022-11-07T20:05:05.061Z] ---> 3503e48ab588 [2022-11-07T20:05:05.061Z] Step 13/25 : FROM alpine:3.16 [2022-11-07T20:05:05.628Z] 3.16: Pulling from library/alpine [2022-11-07T20:05:05.890Z] 213ec9aee27d: Already exists [2022-11-07T20:05:05.890Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T20:05:05.890Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T20:05:05.890Z] ---> 9c6f07244728 [2022-11-07T20:05:05.890Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-07T20:05:05.890Z] ---> Running in ee7761442a56 [2022-11-07T20:05:06.149Z] Removing intermediate container ee7761442a56 [2022-11-07T20:05:06.149Z] ---> f1d1f317e96c [2022-11-07T20:05:06.149Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-11-07T20:05:06.149Z] ---> Running in 5436964485aa [2022-11-07T20:05:06.149Z] Removing intermediate container 5436964485aa [2022-11-07T20:05:06.149Z] ---> db6cf24f310a [2022-11-07T20:05:06.149Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T20:05:06.149Z] ---> Running in 384231b1ebad [2022-11-07T20:05:06.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T20:05:06.670Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T20:05:06.930Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T20:05:06.930Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T20:05:06.930Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T20:05:06.930Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T20:05:06.930Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T20:05:06.930Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T20:05:06.930Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T20:05:06.930Z] OK: 8 MiB in 20 packages [2022-11-07T20:05:07.497Z] Removing intermediate container 384231b1ebad [2022-11-07T20:05:07.497Z] ---> afd014af9427 [2022-11-07T20:05:07.497Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-11-07T20:05:08.067Z] ---> 1a52a1d3deec [2022-11-07T20:05:08.067Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-11-07T20:05:08.328Z] ---> 9c5b77cede33 [2022-11-07T20:05:08.328Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-11-07T20:05:08.328Z] ---> 924add3f54a2 [2022-11-07T20:05:08.328Z] Step 20/25 : EXPOSE 59986 [2022-11-07T20:05:08.328Z] ---> Running in 028cd0369499 [2022-11-07T20:05:08.587Z] Removing intermediate container 028cd0369499 [2022-11-07T20:05:08.587Z] ---> 616030e3d187 [2022-11-07T20:05:08.587Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-11-07T20:05:08.587Z] ---> Running in 01e1292ba0be [2022-11-07T20:05:08.587Z] Removing intermediate container 01e1292ba0be [2022-11-07T20:05:08.587Z] ---> 69898a321dd8 [2022-11-07T20:05:08.587Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-07T20:05:08.587Z] ---> Running in e494480c067e [2022-11-07T20:05:08.846Z] Removing intermediate container e494480c067e [2022-11-07T20:05:08.846Z] ---> 418d34b44368 [2022-11-07T20:05:08.846Z] Step 23/25 : LABEL arch=amd64 [2022-11-07T20:05:08.846Z] ---> Running in fdc4743d6e36 [2022-11-07T20:05:08.846Z] Removing intermediate container fdc4743d6e36 [2022-11-07T20:05:08.846Z] ---> 20910b93587d [2022-11-07T20:05:08.846Z] Step 24/25 : LABEL git_sha=f7b0f3ff55221c8141e07beec435664a9a9a79ab [2022-11-07T20:05:08.846Z] ---> Running in 04bcd183b6fa [2022-11-07T20:05:09.106Z] Removing intermediate container 04bcd183b6fa [2022-11-07T20:05:09.106Z] ---> 32d2d393e887 [2022-11-07T20:05:09.106Z] Step 25/25 : LABEL version=0.0.0 [2022-11-07T20:05:09.107Z] ---> Running in 60bcdde1aa52 [2022-11-07T20:05:09.107Z] Removing intermediate container 60bcdde1aa52 [2022-11-07T20:05:09.107Z] ---> 8fcdc17a82b4 [2022-11-07T20:05:09.107Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T20:05:09.107Z] Successfully built 8fcdc17a82b4 [2022-11-07T20:05:09.107Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:05:09.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T20:05:09.951Z] [2022-11-07T20:05:09.951Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:05:10.319Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T20:05:10.319Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T20:05:10.319Z] 5eb5b503b376: Pulling fs layer [2022-11-07T20:05:10.319Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T20:05:10.319Z] ec43610c2a17: Pulling fs layer [2022-11-07T20:05:10.319Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T20:05:10.319Z] 33b1e0a273af: Pulling fs layer [2022-11-07T20:05:10.319Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T20:05:10.319Z] 2f39f015ded8: Pulling fs layer [2022-11-07T20:05:10.319Z] 3a2ae6a8a46f: Waiting [2022-11-07T20:05:10.319Z] 33b1e0a273af: Waiting [2022-11-07T20:05:10.319Z] 5d3b04190fa2: Waiting [2022-11-07T20:05:10.319Z] 2f39f015ded8: Waiting [2022-11-07T20:05:10.319Z] 5c69ac0246d0: Download complete [2022-11-07T20:05:10.319Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-07T20:05:10.319Z] 3a2ae6a8a46f: Download complete [2022-11-07T20:05:10.577Z] 33b1e0a273af: Verifying Checksum [2022-11-07T20:05:10.577Z] 33b1e0a273af: Download complete [2022-11-07T20:05:10.577Z] 5d3b04190fa2: Verifying Checksum [2022-11-07T20:05:10.577Z] 5d3b04190fa2: Download complete [2022-11-07T20:05:10.577Z] ec43610c2a17: Verifying Checksum [2022-11-07T20:05:10.577Z] ec43610c2a17: Download complete [2022-11-07T20:05:10.577Z] 5eb5b503b376: Download complete [2022-11-07T20:05:11.143Z] 2f39f015ded8: Download complete [2022-11-07T20:05:11.708Z] 5eb5b503b376: Pull complete [2022-11-07T20:05:11.966Z] 5c69ac0246d0: Pull complete [2022-11-07T20:05:12.224Z] ec43610c2a17: Pull complete [2022-11-07T20:05:12.481Z] 3a2ae6a8a46f: Pull complete [2022-11-07T20:05:12.739Z] 33b1e0a273af: Pull complete [2022-11-07T20:05:12.739Z] 5d3b04190fa2: Pull complete [2022-11-07T20:05:16.921Z] 2f39f015ded8: Pull complete [2022-11-07T20:05:16.921Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T20:05:16.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T20:05:16.921Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:05:17.143Z] prd-ubuntu20.04-docker-8c-8g-118507 does not seem to be running inside a container [2022-11-07T20:05:17.170Z] $ 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-227 -v /w/workspace/gexfoundry_device-rest-go_PR-227:/w/workspace/gexfoundry_device-rest-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-227@tmp:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T20:05:18.913Z] $ docker top 9f652bcef989ba521750ca691605bd4d5e066f106e1b0486183f5b07f0c5918b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:05:19.339Z] ---> job-cost.sh [2022-11-07T20:05:19.339Z] lf-activate-venv: SKIPPING [2022-11-07T20:05:19.339Z] INFO: No Stack... [2022-11-07T20:05:19.599Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T20:05:20.168Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T20:05:20.481Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-227/archives/cost.csv [2022-11-07T20:05:20.481Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T20:05:20.519Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] [2022-11-07T20:05:20.528Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] did not exist. Created. [2022-11-07T20:05:20.528Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T20:05:20.922Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T20:05:20.972Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T20:05:20.995Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T20:05:21.061Z] $ docker stop --time=1 9f652bcef989ba521750ca691605bd4d5e066f106e1b0486183f5b07f0c5918b [2022-11-07T20:05:22.218Z] $ docker rm -f 9f652bcef989ba521750ca691605bd4d5e066f106e1b0486183f5b07f0c5918b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T20:06:29.661Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118510 in /w/workspace/gexfoundry_device-rest-go_PR-227 [Pipeline] { [Pipeline] ws [2022-11-07T20:06:29.703Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-11-07T20:06:29.787Z] The recommended git tool is: git [2022-11-07T20:06:35.334Z] using credential edgex-jenkins-ssh [2022-11-07T20:06:35.352Z] Cloning the remote Git repository [2022-11-07T20:06:35.401Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-11-07T20:06:35.490Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-11-07T20:06:35.661Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-11-07T20:06:35.662Z] > git --version # timeout=10 [2022-11-07T20:06:35.684Z] > git --version # 'git version 2.25.1' [2022-11-07T20:06:35.686Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T20:06:35.739Z] Verifying host key using known hosts file [2022-11-07T20:06:35.941Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T20:06:35.954Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T20:06:39.044Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-11-07T20:06:39.064Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T20:06:39.937Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-11-07T20:06:39.979Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-11-07T20:06:39.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T20:06:39.985Z] Verifying host key using known hosts file [2022-11-07T20:06:39.993Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T20:06:40.004Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/227/head:refs/remotes/origin/PR-227 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T20:06:40.600Z] Merging remotes/origin/main commit ee3b3be503c005455f07215b653abfd16f272028 into PR head commit f7b0f3ff55221c8141e07beec435664a9a9a79ab [2022-11-07T20:06:40.848Z] Merge succeeded, producing f7b0f3ff55221c8141e07beec435664a9a9a79ab [2022-11-07T20:06:40.848Z] Checking out Revision f7b0f3ff55221c8141e07beec435664a9a9a79ab (PR-227) [2022-11-07T20:06:41.377Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-11-07T20:06:41.436Z] > git --version # timeout=10 [2022-11-07T20:06:41.453Z] > git --version # 'git version 2.25.1' [2022-11-07T20:06:41.477Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T20:06:40.623Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T20:06:40.647Z] > git checkout -f f7b0f3ff55221c8141e07beec435664a9a9a79ab # timeout=10 [2022-11-07T20:06:40.747Z] > git remote # timeout=10 [2022-11-07T20:06:40.767Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T20:06:40.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T20:06:40.790Z] Verifying host key using known hosts file [2022-11-07T20:06:40.795Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T20:06:40.805Z] > git merge ee3b3be503c005455f07215b653abfd16f272028 # timeout=10 [2022-11-07T20:06:40.833Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T20:06:40.858Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T20:06:40.878Z] > git checkout -f f7b0f3ff55221c8141e07beec435664a9a9a79ab # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T20:06:42.564Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T20:06:42.564Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T20:06:42.564Z] Dload Upload Total Spent Left Speed [2022-11-07T20:06:42.564Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh [2022-11-07T20:06:43.211Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T20:06:43.562Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T20:06:43.562Z] sudo tee /etc/docker/daemon.new [2022-11-07T20:06:43.562Z] { [2022-11-07T20:06:43.562Z] "registry-mirrors": [ [2022-11-07T20:06:43.562Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T20:06:43.562Z] ], [2022-11-07T20:06:43.562Z] "bip": "10.250.0.254/24", [2022-11-07T20:06:43.562Z] "hosts": [ [2022-11-07T20:06:43.562Z] "tcp://0.0.0.0:5555", [2022-11-07T20:06:43.562Z] "unix:///var/run/docker.sock" [2022-11-07T20:06:43.562Z] ], [2022-11-07T20:06:43.562Z] "mtu": 1458, [2022-11-07T20:06:43.562Z] "selinux-enabled": true, [2022-11-07T20:06:43.562Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T20:06:43.562Z] } [Pipeline] sh [2022-11-07T20:06:43.907Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T20:06:44.264Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T20:07:02.597Z] provisioning config files... [2022-11-07T20:07:02.628Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config13249832151468021962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:07:03.037Z] ---> docker-login.sh [2022-11-07T20:07:03.037Z] nexus3.edgexfoundry.org:10001 [2022-11-07T20:07:03.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:07:03.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:07:03.901Z] Configure a credential helper to remove this warning. See [2022-11-07T20:07:03.901Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:07:03.901Z] [2022-11-07T20:07:03.901Z] Login Succeeded [2022-11-07T20:07:03.901Z] nexus3.edgexfoundry.org:10002 [2022-11-07T20:07:04.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:07:04.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:07:04.174Z] Configure a credential helper to remove this warning. See [2022-11-07T20:07:04.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:07:04.174Z] [2022-11-07T20:07:04.174Z] Login Succeeded [2022-11-07T20:07:04.174Z] nexus3.edgexfoundry.org:10003 [2022-11-07T20:07:04.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:07:04.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:07:04.721Z] Configure a credential helper to remove this warning. See [2022-11-07T20:07:04.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:07:04.721Z] [2022-11-07T20:07:04.721Z] Login Succeeded [2022-11-07T20:07:04.721Z] nexus3.edgexfoundry.org:10004 [2022-11-07T20:07:04.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:07:04.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:07:04.993Z] Configure a credential helper to remove this warning. See [2022-11-07T20:07:04.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:07:04.993Z] [2022-11-07T20:07:04.993Z] Login Succeeded [2022-11-07T20:07:04.993Z] docker.io [2022-11-07T20:07:05.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:07:05.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:07:05.850Z] Configure a credential helper to remove this warning. See [2022-11-07T20:07:05.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:07:05.850Z] [2022-11-07T20:07:05.850Z] Login Succeeded [2022-11-07T20:07:05.850Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T20:07:05.879Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T20:07:06.159Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T20:07:06.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T20:07:06.225Z] ========================================================= [2022-11-07T20:07:06.225Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T20:07:06.225Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:07:06.723Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-07T20:07:06.723Z] Sending build context to Docker daemon 129.5kB [2022-11-07T20:07:06.993Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T20:07:06.993Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T20:07:07.275Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T20:07:07.275Z] 9b18e9b68314: Pulling fs layer [2022-11-07T20:07:07.275Z] 35d82f9e3411: Pulling fs layer [2022-11-07T20:07:07.275Z] e16973657156: Pulling fs layer [2022-11-07T20:07:07.275Z] fc693d55d65f: Pulling fs layer [2022-11-07T20:07:07.275Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T20:07:07.275Z] dda99020689f: Pulling fs layer [2022-11-07T20:07:07.275Z] db1c61fa0a46: Pulling fs layer [2022-11-07T20:07:07.275Z] 891c053d2c06: Pulling fs layer [2022-11-07T20:07:07.275Z] fc693d55d65f: Waiting [2022-11-07T20:07:07.275Z] 7e9fc2657dce: Waiting [2022-11-07T20:07:07.275Z] dda99020689f: Waiting [2022-11-07T20:07:07.275Z] db1c61fa0a46: Waiting [2022-11-07T20:07:07.275Z] 891c053d2c06: Waiting [2022-11-07T20:07:07.275Z] e16973657156: Download complete [2022-11-07T20:07:07.275Z] 35d82f9e3411: Verifying Checksum [2022-11-07T20:07:07.275Z] 35d82f9e3411: Download complete [2022-11-07T20:07:07.275Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T20:07:07.275Z] 7e9fc2657dce: Download complete [2022-11-07T20:07:07.275Z] dda99020689f: Download complete [2022-11-07T20:07:07.275Z] 9b18e9b68314: Download complete [2022-11-07T20:07:08.266Z] 9b18e9b68314: Pull complete [2022-11-07T20:07:08.266Z] 891c053d2c06: Verifying Checksum [2022-11-07T20:07:08.266Z] 891c053d2c06: Download complete [2022-11-07T20:07:08.868Z] 35d82f9e3411: Pull complete [2022-11-07T20:07:09.143Z] e16973657156: Pull complete [2022-11-07T20:07:09.655Z] db1c61fa0a46: Verifying Checksum [2022-11-07T20:07:09.655Z] db1c61fa0a46: Download complete [2022-11-07T20:07:10.244Z] fc693d55d65f: Verifying Checksum [2022-11-07T20:07:22.583Z] fc693d55d65f: Pull complete [2022-11-07T20:07:22.583Z] 7e9fc2657dce: Pull complete [2022-11-07T20:07:22.853Z] dda99020689f: Pull complete [2022-11-07T20:07:29.589Z] db1c61fa0a46: Pull complete [2022-11-07T20:07:32.242Z] 891c053d2c06: Pull complete [2022-11-07T20:07:32.242Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T20:07:32.242Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T20:07:32.242Z] ---> f96f9c87975a [2022-11-07T20:07:32.242Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T20:07:34.196Z] ---> Running in 119b126501c4 [2022-11-07T20:07:34.196Z] Removing intermediate container 119b126501c4 [2022-11-07T20:07:34.196Z] ---> e314e54fccdb [2022-11-07T20:07:34.196Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T20:07:34.196Z] ---> Running in 0d13296b9d85 [2022-11-07T20:07:34.470Z] Removing intermediate container 0d13296b9d85 [2022-11-07T20:07:34.470Z] ---> 00453207924d [2022-11-07T20:07:34.470Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T20:07:34.470Z] ---> Running in 13619299d5da [2022-11-07T20:07:35.058Z] Removing intermediate container 13619299d5da [2022-11-07T20:07:35.058Z] ---> 4cf26f94c762 [2022-11-07T20:07:35.058Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T20:07:35.058Z] ---> Running in c72d5169bbb9 [2022-11-07T20:07:35.334Z] Removing intermediate container c72d5169bbb9 [2022-11-07T20:07:35.334Z] ---> 90eaef6587c6 [2022-11-07T20:07:35.334Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T20:07:35.334Z] ---> Running in 646c20904b8a [2022-11-07T20:07:36.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T20:07:36.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T20:07:37.719Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T20:07:37.719Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T20:07:37.719Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T20:07:37.719Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T20:07:37.719Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T20:07:37.719Z] OK: 226 MiB in 55 packages [2022-11-07T20:07:38.713Z] Removing intermediate container 646c20904b8a [2022-11-07T20:07:38.713Z] ---> 3ba1929280cd [2022-11-07T20:07:38.713Z] Step 8/12 : WORKDIR /device-rest-go [2022-11-07T20:07:38.713Z] ---> Running in 074eaf84afc5 [2022-11-07T20:07:39.298Z] Removing intermediate container 074eaf84afc5 [2022-11-07T20:07:39.298Z] ---> eb323e320143 [2022-11-07T20:07:39.298Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T20:07:39.567Z] ---> ecda8e954d4a [2022-11-07T20:07:39.567Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T20:07:39.567Z] ---> Running in 37d014dbfd6b [2022-11-07T20:08:36.027Z] Removing intermediate container 37d014dbfd6b [2022-11-07T20:08:36.027Z] ---> 82bfe74e3cd2 [2022-11-07T20:08:36.027Z] Step 11/12 : COPY . . [2022-11-07T20:08:36.027Z] ---> 9def74778af2 [2022-11-07T20:08:36.027Z] Step 12/12 : RUN $MAKE [2022-11-07T20:08:36.027Z] ---> Running in e17c7f6d4aed [2022-11-07T20:08:36.027Z] noop [2022-11-07T20:08:36.027Z] Removing intermediate container e17c7f6d4aed [2022-11-07T20:08:36.027Z] ---> 9cf346683f3c [2022-11-07T20:08:36.027Z] Successfully built 9cf346683f3c [2022-11-07T20:08:36.027Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:08:36.508Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T20:08:36.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:08:36.772Z] prd-ubuntu20.04-docker-arm64-4c-16g-118510 does not seem to be running inside a container [2022-11-07T20:08:36.849Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T20:08:38.033Z] $ docker top f34e86f2358f199da1fa1cdb1cc355ba8001a1a0d9b68112870217c01aed7f1d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T20:08:38.946Z] + go version [2022-11-07T20:08:38.946Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T20:08:38.987Z] $ docker stop --time=1 f34e86f2358f199da1fa1cdb1cc355ba8001a1a0d9b68112870217c01aed7f1d [2022-11-07T20:08:40.651Z] $ docker rm -f f34e86f2358f199da1fa1cdb1cc355ba8001a1a0d9b68112870217c01aed7f1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:08:41.540Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T20:08:41.540Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:08:41.802Z] prd-ubuntu20.04-docker-arm64-4c-16g-118510 does not seem to be running inside a container [2022-11-07T20:08:41.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T20:08:43.567Z] $ docker top 4ed5b5c5927bd2d4a02982970e55cf02cc17adbcccf6821c2e39251e474316d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T20:08:44.131Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-07T20:08:44.531Z] + make test [2022-11-07T20:08:44.799Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T20:08:46.757Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-11-07T20:10:23.440Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-11-07T20:10:23.440Z] ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 55.2% of statements [2022-11-07T20:10:23.440Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T20:10:23.440Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T20:10:38.433Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T20:10:38.433Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T20:10:38.433Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T20:10:38.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T20:10:38.517Z] $ docker stop --time=1 4ed5b5c5927bd2d4a02982970e55cf02cc17adbcccf6821c2e39251e474316d7 [2022-11-07T20:10:40.304Z] $ docker rm -f 4ed5b5c5927bd2d4a02982970e55cf02cc17adbcccf6821c2e39251e474316d7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T20:10:41.326Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T20:10:41.365Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T20:10:41.792Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T20:10:42.438Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T20:10:42.784Z] + ls -al . [2022-11-07T20:10:42.784Z] total 184 [2022-11-07T20:10:42.784Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:08 . [2022-11-07T20:10:42.784Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:06 .. [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 20:06 .dockerignore [2022-11-07T20:10:42.784Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:06 .git [2022-11-07T20:10:42.784Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:06 .github [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 20:06 .gitignore [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 20:06 .golangci.yml [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 9100 Nov 7 20:06 Attribution.txt [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 13085 Nov 7 20:06 CHANGELOG.md [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 1641 Nov 7 20:06 Dockerfile [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 20:06 GOVERNANCE.md [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 20:06 Jenkinsfile [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 20:06 LICENSE [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 2173 Nov 7 20:06 Makefile [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 20:06 OWNERS.md [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 8667 Nov 7 20:06 README.md [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 20:03 VERSION [2022-11-07T20:10:42.784Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:06 bin [2022-11-07T20:10:42.784Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:06 cmd [2022-11-07T20:10:42.784Z] -rw-r--r-- 1 jenkins jenkins 9355 Nov 7 20:10 coverage.out [2022-11-07T20:10:42.784Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:06 driver [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 3494 Nov 7 20:06 go.mod [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 44883 Nov 7 20:06 go.sum [2022-11-07T20:10:42.784Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:06 snap [2022-11-07T20:10:42.784Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:10:43.210Z] + 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=f7b0f3ff55221c8141e07beec435664a9a9a79ab --label arch=arm64 --label version=0.0.0 . [2022-11-07T20:10:43.210Z] Sending build context to Docker daemon 139.8kB [2022-11-07T20:10:43.478Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T20:10:43.478Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-07T20:10:43.478Z] ---> 9cf346683f3c [2022-11-07T20:10:43.478Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-07T20:10:43.478Z] ---> Running in 320b8222867e [2022-11-07T20:10:43.749Z] Removing intermediate container 320b8222867e [2022-11-07T20:10:43.749Z] ---> e578f4752be2 [2022-11-07T20:10:43.749Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T20:10:44.017Z] ---> Running in 2a1335c6a82a [2022-11-07T20:10:44.284Z] Removing intermediate container 2a1335c6a82a [2022-11-07T20:10:44.284Z] ---> 42c198535708 [2022-11-07T20:10:44.284Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T20:10:44.284Z] ---> Running in 5274b85d15ce [2022-11-07T20:10:44.552Z] Removing intermediate container 5274b85d15ce [2022-11-07T20:10:44.552Z] ---> 439137b9bf91 [2022-11-07T20:10:44.552Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T20:10:44.552Z] ---> Running in eb8a9d3acf46 [2022-11-07T20:10:44.820Z] Removing intermediate container eb8a9d3acf46 [2022-11-07T20:10:44.820Z] ---> 656294459787 [2022-11-07T20:10:44.820Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T20:10:45.089Z] ---> Running in 1a83df4407a1 [2022-11-07T20:10:46.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T20:10:46.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T20:10:47.732Z] OK: 226 MiB in 55 packages [2022-11-07T20:10:48.322Z] Removing intermediate container 1a83df4407a1 [2022-11-07T20:10:48.322Z] ---> 222f9565735e [2022-11-07T20:10:48.322Z] Step 8/25 : WORKDIR /device-rest-go [2022-11-07T20:10:48.592Z] ---> Running in b19c625be119 [2022-11-07T20:10:48.859Z] Removing intermediate container b19c625be119 [2022-11-07T20:10:48.859Z] ---> 860cb0dd95f3 [2022-11-07T20:10:48.859Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-07T20:10:49.444Z] ---> 1ea24c2dbbdd [2022-11-07T20:10:49.444Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T20:10:49.444Z] ---> Running in 1e5d3b93185e [2022-11-07T20:10:53.720Z] Removing intermediate container 1e5d3b93185e [2022-11-07T20:10:53.720Z] ---> 83ba729b07a6 [2022-11-07T20:10:53.720Z] Step 11/25 : COPY . . [2022-11-07T20:10:55.136Z] ---> 2d7e0f1db566 [2022-11-07T20:10:55.136Z] Step 12/25 : RUN $MAKE [2022-11-07T20:10:55.136Z] ---> Running in 5f372a7eee0b [2022-11-07T20:10:56.098Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-11-07T20:13:32.819Z] Removing intermediate container 5f372a7eee0b [2022-11-07T20:13:32.819Z] ---> 5da3ab497ab3 [2022-11-07T20:13:32.819Z] Step 13/25 : FROM alpine:3.16 [2022-11-07T20:13:32.819Z] 3.16: Pulling from library/alpine [2022-11-07T20:13:32.819Z] 9b18e9b68314: Already exists [2022-11-07T20:13:32.819Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T20:13:32.819Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T20:13:32.819Z] ---> a6215f271958 [2022-11-07T20:13:32.819Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-07T20:13:32.819Z] ---> Running in c8631c9a9267 [2022-11-07T20:13:32.819Z] Removing intermediate container c8631c9a9267 [2022-11-07T20:13:32.819Z] ---> 835485c2a8f1 [2022-11-07T20:13:32.819Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-11-07T20:13:32.819Z] ---> Running in 0df088764fea [2022-11-07T20:13:32.819Z] Removing intermediate container 0df088764fea [2022-11-07T20:13:32.819Z] ---> 0cca791419f8 [2022-11-07T20:13:32.819Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T20:13:32.819Z] ---> Running in e33b6cfb9992 [2022-11-07T20:13:32.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T20:13:32.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T20:13:32.819Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T20:13:32.819Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T20:13:32.819Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T20:13:32.819Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T20:13:32.819Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T20:13:32.819Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T20:13:32.819Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T20:13:32.819Z] OK: 8 MiB in 20 packages [2022-11-07T20:13:32.819Z] Removing intermediate container e33b6cfb9992 [2022-11-07T20:13:32.819Z] ---> b75148575631 [2022-11-07T20:13:32.819Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-11-07T20:13:32.819Z] ---> d50555d61f40 [2022-11-07T20:13:32.819Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-11-07T20:13:32.819Z] ---> 020167e1b522 [2022-11-07T20:13:32.819Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-11-07T20:13:32.819Z] ---> 31eae40a17ec [2022-11-07T20:13:32.819Z] Step 20/25 : EXPOSE 59986 [2022-11-07T20:13:32.819Z] ---> Running in 571cfc42acc7 [2022-11-07T20:13:32.819Z] Removing intermediate container 571cfc42acc7 [2022-11-07T20:13:32.819Z] ---> 763e1bf5ea2a [2022-11-07T20:13:32.819Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-11-07T20:13:32.819Z] ---> Running in 55f1efe5a06d [2022-11-07T20:13:32.819Z] Removing intermediate container 55f1efe5a06d [2022-11-07T20:13:32.819Z] ---> 7b6c562f453c [2022-11-07T20:13:32.819Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-07T20:13:32.819Z] ---> Running in 3a1dc1f66aa4 [2022-11-07T20:13:32.819Z] Removing intermediate container 3a1dc1f66aa4 [2022-11-07T20:13:32.819Z] ---> b8f0af127f79 [2022-11-07T20:13:32.819Z] Step 23/25 : LABEL arch=arm64 [2022-11-07T20:13:32.819Z] ---> Running in 54c0f4ed4c8c [2022-11-07T20:13:32.819Z] Removing intermediate container 54c0f4ed4c8c [2022-11-07T20:13:32.819Z] ---> 09c7fc0b6369 [2022-11-07T20:13:32.819Z] Step 24/25 : LABEL git_sha=f7b0f3ff55221c8141e07beec435664a9a9a79ab [2022-11-07T20:13:32.819Z] ---> Running in d774bdf94598 [2022-11-07T20:13:32.819Z] Removing intermediate container d774bdf94598 [2022-11-07T20:13:32.819Z] ---> 202533b421c6 [2022-11-07T20:13:32.819Z] Step 25/25 : LABEL version=0.0.0 [2022-11-07T20:13:32.819Z] ---> Running in 81e8b67958a0 [2022-11-07T20:13:32.819Z] Removing intermediate container 81e8b67958a0 [2022-11-07T20:13:32.819Z] ---> 88cf084dc51c [2022-11-07T20:13:32.819Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T20:13:32.819Z] Successfully built 88cf084dc51c [2022-11-07T20:13:32.819Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:13:33.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T20:13:33.632Z] [2022-11-07T20:13:33.632Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:13:34.027Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T20:13:34.027Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T20:13:34.027Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T20:13:34.027Z] 04944245beec: Pulling fs layer [2022-11-07T20:13:34.027Z] 699f458cf7ca: Pulling fs layer [2022-11-07T20:13:34.027Z] 765212b225bb: Pulling fs layer [2022-11-07T20:13:34.027Z] f23df028b6ca: Pulling fs layer [2022-11-07T20:13:34.027Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T20:13:34.028Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T20:13:34.028Z] f23df028b6ca: Waiting [2022-11-07T20:13:34.028Z] 2437ff75d9bd: Waiting [2022-11-07T20:13:34.028Z] d65c8cfc05b1: Waiting [2022-11-07T20:13:34.028Z] 765212b225bb: Waiting [2022-11-07T20:13:34.297Z] 04944245beec: Verifying Checksum [2022-11-07T20:13:34.297Z] 04944245beec: Download complete [2022-11-07T20:13:34.297Z] 765212b225bb: Verifying Checksum [2022-11-07T20:13:34.297Z] 765212b225bb: Download complete [2022-11-07T20:13:34.297Z] f23df028b6ca: Download complete [2022-11-07T20:13:34.297Z] d65c8cfc05b1: Download complete [2022-11-07T20:13:34.297Z] 699f458cf7ca: Verifying Checksum [2022-11-07T20:13:34.297Z] 699f458cf7ca: Download complete [2022-11-07T20:13:34.884Z] 8998bd30e6a1: Download complete [2022-11-07T20:13:37.488Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T20:13:37.488Z] 2437ff75d9bd: Download complete [2022-11-07T20:13:38.909Z] 8998bd30e6a1: Pull complete [2022-11-07T20:13:39.492Z] 04944245beec: Pull complete [2022-11-07T20:13:40.900Z] 699f458cf7ca: Pull complete [2022-11-07T20:13:40.900Z] 765212b225bb: Pull complete [2022-11-07T20:13:41.484Z] f23df028b6ca: Pull complete [2022-11-07T20:13:41.753Z] d65c8cfc05b1: Pull complete [2022-11-07T20:13:56.746Z] 2437ff75d9bd: Pull complete [2022-11-07T20:13:56.746Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T20:13:56.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T20:13:56.746Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:13:57.054Z] prd-ubuntu20.04-docker-arm64-4c-16g-118510 does not seem to be running inside a container [2022-11-07T20:13:57.112Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-07T20:13:59.690Z] $ docker top 3932bcd00fc642be45fb40da8dc283b713ce98445c7c16913f0c905c22ffd26d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:14:00.600Z] ---> job-cost.sh [2022-11-07T20:14:00.600Z] lf-activate-venv: SKIPPING [2022-11-07T20:14:00.600Z] INFO: No Stack... [2022-11-07T20:14:00.867Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T20:14:01.823Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T20:14:02.495Z] + cut -d, -f6 [2022-11-07T20:14:02.495Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-11-07T20:14:02.567Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] [2022-11-07T20:14:02.572Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] did not exist. Created. [2022-11-07T20:14:02.572Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T20:14:03.291Z] /w/workspace/device-rest-go/1@tmp/durable-f96c4f27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T20:14:03.964Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T20:14:03.999Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T20:14:04.038Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T20:14:04.052Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T20:14:04.122Z] $ docker stop --time=1 3932bcd00fc642be45fb40da8dc283b713ce98445c7c16913f0c905c22ffd26d [2022-11-07T20:14:05.605Z] $ docker rm -f 3932bcd00fc642be45fb40da8dc283b713ce98445c7c16913f0c905c22ffd26d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-07T20:14:06.567Z] provisioning config files... [2022-11-07T20:14:06.574Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp/config16560801211076171899tmp [Pipeline] { [Pipeline] sh [2022-11-07T20:14:06.898Z] + set +x [2022-11-07T20:14:06.898Z] + curl -s https://codecov.io/bash [2022-11-07T20:14:06.898Z] + bash -s -- [2022-11-07T20:14:06.898Z] [2022-11-07T20:14:06.898Z] _____ _ [2022-11-07T20:14:06.898Z] / ____| | | [2022-11-07T20:14:06.898Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T20:14:06.898Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T20:14:06.898Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T20:14:06.898Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T20:14:06.898Z] Bash-1.0.6 [2022-11-07T20:14:06.898Z] [2022-11-07T20:14:06.898Z] [2022-11-07T20:14:06.898Z] ==> git version 2.25.1 found [2022-11-07T20:14:06.898Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-07T20:14:06.898Z] Release-Date: 2020-01-08 [2022-11-07T20:14:06.898Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-07T20:14:06.898Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T20:14:06.898Z] ==> Jenkins CI detected. [2022-11-07T20:14:06.898Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-227 [2022-11-07T20:14:06.898Z] project root: . [2022-11-07T20:14:06.898Z] --> token set from env [2022-11-07T20:14:06.898Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T20:14:06.898Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T20:14:06.898Z] ==> Python coveragepy not found [2022-11-07T20:14:06.898Z] ==> Searching for coverage reports in: [2022-11-07T20:14:06.898Z] + . [2022-11-07T20:14:06.898Z] -> Found 1 reports [2022-11-07T20:14:06.898Z] ==> Detecting git/mercurial file structure [2022-11-07T20:14:06.898Z] ==> Reading reports [2022-11-07T20:14:06.898Z] + ./coverage.out bytes=9355 [2022-11-07T20:14:06.898Z] ==> Appending adjustments [2022-11-07T20:14:06.898Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T20:14:06.898Z] + Found adjustments [2022-11-07T20:14:06.898Z] ==> Gzipping contents [2022-11-07T20:14:06.898Z] 4.0K /tmp/codecov.DKMcRE.gz [2022-11-07T20:14:06.898Z] ==> Uploading reports [2022-11-07T20:14:06.898Z] url: https://codecov.io [2022-11-07T20:14:06.898Z] query: branch=PR-227&commit=f7b0f3ff55221c8141e07beec435664a9a9a79ab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-227%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=227&job=&cmd_args= [2022-11-07T20:14:07.157Z] -> Pinging Codecov [2022-11-07T20:14:07.157Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-227&commit=f7b0f3ff55221c8141e07beec435664a9a9a79ab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-227%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=227&job=&cmd_args= [2022-11-07T20:14:07.418Z] -> Uploading to [2022-11-07T20:14:07.418Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/4E5D53B4F1F92C436F7061BF334D961C/f7b0f3ff55221c8141e07beec435664a9a9a79ab/4fb34c78-ad62-4892-9444-f34951ab01e5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T201407Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d09c261e34ace2452b94c4ced1a1f5ce13f4d685def3925a9b00ebdff634ca37 [2022-11-07T20:14:07.418Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T20:14:07.418Z] Dload Upload Total Spent Left Speed [2022-11-07T20:14:07.678Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 6924 --:--:-- --:--:-- --:--:-- 6924 [2022-11-07T20:14:07.678Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f7b0f3ff55221c8141e07beec435664a9a9a79ab [Pipeline] } [2022-11-07T20:14:07.702Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-07T20:14:09.353Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-227/archives ] [2022-11-07T20:14:09.353Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-227/archives [2022-11-07T20:14:09.353Z] total 16 [2022-11-07T20:14:09.353Z] drwxr-xr-x 3 root root 4096 Nov 7 20:05 . [2022-11-07T20:14:09.353Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 20:05 .. [2022-11-07T20:14:09.353Z] drwxr-xr-x 2 root root 4096 Nov 7 20:05 cost [2022-11-07T20:14:09.353Z] -rw-r--r-- 1 root root 86 Nov 7 20:05 cost.csv [2022-11-07T20:14:09.353Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-227/archives [2022-11-07T20:14:09.353Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-227/archives [2022-11-07T20:14:09.353Z] total 16 [2022-11-07T20:14:09.353Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 20:05 . [2022-11-07T20:14:09.353Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 20:05 .. [2022-11-07T20:14:09.353Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 20:05 cost [2022-11-07T20:14:09.353Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 20:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:14:09.679Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:14:10.562Z] ---> package-listing.sh [2022-11-07T20:14:10.562Z] ++ facter osfamily [2022-11-07T20:14:10.562Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T20:14:10.823Z] + OS_FAMILY=debian [2022-11-07T20:14:10.823Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-227 [2022-11-07T20:14:10.823Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T20:14:10.823Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T20:14:10.823Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T20:14:10.823Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T20:14:10.823Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-227 ']' [2022-11-07T20:14:10.823Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T20:14:10.823Z] + case "${OS_FAMILY}" in [2022-11-07T20:14:10.823Z] + dpkg -l [2022-11-07T20:14:10.823Z] + grep '^ii' [2022-11-07T20:14:10.823Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T20:14:10.823Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T20:14:10.823Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T20:14:10.823Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-227 ']' [2022-11-07T20:14:10.823Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-227/archives/ [2022-11-07T20:14:10.823Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-227/archives/ [Pipeline] echo [2022-11-07T20:14:10.857Z] 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-227/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T20:14:11.147Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:14:11.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T20:14:11.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:14:11.916Z] prd-ubuntu20.04-docker-8c-8g-118507 does not seem to be running inside a container [2022-11-07T20:14:11.940Z] $ 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-227/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-227 -v /w/workspace/gexfoundry_device-rest-go_PR-227:/w/workspace/gexfoundry_device-rest-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-227@tmp:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T20:14:12.181Z] $ docker top 175b1ef559baf37618c6e67d5ded72d3afcd856403ecc5a697ec1288bd31e78e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T20:14:12.564Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T20:14:12.872Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T20:14:13.189Z] + ls /var/log/sa-host [2022-11-07T20:14:13.190Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T20:14:13.371Z] provisioning config files... [2022-11-07T20:14:13.378Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp/config3170752496023918548tmp [Pipeline] { [Pipeline] echo [2022-11-07T20:14:13.431Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:14:13.745Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T20:14:13.775Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:14:14.158Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T20:14:14.191Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:14:14.508Z] ---> sudo-logs.sh [2022-11-07T20:14:14.508Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T20:14:14.588Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:14:14.894Z] ---> job-cost.sh [2022-11-07T20:14:14.894Z] lf-activate-venv: SKIPPING [2022-11-07T20:14:14.894Z] DEBUG: total: 0.2199999988079071 [2022-11-07T20:14:14.894Z] INFO: Retrieving Stack Cost... [2022-11-07T20:14:15.461Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T20:14:15.719Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T20:14:15.751Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:14:16.057Z] ---> logs-deploy.sh [2022-11-07T20:14:16.057Z] lf-activate-venv: SKIPPING [2022-11-07T20:14:16.057Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-227/1 [2022-11-07T20:14:16.057Z] INFO: archiving workspace using pattern(s): [2022-11-07T20:14:16.992Z] Archives upload complete. [2022-11-07T20:14:16.992Z] INFO: archiving logs to Nexus