Pull request #202 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 rather than 9ba00646db150fb08609101c001c076766cca6b5 Obtained Jenkinsfile from 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 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-ssh17121945940603311121.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh4662011150845557434.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5756717133302183299.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12918607641667667884.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15961847188325839938.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17125 in /w/workspace/gexfoundry_device-rest-go_PR-202 [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-202 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit 9ba00646db150fb08609101c001c076766cca6b5 Merge succeeded, producing 9ba00646db150fb08609101c001c076766cca6b5 Checking out Revision 9ba00646db150fb08609101c001c076766cca6b5 (PR-202) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ba00646db150fb08609101c001c076766cca6b5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ba00646db150fb08609101c001c076766cca6b5 # timeout=10 Commit message: "refactor(snap): Use `cp` copy config files and docs" > git rev-list --no-walk 5129bb747eb0d4e9647a0a00868555b5168ad271 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-07T09:44:09.828Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-07T09:44:09.879Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-07T09:44:09.889Z] ========================================================= [2022-07-07T09:44:09.889Z] EdgeX Global Pipelines Version Info [2022-07-07T09:44:09.889Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:44:10.666Z] ------------------- [2022-07-07T09:44:10.666Z] stable info: [2022-07-07T09:44:10.666Z] ------------------- [2022-07-07T09:44:10.666Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-07T09:44:10.666Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-07T09:44:10.666Z] Message: update stable to v1.0.234 [2022-07-07T09:44:11.242Z] ------------------- [2022-07-07T09:44:11.242Z] experimental info: [2022-07-07T09:44:11.242Z] ------------------- [2022-07-07T09:44:11.242Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-07T09:44:11.242Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-07T09:44:11.242Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-07T09:44:11.417Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-07-07T09:44:11.426Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-07-07T09:44:11.438Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-07T09:44:11.449Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-07T09:44:11.461Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-07T09:44:11.472Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-07T09:44:11.486Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-07T09:44:11.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-07T09:44:11.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-07T09:44:11.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-07T09:44:11.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-07T09:44:11.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-07-07T09:44:11.545Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-07T09:44:11.555Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-07T09:44:11.569Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T09:44:11.581Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-07T09:44:11.592Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T09:44:11.604Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-07T09:44:11.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-07T09:44:11.631Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-07T09:44:11.642Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-07T09:44:11.651Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-07T09:44:11.662Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-07T09:44:11.673Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-07T09:44:11.685Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-07T09:44:11.696Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-07T09:44:11.707Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-07T09:44:11.718Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-202 [Pipeline] echo [2022-07-07T09:44:11.729Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-202 [Pipeline] echo [2022-07-07T09:44:11.743Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-202 [Pipeline] echo [2022-07-07T09:44:11.756Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9ba00646db150fb08609101c001c076766cca6b5 [Pipeline] echo [2022-07-07T09:44:11.773Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9ba0064 [Pipeline] echo [2022-07-07T09:44:11.787Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T09:44:11.832Z] provisioning config files... [2022-07-07T09:44:11.847Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config3489004009696819233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:44:12.216Z] ---> docker-login.sh [2022-07-07T09:44:12.216Z] nexus3.edgexfoundry.org:10001 [2022-07-07T09:44:12.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:44:12.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:44:12.479Z] Configure a credential helper to remove this warning. See [2022-07-07T09:44:12.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:44:12.479Z] [2022-07-07T09:44:12.479Z] Login Succeeded [2022-07-07T09:44:12.479Z] nexus3.edgexfoundry.org:10002 [2022-07-07T09:44:12.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:44:12.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:44:12.740Z] Configure a credential helper to remove this warning. See [2022-07-07T09:44:12.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:44:12.740Z] [2022-07-07T09:44:12.740Z] Login Succeeded [2022-07-07T09:44:12.740Z] nexus3.edgexfoundry.org:10003 [2022-07-07T09:44:12.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:44:12.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:44:12.740Z] Configure a credential helper to remove this warning. See [2022-07-07T09:44:12.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:44:12.740Z] [2022-07-07T09:44:12.740Z] Login Succeeded [2022-07-07T09:44:12.740Z] nexus3.edgexfoundry.org:10004 [2022-07-07T09:44:13.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:44:13.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:44:13.001Z] Configure a credential helper to remove this warning. See [2022-07-07T09:44:13.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:44:13.001Z] [2022-07-07T09:44:13.001Z] Login Succeeded [2022-07-07T09:44:13.001Z] docker.io [2022-07-07T09:44:13.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:44:13.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:44:13.574Z] Configure a credential helper to remove this warning. See [2022-07-07T09:44:13.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:44:13.574Z] [2022-07-07T09:44:13.574Z] Login Succeeded [2022-07-07T09:44:13.574Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T09:44:13.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-07T09:44:13.935Z] + git rev-list -1 --merges 9ba00646db150fb08609101c001c076766cca6b5~1..9ba00646db150fb08609101c001c076766cca6b5 [Pipeline] echo [2022-07-07T09:44:13.968Z] -----------> git rev-list -1 --merges 9ba00646db150fb08609101c001c076766cca6b5~1..9ba00646db150fb08609101c001c076766cca6b5 9ba00646db150fb08609101c001c076766cca6b5 [false] [Pipeline] sh [2022-07-07T09:44:14.260Z] + git log --format=format:%s -1 9ba00646db150fb08609101c001c076766cca6b5 [Pipeline] echo [2022-07-07T09:44:14.275Z] ========================================================= [2022-07-07T09:44:14.275Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-07T09:44:14.275Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T09:44:14.609Z] + git log --format=format:%s -1 9ba00646db150fb08609101c001c076766cca6b5 [Pipeline] echo [2022-07-07T09:44:14.621Z] [semverPrep] GIT_COMMIT: 9ba00646db150fb08609101c001c076766cca6b5, Commit Message: refactor(snap): Use `cp` copy config files and docs [Pipeline] echo [2022-07-07T09:44:14.631Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-07T09:44:14.978Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-07T09:44:14.978Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-07T09:44:14.978Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-07T09:44:14.978Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-07T09:44:14.978Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-07T09:44:14.978Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-07T09:44:14.978Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:44:15.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T09:44:15.339Z] [2022-07-07T09:44:15.339Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:44:15.649Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T09:44:15.649Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-07T09:44:15.649Z] 42c077c10790: Pulling fs layer [2022-07-07T09:44:15.649Z] f63e77b7563a: Pulling fs layer [2022-07-07T09:44:15.649Z] bd5fdadae976: Pulling fs layer [2022-07-07T09:44:15.649Z] 205491f53016: Pulling fs layer [2022-07-07T09:44:15.649Z] df18705c85c3: Pulling fs layer [2022-07-07T09:44:15.649Z] bdb3f477010e: Pulling fs layer [2022-07-07T09:44:15.649Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-07T09:44:15.649Z] 2c6e9b1d212d: Pulling fs layer [2022-07-07T09:44:15.649Z] bdb8f0575790: Pulling fs layer [2022-07-07T09:44:15.649Z] 386e3cb2ff24: Pulling fs layer [2022-07-07T09:44:15.649Z] 2343380bae48: Pulling fs layer [2022-07-07T09:44:15.649Z] 205491f53016: Waiting [2022-07-07T09:44:15.649Z] c8a8fc8e1c8f: Waiting [2022-07-07T09:44:15.649Z] df18705c85c3: Waiting [2022-07-07T09:44:15.649Z] 386e3cb2ff24: Waiting [2022-07-07T09:44:15.649Z] bdb8f0575790: Waiting [2022-07-07T09:44:15.649Z] 2343380bae48: Waiting [2022-07-07T09:44:15.649Z] 2c6e9b1d212d: Waiting [2022-07-07T09:44:15.649Z] f63e77b7563a: Verifying Checksum [2022-07-07T09:44:15.649Z] f63e77b7563a: Download complete [2022-07-07T09:44:15.649Z] 205491f53016: Verifying Checksum [2022-07-07T09:44:15.649Z] 205491f53016: Download complete [2022-07-07T09:44:15.909Z] df18705c85c3: Verifying Checksum [2022-07-07T09:44:15.909Z] df18705c85c3: Download complete [2022-07-07T09:44:15.909Z] bd5fdadae976: Verifying Checksum [2022-07-07T09:44:15.909Z] bdb3f477010e: Download complete [2022-07-07T09:44:15.909Z] 2c6e9b1d212d: Verifying Checksum [2022-07-07T09:44:15.909Z] 2c6e9b1d212d: Download complete [2022-07-07T09:44:15.909Z] bdb8f0575790: Download complete [2022-07-07T09:44:15.909Z] 386e3cb2ff24: Verifying Checksum [2022-07-07T09:44:15.910Z] 386e3cb2ff24: Download complete [2022-07-07T09:44:15.910Z] 2343380bae48: Download complete [2022-07-07T09:44:15.910Z] 42c077c10790: Verifying Checksum [2022-07-07T09:44:15.910Z] 42c077c10790: Download complete [2022-07-07T09:44:16.169Z] c8a8fc8e1c8f: Verifying Checksum [2022-07-07T09:44:16.169Z] c8a8fc8e1c8f: Download complete [2022-07-07T09:44:17.551Z] 42c077c10790: Pull complete [2022-07-07T09:44:17.551Z] f63e77b7563a: Pull complete [2022-07-07T09:44:18.122Z] bd5fdadae976: Pull complete [2022-07-07T09:44:18.122Z] 205491f53016: Pull complete [2022-07-07T09:44:18.389Z] df18705c85c3: Pull complete [2022-07-07T09:44:18.389Z] bdb3f477010e: Pull complete [2022-07-07T09:44:20.312Z] c8a8fc8e1c8f: Pull complete [2022-07-07T09:44:20.572Z] 2c6e9b1d212d: Pull complete [2022-07-07T09:44:20.572Z] bdb8f0575790: Pull complete [2022-07-07T09:44:20.572Z] 386e3cb2ff24: Pull complete [2022-07-07T09:44:20.835Z] 2343380bae48: Pull complete [2022-07-07T09:44:20.835Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-07T09:44:20.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-07T09:44:20.835Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:44:20.939Z] prd-ubuntu20.04-docker-8c-8g-17125 does not seem to be running inside a container [2022-07-07T09:44:20.981Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@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-devops/py-git-semver:0.1.4 cat [2022-07-07T09:44:22.447Z] $ docker top 499bffa93ce3690bc71c1e3e10730cb94f5dddaab858002ce131e6dd58bd0547 -eo pid,comm [2022-07-07T09:44:22.511Z] 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-07-07T09:44:22.511Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-07T09:44:22.551Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T09:44:22.552Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T09:44:22.685Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T09:44:22.693Z] $ docker exec 499bffa93ce3690bc71c1e3e10730cb94f5dddaab858002ce131e6dd58bd0547 ssh-agent [2022-07-07T09:44:22.820Z] SSH_AUTH_SOCK=/tmp/ssh-Ky4k85onF5UJ/agent.33 [2022-07-07T09:44:22.820Z] SSH_AGENT_PID=40 [2022-07-07T09:44:22.827Z] Running ssh-add (command line suppressed) [2022-07-07T09:44:22.943Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_7565743921727070617.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_7565743921727070617.key) [2022-07-07T09:44:22.959Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T09:44:23.253Z] + git tag --points-at HEAD [Pipeline] } [2022-07-07T09:44:23.270Z] $ docker exec --env ******** --env ******** 499bffa93ce3690bc71c1e3e10730cb94f5dddaab858002ce131e6dd58bd0547 ssh-agent -k [2022-07-07T09:44:23.377Z] unset SSH_AUTH_SOCK; [2022-07-07T09:44:23.377Z] unset SSH_AGENT_PID; [2022-07-07T09:44:23.377Z] echo Agent pid 40 killed; [2022-07-07T09:44:23.385Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-07T09:44:23.410Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-07T09:44:23.410Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-07T09:44:23.551Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-07T09:44:23.558Z] $ docker exec 499bffa93ce3690bc71c1e3e10730cb94f5dddaab858002ce131e6dd58bd0547 ssh-agent [2022-07-07T09:44:23.675Z] SSH_AUTH_SOCK=/tmp/ssh-mE2NByObl3wS/agent.74 [2022-07-07T09:44:23.675Z] SSH_AGENT_PID=80 [2022-07-07T09:44:23.680Z] Running ssh-add (command line suppressed) [2022-07-07T09:44:23.794Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_8290556089779303418.key (/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/private_key_8290556089779303418.key) [2022-07-07T09:44:23.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-07T09:44:24.095Z] + git semver init [2022-07-07T09:44:24.356Z] 2022-07-07 09:44:24,299 [run_init] DEBUG init version:0.0.0 force:False [2022-07-07T09:44:24.356Z] 2022-07-07 09:44:24,300 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver [2022-07-07T09:44:24.356Z] 2022-07-07 09:44:24,301 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-202/.semver [2022-07-07T09:44:24.356Z] 2022-07-07 09:44:24,301 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-202/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202, universal_newlines=False, shell=None, istream=None) [2022-07-07T09:44:25.300Z] 2022-07-07 09:44:25,256 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.git/info/exclude [2022-07-07T09:44:25.300Z] 2022-07-07 09:44:25,257 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 with force:False [2022-07-07T09:44:25.300Z] 2022-07-07 09:44:25,257 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 [2022-07-07T09:44:25.300Z] 2022-07-07 09:44:25,261 [execute] INFO git cat-file --batch-check [2022-07-07T09:44:25.300Z] 2022-07-07 09:44:25,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-07-07T09:44:25.300Z] 2022-07-07 09:44:25,268 [execute] INFO git cat-file --batch [2022-07-07T09:44:25.300Z] 2022-07-07 09:44:25,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2022-07-07T09:44:25.300Z] 2022-07-07 09:44:25,274 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-202/.semver/PR-202 [2022-07-07T09:44:25.301Z] 0.0.0 [Pipeline] } [2022-07-07T09:44:25.315Z] $ docker exec --env ******** --env ******** 499bffa93ce3690bc71c1e3e10730cb94f5dddaab858002ce131e6dd58bd0547 ssh-agent -k [2022-07-07T09:44:25.430Z] unset SSH_AUTH_SOCK; [2022-07-07T09:44:25.430Z] unset SSH_AGENT_PID; [2022-07-07T09:44:25.430Z] echo Agent pid 80 killed; [2022-07-07T09:44:25.441Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-07T09:44:25.752Z] + git semver [Pipeline] } [2022-07-07T09:44:26.032Z] $ docker stop --time=1 499bffa93ce3690bc71c1e3e10730cb94f5dddaab858002ce131e6dd58bd0547 [2022-07-07T09:44:27.364Z] $ docker rm -f 499bffa93ce3690bc71c1e3e10730cb94f5dddaab858002ce131e6dd58bd0547 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T09:44:27.728Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-07T09:44:27.966Z] Stashed 1 file(s) [Pipeline] echo [2022-07-07T09:44:27.968Z] [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-07-07T09:44:28.106Z] provisioning config files... [2022-07-07T09:44:28.117Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config227332136474186254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:44:28.413Z] ---> docker-login.sh [2022-07-07T09:44:28.413Z] nexus3.edgexfoundry.org:10001 [2022-07-07T09:44:28.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:44:28.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:44:28.413Z] Configure a credential helper to remove this warning. See [2022-07-07T09:44:28.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:44:28.413Z] [2022-07-07T09:44:28.413Z] Login Succeeded [2022-07-07T09:44:28.413Z] nexus3.edgexfoundry.org:10002 [2022-07-07T09:44:28.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:44:28.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:44:28.673Z] Configure a credential helper to remove this warning. See [2022-07-07T09:44:28.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:44:28.673Z] [2022-07-07T09:44:28.673Z] Login Succeeded [2022-07-07T09:44:28.673Z] nexus3.edgexfoundry.org:10003 [2022-07-07T09:44:28.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:44:28.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:44:28.673Z] Configure a credential helper to remove this warning. See [2022-07-07T09:44:28.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:44:28.673Z] [2022-07-07T09:44:28.673Z] Login Succeeded [2022-07-07T09:44:28.673Z] nexus3.edgexfoundry.org:10004 [2022-07-07T09:44:28.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:44:28.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:44:28.935Z] Configure a credential helper to remove this warning. See [2022-07-07T09:44:28.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:44:28.935Z] [2022-07-07T09:44:28.935Z] Login Succeeded [2022-07-07T09:44:28.935Z] docker.io [2022-07-07T09:44:28.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:44:29.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:44:29.195Z] Configure a credential helper to remove this warning. See [2022-07-07T09:44:29.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:44:29.195Z] [2022-07-07T09:44:29.195Z] Login Succeeded [2022-07-07T09:44:29.195Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T09:44:29.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T09:44:29.271Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T09:44:29.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T09:44:29.288Z] ========================================================= [2022-07-07T09:44:29.288Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-07T09:44:29.288Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:44:29.616Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-07T09:44:29.616Z] Sending build context to Docker daemon 10.68MB [2022-07-07T09:44:29.616Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T09:44:29.616Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-07T09:44:29.616Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-07T09:44:29.616Z] 59bf1c3509f3: Pulling fs layer [2022-07-07T09:44:29.616Z] 666ba61612fd: Pulling fs layer [2022-07-07T09:44:29.616Z] 8ed8ca486205: Pulling fs layer [2022-07-07T09:44:29.616Z] cc1cd167ecdc: Pulling fs layer [2022-07-07T09:44:29.616Z] c516ae0d96e1: Pulling fs layer [2022-07-07T09:44:29.616Z] 684cea983483: Pulling fs layer [2022-07-07T09:44:29.616Z] dd3240ac7de5: Pulling fs layer [2022-07-07T09:44:29.616Z] b1e948a4e11c: Pulling fs layer [2022-07-07T09:44:29.616Z] a8fd76ee1af6: Pulling fs layer [2022-07-07T09:44:29.616Z] 646ad004c059: Pulling fs layer [2022-07-07T09:44:29.616Z] dd3240ac7de5: Waiting [2022-07-07T09:44:29.616Z] b1e948a4e11c: Waiting [2022-07-07T09:44:29.616Z] a8fd76ee1af6: Waiting [2022-07-07T09:44:29.616Z] 646ad004c059: Waiting [2022-07-07T09:44:29.616Z] cc1cd167ecdc: Waiting [2022-07-07T09:44:29.616Z] 684cea983483: Waiting [2022-07-07T09:44:29.616Z] c516ae0d96e1: Waiting [2022-07-07T09:44:29.616Z] 8ed8ca486205: Verifying Checksum [2022-07-07T09:44:29.616Z] 8ed8ca486205: Download complete [2022-07-07T09:44:29.616Z] 666ba61612fd: Verifying Checksum [2022-07-07T09:44:29.616Z] 666ba61612fd: Download complete [2022-07-07T09:44:29.878Z] c516ae0d96e1: Verifying Checksum [2022-07-07T09:44:29.878Z] c516ae0d96e1: Download complete [2022-07-07T09:44:29.878Z] 684cea983483: Download complete [2022-07-07T09:44:29.878Z] 59bf1c3509f3: Verifying Checksum [2022-07-07T09:44:29.879Z] 59bf1c3509f3: Download complete [2022-07-07T09:44:29.879Z] dd3240ac7de5: Verifying Checksum [2022-07-07T09:44:29.879Z] dd3240ac7de5: Download complete [2022-07-07T09:44:29.879Z] b1e948a4e11c: Verifying Checksum [2022-07-07T09:44:29.879Z] b1e948a4e11c: Download complete [2022-07-07T09:44:29.879Z] 59bf1c3509f3: Pull complete [2022-07-07T09:44:30.143Z] 666ba61612fd: Pull complete [2022-07-07T09:44:30.143Z] 8ed8ca486205: Pull complete [2022-07-07T09:44:30.409Z] a8fd76ee1af6: Download complete [2022-07-07T09:44:30.670Z] 646ad004c059: Verifying Checksum [2022-07-07T09:44:30.670Z] 646ad004c059: Download complete [2022-07-07T09:44:30.670Z] cc1cd167ecdc: Verifying Checksum [2022-07-07T09:44:30.670Z] cc1cd167ecdc: Download complete [2022-07-07T09:44:34.870Z] cc1cd167ecdc: Pull complete [2022-07-07T09:44:34.870Z] c516ae0d96e1: Pull complete [2022-07-07T09:44:34.870Z] 684cea983483: Pull complete [2022-07-07T09:44:34.870Z] dd3240ac7de5: Pull complete [2022-07-07T09:44:34.870Z] b1e948a4e11c: Pull complete [2022-07-07T09:44:36.779Z] a8fd76ee1af6: Pull complete [2022-07-07T09:44:37.350Z] 646ad004c059: Pull complete [2022-07-07T09:44:37.350Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-07T09:44:37.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-07T09:44:37.350Z] ---> 8f69c11f6b0c [2022-07-07T09:44:37.350Z] Step 3/12 : ARG MAKE='make build' [2022-07-07T09:44:39.260Z] ---> Running in 22f1dde15f01 [2022-07-07T09:44:39.260Z] Removing intermediate container 22f1dde15f01 [2022-07-07T09:44:39.260Z] ---> 422d8be3766a [2022-07-07T09:44:39.260Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T09:44:39.260Z] ---> Running in 3829431f250d [2022-07-07T09:44:39.260Z] Removing intermediate container 3829431f250d [2022-07-07T09:44:39.260Z] ---> fb76e0ddf04c [2022-07-07T09:44:39.260Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T09:44:39.260Z] ---> Running in 8a7ee887c674 [2022-07-07T09:44:39.520Z] Removing intermediate container 8a7ee887c674 [2022-07-07T09:44:39.520Z] ---> c5d36d1e042f [2022-07-07T09:44:39.520Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T09:44:39.520Z] ---> Running in a1dea75a7f4b [2022-07-07T09:44:40.089Z] Removing intermediate container a1dea75a7f4b [2022-07-07T09:44:40.089Z] ---> d2fb4a2036f6 [2022-07-07T09:44:40.089Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T09:44:40.089Z] ---> Running in 098047b222fe [2022-07-07T09:44:40.347Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T09:44:41.285Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T09:44:41.544Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-07T09:44:41.544Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-07T09:44:41.544Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-07T09:44:41.804Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-07T09:44:41.804Z] Executing busybox-1.34.1-r3.trigger [2022-07-07T09:44:41.804Z] OK: 224 MiB in 56 packages [2022-07-07T09:44:42.375Z] Removing intermediate container 098047b222fe [2022-07-07T09:44:42.375Z] ---> 11999eb968a0 [2022-07-07T09:44:42.375Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-07T09:44:42.375Z] ---> Running in 5afe832c95cc [2022-07-07T09:44:42.375Z] Removing intermediate container 5afe832c95cc [2022-07-07T09:44:42.375Z] ---> 1241d05c34f1 [2022-07-07T09:44:42.375Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-07T09:44:42.642Z] ---> a769bdbd45e4 [2022-07-07T09:44:42.642Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T09:44:42.642Z] ---> Running in 9bda12087218 [2022-07-07T09:44:43.067Z] Still waiting to schedule task [2022-07-07T09:44:43.067Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-07T09:44:57.543Z] Removing intermediate container 9bda12087218 [2022-07-07T09:44:57.543Z] ---> 615db4990b79 [2022-07-07T09:44:57.543Z] Step 11/12 : COPY . . [2022-07-07T09:44:57.543Z] ---> a97d85833f3c [2022-07-07T09:44:57.543Z] Step 12/12 : RUN $MAKE [2022-07-07T09:44:57.543Z] ---> Running in a3a99e169ef5 [2022-07-07T09:44:57.802Z] noop [2022-07-07T09:44:58.063Z] Removing intermediate container a3a99e169ef5 [2022-07-07T09:44:58.063Z] ---> 3b0c63c0223a [2022-07-07T09:44:58.063Z] Successfully built 3b0c63c0223a [2022-07-07T09:44:58.063Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:44:58.380Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T09:44:58.380Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:44:58.460Z] prd-ubuntu20.04-docker-8c-8g-17125 does not seem to be running inside a container [2022-07-07T09:44:58.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-07T09:44:58.847Z] $ docker top 7e978d9ff428ff9f902f27b57b6364bab5665fd9c5e75efb139bb87c3b565a39 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T09:44:59.201Z] + go version [2022-07-07T09:44:59.201Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-07T09:44:59.217Z] $ docker stop --time=1 7e978d9ff428ff9f902f27b57b6364bab5665fd9c5e75efb139bb87c3b565a39 [2022-07-07T09:45:00.494Z] $ docker rm -f 7e978d9ff428ff9f902f27b57b6364bab5665fd9c5e75efb139bb87c3b565a39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:45:00.888Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-07T09:45:00.888Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:45:00.963Z] prd-ubuntu20.04-docker-8c-8g-17125 does not seem to be running inside a container [2022-07-07T09:45:01.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-07T09:45:01.412Z] $ docker top c86fd9d1d2675811167a4f1678258a60d145a73ceb4b0d6a68082ce87921cc41 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T09:45:01.855Z] + make test [2022-07-07T09:45:01.855Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-07T09:45:02.113Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-07T09:45:12.093Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-07T09:45:12.093Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-07-07T09:45:17.367Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-07T09:45:20.660Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T09:45:20.660Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T09:45:20.660Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T09:45:21.244Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T09:45:21.259Z] $ docker stop --time=1 c86fd9d1d2675811167a4f1678258a60d145a73ceb4b0d6a68082ce87921cc41 [2022-07-07T09:45:23.196Z] $ docker rm -f c86fd9d1d2675811167a4f1678258a60d145a73ceb4b0d6a68082ce87921cc41 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T09:45:23.674Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T09:45:23.718Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-07T09:45:24.320Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T09:45:24.612Z] + ls -al . [2022-07-07T09:45:24.612Z] total 172 [2022-07-07T09:45:24.612Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 7 09:45 . [2022-07-07T09:45:24.612Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 09:44 .. [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 09:44 .dockerignore [2022-07-07T09:45:24.612Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 09:44 .git [2022-07-07T09:45:24.612Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 09:44 .github [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 09:44 .gitignore [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 09:44 .golangci.yml [2022-07-07T09:45:24.612Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 09:44 .semver [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 09:44 Attribution.txt [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 09:44 CHANGELOG.md [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jul 7 09:44 Dockerfile [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 09:44 GOVERNANCE.md [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 09:44 Jenkinsfile [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 09:44 LICENSE [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jul 7 09:44 Makefile [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 09:44 OWNERS.md [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 09:44 README.md [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 09:44 VERSION [2022-07-07T09:45:24.612Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 09:44 bin [2022-07-07T09:45:24.612Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 09:44 cmd [2022-07-07T09:45:24.612Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 09:45 coverage.out [2022-07-07T09:45:24.612Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 09:44 driver [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 09:44 go.mod [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jul 7 09:44 go.sum [2022-07-07T09:45:24.612Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 09:44 snap [2022-07-07T09:45:24.612Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 09:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:45:24.922Z] + 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=9ba00646db150fb08609101c001c076766cca6b5 --label arch=amd64 --label version=0.0.0 . [2022-07-07T09:45:24.922Z] Sending build context to Docker daemon 10.69MB [2022-07-07T09:45:24.922Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T09:45:24.922Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-07T09:45:24.922Z] ---> 3b0c63c0223a [2022-07-07T09:45:24.922Z] Step 3/25 : ARG MAKE='make build' [2022-07-07T09:45:25.183Z] ---> Running in 067f6a26cf04 [2022-07-07T09:45:25.183Z] Removing intermediate container 067f6a26cf04 [2022-07-07T09:45:25.183Z] ---> fb68db71b9f4 [2022-07-07T09:45:25.183Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T09:45:25.183Z] ---> Running in 03a764593b39 [2022-07-07T09:45:25.183Z] Removing intermediate container 03a764593b39 [2022-07-07T09:45:25.183Z] ---> 9d8268c038f7 [2022-07-07T09:45:25.183Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T09:45:25.441Z] ---> Running in 2de73ee095b7 [2022-07-07T09:45:25.441Z] Removing intermediate container 2de73ee095b7 [2022-07-07T09:45:25.441Z] ---> 0f06c6df5df4 [2022-07-07T09:45:25.442Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T09:45:25.442Z] ---> Running in 07be4c479f19 [2022-07-07T09:45:26.011Z] Removing intermediate container 07be4c479f19 [2022-07-07T09:45:26.011Z] ---> bb5c9ff4dbab [2022-07-07T09:45:26.011Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T09:45:26.011Z] ---> Running in b238938417d8 [2022-07-07T09:45:26.274Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-07T09:45:27.662Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-07T09:45:27.922Z] OK: 224 MiB in 56 packages [2022-07-07T09:45:28.183Z] Removing intermediate container b238938417d8 [2022-07-07T09:45:28.183Z] ---> 1761f0abf74e [2022-07-07T09:45:28.183Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-07T09:45:28.183Z] ---> Running in cfe0db950f80 [2022-07-07T09:45:28.183Z] Removing intermediate container cfe0db950f80 [2022-07-07T09:45:28.183Z] ---> b3468ec3ee1f [2022-07-07T09:45:28.183Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-07T09:45:28.443Z] ---> d52db767abd3 [2022-07-07T09:45:28.443Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T09:45:28.443Z] ---> Running in 6f7001715469 [2022-07-07T09:45:29.014Z] Removing intermediate container 6f7001715469 [2022-07-07T09:45:29.014Z] ---> 48282bfdfccb [2022-07-07T09:45:29.014Z] Step 11/25 : COPY . . [2022-07-07T09:45:29.275Z] ---> d180d382bab8 [2022-07-07T09:45:29.275Z] Step 12/25 : RUN $MAKE [2022-07-07T09:45:29.536Z] ---> Running in 84a8a16616bf [2022-07-07T09:45:29.795Z] CGO_ENABLED=1 GO111MODULE=on go build -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-07-07T09:45:51.754Z] Removing intermediate container 84a8a16616bf [2022-07-07T09:45:51.754Z] ---> a12c3c88e36e [2022-07-07T09:45:51.754Z] Step 13/25 : FROM alpine:3.14 [2022-07-07T09:45:51.754Z] 3.14: Pulling from library/alpine [2022-07-07T09:45:51.754Z] 8663204ce13b: Pulling fs layer [2022-07-07T09:45:51.754Z] 8663204ce13b: Verifying Checksum [2022-07-07T09:45:51.754Z] 8663204ce13b: Download complete [2022-07-07T09:45:51.754Z] 8663204ce13b: Pull complete [2022-07-07T09:45:51.754Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-07T09:45:51.754Z] Status: Downloaded newer image for alpine:3.14 [2022-07-07T09:45:51.754Z] ---> e04c818066af [2022-07-07T09:45:51.754Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-07-07T09:45:51.754Z] ---> Running in ed88cb696176 [2022-07-07T09:45:51.754Z] Removing intermediate container ed88cb696176 [2022-07-07T09:45:51.754Z] ---> 01080221eb70 [2022-07-07T09:45:51.754Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-07T09:45:51.754Z] ---> Running in 4168563e4ed1 [2022-07-07T09:45:51.754Z] Removing intermediate container 4168563e4ed1 [2022-07-07T09:45:51.754Z] ---> 1071fddc5ead [2022-07-07T09:45:51.754Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-07T09:45:51.754Z] ---> Running in 0719a8154689 [2022-07-07T09:45:51.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-07T09:45:51.754Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-07T09:45:51.754Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-07T09:45:51.754Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-07T09:45:51.754Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-07T09:45:51.754Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-07T09:45:51.754Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-07T09:45:51.754Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-07T09:45:51.754Z] Executing busybox-1.33.1-r7.trigger [2022-07-07T09:45:51.754Z] OK: 8 MiB in 20 packages [2022-07-07T09:45:51.754Z] Removing intermediate container 0719a8154689 [2022-07-07T09:45:51.754Z] ---> 38e6d4d79097 [2022-07-07T09:45:51.754Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-07T09:45:51.754Z] ---> a20fb8d6f176 [2022-07-07T09:45:51.754Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-07T09:45:51.754Z] ---> b46f32606890 [2022-07-07T09:45:51.754Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-07T09:45:52.015Z] ---> 32ce6719ef0c [2022-07-07T09:45:52.015Z] Step 20/25 : EXPOSE 59986 [2022-07-07T09:45:52.015Z] ---> Running in fb286a448f21 [2022-07-07T09:45:52.015Z] Removing intermediate container fb286a448f21 [2022-07-07T09:45:52.015Z] ---> 8ba63bb015f1 [2022-07-07T09:45:52.015Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-07T09:45:52.015Z] ---> Running in 76dfa68d42da [2022-07-07T09:45:52.275Z] Removing intermediate container 76dfa68d42da [2022-07-07T09:45:52.275Z] ---> 4ff93dd50eb2 [2022-07-07T09:45:52.275Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-07T09:45:52.275Z] ---> Running in 8a04990f680b [2022-07-07T09:45:52.275Z] Removing intermediate container 8a04990f680b [2022-07-07T09:45:52.275Z] ---> 165054cfef52 [2022-07-07T09:45:52.275Z] Step 23/25 : LABEL arch=amd64 [2022-07-07T09:45:52.275Z] ---> Running in e12d24aa57c3 [2022-07-07T09:45:52.536Z] Removing intermediate container e12d24aa57c3 [2022-07-07T09:45:52.536Z] ---> 86f29b193255 [2022-07-07T09:45:52.536Z] Step 24/25 : LABEL git_sha=9ba00646db150fb08609101c001c076766cca6b5 [2022-07-07T09:45:52.536Z] ---> Running in 221ee3779b97 [2022-07-07T09:45:52.536Z] Removing intermediate container 221ee3779b97 [2022-07-07T09:45:52.536Z] ---> 24eab52ffd2e [2022-07-07T09:45:52.536Z] Step 25/25 : LABEL version=0.0.0 [2022-07-07T09:45:52.798Z] ---> Running in 0ebec921dd0a [2022-07-07T09:45:52.798Z] Removing intermediate container 0ebec921dd0a [2022-07-07T09:45:52.798Z] ---> ff3be521f143 [2022-07-07T09:45:52.798Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T09:45:52.798Z] Successfully built ff3be521f143 [2022-07-07T09:45:52.798Z] 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-07-07T09:45:53.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T09:45:53.224Z] [2022-07-07T09:45:53.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:45:53.535Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T09:45:53.535Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-07T09:45:53.535Z] 5eb5b503b376: Pulling fs layer [2022-07-07T09:45:53.535Z] 5c69ac0246d0: Pulling fs layer [2022-07-07T09:45:53.535Z] ec43610c2a17: Pulling fs layer [2022-07-07T09:45:53.535Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-07T09:45:53.535Z] 33b1e0a273af: Pulling fs layer [2022-07-07T09:45:53.535Z] 5d3b04190fa2: Pulling fs layer [2022-07-07T09:45:53.535Z] 2f39f015ded8: Pulling fs layer [2022-07-07T09:45:53.535Z] 3a2ae6a8a46f: Waiting [2022-07-07T09:45:53.535Z] 33b1e0a273af: Waiting [2022-07-07T09:45:53.535Z] 5d3b04190fa2: Waiting [2022-07-07T09:45:53.535Z] 2f39f015ded8: Waiting [2022-07-07T09:45:53.535Z] 5c69ac0246d0: Verifying Checksum [2022-07-07T09:45:53.535Z] 5c69ac0246d0: Download complete [2022-07-07T09:45:53.535Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-07T09:45:53.535Z] 3a2ae6a8a46f: Download complete [2022-07-07T09:45:53.796Z] 33b1e0a273af: Verifying Checksum [2022-07-07T09:45:53.796Z] 33b1e0a273af: Download complete [2022-07-07T09:45:53.796Z] ec43610c2a17: Verifying Checksum [2022-07-07T09:45:53.796Z] ec43610c2a17: Download complete [2022-07-07T09:45:53.796Z] 5d3b04190fa2: Verifying Checksum [2022-07-07T09:45:53.796Z] 5d3b04190fa2: Download complete [2022-07-07T09:45:53.796Z] 5eb5b503b376: Verifying Checksum [2022-07-07T09:45:53.796Z] 5eb5b503b376: Download complete [2022-07-07T09:45:54.737Z] 2f39f015ded8: Download complete [2022-07-07T09:45:55.307Z] 5eb5b503b376: Pull complete [2022-07-07T09:45:55.307Z] 5c69ac0246d0: Pull complete [2022-07-07T09:45:55.878Z] ec43610c2a17: Pull complete [2022-07-07T09:45:55.878Z] 3a2ae6a8a46f: Pull complete [2022-07-07T09:45:56.137Z] 33b1e0a273af: Pull complete [2022-07-07T09:45:56.137Z] 5d3b04190fa2: Pull complete [2022-07-07T09:46:00.335Z] 2f39f015ded8: Pull complete [2022-07-07T09:46:00.335Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-07T09:46:00.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T09:46:00.336Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:46:00.433Z] prd-ubuntu20.04-docker-8c-8g-17125 does not seem to be running inside a container [2022-07-07T09:46:00.472Z] $ 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-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-07T09:46:02.211Z] $ docker top cad1f17aeb38ff51b58e42c819c52cd000424def29a8a5bcb18a6f8742f1ac56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:46:02.594Z] ---> job-cost.sh [2022-07-07T09:46:02.595Z] lf-activate-venv: SKIPPING [2022-07-07T09:46:02.595Z] INFO: No Stack... [2022-07-07T09:46:02.855Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T09:46:03.425Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T09:46:03.715Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-202/archives/cost.csv [2022-07-07T09:46:03.715Z] + cut -d, -f6 [Pipeline] lock [2022-07-07T09:46:03.729Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-6-stack-cost] [2022-07-07T09:46:03.740Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-202-6-stack-cost] did not exist. Created. [2022-07-07T09:46:03.740Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T09:46:04.049Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-07T09:46:04.077Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T09:46:04.086Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T09:46:04.105Z] $ docker stop --time=1 cad1f17aeb38ff51b58e42c819c52cd000424def29a8a5bcb18a6f8742f1ac56 [2022-07-07T09:46:05.299Z] $ docker rm -f cad1f17aeb38ff51b58e42c819c52cd000424def29a8a5bcb18a6f8742f1ac56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-07T09:46:18.177Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17126 in /w/workspace/gexfoundry_device-rest-go_PR-202 [Pipeline] { [Pipeline] ws [2022-07-07T09:46:18.191Z] Running in /w/workspace/device-rest-go/6 [Pipeline] { [Pipeline] checkout [2022-07-07T09:46:18.222Z] The recommended git tool is: git [2022-07-07T09:46:23.328Z] using credential edgex-jenkins-ssh [2022-07-07T09:46:23.346Z] Cloning the remote Git repository [2022-07-07T09:46:23.507Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T09:46:23.670Z] > git init /w/workspace/device-rest-go/6 # timeout=10 [2022-07-07T09:46:23.774Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T09:46:23.776Z] > git --version # timeout=10 [2022-07-07T09:46:23.801Z] > git --version # 'git version 2.25.1' [2022-07-07T09:46:23.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T09:46:23.873Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T09:46:25.615Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-07T09:46:25.636Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-07T09:46:25.664Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-07-07T09:46:25.704Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-07-07T09:46:25.705Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T09:46:25.717Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-07T09:46:26.216Z] Merging remotes/origin/main commit 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 into PR head commit 9ba00646db150fb08609101c001c076766cca6b5 [2022-07-07T09:46:26.441Z] Merge succeeded, producing 9ba00646db150fb08609101c001c076766cca6b5 [2022-07-07T09:46:26.442Z] Checking out Revision 9ba00646db150fb08609101c001c076766cca6b5 (PR-202) [2022-07-07T09:46:26.236Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T09:46:26.260Z] > git checkout -f 9ba00646db150fb08609101c001c076766cca6b5 # timeout=10 [2022-07-07T09:46:26.347Z] > git remote # timeout=10 [2022-07-07T09:46:26.367Z] > git config --get remote.origin.url # timeout=10 [2022-07-07T09:46:26.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-07T09:46:26.396Z] > git merge 2d7dd7bd9c9b446393cafd64d3a18985a73e6b07 # timeout=10 [2022-07-07T09:46:26.420Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-07T09:46:26.448Z] > git config core.sparsecheckout # timeout=10 [2022-07-07T09:46:26.464Z] > git checkout -f 9ba00646db150fb08609101c001c076766cca6b5 # timeout=10 [2022-07-07T09:46:30.628Z] Commit message: "refactor(snap): Use `cp` copy config files and docs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T09:46:31.576Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-07T09:46:31.576Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T09:46:31.576Z] Dload Upload Total Spent Left Speed [2022-07-07T09:46:31.576Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 86900 0 --:--:-- --:--:-- --:--:-- 87521 [Pipeline] sh [2022-07-07T09:46:32.377Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-07T09:46:32.718Z] + + sudo teesudo /etc/docker/daemon.new jq [2022-07-07T09:46:32.718Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-07T09:46:32.718Z] { [2022-07-07T09:46:32.718Z] "registry-mirrors": [ [2022-07-07T09:46:32.718Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-07T09:46:32.718Z] ], [2022-07-07T09:46:32.718Z] "bip": "10.250.0.254/24", [2022-07-07T09:46:32.718Z] "hosts": [ [2022-07-07T09:46:32.718Z] "tcp://0.0.0.0:5555", [2022-07-07T09:46:32.718Z] "unix:///var/run/docker.sock" [2022-07-07T09:46:32.718Z] ], [2022-07-07T09:46:32.718Z] "mtu": 1458, [2022-07-07T09:46:32.718Z] "selinux-enabled": true, [2022-07-07T09:46:32.718Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-07T09:46:32.718Z] } [Pipeline] sh [2022-07-07T09:46:33.066Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-07T09:46:33.398Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T09:46:51.720Z] provisioning config files... [2022-07-07T09:46:51.742Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/6@tmp/config8677330605013529130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:46:52.095Z] ---> docker-login.sh [2022-07-07T09:46:52.095Z] nexus3.edgexfoundry.org:10001 [2022-07-07T09:46:52.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:46:52.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:46:52.960Z] Configure a credential helper to remove this warning. See [2022-07-07T09:46:52.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:46:52.960Z] [2022-07-07T09:46:52.960Z] Login Succeeded [2022-07-07T09:46:52.960Z] nexus3.edgexfoundry.org:10002 [2022-07-07T09:46:53.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:46:53.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:46:53.232Z] Configure a credential helper to remove this warning. See [2022-07-07T09:46:53.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:46:53.232Z] [2022-07-07T09:46:53.232Z] Login Succeeded [2022-07-07T09:46:53.232Z] nexus3.edgexfoundry.org:10003 [2022-07-07T09:46:53.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:46:53.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:46:53.779Z] Configure a credential helper to remove this warning. See [2022-07-07T09:46:53.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:46:53.779Z] [2022-07-07T09:46:53.779Z] Login Succeeded [2022-07-07T09:46:53.779Z] nexus3.edgexfoundry.org:10004 [2022-07-07T09:46:54.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:46:54.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:46:54.053Z] Configure a credential helper to remove this warning. See [2022-07-07T09:46:54.053Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:46:54.053Z] [2022-07-07T09:46:54.053Z] Login Succeeded [2022-07-07T09:46:54.053Z] docker.io [2022-07-07T09:46:54.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-07T09:46:54.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-07T09:46:54.915Z] Configure a credential helper to remove this warning. See [2022-07-07T09:46:54.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-07T09:46:54.915Z] [2022-07-07T09:46:54.915Z] Login Succeeded [2022-07-07T09:46:54.915Z] ---> docker-login.sh ends [Pipeline] } [2022-07-07T09:46:54.933Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-07T09:46:55.419Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T09:46:55.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-07T09:46:55.444Z] ========================================================= [2022-07-07T09:46:55.444Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-07T09:46:55.444Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:46:55.853Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-07-07T09:46:55.853Z] Sending build context to Docker daemon 127kB [2022-07-07T09:46:56.126Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T09:46:56.126Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-07T09:46:56.409Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-07T09:46:56.409Z] 9b3977197b4f: Pulling fs layer [2022-07-07T09:46:56.409Z] 1a89e8eeedd5: Pulling fs layer [2022-07-07T09:46:56.409Z] 94645a83ff95: Pulling fs layer [2022-07-07T09:46:56.409Z] e6fb740bc735: Pulling fs layer [2022-07-07T09:46:56.409Z] 3a77bd46dcc9: Pulling fs layer [2022-07-07T09:46:56.409Z] 355e64cbe906: Pulling fs layer [2022-07-07T09:46:56.409Z] 63ab81a10011: Pulling fs layer [2022-07-07T09:46:56.409Z] 555d1d1c4555: Pulling fs layer [2022-07-07T09:46:56.409Z] 7d9057610161: Pulling fs layer [2022-07-07T09:46:56.409Z] 355e64cbe906: Waiting [2022-07-07T09:46:56.409Z] 63ab81a10011: Waiting [2022-07-07T09:46:56.409Z] e6fb740bc735: Waiting [2022-07-07T09:46:56.409Z] 3a77bd46dcc9: Waiting [2022-07-07T09:46:56.409Z] 555d1d1c4555: Waiting [2022-07-07T09:46:56.409Z] 94645a83ff95: Verifying Checksum [2022-07-07T09:46:56.409Z] 94645a83ff95: Download complete [2022-07-07T09:46:56.409Z] 3a77bd46dcc9: Verifying Checksum [2022-07-07T09:46:56.409Z] 3a77bd46dcc9: Download complete [2022-07-07T09:46:56.409Z] 355e64cbe906: Download complete [2022-07-07T09:46:56.409Z] 9b3977197b4f: Verifying Checksum [2022-07-07T09:46:56.409Z] 9b3977197b4f: Download complete [2022-07-07T09:46:56.409Z] 63ab81a10011: Verifying Checksum [2022-07-07T09:46:56.409Z] 63ab81a10011: Download complete [2022-07-07T09:46:57.401Z] 9b3977197b4f: Pull complete [2022-07-07T09:46:57.401Z] 7d9057610161: Verifying Checksum [2022-07-07T09:46:57.401Z] 7d9057610161: Download complete [2022-07-07T09:46:58.002Z] 1a89e8eeedd5: Pull complete [2022-07-07T09:46:58.281Z] 94645a83ff95: Pull complete [2022-07-07T09:46:58.559Z] 555d1d1c4555: Verifying Checksum [2022-07-07T09:46:58.559Z] 555d1d1c4555: Download complete [2022-07-07T09:46:59.153Z] e6fb740bc735: Download complete [2022-07-07T09:47:11.570Z] e6fb740bc735: Pull complete [2022-07-07T09:47:11.570Z] 3a77bd46dcc9: Pull complete [2022-07-07T09:47:11.570Z] 355e64cbe906: Pull complete [2022-07-07T09:47:11.845Z] 63ab81a10011: Pull complete [2022-07-07T09:47:18.561Z] 555d1d1c4555: Pull complete [2022-07-07T09:47:20.547Z] 7d9057610161: Pull complete [2022-07-07T09:47:20.547Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-07T09:47:20.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-07T09:47:20.547Z] ---> 819e984ddca1 [2022-07-07T09:47:20.547Z] Step 3/12 : ARG MAKE='make build' [2022-07-07T09:47:21.164Z] ---> Running in 55f74dc7635d [2022-07-07T09:47:21.438Z] Removing intermediate container 55f74dc7635d [2022-07-07T09:47:21.438Z] ---> e34bc2b2a7f1 [2022-07-07T09:47:21.438Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T09:47:21.438Z] ---> Running in 8f9d56934473 [2022-07-07T09:47:21.711Z] Removing intermediate container 8f9d56934473 [2022-07-07T09:47:21.711Z] ---> 25a17df7edbc [2022-07-07T09:47:21.711Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T09:47:21.985Z] ---> Running in 861f779a94b1 [2022-07-07T09:47:22.259Z] Removing intermediate container 861f779a94b1 [2022-07-07T09:47:22.259Z] ---> 2c30701d9817 [2022-07-07T09:47:22.259Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T09:47:22.259Z] ---> Running in 4f0ecd63663d [2022-07-07T09:47:24.272Z] Removing intermediate container 4f0ecd63663d [2022-07-07T09:47:24.272Z] ---> 91dfff10a159 [2022-07-07T09:47:24.272Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T09:47:24.272Z] ---> Running in 273cd531e772 [2022-07-07T09:47:24.938Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T09:47:25.916Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T09:47:26.907Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-07T09:47:26.907Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-07T09:47:26.907Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-07T09:47:27.180Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-07T09:47:27.180Z] Executing busybox-1.34.1-r3.trigger [2022-07-07T09:47:27.180Z] OK: 224 MiB in 56 packages [2022-07-07T09:47:28.164Z] Removing intermediate container 273cd531e772 [2022-07-07T09:47:28.164Z] ---> 440856ae2e15 [2022-07-07T09:47:28.164Z] Step 8/12 : WORKDIR /device-rest-go [2022-07-07T09:47:28.164Z] ---> Running in e49fe0a84c07 [2022-07-07T09:47:28.438Z] Removing intermediate container e49fe0a84c07 [2022-07-07T09:47:28.438Z] ---> c1a55d3d7078 [2022-07-07T09:47:28.438Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-07T09:47:29.038Z] ---> 75e28585183b [2022-07-07T09:47:29.038Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T09:47:29.038Z] ---> Running in 2895519d41d4 [2022-07-07T09:48:16.062Z] Removing intermediate container 2895519d41d4 [2022-07-07T09:48:16.062Z] ---> a031a0883c59 [2022-07-07T09:48:16.062Z] Step 11/12 : COPY . . [2022-07-07T09:48:16.062Z] ---> e4ec39c9cf90 [2022-07-07T09:48:16.062Z] Step 12/12 : RUN $MAKE [2022-07-07T09:48:16.062Z] ---> Running in 82906612accd [2022-07-07T09:48:16.062Z] noop [2022-07-07T09:48:16.062Z] Removing intermediate container 82906612accd [2022-07-07T09:48:16.062Z] ---> 12252dee24a6 [2022-07-07T09:48:16.062Z] Successfully built 12252dee24a6 [2022-07-07T09:48:16.062Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:48:16.436Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T09:48:16.436Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:48:16.694Z] prd-ubuntu20.04-docker-arm64-4c-16g-17126 does not seem to be running inside a container [2022-07-07T09:48:16.780Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-07T09:48:18.079Z] $ docker top aca2bd405916fc160c8a47be2d6565c638cdb5b519782d0e5531efd2597f750d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T09:48:18.998Z] + go version [2022-07-07T09:48:18.998Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-07T09:48:19.022Z] $ docker stop --time=1 aca2bd405916fc160c8a47be2d6565c638cdb5b519782d0e5531efd2597f750d [2022-07-07T09:48:20.686Z] $ docker rm -f aca2bd405916fc160c8a47be2d6565c638cdb5b519782d0e5531efd2597f750d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:48:21.307Z] + docker inspect -f . ci-base-image-arm64 [2022-07-07T09:48:21.307Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:48:21.545Z] prd-ubuntu20.04-docker-arm64-4c-16g-17126 does not seem to be running inside a container [2022-07-07T09:48:21.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-07T09:48:22.942Z] $ docker top 660fbcbfd9b6b0ef8244645a19130910a5b62e0fb75a998147273f352c5fdf3b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-07T09:48:23.870Z] + make test [2022-07-07T09:48:23.870Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-07T09:48:25.313Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-07-07T09:49:47.137Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-07-07T09:49:47.137Z] ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 55.2% of statements [2022-07-07T09:49:47.137Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-07T09:49:47.137Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-07T09:50:09.360Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-07T09:50:09.360Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-07T09:50:09.360Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-07T09:50:09.977Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-07T09:50:09.993Z] $ docker stop --time=1 660fbcbfd9b6b0ef8244645a19130910a5b62e0fb75a998147273f352c5fdf3b [2022-07-07T09:50:11.764Z] $ docker rm -f 660fbcbfd9b6b0ef8244645a19130910a5b62e0fb75a998147273f352c5fdf3b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-07T09:50:12.718Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-07T09:50:12.747Z] Warning: overwriting stash ‘coverage-report’ [2022-07-07T09:50:13.198Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-07T09:50:13.604Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-07T09:50:13.933Z] + ls -al . [2022-07-07T09:50:13.933Z] total 168 [2022-07-07T09:50:13.933Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 09:50 . [2022-07-07T09:50:13.933Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 09:46 .. [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 7 09:46 .dockerignore [2022-07-07T09:50:13.933Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 7 09:46 .git [2022-07-07T09:50:13.933Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 09:46 .github [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 7 09:46 .gitignore [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 7 09:46 .golangci.yml [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jul 7 09:46 Attribution.txt [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jul 7 09:46 CHANGELOG.md [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jul 7 09:46 Dockerfile [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 7 09:46 GOVERNANCE.md [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 7 09:46 Jenkinsfile [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 7 09:46 LICENSE [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jul 7 09:46 Makefile [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 7 09:46 OWNERS.md [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jul 7 09:46 README.md [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 7 09:44 VERSION [2022-07-07T09:50:13.933Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 09:46 bin [2022-07-07T09:50:13.933Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 7 09:46 cmd [2022-07-07T09:50:13.933Z] -rw-r--r-- 1 jenkins jenkins 9355 Jul 7 09:49 coverage.out [2022-07-07T09:50:13.933Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 7 09:46 driver [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 3338 Jul 7 09:46 go.mod [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 36281 Jul 7 09:46 go.sum [2022-07-07T09:50:13.933Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 7 09:46 snap [2022-07-07T09:50:13.933Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 7 09:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:50:14.287Z] + 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=9ba00646db150fb08609101c001c076766cca6b5 --label arch=arm64 --label version=0.0.0 . [2022-07-07T09:50:14.287Z] Sending build context to Docker daemon 137.2kB [2022-07-07T09:50:14.561Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-07-07T09:50:14.561Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-07T09:50:14.561Z] ---> 12252dee24a6 [2022-07-07T09:50:14.561Z] Step 3/25 : ARG MAKE='make build' [2022-07-07T09:50:14.561Z] ---> Running in 89a21b5f1785 [2022-07-07T09:50:14.840Z] Removing intermediate container 89a21b5f1785 [2022-07-07T09:50:14.840Z] ---> fd6d6a14508e [2022-07-07T09:50:14.840Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-07T09:50:15.114Z] ---> Running in 04ec273ae4e8 [2022-07-07T09:50:15.387Z] Removing intermediate container 04ec273ae4e8 [2022-07-07T09:50:15.387Z] ---> 9f60587a9aa8 [2022-07-07T09:50:15.387Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-07T09:50:15.387Z] ---> Running in 2d22b221cfba [2022-07-07T09:50:15.659Z] Removing intermediate container 2d22b221cfba [2022-07-07T09:50:15.659Z] ---> 63a41575288c [2022-07-07T09:50:15.659Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-07T09:50:15.659Z] ---> Running in 92ea5b5dce0f [2022-07-07T09:50:17.639Z] Removing intermediate container 92ea5b5dce0f [2022-07-07T09:50:17.639Z] ---> 56fcaeaa0746 [2022-07-07T09:50:17.639Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-07T09:50:17.639Z] ---> Running in 210442012a17 [2022-07-07T09:50:18.615Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-07T09:50:19.206Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-07T09:50:20.180Z] OK: 224 MiB in 56 packages [2022-07-07T09:50:20.776Z] Removing intermediate container 210442012a17 [2022-07-07T09:50:20.776Z] ---> 62a2f70d5569 [2022-07-07T09:50:20.776Z] Step 8/25 : WORKDIR /device-rest-go [2022-07-07T09:50:21.053Z] ---> Running in c1905a825d19 [2022-07-07T09:50:21.324Z] Removing intermediate container c1905a825d19 [2022-07-07T09:50:21.324Z] ---> c6a402c7fddf [2022-07-07T09:50:21.324Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-07T09:50:21.916Z] ---> 3e5533fdb460 [2022-07-07T09:50:21.916Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-07T09:50:21.916Z] ---> Running in 3e36fa9db9ca [2022-07-07T09:50:23.888Z] Removing intermediate container 3e36fa9db9ca [2022-07-07T09:50:23.888Z] ---> 43a05aacd4d5 [2022-07-07T09:50:23.888Z] Step 11/25 : COPY . . [2022-07-07T09:50:24.166Z] ---> 4db4232a459c [2022-07-07T09:50:24.166Z] Step 12/25 : RUN $MAKE [2022-07-07T09:50:24.166Z] ---> Running in 20c65390619e [2022-07-07T09:50:25.159Z] CGO_ENABLED=1 GO111MODULE=on go build -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-07-07T09:52:32.046Z] Removing intermediate container 20c65390619e [2022-07-07T09:52:32.046Z] ---> 584478c90c6c [2022-07-07T09:52:32.046Z] Step 13/25 : FROM alpine:3.14 [2022-07-07T09:52:32.046Z] 3.14: Pulling from library/alpine [2022-07-07T09:52:32.046Z] 455c02918c45: Pulling fs layer [2022-07-07T09:52:32.046Z] 455c02918c45: Verifying Checksum [2022-07-07T09:52:32.046Z] 455c02918c45: Pull complete [2022-07-07T09:52:32.046Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-07T09:52:32.046Z] Status: Downloaded newer image for alpine:3.14 [2022-07-07T09:52:32.046Z] ---> ac73e934f311 [2022-07-07T09:52:32.046Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-07-07T09:52:32.046Z] ---> Running in b7b5ee181a6c [2022-07-07T09:52:32.046Z] Removing intermediate container b7b5ee181a6c [2022-07-07T09:52:32.046Z] ---> 3f3d4d5a536e [2022-07-07T09:52:32.046Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-07-07T09:52:32.046Z] ---> Running in fa1b83f529d1 [2022-07-07T09:52:32.046Z] Removing intermediate container fa1b83f529d1 [2022-07-07T09:52:32.046Z] ---> bb56c2834d80 [2022-07-07T09:52:32.046Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-07T09:52:32.046Z] ---> Running in 2cd8f793c86f [2022-07-07T09:52:32.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-07T09:52:32.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-07T09:52:32.046Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-07T09:52:32.046Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-07T09:52:32.046Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-07T09:52:32.046Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-07T09:52:32.046Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-07T09:52:32.046Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-07T09:52:32.046Z] Executing busybox-1.33.1-r7.trigger [2022-07-07T09:52:32.046Z] OK: 8 MiB in 20 packages [2022-07-07T09:52:32.046Z] Removing intermediate container 2cd8f793c86f [2022-07-07T09:52:32.046Z] ---> 829472bec9f0 [2022-07-07T09:52:32.046Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-07-07T09:52:32.046Z] ---> 2a9fcc2ecb22 [2022-07-07T09:52:32.046Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-07-07T09:52:32.046Z] ---> 2a4166209d09 [2022-07-07T09:52:32.046Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-07-07T09:52:32.046Z] ---> fe0022e192b1 [2022-07-07T09:52:32.046Z] Step 20/25 : EXPOSE 59986 [2022-07-07T09:52:32.046Z] ---> Running in 0bbf4d780f01 [2022-07-07T09:52:32.046Z] Removing intermediate container 0bbf4d780f01 [2022-07-07T09:52:32.046Z] ---> 94479271d7f4 [2022-07-07T09:52:32.046Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-07-07T09:52:32.046Z] ---> Running in 5a84b8467e15 [2022-07-07T09:52:32.046Z] Removing intermediate container 5a84b8467e15 [2022-07-07T09:52:32.046Z] ---> 11b0188f30ef [2022-07-07T09:52:32.046Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-07T09:52:32.046Z] ---> Running in 45f5bbc2dd1f [2022-07-07T09:52:32.046Z] Removing intermediate container 45f5bbc2dd1f [2022-07-07T09:52:32.046Z] ---> f311d5f25a4f [2022-07-07T09:52:32.046Z] Step 23/25 : LABEL arch=arm64 [2022-07-07T09:52:32.046Z] ---> Running in 0d3f2f913768 [2022-07-07T09:52:32.046Z] Removing intermediate container 0d3f2f913768 [2022-07-07T09:52:32.046Z] ---> 78ecf5f5b107 [2022-07-07T09:52:32.046Z] Step 24/25 : LABEL git_sha=9ba00646db150fb08609101c001c076766cca6b5 [2022-07-07T09:52:32.046Z] ---> Running in 496bbd9ff286 [2022-07-07T09:52:32.046Z] Removing intermediate container 496bbd9ff286 [2022-07-07T09:52:32.046Z] ---> 60b4e76dc7bf [2022-07-07T09:52:32.046Z] Step 25/25 : LABEL version=0.0.0 [2022-07-07T09:52:32.046Z] ---> Running in 21ff17446795 [2022-07-07T09:52:32.046Z] Removing intermediate container 21ff17446795 [2022-07-07T09:52:32.046Z] ---> 41d0da49062a [2022-07-07T09:52:32.046Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-07T09:52:32.046Z] Successfully built 41d0da49062a [2022-07-07T09:52:32.046Z] 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-07-07T09:52:32.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T09:52:32.511Z] [2022-07-07T09:52:32.511Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:52:32.864Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T09:52:33.141Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-07T09:52:33.141Z] 8998bd30e6a1: Pulling fs layer [2022-07-07T09:52:33.141Z] 04944245beec: Pulling fs layer [2022-07-07T09:52:33.141Z] 699f458cf7ca: Pulling fs layer [2022-07-07T09:52:33.141Z] 765212b225bb: Pulling fs layer [2022-07-07T09:52:33.141Z] f23df028b6ca: Pulling fs layer [2022-07-07T09:52:33.141Z] d65c8cfc05b1: Pulling fs layer [2022-07-07T09:52:33.141Z] 2437ff75d9bd: Pulling fs layer [2022-07-07T09:52:33.141Z] 765212b225bb: Waiting [2022-07-07T09:52:33.141Z] d65c8cfc05b1: Waiting [2022-07-07T09:52:33.141Z] 2437ff75d9bd: Waiting [2022-07-07T09:52:33.141Z] f23df028b6ca: Waiting [2022-07-07T09:52:33.141Z] 04944245beec: Verifying Checksum [2022-07-07T09:52:33.141Z] 04944245beec: Download complete [2022-07-07T09:52:33.141Z] 765212b225bb: Verifying Checksum [2022-07-07T09:52:33.141Z] 765212b225bb: Download complete [2022-07-07T09:52:33.141Z] f23df028b6ca: Verifying Checksum [2022-07-07T09:52:33.141Z] f23df028b6ca: Download complete [2022-07-07T09:52:33.141Z] d65c8cfc05b1: Verifying Checksum [2022-07-07T09:52:33.141Z] d65c8cfc05b1: Download complete [2022-07-07T09:52:33.416Z] 699f458cf7ca: Verifying Checksum [2022-07-07T09:52:33.416Z] 699f458cf7ca: Download complete [2022-07-07T09:52:33.693Z] 8998bd30e6a1: Verifying Checksum [2022-07-07T09:52:33.693Z] 8998bd30e6a1: Download complete [2022-07-07T09:52:36.320Z] 2437ff75d9bd: Verifying Checksum [2022-07-07T09:52:36.320Z] 2437ff75d9bd: Download complete [2022-07-07T09:52:37.764Z] 8998bd30e6a1: Pull complete [2022-07-07T09:52:38.364Z] 04944245beec: Pull complete [2022-07-07T09:52:39.811Z] 699f458cf7ca: Pull complete [2022-07-07T09:52:40.088Z] 765212b225bb: Pull complete [2022-07-07T09:52:41.076Z] f23df028b6ca: Pull complete [2022-07-07T09:52:41.076Z] d65c8cfc05b1: Pull complete [2022-07-07T09:52:56.198Z] 2437ff75d9bd: Pull complete [2022-07-07T09:52:56.198Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-07T09:52:56.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-07T09:52:56.198Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:52:56.465Z] prd-ubuntu20.04-docker-arm64-4c-16g-17126 does not seem to be running inside a container [2022-07-07T09:52:56.550Z] $ 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/6 -v /w/workspace/device-rest-go/6:/w/workspace/device-rest-go/6:rw,z -v /w/workspace/device-rest-go/6@tmp:/w/workspace/device-rest-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-07T09:52:59.048Z] $ docker top 3fcb046cfc85d838856d0608eb64b3d0c5208bd7ec699ba8c59f9e9ac1e92125 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:52:59.984Z] ---> job-cost.sh [2022-07-07T09:52:59.984Z] lf-activate-venv: SKIPPING [2022-07-07T09:52:59.984Z] INFO: No Stack... [2022-07-07T09:53:00.258Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-07T09:53:01.248Z] INFO: Archiving Costs [Pipeline] sh [2022-07-07T09:53:01.930Z] + + cat /w/workspace/device-rest-go/6/archives/cost.csv [2022-07-07T09:53:01.930Z] cut -d, -f6 [Pipeline] lock [2022-07-07T09:53:01.999Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-202-6-stack-cost] [2022-07-07T09:53:02.005Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-202-6-stack-cost] did not exist. Created. [2022-07-07T09:53:02.005Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-202-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-07T09:53:02.708Z] /w/workspace/device-rest-go/6@tmp/durable-d5841578/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-07T09:53:03.394Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-07T09:53:03.421Z] Warning: overwriting stash ‘stack-cost’ [2022-07-07T09:53:03.459Z] Stashed 1 file(s) [Pipeline] } [2022-07-07T09:53:03.466Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-202-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-07T09:53:03.493Z] $ docker stop --time=1 3fcb046cfc85d838856d0608eb64b3d0c5208bd7ec699ba8c59f9e9ac1e92125 [2022-07-07T09:53:04.995Z] $ docker rm -f 3fcb046cfc85d838856d0608eb64b3d0c5208bd7ec699ba8c59f9e9ac1e92125 [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-07-07T09:53:05.441Z] provisioning config files... [2022-07-07T09:53:05.449Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config348078002479229346tmp [Pipeline] { [Pipeline] sh [2022-07-07T09:53:05.765Z] + set +x [2022-07-07T09:53:05.765Z] + curl -s https://codecov.io/bash [2022-07-07T09:53:05.765Z] + bash -s -- [2022-07-07T09:53:05.765Z] [2022-07-07T09:53:05.765Z] _____ _ [2022-07-07T09:53:05.765Z] / ____| | | [2022-07-07T09:53:05.765Z] | | ___ __| | ___ ___ _____ __ [2022-07-07T09:53:05.765Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-07T09:53:05.765Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-07T09:53:05.765Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-07T09:53:05.765Z] Bash-1.0.6 [2022-07-07T09:53:05.765Z] [2022-07-07T09:53:05.765Z] [2022-07-07T09:53:05.765Z] ==> git version 2.25.1 found [2022-07-07T09:53:05.765Z] ==> 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-07-07T09:53:05.765Z] Release-Date: 2020-01-08 [2022-07-07T09:53:05.765Z] 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-07-07T09:53:05.765Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-07T09:53:05.765Z] ==> Jenkins CI detected. [2022-07-07T09:53:05.765Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-202 [2022-07-07T09:53:05.765Z] project root: . [2022-07-07T09:53:05.765Z] --> token set from env [2022-07-07T09:53:05.765Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-07T09:53:05.765Z] ==> Running gcov in . (disable via -X gcov) [2022-07-07T09:53:05.765Z] ==> Python coveragepy not found [2022-07-07T09:53:05.765Z] ==> Searching for coverage reports in: [2022-07-07T09:53:05.765Z] + . [2022-07-07T09:53:05.765Z] -> Found 1 reports [2022-07-07T09:53:05.765Z] ==> Detecting git/mercurial file structure [2022-07-07T09:53:05.765Z] ==> Reading reports [2022-07-07T09:53:05.765Z] + ./coverage.out bytes=9355 [2022-07-07T09:53:05.765Z] ==> Appending adjustments [2022-07-07T09:53:05.765Z] https://docs.codecov.io/docs/fixing-reports [2022-07-07T09:53:06.026Z] + Found adjustments [2022-07-07T09:53:06.026Z] ==> Gzipping contents [2022-07-07T09:53:06.026Z] 4.0K /tmp/codecov.0AalXs.gz [2022-07-07T09:53:06.026Z] ==> Uploading reports [2022-07-07T09:53:06.026Z] url: https://codecov.io [2022-07-07T09:53:06.026Z] query: branch=PR-202&commit=9ba00646db150fb08609101c001c076766cca6b5&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-07-07T09:53:06.026Z] -> Pinging Codecov [2022-07-07T09:53:06.026Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-202&commit=9ba00646db150fb08609101c001c076766cca6b5&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-202%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=202&job=&cmd_args= [2022-07-07T09:53:06.286Z] -> Uploading to [2022-07-07T09:53:06.286Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-07/4E5D53B4F1F92C436F7061BF334D961C/9ba00646db150fb08609101c001c076766cca6b5/1a0cceb6-ce07-4400-8f1a-e4f8a16c3ef4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220707%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220707T095306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=24cf2f0513c88dd26e8f8c64cd9b85ce1c4850c2136df27820085050b5c9845a [2022-07-07T09:53:06.286Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-07T09:53:06.286Z] Dload Upload Total Spent Left Speed [2022-07-07T09:53:06.547Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 7628 --:--:-- --:--:-- --:--:-- 7628 [2022-07-07T09:53:06.547Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/9ba00646db150fb08609101c001c076766cca6b5 [Pipeline] } [2022-07-07T09:53:06.556Z] 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-07-07T09:53:07.236Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-202/archives ] [2022-07-07T09:53:07.236Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-07-07T09:53:07.236Z] total 16 [2022-07-07T09:53:07.236Z] drwxr-xr-x 3 root root 4096 Jul 7 09:46 . [2022-07-07T09:53:07.236Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 09:46 .. [2022-07-07T09:53:07.236Z] drwxr-xr-x 2 root root 4096 Jul 7 09:46 cost [2022-07-07T09:53:07.236Z] -rw-r--r-- 1 root root 85 Jul 7 09:46 cost.csv [2022-07-07T09:53:07.236Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-07-07T09:53:07.236Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-202/archives [2022-07-07T09:53:07.236Z] total 16 [2022-07-07T09:53:07.236Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 7 09:46 . [2022-07-07T09:53:07.236Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 7 09:46 .. [2022-07-07T09:53:07.236Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 7 09:46 cost [2022-07-07T09:53:07.236Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 7 09:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:53:07.531Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:53:08.398Z] ---> package-listing.sh [2022-07-07T09:53:08.398Z] ++ facter osfamily [2022-07-07T09:53:08.398Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-07T09:53:08.659Z] + OS_FAMILY=debian [2022-07-07T09:53:08.659Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-202 [2022-07-07T09:53:08.659Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-07T09:53:08.659Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-07T09:53:08.659Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-07T09:53:08.659Z] + PACKAGES=/tmp/packages_start.txt [2022-07-07T09:53:08.659Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' [2022-07-07T09:53:08.659Z] + PACKAGES=/tmp/packages_end.txt [2022-07-07T09:53:08.659Z] + case "${OS_FAMILY}" in [2022-07-07T09:53:08.659Z] + dpkg -l [2022-07-07T09:53:08.659Z] + grep '^ii' [2022-07-07T09:53:08.659Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-07T09:53:08.659Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-07T09:53:08.659Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-07T09:53:08.659Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-202 ']' [2022-07-07T09:53:08.659Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ [2022-07-07T09:53:08.659Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-202/archives/ [Pipeline] echo [2022-07-07T09:53:08.670Z] 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-202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-07T09:53:08.948Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-07T09:53:09.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-07T09:53:09.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-07T09:53:09.599Z] prd-ubuntu20.04-docker-8c-8g-17125 does not seem to be running inside a container [2022-07-07T09:53:09.637Z] $ 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-202/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-202 -v /w/workspace/gexfoundry_device-rest-go_PR-202:/w/workspace/gexfoundry_device-rest-go_PR-202:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-202@tmp:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-07T09:53:09.902Z] $ docker top 1f891dc28c129486fcb3600da927bed38d132a0d0a9dc13402d038186f6280d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-07T09:53:10.258Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-07T09:53:10.547Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-07T09:53:10.837Z] + ls /var/log/sa-host [2022-07-07T09:53:10.837Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-07T09:53:10.905Z] provisioning config files... [2022-07-07T09:53:10.914Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-202@tmp/config7735417205700692324tmp [Pipeline] { [Pipeline] echo [2022-07-07T09:53:10.928Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:53:11.216Z] ---> create-netrc.sh [Pipeline] } [2022-07-07T09:53:11.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:53:11.570Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-07T09:53:11.579Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:53:11.867Z] ---> sudo-logs.sh [2022-07-07T09:53:11.867Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-07T09:53:11.889Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:53:12.174Z] ---> job-cost.sh [2022-07-07T09:53:12.174Z] lf-activate-venv: SKIPPING [2022-07-07T09:53:12.174Z] DEBUG: total: 0.2199999988079071 [2022-07-07T09:53:12.174Z] INFO: Retrieving Stack Cost... [2022-07-07T09:53:12.745Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-07T09:53:13.006Z] INFO: Archiving Costs [Pipeline] echo [2022-07-07T09:53:13.017Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-07T09:53:13.301Z] ---> logs-deploy.sh [2022-07-07T09:53:13.301Z] lf-activate-venv: SKIPPING [2022-07-07T09:53:13.301Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-202/6 [2022-07-07T09:53:13.301Z] INFO: archiving workspace using pattern(s): [2022-07-07T09:53:14.240Z] Archives upload complete. [2022-07-07T09:53:14.501Z] INFO: archiving logs to Nexus