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 23:58:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:58:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:58:03 ========================================================= 23:58:03 EdgeX Global Pipelines Version Info 23:58:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:58:03 ------------------- 23:58:03 stable info: 23:58:03 ------------------- 23:58:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:58:03 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:58:03 Message: update stable to v1.0.230 23:58:04 ------------------- 23:58:04 experimental info: 23:58:04 ------------------- 23:58:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:58:04 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 23:58:04 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:58:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:58:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-194 [Pipeline] echo 23:58:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-194 [Pipeline] echo 23:58:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-194 [Pipeline] echo 23:58:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b23375dcce320ad569d9d249cfde0b2aefa88a9 [Pipeline] echo 23:58:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b23375 [Pipeline] echo 23:58:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:58:06 provisioning config files... 23:58:06 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-194@tmp/config8522245621603795404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:58:06 ---> docker-login.sh 23:58:06 nexus3.edgexfoundry.org:10001 23:58:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:06 Configure a credential helper to remove this warning. See 23:58:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:06 23:58:06 Login Succeeded 23:58:06 nexus3.edgexfoundry.org:10002 23:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:07 Configure a credential helper to remove this warning. See 23:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:07 23:58:07 Login Succeeded 23:58:07 nexus3.edgexfoundry.org:10003 23:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:07 Configure a credential helper to remove this warning. See 23:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:07 23:58:07 Login Succeeded 23:58:07 nexus3.edgexfoundry.org:10004 23:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:07 Configure a credential helper to remove this warning. See 23:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:07 23:58:07 Login Succeeded 23:58:07 docker.io 23:58:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:07 Configure a credential helper to remove this warning. See 23:58:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:07 23:58:07 Login Succeeded 23:58:07 ---> docker-login.sh ends [Pipeline] } 23:58:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:58:08 + git rev-list -1 --merges 4b23375dcce320ad569d9d249cfde0b2aefa88a9~1..4b23375dcce320ad569d9d249cfde0b2aefa88a9 [Pipeline] echo 23:58:08 -----------> git rev-list -1 --merges 4b23375dcce320ad569d9d249cfde0b2aefa88a9~1..4b23375dcce320ad569d9d249cfde0b2aefa88a9 4b23375dcce320ad569d9d249cfde0b2aefa88a9 [false] [Pipeline] sh 23:58:08 + git log --format=format:%s -1 4b23375dcce320ad569d9d249cfde0b2aefa88a9 [Pipeline] echo 23:58:09 ========================================================= 23:58:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:58:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:58:09 + git log --format=format:%s -1 4b23375dcce320ad569d9d249cfde0b2aefa88a9 [Pipeline] echo 23:58:09 [semverPrep] GIT_COMMIT: 4b23375dcce320ad569d9d249cfde0b2aefa88a9, Commit Message: build: Update to released SDK and go-mods and change log for 2.1.1 patch [Pipeline] echo 23:58:09 [semverPrep] This is not a build commit. [Pipeline] sh 23:58:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:58:09 + grep -v github /etc/ssh/ssh_known_hosts 23:58:09 + [ -e /tmp/ssh_known_hosts ] 23:58:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:58:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:58:09 + sudo tee -a /etc/ssh/ssh_known_hosts 23:58:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:58:10 23:58:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:58:10 latest: Pulling from edgex-devops/py-git-semver 23:58:10 42c077c10790: Pulling fs layer 23:58:10 f63e77b7563a: Pulling fs layer 23:58:10 bd5fdadae976: Pulling fs layer 23:58:10 205491f53016: Pulling fs layer 23:58:10 df18705c85c3: Pulling fs layer 23:58:10 bdb3f477010e: Pulling fs layer 23:58:10 c8a8fc8e1c8f: Pulling fs layer 23:58:10 2c6e9b1d212d: Pulling fs layer 23:58:10 bdb8f0575790: Pulling fs layer 23:58:10 386e3cb2ff24: Pulling fs layer 23:58:10 2343380bae48: Pulling fs layer 23:58:10 c8a8fc8e1c8f: Waiting 23:58:10 386e3cb2ff24: Waiting 23:58:10 2343380bae48: Waiting 23:58:10 bdb8f0575790: Waiting 23:58:10 205491f53016: Waiting 23:58:10 2c6e9b1d212d: Waiting 23:58:10 bdb3f477010e: Waiting 23:58:10 f63e77b7563a: Verifying Checksum 23:58:10 f63e77b7563a: Download complete 23:58:10 205491f53016: Verifying Checksum 23:58:10 205491f53016: Download complete 23:58:10 df18705c85c3: Verifying Checksum 23:58:10 df18705c85c3: Download complete 23:58:10 bdb3f477010e: Verifying Checksum 23:58:10 bdb3f477010e: Download complete 23:58:10 bd5fdadae976: Verifying Checksum 23:58:10 bd5fdadae976: Download complete 23:58:10 2c6e9b1d212d: Download complete 23:58:10 bdb8f0575790: Verifying Checksum 23:58:10 bdb8f0575790: Download complete 23:58:10 386e3cb2ff24: Verifying Checksum 23:58:10 386e3cb2ff24: Download complete 23:58:10 42c077c10790: Verifying Checksum 23:58:10 42c077c10790: Download complete 23:58:10 2343380bae48: Verifying Checksum 23:58:10 2343380bae48: Download complete 23:58:11 c8a8fc8e1c8f: Verifying Checksum 23:58:11 c8a8fc8e1c8f: Download complete 23:58:12 42c077c10790: Pull complete 23:58:12 f63e77b7563a: Pull complete 23:58:12 bd5fdadae976: Pull complete 23:58:13 205491f53016: Pull complete 23:58:13 df18705c85c3: Pull complete 23:58:13 bdb3f477010e: Pull complete 23:58:15 c8a8fc8e1c8f: Pull complete 23:58:15 2c6e9b1d212d: Pull complete 23:58:15 bdb8f0575790: Pull complete 23:58:15 386e3cb2ff24: Pull complete 23:58:15 2343380bae48: Pull complete 23:58:15 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 23:58:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:58:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:15 prd-ubuntu20.04-docker-8c-8g-736 does not seem to be running inside a container 23:58:15 $ 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 23:58:17 $ docker top 89de13889542de62bbfd3af97f71dc139c2242a5b123f9652decbc0bcb4dbaea -eo pid,comm 23:58:17 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). 23:58:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:58:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:17 [ssh-agent] Looking for ssh-agent implementation... 23:58:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:17 $ docker exec 89de13889542de62bbfd3af97f71dc139c2242a5b123f9652decbc0bcb4dbaea ssh-agent 23:58:17 SSH_AUTH_SOCK=/tmp/ssh-ZtfqGLM14fGg/agent.33 23:58:17 SSH_AGENT_PID=40 23:58:17 Running ssh-add (command line suppressed) 23:58:17 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) 23:58:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:18 + git tag --points-at HEAD [Pipeline] } 23:58:18 $ docker exec --env ******** --env ******** 89de13889542de62bbfd3af97f71dc139c2242a5b123f9652decbc0bcb4dbaea ssh-agent -k 23:58:18 unset SSH_AUTH_SOCK; 23:58:18 unset SSH_AGENT_PID; 23:58:18 echo Agent pid 40 killed; 23:58:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:58:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:58:18 [ssh-agent] Looking for ssh-agent implementation... 23:58:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:58:18 $ docker exec 89de13889542de62bbfd3af97f71dc139c2242a5b123f9652decbc0bcb4dbaea ssh-agent 23:58:18 SSH_AUTH_SOCK=/tmp/ssh-MaTETMMeAEOj/agent.74 23:58:18 SSH_AGENT_PID=80 23:58:18 Running ssh-add (command line suppressed) 23:58:18 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) 23:58:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:58:19 + git semver init 23:58:19 2022-06-02 23:58:19,383 [run_init] DEBUG init version:0.0.0 force:False 23:58:19 2022-06-02 23:58:19,384 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-194/.semver 23:58:19 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 23:58:19 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) 23:58:20 2022-06-02 23:58:20,287 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-194/.git/info/exclude 23:58:20 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 23:58:20 2022-06-02 23:58:20,288 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-194/.semver/PR-194 23:58:20 2022-06-02 23:58:20,292 [execute] INFO git cat-file --batch-check 23:58:20 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=) 23:58:20 2022-06-02 23:58:20,298 [execute] INFO git cat-file --batch 23:58:20 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=) 23:58:20 2022-06-02 23:58:20,303 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-194/.semver/PR-194 23:58:20 0.0.0 [Pipeline] } 23:58:20 $ docker exec --env ******** --env ******** 89de13889542de62bbfd3af97f71dc139c2242a5b123f9652decbc0bcb4dbaea ssh-agent -k 23:58:20 unset SSH_AUTH_SOCK; 23:58:20 unset SSH_AGENT_PID; 23:58:20 echo Agent pid 80 killed; 23:58:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:58:21 + git semver [Pipeline] } 23:58:21 $ docker stop --time=1 89de13889542de62bbfd3af97f71dc139c2242a5b123f9652decbc0bcb4dbaea 23:58:22 $ docker rm -f 89de13889542de62bbfd3af97f71dc139c2242a5b123f9652decbc0bcb4dbaea [Pipeline] // withDockerContainer [Pipeline] sh 23:58:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:58:23 Stashed 1 file(s) [Pipeline] echo 23:58:23 [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 23:58:23 provisioning config files... 23:58:23 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-194@tmp/config4458288570567013195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:58:24 ---> docker-login.sh 23:58:24 nexus3.edgexfoundry.org:10001 23:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:24 Configure a credential helper to remove this warning. See 23:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:24 23:58:24 Login Succeeded 23:58:24 nexus3.edgexfoundry.org:10002 23:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:24 Configure a credential helper to remove this warning. See 23:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:24 23:58:24 Login Succeeded 23:58:24 nexus3.edgexfoundry.org:10003 23:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:24 Configure a credential helper to remove this warning. See 23:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:24 23:58:24 Login Succeeded 23:58:24 nexus3.edgexfoundry.org:10004 23:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:24 Configure a credential helper to remove this warning. See 23:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:24 23:58:24 Login Succeeded 23:58:24 docker.io 23:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:58:25 Configure a credential helper to remove this warning. See 23:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:58:25 23:58:25 Login Succeeded 23:58:25 ---> docker-login.sh ends [Pipeline] } 23:58:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:58:25 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:58:25 ========================================================= 23:58:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 23:58:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:25 + 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 . 23:58:26 Sending build context to Docker daemon 21.64MB 23:58:26 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:58:26 Step 2/11 : FROM ${BASE} AS builder 23:58:26 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 23:58:26 59bf1c3509f3: Pulling fs layer 23:58:26 666ba61612fd: Pulling fs layer 23:58:26 8ed8ca486205: Pulling fs layer 23:58:26 4fe6c5a15a65: Pulling fs layer 23:58:26 22a0e8bec74d: Pulling fs layer 23:58:26 812f408151ee: Pulling fs layer 23:58:26 bab7bd504b26: Pulling fs layer 23:58:26 070449caade9: Pulling fs layer 23:58:26 8f1a5288e3a6: Pulling fs layer 23:58:26 4fe6c5a15a65: Waiting 23:58:26 22a0e8bec74d: Waiting 23:58:26 070449caade9: Waiting 23:58:26 8f1a5288e3a6: Waiting 23:58:26 bab7bd504b26: Waiting 23:58:26 812f408151ee: Waiting 23:58:26 8ed8ca486205: Verifying Checksum 23:58:26 8ed8ca486205: Download complete 23:58:26 666ba61612fd: Verifying Checksum 23:58:26 666ba61612fd: Download complete 23:58:26 22a0e8bec74d: Verifying Checksum 23:58:26 22a0e8bec74d: Download complete 23:58:26 59bf1c3509f3: Download complete 23:58:26 812f408151ee: Verifying Checksum 23:58:26 812f408151ee: Download complete 23:58:26 bab7bd504b26: Verifying Checksum 23:58:26 bab7bd504b26: Download complete 23:58:26 070449caade9: Verifying Checksum 23:58:26 070449caade9: Download complete 23:58:26 59bf1c3509f3: Pull complete 23:58:26 666ba61612fd: Pull complete 23:58:26 8ed8ca486205: Pull complete 23:58:26 8f1a5288e3a6: Verifying Checksum 23:58:26 8f1a5288e3a6: Download complete 23:58:27 4fe6c5a15a65: Download complete 23:58:30 4fe6c5a15a65: Pull complete 23:58:30 22a0e8bec74d: Pull complete 23:58:30 812f408151ee: Pull complete 23:58:30 bab7bd504b26: Pull complete 23:58:30 070449caade9: Pull complete 23:58:32 8f1a5288e3a6: Pull complete 23:58:32 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 23:58:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 23:58:32 ---> c47586b81864 23:58:32 Step 3/11 : ARG MAKE='make build' 23:58:34 ---> Running in 170101cc935a 23:58:34 Removing intermediate container 170101cc935a 23:58:34 ---> b10204b66c6c 23:58:34 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:58:34 ---> Running in d6ad02019a67 23:58:34 Removing intermediate container d6ad02019a67 23:58:34 ---> f4f5eecc050b 23:58:34 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 23:58:34 ---> Running in e5971ed5346a 23:58:34 Removing intermediate container e5971ed5346a 23:58:34 ---> 6925088b02c4 23:58:34 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:58:34 ---> Running in c8e53be2fa4f 23:58:35 Removing intermediate container c8e53be2fa4f 23:58:35 ---> 567563a7792b 23:58:35 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:58:35 ---> Running in d1d7563b0b52 23:58:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:58:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:58:36 (1/4) Installing openssh-keygen (8.8_p1-r1) 23:58:36 (2/4) Installing libedit (20210910.3.1-r0) 23:58:36 (3/4) Installing openssh-client-common (8.8_p1-r1) 23:58:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 23:58:37 Executing busybox-1.34.1-r3.trigger 23:58:37 OK: 224 MiB in 56 packages 23:58:37 Removing intermediate container d1d7563b0b52 23:58:37 ---> 1c2a7eeb3851 23:58:37 Step 8/11 : WORKDIR /device-rest-go 23:58:37 ---> Running in 71a0b2b2bae0 23:58:37 Removing intermediate container 71a0b2b2bae0 23:58:37 ---> a88ecce95dba 23:58:37 Step 9/11 : COPY . . 23:58:38 Still waiting to schedule task 23:58:38 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-735’ 23:58:39 ---> 1645e388a39a 23:58:39 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:58:39 ---> Running in 41b9ca2ab980 23:58:39 skipping... 23:58:39 Removing intermediate container 41b9ca2ab980 23:58:39 ---> 08d521b43a19 23:58:39 Step 11/11 : RUN $MAKE 23:58:39 ---> Running in efd30375b2e7 23:58:39 noop 23:58:40 Removing intermediate container efd30375b2e7 23:58:40 ---> b147937c6d2c 23:58:40 Successfully built b147937c6d2c 23:58:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:40 + docker inspect -f . ci-base-image-x86_64 23:58:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:40 prd-ubuntu20.04-docker-8c-8g-736 does not seem to be running inside a container 23:58:40 $ 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 23:58:41 $ docker top cbe6118396759c82b6ec20cabfc439f50316aba3c4e576c6de63c6105872104f -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:42 + go version 23:58:42 go version go1.17.6 linux/amd64 [Pipeline] } 23:58:42 $ docker stop --time=1 cbe6118396759c82b6ec20cabfc439f50316aba3c4e576c6de63c6105872104f 23:58:43 $ 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 23:58:44 + docker inspect -f . ci-base-image-x86_64 23:58:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:44 prd-ubuntu20.04-docker-8c-8g-736 does not seem to be running inside a container 23:58:44 $ 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 23:58:44 $ docker top db8847bd3b96de628e63425909056d1be6b02e43cc7e3c5bf54332c74c0234dd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:58:45 + make test 23:58:45 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:58:45 ? github.com/edgexfoundry/device-rest-go [no test files] 23:58:52 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:58:52 ok github.com/edgexfoundry/device-rest-go/driver 0.011s coverage: 56.0% of statements 23:58:52 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:58:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:58:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:58:55 ./bin/test-attribution-txt.sh 23:58:55 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 23:58:55 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 23:58:55 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:58:55 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:58:55 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 23:58:55 go: downloading github.com/google/uuid v1.3.0 23:58:55 go: downloading github.com/gorilla/mux v1.8.0 23:58:55 go: downloading github.com/spf13/cast v1.4.1 23:58:55 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 23:58:55 go: downloading github.com/stretchr/testify v1.7.0 23:58:55 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 23:58:55 go: downloading github.com/pelletier/go-toml v1.9.4 23:58:55 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:58:55 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 23:58:55 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 23:58:55 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 23:58:55 go: downloading github.com/hashicorp/consul/api v1.9.1 23:58:55 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:58:55 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:58:55 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:58:55 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:58:55 go: downloading github.com/go-playground/validator/v10 v10.9.0 23:58:55 go: downloading github.com/go-kit/kit v0.11.0 23:58:55 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:58:55 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:58:55 go: downloading github.com/pebbe/zmq4 v1.2.7 23:58:55 go: downloading github.com/davecgh/go-spew v1.1.1 23:58:55 go: downloading github.com/pmezard/go-difflib v1.0.0 23:58:55 go: downloading github.com/go-logfmt/logfmt v0.5.0 23:58:55 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:58:55 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:58:55 go: downloading github.com/mitchellh/copystructure v1.0.0 23:58:55 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:58:55 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 23:58:55 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 23:58:55 go: downloading golang.org/x/text v0.3.6 23:58:55 go: downloading github.com/hashicorp/errwrap v1.0.0 23:58:56 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:58:56 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:58:56 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:58:56 go: downloading github.com/hashicorp/serf v0.9.5 23:58:56 go: downloading github.com/gorilla/websocket v1.4.2 23:58:56 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:58:56 go: downloading github.com/go-playground/universal-translator v0.18.0 23:58:56 go: downloading github.com/leodido/go-urn v1.2.1 23:58:56 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 23:58:56 go: downloading github.com/x448/float16 v0.8.4 23:58:56 go: downloading github.com/fatih/color v1.9.0 23:58:56 go: downloading github.com/mattn/go-colorable v0.1.6 23:58:56 go: downloading github.com/mattn/go-isatty v0.0.12 23:58:56 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:58:56 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 23:58:57 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:58:57 + go mod tidy 23:58:57 go: downloading github.com/go-stack/stack v1.8.0 23:58:57 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 23:58:57 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:58:57 go: downloading github.com/stretchr/objx v0.1.1 23:58:57 go: downloading github.com/hashicorp/consul/sdk v0.8.0 23:58:57 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:58:57 go: downloading github.com/onsi/ginkgo v1.10.1 23:58:57 go: downloading github.com/onsi/gomega v1.7.0 23:58:58 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:58:58 go: downloading github.com/hashicorp/memberlist v0.2.2 23:58:58 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:58:58 go: downloading github.com/kr/pretty v0.3.0 23:58:58 go: downloading github.com/pkg/errors v0.9.1 23:58:58 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:58:58 go: downloading github.com/kr/text v0.2.0 23:58:58 go: downloading github.com/rogpeppe/go-internal v1.8.0 23:58:58 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:58:58 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:58:58 go: downloading github.com/miekg/dns v1.1.26 23:58:58 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:58:58 go: downloading github.com/hpcloud/tail v1.0.0 23:58:58 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:58:58 go: downloading gopkg.in/fsnotify.v1 v1.4.7 23:58:58 go: downloading gopkg.in/yaml.v2 v2.3.0 [Pipeline] } 23:58:58 $ docker stop --time=1 db8847bd3b96de628e63425909056d1be6b02e43cc7e3c5bf54332c74c0234dd 23:59:00 $ docker rm -f db8847bd3b96de628e63425909056d1be6b02e43cc7e3c5bf54332c74c0234dd [Pipeline] // withDockerContainer [Pipeline] sh 23:59:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:59:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:59:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:59:01 + ls -al . 23:59:01 total 184 23:59:01 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 23:58 . 23:59:01 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:57 .. 23:59:01 -rw-rw-r-- 1 jenkins jenkins 151 Jun 2 23:57 .dockerignore 23:59:01 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:58 .git 23:59:01 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:57 .github 23:59:01 -rw-rw-r-- 1 jenkins jenkins 321 Jun 2 23:57 .gitignore 23:59:01 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 23:58 .semver 23:59:01 -rw-rw-r-- 1 jenkins jenkins 7095 Jun 2 23:57 Attribution.txt 23:59:01 -rw-rw-r-- 1 jenkins jenkins 7718 Jun 2 23:57 CHANGELOG.md 23:59:01 -rw-rw-r-- 1 jenkins jenkins 1649 Jun 2 23:57 Dockerfile 23:59:01 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 23:57 GOVERNANCE.md 23:59:01 -rw-rw-r-- 1 jenkins jenkins 680 Jun 2 23:57 Jenkinsfile 23:59:01 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 23:57 LICENSE 23:59:01 -rw-rw-r-- 1 jenkins jenkins 1078 Jun 2 23:57 Makefile 23:59:01 -rw-rw-r-- 1 jenkins jenkins 620 Jun 2 23:57 OWNERS.md 23:59:01 -rw-rw-r-- 1 jenkins jenkins 8246 Jun 2 23:57 README.md 23:59:01 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 23:58 VERSION 23:59:01 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:57 bin 23:59:01 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:57 cmd 23:59:01 -rw-r--r-- 1 jenkins jenkins 9215 Jun 2 23:58 coverage.out 23:59:01 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:57 driver 23:59:01 -rw-rw-r-- 1 jenkins jenkins 271 Jun 2 23:58 go.mod 23:59:01 -rw-rw-r-- 1 jenkins jenkins 49306 Jun 2 23:57 go.sum 23:59:01 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:57 snap 23:59:01 drwxrwxr-x 6 jenkins jenkins 4096 Jun 2 23:57 vendor 23:59:01 -rw-rw-r-- 1 jenkins jenkins 713 Jun 2 23:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:02 + 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 . 23:59:02 Sending build context to Docker daemon 21.65MB 23:59:02 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 23:59:02 Step 2/24 : FROM ${BASE} AS builder 23:59:02 ---> b147937c6d2c 23:59:02 Step 3/24 : ARG MAKE='make build' 23:59:02 ---> Running in ab8603e7b5e3 23:59:02 Removing intermediate container ab8603e7b5e3 23:59:02 ---> 557b1db4f975 23:59:02 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:59:02 ---> Running in b6ee6645dfa3 23:59:02 Removing intermediate container b6ee6645dfa3 23:59:02 ---> 00730f7739fe 23:59:02 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 23:59:02 ---> Running in 25a559c79ec7 23:59:03 Removing intermediate container 25a559c79ec7 23:59:03 ---> d3d22aafc987 23:59:03 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:59:03 ---> Running in 48f8dac748ef 23:59:03 Removing intermediate container 48f8dac748ef 23:59:03 ---> 1fce9c9c02fc 23:59:03 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:59:03 ---> Running in 46a6cfc538c0 23:59:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:59:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:59:05 OK: 224 MiB in 56 packages 23:59:05 Removing intermediate container 46a6cfc538c0 23:59:05 ---> 8749b469c4ce 23:59:05 Step 8/24 : WORKDIR /device-rest-go 23:59:05 ---> Running in 2e2b6143fb82 23:59:05 Removing intermediate container 2e2b6143fb82 23:59:05 ---> 96f9d3c0f759 23:59:05 Step 9/24 : COPY . . 23:59:06 ---> 326e241ce2d3 23:59:06 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:59:06 ---> Running in d8258ef695c6 23:59:06 skipping... 23:59:07 Removing intermediate container d8258ef695c6 23:59:07 ---> 45b5238efdb3 23:59:07 Step 11/24 : RUN $MAKE 23:59:07 ---> Running in dad879be6005 23:59:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 23:59:15 Removing intermediate container dad879be6005 23:59:15 ---> 6162876cc0e2 23:59:15 Step 12/24 : FROM alpine:3.14 23:59:15 3.14: Pulling from library/alpine 23:59:15 8663204ce13b: Pulling fs layer 23:59:15 8663204ce13b: Verifying Checksum 23:59:15 8663204ce13b: Download complete 23:59:15 8663204ce13b: Pull complete 23:59:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:59:15 Status: Downloaded newer image for alpine:3.14 23:59:15 ---> e04c818066af 23:59:15 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:59:15 ---> Running in 695714f1dd7c 23:59:15 Removing intermediate container 695714f1dd7c 23:59:15 ---> 1de3f1c7fc4e 23:59:15 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 23:59:15 ---> Running in 634ee93ed022 23:59:15 Removing intermediate container 634ee93ed022 23:59:15 ---> c0b905466347 23:59:15 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:59:15 ---> Running in 286be8a41eda 23:59:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:59:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:59:16 (1/6) Installing dumb-init (1.2.5-r1) 23:59:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:59:16 (3/6) Installing libsodium (1.0.18-r0) 23:59:16 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:59:16 (5/6) Installing libzmq (4.3.4-r0) 23:59:16 (6/6) Installing zeromq (4.3.4-r0) 23:59:16 Executing busybox-1.33.1-r7.trigger 23:59:16 OK: 8 MiB in 20 packages 23:59:16 Removing intermediate container 286be8a41eda 23:59:16 ---> 497f0fa2f315 23:59:16 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 23:59:17 ---> 82288a35b1d6 23:59:17 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 23:59:17 ---> 29208e7a344f 23:59:17 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 23:59:17 ---> 01fc6d31805b 23:59:17 Step 19/24 : EXPOSE 59986 23:59:17 ---> Running in 4271b245a1e3 23:59:17 Removing intermediate container 4271b245a1e3 23:59:17 ---> 5f63c4056f93 23:59:17 Step 20/24 : ENTRYPOINT ["/device-rest"] 23:59:17 ---> Running in 324ccffa658a 23:59:17 Removing intermediate container 324ccffa658a 23:59:17 ---> a5dec7e440c7 23:59:17 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:59:17 ---> Running in 32c7361443af 23:59:17 Removing intermediate container 32c7361443af 23:59:17 ---> 937d92817c77 23:59:17 Step 22/24 : LABEL arch=amd64 23:59:17 ---> Running in 9dba92b7347b 23:59:18 Removing intermediate container 9dba92b7347b 23:59:18 ---> 4251bdfbc540 23:59:18 Step 23/24 : LABEL git_sha=4b23375dcce320ad569d9d249cfde0b2aefa88a9 23:59:18 ---> Running in 8ffe71713368 23:59:18 Removing intermediate container 8ffe71713368 23:59:18 ---> 6a8a0a83d073 23:59:18 Step 24/24 : LABEL version=0.0.0 23:59:18 ---> Running in 249827b1d825 23:59:18 Removing intermediate container 249827b1d825 23:59:18 ---> 69da1a701f29 23:59:18 [Warning] One or more build-args [ARCH] were not consumed 23:59:18 Successfully built 69da1a701f29 23:59:18 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 23:59:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:19 23:59:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:19 latest: Pulling from edgex-lftools-log-publisher 23:59:19 5eb5b503b376: Pulling fs layer 23:59:19 5c69ac0246d0: Pulling fs layer 23:59:19 ec43610c2a17: Pulling fs layer 23:59:19 3a2ae6a8a46f: Pulling fs layer 23:59:19 33b1e0a273af: Pulling fs layer 23:59:19 5d3b04190fa2: Pulling fs layer 23:59:19 2f39f015ded8: Pulling fs layer 23:59:19 33b1e0a273af: Waiting 23:59:19 2f39f015ded8: Waiting 23:59:19 5d3b04190fa2: Waiting 23:59:19 3a2ae6a8a46f: Waiting 23:59:19 5c69ac0246d0: Download complete 23:59:19 3a2ae6a8a46f: Verifying Checksum 23:59:19 3a2ae6a8a46f: Download complete 23:59:19 33b1e0a273af: Verifying Checksum 23:59:19 33b1e0a273af: Download complete 23:59:19 5d3b04190fa2: Download complete 23:59:19 ec43610c2a17: Verifying Checksum 23:59:19 5eb5b503b376: Verifying Checksum 23:59:19 5eb5b503b376: Download complete 23:59:20 2f39f015ded8: Verifying Checksum 23:59:20 2f39f015ded8: Download complete 23:59:21 5eb5b503b376: Pull complete 23:59:21 5c69ac0246d0: Pull complete 23:59:21 ec43610c2a17: Pull complete 23:59:21 3a2ae6a8a46f: Pull complete 23:59:22 33b1e0a273af: Pull complete 23:59:22 5d3b04190fa2: Pull complete 23:59:26 2f39f015ded8: Pull complete 23:59:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:59:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:59:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:59:26 prd-ubuntu20.04-docker-8c-8g-736 does not seem to be running inside a container 23:59:26 $ 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 23:59:28 $ docker top eeda2ef8c4b0d44398b35cb774eaf5913e04116140368d1599f7c98f763aae05 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:59:28 ---> job-cost.sh 23:59:28 lf-activate-venv: SKIPPING 23:59:28 INFO: No Stack... 23:59:29 INFO: Retrieving Pricing Info for: v3-standard-8 23:59:29 INFO: Archiving Costs [Pipeline] sh 23:59:30 + cat /w/workspace/gexfoundry_device-rest-go_PR-194/archives/cost.csv 23:59:30 + cut -d, -f6 [Pipeline] lock 23:59:30 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] 23:59:30 Resource [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] did not exist. Created. 23:59:30 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:59:30 + echo total: 0.2199999988079071 [Pipeline] stash 23:59:30 Stashed 1 file(s) [Pipeline] } 23:59:30 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:59:30 $ docker stop --time=1 eeda2ef8c4b0d44398b35cb774eaf5913e04116140368d1599f7c98f763aae05 23:59:31 $ docker rm -f eeda2ef8c4b0d44398b35cb774eaf5913e04116140368d1599f7c98f763aae05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:01:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-738 in /w/workspace/gexfoundry_device-rest-go_PR-194 [Pipeline] { [Pipeline] ws 00:01:11 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 00:01:11 The recommended git tool is: git 00:01:18 using credential edgex-jenkins-ssh 00:01:18 Cloning the remote Git repository 00:01:18 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 00:01:18 > git init /w/workspace/device-rest-go/1 # timeout=10 00:01:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:01:19 > git --version # timeout=10 00:01:19 > git --version # 'git version 2.25.1' 00:01:19 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:21 Merging remotes/origin/jakarta commit 674470f415deb016340950c491e0ea2a8bbe0e0c into PR head commit 4b23375dcce320ad569d9d249cfde0b2aefa88a9 00:01:21 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:01:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:21 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 00:01:21 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 00:01:21 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:21 > 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 00:01:21 > git config core.sparsecheckout # timeout=10 00:01:21 > git checkout -f 4b23375dcce320ad569d9d249cfde0b2aefa88a9 # timeout=10 00:01:22 Merge succeeded, producing 4b23375dcce320ad569d9d249cfde0b2aefa88a9 00:01:22 Checking out Revision 4b23375dcce320ad569d9d249cfde0b2aefa88a9 (PR-194) 00:01:22 > git remote # timeout=10 00:01:22 > git config --get remote.origin.url # timeout=10 00:01:22 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:22 > git merge 674470f415deb016340950c491e0ea2a8bbe0e0c # timeout=10 00:01:22 > git rev-parse HEAD^{commit} # timeout=10 00:01:22 > git config core.sparsecheckout # timeout=10 00:01:22 > git checkout -f 4b23375dcce320ad569d9d249cfde0b2aefa88a9 # timeout=10 00:01:26 Commit message: "build: Update to released SDK and go-mods and change log for 2.1.1 patch" 00:01:26 > git --version # timeout=10 00:01:27 > git --version # 'git version 2.25.1' 00:01:27 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:01:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:01:28 % Total % Received % Xferd Average Speed Time Time Time Current 00:01:28 Dload Upload Total Spent Left Speed 00:01:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 00:01:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:01:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:01:29 + sudo tee /etc/docker/daemon.new 00:01:29 { 00:01:29 "registry-mirrors": [ 00:01:29 "https://nexus3.edgexfoundry.org:10001" 00:01:29 ], 00:01:29 "bip": "10.250.0.254/24", 00:01:29 "hosts": [ 00:01:29 "tcp://0.0.0.0:5555", 00:01:29 "unix:///var/run/docker.sock" 00:01:29 ], 00:01:29 "mtu": 1458, 00:01:29 "selinux-enabled": true, 00:01:29 "seccomp-profile": "/etc/docker/seccomp.json" 00:01:29 } [Pipeline] sh 00:01:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:01:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:01:48 provisioning config files... 00:01:48 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4961389432279591918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:01:48 ---> docker-login.sh 00:01:48 nexus3.edgexfoundry.org:10001 00:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:49 Configure a credential helper to remove this warning. See 00:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:49 00:01:49 Login Succeeded 00:01:49 nexus3.edgexfoundry.org:10002 00:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:50 Configure a credential helper to remove this warning. See 00:01:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:50 00:01:50 Login Succeeded 00:01:50 nexus3.edgexfoundry.org:10003 00:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:50 Configure a credential helper to remove this warning. See 00:01:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:50 00:01:50 Login Succeeded 00:01:50 nexus3.edgexfoundry.org:10004 00:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:51 Configure a credential helper to remove this warning. See 00:01:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:51 00:01:51 Login Succeeded 00:01:51 docker.io 00:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:01:52 Configure a credential helper to remove this warning. See 00:01:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:01:52 00:01:52 Login Succeeded 00:01:52 ---> docker-login.sh ends [Pipeline] } 00:01:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:01:52 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:01:52 ========================================================= 00:01:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 00:01:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:01:53 + 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 . 00:01:54 Sending build context to Docker daemon 11.13MB 00:01:54 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 00:01:54 Step 2/11 : FROM ${BASE} AS builder 00:01:54 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 00:01:54 9b3977197b4f: Pulling fs layer 00:01:54 1a89e8eeedd5: Pulling fs layer 00:01:54 94645a83ff95: Pulling fs layer 00:01:54 3f3a8bcf1eab: Pulling fs layer 00:01:54 0c92f367c5e7: Pulling fs layer 00:01:54 63b1bc5785f6: Pulling fs layer 00:01:54 626d30ff41c6: Pulling fs layer 00:01:54 de1d54c125be: Pulling fs layer 00:01:54 63b1bc5785f6: Waiting 00:01:54 626d30ff41c6: Waiting 00:01:54 de1d54c125be: Waiting 00:01:54 3f3a8bcf1eab: Waiting 00:01:54 94645a83ff95: Verifying Checksum 00:01:54 94645a83ff95: Download complete 00:01:54 1a89e8eeedd5: Verifying Checksum 00:01:54 1a89e8eeedd5: Download complete 00:01:54 0c92f367c5e7: Verifying Checksum 00:01:54 0c92f367c5e7: Download complete 00:01:54 63b1bc5785f6: Verifying Checksum 00:01:54 63b1bc5785f6: Download complete 00:01:54 9b3977197b4f: Verifying Checksum 00:01:54 9b3977197b4f: Download complete 00:01:54 626d30ff41c6: Verifying Checksum 00:01:54 626d30ff41c6: Download complete 00:01:55 9b3977197b4f: Pull complete 00:01:55 1a89e8eeedd5: Pull complete 00:01:56 94645a83ff95: Pull complete 00:01:56 de1d54c125be: Verifying Checksum 00:01:56 de1d54c125be: Download complete 00:01:57 3f3a8bcf1eab: Verifying Checksum 00:01:57 3f3a8bcf1eab: Download complete 00:02:09 3f3a8bcf1eab: Pull complete 00:02:09 0c92f367c5e7: Pull complete 00:02:09 63b1bc5785f6: Pull complete 00:02:09 626d30ff41c6: Pull complete 00:02:16 de1d54c125be: Pull complete 00:02:16 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 00:02:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 00:02:16 ---> 5f011755c4a2 00:02:16 Step 3/11 : ARG MAKE='make build' 00:02:17 ---> Running in ba994e6f78c4 00:02:17 Removing intermediate container ba994e6f78c4 00:02:17 ---> 079044221378 00:02:17 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:02:18 ---> Running in 1d8d7df6306b 00:02:18 Removing intermediate container 1d8d7df6306b 00:02:18 ---> daf7fc155ba5 00:02:18 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 00:02:18 ---> Running in 6245a97584ea 00:02:18 Removing intermediate container 6245a97584ea 00:02:18 ---> 5031f039eb43 00:02:18 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:02:18 ---> Running in 67b916743f85 00:02:22 Removing intermediate container 67b916743f85 00:02:22 ---> be9376f98f97 00:02:22 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:02:22 ---> Running in 88ffe245396d 00:02:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:02:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:02:24 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:02:24 (2/4) Installing libedit (20210910.3.1-r0) 00:02:24 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:02:25 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:02:25 Executing busybox-1.34.1-r3.trigger 00:02:25 OK: 224 MiB in 56 packages 00:02:26 Removing intermediate container 88ffe245396d 00:02:26 ---> e45e0eca2dbc 00:02:26 Step 8/11 : WORKDIR /device-rest-go 00:02:26 ---> Running in 88e2f4182535 00:02:26 Removing intermediate container 88e2f4182535 00:02:26 ---> 957e779b9b11 00:02:26 Step 9/11 : COPY . . 00:02:30 ---> dcc8dec8c8ac 00:02:30 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:02:30 ---> Running in 5ab78454a774 00:02:31 skipping... 00:02:31 Removing intermediate container 5ab78454a774 00:02:31 ---> 83856c5ff824 00:02:31 Step 11/11 : RUN $MAKE 00:02:32 ---> Running in 57507ba0b681 00:02:32 noop 00:02:33 Removing intermediate container 57507ba0b681 00:02:33 ---> 85f7147cf846 00:02:33 Successfully built 85f7147cf846 00:02:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:34 + docker inspect -f . ci-base-image-arm64 00:02:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:34 prd-ubuntu20.04-docker-arm64-4c-16g-738 does not seem to be running inside a container 00:02:34 $ 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 00:02:35 $ docker top 6e5f14c7804fa1a71711835722777903c7f81419cdffaace88c7253ecf5df304 -eo pid,comm [Pipeline] { [Pipeline] sh 00:02:36 + go version 00:02:36 go version go1.17.6 linux/arm64 [Pipeline] } 00:02:36 $ docker stop --time=1 6e5f14c7804fa1a71711835722777903c7f81419cdffaace88c7253ecf5df304 00:02:38 $ 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 00:02:39 + docker inspect -f . ci-base-image-arm64 00:02:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:39 prd-ubuntu20.04-docker-arm64-4c-16g-738 does not seem to be running inside a container 00:02:39 $ 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 00:02:40 $ docker top 80c7d81e6739757ac62f721e0147877ea16edaeeb8c7f253cb197307b4b0f904 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:02:42 + make test 00:02:42 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:02:43 ? github.com/edgexfoundry/device-rest-go [no test files] 00:03:39 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 00:03:39 ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 56.0% of statements 00:03:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:03:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:03:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:03:57 ./bin/test-attribution-txt.sh 00:03:57 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 00:03:57 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 00:03:57 go: downloading github.com/gorilla/mux v1.8.0 00:03:57 go: downloading github.com/spf13/cast v1.4.1 00:03:57 go: downloading github.com/stretchr/testify v1.7.0 00:03:57 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:03:57 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 00:03:57 go: downloading github.com/OneOfOne/xxhash v1.2.8 00:03:57 go: downloading github.com/google/uuid v1.3.0 00:03:57 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 00:03:57 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 00:03:57 go: downloading github.com/pelletier/go-toml v1.9.4 00:03:57 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 00:03:57 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:03:57 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 00:03:57 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 00:03:57 go: downloading github.com/hashicorp/consul/api v1.9.1 00:03:57 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:03:57 go: downloading github.com/go-kit/kit v0.11.0 00:03:57 go: downloading github.com/go-playground/validator/v10 v10.9.0 00:03:57 go: downloading github.com/hashicorp/go-multierror v1.1.0 00:03:57 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 00:03:57 go: downloading github.com/pebbe/zmq4 v1.2.7 00:03:57 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:03:57 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:03:57 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:03:57 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:03:57 go: downloading github.com/mitchellh/copystructure v1.0.0 00:03:57 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:03:57 go: downloading github.com/go-logfmt/logfmt v0.5.0 00:03:57 go: downloading github.com/davecgh/go-spew v1.1.1 00:03:57 go: downloading github.com/pmezard/go-difflib v1.0.0 00:03:57 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 00:03:57 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 00:03:57 go: downloading golang.org/x/text v0.3.6 00:03:58 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:03:58 go: downloading github.com/hashicorp/errwrap v1.0.0 00:03:58 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:03:58 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:03:58 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:03:58 go: downloading github.com/hashicorp/serf v0.9.5 00:03:59 go: downloading github.com/x448/float16 v0.8.4 00:03:59 go: downloading github.com/go-playground/universal-translator v0.18.0 00:03:59 go: downloading github.com/leodido/go-urn v1.2.1 00:03:59 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 00:04:00 go: downloading github.com/gorilla/websocket v1.4.2 00:04:00 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:04:00 go: downloading github.com/fatih/color v1.9.0 00:04:00 go: downloading github.com/mattn/go-colorable v0.1.6 00:04:00 go: downloading github.com/mattn/go-isatty v0.0.12 00:04:00 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:04:01 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 00:04:05 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 00:04:06 + go mod tidy 00:04:06 go: downloading github.com/go-stack/stack v1.8.0 00:04:06 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:04:06 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 00:04:06 go: downloading github.com/stretchr/objx v0.1.1 00:04:06 go: downloading github.com/hashicorp/consul/sdk v0.8.0 00:04:06 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:04:06 go: downloading github.com/kr/pretty v0.3.0 00:04:06 go: downloading github.com/onsi/ginkgo v1.10.1 00:04:06 go: downloading github.com/onsi/gomega v1.7.0 00:04:06 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:04:06 go: downloading github.com/hashicorp/memberlist v0.2.2 00:04:06 go: downloading github.com/pkg/errors v0.9.1 00:04:06 go: downloading github.com/kr/text v0.2.0 00:04:06 go: downloading github.com/rogpeppe/go-internal v1.8.0 00:04:06 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:04:06 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:04:06 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:04:06 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:04:06 go: downloading github.com/miekg/dns v1.1.26 00:04:07 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:04:07 go: downloading gopkg.in/yaml.v2 v2.3.0 00:04:07 go: downloading github.com/hpcloud/tail v1.0.0 00:04:07 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:04:07 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 00:04:07 $ docker stop --time=1 80c7d81e6739757ac62f721e0147877ea16edaeeb8c7f253cb197307b4b0f904 00:04:09 $ docker rm -f 80c7d81e6739757ac62f721e0147877ea16edaeeb8c7f253cb197307b4b0f904 [Pipeline] // withDockerContainer [Pipeline] sh 00:04:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:04:12 Warning: overwriting stash ‘coverage-report’ 00:04:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:04:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:04:13 + ls -al . 00:04:13 total 180 00:04:13 drwxrwxr-x 9 jenkins jenkins 4096 Jun 3 00:04 . 00:04:13 drwxrwxr-x 4 jenkins jenkins 4096 Jun 3 00:01 .. 00:04:13 -rw-rw-r-- 1 jenkins jenkins 151 Jun 3 00:01 .dockerignore 00:04:13 drwxrwxr-x 8 jenkins jenkins 4096 Jun 3 00:01 .git 00:04:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:01 .github 00:04:13 -rw-rw-r-- 1 jenkins jenkins 321 Jun 3 00:01 .gitignore 00:04:13 -rw-rw-r-- 1 jenkins jenkins 7095 Jun 3 00:01 Attribution.txt 00:04:13 -rw-rw-r-- 1 jenkins jenkins 7718 Jun 3 00:01 CHANGELOG.md 00:04:13 -rw-rw-r-- 1 jenkins jenkins 1649 Jun 3 00:01 Dockerfile 00:04:13 -rw-rw-r-- 1 jenkins jenkins 677 Jun 3 00:01 GOVERNANCE.md 00:04:13 -rw-rw-r-- 1 jenkins jenkins 680 Jun 3 00:01 Jenkinsfile 00:04:13 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 3 00:01 LICENSE 00:04:13 -rw-rw-r-- 1 jenkins jenkins 1078 Jun 3 00:01 Makefile 00:04:13 -rw-rw-r-- 1 jenkins jenkins 620 Jun 3 00:01 OWNERS.md 00:04:13 -rw-rw-r-- 1 jenkins jenkins 8246 Jun 3 00:01 README.md 00:04:13 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 23:58 VERSION 00:04:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:01 bin 00:04:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:01 cmd 00:04:13 -rw-r--r-- 1 jenkins jenkins 9215 Jun 3 00:03 coverage.out 00:04:13 drwxrwxr-x 2 jenkins jenkins 4096 Jun 3 00:01 driver 00:04:13 -rw-rw-r-- 1 jenkins jenkins 271 Jun 3 00:04 go.mod 00:04:13 -rw-rw-r-- 1 jenkins jenkins 49306 Jun 3 00:01 go.sum 00:04:13 drwxrwxr-x 3 jenkins jenkins 4096 Jun 3 00:01 snap 00:04:13 drwxrwxr-x 6 jenkins jenkins 4096 Jun 3 00:01 vendor 00:04:13 -rw-rw-r-- 1 jenkins jenkins 713 Jun 3 00:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:14 + 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 . 00:04:15 Sending build context to Docker daemon 11.14MB 00:04:15 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 00:04:15 Step 2/24 : FROM ${BASE} AS builder 00:04:15 ---> 85f7147cf846 00:04:15 Step 3/24 : ARG MAKE='make build' 00:04:15 ---> Running in 743d9a5aa7d1 00:04:16 Removing intermediate container 743d9a5aa7d1 00:04:16 ---> bd4dd812291d 00:04:16 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:04:16 ---> Running in 72726b5d5415 00:04:16 Removing intermediate container 72726b5d5415 00:04:16 ---> 113b6431a22d 00:04:16 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 00:04:16 ---> Running in 0be3ced2e878 00:04:17 Removing intermediate container 0be3ced2e878 00:04:17 ---> 7731ed9180aa 00:04:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:04:17 ---> Running in c3173d25f296 00:04:18 Removing intermediate container c3173d25f296 00:04:18 ---> b1ae0311dd45 00:04:18 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:04:18 ---> Running in 051b6051756c 00:04:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:04:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:04:21 OK: 224 MiB in 56 packages 00:04:22 Removing intermediate container 051b6051756c 00:04:22 ---> 8310799de12c 00:04:22 Step 8/24 : WORKDIR /device-rest-go 00:04:22 ---> Running in 0936ea04c295 00:04:22 Removing intermediate container 0936ea04c295 00:04:22 ---> 9e30e02f366b 00:04:22 Step 9/24 : COPY . . 00:04:27 ---> c5f390e82c94 00:04:27 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:04:27 ---> Running in 2cf2a5b2402f 00:04:28 skipping... 00:04:28 Removing intermediate container 2cf2a5b2402f 00:04:28 ---> 46d05baa527d 00:04:28 Step 11/24 : RUN $MAKE 00:04:28 ---> Running in d8428e3bae29 00:04:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 00:05:16 Removing intermediate container d8428e3bae29 00:05:16 ---> b5a8f74db30b 00:05:16 Step 12/24 : FROM alpine:3.14 00:05:16 3.14: Pulling from library/alpine 00:05:16 455c02918c45: Pulling fs layer 00:05:16 455c02918c45: Verifying Checksum 00:05:16 455c02918c45: Download complete 00:05:16 455c02918c45: Pull complete 00:05:16 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:05:16 Status: Downloaded newer image for alpine:3.14 00:05:16 ---> ac73e934f311 00:05:16 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:05:16 ---> Running in dcbc5be34b21 00:05:16 Removing intermediate container dcbc5be34b21 00:05:16 ---> 14f9b803bd7e 00:05:16 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 00:05:16 ---> Running in b03b54f05d64 00:05:16 Removing intermediate container b03b54f05d64 00:05:16 ---> e217420587f6 00:05:16 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 00:05:16 ---> Running in 3fc9eefe0bac 00:05:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:05:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:05:16 (1/6) Installing dumb-init (1.2.5-r1) 00:05:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:05:16 (3/6) Installing libsodium (1.0.18-r0) 00:05:16 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:05:16 (5/6) Installing libzmq (4.3.4-r0) 00:05:16 (6/6) Installing zeromq (4.3.4-r0) 00:05:16 Executing busybox-1.33.1-r7.trigger 00:05:16 OK: 8 MiB in 20 packages 00:05:16 Removing intermediate container 3fc9eefe0bac 00:05:16 ---> ebf8585f66c6 00:05:16 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 00:05:17 ---> 29e875debd1e 00:05:17 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 00:05:18 ---> 34165a04ddd8 00:05:18 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 00:05:18 ---> e51850165af7 00:05:18 Step 19/24 : EXPOSE 59986 00:05:18 ---> Running in 07ce5a780afa 00:05:19 Removing intermediate container 07ce5a780afa 00:05:19 ---> 4b2f9742db30 00:05:19 Step 20/24 : ENTRYPOINT ["/device-rest"] 00:05:19 ---> Running in 744f9a303818 00:05:19 Removing intermediate container 744f9a303818 00:05:19 ---> 9c8d3b3fbbe2 00:05:19 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:05:19 ---> Running in 7882f053817b 00:05:20 Removing intermediate container 7882f053817b 00:05:20 ---> 269a588d998c 00:05:20 Step 22/24 : LABEL arch=arm64 00:05:20 ---> Running in 10a07a39f26f 00:05:20 Removing intermediate container 10a07a39f26f 00:05:20 ---> fcde56de3ad0 00:05:20 Step 23/24 : LABEL git_sha=4b23375dcce320ad569d9d249cfde0b2aefa88a9 00:05:20 ---> Running in e2d49acead6f 00:05:20 Removing intermediate container e2d49acead6f 00:05:20 ---> 79a67b0e5b67 00:05:20 Step 24/24 : LABEL version=0.0.0 00:05:20 ---> Running in 67fc88af3608 00:05:21 Removing intermediate container 67fc88af3608 00:05:21 ---> 6b4bef04aa08 00:05:21 [Warning] One or more build-args [ARCH] were not consumed 00:05:21 Successfully built 6b4bef04aa08 00:05:21 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 00:05:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:05:22 00:05:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:05:22 arm64: Pulling from edgex-lftools-log-publisher 00:05:22 8998bd30e6a1: Pulling fs layer 00:05:22 04944245beec: Pulling fs layer 00:05:22 699f458cf7ca: Pulling fs layer 00:05:22 765212b225bb: Pulling fs layer 00:05:22 f23df028b6ca: Pulling fs layer 00:05:22 d65c8cfc05b1: Pulling fs layer 00:05:22 2437ff75d9bd: Pulling fs layer 00:05:22 765212b225bb: Waiting 00:05:22 f23df028b6ca: Waiting 00:05:22 d65c8cfc05b1: Waiting 00:05:22 2437ff75d9bd: Waiting 00:05:22 04944245beec: Verifying Checksum 00:05:22 04944245beec: Download complete 00:05:22 765212b225bb: Verifying Checksum 00:05:22 765212b225bb: Download complete 00:05:22 f23df028b6ca: Verifying Checksum 00:05:22 f23df028b6ca: Download complete 00:05:22 d65c8cfc05b1: Verifying Checksum 00:05:22 d65c8cfc05b1: Download complete 00:05:23 699f458cf7ca: Verifying Checksum 00:05:23 699f458cf7ca: Download complete 00:05:23 8998bd30e6a1: Verifying Checksum 00:05:23 8998bd30e6a1: Download complete 00:05:26 2437ff75d9bd: Verifying Checksum 00:05:26 2437ff75d9bd: Download complete 00:05:28 8998bd30e6a1: Pull complete 00:05:28 04944245beec: Pull complete 00:05:30 699f458cf7ca: Pull complete 00:05:30 765212b225bb: Pull complete 00:05:31 f23df028b6ca: Pull complete 00:05:31 d65c8cfc05b1: Pull complete 00:05:46 2437ff75d9bd: Pull complete 00:05:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:05:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:05:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:05:46 prd-ubuntu20.04-docker-arm64-4c-16g-738 does not seem to be running inside a container 00:05:46 $ 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 00:05:49 $ docker top 4692b3072ff00b55f8a6ddc50919705b9cd2167e5ffa4f83a0de9980fb9daac7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:50 ---> job-cost.sh 00:05:50 lf-activate-venv: SKIPPING 00:05:50 INFO: No Stack... 00:05:50 INFO: Retrieving Pricing Info for: v3-standard-4 00:05:51 INFO: Archiving Costs [Pipeline] sh 00:05:52 + cat /w/workspace/device-rest-go/1/archives/cost.csv 00:05:52 + cut -d, -f6 [Pipeline] lock 00:05:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] 00:05:52 Resource [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] did not exist. Created. 00:05:52 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:05:53 /w/workspace/device-rest-go/1@tmp/durable-a8b38bf8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:05:53 + echo total: 0.10999999940395355 [Pipeline] stash 00:05:54 Warning: overwriting stash ‘stack-cost’ 00:05:54 Stashed 1 file(s) [Pipeline] } 00:05:54 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-194-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:05:54 $ docker stop --time=1 4692b3072ff00b55f8a6ddc50919705b9cd2167e5ffa4f83a0de9980fb9daac7 00:05:55 $ 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 00:05:56 provisioning config files... 00:05:56 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-194@tmp/config5886924516456364874tmp [Pipeline] { [Pipeline] sh 00:05:57 + set +x 00:05:57 + + curl -s https://codecov.io/bash 00:05:57 bash -s -- 00:05:57 00:05:57 _____ _ 00:05:57 / ____| | | 00:05:57 | | ___ __| | ___ ___ _____ __ 00:05:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:05:57 | |___| (_) | (_| | __/ (_| (_) \ V / 00:05:57 \_____\___/ \__,_|\___|\___\___/ \_/ 00:05:57 Bash-1.0.6 00:05:57 00:05:57 00:05:57 ==> git version 2.25.1 found 00:05:57 ==> 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 00:05:57 Release-Date: 2020-01-08 00:05:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:05:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:05:57 ==> Jenkins CI detected. 00:05:57 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-194 00:05:57 project root: . 00:05:57 --> token set from env 00:05:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:05:57 ==> Running gcov in . (disable via -X gcov) 00:05:57 ==> Python coveragepy not found 00:05:57 ==> Searching for coverage reports in: 00:05:57 + . 00:05:57 -> Found 1 reports 00:05:57 ==> Detecting git/mercurial file structure 00:05:57 ==> Reading reports 00:05:57 + ./coverage.out bytes=9215 00:05:57 ==> Appending adjustments 00:05:57 https://docs.codecov.io/docs/fixing-reports 00:05:57 + Found adjustments 00:05:57 ==> Gzipping contents 00:05:57 12K /tmp/codecov.aWUfru.gz 00:05:57 ==> Uploading reports 00:05:57 url: https://codecov.io 00:05:57 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= 00:05:57 -> Pinging Codecov 00:05:57 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= 00:05:57 -> Uploading to 00:05:57 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 00:05:57 % Total % Received % Xferd Average Speed Time Time Time Current 00:05:57 Dload Upload Total Spent Left Speed 00:05:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8322 0 0 100 8322 0 33967 --:--:-- --:--:-- --:--:-- 33967 00:05:57 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/4b23375dcce320ad569d9d249cfde0b2aefa88a9 [Pipeline] } 00:05:58 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 00:05:59 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-194/archives ] 00:05:59 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-194/archives 00:05:59 total 16 00:05:59 drwxr-xr-x 3 root root 4096 Jun 2 23:59 . 00:05:59 drwxrwxr-x 11 jenkins jenkins 4096 Jun 2 23:59 .. 00:05:59 drwxr-xr-x 2 root root 4096 Jun 2 23:59 cost 00:05:59 -rw-r--r-- 1 root root 85 Jun 2 23:59 cost.csv 00:05:59 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-194/archives 00:05:59 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-194/archives 00:05:59 total 16 00:05:59 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 23:59 . 00:05:59 drwxrwxr-x 11 jenkins jenkins 4096 Jun 2 23:59 .. 00:05:59 drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 23:59 cost 00:05:59 -rw-r--r-- 1 jenkins jenkins 85 Jun 2 23:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:06:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:06:00 ---> package-listing.sh 00:06:00 ++ facter osfamily 00:06:00 ++ tr '[:upper:]' '[:lower:]' 00:06:01 + OS_FAMILY=debian 00:06:01 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-194 00:06:01 + START_PACKAGES=/tmp/packages_start.txt 00:06:01 + END_PACKAGES=/tmp/packages_end.txt 00:06:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:06:01 + PACKAGES=/tmp/packages_start.txt 00:06:01 + '[' /w/workspace/gexfoundry_device-rest-go_PR-194 ']' 00:06:01 + PACKAGES=/tmp/packages_end.txt 00:06:01 + case "${OS_FAMILY}" in 00:06:01 + dpkg -l 00:06:01 + grep '^ii' 00:06:01 + '[' -f /tmp/packages_start.txt ']' 00:06:01 + '[' -f /tmp/packages_end.txt ']' 00:06:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:06:01 + '[' /w/workspace/gexfoundry_device-rest-go_PR-194 ']' 00:06:01 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-194/archives/ 00:06:01 + 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 00:06:01 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 00:06:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:06:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:02 prd-ubuntu20.04-docker-8c-8g-736 does not seem to be running inside a container 00:06:02 $ 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 00:06:02 $ docker top 677036145b0afb6cb869e68fc5d86d5a2962cbcef4a478755d657a67a2f97e95 -eo pid,comm [Pipeline] { [Pipeline] sh 00:06:03 + touch /tmp/pre-build-complete [Pipeline] sh 00:06:03 + mkdir -p /var/log/sysstat [Pipeline] sh 00:06:03 + ls /var/log/sa-host 00:06:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:06:03 provisioning config files... 00:06:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-194@tmp/config973073212316898171tmp [Pipeline] { [Pipeline] echo 00:06:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:06:04 ---> create-netrc.sh [Pipeline] } 00:06:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:06:04 ---> python-tools-install.sh [Pipeline] echo 00:06:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:06:04 ---> sudo-logs.sh 00:06:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:06:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:06:05 ---> job-cost.sh 00:06:05 lf-activate-venv: SKIPPING 00:06:05 DEBUG: total: 0.2199999988079071 00:06:05 INFO: Retrieving Stack Cost... 00:06:05 INFO: Retrieving Pricing Info for: v3-standard-8 00:06:06 INFO: Archiving Costs [Pipeline] echo 00:06:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:06:06 ---> logs-deploy.sh 00:06:06 lf-activate-venv: SKIPPING 00:06:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-194/1 00:06:06 INFO: archiving workspace using pattern(s): 00:06:07 Archives upload complete. 00:06:07 INFO: archiving logs to Nexus