Pull request #228 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 684b3cc16076e0871f51c109ed11a84cd1314297+98c53550becdffe5607264f4f78746e0be51d9ff (96086eea41c6e8b12e667d2f2496f2a26ecea471) 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-ssh8734845914978201421.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-ssh11096616727251856140.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-228/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-228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8835001379864908214.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-228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9672075088868326715.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-ssh17654078628657569609.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-228/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-228/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh352072342186215099.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118611 in /w/workspace/gexfoundry_device-rest-go_PR-228 [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-228 # 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/228/head:refs/remotes/origin/PR-228 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 98c53550becdffe5607264f4f78746e0be51d9ff into PR head commit 684b3cc16076e0871f51c109ed11a84cd1314297 Merge succeeded, producing 684b3cc16076e0871f51c109ed11a84cd1314297 Checking out Revision 684b3cc16076e0871f51c109ed11a84cd1314297 (PR-228) > git config core.sparsecheckout # timeout=10 > git checkout -f 684b3cc16076e0871f51c109ed11a84cd1314297 # 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 98c53550becdffe5607264f4f78746e0be51d9ff # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 684b3cc16076e0871f51c109ed11a84cd1314297 # timeout=10 Commit message: "build: Update to use released SDK" 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-08T15:58:13.433Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T15:58:13.605Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T15:58:13.704Z] ========================================================= [2022-11-08T15:58:13.704Z] EdgeX Global Pipelines Version Info [2022-11-08T15:58:13.704Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-08T15:58:14.476Z] ------------------- [2022-11-08T15:58:14.476Z] stable info: [2022-11-08T15:58:14.476Z] ------------------- [2022-11-08T15:58:14.476Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T15:58:14.476Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T15:58:14.476Z] Message: update stable to v1.0.244 [2022-11-08T15:58:15.051Z] ------------------- [2022-11-08T15:58:15.051Z] experimental info: [2022-11-08T15:58:15.051Z] ------------------- [2022-11-08T15:58:15.051Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T15:58:15.051Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T15:58:15.051Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T15:58:15.347Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-11-08T15:58:15.392Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-11-08T15:58:15.434Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T15:58:15.478Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T15:58:15.516Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T15:58:15.559Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T15:58:15.602Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T15:58:15.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-08T15:58:15.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T15:58:15.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T15:58:15.762Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T15:58:15.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-11-08T15:58:15.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T15:58:15.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T15:58:15.934Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T15:58:15.973Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T15:58:16.014Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T15:58:16.053Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T15:58:16.092Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T15:58:16.139Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T15:58:16.184Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-08T15:58:16.227Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-08T15:58:16.268Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T15:58:16.311Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T15:58:16.355Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T15:58:16.394Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T15:58:16.433Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T15:58:16.482Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-228 [Pipeline] echo [2022-11-08T15:58:16.520Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-228 [Pipeline] echo [2022-11-08T15:58:16.563Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-228 [Pipeline] echo [2022-11-08T15:58:16.608Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 684b3cc16076e0871f51c109ed11a84cd1314297 [Pipeline] echo [2022-11-08T15:58:16.654Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 684b3cc [Pipeline] echo [2022-11-08T15:58:16.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T15:58:16.811Z] provisioning config files... [2022-11-08T15:58:16.828Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp/config6595154055778142383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T15:58:17.169Z] ---> docker-login.sh [2022-11-08T15:58:17.169Z] nexus3.edgexfoundry.org:10001 [2022-11-08T15:58:17.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:17.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:17.429Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:17.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:17.429Z] [2022-11-08T15:58:17.429Z] Login Succeeded [2022-11-08T15:58:17.429Z] nexus3.edgexfoundry.org:10002 [2022-11-08T15:58:17.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:17.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:17.429Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:17.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:17.429Z] [2022-11-08T15:58:17.429Z] Login Succeeded [2022-11-08T15:58:17.429Z] nexus3.edgexfoundry.org:10003 [2022-11-08T15:58:17.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:17.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:17.689Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:17.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:17.689Z] [2022-11-08T15:58:17.689Z] Login Succeeded [2022-11-08T15:58:17.689Z] nexus3.edgexfoundry.org:10004 [2022-11-08T15:58:17.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:17.689Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:17.689Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:17.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:17.689Z] [2022-11-08T15:58:17.689Z] Login Succeeded [2022-11-08T15:58:17.689Z] docker.io [2022-11-08T15:58:17.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:18.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:18.209Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:18.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:18.209Z] [2022-11-08T15:58:18.209Z] Login Succeeded [2022-11-08T15:58:18.209Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T15:58:18.236Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T15:58:18.846Z] + git rev-list -1 --merges 684b3cc16076e0871f51c109ed11a84cd1314297~1..684b3cc16076e0871f51c109ed11a84cd1314297 [Pipeline] echo [2022-11-08T15:58:18.892Z] -----------> git rev-list -1 --merges 684b3cc16076e0871f51c109ed11a84cd1314297~1..684b3cc16076e0871f51c109ed11a84cd1314297 684b3cc16076e0871f51c109ed11a84cd1314297 [false] [Pipeline] sh [2022-11-08T15:58:19.202Z] + git log --format=format:%s -1 684b3cc16076e0871f51c109ed11a84cd1314297 [Pipeline] echo [2022-11-08T15:58:19.233Z] ========================================================= [2022-11-08T15:58:19.233Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T15:58:19.233Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T15:58:19.652Z] + git log --format=format:%s -1 684b3cc16076e0871f51c109ed11a84cd1314297 [Pipeline] echo [2022-11-08T15:58:19.684Z] [semverPrep] GIT_COMMIT: 684b3cc16076e0871f51c109ed11a84cd1314297, Commit Message: build: Update to use released SDK [Pipeline] echo [2022-11-08T15:58:19.715Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T15:58:20.106Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T15:58:20.106Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T15:58:20.106Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T15:58:20.106Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T15:58:20.106Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-08T15:58:20.106Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-08T15:58:20.106Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T15:58:20.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T15:58:20.538Z] [2022-11-08T15:58:20.538Z] 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-08T15:58:20.912Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T15:58:20.912Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T15:58:20.912Z] b85a868b505f: Pulling fs layer [2022-11-08T15:58:20.912Z] e2be974225ed: Pulling fs layer [2022-11-08T15:58:20.912Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T15:58:20.912Z] 988bab9f4d93: Pulling fs layer [2022-11-08T15:58:20.912Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T15:58:20.912Z] eaf3925da568: Pulling fs layer [2022-11-08T15:58:20.912Z] bab4dde63d76: Pulling fs layer [2022-11-08T15:58:20.912Z] bde34c3a00c8: Pulling fs layer [2022-11-08T15:58:20.912Z] b352a97aabf1: Pulling fs layer [2022-11-08T15:58:20.912Z] 4872d77fe225: Pulling fs layer [2022-11-08T15:58:20.912Z] 5851b861e8e6: Pulling fs layer [2022-11-08T15:58:20.912Z] eaf3925da568: Waiting [2022-11-08T15:58:20.912Z] bab4dde63d76: Waiting [2022-11-08T15:58:20.912Z] bde34c3a00c8: Waiting [2022-11-08T15:58:20.912Z] 5851b861e8e6: Waiting [2022-11-08T15:58:20.912Z] 988bab9f4d93: Waiting [2022-11-08T15:58:20.912Z] b352a97aabf1: Waiting [2022-11-08T15:58:20.912Z] 1469e6f7b9e6: Waiting [2022-11-08T15:58:20.912Z] e2be974225ed: Verifying Checksum [2022-11-08T15:58:20.912Z] e2be974225ed: Download complete [2022-11-08T15:58:20.912Z] 988bab9f4d93: Verifying Checksum [2022-11-08T15:58:20.912Z] 988bab9f4d93: Download complete [2022-11-08T15:58:21.171Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T15:58:21.171Z] 1469e6f7b9e6: Download complete [2022-11-08T15:58:21.171Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T15:58:21.171Z] 339a4e72a1f5: Download complete [2022-11-08T15:58:21.171Z] eaf3925da568: Verifying Checksum [2022-11-08T15:58:21.171Z] eaf3925da568: Download complete [2022-11-08T15:58:21.171Z] bde34c3a00c8: Download complete [2022-11-08T15:58:21.171Z] b352a97aabf1: Verifying Checksum [2022-11-08T15:58:21.171Z] b352a97aabf1: Download complete [2022-11-08T15:58:21.171Z] 4872d77fe225: Verifying Checksum [2022-11-08T15:58:21.171Z] 4872d77fe225: Download complete [2022-11-08T15:58:21.171Z] 5851b861e8e6: Download complete [2022-11-08T15:58:21.171Z] b85a868b505f: Verifying Checksum [2022-11-08T15:58:21.171Z] b85a868b505f: Download complete [2022-11-08T15:58:21.430Z] bab4dde63d76: Verifying Checksum [2022-11-08T15:58:21.430Z] bab4dde63d76: Download complete [2022-11-08T15:58:22.806Z] b85a868b505f: Pull complete [2022-11-08T15:58:22.806Z] e2be974225ed: Pull complete [2022-11-08T15:58:23.065Z] 339a4e72a1f5: Pull complete [2022-11-08T15:58:23.324Z] 988bab9f4d93: Pull complete [2022-11-08T15:58:23.583Z] 1469e6f7b9e6: Pull complete [2022-11-08T15:58:23.583Z] eaf3925da568: Pull complete [2022-11-08T15:58:25.485Z] bab4dde63d76: Pull complete [2022-11-08T15:58:25.485Z] bde34c3a00c8: Pull complete [2022-11-08T15:58:25.485Z] b352a97aabf1: Pull complete [2022-11-08T15:58:25.485Z] 4872d77fe225: Pull complete [2022-11-08T15:58:25.485Z] 5851b861e8e6: Pull complete [2022-11-08T15:58:25.485Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T15:58:25.485Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T15:58:25.485Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T15:58:25.726Z] prd-ubuntu20.04-docker-8c-8g-118611 does not seem to be running inside a container [2022-11-08T15:58:25.761Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-228 -v /w/workspace/gexfoundry_device-rest-go_PR-228:/w/workspace/gexfoundry_device-rest-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-228@tmp:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T15:58:27.137Z] $ docker top 8157d80e2679fca3c7311fdf9b880c8df483f657c66360612e5979e2eeaf14e5 -eo pid,comm [2022-11-08T15:58:27.198Z] 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-08T15:58:27.198Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T15:58:27.337Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T15:58:27.337Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T15:58:27.464Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T15:58:27.470Z] $ docker exec 8157d80e2679fca3c7311fdf9b880c8df483f657c66360612e5979e2eeaf14e5 ssh-agent [2022-11-08T15:58:27.580Z] SSH_AUTH_SOCK=/tmp/ssh-BMBLLX6rYT8b/agent.33 [2022-11-08T15:58:27.580Z] SSH_AGENT_PID=39 [2022-11-08T15:58:27.587Z] Running ssh-add (command line suppressed) [2022-11-08T15:58:27.700Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-228@tmp/private_key_13630526593238542266.key (/w/workspace/gexfoundry_device-rest-go_PR-228@tmp/private_key_13630526593238542266.key) [2022-11-08T15:58:27.713Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T15:58:28.042Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T15:58:28.071Z] $ docker exec --env ******** --env ******** 8157d80e2679fca3c7311fdf9b880c8df483f657c66360612e5979e2eeaf14e5 ssh-agent -k [2022-11-08T15:58:28.165Z] unset SSH_AUTH_SOCK; [2022-11-08T15:58:28.165Z] unset SSH_AGENT_PID; [2022-11-08T15:58:28.165Z] echo Agent pid 39 killed; [2022-11-08T15:58:28.173Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T15:58:28.276Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T15:58:28.276Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T15:58:28.405Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T15:58:28.410Z] $ docker exec 8157d80e2679fca3c7311fdf9b880c8df483f657c66360612e5979e2eeaf14e5 ssh-agent [2022-11-08T15:58:28.527Z] SSH_AUTH_SOCK=/tmp/ssh-9gYX3hbIlheU/agent.71 [2022-11-08T15:58:28.527Z] SSH_AGENT_PID=77 [2022-11-08T15:58:28.532Z] Running ssh-add (command line suppressed) [2022-11-08T15:58:28.652Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-228@tmp/private_key_11653919478747382297.key (/w/workspace/gexfoundry_device-rest-go_PR-228@tmp/private_key_11653919478747382297.key) [2022-11-08T15:58:28.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T15:58:28.993Z] + git semver init [2022-11-08T15:58:29.252Z] 2022-11-08 15:58:29,182 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T15:58:29.252Z] 2022-11-08 15:58:29,183 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-228/.semver [2022-11-08T15:58:29.252Z] 2022-11-08 15:58:29,183 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-228/.semver [2022-11-08T15:58:29.252Z] 2022-11-08 15:58:29,183 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-228/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-228, universal_newlines=False, shell=None, istream=None) [2022-11-08T15:58:30.628Z] 2022-11-08 15:58:30,290 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-228/.git/info/exclude [2022-11-08T15:58:30.628Z] 2022-11-08 15:58:30,291 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-228/.semver/PR-228 with force:False [2022-11-08T15:58:30.628Z] 2022-11-08 15:58:30,291 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-228/.semver/PR-228 [2022-11-08T15:58:30.628Z] 2022-11-08 15:58:30,295 [execute] INFO git cat-file --batch-check [2022-11-08T15:58:30.628Z] 2022-11-08 15:58:30,295 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-228/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T15:58:30.628Z] 2022-11-08 15:58:30,300 [execute] INFO git cat-file --batch [2022-11-08T15:58:30.628Z] 2022-11-08 15:58:30,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-228/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T15:58:30.628Z] 2022-11-08 15:58:30,306 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-228/.semver/PR-228 [2022-11-08T15:58:30.628Z] 0.0.0 [Pipeline] } [2022-11-08T15:58:30.656Z] $ docker exec --env ******** --env ******** 8157d80e2679fca3c7311fdf9b880c8df483f657c66360612e5979e2eeaf14e5 ssh-agent -k [2022-11-08T15:58:30.758Z] unset SSH_AUTH_SOCK; [2022-11-08T15:58:30.760Z] unset SSH_AGENT_PID; [2022-11-08T15:58:30.760Z] echo Agent pid 77 killed; [2022-11-08T15:58:30.767Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T15:58:31.193Z] + git semver [Pipeline] } [2022-11-08T15:58:31.475Z] $ docker stop --time=1 8157d80e2679fca3c7311fdf9b880c8df483f657c66360612e5979e2eeaf14e5 [2022-11-08T15:58:32.831Z] $ docker rm -f 8157d80e2679fca3c7311fdf9b880c8df483f657c66360612e5979e2eeaf14e5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T15:58:33.250Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T15:58:33.489Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T15:58:33.505Z] [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-08T15:58:34.106Z] provisioning config files... [2022-11-08T15:58:34.117Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp/config5978647991081088829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T15:58:34.460Z] ---> docker-login.sh [2022-11-08T15:58:34.460Z] nexus3.edgexfoundry.org:10001 [2022-11-08T15:58:34.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:34.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:34.460Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:34.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:34.460Z] [2022-11-08T15:58:34.460Z] Login Succeeded [2022-11-08T15:58:34.460Z] nexus3.edgexfoundry.org:10002 [2022-11-08T15:58:34.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:34.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:34.460Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:34.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:34.460Z] [2022-11-08T15:58:34.460Z] Login Succeeded [2022-11-08T15:58:34.460Z] nexus3.edgexfoundry.org:10003 [2022-11-08T15:58:34.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:34.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:34.719Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:34.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:34.719Z] [2022-11-08T15:58:34.719Z] Login Succeeded [2022-11-08T15:58:34.719Z] nexus3.edgexfoundry.org:10004 [2022-11-08T15:58:34.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:34.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:34.719Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:34.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:34.719Z] [2022-11-08T15:58:34.719Z] Login Succeeded [2022-11-08T15:58:34.719Z] docker.io [2022-11-08T15:58:34.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T15:58:35.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T15:58:35.236Z] Configure a credential helper to remove this warning. See [2022-11-08T15:58:35.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T15:58:35.236Z] [2022-11-08T15:58:35.236Z] Login Succeeded [2022-11-08T15:58:35.236Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T15:58:35.262Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T15:58:35.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T15:58:35.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T15:58:35.512Z] ========================================================= [2022-11-08T15:58:35.512Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T15:58:35.512Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T15:58:35.982Z] + 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-08T15:58:35.982Z] Sending build context to Docker daemon 10.76MB [2022-11-08T15:58:35.982Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T15:58:35.982Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T15:58:35.982Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T15:58:35.982Z] 213ec9aee27d: Pulling fs layer [2022-11-08T15:58:35.982Z] 4583459ba037: Pulling fs layer [2022-11-08T15:58:35.982Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T15:58:35.982Z] 53926ce57604: Pulling fs layer [2022-11-08T15:58:35.982Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T15:58:35.982Z] 22ff95d597cd: Pulling fs layer [2022-11-08T15:58:35.982Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T15:58:35.982Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T15:58:35.982Z] a7acece74701: Pulling fs layer [2022-11-08T15:58:35.982Z] 21b2b0c7a3f4: Waiting [2022-11-08T15:58:35.982Z] 12d6caf4c0d1: Waiting [2022-11-08T15:58:35.982Z] 96b7cbca73a9: Waiting [2022-11-08T15:58:35.982Z] a7acece74701: Waiting [2022-11-08T15:58:35.982Z] 53926ce57604: Waiting [2022-11-08T15:58:35.982Z] 22ff95d597cd: Waiting [2022-11-08T15:58:36.246Z] 93c1e223e6f2: Verifying Checksum [2022-11-08T15:58:36.246Z] 93c1e223e6f2: Download complete [2022-11-08T15:58:36.246Z] 4583459ba037: Verifying Checksum [2022-11-08T15:58:36.246Z] 4583459ba037: Download complete [2022-11-08T15:58:36.246Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-08T15:58:36.246Z] 21b2b0c7a3f4: Download complete [2022-11-08T15:58:36.246Z] 22ff95d597cd: Verifying Checksum [2022-11-08T15:58:36.246Z] 22ff95d597cd: Download complete [2022-11-08T15:58:36.246Z] 213ec9aee27d: Verifying Checksum [2022-11-08T15:58:36.246Z] 213ec9aee27d: Download complete [2022-11-08T15:58:36.246Z] 12d6caf4c0d1: Verifying Checksum [2022-11-08T15:58:36.246Z] 12d6caf4c0d1: Download complete [2022-11-08T15:58:36.246Z] 213ec9aee27d: Pull complete [2022-11-08T15:58:36.511Z] 4583459ba037: Pull complete [2022-11-08T15:58:36.511Z] 93c1e223e6f2: Pull complete [2022-11-08T15:58:37.115Z] a7acece74701: Verifying Checksum [2022-11-08T15:58:37.115Z] a7acece74701: Download complete [2022-11-08T15:58:37.376Z] 53926ce57604: Verifying Checksum [2022-11-08T15:58:37.376Z] 53926ce57604: Download complete [2022-11-08T15:58:37.376Z] 96b7cbca73a9: Verifying Checksum [2022-11-08T15:58:37.376Z] 96b7cbca73a9: Download complete [2022-11-08T15:58:40.666Z] 53926ce57604: Pull complete [2022-11-08T15:58:40.925Z] 21b2b0c7a3f4: Pull complete [2022-11-08T15:58:40.925Z] 22ff95d597cd: Pull complete [2022-11-08T15:58:40.925Z] 12d6caf4c0d1: Pull complete [2022-11-08T15:58:42.827Z] 96b7cbca73a9: Pull complete [2022-11-08T15:58:43.762Z] a7acece74701: Pull complete [2022-11-08T15:58:43.762Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T15:58:43.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T15:58:43.762Z] ---> db6d94c90886 [2022-11-08T15:58:43.762Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T15:58:45.141Z] ---> Running in 46a29720dfab [2022-11-08T15:58:45.400Z] Removing intermediate container 46a29720dfab [2022-11-08T15:58:45.400Z] ---> dd9964bb29ca [2022-11-08T15:58:45.400Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T15:58:45.400Z] ---> Running in 80d611723211 [2022-11-08T15:58:45.400Z] Removing intermediate container 80d611723211 [2022-11-08T15:58:45.400Z] ---> f3e2ccf094f7 [2022-11-08T15:58:45.400Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T15:58:45.400Z] ---> Running in 1a867fef788b [2022-11-08T15:58:45.662Z] Removing intermediate container 1a867fef788b [2022-11-08T15:58:45.662Z] ---> 6adb0848ee9e [2022-11-08T15:58:45.662Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T15:58:45.662Z] ---> Running in 69a05a3b1c84 [2022-11-08T15:58:45.662Z] Removing intermediate container 69a05a3b1c84 [2022-11-08T15:58:45.662Z] ---> 7e52bb2856db [2022-11-08T15:58:45.662Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T15:58:45.920Z] ---> Running in 447bdbb1d170 [2022-11-08T15:58:46.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T15:58:46.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T15:58:46.440Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T15:58:46.440Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T15:58:46.440Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T15:58:46.440Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T15:58:46.440Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T15:58:46.440Z] OK: 216 MiB in 55 packages [2022-11-08T15:58:47.021Z] Removing intermediate container 447bdbb1d170 [2022-11-08T15:58:47.021Z] ---> 8d0f6cbf631c [2022-11-08T15:58:47.021Z] Step 8/12 : WORKDIR /device-rest-go [2022-11-08T15:58:47.021Z] ---> Running in a8de92d974e4 [2022-11-08T15:58:47.021Z] Removing intermediate container a8de92d974e4 [2022-11-08T15:58:47.021Z] ---> 658cd413aa6e [2022-11-08T15:58:47.021Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T15:58:47.282Z] ---> f98b9a4d32b8 [2022-11-08T15:58:47.282Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T15:58:47.282Z] ---> Running in c22a54c45df0 [2022-11-08T15:58:48.929Z] Still waiting to schedule task [2022-11-08T15:58:48.929Z] ‘prd-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-08T15:58:48.929Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-118612’ is offline [2022-11-08T15:59:05.390Z] Removing intermediate container c22a54c45df0 [2022-11-08T15:59:05.390Z] ---> 73bfc94e5251 [2022-11-08T15:59:05.390Z] Step 11/12 : COPY . . [2022-11-08T15:59:05.390Z] ---> e0bb3cd13c8b [2022-11-08T15:59:05.390Z] Step 12/12 : RUN $MAKE [2022-11-08T15:59:05.390Z] ---> Running in 4499ed950e71 [2022-11-08T15:59:05.390Z] noop [2022-11-08T15:59:05.390Z] Removing intermediate container 4499ed950e71 [2022-11-08T15:59:05.390Z] ---> cf323ead1f9b [2022-11-08T15:59:05.390Z] Successfully built cf323ead1f9b [2022-11-08T15:59:05.390Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T15:59:05.855Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T15:59:05.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T15:59:06.002Z] prd-ubuntu20.04-docker-8c-8g-118611 does not seem to be running inside a container [2022-11-08T15:59:06.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-228 -v /w/workspace/gexfoundry_device-rest-go_PR-228:/w/workspace/gexfoundry_device-rest-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-228@tmp:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T15:59:06.390Z] $ docker top 74f8d3845c4b92d22fa756bb6be8dd05dfd5e7b95433cac4bceb15c82d457ee0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T15:59:06.798Z] + go version [2022-11-08T15:59:06.799Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T15:59:06.834Z] $ docker stop --time=1 74f8d3845c4b92d22fa756bb6be8dd05dfd5e7b95433cac4bceb15c82d457ee0 [2022-11-08T15:59:08.118Z] $ docker rm -f 74f8d3845c4b92d22fa756bb6be8dd05dfd5e7b95433cac4bceb15c82d457ee0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T15:59:08.864Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T15:59:08.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T15:59:09.005Z] prd-ubuntu20.04-docker-8c-8g-118611 does not seem to be running inside a container [2022-11-08T15:59:09.032Z] $ 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-228 -v /w/workspace/gexfoundry_device-rest-go_PR-228:/w/workspace/gexfoundry_device-rest-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-228@tmp:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-08T15:59:09.439Z] $ docker top bb6d035e4dff2c271ad7e7bf8bbd5783963f09fe6dc13ae41d596596ca3efee9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T15:59:09.842Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-228 [Pipeline] fileExists [Pipeline] sh [2022-11-08T15:59:10.197Z] + make test [2022-11-08T15:59:10.197Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T15:59:10.455Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-11-08T15:59:20.418Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-11-08T15:59:20.418Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-11-08T15:59:26.974Z] 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-08T15:59:26.974Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T15:59:28.872Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T15:59:28.872Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T15:59:28.872Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T15:59:29.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T15:59:29.183Z] $ docker stop --time=1 bb6d035e4dff2c271ad7e7bf8bbd5783963f09fe6dc13ae41d596596ca3efee9 [2022-11-08T15:59:30.912Z] $ docker rm -f bb6d035e4dff2c271ad7e7bf8bbd5783963f09fe6dc13ae41d596596ca3efee9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T15:59:31.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T15:59:31.465Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T15:59:32.136Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T15:59:32.443Z] + ls -al . [2022-11-08T15:59:32.443Z] total 188 [2022-11-08T15:59:32.443Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 15:59 . [2022-11-08T15:59:32.443Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 15:58 .. [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 15:58 .dockerignore [2022-11-08T15:59:32.443Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 15:59 .git [2022-11-08T15:59:32.443Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 15:58 .github [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 8 15:58 .gitignore [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 15:58 .golangci.yml [2022-11-08T15:59:32.443Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 15:58 .semver [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 9100 Nov 8 15:58 Attribution.txt [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 13085 Nov 8 15:58 CHANGELOG.md [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 1641 Nov 8 15:58 Dockerfile [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 15:58 GOVERNANCE.md [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 15:58 Jenkinsfile [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 15:58 LICENSE [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 2173 Nov 8 15:58 Makefile [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 15:58 OWNERS.md [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 8667 Nov 8 15:58 README.md [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 15:58 VERSION [2022-11-08T15:59:32.443Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 15:58 bin [2022-11-08T15:59:32.443Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 15:58 cmd [2022-11-08T15:59:32.443Z] -rw-r--r-- 1 jenkins jenkins 9355 Nov 8 15:59 coverage.out [2022-11-08T15:59:32.443Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 15:58 driver [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 3487 Nov 8 15:58 go.mod [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 44869 Nov 8 15:58 go.sum [2022-11-08T15:59:32.443Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 15:58 snap [2022-11-08T15:59:32.443Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 15:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T15:59:32.841Z] + 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=684b3cc16076e0871f51c109ed11a84cd1314297 --label arch=amd64 --label version=0.0.0 . [2022-11-08T15:59:32.841Z] Sending build context to Docker daemon 10.77MB [2022-11-08T15:59:32.841Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T15:59:32.841Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-08T15:59:32.841Z] ---> cf323ead1f9b [2022-11-08T15:59:32.841Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-08T15:59:32.841Z] ---> Running in f6a76813881d [2022-11-08T15:59:33.099Z] Removing intermediate container f6a76813881d [2022-11-08T15:59:33.099Z] ---> 050f3893a9eb [2022-11-08T15:59:33.099Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T15:59:33.099Z] ---> Running in 99e23e9fdef7 [2022-11-08T15:59:33.100Z] Removing intermediate container 99e23e9fdef7 [2022-11-08T15:59:33.100Z] ---> 6a438ca12bd3 [2022-11-08T15:59:33.100Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T15:59:33.100Z] ---> Running in 8967e9582be7 [2022-11-08T15:59:33.362Z] Removing intermediate container 8967e9582be7 [2022-11-08T15:59:33.362Z] ---> c9cf97d67d0a [2022-11-08T15:59:33.362Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T15:59:33.362Z] ---> Running in 3853b12114d9 [2022-11-08T15:59:33.362Z] Removing intermediate container 3853b12114d9 [2022-11-08T15:59:33.362Z] ---> 8358e53db223 [2022-11-08T15:59:33.362Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T15:59:33.362Z] ---> Running in 6123f49ae7bc [2022-11-08T15:59:33.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T15:59:33.935Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T15:59:34.193Z] OK: 216 MiB in 55 packages [2022-11-08T15:59:34.452Z] Removing intermediate container 6123f49ae7bc [2022-11-08T15:59:34.452Z] ---> 4c7405a197cd [2022-11-08T15:59:34.452Z] Step 8/25 : WORKDIR /device-rest-go [2022-11-08T15:59:34.452Z] ---> Running in 9bb0750ed26d [2022-11-08T15:59:34.710Z] Removing intermediate container 9bb0750ed26d [2022-11-08T15:59:34.710Z] ---> 01c54170fe89 [2022-11-08T15:59:34.710Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-08T15:59:34.710Z] ---> 1640667dcc12 [2022-11-08T15:59:34.710Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T15:59:34.970Z] ---> Running in a3c2186a989a [2022-11-08T15:59:35.538Z] Removing intermediate container a3c2186a989a [2022-11-08T15:59:35.538Z] ---> 89aafb9782da [2022-11-08T15:59:35.538Z] Step 11/25 : COPY . . [2022-11-08T15:59:35.798Z] ---> d9add8796226 [2022-11-08T15:59:35.798Z] Step 12/25 : RUN $MAKE [2022-11-08T15:59:35.798Z] ---> Running in ecc16cfaf0cd [2022-11-08T15:59:36.058Z] 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-08T15:59:54.153Z] Removing intermediate container ecc16cfaf0cd [2022-11-08T15:59:54.153Z] ---> 051d6a89b35e [2022-11-08T15:59:54.153Z] Step 13/25 : FROM alpine:3.16 [2022-11-08T15:59:54.725Z] 3.16: Pulling from library/alpine [2022-11-08T15:59:54.986Z] 213ec9aee27d: Already exists [2022-11-08T15:59:54.986Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T15:59:54.986Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T15:59:54.986Z] ---> 9c6f07244728 [2022-11-08T15:59:54.986Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-08T15:59:54.986Z] ---> Running in 4931c84c202a [2022-11-08T15:59:55.249Z] Removing intermediate container 4931c84c202a [2022-11-08T15:59:55.249Z] ---> bceb7c6e96c7 [2022-11-08T15:59:55.249Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-11-08T15:59:55.249Z] ---> Running in 4978779fa3ab [2022-11-08T15:59:55.249Z] Removing intermediate container 4978779fa3ab [2022-11-08T15:59:55.249Z] ---> 6059436cb804 [2022-11-08T15:59:55.249Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T15:59:55.249Z] ---> Running in 9e0edef0ca3f [2022-11-08T15:59:55.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T15:59:55.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T15:59:56.027Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T15:59:56.027Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T15:59:56.027Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T15:59:56.027Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T15:59:56.027Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T15:59:56.027Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T15:59:56.027Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T15:59:56.027Z] OK: 8 MiB in 20 packages [2022-11-08T15:59:56.595Z] Removing intermediate container 9e0edef0ca3f [2022-11-08T15:59:56.595Z] ---> 306962ffcea9 [2022-11-08T15:59:56.595Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-11-08T15:59:57.172Z] ---> c988d0eb85c1 [2022-11-08T15:59:57.172Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-11-08T15:59:57.172Z] ---> 0cfed827fa90 [2022-11-08T15:59:57.172Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-11-08T15:59:57.432Z] ---> 76f4fe645202 [2022-11-08T15:59:57.432Z] Step 20/25 : EXPOSE 59986 [2022-11-08T15:59:57.432Z] ---> Running in 90c7d9aa67e0 [2022-11-08T15:59:57.432Z] Removing intermediate container 90c7d9aa67e0 [2022-11-08T15:59:57.432Z] ---> 2cf08c1dd32c [2022-11-08T15:59:57.432Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-11-08T15:59:57.432Z] ---> Running in 6a6c7a6885f9 [2022-11-08T15:59:57.694Z] Removing intermediate container 6a6c7a6885f9 [2022-11-08T15:59:57.694Z] ---> d791ebffe496 [2022-11-08T15:59:57.694Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-08T15:59:57.694Z] ---> Running in e65e38486339 [2022-11-08T15:59:57.694Z] Removing intermediate container e65e38486339 [2022-11-08T15:59:57.694Z] ---> 81769bb65b0f [2022-11-08T15:59:57.694Z] Step 23/25 : LABEL arch=amd64 [2022-11-08T15:59:57.694Z] ---> Running in 5dacc7e5bba1 [2022-11-08T15:59:57.956Z] Removing intermediate container 5dacc7e5bba1 [2022-11-08T15:59:57.956Z] ---> 6f8e160eae81 [2022-11-08T15:59:57.956Z] Step 24/25 : LABEL git_sha=684b3cc16076e0871f51c109ed11a84cd1314297 [2022-11-08T15:59:57.956Z] ---> Running in 1bd299d157fe [2022-11-08T15:59:57.956Z] Removing intermediate container 1bd299d157fe [2022-11-08T15:59:57.956Z] ---> 98d5d6e6c2c6 [2022-11-08T15:59:57.956Z] Step 25/25 : LABEL version=0.0.0 [2022-11-08T15:59:58.216Z] ---> Running in 084b44ffc2b3 [2022-11-08T15:59:58.217Z] Removing intermediate container 084b44ffc2b3 [2022-11-08T15:59:58.217Z] ---> e37cfbf41ab5 [2022-11-08T15:59:58.217Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T15:59:58.217Z] Successfully built e37cfbf41ab5 [2022-11-08T15:59:58.217Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T15:59:59.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T15:59:59.134Z] [2022-11-08T15:59:59.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T15:59:59.512Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T15:59:59.512Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T15:59:59.512Z] 5eb5b503b376: Pulling fs layer [2022-11-08T15:59:59.512Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T15:59:59.512Z] ec43610c2a17: Pulling fs layer [2022-11-08T15:59:59.512Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T15:59:59.512Z] 33b1e0a273af: Pulling fs layer [2022-11-08T15:59:59.512Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T15:59:59.512Z] 2f39f015ded8: Pulling fs layer [2022-11-08T15:59:59.512Z] 5d3b04190fa2: Waiting [2022-11-08T15:59:59.512Z] 2f39f015ded8: Waiting [2022-11-08T15:59:59.512Z] 3a2ae6a8a46f: Waiting [2022-11-08T15:59:59.512Z] 33b1e0a273af: Waiting [2022-11-08T15:59:59.512Z] 5c69ac0246d0: Download complete [2022-11-08T15:59:59.512Z] 3a2ae6a8a46f: Download complete [2022-11-08T15:59:59.771Z] 33b1e0a273af: Verifying Checksum [2022-11-08T15:59:59.771Z] 33b1e0a273af: Download complete [2022-11-08T15:59:59.771Z] ec43610c2a17: Verifying Checksum [2022-11-08T15:59:59.771Z] ec43610c2a17: Download complete [2022-11-08T15:59:59.771Z] 5d3b04190fa2: Verifying Checksum [2022-11-08T15:59:59.771Z] 5d3b04190fa2: Download complete [2022-11-08T15:59:59.771Z] 5eb5b503b376: Verifying Checksum [2022-11-08T15:59:59.771Z] 5eb5b503b376: Download complete [2022-11-08T16:00:00.338Z] 2f39f015ded8: Download complete [2022-11-08T16:00:00.914Z] 5eb5b503b376: Pull complete [2022-11-08T16:00:00.914Z] 5c69ac0246d0: Pull complete [2022-11-08T16:00:01.482Z] ec43610c2a17: Pull complete [2022-11-08T16:00:01.482Z] 3a2ae6a8a46f: Pull complete [2022-11-08T16:00:01.746Z] 33b1e0a273af: Pull complete [2022-11-08T16:00:01.746Z] 5d3b04190fa2: Pull complete [2022-11-08T16:00:05.932Z] 2f39f015ded8: Pull complete [2022-11-08T16:00:05.932Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T16:00:05.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:00:05.932Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:00:06.151Z] prd-ubuntu20.04-docker-8c-8g-118611 does not seem to be running inside a container [2022-11-08T16:00:06.176Z] $ 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-228 -v /w/workspace/gexfoundry_device-rest-go_PR-228:/w/workspace/gexfoundry_device-rest-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-228@tmp:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T16:00:07.854Z] $ docker top a6b1aa86e8c19b5c528de123ff2b3ea85b28e7e3281e622ae4e908285667069f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:00:08.295Z] ---> job-cost.sh [2022-11-08T16:00:08.295Z] lf-activate-venv: SKIPPING [2022-11-08T16:00:08.295Z] INFO: No Stack... [2022-11-08T16:00:08.554Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T16:00:08.815Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T16:00:09.128Z] + + cat /w/workspace/gexfoundry_device-rest-go_PR-228/archives/cost.csv [2022-11-08T16:00:09.128Z] cut -d, -f6 [Pipeline] lock [2022-11-08T16:00:09.169Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] [2022-11-08T16:00:09.175Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] did not exist. Created. [2022-11-08T16:00:09.175Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T16:00:09.569Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T16:00:09.616Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T16:00:09.648Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T16:00:09.721Z] $ docker stop --time=1 a6b1aa86e8c19b5c528de123ff2b3ea85b28e7e3281e622ae4e908285667069f [2022-11-08T16:00:10.893Z] $ docker rm -f a6b1aa86e8c19b5c528de123ff2b3ea85b28e7e3281e622ae4e908285667069f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T16:01:01.004Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118614 in /w/workspace/gexfoundry_device-rest-go_PR-228 [Pipeline] { [Pipeline] ws [2022-11-08T16:01:01.043Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-11-08T16:01:01.122Z] The recommended git tool is: git [2022-11-08T16:01:07.081Z] using credential edgex-jenkins-ssh [2022-11-08T16:01:07.103Z] Cloning the remote Git repository [2022-11-08T16:01:07.154Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-11-08T16:01:07.241Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-11-08T16:01:07.414Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-11-08T16:01:07.416Z] > git --version # timeout=10 [2022-11-08T16:01:07.447Z] > git --version # 'git version 2.25.1' [2022-11-08T16:01:07.450Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T16:01:07.501Z] Verifying host key using known hosts file [2022-11-08T16:01:07.712Z] 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-08T16:01:07.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T16:01:09.916Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-11-08T16:01:09.940Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T16:01:10.960Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-11-08T16:01:11.012Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-11-08T16:01:11.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T16:01:11.026Z] Verifying host key using known hosts file [2022-11-08T16:01:11.037Z] 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-08T16:01:11.052Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/228/head:refs/remotes/origin/PR-228 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-08T16:01:11.703Z] Merging remotes/origin/main commit 98c53550becdffe5607264f4f78746e0be51d9ff into PR head commit 684b3cc16076e0871f51c109ed11a84cd1314297 [2022-11-08T16:01:11.959Z] Merge succeeded, producing 684b3cc16076e0871f51c109ed11a84cd1314297 [2022-11-08T16:01:11.959Z] Checking out Revision 684b3cc16076e0871f51c109ed11a84cd1314297 (PR-228) [2022-11-08T16:01:11.727Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T16:01:11.753Z] > git checkout -f 684b3cc16076e0871f51c109ed11a84cd1314297 # timeout=10 [2022-11-08T16:01:11.849Z] > git remote # timeout=10 [2022-11-08T16:01:11.870Z] > git config --get remote.origin.url # timeout=10 [2022-11-08T16:01:11.892Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T16:01:11.898Z] Verifying host key using known hosts file [2022-11-08T16:01:11.902Z] 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-08T16:01:11.913Z] > git merge 98c53550becdffe5607264f4f78746e0be51d9ff # timeout=10 [2022-11-08T16:01:11.941Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-08T16:01:11.969Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T16:01:11.986Z] > git checkout -f 684b3cc16076e0871f51c109ed11a84cd1314297 # timeout=10 [2022-11-08T16:01:15.545Z] Commit message: "build: Update to use released SDK" [2022-11-08T16:01:15.603Z] > git --version # timeout=10 [2022-11-08T16:01:15.618Z] > git --version # 'git version 2.25.1' [2022-11-08T16:01:15.639Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:01:16.705Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T16:01:16.705Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T16:01:16.705Z] Dload Upload Total Spent Left Speed [2022-11-08T16:01:16.705Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-11-08T16:01:17.439Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T16:01:17.796Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-08T16:01:17.796Z] + sudo tee /etc/docker/daemon.new [2022-11-08T16:01:17.796Z] { [2022-11-08T16:01:17.796Z] "registry-mirrors": [ [2022-11-08T16:01:17.797Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T16:01:17.797Z] ], [2022-11-08T16:01:17.797Z] "bip": "10.250.0.254/24", [2022-11-08T16:01:17.797Z] "hosts": [ [2022-11-08T16:01:17.797Z] "tcp://0.0.0.0:5555", [2022-11-08T16:01:17.797Z] "unix:///var/run/docker.sock" [2022-11-08T16:01:17.797Z] ], [2022-11-08T16:01:17.797Z] "mtu": 1458, [2022-11-08T16:01:17.797Z] "selinux-enabled": true, [2022-11-08T16:01:17.797Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T16:01:17.797Z] } [Pipeline] sh [2022-11-08T16:01:18.143Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T16:01:18.506Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:01:40.712Z] provisioning config files... [2022-11-08T16:01:40.745Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config11509570994776961042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:01:41.146Z] ---> docker-login.sh [2022-11-08T16:01:41.147Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:01:41.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:01:41.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:01:41.743Z] Configure a credential helper to remove this warning. See [2022-11-08T16:01:41.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:01:41.743Z] [2022-11-08T16:01:41.743Z] Login Succeeded [2022-11-08T16:01:41.743Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:01:42.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:01:42.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:01:42.288Z] Configure a credential helper to remove this warning. See [2022-11-08T16:01:42.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:01:42.288Z] [2022-11-08T16:01:42.288Z] Login Succeeded [2022-11-08T16:01:42.288Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:01:42.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:01:42.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:01:42.565Z] Configure a credential helper to remove this warning. See [2022-11-08T16:01:42.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:01:42.565Z] [2022-11-08T16:01:42.565Z] Login Succeeded [2022-11-08T16:01:42.565Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:01:42.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:01:43.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:01:43.108Z] Configure a credential helper to remove this warning. See [2022-11-08T16:01:43.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:01:43.108Z] [2022-11-08T16:01:43.108Z] Login Succeeded [2022-11-08T16:01:43.108Z] docker.io [2022-11-08T16:01:43.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:01:43.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:01:43.653Z] Configure a credential helper to remove this warning. See [2022-11-08T16:01:43.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:01:43.653Z] [2022-11-08T16:01:43.653Z] Login Succeeded [2022-11-08T16:01:43.653Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:01:43.688Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T16:01:44.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:01:44.039Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:01:44.069Z] ========================================================= [2022-11-08T16:01:44.069Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T16:01:44.069Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:01:44.584Z] + 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-08T16:01:44.584Z] Sending build context to Docker daemon 129.5kB [2022-11-08T16:01:44.855Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:01:44.855Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T16:01:45.129Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T16:01:45.129Z] 9b18e9b68314: Pulling fs layer [2022-11-08T16:01:45.129Z] 35d82f9e3411: Pulling fs layer [2022-11-08T16:01:45.129Z] e16973657156: Pulling fs layer [2022-11-08T16:01:45.129Z] fc693d55d65f: Pulling fs layer [2022-11-08T16:01:45.129Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T16:01:45.129Z] dda99020689f: Pulling fs layer [2022-11-08T16:01:45.129Z] db1c61fa0a46: Pulling fs layer [2022-11-08T16:01:45.129Z] 891c053d2c06: Pulling fs layer [2022-11-08T16:01:45.129Z] fc693d55d65f: Waiting [2022-11-08T16:01:45.129Z] 7e9fc2657dce: Waiting [2022-11-08T16:01:45.129Z] dda99020689f: Waiting [2022-11-08T16:01:45.129Z] db1c61fa0a46: Waiting [2022-11-08T16:01:45.129Z] e16973657156: Verifying Checksum [2022-11-08T16:01:45.129Z] e16973657156: Download complete [2022-11-08T16:01:45.129Z] 35d82f9e3411: Download complete [2022-11-08T16:01:45.129Z] 7e9fc2657dce: Verifying Checksum [2022-11-08T16:01:45.129Z] 7e9fc2657dce: Download complete [2022-11-08T16:01:45.129Z] dda99020689f: Verifying Checksum [2022-11-08T16:01:45.129Z] dda99020689f: Download complete [2022-11-08T16:01:45.129Z] 9b18e9b68314: Download complete [2022-11-08T16:01:46.130Z] 9b18e9b68314: Pull complete [2022-11-08T16:01:46.404Z] 891c053d2c06: Verifying Checksum [2022-11-08T16:01:46.680Z] 35d82f9e3411: Pull complete [2022-11-08T16:01:46.958Z] e16973657156: Pull complete [2022-11-08T16:01:47.551Z] db1c61fa0a46: Verifying Checksum [2022-11-08T16:01:47.551Z] db1c61fa0a46: Download complete [2022-11-08T16:01:48.146Z] fc693d55d65f: Verifying Checksum [2022-11-08T16:01:48.146Z] fc693d55d65f: Download complete [2022-11-08T16:02:00.581Z] fc693d55d65f: Pull complete [2022-11-08T16:02:00.581Z] 7e9fc2657dce: Pull complete [2022-11-08T16:02:00.581Z] dda99020689f: Pull complete [2022-11-08T16:02:05.966Z] db1c61fa0a46: Pull complete [2022-11-08T16:02:07.393Z] 891c053d2c06: Pull complete [2022-11-08T16:02:07.393Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T16:02:07.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T16:02:07.393Z] ---> f96f9c87975a [2022-11-08T16:02:07.393Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:02:09.359Z] ---> Running in 347c97688f25 [2022-11-08T16:02:09.954Z] Removing intermediate container 347c97688f25 [2022-11-08T16:02:09.954Z] ---> b1820f0da757 [2022-11-08T16:02:09.954Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:02:09.954Z] ---> Running in b26c7b73f472 [2022-11-08T16:02:10.225Z] Removing intermediate container b26c7b73f472 [2022-11-08T16:02:10.225Z] ---> 0afbba148c62 [2022-11-08T16:02:10.225Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:02:10.495Z] ---> Running in 6e741f80f24b [2022-11-08T16:02:10.764Z] Removing intermediate container 6e741f80f24b [2022-11-08T16:02:10.764Z] ---> 3aa97e2180cc [2022-11-08T16:02:10.764Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:02:10.764Z] ---> Running in 7f3252c66eeb [2022-11-08T16:02:11.048Z] Removing intermediate container 7f3252c66eeb [2022-11-08T16:02:11.048Z] ---> 7076e3f017e9 [2022-11-08T16:02:11.048Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:02:11.322Z] ---> Running in 17096e374357 [2022-11-08T16:02:12.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:02:12.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:02:13.712Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T16:02:13.981Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T16:02:13.981Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T16:02:13.981Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T16:02:13.981Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T16:02:13.981Z] OK: 226 MiB in 55 packages [2022-11-08T16:02:14.949Z] Removing intermediate container 17096e374357 [2022-11-08T16:02:14.949Z] ---> bb7b483f034d [2022-11-08T16:02:14.949Z] Step 8/12 : WORKDIR /device-rest-go [2022-11-08T16:02:15.228Z] ---> Running in db7093d226dd [2022-11-08T16:02:15.500Z] Removing intermediate container db7093d226dd [2022-11-08T16:02:15.500Z] ---> 3b3faeef5eb3 [2022-11-08T16:02:15.500Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T16:02:16.091Z] ---> b0d6705ec96e [2022-11-08T16:02:16.091Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:02:16.091Z] ---> Running in 5f6696bfd474 [2022-11-08T16:03:12.524Z] Removing intermediate container 5f6696bfd474 [2022-11-08T16:03:12.524Z] ---> 9e4937042152 [2022-11-08T16:03:12.524Z] Step 11/12 : COPY . . [2022-11-08T16:03:12.524Z] ---> c7a451722508 [2022-11-08T16:03:12.524Z] Step 12/12 : RUN $MAKE [2022-11-08T16:03:12.524Z] ---> Running in 4bd1087aa689 [2022-11-08T16:03:13.116Z] noop [2022-11-08T16:03:13.718Z] Removing intermediate container 4bd1087aa689 [2022-11-08T16:03:13.718Z] ---> db934d9f25bc [2022-11-08T16:03:13.718Z] Successfully built db934d9f25bc [2022-11-08T16:03:13.988Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:03:14.480Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T16:03:14.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:03:14.763Z] prd-ubuntu20.04-docker-arm64-4c-16g-118614 does not seem to be running inside a container [2022-11-08T16:03:14.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T16:03:16.229Z] $ docker top 8fdbb3bcc810b086133c84db8dd1698efecead6d3b332afce5a81ebbf0694295 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:03:17.153Z] + go version [2022-11-08T16:03:17.153Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T16:03:17.191Z] $ docker stop --time=1 8fdbb3bcc810b086133c84db8dd1698efecead6d3b332afce5a81ebbf0694295 [2022-11-08T16:03:18.881Z] $ docker rm -f 8fdbb3bcc810b086133c84db8dd1698efecead6d3b332afce5a81ebbf0694295 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:03:19.784Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T16:03:19.784Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:03:20.031Z] prd-ubuntu20.04-docker-arm64-4c-16g-118614 does not seem to be running inside a container [2022-11-08T16:03:20.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T16:03:21.472Z] $ docker top 19d859a71f7f3617e15a4bf8bc892a7bb1a54c7c6da6c6f00a00daba03677174 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:03:22.408Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-08T16:03:23.130Z] + make test [2022-11-08T16:03:23.130Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T16:03:25.096Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-11-08T16:05:01.882Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-11-08T16:05:05.246Z] ok github.com/edgexfoundry/device-rest-go/driver 0.075s coverage: 55.2% of statements [2022-11-08T16:05:05.246Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-08T16:05:05.246Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T16:05:37.525Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T16:05:37.525Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T16:05:37.525Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T16:05:37.561Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T16:05:37.595Z] $ docker stop --time=1 19d859a71f7f3617e15a4bf8bc892a7bb1a54c7c6da6c6f00a00daba03677174 [2022-11-08T16:05:39.683Z] $ docker rm -f 19d859a71f7f3617e15a4bf8bc892a7bb1a54c7c6da6c6f00a00daba03677174 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:05:40.840Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T16:05:40.874Z] Warning: overwriting stash ‘coverage-report’ [2022-11-08T16:05:41.409Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:05:42.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T16:05:42.473Z] + ls -al . [2022-11-08T16:05:42.473Z] total 184 [2022-11-08T16:05:42.473Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:03 . [2022-11-08T16:05:42.473Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:01 .. [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 16:01 .dockerignore [2022-11-08T16:05:42.473Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:01 .git [2022-11-08T16:05:42.473Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:01 .github [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 8 16:01 .gitignore [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 16:01 .golangci.yml [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 9100 Nov 8 16:01 Attribution.txt [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 13085 Nov 8 16:01 CHANGELOG.md [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 1641 Nov 8 16:01 Dockerfile [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:01 GOVERNANCE.md [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 16:01 Jenkinsfile [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 16:01 LICENSE [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 2173 Nov 8 16:01 Makefile [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 16:01 OWNERS.md [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 8667 Nov 8 16:01 README.md [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 15:58 VERSION [2022-11-08T16:05:42.473Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:01 bin [2022-11-08T16:05:42.473Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:01 cmd [2022-11-08T16:05:42.473Z] -rw-r--r-- 1 jenkins jenkins 9355 Nov 8 16:05 coverage.out [2022-11-08T16:05:42.473Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:01 driver [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 3487 Nov 8 16:01 go.mod [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 44869 Nov 8 16:01 go.sum [2022-11-08T16:05:42.473Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:01 snap [2022-11-08T16:05:42.473Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 16:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:05:42.910Z] + 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=684b3cc16076e0871f51c109ed11a84cd1314297 --label arch=arm64 --label version=0.0.0 . [2022-11-08T16:05:42.910Z] Sending build context to Docker daemon 139.8kB [2022-11-08T16:05:43.179Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:05:43.179Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-08T16:05:43.179Z] ---> db934d9f25bc [2022-11-08T16:05:43.179Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:05:43.451Z] ---> Running in f9dd77016fa0 [2022-11-08T16:05:43.720Z] Removing intermediate container f9dd77016fa0 [2022-11-08T16:05:43.720Z] ---> 5e40bb1948e0 [2022-11-08T16:05:43.720Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:05:43.720Z] ---> Running in db495d2d64c5 [2022-11-08T16:05:44.323Z] Removing intermediate container db495d2d64c5 [2022-11-08T16:05:44.323Z] ---> 0cd11aee5784 [2022-11-08T16:05:44.323Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:05:44.323Z] ---> Running in a077587a24a0 [2022-11-08T16:05:44.920Z] Removing intermediate container a077587a24a0 [2022-11-08T16:05:44.920Z] ---> d99d5025e4ef [2022-11-08T16:05:44.920Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:05:44.920Z] ---> Running in fc303e1c09b1 [2022-11-08T16:05:45.189Z] Removing intermediate container fc303e1c09b1 [2022-11-08T16:05:45.189Z] ---> 8b94aba03056 [2022-11-08T16:05:45.189Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:05:45.462Z] ---> Running in f102df0b0fa3 [2022-11-08T16:05:46.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:05:47.033Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:05:47.999Z] OK: 226 MiB in 55 packages [2022-11-08T16:05:49.446Z] Removing intermediate container f102df0b0fa3 [2022-11-08T16:05:49.446Z] ---> bd2b47adf31e [2022-11-08T16:05:49.446Z] Step 8/25 : WORKDIR /device-rest-go [2022-11-08T16:05:49.446Z] ---> Running in 428242ffdf4a [2022-11-08T16:05:49.716Z] Removing intermediate container 428242ffdf4a [2022-11-08T16:05:49.716Z] ---> 9a93c071efbc [2022-11-08T16:05:49.716Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-08T16:05:50.308Z] ---> 88c9467a2008 [2022-11-08T16:05:50.308Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:05:50.308Z] ---> Running in 591458c04b40 [2022-11-08T16:05:52.913Z] Removing intermediate container 591458c04b40 [2022-11-08T16:05:52.913Z] ---> df44816a53d9 [2022-11-08T16:05:52.913Z] Step 11/25 : COPY . . [2022-11-08T16:05:54.867Z] ---> 47f190caa945 [2022-11-08T16:05:54.867Z] Step 12/25 : RUN $MAKE [2022-11-08T16:05:55.148Z] ---> Running in 819d239b4053 [2022-11-08T16:05:56.568Z] 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-08T16:08:48.361Z] Removing intermediate container 819d239b4053 [2022-11-08T16:08:48.362Z] ---> 54c3581d0aae [2022-11-08T16:08:48.362Z] Step 13/25 : FROM alpine:3.16 [2022-11-08T16:08:48.362Z] 3.16: Pulling from library/alpine [2022-11-08T16:08:48.362Z] 9b18e9b68314: Already exists [2022-11-08T16:08:48.362Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T16:08:48.362Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T16:08:48.362Z] ---> a6215f271958 [2022-11-08T16:08:48.362Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-08T16:08:48.362Z] ---> Running in a5fb0023a239 [2022-11-08T16:08:48.362Z] Removing intermediate container a5fb0023a239 [2022-11-08T16:08:48.362Z] ---> 06beb10f4ab2 [2022-11-08T16:08:48.362Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-11-08T16:08:48.362Z] ---> Running in 40214e3e3c27 [2022-11-08T16:08:48.362Z] Removing intermediate container 40214e3e3c27 [2022-11-08T16:08:48.362Z] ---> 28cc5a8c4eef [2022-11-08T16:08:48.362Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T16:08:48.362Z] ---> Running in 2d2ebf7fca91 [2022-11-08T16:08:48.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:08:48.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:08:48.362Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T16:08:48.362Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T16:08:48.362Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T16:08:48.362Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T16:08:48.362Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T16:08:48.362Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T16:08:48.362Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T16:08:48.362Z] OK: 8 MiB in 20 packages [2022-11-08T16:08:48.362Z] Removing intermediate container 2d2ebf7fca91 [2022-11-08T16:08:48.362Z] ---> 588503eab552 [2022-11-08T16:08:48.362Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-11-08T16:08:48.362Z] ---> 1af4ddf79651 [2022-11-08T16:08:48.362Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-11-08T16:08:48.362Z] ---> 4bb616b87f36 [2022-11-08T16:08:48.362Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-11-08T16:08:48.362Z] ---> f1f91ab5e05a [2022-11-08T16:08:48.362Z] Step 20/25 : EXPOSE 59986 [2022-11-08T16:08:48.362Z] ---> Running in 609d42d43f9f [2022-11-08T16:08:48.362Z] Removing intermediate container 609d42d43f9f [2022-11-08T16:08:48.362Z] ---> bcd31645dc85 [2022-11-08T16:08:48.362Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-11-08T16:08:48.362Z] ---> Running in 14bcee3f159b [2022-11-08T16:08:48.362Z] Removing intermediate container 14bcee3f159b [2022-11-08T16:08:48.362Z] ---> c680ef51d1e2 [2022-11-08T16:08:48.362Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-08T16:08:48.362Z] ---> Running in 35e82fabf980 [2022-11-08T16:08:48.362Z] Removing intermediate container 35e82fabf980 [2022-11-08T16:08:48.362Z] ---> cdfff8ae18cc [2022-11-08T16:08:48.362Z] Step 23/25 : LABEL arch=arm64 [2022-11-08T16:08:48.362Z] ---> Running in 32781b6e06dd [2022-11-08T16:08:48.362Z] Removing intermediate container 32781b6e06dd [2022-11-08T16:08:48.362Z] ---> 32606e52a5da [2022-11-08T16:08:48.362Z] Step 24/25 : LABEL git_sha=684b3cc16076e0871f51c109ed11a84cd1314297 [2022-11-08T16:08:48.362Z] ---> Running in 6a3699a2c722 [2022-11-08T16:08:48.362Z] Removing intermediate container 6a3699a2c722 [2022-11-08T16:08:48.362Z] ---> e8ea5404cc5c [2022-11-08T16:08:48.362Z] Step 25/25 : LABEL version=0.0.0 [2022-11-08T16:08:48.362Z] ---> Running in f2dc33f3e8b9 [2022-11-08T16:08:48.362Z] Removing intermediate container f2dc33f3e8b9 [2022-11-08T16:08:48.362Z] ---> 53053d851ccd [2022-11-08T16:08:48.362Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T16:08:48.362Z] Successfully built 53053d851ccd [2022-11-08T16:08:48.362Z] 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-08T16:08:49.167Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:08:49.167Z] [2022-11-08T16:08:49.167Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:08:49.567Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:08:49.568Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T16:08:49.568Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T16:08:49.568Z] 04944245beec: Pulling fs layer [2022-11-08T16:08:49.568Z] 699f458cf7ca: Pulling fs layer [2022-11-08T16:08:49.568Z] 765212b225bb: Pulling fs layer [2022-11-08T16:08:49.568Z] f23df028b6ca: Pulling fs layer [2022-11-08T16:08:49.568Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T16:08:49.568Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T16:08:49.568Z] 765212b225bb: Waiting [2022-11-08T16:08:49.568Z] f23df028b6ca: Waiting [2022-11-08T16:08:49.568Z] d65c8cfc05b1: Waiting [2022-11-08T16:08:49.568Z] 2437ff75d9bd: Waiting [2022-11-08T16:08:49.835Z] 04944245beec: Verifying Checksum [2022-11-08T16:08:49.835Z] 04944245beec: Download complete [2022-11-08T16:08:49.835Z] 765212b225bb: Verifying Checksum [2022-11-08T16:08:49.835Z] 765212b225bb: Download complete [2022-11-08T16:08:49.835Z] f23df028b6ca: Download complete [2022-11-08T16:08:49.835Z] d65c8cfc05b1: Verifying Checksum [2022-11-08T16:08:49.835Z] d65c8cfc05b1: Download complete [2022-11-08T16:08:50.104Z] 699f458cf7ca: Verifying Checksum [2022-11-08T16:08:50.104Z] 699f458cf7ca: Download complete [2022-11-08T16:08:50.372Z] 8998bd30e6a1: Download complete [2022-11-08T16:08:52.963Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T16:08:52.963Z] 2437ff75d9bd: Download complete [2022-11-08T16:08:54.463Z] 8998bd30e6a1: Pull complete [2022-11-08T16:08:54.746Z] 04944245beec: Pull complete [2022-11-08T16:08:56.183Z] 699f458cf7ca: Pull complete [2022-11-08T16:08:56.183Z] 765212b225bb: Pull complete [2022-11-08T16:08:57.153Z] f23df028b6ca: Pull complete [2022-11-08T16:08:57.153Z] d65c8cfc05b1: Pull complete [2022-11-08T16:09:12.191Z] 2437ff75d9bd: Pull complete [2022-11-08T16:09:12.191Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T16:09:12.191Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:09:12.191Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:09:12.511Z] prd-ubuntu20.04-docker-arm64-4c-16g-118614 does not seem to be running inside a container [2022-11-08T16:09:12.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-08T16:09:15.331Z] $ docker top 722208b10d6b9898b48bdbcfc80598d2b736e68e4f0ccb999af6986c402f0d8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:09:16.240Z] ---> job-cost.sh [2022-11-08T16:09:16.240Z] lf-activate-venv: SKIPPING [2022-11-08T16:09:16.240Z] INFO: No Stack... [2022-11-08T16:09:16.856Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T16:09:17.442Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T16:09:17.782Z] + cut -d, -f6 [2022-11-08T16:09:17.782Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-11-08T16:09:18.143Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] [2022-11-08T16:09:18.148Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] did not exist. Created. [2022-11-08T16:09:18.148Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T16:09:18.880Z] /w/workspace/device-rest-go/1@tmp/durable-fee6de79/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T16:09:19.561Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T16:09:19.601Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T16:09:19.645Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T16:09:19.660Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T16:09:19.735Z] $ docker stop --time=1 722208b10d6b9898b48bdbcfc80598d2b736e68e4f0ccb999af6986c402f0d8e [2022-11-08T16:09:21.261Z] $ docker rm -f 722208b10d6b9898b48bdbcfc80598d2b736e68e4f0ccb999af6986c402f0d8e [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-08T16:09:22.288Z] provisioning config files... [2022-11-08T16:09:22.295Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp/config4304798199797352746tmp [Pipeline] { [Pipeline] sh [2022-11-08T16:09:22.629Z] + set +x [2022-11-08T16:09:22.629Z] + curl -s https://codecov.io/bash [2022-11-08T16:09:22.629Z] + bash -s -- [2022-11-08T16:09:22.629Z] [2022-11-08T16:09:22.629Z] _____ _ [2022-11-08T16:09:22.629Z] / ____| | | [2022-11-08T16:09:22.629Z] | | ___ __| | ___ ___ _____ __ [2022-11-08T16:09:22.629Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-08T16:09:22.629Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-08T16:09:22.629Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-08T16:09:22.629Z] Bash-1.0.6 [2022-11-08T16:09:22.629Z] [2022-11-08T16:09:22.629Z] [2022-11-08T16:09:22.629Z] ==> git version 2.25.1 found [2022-11-08T16:09:22.629Z] ==> 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-08T16:09:22.629Z] Release-Date: 2020-01-08 [2022-11-08T16:09:22.629Z] 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-08T16:09:22.629Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-08T16:09:22.629Z] ==> Jenkins CI detected. [2022-11-08T16:09:22.629Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-228 [2022-11-08T16:09:22.629Z] project root: . [2022-11-08T16:09:22.629Z] --> token set from env [2022-11-08T16:09:22.629Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-08T16:09:22.629Z] ==> Running gcov in . (disable via -X gcov) [2022-11-08T16:09:22.629Z] ==> Python coveragepy not found [2022-11-08T16:09:22.629Z] ==> Searching for coverage reports in: [2022-11-08T16:09:22.629Z] + . [2022-11-08T16:09:22.629Z] -> Found 1 reports [2022-11-08T16:09:22.629Z] ==> Detecting git/mercurial file structure [2022-11-08T16:09:22.629Z] ==> Reading reports [2022-11-08T16:09:22.629Z] + ./coverage.out bytes=9355 [2022-11-08T16:09:22.629Z] ==> Appending adjustments [2022-11-08T16:09:22.629Z] https://docs.codecov.io/docs/fixing-reports [2022-11-08T16:09:22.890Z] + Found adjustments [2022-11-08T16:09:22.890Z] ==> Gzipping contents [2022-11-08T16:09:22.890Z] 4.0K /tmp/codecov.ucmzn2.gz [2022-11-08T16:09:22.890Z] ==> Uploading reports [2022-11-08T16:09:22.890Z] url: https://codecov.io [2022-11-08T16:09:22.890Z] query: branch=PR-228&commit=684b3cc16076e0871f51c109ed11a84cd1314297&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-228%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=228&job=&cmd_args= [2022-11-08T16:09:22.890Z] -> Pinging Codecov [2022-11-08T16:09:22.890Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-228&commit=684b3cc16076e0871f51c109ed11a84cd1314297&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-228%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=228&job=&cmd_args= [2022-11-08T16:09:23.149Z] -> Uploading to [2022-11-08T16:09:23.149Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-08/4E5D53B4F1F92C436F7061BF334D961C/684b3cc16076e0871f51c109ed11a84cd1314297/5b2cf958-0640-4a22-a9b7-133a0759e89f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T160923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4e164aa9d5a244b9d34174a5c6b8312c5c076e6aaa931e122e443c643dff41ab [2022-11-08T16:09:23.149Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T16:09:23.149Z] Dload Upload Total Spent Left Speed [2022-11-08T16:09:23.409Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7523 --:--:-- --:--:-- --:--:-- 7491 [2022-11-08T16:09:23.409Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/684b3cc16076e0871f51c109ed11a84cd1314297 [Pipeline] } [2022-11-08T16:09:23.443Z] 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-08T16:09:25.308Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-228/archives ] [2022-11-08T16:09:25.308Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-228/archives [2022-11-08T16:09:25.308Z] total 16 [2022-11-08T16:09:25.308Z] drwxr-xr-x 3 root root 4096 Nov 8 16:00 . [2022-11-08T16:09:25.308Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:00 .. [2022-11-08T16:09:25.308Z] drwxr-xr-x 2 root root 4096 Nov 8 16:00 cost [2022-11-08T16:09:25.308Z] -rw-r--r-- 1 root root 86 Nov 8 16:00 cost.csv [2022-11-08T16:09:25.308Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-228/archives [2022-11-08T16:09:25.308Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-228/archives [2022-11-08T16:09:25.308Z] total 16 [2022-11-08T16:09:25.308Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:00 . [2022-11-08T16:09:25.308Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:00 .. [2022-11-08T16:09:25.308Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 16:00 cost [2022-11-08T16:09:25.308Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 8 16:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:09:25.641Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:09:26.530Z] ---> package-listing.sh [2022-11-08T16:09:26.530Z] ++ facter osfamily [2022-11-08T16:09:26.530Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T16:09:26.789Z] + OS_FAMILY=debian [2022-11-08T16:09:26.789Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-228 [2022-11-08T16:09:26.789Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T16:09:26.789Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T16:09:26.789Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T16:09:26.789Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T16:09:26.789Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-228 ']' [2022-11-08T16:09:26.789Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T16:09:26.789Z] + case "${OS_FAMILY}" in [2022-11-08T16:09:26.789Z] + dpkg -l [2022-11-08T16:09:26.789Z] + grep '^ii' [2022-11-08T16:09:26.789Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T16:09:26.789Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T16:09:26.789Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T16:09:26.789Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-228 ']' [2022-11-08T16:09:26.789Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-228/archives/ [2022-11-08T16:09:26.789Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-228/archives/ [Pipeline] echo [2022-11-08T16:09:26.827Z] 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-228/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-08T16:09:27.121Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:09:27.753Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:09:27.753Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:09:27.893Z] prd-ubuntu20.04-docker-8c-8g-118611 does not seem to be running inside a container [2022-11-08T16:09:27.929Z] $ 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-228/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-228 -v /w/workspace/gexfoundry_device-rest-go_PR-228:/w/workspace/gexfoundry_device-rest-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-228@tmp:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T16:09:28.168Z] $ docker top 1fa6db40322ff98ffa01544908e3243009b27a3c358fcb7eee1e53983c3437b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:09:28.553Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T16:09:28.863Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T16:09:29.179Z] + ls /var/log/sa-host [2022-11-08T16:09:29.179Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:09:29.415Z] provisioning config files... [2022-11-08T16:09:29.423Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp/config9585350819688685066tmp [Pipeline] { [Pipeline] echo [2022-11-08T16:09:29.477Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:09:29.793Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T16:09:29.828Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:09:30.229Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T16:09:30.263Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:09:30.580Z] ---> sudo-logs.sh [2022-11-08T16:09:30.580Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T16:09:30.670Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:09:30.981Z] ---> job-cost.sh [2022-11-08T16:09:30.981Z] lf-activate-venv: SKIPPING [2022-11-08T16:09:30.981Z] DEBUG: total: 0.2199999988079071 [2022-11-08T16:09:30.981Z] INFO: Retrieving Stack Cost... [2022-11-08T16:09:31.245Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T16:09:31.813Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T16:09:31.849Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:09:32.153Z] ---> logs-deploy.sh [2022-11-08T16:09:32.153Z] lf-activate-venv: SKIPPING [2022-11-08T16:09:32.153Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-228/1 [2022-11-08T16:09:32.153Z] INFO: archiving workspace using pattern(s): [2022-11-08T16:09:33.095Z] Archives upload complete. [2022-11-08T16:09:33.095Z] INFO: archiving logs to Nexus