Pull request #194 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 4b23375dcce320ad569d9d249cfde0b2aefa88a9+674470f415deb016340950c491e0ea2a8bbe0e0c (1894a5cb428cbb36c99e881d91cf0e4525337891) 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-ssh13408196315711382485.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh225652655408556179.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9428775916408880415.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-194/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4355021796424979508.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7607269172272711658.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-194/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-194/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14726721944375666963.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-734’ Running on prd-ubuntu20.04-docker-8c-8g-736 in /w/workspace/gexfoundry_device-rest-go_PR-194 [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-194 # 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/jakarta commit 674470f415deb016340950c491e0ea2a8bbe0e0c into PR head commit 4b23375dcce320ad569d9d249cfde0b2aefa88a9 Merge succeeded, producing 4b23375dcce320ad569d9d249cfde0b2aefa88a9 Checking out Revision 4b23375dcce320ad569d9d249cfde0b2aefa88a9 (PR-194) > 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/194/head:refs/remotes/origin/PR-194 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b23375dcce320ad569d9d249cfde0b2aefa88a9 # 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 674470f415deb016340950c491e0ea2a8bbe0e0c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b23375dcce320ad569d9d249cfde0b2aefa88a9 # timeout=10 Commit message: "build: Update to released SDK and go-mods and change log for 2.1.1 patch" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-02T23:58:02.886Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-02T23:58:03.037Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-02T23:58:03.136Z] ========================================================= [2022-06-02T23:58:03.136Z] EdgeX Global Pipelines Version Info [2022-06-02T23:58:03.136Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:58:03.962Z] ------------------- [2022-06-02T23:58:03.962Z] stable info: [2022-06-02T23:58:03.962Z] ------------------- [2022-06-02T23:58:03.962Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-02T23:58:03.962Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-06-02T23:58:03.962Z] Message: update stable to v1.0.230 [2022-06-02T23:58:04.536Z] ------------------- [2022-06-02T23:58:04.536Z] experimental info: [2022-06-02T23:58:04.536Z] ------------------- [2022-06-02T23:58:04.536Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-02T23:58:04.536Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-02T23:58:04.536Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-02T23:58:04.929Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-02T23:58:04.975Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-02T23:58:05.015Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-02T23:58:05.057Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-02T23:58:05.099Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-02T23:58:05.138Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-02T23:58:05.173Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-02T23:58:05.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-02T23:58:05.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-02T23:58:05.289Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-02T23:58:05.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-02T23:58:05.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-02T23:58:05.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-02T23:58:05.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-02T23:58:05.473Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-02T23:58:05.510Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-02T23:58:05.548Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-02T23:58:05.584Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-02T23:58:05.621Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-02T23:58:05.665Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-02T23:58:05.707Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-02T23:58:05.743Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-02T23:58:05.781Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-02T23:58:05.821Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-02T23:58:05.857Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-02T23:58:05.891Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-02T23:58:05.926Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-194 [Pipeline] echo [2022-06-02T23:58:05.970Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-194 [Pipeline] echo [2022-06-02T23:58:06.009Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-194 [Pipeline] echo [2022-06-02T23:58:06.047Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b23375dcce320ad569d9d249cfde0b2aefa88a9 [Pipeline] echo [2022-06-02T23:58:06.088Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b23375 [Pipeline] echo [2022-06-02T23:58:06.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-02T23:58:06.248Z] provisioning config files... [2022-06-02T23:58:06.261Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-194@tmp/config8522245621603795404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:58:06.618Z] ---> docker-login.sh [2022-06-02T23:58:06.618Z] nexus3.edgexfoundry.org:10001 [2022-06-02T23:58:06.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:58:06.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:58:06.880Z] Configure a credential helper to remove this warning. See [2022-06-02T23:58:06.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:58:06.880Z] [2022-06-02T23:58:06.880Z] Login Succeeded [2022-06-02T23:58:06.880Z] nexus3.edgexfoundry.org:10002 [2022-06-02T23:58:07.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:58:07.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:58:07.145Z] Configure a credential helper to remove this warning. See [2022-06-02T23:58:07.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:58:07.145Z] [2022-06-02T23:58:07.145Z] Login Succeeded [2022-06-02T23:58:07.145Z] nexus3.edgexfoundry.org:10003 [2022-06-02T23:58:07.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:58:07.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:58:07.145Z] Configure a credential helper to remove this warning. See [2022-06-02T23:58:07.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:58:07.145Z] [2022-06-02T23:58:07.145Z] Login Succeeded [2022-06-02T23:58:07.145Z] nexus3.edgexfoundry.org:10004 [2022-06-02T23:58:07.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:58:07.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:58:07.410Z] Configure a credential helper to remove this warning. See [2022-06-02T23:58:07.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:58:07.410Z] [2022-06-02T23:58:07.410Z] Login Succeeded [2022-06-02T23:58:07.410Z] docker.io [2022-06-02T23:58:07.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:58:07.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:58:07.983Z] Configure a credential helper to remove this warning. See [2022-06-02T23:58:07.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:58:07.983Z] [2022-06-02T23:58:07.983Z] Login Succeeded [2022-06-02T23:58:07.983Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T23:58:08.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-02T23:58:08.622Z] + git rev-list -1 --merges 4b23375dcce320ad569d9d249cfde0b2aefa88a9~1..4b23375dcce320ad569d9d249cfde0b2aefa88a9 [Pipeline] echo [2022-06-02T23:58:08.671Z] -----------> git rev-list -1 --merges 4b23375dcce320ad569d9d249cfde0b2aefa88a9~1..4b23375dcce320ad569d9d249cfde0b2aefa88a9 4b23375dcce320ad569d9d249cfde0b2aefa88a9 [false] [Pipeline] sh [2022-06-02T23:58:08.984Z] + git log --format=format:%s -1 4b23375dcce320ad569d9d249cfde0b2aefa88a9 [Pipeline] echo [2022-06-02T23:58:09.024Z] ========================================================= [2022-06-02T23:58:09.024Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-02T23:58:09.024Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-02T23:58:09.465Z] + git log --format=format:%s -1 4b23375dcce320ad569d9d249cfde0b2aefa88a9 [Pipeline] echo [2022-06-02T23:58:09.497Z] [semverPrep] GIT_COMMIT: 4b23375dcce320ad569d9d249cfde0b2aefa88a9, Commit Message: build: Update to released SDK and go-mods and change log for 2.1.1 patch [Pipeline] echo [2022-06-02T23:58:09.529Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-02T23:58:09.908Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-02T23:58:09.908Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-02T23:58:09.908Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-02T23:58:09.908Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-02T23:58:09.908Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-02T23:58:09.908Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-02T23:58:09.908Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:58:10.342Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T23:58:10.342Z] [2022-06-02T23:58:10.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:58:10.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T23:58:10.719Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-02T23:58:10.719Z] 42c077c10790: Pulling fs layer [2022-06-02T23:58:10.719Z] f63e77b7563a: Pulling fs layer [2022-06-02T23:58:10.719Z] bd5fdadae976: Pulling fs layer [2022-06-02T23:58:10.719Z] 205491f53016: Pulling fs layer [2022-06-02T23:58:10.719Z] df18705c85c3: Pulling fs layer [2022-06-02T23:58:10.719Z] bdb3f477010e: Pulling fs layer [2022-06-02T23:58:10.720Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-02T23:58:10.720Z] 2c6e9b1d212d: Pulling fs layer [2022-06-02T23:58:10.720Z] bdb8f0575790: Pulling fs layer [2022-06-02T23:58:10.720Z] 386e3cb2ff24: Pulling fs layer [2022-06-02T23:58:10.720Z] 2343380bae48: Pulling fs layer [2022-06-02T23:58:10.720Z] c8a8fc8e1c8f: Waiting [2022-06-02T23:58:10.720Z] 386e3cb2ff24: Waiting [2022-06-02T23:58:10.720Z] 2343380bae48: Waiting [2022-06-02T23:58:10.720Z] bdb8f0575790: Waiting [2022-06-02T23:58:10.720Z] 205491f53016: Waiting [2022-06-02T23:58:10.720Z] 2c6e9b1d212d: Waiting [2022-06-02T23:58:10.720Z] bdb3f477010e: Waiting [2022-06-02T23:58:10.720Z] f63e77b7563a: Verifying Checksum [2022-06-02T23:58:10.720Z] f63e77b7563a: Download complete [2022-06-02T23:58:10.720Z] 205491f53016: Verifying Checksum [2022-06-02T23:58:10.720Z] 205491f53016: Download complete [2022-06-02T23:58:10.720Z] df18705c85c3: Verifying Checksum [2022-06-02T23:58:10.720Z] df18705c85c3: Download complete [2022-06-02T23:58:10.981Z] bdb3f477010e: Verifying Checksum [2022-06-02T23:58:10.981Z] bdb3f477010e: Download complete [2022-06-02T23:58:10.981Z] bd5fdadae976: Verifying Checksum [2022-06-02T23:58:10.981Z] bd5fdadae976: Download complete [2022-06-02T23:58:10.981Z] 2c6e9b1d212d: Download complete [2022-06-02T23:58:10.981Z] bdb8f0575790: Verifying Checksum [2022-06-02T23:58:10.981Z] bdb8f0575790: Download complete [2022-06-02T23:58:10.981Z] 386e3cb2ff24: Verifying Checksum [2022-06-02T23:58:10.981Z] 386e3cb2ff24: Download complete [2022-06-02T23:58:10.981Z] 42c077c10790: Verifying Checksum [2022-06-02T23:58:10.981Z] 42c077c10790: Download complete [2022-06-02T23:58:10.981Z] 2343380bae48: Verifying Checksum [2022-06-02T23:58:10.981Z] 2343380bae48: Download complete [2022-06-02T23:58:11.242Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-02T23:58:11.242Z] c8a8fc8e1c8f: Download complete [2022-06-02T23:58:12.625Z] 42c077c10790: Pull complete [2022-06-02T23:58:12.625Z] f63e77b7563a: Pull complete [2022-06-02T23:58:12.887Z] bd5fdadae976: Pull complete [2022-06-02T23:58:13.147Z] 205491f53016: Pull complete [2022-06-02T23:58:13.409Z] df18705c85c3: Pull complete [2022-06-02T23:58:13.409Z] bdb3f477010e: Pull complete [2022-06-02T23:58:15.316Z] c8a8fc8e1c8f: Pull complete [2022-06-02T23:58:15.316Z] 2c6e9b1d212d: Pull complete [2022-06-02T23:58:15.316Z] bdb8f0575790: Pull complete [2022-06-02T23:58:15.316Z] 386e3cb2ff24: Pull complete [2022-06-02T23:58:15.578Z] 2343380bae48: Pull complete [2022-06-02T23:58:15.578Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-02T23:58:15.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-02T23:58:15.578Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:58:15.799Z] prd-ubuntu20.04-docker-8c-8g-736 does not seem to be running inside a container [2022-06-02T23:58:15.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-194 -v /w/workspace/gexfoundry_device-rest-go_PR-194:/w/workspace/gexfoundry_device-rest-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-194@tmp:/w/workspace/gexfoundry_device-rest-go_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-02T23:58:17.313Z] $ docker top 89de13889542de62bbfd3af97f71dc139c2242a5b123f9652decbc0bcb4dbaea -eo pid,comm [2022-06-02T23:58:17.373Z] 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-06-02T23:58:17.373Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-02T23:58:17.502Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-02T23:58:17.502Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-02T23:58:17.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-02T23:58:17.638Z] $ docker exec 89de13889542de62bbfd3af97f71dc139c2242a5b123f9652decbc0bcb4dbaea ssh-agent [2022-06-02T23:58:17.756Z] SSH_AUTH_SOCK=/tmp/ssh-ZtfqGLM14fGg/agent.33 [2022-06-02T23:58:17.756Z] SSH_AGENT_PID=40 [2022-06-02T23:58:17.761Z] Running ssh-add (command line suppressed) [2022-06-02T23:58:17.871Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-194@tmp/private_key_8946550639687076267.key (/w/workspace/gexfoundry_device-rest-go_PR-194@tmp/private_key_8946550639687076267.key) [2022-06-02T23:58:17.879Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-02T23:58:18.211Z] + git tag --points-at HEAD [Pipeline] } [2022-06-02T23:58:18.244Z] $ docker exec --env ******** --env ******** 89de13889542de62bbfd3af97f71dc139c2242a5b123f9652decbc0bcb4dbaea ssh-agent -k [2022-06-02T23:58:18.351Z] unset SSH_AUTH_SOCK; [2022-06-02T23:58:18.351Z] unset SSH_AGENT_PID; [2022-06-02T23:58:18.351Z] echo Agent pid 40 killed; [2022-06-02T23:58:18.359Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-02T23:58:18.447Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-02T23:58:18.447Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-02T23:58:18.587Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-02T23:58:18.597Z] $ docker exec 89de13889542de62bbfd3af97f71dc139c2242a5b123f9652decbc0bcb4dbaea ssh-agent [2022-06-02T23:58:18.715Z] SSH_AUTH_SOCK=/tmp/ssh-MaTETMMeAEOj/agent.74 [2022-06-02T23:58:18.715Z] SSH_AGENT_PID=80 [2022-06-02T23:58:18.721Z] Running ssh-add (command line suppressed) [2022-06-02T23:58:18.850Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-194@tmp/private_key_6619343258502437711.key (/w/workspace/gexfoundry_device-rest-go_PR-194@tmp/private_key_6619343258502437711.key) [2022-06-02T23:58:18.860Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-02T23:58:19.193Z] + git semver init [2022-06-02T23:58:19.457Z] 2022-06-02 23:58:19,383 [run_init] DEBUG init version:0.0.0 force:False [2022-06-02T23:58:19.457Z] 2022-06-02 23:58:19,384 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-194/.semver [2022-06-02T23:58:19.457Z] 2022-06-02 23:58:19,385 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-194/.semver [2022-06-02T23:58:19.457Z] 2022-06-02 23:58:19,385 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-194/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-194, universal_newlines=False, shell=None, istream=None) [2022-06-02T23:58:20.488Z] 2022-06-02 23:58:20,287 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-194/.git/info/exclude [2022-06-02T23:58:20.488Z] 2022-06-02 23:58:20,288 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-194/.semver/PR-194 with force:False [2022-06-02T23:58:20.488Z] 2022-06-02 23:58:20,288 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-194/.semver/PR-194 [2022-06-02T23:58:20.488Z] 2022-06-02 23:58:20,292 [execute] INFO git cat-file --batch-check [2022-06-02T23:58:20.488Z] 2022-06-02 23:58:20,293 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-194/.semver, universal_newlines=False, shell=None, istream=) [2022-06-02T23:58:20.488Z] 2022-06-02 23:58:20,298 [execute] INFO git cat-file --batch [2022-06-02T23:58:20.488Z] 2022-06-02 23:58:20,298 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-194/.semver, universal_newlines=False, shell=None, istream=) [2022-06-02T23:58:20.488Z] 2022-06-02 23:58:20,303 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-194/.semver/PR-194 [2022-06-02T23:58:20.488Z] 0.0.0 [Pipeline] } [2022-06-02T23:58:20.523Z] $ docker exec --env ******** --env ******** 89de13889542de62bbfd3af97f71dc139c2242a5b123f9652decbc0bcb4dbaea ssh-agent -k [2022-06-02T23:58:20.633Z] unset SSH_AUTH_SOCK; [2022-06-02T23:58:20.634Z] unset SSH_AGENT_PID; [2022-06-02T23:58:20.634Z] echo Agent pid 80 killed; [2022-06-02T23:58:20.638Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-02T23:58:21.048Z] + git semver [Pipeline] } [2022-06-02T23:58:21.340Z] $ docker stop --time=1 89de13889542de62bbfd3af97f71dc139c2242a5b123f9652decbc0bcb4dbaea [2022-06-02T23:58:22.658Z] $ docker rm -f 89de13889542de62bbfd3af97f71dc139c2242a5b123f9652decbc0bcb4dbaea [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-02T23:58:23.073Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-02T23:58:23.390Z] Stashed 1 file(s) [Pipeline] echo [2022-06-02T23:58:23.404Z] [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-06-02T23:58:23.970Z] provisioning config files... [2022-06-02T23:58:23.981Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-194@tmp/config4458288570567013195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:58:24.326Z] ---> docker-login.sh [2022-06-02T23:58:24.326Z] nexus3.edgexfoundry.org:10001 [2022-06-02T23:58:24.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:58:24.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:58:24.326Z] Configure a credential helper to remove this warning. See [2022-06-02T23:58:24.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:58:24.326Z] [2022-06-02T23:58:24.326Z] Login Succeeded [2022-06-02T23:58:24.326Z] nexus3.edgexfoundry.org:10002 [2022-06-02T23:58:24.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:58:24.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:58:24.588Z] Configure a credential helper to remove this warning. See [2022-06-02T23:58:24.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:58:24.588Z] [2022-06-02T23:58:24.588Z] Login Succeeded [2022-06-02T23:58:24.588Z] nexus3.edgexfoundry.org:10003 [2022-06-02T23:58:24.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:58:24.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:58:24.588Z] Configure a credential helper to remove this warning. See [2022-06-02T23:58:24.588Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:58:24.588Z] [2022-06-02T23:58:24.588Z] Login Succeeded [2022-06-02T23:58:24.588Z] nexus3.edgexfoundry.org:10004 [2022-06-02T23:58:24.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:58:24.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:58:24.849Z] Configure a credential helper to remove this warning. See [2022-06-02T23:58:24.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:58:24.849Z] [2022-06-02T23:58:24.849Z] Login Succeeded [2022-06-02T23:58:24.849Z] docker.io [2022-06-02T23:58:24.849Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-02T23:58:25.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-02T23:58:25.110Z] Configure a credential helper to remove this warning. See [2022-06-02T23:58:25.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-02T23:58:25.110Z] [2022-06-02T23:58:25.110Z] Login Succeeded [2022-06-02T23:58:25.110Z] ---> docker-login.sh ends [Pipeline] } [2022-06-02T23:58:25.138Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-02T23:58:25.343Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-02T23:58:25.374Z] ========================================================= [2022-06-02T23:58:25.374Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] [2022-06-02T23:58:25.374Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:58:25.843Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-02T23:58:26.103Z] Sending build context to Docker daemon 21.64MB [2022-06-02T23:58:26.103Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-02T23:58:26.103Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-02T23:58:26.103Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-06-02T23:58:26.103Z] 59bf1c3509f3: Pulling fs layer [2022-06-02T23:58:26.103Z] 666ba61612fd: Pulling fs layer [2022-06-02T23:58:26.103Z] 8ed8ca486205: Pulling fs layer [2022-06-02T23:58:26.103Z] 4fe6c5a15a65: Pulling fs layer [2022-06-02T23:58:26.103Z] 22a0e8bec74d: Pulling fs layer [2022-06-02T23:58:26.103Z] 812f408151ee: Pulling fs layer [2022-06-02T23:58:26.103Z] bab7bd504b26: Pulling fs layer [2022-06-02T23:58:26.103Z] 070449caade9: Pulling fs layer [2022-06-02T23:58:26.103Z] 8f1a5288e3a6: Pulling fs layer [2022-06-02T23:58:26.103Z] 4fe6c5a15a65: Waiting [2022-06-02T23:58:26.103Z] 22a0e8bec74d: Waiting [2022-06-02T23:58:26.103Z] 070449caade9: Waiting [2022-06-02T23:58:26.103Z] 8f1a5288e3a6: Waiting [2022-06-02T23:58:26.103Z] bab7bd504b26: Waiting [2022-06-02T23:58:26.103Z] 812f408151ee: Waiting [2022-06-02T23:58:26.103Z] 8ed8ca486205: Verifying Checksum [2022-06-02T23:58:26.103Z] 8ed8ca486205: Download complete [2022-06-02T23:58:26.103Z] 666ba61612fd: Verifying Checksum [2022-06-02T23:58:26.103Z] 666ba61612fd: Download complete [2022-06-02T23:58:26.103Z] 22a0e8bec74d: Verifying Checksum [2022-06-02T23:58:26.103Z] 22a0e8bec74d: Download complete [2022-06-02T23:58:26.103Z] 59bf1c3509f3: Download complete [2022-06-02T23:58:26.103Z] 812f408151ee: Verifying Checksum [2022-06-02T23:58:26.103Z] 812f408151ee: Download complete [2022-06-02T23:58:26.103Z] bab7bd504b26: Verifying Checksum [2022-06-02T23:58:26.103Z] bab7bd504b26: Download complete [2022-06-02T23:58:26.363Z] 070449caade9: Verifying Checksum [2022-06-02T23:58:26.363Z] 070449caade9: Download complete [2022-06-02T23:58:26.363Z] 59bf1c3509f3: Pull complete [2022-06-02T23:58:26.363Z] 666ba61612fd: Pull complete [2022-06-02T23:58:26.624Z] 8ed8ca486205: Pull complete [2022-06-02T23:58:26.884Z] 8f1a5288e3a6: Verifying Checksum [2022-06-02T23:58:26.884Z] 8f1a5288e3a6: Download complete [2022-06-02T23:58:27.143Z] 4fe6c5a15a65: Download complete [2022-06-02T23:58:30.450Z] 4fe6c5a15a65: Pull complete [2022-06-02T23:58:30.450Z] 22a0e8bec74d: Pull complete [2022-06-02T23:58:30.712Z] 812f408151ee: Pull complete [2022-06-02T23:58:30.712Z] bab7bd504b26: Pull complete [2022-06-02T23:58:30.712Z] 070449caade9: Pull complete [2022-06-02T23:58:32.619Z] 8f1a5288e3a6: Pull complete [2022-06-02T23:58:32.619Z] Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 [2022-06-02T23:58:32.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [2022-06-02T23:58:32.880Z] ---> c47586b81864 [2022-06-02T23:58:32.880Z] Step 3/11 : ARG MAKE='make build' [2022-06-02T23:58:34.263Z] ---> Running in 170101cc935a [2022-06-02T23:58:34.263Z] Removing intermediate container 170101cc935a [2022-06-02T23:58:34.263Z] ---> b10204b66c6c [2022-06-02T23:58:34.263Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-02T23:58:34.263Z] ---> Running in d6ad02019a67 [2022-06-02T23:58:34.523Z] Removing intermediate container d6ad02019a67 [2022-06-02T23:58:34.523Z] ---> f4f5eecc050b [2022-06-02T23:58:34.523Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-02T23:58:34.523Z] ---> Running in e5971ed5346a [2022-06-02T23:58:34.523Z] Removing intermediate container e5971ed5346a [2022-06-02T23:58:34.523Z] ---> 6925088b02c4 [2022-06-02T23:58:34.523Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-02T23:58:34.523Z] ---> Running in c8e53be2fa4f [2022-06-02T23:58:35.093Z] Removing intermediate container c8e53be2fa4f [2022-06-02T23:58:35.093Z] ---> 567563a7792b [2022-06-02T23:58:35.093Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-02T23:58:35.093Z] ---> Running in d1d7563b0b52 [2022-06-02T23:58:35.666Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-02T23:58:36.238Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-02T23:58:36.813Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-02T23:58:36.813Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-02T23:58:36.813Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-02T23:58:36.813Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-02T23:58:37.076Z] Executing busybox-1.34.1-r3.trigger [2022-06-02T23:58:37.076Z] OK: 224 MiB in 56 packages [2022-06-02T23:58:37.648Z] Removing intermediate container d1d7563b0b52 [2022-06-02T23:58:37.648Z] ---> 1c2a7eeb3851 [2022-06-02T23:58:37.648Z] Step 8/11 : WORKDIR /device-rest-go [2022-06-02T23:58:37.648Z] ---> Running in 71a0b2b2bae0 [2022-06-02T23:58:37.648Z] Removing intermediate container 71a0b2b2bae0 [2022-06-02T23:58:37.648Z] ---> a88ecce95dba [2022-06-02T23:58:37.648Z] Step 9/11 : COPY . . [2022-06-02T23:58:38.788Z] Still waiting to schedule task [2022-06-02T23:58:38.789Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-735’ [2022-06-02T23:58:39.030Z] ---> 1645e388a39a [2022-06-02T23:58:39.030Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-02T23:58:39.030Z] ---> Running in 41b9ca2ab980 [2022-06-02T23:58:39.030Z] skipping... [2022-06-02T23:58:39.601Z] Removing intermediate container 41b9ca2ab980 [2022-06-02T23:58:39.601Z] ---> 08d521b43a19 [2022-06-02T23:58:39.601Z] Step 11/11 : RUN $MAKE [2022-06-02T23:58:39.601Z] ---> Running in efd30375b2e7 [2022-06-02T23:58:39.861Z] noop [2022-06-02T23:58:40.121Z] Removing intermediate container efd30375b2e7 [2022-06-02T23:58:40.121Z] ---> b147937c6d2c [2022-06-02T23:58:40.121Z] Successfully built b147937c6d2c [2022-06-02T23:58:40.121Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:58:40.575Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-02T23:58:40.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:58:40.737Z] prd-ubuntu20.04-docker-8c-8g-736 does not seem to be running inside a container [2022-06-02T23:58:40.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-194 -v /w/workspace/gexfoundry_device-rest-go_PR-194:/w/workspace/gexfoundry_device-rest-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-194@tmp:/w/workspace/gexfoundry_device-rest-go_PR-194@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 ******** ci-base-image-x86_64 cat [2022-06-02T23:58:41.678Z] $ docker top cbe6118396759c82b6ec20cabfc439f50316aba3c4e576c6de63c6105872104f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-02T23:58:42.085Z] + go version [2022-06-02T23:58:42.085Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-02T23:58:42.121Z] $ docker stop --time=1 cbe6118396759c82b6ec20cabfc439f50316aba3c4e576c6de63c6105872104f [2022-06-02T23:58:43.450Z] $ docker rm -f cbe6118396759c82b6ec20cabfc439f50316aba3c4e576c6de63c6105872104f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:58:44.173Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-02T23:58:44.173Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:58:44.348Z] prd-ubuntu20.04-docker-8c-8g-736 does not seem to be running inside a container [2022-06-02T23:58:44.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-194 -v /w/workspace/gexfoundry_device-rest-go_PR-194:/w/workspace/gexfoundry_device-rest-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-194@tmp:/w/workspace/gexfoundry_device-rest-go_PR-194@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 ******** ci-base-image-x86_64 cat [2022-06-02T23:58:44.821Z] $ docker top db8847bd3b96de628e63425909056d1be6b02e43cc7e3c5bf54332c74c0234dd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-02T23:58:45.267Z] + make test [2022-06-02T23:58:45.267Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-06-02T23:58:45.526Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-02T23:58:52.098Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-02T23:58:52.098Z] ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 56.0% of statements [2022-06-02T23:58:52.098Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-02T23:58:55.387Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-02T23:58:55.387Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-02T23:58:55.387Z] ./bin/test-attribution-txt.sh [2022-06-02T23:58:55.957Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 [2022-06-02T23:58:55.957Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 [2022-06-02T23:58:55.957Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-02T23:58:55.957Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 [2022-06-02T23:58:55.957Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/spf13/cast v1.4.1 [2022-06-02T23:58:55.957Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 [2022-06-02T23:58:55.957Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-02T23:58:55.957Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-02T23:58:55.957Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-02T23:58:55.957Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 [2022-06-02T23:58:55.957Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-02T23:58:55.957Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-02T23:58:55.957Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-02T23:58:55.957Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-02T23:58:55.957Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-02T23:58:55.957Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-02T23:58:55.957Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-02T23:58:55.957Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-02T23:58:55.957Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-02T23:58:55.957Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-02T23:58:55.957Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-02T23:58:55.957Z] go: downloading golang.org/x/text v0.3.6 [2022-06-02T23:58:55.957Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-02T23:58:56.218Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-02T23:58:56.218Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-02T23:58:56.218Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-02T23:58:56.218Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-02T23:58:56.218Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-02T23:58:56.218Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-02T23:58:56.218Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-02T23:58:56.218Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-02T23:58:56.218Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-02T23:58:56.218Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-02T23:58:56.479Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-02T23:58:56.479Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-02T23:58:56.479Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-02T23:58:56.479Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-02T23:58:56.479Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-02T23:58:57.444Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-02T23:58:57.801Z] + go mod tidy [2022-06-02T23:58:57.801Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-02T23:58:57.801Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-02T23:58:57.801Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-02T23:58:57.801Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-02T23:58:57.801Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-02T23:58:57.801Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-02T23:58:57.801Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-02T23:58:57.801Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-02T23:58:58.061Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-02T23:58:58.061Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-02T23:58:58.061Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-02T23:58:58.061Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-02T23:58:58.061Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-02T23:58:58.061Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-02T23:58:58.061Z] go: downloading github.com/kr/text v0.2.0 [2022-06-02T23:58:58.061Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-02T23:58:58.061Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-02T23:58:58.061Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-02T23:58:58.061Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-02T23:58:58.061Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-02T23:58:58.061Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-02T23:58:58.061Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-02T23:58:58.061Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-06-02T23:58:58.061Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [Pipeline] } [2022-06-02T23:58:58.095Z] $ docker stop --time=1 db8847bd3b96de628e63425909056d1be6b02e43cc7e3c5bf54332c74c0234dd [2022-06-02T23:59:00.240Z] $ docker rm -f db8847bd3b96de628e63425909056d1be6b02e43cc7e3c5bf54332c74c0234dd [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-02T23:59:00.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-02T23:59:00.974Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-02T23:59:01.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-02T23:59:01.875Z] + ls -al . [2022-06-02T23:59:01.875Z] total 184 [2022-06-02T23:59:01.875Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 23:58 . [2022-06-02T23:59:01.875Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:57 .. [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 2 23:57 .dockerignore [2022-06-02T23:59:01.876Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:58 .git [2022-06-02T23:59:01.876Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:57 .github [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 321 Jun 2 23:57 .gitignore [2022-06-02T23:59:01.876Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 23:58 .semver [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jun 2 23:57 Attribution.txt [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 7718 Jun 2 23:57 CHANGELOG.md [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 1649 Jun 2 23:57 Dockerfile [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 23:57 GOVERNANCE.md [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 2 23:57 Jenkinsfile [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 23:57 LICENSE [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jun 2 23:57 Makefile [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 2 23:57 OWNERS.md [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jun 2 23:57 README.md [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 23:58 VERSION [2022-06-02T23:59:01.876Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:57 bin [2022-06-02T23:59:01.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:57 cmd [2022-06-02T23:59:01.876Z] -rw-r--r-- 1 jenkins jenkins 9215 Jun 2 23:58 coverage.out [2022-06-02T23:59:01.876Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:57 driver [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 271 Jun 2 23:58 go.mod [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 49306 Jun 2 23:57 go.sum [2022-06-02T23:59:01.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:57 snap [2022-06-02T23:59:01.876Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 2 23:57 vendor [2022-06-02T23:59:01.876Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 2 23:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:59:02.263Z] + 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=4b23375dcce320ad569d9d249cfde0b2aefa88a9 --label arch=amd64 --label version=0.0.0 . [2022-06-02T23:59:02.263Z] Sending build context to Docker daemon 21.65MB [2022-06-02T23:59:02.523Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-06-02T23:59:02.523Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-02T23:59:02.523Z] ---> b147937c6d2c [2022-06-02T23:59:02.523Z] Step 3/24 : ARG MAKE='make build' [2022-06-02T23:59:02.523Z] ---> Running in ab8603e7b5e3 [2022-06-02T23:59:02.784Z] Removing intermediate container ab8603e7b5e3 [2022-06-02T23:59:02.784Z] ---> 557b1db4f975 [2022-06-02T23:59:02.784Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-02T23:59:02.784Z] ---> Running in b6ee6645dfa3 [2022-06-02T23:59:02.784Z] Removing intermediate container b6ee6645dfa3 [2022-06-02T23:59:02.784Z] ---> 00730f7739fe [2022-06-02T23:59:02.784Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-02T23:59:02.784Z] ---> Running in 25a559c79ec7 [2022-06-02T23:59:03.043Z] Removing intermediate container 25a559c79ec7 [2022-06-02T23:59:03.043Z] ---> d3d22aafc987 [2022-06-02T23:59:03.043Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-02T23:59:03.043Z] ---> Running in 48f8dac748ef [2022-06-02T23:59:03.611Z] Removing intermediate container 48f8dac748ef [2022-06-02T23:59:03.611Z] ---> 1fce9c9c02fc [2022-06-02T23:59:03.611Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-02T23:59:03.611Z] ---> Running in 46a6cfc538c0 [2022-06-02T23:59:03.873Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-02T23:59:04.813Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-02T23:59:05.075Z] OK: 224 MiB in 56 packages [2022-06-02T23:59:05.338Z] Removing intermediate container 46a6cfc538c0 [2022-06-02T23:59:05.338Z] ---> 8749b469c4ce [2022-06-02T23:59:05.338Z] Step 8/24 : WORKDIR /device-rest-go [2022-06-02T23:59:05.338Z] ---> Running in 2e2b6143fb82 [2022-06-02T23:59:05.597Z] Removing intermediate container 2e2b6143fb82 [2022-06-02T23:59:05.597Z] ---> 96f9d3c0f759 [2022-06-02T23:59:05.597Z] Step 9/24 : COPY . . [2022-06-02T23:59:06.539Z] ---> 326e241ce2d3 [2022-06-02T23:59:06.540Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-02T23:59:06.540Z] ---> Running in d8258ef695c6 [2022-06-02T23:59:06.799Z] skipping... [2022-06-02T23:59:07.370Z] Removing intermediate container d8258ef695c6 [2022-06-02T23:59:07.370Z] ---> 45b5238efdb3 [2022-06-02T23:59:07.370Z] Step 11/24 : RUN $MAKE [2022-06-02T23:59:07.370Z] ---> Running in dad879be6005 [2022-06-02T23:59:07.630Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-06-02T23:59:15.761Z] Removing intermediate container dad879be6005 [2022-06-02T23:59:15.761Z] ---> 6162876cc0e2 [2022-06-02T23:59:15.761Z] Step 12/24 : FROM alpine:3.14 [2022-06-02T23:59:15.761Z] 3.14: Pulling from library/alpine [2022-06-02T23:59:15.761Z] 8663204ce13b: Pulling fs layer [2022-06-02T23:59:15.761Z] 8663204ce13b: Verifying Checksum [2022-06-02T23:59:15.761Z] 8663204ce13b: Download complete [2022-06-02T23:59:15.761Z] 8663204ce13b: Pull complete [2022-06-02T23:59:15.761Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-02T23:59:15.761Z] Status: Downloaded newer image for alpine:3.14 [2022-06-02T23:59:15.761Z] ---> e04c818066af [2022-06-02T23:59:15.761Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-02T23:59:15.761Z] ---> Running in 695714f1dd7c [2022-06-02T23:59:15.761Z] Removing intermediate container 695714f1dd7c [2022-06-02T23:59:15.761Z] ---> 1de3f1c7fc4e [2022-06-02T23:59:15.761Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-02T23:59:15.761Z] ---> Running in 634ee93ed022 [2022-06-02T23:59:15.761Z] Removing intermediate container 634ee93ed022 [2022-06-02T23:59:15.761Z] ---> c0b905466347 [2022-06-02T23:59:15.761Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-02T23:59:15.761Z] ---> Running in 286be8a41eda [2022-06-02T23:59:16.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-02T23:59:16.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-02T23:59:16.282Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-02T23:59:16.282Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-02T23:59:16.282Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-02T23:59:16.282Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-02T23:59:16.542Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-02T23:59:16.542Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-02T23:59:16.542Z] Executing busybox-1.33.1-r7.trigger [2022-06-02T23:59:16.542Z] OK: 8 MiB in 20 packages [2022-06-02T23:59:16.804Z] Removing intermediate container 286be8a41eda [2022-06-02T23:59:16.804Z] ---> 497f0fa2f315 [2022-06-02T23:59:16.804Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-06-02T23:59:17.375Z] ---> 82288a35b1d6 [2022-06-02T23:59:17.375Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-02T23:59:17.375Z] ---> 29208e7a344f [2022-06-02T23:59:17.375Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-02T23:59:17.375Z] ---> 01fc6d31805b [2022-06-02T23:59:17.375Z] Step 19/24 : EXPOSE 59986 [2022-06-02T23:59:17.637Z] ---> Running in 4271b245a1e3 [2022-06-02T23:59:17.637Z] Removing intermediate container 4271b245a1e3 [2022-06-02T23:59:17.637Z] ---> 5f63c4056f93 [2022-06-02T23:59:17.637Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-06-02T23:59:17.637Z] ---> Running in 324ccffa658a [2022-06-02T23:59:17.897Z] Removing intermediate container 324ccffa658a [2022-06-02T23:59:17.897Z] ---> a5dec7e440c7 [2022-06-02T23:59:17.897Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-02T23:59:17.897Z] ---> Running in 32c7361443af [2022-06-02T23:59:17.897Z] Removing intermediate container 32c7361443af [2022-06-02T23:59:17.897Z] ---> 937d92817c77 [2022-06-02T23:59:17.897Z] Step 22/24 : LABEL arch=amd64 [2022-06-02T23:59:17.897Z] ---> Running in 9dba92b7347b [2022-06-02T23:59:18.157Z] Removing intermediate container 9dba92b7347b [2022-06-02T23:59:18.157Z] ---> 4251bdfbc540 [2022-06-02T23:59:18.157Z] Step 23/24 : LABEL git_sha=4b23375dcce320ad569d9d249cfde0b2aefa88a9 [2022-06-02T23:59:18.157Z] ---> Running in 8ffe71713368 [2022-06-02T23:59:18.157Z] Removing intermediate container 8ffe71713368 [2022-06-02T23:59:18.157Z] ---> 6a8a0a83d073 [2022-06-02T23:59:18.157Z] Step 24/24 : LABEL version=0.0.0 [2022-06-02T23:59:18.157Z] ---> Running in 249827b1d825 [2022-06-02T23:59:18.417Z] Removing intermediate container 249827b1d825 [2022-06-02T23:59:18.417Z] ---> 69da1a701f29 [2022-06-02T23:59:18.417Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-02T23:59:18.417Z] Successfully built 69da1a701f29 [2022-06-02T23:59:18.417Z] 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-06-02T23:59:19.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T23:59:19.236Z] [2022-06-02T23:59:19.236Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-02T23:59:19.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T23:59:19.607Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-02T23:59:19.607Z] 5eb5b503b376: Pulling fs layer [2022-06-02T23:59:19.607Z] 5c69ac0246d0: Pulling fs layer [2022-06-02T23:59:19.607Z] ec43610c2a17: Pulling fs layer [2022-06-02T23:59:19.607Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-02T23:59:19.607Z] 33b1e0a273af: Pulling fs layer [2022-06-02T23:59:19.607Z] 5d3b04190fa2: Pulling fs layer [2022-06-02T23:59:19.607Z] 2f39f015ded8: Pulling fs layer [2022-06-02T23:59:19.607Z] 33b1e0a273af: Waiting [2022-06-02T23:59:19.607Z] 2f39f015ded8: Waiting [2022-06-02T23:59:19.607Z] 5d3b04190fa2: Waiting [2022-06-02T23:59:19.607Z] 3a2ae6a8a46f: Waiting [2022-06-02T23:59:19.607Z] 5c69ac0246d0: Download complete [2022-06-02T23:59:19.607Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-02T23:59:19.607Z] 3a2ae6a8a46f: Download complete [2022-06-02T23:59:19.607Z] 33b1e0a273af: Verifying Checksum [2022-06-02T23:59:19.607Z] 33b1e0a273af: Download complete [2022-06-02T23:59:19.867Z] 5d3b04190fa2: Download complete [2022-06-02T23:59:19.867Z] ec43610c2a17: Verifying Checksum [2022-06-02T23:59:19.867Z] 5eb5b503b376: Verifying Checksum [2022-06-02T23:59:19.867Z] 5eb5b503b376: Download complete [2022-06-02T23:59:20.436Z] 2f39f015ded8: Verifying Checksum [2022-06-02T23:59:20.436Z] 2f39f015ded8: Download complete [2022-06-02T23:59:21.375Z] 5eb5b503b376: Pull complete [2022-06-02T23:59:21.375Z] 5c69ac0246d0: Pull complete [2022-06-02T23:59:21.637Z] ec43610c2a17: Pull complete [2022-06-02T23:59:21.903Z] 3a2ae6a8a46f: Pull complete [2022-06-02T23:59:22.162Z] 33b1e0a273af: Pull complete [2022-06-02T23:59:22.162Z] 5d3b04190fa2: Pull complete [2022-06-02T23:59:26.355Z] 2f39f015ded8: Pull complete [2022-06-02T23:59:26.355Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-02T23:59:26.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-02T23:59:26.355Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-02T23:59:26.583Z] prd-ubuntu20.04-docker-8c-8g-736 does not seem to be running inside a container [2022-06-02T23:59:26.623Z] $ 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-194 -v /w/workspace/gexfoundry_device-rest-go_PR-194:/w/workspace/gexfoundry_device-rest-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-194@tmp:/w/workspace/gexfoundry_device-rest-go_PR-194@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-02T23:59:28.444Z] $ docker top eeda2ef8c4b0d44398b35cb774eaf5913e04116140368d1599f7c98f763aae05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-02T23:59:28.876Z] ---> job-cost.sh [2022-06-02T23:59:28.876Z] lf-activate-venv: SKIPPING [2022-06-02T23:59:28.876Z] INFO: No Stack... [2022-06-02T23:59:29.449Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-02T23:59:29.710Z] INFO: Archiving Costs [Pipeline] sh [2022-06-02T23:59:30.019Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-194/archives/cost.csv [2022-06-02T23:59:30.019Z] + cut -d, -f6 [Pipeline] lock [2022-06-02T23:59:30.054Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] [2022-06-02T23:59:30.059Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] did not exist. Created. [2022-06-02T23:59:30.059Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-02T23:59:30.451Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-02T23:59:30.512Z] Stashed 1 file(s) [Pipeline] } [2022-06-02T23:59:30.528Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-02T23:59:30.611Z] $ docker stop --time=1 eeda2ef8c4b0d44398b35cb774eaf5913e04116140368d1599f7c98f763aae05 [2022-06-02T23:59:31.798Z] $ docker rm -f eeda2ef8c4b0d44398b35cb774eaf5913e04116140368d1599f7c98f763aae05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-03T00:01:11.071Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-738 in /w/workspace/gexfoundry_device-rest-go_PR-194 [Pipeline] { [Pipeline] ws [2022-06-03T00:01:11.116Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-06-03T00:01:11.209Z] The recommended git tool is: git [2022-06-03T00:01:18.683Z] using credential edgex-jenkins-ssh [2022-06-03T00:01:18.718Z] Cloning the remote Git repository [2022-06-03T00:01:18.839Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-03T00:01:18.947Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-06-03T00:01:19.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-03T00:01:19.078Z] > git --version # timeout=10 [2022-06-03T00:01:19.118Z] > git --version # 'git version 2.25.1' [2022-06-03T00:01:19.120Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T00:01:19.327Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-03T00:01:21.760Z] Merging remotes/origin/jakarta commit 674470f415deb016340950c491e0ea2a8bbe0e0c into PR head commit 4b23375dcce320ad569d9d249cfde0b2aefa88a9 [2022-06-03T00:01:21.162Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-03T00:01:21.179Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-03T00:01:21.208Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-03T00:01:21.251Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-03T00:01:21.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T00:01:21.266Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/194/head:refs/remotes/origin/PR-194 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 [2022-06-03T00:01:21.788Z] > git config core.sparsecheckout # timeout=10 [2022-06-03T00:01:21.836Z] > git checkout -f 4b23375dcce320ad569d9d249cfde0b2aefa88a9 # timeout=10 [2022-06-03T00:01:22.399Z] Merge succeeded, producing 4b23375dcce320ad569d9d249cfde0b2aefa88a9 [2022-06-03T00:01:22.399Z] Checking out Revision 4b23375dcce320ad569d9d249cfde0b2aefa88a9 (PR-194) [2022-06-03T00:01:22.300Z] > git remote # timeout=10 [2022-06-03T00:01:22.317Z] > git config --get remote.origin.url # timeout=10 [2022-06-03T00:01:22.336Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-03T00:01:22.348Z] > git merge 674470f415deb016340950c491e0ea2a8bbe0e0c # timeout=10 [2022-06-03T00:01:22.379Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-03T00:01:22.412Z] > git config core.sparsecheckout # timeout=10 [2022-06-03T00:01:22.425Z] > git checkout -f 4b23375dcce320ad569d9d249cfde0b2aefa88a9 # timeout=10 [2022-06-03T00:01:26.926Z] Commit message: "build: Update to released SDK and go-mods and change log for 2.1.1 patch" [2022-06-03T00:01:26.988Z] > git --version # timeout=10 [2022-06-03T00:01:27.000Z] > git --version # 'git version 2.25.1' [2022-06-03T00:01:27.017Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T00:01:28.033Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-03T00:01:28.033Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-03T00:01:28.033Z] Dload Upload Total Spent Left Speed [2022-06-03T00:01:28.033Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2022-06-03T00:01:28.824Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-03T00:01:29.181Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-03T00:01:29.181Z] + sudo tee /etc/docker/daemon.new [2022-06-03T00:01:29.181Z] { [2022-06-03T00:01:29.181Z] "registry-mirrors": [ [2022-06-03T00:01:29.181Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-03T00:01:29.181Z] ], [2022-06-03T00:01:29.181Z] "bip": "10.250.0.254/24", [2022-06-03T00:01:29.181Z] "hosts": [ [2022-06-03T00:01:29.181Z] "tcp://0.0.0.0:5555", [2022-06-03T00:01:29.181Z] "unix:///var/run/docker.sock" [2022-06-03T00:01:29.181Z] ], [2022-06-03T00:01:29.181Z] "mtu": 1458, [2022-06-03T00:01:29.181Z] "selinux-enabled": true, [2022-06-03T00:01:29.181Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-03T00:01:29.181Z] } [Pipeline] sh [2022-06-03T00:01:29.548Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-03T00:01:29.904Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T00:01:48.538Z] provisioning config files... [2022-06-03T00:01:48.568Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4961389432279591918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:01:48.969Z] ---> docker-login.sh [2022-06-03T00:01:48.969Z] nexus3.edgexfoundry.org:10001 [2022-06-03T00:01:49.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:01:49.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:01:49.847Z] Configure a credential helper to remove this warning. See [2022-06-03T00:01:49.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:01:49.847Z] [2022-06-03T00:01:49.847Z] Login Succeeded [2022-06-03T00:01:49.847Z] nexus3.edgexfoundry.org:10002 [2022-06-03T00:01:50.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:01:50.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:01:50.397Z] Configure a credential helper to remove this warning. See [2022-06-03T00:01:50.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:01:50.397Z] [2022-06-03T00:01:50.397Z] Login Succeeded [2022-06-03T00:01:50.397Z] nexus3.edgexfoundry.org:10003 [2022-06-03T00:01:50.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:01:50.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:01:50.947Z] Configure a credential helper to remove this warning. See [2022-06-03T00:01:50.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:01:50.947Z] [2022-06-03T00:01:50.947Z] Login Succeeded [2022-06-03T00:01:50.947Z] nexus3.edgexfoundry.org:10004 [2022-06-03T00:01:51.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:01:51.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:01:51.224Z] Configure a credential helper to remove this warning. See [2022-06-03T00:01:51.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:01:51.224Z] [2022-06-03T00:01:51.224Z] Login Succeeded [2022-06-03T00:01:51.224Z] docker.io [2022-06-03T00:01:51.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-03T00:01:52.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-03T00:01:52.098Z] Configure a credential helper to remove this warning. See [2022-06-03T00:01:52.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-03T00:01:52.098Z] [2022-06-03T00:01:52.098Z] Login Succeeded [2022-06-03T00:01:52.098Z] ---> docker-login.sh ends [Pipeline] } [2022-06-03T00:01:52.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-03T00:01:52.531Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-03T00:01:52.565Z] ========================================================= [2022-06-03T00:01:52.565Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] [2022-06-03T00:01:52.565Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:01:53.097Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-03T00:01:54.085Z] Sending build context to Docker daemon 11.13MB [2022-06-03T00:01:54.085Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-03T00:01:54.085Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-03T00:01:54.360Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-03T00:01:54.360Z] 9b3977197b4f: Pulling fs layer [2022-06-03T00:01:54.360Z] 1a89e8eeedd5: Pulling fs layer [2022-06-03T00:01:54.360Z] 94645a83ff95: Pulling fs layer [2022-06-03T00:01:54.360Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-03T00:01:54.360Z] 0c92f367c5e7: Pulling fs layer [2022-06-03T00:01:54.360Z] 63b1bc5785f6: Pulling fs layer [2022-06-03T00:01:54.360Z] 626d30ff41c6: Pulling fs layer [2022-06-03T00:01:54.360Z] de1d54c125be: Pulling fs layer [2022-06-03T00:01:54.360Z] 63b1bc5785f6: Waiting [2022-06-03T00:01:54.360Z] 626d30ff41c6: Waiting [2022-06-03T00:01:54.360Z] de1d54c125be: Waiting [2022-06-03T00:01:54.360Z] 3f3a8bcf1eab: Waiting [2022-06-03T00:01:54.360Z] 94645a83ff95: Verifying Checksum [2022-06-03T00:01:54.360Z] 94645a83ff95: Download complete [2022-06-03T00:01:54.360Z] 1a89e8eeedd5: Verifying Checksum [2022-06-03T00:01:54.360Z] 1a89e8eeedd5: Download complete [2022-06-03T00:01:54.360Z] 0c92f367c5e7: Verifying Checksum [2022-06-03T00:01:54.360Z] 0c92f367c5e7: Download complete [2022-06-03T00:01:54.360Z] 63b1bc5785f6: Verifying Checksum [2022-06-03T00:01:54.360Z] 63b1bc5785f6: Download complete [2022-06-03T00:01:54.360Z] 9b3977197b4f: Verifying Checksum [2022-06-03T00:01:54.360Z] 9b3977197b4f: Download complete [2022-06-03T00:01:54.639Z] 626d30ff41c6: Verifying Checksum [2022-06-03T00:01:54.639Z] 626d30ff41c6: Download complete [2022-06-03T00:01:55.247Z] 9b3977197b4f: Pull complete [2022-06-03T00:01:55.848Z] 1a89e8eeedd5: Pull complete [2022-06-03T00:01:56.128Z] 94645a83ff95: Pull complete [2022-06-03T00:01:56.738Z] de1d54c125be: Verifying Checksum [2022-06-03T00:01:56.738Z] de1d54c125be: Download complete [2022-06-03T00:01:57.017Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-03T00:01:57.017Z] 3f3a8bcf1eab: Download complete [2022-06-03T00:02:09.423Z] 3f3a8bcf1eab: Pull complete [2022-06-03T00:02:09.423Z] 0c92f367c5e7: Pull complete [2022-06-03T00:02:09.423Z] 63b1bc5785f6: Pull complete [2022-06-03T00:02:09.423Z] 626d30ff41c6: Pull complete [2022-06-03T00:02:16.149Z] de1d54c125be: Pull complete [2022-06-03T00:02:16.149Z] Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 [2022-06-03T00:02:16.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [2022-06-03T00:02:16.149Z] ---> 5f011755c4a2 [2022-06-03T00:02:16.149Z] Step 3/11 : ARG MAKE='make build' [2022-06-03T00:02:17.583Z] ---> Running in ba994e6f78c4 [2022-06-03T00:02:17.857Z] Removing intermediate container ba994e6f78c4 [2022-06-03T00:02:17.857Z] ---> 079044221378 [2022-06-03T00:02:17.857Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T00:02:18.142Z] ---> Running in 1d8d7df6306b [2022-06-03T00:02:18.416Z] Removing intermediate container 1d8d7df6306b [2022-06-03T00:02:18.416Z] ---> daf7fc155ba5 [2022-06-03T00:02:18.416Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T00:02:18.416Z] ---> Running in 6245a97584ea [2022-06-03T00:02:18.697Z] Removing intermediate container 6245a97584ea [2022-06-03T00:02:18.697Z] ---> 5031f039eb43 [2022-06-03T00:02:18.697Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T00:02:18.974Z] ---> Running in 67b916743f85 [2022-06-03T00:02:22.372Z] Removing intermediate container 67b916743f85 [2022-06-03T00:02:22.372Z] ---> be9376f98f97 [2022-06-03T00:02:22.372Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T00:02:22.372Z] ---> Running in 88ffe245396d [2022-06-03T00:02:22.971Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-03T00:02:23.946Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-03T00:02:24.920Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-03T00:02:24.920Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-03T00:02:24.920Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-03T00:02:25.193Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-03T00:02:25.193Z] Executing busybox-1.34.1-r3.trigger [2022-06-03T00:02:25.467Z] OK: 224 MiB in 56 packages [2022-06-03T00:02:26.454Z] Removing intermediate container 88ffe245396d [2022-06-03T00:02:26.454Z] ---> e45e0eca2dbc [2022-06-03T00:02:26.454Z] Step 8/11 : WORKDIR /device-rest-go [2022-06-03T00:02:26.454Z] ---> Running in 88e2f4182535 [2022-06-03T00:02:26.743Z] Removing intermediate container 88e2f4182535 [2022-06-03T00:02:26.743Z] ---> 957e779b9b11 [2022-06-03T00:02:26.743Z] Step 9/11 : COPY . . [2022-06-03T00:02:30.139Z] ---> dcc8dec8c8ac [2022-06-03T00:02:30.139Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T00:02:30.139Z] ---> Running in 5ab78454a774 [2022-06-03T00:02:31.123Z] skipping... [2022-06-03T00:02:31.730Z] Removing intermediate container 5ab78454a774 [2022-06-03T00:02:31.730Z] ---> 83856c5ff824 [2022-06-03T00:02:31.730Z] Step 11/11 : RUN $MAKE [2022-06-03T00:02:32.005Z] ---> Running in 57507ba0b681 [2022-06-03T00:02:32.995Z] noop [2022-06-03T00:02:33.588Z] Removing intermediate container 57507ba0b681 [2022-06-03T00:02:33.588Z] ---> 85f7147cf846 [2022-06-03T00:02:33.588Z] Successfully built 85f7147cf846 [2022-06-03T00:02:33.588Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:02:34.082Z] + docker inspect -f . ci-base-image-arm64 [2022-06-03T00:02:34.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:02:34.401Z] prd-ubuntu20.04-docker-arm64-4c-16g-738 does not seem to be running inside a container [2022-06-03T00:02:34.482Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-03T00:02:35.752Z] $ docker top 6e5f14c7804fa1a71711835722777903c7f81419cdffaace88c7253ecf5df304 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T00:02:36.703Z] + go version [2022-06-03T00:02:36.703Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-03T00:02:36.743Z] $ docker stop --time=1 6e5f14c7804fa1a71711835722777903c7f81419cdffaace88c7253ecf5df304 [2022-06-03T00:02:38.378Z] $ docker rm -f 6e5f14c7804fa1a71711835722777903c7f81419cdffaace88c7253ecf5df304 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:02:39.316Z] + docker inspect -f . ci-base-image-arm64 [2022-06-03T00:02:39.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:02:39.620Z] prd-ubuntu20.04-docker-arm64-4c-16g-738 does not seem to be running inside a container [2022-06-03T00:02:39.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-03T00:02:40.985Z] $ docker top 80c7d81e6739757ac62f721e0147877ea16edaeeb8c7f253cb197307b4b0f904 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-03T00:02:42.029Z] + make test [2022-06-03T00:02:42.029Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-06-03T00:02:43.016Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-03T00:03:39.608Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-03T00:03:39.608Z] ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 56.0% of statements [2022-06-03T00:03:39.608Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-03T00:03:57.950Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-03T00:03:57.950Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-03T00:03:57.950Z] ./bin/test-attribution-txt.sh [2022-06-03T00:03:57.950Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 [2022-06-03T00:03:57.950Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 [2022-06-03T00:03:57.950Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-03T00:03:57.950Z] go: downloading github.com/spf13/cast v1.4.1 [2022-06-03T00:03:57.950Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-03T00:03:57.950Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-03T00:03:57.950Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 [2022-06-03T00:03:57.950Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-03T00:03:57.950Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-03T00:03:57.950Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-03T00:03:57.950Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 [2022-06-03T00:03:57.950Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-03T00:03:57.950Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-03T00:03:57.950Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-03T00:03:57.950Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-03T00:03:57.950Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 [2022-06-03T00:03:57.950Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-03T00:03:57.950Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-03T00:03:57.950Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-03T00:03:57.950Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-03T00:03:57.950Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-03T00:03:57.950Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-03T00:03:57.950Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-03T00:03:57.950Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-03T00:03:57.950Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-03T00:03:57.950Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-03T00:03:57.950Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-03T00:03:57.950Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-03T00:03:57.950Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-03T00:03:57.950Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-03T00:03:57.950Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-03T00:03:57.950Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-03T00:03:57.950Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-03T00:03:57.950Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-03T00:03:57.950Z] go: downloading golang.org/x/text v0.3.6 [2022-06-03T00:03:58.934Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-03T00:03:58.934Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-03T00:03:58.934Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-03T00:03:58.934Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-03T00:03:58.934Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-03T00:03:58.934Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-03T00:03:59.210Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-03T00:03:59.486Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-03T00:03:59.486Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-03T00:03:59.762Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-03T00:04:00.745Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-03T00:04:00.745Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-03T00:04:00.745Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-03T00:04:00.745Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-03T00:04:00.745Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-03T00:04:00.745Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-03T00:04:01.021Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-03T00:04:05.369Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-03T00:04:06.100Z] + go mod tidy [2022-06-03T00:04:06.378Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-03T00:04:06.378Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-03T00:04:06.378Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-03T00:04:06.655Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-03T00:04:06.655Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-03T00:04:06.655Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-03T00:04:06.655Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-03T00:04:06.655Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-03T00:04:06.655Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-03T00:04:06.655Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-03T00:04:06.655Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-03T00:04:06.655Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-03T00:04:06.931Z] go: downloading github.com/kr/text v0.2.0 [2022-06-03T00:04:06.931Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-03T00:04:06.931Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-03T00:04:06.931Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-03T00:04:06.931Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-03T00:04:06.931Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-03T00:04:06.931Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-03T00:04:07.205Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-03T00:04:07.205Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-03T00:04:07.205Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-03T00:04:07.205Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-03T00:04:07.205Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-03T00:04:07.514Z] $ docker stop --time=1 80c7d81e6739757ac62f721e0147877ea16edaeeb8c7f253cb197307b4b0f904 [2022-06-03T00:04:09.861Z] $ docker rm -f 80c7d81e6739757ac62f721e0147877ea16edaeeb8c7f253cb197307b4b0f904 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-03T00:04:12.192Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-03T00:04:12.227Z] Warning: overwriting stash ‘coverage-report’ [2022-06-03T00:04:12.946Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-03T00:04:13.538Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-03T00:04:13.886Z] + ls -al . [2022-06-03T00:04:13.886Z] total 180 [2022-06-03T00:04:13.886Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 00:04 . [2022-06-03T00:04:13.886Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 00:01 .. [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 3 00:01 .dockerignore [2022-06-03T00:04:13.886Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 00:01 .git [2022-06-03T00:04:13.886Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:01 .github [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 321 Jun 3 00:01 .gitignore [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jun 3 00:01 Attribution.txt [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 7718 Jun 3 00:01 CHANGELOG.md [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 1649 Jun 3 00:01 Dockerfile [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 00:01 GOVERNANCE.md [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 3 00:01 Jenkinsfile [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 00:01 LICENSE [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jun 3 00:01 Makefile [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 3 00:01 OWNERS.md [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jun 3 00:01 README.md [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 23:58 VERSION [2022-06-03T00:04:13.886Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:01 bin [2022-06-03T00:04:13.886Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:01 cmd [2022-06-03T00:04:13.886Z] -rw-r--r-- 1 jenkins jenkins 9215 Jun 3 00:03 coverage.out [2022-06-03T00:04:13.886Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:01 driver [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 271 Jun 3 00:04 go.mod [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 49306 Jun 3 00:01 go.sum [2022-06-03T00:04:13.886Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:01 snap [2022-06-03T00:04:13.886Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 3 00:01 vendor [2022-06-03T00:04:13.886Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 3 00:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:04:14.427Z] + 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=4b23375dcce320ad569d9d249cfde0b2aefa88a9 --label arch=arm64 --label version=0.0.0 . [2022-06-03T00:04:15.894Z] Sending build context to Docker daemon 11.14MB [2022-06-03T00:04:15.894Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-06-03T00:04:15.894Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-03T00:04:15.894Z] ---> 85f7147cf846 [2022-06-03T00:04:15.894Z] Step 3/24 : ARG MAKE='make build' [2022-06-03T00:04:15.894Z] ---> Running in 743d9a5aa7d1 [2022-06-03T00:04:16.170Z] Removing intermediate container 743d9a5aa7d1 [2022-06-03T00:04:16.170Z] ---> bd4dd812291d [2022-06-03T00:04:16.170Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-03T00:04:16.170Z] ---> Running in 72726b5d5415 [2022-06-03T00:04:16.447Z] Removing intermediate container 72726b5d5415 [2022-06-03T00:04:16.447Z] ---> 113b6431a22d [2022-06-03T00:04:16.447Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-03T00:04:16.726Z] ---> Running in 0be3ced2e878 [2022-06-03T00:04:17.003Z] Removing intermediate container 0be3ced2e878 [2022-06-03T00:04:17.003Z] ---> 7731ed9180aa [2022-06-03T00:04:17.003Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-03T00:04:17.003Z] ---> Running in c3173d25f296 [2022-06-03T00:04:18.992Z] Removing intermediate container c3173d25f296 [2022-06-03T00:04:18.992Z] ---> b1ae0311dd45 [2022-06-03T00:04:18.992Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-03T00:04:18.992Z] ---> Running in 051b6051756c [2022-06-03T00:04:19.987Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-03T00:04:20.969Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-03T00:04:21.568Z] OK: 224 MiB in 56 packages [2022-06-03T00:04:22.554Z] Removing intermediate container 051b6051756c [2022-06-03T00:04:22.555Z] ---> 8310799de12c [2022-06-03T00:04:22.555Z] Step 8/24 : WORKDIR /device-rest-go [2022-06-03T00:04:22.555Z] ---> Running in 0936ea04c295 [2022-06-03T00:04:22.827Z] Removing intermediate container 0936ea04c295 [2022-06-03T00:04:22.827Z] ---> 9e30e02f366b [2022-06-03T00:04:22.827Z] Step 9/24 : COPY . . [2022-06-03T00:04:27.148Z] ---> c5f390e82c94 [2022-06-03T00:04:27.148Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-03T00:04:27.148Z] ---> Running in 2cf2a5b2402f [2022-06-03T00:04:28.139Z] skipping... [2022-06-03T00:04:28.746Z] Removing intermediate container 2cf2a5b2402f [2022-06-03T00:04:28.746Z] ---> 46d05baa527d [2022-06-03T00:04:28.746Z] Step 11/24 : RUN $MAKE [2022-06-03T00:04:28.746Z] ---> Running in d8428e3bae29 [2022-06-03T00:04:29.726Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2022-06-03T00:05:16.742Z] Removing intermediate container d8428e3bae29 [2022-06-03T00:05:16.742Z] ---> b5a8f74db30b [2022-06-03T00:05:16.742Z] Step 12/24 : FROM alpine:3.14 [2022-06-03T00:05:16.742Z] 3.14: Pulling from library/alpine [2022-06-03T00:05:16.742Z] 455c02918c45: Pulling fs layer [2022-06-03T00:05:16.742Z] 455c02918c45: Verifying Checksum [2022-06-03T00:05:16.742Z] 455c02918c45: Download complete [2022-06-03T00:05:16.742Z] 455c02918c45: Pull complete [2022-06-03T00:05:16.742Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-03T00:05:16.742Z] Status: Downloaded newer image for alpine:3.14 [2022-06-03T00:05:16.742Z] ---> ac73e934f311 [2022-06-03T00:05:16.742Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-03T00:05:16.742Z] ---> Running in dcbc5be34b21 [2022-06-03T00:05:16.742Z] Removing intermediate container dcbc5be34b21 [2022-06-03T00:05:16.742Z] ---> 14f9b803bd7e [2022-06-03T00:05:16.742Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-03T00:05:16.742Z] ---> Running in b03b54f05d64 [2022-06-03T00:05:16.742Z] Removing intermediate container b03b54f05d64 [2022-06-03T00:05:16.742Z] ---> e217420587f6 [2022-06-03T00:05:16.742Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-03T00:05:16.742Z] ---> Running in 3fc9eefe0bac [2022-06-03T00:05:16.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-03T00:05:16.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-03T00:05:16.742Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-03T00:05:16.742Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-03T00:05:16.742Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-03T00:05:16.742Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-03T00:05:16.742Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-03T00:05:16.742Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-03T00:05:16.742Z] Executing busybox-1.33.1-r7.trigger [2022-06-03T00:05:16.742Z] OK: 8 MiB in 20 packages [2022-06-03T00:05:16.742Z] Removing intermediate container 3fc9eefe0bac [2022-06-03T00:05:16.742Z] ---> ebf8585f66c6 [2022-06-03T00:05:16.742Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-06-03T00:05:17.727Z] ---> 29e875debd1e [2022-06-03T00:05:17.727Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-03T00:05:18.335Z] ---> 34165a04ddd8 [2022-06-03T00:05:18.335Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-03T00:05:18.933Z] ---> e51850165af7 [2022-06-03T00:05:18.933Z] Step 19/24 : EXPOSE 59986 [2022-06-03T00:05:18.933Z] ---> Running in 07ce5a780afa [2022-06-03T00:05:19.207Z] Removing intermediate container 07ce5a780afa [2022-06-03T00:05:19.207Z] ---> 4b2f9742db30 [2022-06-03T00:05:19.207Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-06-03T00:05:19.207Z] ---> Running in 744f9a303818 [2022-06-03T00:05:19.501Z] Removing intermediate container 744f9a303818 [2022-06-03T00:05:19.501Z] ---> 9c8d3b3fbbe2 [2022-06-03T00:05:19.501Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-03T00:05:19.776Z] ---> Running in 7882f053817b [2022-06-03T00:05:20.052Z] Removing intermediate container 7882f053817b [2022-06-03T00:05:20.052Z] ---> 269a588d998c [2022-06-03T00:05:20.052Z] Step 22/24 : LABEL arch=arm64 [2022-06-03T00:05:20.052Z] ---> Running in 10a07a39f26f [2022-06-03T00:05:20.330Z] Removing intermediate container 10a07a39f26f [2022-06-03T00:05:20.330Z] ---> fcde56de3ad0 [2022-06-03T00:05:20.330Z] Step 23/24 : LABEL git_sha=4b23375dcce320ad569d9d249cfde0b2aefa88a9 [2022-06-03T00:05:20.606Z] ---> Running in e2d49acead6f [2022-06-03T00:05:20.880Z] Removing intermediate container e2d49acead6f [2022-06-03T00:05:20.880Z] ---> 79a67b0e5b67 [2022-06-03T00:05:20.880Z] Step 24/24 : LABEL version=0.0.0 [2022-06-03T00:05:20.880Z] ---> Running in 67fc88af3608 [2022-06-03T00:05:21.154Z] Removing intermediate container 67fc88af3608 [2022-06-03T00:05:21.154Z] ---> 6b4bef04aa08 [2022-06-03T00:05:21.154Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-03T00:05:21.426Z] Successfully built 6b4bef04aa08 [2022-06-03T00:05:21.426Z] 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-06-03T00:05:22.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T00:05:22.268Z] [2022-06-03T00:05:22.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:05:22.690Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T00:05:22.967Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-03T00:05:22.967Z] 8998bd30e6a1: Pulling fs layer [2022-06-03T00:05:22.967Z] 04944245beec: Pulling fs layer [2022-06-03T00:05:22.967Z] 699f458cf7ca: Pulling fs layer [2022-06-03T00:05:22.967Z] 765212b225bb: Pulling fs layer [2022-06-03T00:05:22.967Z] f23df028b6ca: Pulling fs layer [2022-06-03T00:05:22.967Z] d65c8cfc05b1: Pulling fs layer [2022-06-03T00:05:22.967Z] 2437ff75d9bd: Pulling fs layer [2022-06-03T00:05:22.967Z] 765212b225bb: Waiting [2022-06-03T00:05:22.967Z] f23df028b6ca: Waiting [2022-06-03T00:05:22.967Z] d65c8cfc05b1: Waiting [2022-06-03T00:05:22.967Z] 2437ff75d9bd: Waiting [2022-06-03T00:05:22.967Z] 04944245beec: Verifying Checksum [2022-06-03T00:05:22.967Z] 04944245beec: Download complete [2022-06-03T00:05:22.967Z] 765212b225bb: Verifying Checksum [2022-06-03T00:05:22.967Z] 765212b225bb: Download complete [2022-06-03T00:05:22.967Z] f23df028b6ca: Verifying Checksum [2022-06-03T00:05:22.967Z] f23df028b6ca: Download complete [2022-06-03T00:05:22.967Z] d65c8cfc05b1: Verifying Checksum [2022-06-03T00:05:22.967Z] d65c8cfc05b1: Download complete [2022-06-03T00:05:23.243Z] 699f458cf7ca: Verifying Checksum [2022-06-03T00:05:23.243Z] 699f458cf7ca: Download complete [2022-06-03T00:05:23.521Z] 8998bd30e6a1: Verifying Checksum [2022-06-03T00:05:23.521Z] 8998bd30e6a1: Download complete [2022-06-03T00:05:26.153Z] 2437ff75d9bd: Verifying Checksum [2022-06-03T00:05:26.153Z] 2437ff75d9bd: Download complete [2022-06-03T00:05:28.139Z] 8998bd30e6a1: Pull complete [2022-06-03T00:05:28.415Z] 04944245beec: Pull complete [2022-06-03T00:05:30.415Z] 699f458cf7ca: Pull complete [2022-06-03T00:05:30.415Z] 765212b225bb: Pull complete [2022-06-03T00:05:31.014Z] f23df028b6ca: Pull complete [2022-06-03T00:05:31.290Z] d65c8cfc05b1: Pull complete [2022-06-03T00:05:46.391Z] 2437ff75d9bd: Pull complete [2022-06-03T00:05:46.391Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-03T00:05:46.391Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-03T00:05:46.391Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:05:46.775Z] prd-ubuntu20.04-docker-arm64-4c-16g-738 does not seem to be running inside a container [2022-06-03T00:05:46.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-03T00:05:49.493Z] $ docker top 4692b3072ff00b55f8a6ddc50919705b9cd2167e5ffa4f83a0de9980fb9daac7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:05:50.489Z] ---> job-cost.sh [2022-06-03T00:05:50.489Z] lf-activate-venv: SKIPPING [2022-06-03T00:05:50.489Z] INFO: No Stack... [2022-06-03T00:05:50.765Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-03T00:05:51.748Z] INFO: Archiving Costs [Pipeline] sh [2022-06-03T00:05:52.437Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-06-03T00:05:52.437Z] + cut -d, -f6 [Pipeline] lock [2022-06-03T00:05:52.527Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] [2022-06-03T00:05:52.532Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] did not exist. Created. [2022-06-03T00:05:52.532Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-03T00:05:53.277Z] /w/workspace/device-rest-go/1@tmp/durable-a8b38bf8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-03T00:05:53.979Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-03T00:05:54.023Z] Warning: overwriting stash ‘stack-cost’ [2022-06-03T00:05:54.261Z] Stashed 1 file(s) [Pipeline] } [2022-06-03T00:05:54.276Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-03T00:05:54.365Z] $ docker stop --time=1 4692b3072ff00b55f8a6ddc50919705b9cd2167e5ffa4f83a0de9980fb9daac7 [2022-06-03T00:05:55.862Z] $ docker rm -f 4692b3072ff00b55f8a6ddc50919705b9cd2167e5ffa4f83a0de9980fb9daac7 [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-06-03T00:05:56.859Z] provisioning config files... [2022-06-03T00:05:56.869Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-194@tmp/config5886924516456364874tmp [Pipeline] { [Pipeline] sh [2022-06-03T00:05:57.202Z] + set +x [2022-06-03T00:05:57.202Z] + + curl -s https://codecov.io/bash [2022-06-03T00:05:57.202Z] bash -s -- [2022-06-03T00:05:57.202Z] [2022-06-03T00:05:57.202Z] _____ _ [2022-06-03T00:05:57.202Z] / ____| | | [2022-06-03T00:05:57.202Z] | | ___ __| | ___ ___ _____ __ [2022-06-03T00:05:57.202Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-03T00:05:57.202Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-03T00:05:57.202Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-03T00:05:57.202Z] Bash-1.0.6 [2022-06-03T00:05:57.202Z] [2022-06-03T00:05:57.202Z] [2022-06-03T00:05:57.202Z] ==> git version 2.25.1 found [2022-06-03T00:05:57.202Z] ==> 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-06-03T00:05:57.202Z] Release-Date: 2020-01-08 [2022-06-03T00:05:57.202Z] 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-06-03T00:05:57.203Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-03T00:05:57.203Z] ==> Jenkins CI detected. [2022-06-03T00:05:57.203Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-194 [2022-06-03T00:05:57.203Z] project root: . [2022-06-03T00:05:57.203Z] --> token set from env [2022-06-03T00:05:57.203Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-03T00:05:57.203Z] ==> Running gcov in . (disable via -X gcov) [2022-06-03T00:05:57.203Z] ==> Python coveragepy not found [2022-06-03T00:05:57.203Z] ==> Searching for coverage reports in: [2022-06-03T00:05:57.203Z] + . [2022-06-03T00:05:57.203Z] -> Found 1 reports [2022-06-03T00:05:57.203Z] ==> Detecting git/mercurial file structure [2022-06-03T00:05:57.203Z] ==> Reading reports [2022-06-03T00:05:57.203Z] + ./coverage.out bytes=9215 [2022-06-03T00:05:57.203Z] ==> Appending adjustments [2022-06-03T00:05:57.203Z] https://docs.codecov.io/docs/fixing-reports [2022-06-03T00:05:57.463Z] + Found adjustments [2022-06-03T00:05:57.463Z] ==> Gzipping contents [2022-06-03T00:05:57.463Z] 12K /tmp/codecov.aWUfru.gz [2022-06-03T00:05:57.463Z] ==> Uploading reports [2022-06-03T00:05:57.463Z] url: https://codecov.io [2022-06-03T00:05:57.463Z] query: branch=PR-194&commit=4b23375dcce320ad569d9d249cfde0b2aefa88a9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-194%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=194&job=&cmd_args= [2022-06-03T00:05:57.463Z] -> Pinging Codecov [2022-06-03T00:05:57.463Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-194&commit=4b23375dcce320ad569d9d249cfde0b2aefa88a9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-194%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=194&job=&cmd_args= [2022-06-03T00:05:57.722Z] -> Uploading to [2022-06-03T00:05:57.722Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-03/4E5D53B4F1F92C436F7061BF334D961C/4b23375dcce320ad569d9d249cfde0b2aefa88a9/54ddc604-e9e0-4f3a-985c-a5e79b68cffb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220603%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220603T000557Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=64c833ebb27ef0283509a9f44649c0265743f1ee110865e5923081c132a76719 [2022-06-03T00:05:57.722Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-03T00:05:57.722Z] Dload Upload Total Spent Left Speed [2022-06-03T00:05:57.981Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8322 0 0 100 8322 0 33967 --:--:-- --:--:-- --:--:-- 33967 [2022-06-03T00:05:57.981Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/4b23375dcce320ad569d9d249cfde0b2aefa88a9 [Pipeline] } [2022-06-03T00:05:58.006Z] 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-06-03T00:05:59.717Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-194/archives ] [2022-06-03T00:05:59.718Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-194/archives [2022-06-03T00:05:59.718Z] total 16 [2022-06-03T00:05:59.718Z] drwxr-xr-x 3 root root 4096 Jun 2 23:59 . [2022-06-03T00:05:59.718Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 2 23:59 .. [2022-06-03T00:05:59.718Z] drwxr-xr-x 2 root root 4096 Jun 2 23:59 cost [2022-06-03T00:05:59.718Z] -rw-r--r-- 1 root root 85 Jun 2 23:59 cost.csv [2022-06-03T00:05:59.718Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-194/archives [2022-06-03T00:05:59.718Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-194/archives [2022-06-03T00:05:59.718Z] total 16 [2022-06-03T00:05:59.718Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 23:59 . [2022-06-03T00:05:59.718Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 2 23:59 .. [2022-06-03T00:05:59.718Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 23:59 cost [2022-06-03T00:05:59.718Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 2 23:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:06:00.053Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:06:00.958Z] ---> package-listing.sh [2022-06-03T00:06:00.958Z] ++ facter osfamily [2022-06-03T00:06:00.958Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-03T00:06:01.219Z] + OS_FAMILY=debian [2022-06-03T00:06:01.219Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-194 [2022-06-03T00:06:01.219Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-03T00:06:01.219Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-03T00:06:01.219Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-03T00:06:01.219Z] + PACKAGES=/tmp/packages_start.txt [2022-06-03T00:06:01.219Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-194 ']' [2022-06-03T00:06:01.219Z] + PACKAGES=/tmp/packages_end.txt [2022-06-03T00:06:01.219Z] + case "${OS_FAMILY}" in [2022-06-03T00:06:01.219Z] + dpkg -l [2022-06-03T00:06:01.219Z] + grep '^ii' [2022-06-03T00:06:01.219Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-03T00:06:01.219Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-03T00:06:01.219Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-03T00:06:01.219Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-194 ']' [2022-06-03T00:06:01.219Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-194/archives/ [2022-06-03T00:06:01.219Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-194/archives/ [Pipeline] echo [2022-06-03T00:06:01.258Z] 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-194/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-03T00:06:01.560Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-03T00:06:02.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-03T00:06:02.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-03T00:06:02.351Z] prd-ubuntu20.04-docker-8c-8g-736 does not seem to be running inside a container [2022-06-03T00:06:02.386Z] $ 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-194/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-194 -v /w/workspace/gexfoundry_device-rest-go_PR-194:/w/workspace/gexfoundry_device-rest-go_PR-194:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-194@tmp:/w/workspace/gexfoundry_device-rest-go_PR-194@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-03T00:06:02.630Z] $ docker top 677036145b0afb6cb869e68fc5d86d5a2962cbcef4a478755d657a67a2f97e95 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-03T00:06:03.031Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-03T00:06:03.344Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-03T00:06:03.654Z] + ls /var/log/sa-host [2022-06-03T00:06:03.654Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-03T00:06:03.843Z] provisioning config files... [2022-06-03T00:06:03.855Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-194@tmp/config973073212316898171tmp [Pipeline] { [Pipeline] echo [2022-06-03T00:06:03.902Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:06:04.213Z] ---> create-netrc.sh [Pipeline] } [2022-06-03T00:06:04.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:06:04.647Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-03T00:06:04.680Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:06:04.995Z] ---> sudo-logs.sh [2022-06-03T00:06:04.995Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-03T00:06:05.094Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:06:05.411Z] ---> job-cost.sh [2022-06-03T00:06:05.411Z] lf-activate-venv: SKIPPING [2022-06-03T00:06:05.411Z] DEBUG: total: 0.2199999988079071 [2022-06-03T00:06:05.411Z] INFO: Retrieving Stack Cost... [2022-06-03T00:06:05.674Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-03T00:06:06.246Z] INFO: Archiving Costs [Pipeline] echo [2022-06-03T00:06:06.275Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-03T00:06:06.590Z] ---> logs-deploy.sh [2022-06-03T00:06:06.590Z] lf-activate-venv: SKIPPING [2022-06-03T00:06:06.590Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-194/1 [2022-06-03T00:06:06.590Z] INFO: archiving workspace using pattern(s): [2022-06-03T00:06:07.532Z] Archives upload complete. [2022-06-03T00:06:07.532Z] INFO: archiving logs to Nexus