Pull request #151 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 56ef31cf881b7c17e76b00aa4681f967046709c4+5b17f991c425fdfdbf3defaffe349f04efb7e6d5 (f8202d1c9e670604ce03fa1c6154156a2355a20d) 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-ssh17475428197998834959.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh13147567036693190108.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-151/workspace@libs/edgex-global-pipelines # 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-151/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7085426369800120991.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-151/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17605185050177060226.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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 shared 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-ssh15404684919945127085.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-151/workspace@libs/lf-pipelines # 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-151/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh499378636157514163.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 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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 dae07dc806156effb2cae02074e2f5f64a063e83 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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: [[centos7-docker-4c-2g, ubuntu18.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1689 in /w/workspace/gexfoundry_device-rest-go_PR-151 [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-151 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-rest-go_PR-151@tmp/jenkins-gitclient-ssh7059430914152863358.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-151@tmp/jenkins-gitclient-ssh4429361727667377702.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 into PR head commit 56ef31cf881b7c17e76b00aa4681f967046709c4 Merge succeeded, producing 56ef31cf881b7c17e76b00aa4681f967046709c4 Checking out Revision 56ef31cf881b7c17e76b00aa4681f967046709c4 (PR-151) > git config core.sparsecheckout # timeout=10 > git checkout -f 56ef31cf881b7c17e76b00aa4681f967046709c4 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-rest-go_PR-151@tmp/jenkins-gitclient-ssh3627492466428453905.key > git merge 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 56ef31cf881b7c17e76b00aa4681f967046709c4 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:04:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:04:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:04:21 ========================================================= 20:04:21 EdgeX Global Pipelines Version Info 20:04:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:04:22 ------------------- 20:04:22 stable info: 20:04:22 ------------------- 20:04:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:04:22 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:04:22 Message: update stable to v1.0.219 20:04:22 ------------------- 20:04:22 experimental info: 20:04:22 ------------------- 20:04:22 Commited By: **** collab-it+edgex@linuxfoundation.org 20:04:22 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:04:22 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:04:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:04:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:04:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:04:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-151 [Pipeline] echo 20:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-151 [Pipeline] echo 20:04:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-151 [Pipeline] echo 20:04:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56ef31cf881b7c17e76b00aa4681f967046709c4 [Pipeline] echo 20:04:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56ef31c [Pipeline] echo 20:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:04:24 provisioning config files... 20:04:24 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-151@tmp/config25038690801820746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:24 ---> docker-login.sh 20:04:24 nexus3.edgexfoundry.org:10001 20:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:25 Configure a credential helper to remove this warning. See 20:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:25 20:04:25 Login Succeeded 20:04:25 nexus3.edgexfoundry.org:10002 20:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:25 Configure a credential helper to remove this warning. See 20:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:25 20:04:25 Login Succeeded 20:04:25 nexus3.edgexfoundry.org:10003 20:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:25 Configure a credential helper to remove this warning. See 20:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:25 20:04:25 Login Succeeded 20:04:25 nexus3.edgexfoundry.org:10004 20:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:25 Configure a credential helper to remove this warning. See 20:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:25 20:04:25 Login Succeeded 20:04:25 docker.io 20:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:25 Configure a credential helper to remove this warning. See 20:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:25 20:04:25 Login Succeeded 20:04:25 ---> docker-login.sh ends [Pipeline] } 20:04:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:04:26 + git rev-list -1 --merges 56ef31cf881b7c17e76b00aa4681f967046709c4~1..56ef31cf881b7c17e76b00aa4681f967046709c4 [Pipeline] echo 20:04:26 -----------> git rev-list -1 --merges 56ef31cf881b7c17e76b00aa4681f967046709c4~1..56ef31cf881b7c17e76b00aa4681f967046709c4 56ef31cf881b7c17e76b00aa4681f967046709c4 [false] [Pipeline] sh 20:04:26 + git log --format=format:%s -1 56ef31cf881b7c17e76b00aa4681f967046709c4 [Pipeline] echo 20:04:27 ========================================================= 20:04:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:04:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:04:27 + git log --format=format:%s -1 56ef31cf881b7c17e76b00aa4681f967046709c4 [Pipeline] echo 20:04:27 [semverPrep] GIT_COMMIT: 56ef31cf881b7c17e76b00aa4681f967046709c4, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 20:04:27 [semverPrep] This is not a build commit. [Pipeline] sh 20:04:28 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:04:28 + grep -v github /etc/ssh/ssh_known_hosts 20:04:28 + '[' -e /tmp/ssh_known_hosts ']' 20:04:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:04:28 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 20:04:28 + sudo tee -a /etc/ssh/ssh_known_hosts 20:04:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:04:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:04:28 20:04:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:04:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:04:28 latest: Pulling from edgex-devops/git-semver 20:04:28 a0d0a0d46f8b: Pulling fs layer 20:04:28 3e5f54012d9b: Pulling fs layer 20:04:28 4c7163046ea9: Pulling fs layer 20:04:28 0c2d73faf560: Pulling fs layer 20:04:28 0c2d73faf560: Waiting 20:04:28 3e5f54012d9b: Verifying Checksum 20:04:28 3e5f54012d9b: Download complete 20:04:28 a0d0a0d46f8b: Verifying Checksum 20:04:28 a0d0a0d46f8b: Download complete 20:04:28 4c7163046ea9: Verifying Checksum 20:04:28 4c7163046ea9: Download complete 20:04:28 0c2d73faf560: Verifying Checksum 20:04:28 0c2d73faf560: Download complete 20:04:29 a0d0a0d46f8b: Pull complete 20:04:29 3e5f54012d9b: Pull complete 20:04:29 4c7163046ea9: Pull complete 20:04:29 0c2d73faf560: Pull complete 20:04:29 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:04:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:04:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:04:29 prd-centos7-docker-4c-2g-1689 does not seem to be running inside a container 20:04:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-151 -v /w/workspace/gexfoundry_device-rest-go_PR-151:/w/workspace/gexfoundry_device-rest-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-151@tmp:/w/workspace/gexfoundry_device-rest-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:04:30 $ docker top 53dfec85a39943f130df800804f34188a9d96ee550701f1d2161342994543670 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:04:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:30 [ssh-agent] Looking for ssh-agent implementation... 20:04:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:30 $ docker exec 53dfec85a39943f130df800804f34188a9d96ee550701f1d2161342994543670 ssh-agent 20:04:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjcfFJp/agent.14 20:04:30 SSH_AGENT_PID=21 20:04:30 Running ssh-add (command line suppressed) 20:04:30 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-151@tmp/private_key_5788068965169170026.key (/w/workspace/gexfoundry_device-rest-go_PR-151@tmp/private_key_5788068965169170026.key) 20:04:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:31 + git tag --points-at HEAD [Pipeline] } 20:04:31 $ docker exec --env ******** --env ******** 53dfec85a39943f130df800804f34188a9d96ee550701f1d2161342994543670 ssh-agent -k 20:04:31 unset SSH_AUTH_SOCK; 20:04:31 unset SSH_AGENT_PID; 20:04:31 echo Agent pid 21 killed; 20:04:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:04:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:04:31 [ssh-agent] Looking for ssh-agent implementation... 20:04:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:04:31 $ docker exec 53dfec85a39943f130df800804f34188a9d96ee550701f1d2161342994543670 ssh-agent 20:04:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgoImDa/agent.55 20:04:31 SSH_AGENT_PID=61 20:04:31 Running ssh-add (command line suppressed) 20:04:31 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-151@tmp/private_key_8206046759292661481.key (/w/workspace/gexfoundry_device-rest-go_PR-151@tmp/private_key_8206046759292661481.key) 20:04:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:04:32 + git semver init 20:04:32 # -> Open(): unable to determine branch for HEAD 20:04:32 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-151/.git 20:04:32 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-151 20:04:32 # $SEMVER_REMOTE_NAME = origin 20:04:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:04:32 # $SEMVER_USER_NAME = edgex-jenkins 20:04:32 # $SEMVER_BRANCH = PR-151 20:04:32 # $SEMVER_TEMP = /tmp/semver-614626142 20:04:32 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:04:33 # '/tmp/semver-614626142' -> '/w/workspace/gexfoundry_device-rest-go_PR-151/.semver' 20:04:33 # -> Force: false 20:04:33 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-151/.semver [Pipeline] } 20:04:33 $ docker exec --env ******** --env ******** 53dfec85a39943f130df800804f34188a9d96ee550701f1d2161342994543670 ssh-agent -k 20:04:33 unset SSH_AUTH_SOCK; 20:04:33 unset SSH_AGENT_PID; 20:04:33 echo Agent pid 61 killed; 20:04:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:04:34 + git semver [Pipeline] } 20:04:34 $ docker stop --time=1 53dfec85a39943f130df800804f34188a9d96ee550701f1d2161342994543670 20:04:35 $ docker rm -f 53dfec85a39943f130df800804f34188a9d96ee550701f1d2161342994543670 [Pipeline] // withDockerContainer [Pipeline] sh 20:04:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:04:36 Stashed 1 file(s) [Pipeline] echo 20:04:36 [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 20:04:36 provisioning config files... 20:04:36 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-151@tmp/config1451933161593726149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:04:37 ---> docker-login.sh 20:04:37 nexus3.edgexfoundry.org:10001 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:37 Configure a credential helper to remove this warning. See 20:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:37 20:04:37 Login Succeeded 20:04:37 nexus3.edgexfoundry.org:10002 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:37 Configure a credential helper to remove this warning. See 20:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:37 20:04:37 Login Succeeded 20:04:37 nexus3.edgexfoundry.org:10003 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:37 Configure a credential helper to remove this warning. See 20:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:37 20:04:37 Login Succeeded 20:04:37 nexus3.edgexfoundry.org:10004 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:37 Configure a credential helper to remove this warning. See 20:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:37 20:04:37 Login Succeeded 20:04:37 docker.io 20:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:04:37 Configure a credential helper to remove this warning. See 20:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:04:37 20:04:37 Login Succeeded 20:04:37 ---> docker-login.sh ends [Pipeline] } 20:04:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:04:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:04:38 ========================================================= 20:04:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:04:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:04:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 20:04:38 Sending build context to Docker daemon 10.53MB 20:04:38 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 20:04:38 Step 2/11 : FROM ${BASE} AS builder 20:04:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:04:38 59bf1c3509f3: Pulling fs layer 20:04:38 666ba61612fd: Pulling fs layer 20:04:38 8ed8ca486205: Pulling fs layer 20:04:38 4fe6c5a15a65: Pulling fs layer 20:04:38 22a0e8bec74d: Pulling fs layer 20:04:38 f965cba54748: Pulling fs layer 20:04:38 861ffc35075e: Pulling fs layer 20:04:38 4b385c91608e: Pulling fs layer 20:04:38 560528eb2ebb: Pulling fs layer 20:04:38 4fe6c5a15a65: Waiting 20:04:38 22a0e8bec74d: Waiting 20:04:38 f965cba54748: Waiting 20:04:38 861ffc35075e: Waiting 20:04:38 4b385c91608e: Waiting 20:04:38 560528eb2ebb: Waiting 20:04:38 8ed8ca486205: Verifying Checksum 20:04:38 8ed8ca486205: Download complete 20:04:38 666ba61612fd: Verifying Checksum 20:04:38 666ba61612fd: Download complete 20:04:38 22a0e8bec74d: Verifying Checksum 20:04:38 22a0e8bec74d: Download complete 20:04:38 f965cba54748: Verifying Checksum 20:04:38 f965cba54748: Download complete 20:04:38 861ffc35075e: Verifying Checksum 20:04:38 861ffc35075e: Download complete 20:04:38 59bf1c3509f3: Verifying Checksum 20:04:38 59bf1c3509f3: Download complete 20:04:38 4b385c91608e: Verifying Checksum 20:04:38 4b385c91608e: Download complete 20:04:39 59bf1c3509f3: Pull complete 20:04:39 560528eb2ebb: Verifying Checksum 20:04:39 560528eb2ebb: Download complete 20:04:39 4fe6c5a15a65: Verifying Checksum 20:04:39 4fe6c5a15a65: Download complete 20:04:39 666ba61612fd: Pull complete 20:04:39 8ed8ca486205: Pull complete 20:04:43 4fe6c5a15a65: Pull complete 20:04:43 22a0e8bec74d: Pull complete 20:04:43 f965cba54748: Pull complete 20:04:43 861ffc35075e: Pull complete 20:04:43 4b385c91608e: Pull complete 20:04:46 560528eb2ebb: Pull complete 20:04:46 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 20:04:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:04:46 ---> dd4a08f94e63 20:04:46 Step 3/11 : ARG MAKE='make build' 20:04:48 ---> Running in 25de945df766 20:04:48 Removing intermediate container 25de945df766 20:04:48 ---> d4ab55836288 20:04:48 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:04:48 ---> Running in 7fcba164d8b1 20:04:48 Removing intermediate container 7fcba164d8b1 20:04:48 ---> e53591653be4 20:04:48 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 20:04:48 ---> Running in b75d64c85e1b 20:04:48 Removing intermediate container b75d64c85e1b 20:04:48 ---> 7862d272e442 20:04:48 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:04:48 ---> Running in c46e40ad57c1 20:04:49 Removing intermediate container c46e40ad57c1 20:04:49 ---> 7be970b42e63 20:04:49 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:49 ---> Running in 6743f4c03deb 20:04:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:04:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:04:50 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:04:50 (2/4) Installing libedit (20210910.3.1-r0) 20:04:50 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:04:51 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:04:51 Executing busybox-1.34.1-r3.trigger 20:04:51 OK: 224 MiB in 56 packages 20:04:51 Removing intermediate container 6743f4c03deb 20:04:51 ---> 5c127e0d9d90 20:04:51 Step 8/11 : WORKDIR /device-rest-go 20:04:51 ---> Running in a4733b914131 20:04:51 Removing intermediate container a4733b914131 20:04:51 ---> da5a551310ec 20:04:51 Step 9/11 : COPY . . 20:04:51 Still waiting to schedule task 20:04:51 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 20:04:51 ---> 33d84fb23f3f 20:04:51 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:51 ---> Running in e7dac11b5571 20:05:30 Removing intermediate container e7dac11b5571 20:05:30 ---> 133bacbb860e 20:05:30 Step 11/11 : RUN $MAKE 20:05:30 ---> Running in cbf7c5ec70d1 20:05:30 noop 20:05:30 Removing intermediate container cbf7c5ec70d1 20:05:30 ---> 61a2e34d0366 20:05:30 Successfully built 61a2e34d0366 20:05:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:05:31 + docker inspect -f . ci-base-image-x86_64 20:05:31 . [Pipeline] withDockerContainer 20:05:31 prd-centos7-docker-4c-2g-1689 does not seem to be running inside a container 20:05:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-151 -v /w/workspace/gexfoundry_device-rest-go_PR-151:/w/workspace/gexfoundry_device-rest-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-151@tmp:/w/workspace/gexfoundry_device-rest-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:31 $ docker top 23666a60d93d2a054b8f3896f932ffb3b38608b2861234bc82b53861511b697d -eo pid,comm [Pipeline] { [Pipeline] sh 20:05:31 + go version 20:05:31 go version go1.17.6 linux/amd64 [Pipeline] } 20:05:31 $ docker stop --time=1 23666a60d93d2a054b8f3896f932ffb3b38608b2861234bc82b53861511b697d 20:05:33 $ docker rm -f 23666a60d93d2a054b8f3896f932ffb3b38608b2861234bc82b53861511b697d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:05:33 + docker inspect -f . ci-base-image-x86_64 20:05:33 . [Pipeline] withDockerContainer 20:05:33 prd-centos7-docker-4c-2g-1689 does not seem to be running inside a container 20:05:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-151 -v /w/workspace/gexfoundry_device-rest-go_PR-151:/w/workspace/gexfoundry_device-rest-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-151@tmp:/w/workspace/gexfoundry_device-rest-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:05:34 $ docker top 0dac37bfc5720811b2e0e31543454bb4ceadbbca802f9db47fc867aff50c2db2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:05:34 + make test 20:05:34 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:05:35 ? github.com/edgexfoundry/device-rest-go [no test files] 20:05:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:05:50 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements 20:05:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:05:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:05:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:05:55 ./bin/test-attribution-txt.sh [Pipeline] echo 20:05:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:05:55 $ docker stop --time=1 0dac37bfc5720811b2e0e31543454bb4ceadbbca802f9db47fc867aff50c2db2 20:05:57 $ docker rm -f 0dac37bfc5720811b2e0e31543454bb4ceadbbca802f9db47fc867aff50c2db2 [Pipeline] // withDockerContainer [Pipeline] sh 20:05:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:05:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:05:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:05:59 + ls -al . 20:05:59 total 148 20:05:59 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 17 20:05 . 20:05:59 drwxrwxr-x. 4 jenkins jenkins 112 Jan 17 20:04 .. 20:05:59 -rw-rw-r--. 1 jenkins jenkins 7095 Jan 17 20:04 Attribution.txt 20:05:59 drwxrwxr-x. 2 jenkins jenkins 37 Jan 17 20:04 bin 20:05:59 -rw-rw-r--. 1 jenkins jenkins 7459 Jan 17 20:04 CHANGELOG.md 20:05:59 drwxrwxr-x. 3 jenkins jenkins 32 Jan 17 20:04 cmd 20:05:59 -rw-r--r--. 1 jenkins jenkins 9215 Jan 17 20:05 coverage.out 20:05:59 -rw-rw-r--. 1 jenkins jenkins 1649 Jan 17 20:04 Dockerfile 20:05:59 -rw-rw-r--. 1 jenkins jenkins 151 Jan 17 20:04 .dockerignore 20:05:59 drwxrwxr-x. 2 jenkins jenkins 76 Jan 17 20:04 driver 20:05:59 drwxrwxr-x. 8 jenkins jenkins 179 Jan 17 20:04 .git 20:05:59 drwxrwxr-x. 2 jenkins jenkins 103 Jan 17 20:04 .github 20:05:59 -rw-rw-r--. 1 jenkins jenkins 329 Jan 17 20:04 .gitignore 20:05:59 -rw-rw-r--. 1 jenkins jenkins 277 Jan 17 20:04 go.mod 20:05:59 -rw-rw-r--. 1 jenkins jenkins 49330 Jan 17 20:04 go.sum 20:05:59 -rw-rw-r--. 1 jenkins jenkins 677 Jan 17 20:04 GOVERNANCE.md 20:05:59 -rw-rw-r--. 1 jenkins jenkins 680 Jan 17 20:04 Jenkinsfile 20:05:59 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 17 20:04 LICENSE 20:05:59 -rw-rw-r--. 1 jenkins jenkins 1078 Jan 17 20:04 Makefile 20:05:59 -rw-rw-r--. 1 jenkins jenkins 620 Jan 17 20:04 OWNERS.md 20:05:59 -rw-rw-r--. 1 jenkins jenkins 8246 Jan 17 20:04 README.md 20:05:59 drwx------. 3 jenkins jenkins 59 Jan 17 20:04 .semver 20:05:59 drwxrwxr-x. 3 jenkins jenkins 58 Jan 17 20:04 snap 20:05:59 -rw-rw-r--. 1 jenkins jenkins 5 Jan 17 20:04 VERSION 20:05:59 -rw-rw-r--. 1 jenkins jenkins 713 Jan 17 20:04 version.go [Pipeline] isUnix [Pipeline] sh 20:05:59 + 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=56ef31cf881b7c17e76b00aa4681f967046709c4 --label arch=amd64 --label version=0.0.0 . 20:05:59 Sending build context to Docker daemon 10.54MB 20:05:59 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 20:05:59 Step 2/24 : FROM ${BASE} AS builder 20:05:59 ---> 61a2e34d0366 20:05:59 Step 3/24 : ARG MAKE='make build' 20:05:59 ---> Running in 8ec1e1629e3d 20:05:59 Removing intermediate container 8ec1e1629e3d 20:05:59 ---> 3f9f1fd68ebe 20:05:59 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:59 ---> Running in 2cb5b117959c 20:05:59 Removing intermediate container 2cb5b117959c 20:05:59 ---> 8ecc15356536 20:05:59 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 20:05:59 ---> Running in 85097590f8a3 20:05:59 Removing intermediate container 85097590f8a3 20:05:59 ---> 5c0bcfb0a5fe 20:05:59 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:05:59 ---> Running in 274034d90377 20:06:00 Removing intermediate container 274034d90377 20:06:00 ---> 408b1efea1fe 20:06:00 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:06:00 ---> Running in 829bef16e1ff 20:06:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:06:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:06:01 OK: 224 MiB in 56 packages 20:06:01 Removing intermediate container 829bef16e1ff 20:06:01 ---> dc2aa0310821 20:06:01 Step 8/24 : WORKDIR /device-rest-go 20:06:01 ---> Running in 544d0b81c98a 20:06:01 Removing intermediate container 544d0b81c98a 20:06:01 ---> 455e19fdbaad 20:06:01 Step 9/24 : COPY . . 20:06:02 ---> fda466221de9 20:06:02 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:02 ---> Running in 1d4f8f14fbbd 20:06:02 Removing intermediate container 1d4f8f14fbbd 20:06:02 ---> 7ac361b5ac10 20:06:02 Step 11/24 : RUN $MAKE 20:06:02 ---> Running in 7cebf7531caf 20:06:03 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 20:06:15 Removing intermediate container 7cebf7531caf 20:06:15 ---> e4f9dd6cdde9 20:06:15 Step 12/24 : FROM alpine:3.14 20:06:15 3.14: Pulling from library/alpine 20:06:15 97518928ae5f: Pulling fs layer 20:06:15 97518928ae5f: Verifying Checksum 20:06:15 97518928ae5f: Download complete 20:06:15 97518928ae5f: Pull complete 20:06:15 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 20:06:15 Status: Downloaded newer image for alpine:3.14 20:06:15 ---> 0a97eee8041e 20:06:15 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:06:15 ---> Running in 87c3f35feeeb 20:06:16 Removing intermediate container 87c3f35feeeb 20:06:16 ---> fa9b46f12d14 20:06:16 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 20:06:16 ---> Running in c2c3a1517105 20:06:16 Removing intermediate container c2c3a1517105 20:06:16 ---> 843e55e97482 20:06:16 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:06:16 ---> Running in 31a72ce057c6 20:06:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:06:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:06:16 (1/6) Installing dumb-init (1.2.5-r1) 20:06:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:06:16 (3/6) Installing libsodium (1.0.18-r0) 20:06:16 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:06:16 (5/6) Installing libzmq (4.3.4-r0) 20:06:16 (6/6) Installing zeromq (4.3.4-r0) 20:06:16 Executing busybox-1.33.1-r6.trigger 20:06:16 OK: 8 MiB in 20 packages 20:06:17 Removing intermediate container 31a72ce057c6 20:06:17 ---> f1b83ce4fdc4 20:06:17 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 20:06:17 ---> f0f8af1ee1ff 20:06:17 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 20:06:17 ---> ccc70790f8a8 20:06:17 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 20:06:17 ---> 2feaff24d0a9 20:06:17 Step 19/24 : EXPOSE 59986 20:06:17 ---> Running in 8a61042875b3 20:06:17 Removing intermediate container 8a61042875b3 20:06:17 ---> 15c0cd497927 20:06:17 Step 20/24 : ENTRYPOINT ["/device-rest"] 20:06:17 ---> Running in 8a1d7f0dcdd4 20:06:18 Removing intermediate container 8a1d7f0dcdd4 20:06:18 ---> 74037d7aad3a 20:06:18 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:06:18 ---> Running in cfb67a81044c 20:06:18 Removing intermediate container cfb67a81044c 20:06:18 ---> 224dd9d5af2f 20:06:18 Step 22/24 : LABEL arch=amd64 20:06:18 ---> Running in 6a37623032c2 20:06:18 Removing intermediate container 6a37623032c2 20:06:18 ---> 089a159e7aa6 20:06:18 Step 23/24 : LABEL git_sha=56ef31cf881b7c17e76b00aa4681f967046709c4 20:06:18 ---> Running in f2d94156ae74 20:06:18 Removing intermediate container f2d94156ae74 20:06:18 ---> 8184779e464c 20:06:18 Step 24/24 : LABEL version=0.0.0 20:06:18 ---> Running in 92ef5ccb8ce8 20:06:18 Removing intermediate container 92ef5ccb8ce8 20:06:18 ---> 7587b03df6a5 20:06:18 [Warning] One or more build-args [ARCH] were not consumed 20:06:18 Successfully built 7587b03df6a5 20:06:18 Successfully tagged device-rest:latest [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] sh 20:06:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:19 20:06:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:06:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:19 latest: Pulling from edgex-lftools-log-publisher 20:06:19 b4d181a07f80: Pulling fs layer 20:06:19 a1111a8f2ec3: Pulling fs layer 20:06:19 ed53099fbce6: Pulling fs layer 20:06:19 dc539afda2c1: Pulling fs layer 20:06:19 77bc0d833cb6: Pulling fs layer 20:06:19 9065ff56babe: Pulling fs layer 20:06:19 d287ab97295c: Pulling fs layer 20:06:19 77bc0d833cb6: Waiting 20:06:19 9065ff56babe: Waiting 20:06:19 d287ab97295c: Waiting 20:06:19 dc539afda2c1: Waiting 20:06:19 a1111a8f2ec3: Verifying Checksum 20:06:19 a1111a8f2ec3: Download complete 20:06:19 dc539afda2c1: Download complete 20:06:19 ed53099fbce6: Download complete 20:06:19 9065ff56babe: Verifying Checksum 20:06:19 9065ff56babe: Download complete 20:06:19 77bc0d833cb6: Verifying Checksum 20:06:19 77bc0d833cb6: Download complete 20:06:19 b4d181a07f80: Verifying Checksum 20:06:19 b4d181a07f80: Download complete 20:06:20 d287ab97295c: Verifying Checksum 20:06:20 d287ab97295c: Download complete 20:06:21 b4d181a07f80: Pull complete 20:06:21 a1111a8f2ec3: Pull complete 20:06:21 ed53099fbce6: Pull complete 20:06:21 dc539afda2c1: Pull complete 20:06:21 77bc0d833cb6: Pull complete 20:06:21 9065ff56babe: Pull complete 20:06:23 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1690 in /w/workspace/gexfoundry_device-rest-go_PR-151 [Pipeline] { [Pipeline] ws 20:06:23 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:06:24 The recommended git tool is: git 20:06:27 d287ab97295c: Pull complete 20:06:27 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:06:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:06:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:06:27 prd-centos7-docker-4c-2g-1689 does not seem to be running inside a container 20:06:27 $ 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-151 -v /w/workspace/gexfoundry_device-rest-go_PR-151:/w/workspace/gexfoundry_device-rest-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-151@tmp:/w/workspace/gexfoundry_device-rest-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:06:28 using credential edgex-jenkins-ssh 20:06:28 Cloning the remote Git repository 20:06:29 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:06:29 > git init /w/workspace/device-rest-go/1 # timeout=10 20:06:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:29 > git --version # timeout=10 20:06:29 > git --version # 'git version 2.17.1' 20:06:29 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:29 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:30 $ docker top b5c90e1591a1352521ff78bf006f06f663dd4f05a3f97f3c17de47095d75b522 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:30 ---> job-cost.sh 20:06:30 lf-activate-venv: SKIPPING 20:06:30 INFO: No Stack... 20:06:31 INFO: Retrieving Pricing Info for: v3-standard-2 20:06:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:31 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:06:31 INFO: Archiving Costs [Pipeline] sh 20:06:32 Merging remotes/origin/main commit 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 into PR head commit 56ef31cf881b7c17e76b00aa4681f967046709c4 20:06:32 + cat /w/workspace/gexfoundry_device-rest-go_PR-151/archives/cost.csv 20:06:32 + cut -d, -f6 [Pipeline] lock 20:06:32 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-151-1-stack-cost] 20:06:32 Resource [jenkins-edgexfoundry-device-rest-go-PR-151-1-stack-cost] did not exist. Created. 20:06:32 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-151-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:06:32 Merge succeeded, producing 56ef31cf881b7c17e76b00aa4681f967046709c4 20:06:32 Checking out Revision 56ef31cf881b7c17e76b00aa4681f967046709c4 (PR-151) 20:06:32 + echo total: 0.05999999865889549 [Pipeline] stash 20:06:32 Stashed 1 file(s) [Pipeline] } 20:06:32 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-151-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:06:32 $ docker stop --time=1 b5c90e1591a1352521ff78bf006f06f663dd4f05a3f97f3c17de47095d75b522 20:06:32 > git config core.sparsecheckout # timeout=10 20:06:32 > git checkout -f 56ef31cf881b7c17e76b00aa4681f967046709c4 # timeout=10 20:06:32 > git remote # timeout=10 20:06:32 > git config --get remote.origin.url # timeout=10 20:06:32 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:32 > git merge 5b17f991c425fdfdbf3defaffe349f04efb7e6d5 # timeout=10 20:06:32 > git rev-parse HEAD^{commit} # timeout=10 20:06:32 > git config core.sparsecheckout # timeout=10 20:06:32 > git checkout -f 56ef31cf881b7c17e76b00aa4681f967046709c4 # timeout=10 20:06:33 $ docker rm -f b5c90e1591a1352521ff78bf006f06f663dd4f05a3f97f3c17de47095d75b522 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:06:36 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 20:06:36 > git --version # timeout=10 20:06:36 > git --version # 'git version 2.17.1' 20:06:36 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:06:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:06:37 % Total % Received % Xferd Average Speed Time Time Time Current 20:06:37 Dload Upload Total Spent Left Speed 20:06:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81116 0 --:--:-- --:--:-- --:--:-- 81116 [Pipeline] sh 20:06:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:06:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 20:06:38 sudo tee /etc/docker/daemon.new 20:06:38 { 20:06:38 "registry-mirrors": [ 20:06:38 "https://nexus3.edgexfoundry.org:10001" 20:06:38 ], 20:06:38 "bip": "10.250.0.254/24", 20:06:38 "hosts": [ 20:06:38 "tcp://0.0.0.0:5555", 20:06:38 "unix:///var/run/docker.sock" 20:06:38 ], 20:06:38 "mtu": 1458, 20:06:38 "selinux-enabled": true, 20:06:38 "seccomp-profile": "/etc/docker/seccomp.json" 20:06:38 } [Pipeline] sh 20:06:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:06:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:06:57 provisioning config files... 20:06:57 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config562766753614179337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:06:58 ---> docker-login.sh 20:06:58 nexus3.edgexfoundry.org:10001 20:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:59 Configure a credential helper to remove this warning. See 20:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:59 20:06:59 Login Succeeded 20:06:59 nexus3.edgexfoundry.org:10002 20:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:59 Configure a credential helper to remove this warning. See 20:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:59 20:06:59 Login Succeeded 20:06:59 nexus3.edgexfoundry.org:10003 20:06:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:06:59 Configure a credential helper to remove this warning. See 20:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:06:59 20:06:59 Login Succeeded 20:06:59 nexus3.edgexfoundry.org:10004 20:07:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:00 Configure a credential helper to remove this warning. See 20:07:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:00 20:07:00 Login Succeeded 20:07:00 docker.io 20:07:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:01 Configure a credential helper to remove this warning. See 20:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:01 20:07:01 Login Succeeded 20:07:01 ---> docker-login.sh ends [Pipeline] } 20:07:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:07:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:01 ========================================================= 20:07:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:07:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:07:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 20:07:01 Sending build context to Docker daemon 121.9kB 20:07:02 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 20:07:02 Step 2/11 : FROM ${BASE} AS builder 20:07:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:07:02 9b3977197b4f: Pulling fs layer 20:07:02 1a89e8eeedd5: Pulling fs layer 20:07:02 94645a83ff95: Pulling fs layer 20:07:02 3f3a8bcf1eab: Pulling fs layer 20:07:02 0c92f367c5e7: Pulling fs layer 20:07:02 4b8299f9d1f4: Pulling fs layer 20:07:02 9a6b49a46696: Pulling fs layer 20:07:02 cf05db05a679: Pulling fs layer 20:07:02 9a6b49a46696: Waiting 20:07:02 cf05db05a679: Waiting 20:07:02 4b8299f9d1f4: Waiting 20:07:02 3f3a8bcf1eab: Waiting 20:07:02 0c92f367c5e7: Waiting 20:07:02 94645a83ff95: Download complete 20:07:02 1a89e8eeedd5: Verifying Checksum 20:07:02 1a89e8eeedd5: Download complete 20:07:02 0c92f367c5e7: Verifying Checksum 20:07:02 0c92f367c5e7: Download complete 20:07:02 4b8299f9d1f4: Verifying Checksum 20:07:02 4b8299f9d1f4: Download complete 20:07:02 9b3977197b4f: Verifying Checksum 20:07:02 9b3977197b4f: Download complete 20:07:02 9a6b49a46696: Verifying Checksum 20:07:02 9a6b49a46696: Download complete 20:07:03 9b3977197b4f: Pull complete 20:07:03 1a89e8eeedd5: Pull complete 20:07:03 94645a83ff95: Pull complete 20:07:04 cf05db05a679: Verifying Checksum 20:07:04 cf05db05a679: Download complete 20:07:04 3f3a8bcf1eab: Download complete 20:07:17 3f3a8bcf1eab: Pull complete 20:07:17 0c92f367c5e7: Pull complete 20:07:17 4b8299f9d1f4: Pull complete 20:07:17 9a6b49a46696: Pull complete 20:07:22 cf05db05a679: Pull complete 20:07:22 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 20:07:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:07:22 ---> 0ccda1f7e2ee 20:07:22 Step 3/11 : ARG MAKE='make build' 20:07:24 ---> Running in ff3bef2528e7 20:07:24 Removing intermediate container ff3bef2528e7 20:07:24 ---> 39b73f103329 20:07:24 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:07:24 ---> Running in 9bd730ed3653 20:07:24 Removing intermediate container 9bd730ed3653 20:07:24 ---> eef35d3a938b 20:07:24 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 20:07:24 ---> Running in db0c7769d5b7 20:07:25 Removing intermediate container db0c7769d5b7 20:07:25 ---> dc80dcfdb3bc 20:07:25 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:07:25 ---> Running in e2b7b8d1d7ae 20:07:27 Removing intermediate container e2b7b8d1d7ae 20:07:27 ---> c31c8b1a6987 20:07:27 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:27 ---> Running in ce1cf3c6dd46 20:07:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:07:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:07:29 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:07:29 (2/4) Installing libedit (20210910.3.1-r0) 20:07:29 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:07:30 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:07:30 Executing busybox-1.34.1-r3.trigger 20:07:30 OK: 224 MiB in 56 packages 20:07:31 Removing intermediate container ce1cf3c6dd46 20:07:31 ---> 7a4948561c02 20:07:31 Step 8/11 : WORKDIR /device-rest-go 20:07:31 ---> Running in 4fb43df99332 20:07:31 Removing intermediate container 4fb43df99332 20:07:31 ---> 6d46145aa278 20:07:31 Step 9/11 : COPY . . 20:07:32 ---> 28870a76a4f5 20:07:32 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:32 ---> Running in f4227e70b711 20:08:54 Removing intermediate container f4227e70b711 20:08:54 ---> 0694f7dc4222 20:08:54 Step 11/11 : RUN $MAKE 20:08:54 ---> Running in 929f25368554 20:08:54 noop 20:08:54 Removing intermediate container 929f25368554 20:08:54 ---> 6b930f6facb5 20:08:54 Successfully built 6b930f6facb5 20:08:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:08:54 + docker inspect -f . ci-base-image-arm64 20:08:54 . [Pipeline] withDockerContainer 20:08:55 prd-ubuntu18.04-docker-arm64-4c-16g-1690 does not seem to be running inside a container 20:08:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:08:56 $ docker top 16cc3f91c2b7f77cae47a89569d7c004f14492394448908fa7357953049264ba -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:57 + go version 20:08:57 go version go1.17.6 linux/arm64 [Pipeline] } 20:08:57 $ docker stop --time=1 16cc3f91c2b7f77cae47a89569d7c004f14492394448908fa7357953049264ba 20:08:59 $ docker rm -f 16cc3f91c2b7f77cae47a89569d7c004f14492394448908fa7357953049264ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:08:59 + docker inspect -f . ci-base-image-arm64 20:08:59 . [Pipeline] withDockerContainer 20:09:00 prd-ubuntu18.04-docker-arm64-4c-16g-1690 does not seem to be running inside a container 20:09:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:09:01 $ docker top caae7efc83420388808f13d353d36310673f12b273c6782395875f39f7598e59 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:09:02 + make test 20:09:02 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 20:09:03 ? github.com/edgexfoundry/device-rest-go [no test files] 20:10:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:10:00 ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 56.0% of statements 20:10:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:10:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:10:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:10:15 ./bin/test-attribution-txt.sh [Pipeline] echo 20:10:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:10:17 $ docker stop --time=1 caae7efc83420388808f13d353d36310673f12b273c6782395875f39f7598e59 20:10:19 $ docker rm -f caae7efc83420388808f13d353d36310673f12b273c6782395875f39f7598e59 [Pipeline] // withDockerContainer [Pipeline] sh 20:10:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:10:20 Warning: overwriting stash ‘coverage-report’ 20:10:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:10:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:10:21 + ls -al . 20:10:21 total 176 20:10:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 20:10 . 20:10:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 20:06 .. 20:10:21 -rw-rw-r-- 1 jenkins jenkins 151 Jan 17 20:06 .dockerignore 20:10:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 20:06 .git 20:10:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 20:06 .github 20:10:21 -rw-rw-r-- 1 jenkins jenkins 329 Jan 17 20:06 .gitignore 20:10:21 -rw-rw-r-- 1 jenkins jenkins 7095 Jan 17 20:06 Attribution.txt 20:10:21 -rw-rw-r-- 1 jenkins jenkins 7459 Jan 17 20:06 CHANGELOG.md 20:10:21 -rw-rw-r-- 1 jenkins jenkins 1649 Jan 17 20:06 Dockerfile 20:10:21 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 20:06 GOVERNANCE.md 20:10:21 -rw-rw-r-- 1 jenkins jenkins 680 Jan 17 20:06 Jenkinsfile 20:10:21 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 20:06 LICENSE 20:10:21 -rw-rw-r-- 1 jenkins jenkins 1078 Jan 17 20:06 Makefile 20:10:21 -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 20:06 OWNERS.md 20:10:21 -rw-rw-r-- 1 jenkins jenkins 8246 Jan 17 20:06 README.md 20:10:21 -rw-rw-r-- 1 jenkins jenkins 5 Jan 17 20:04 VERSION 20:10:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 20:06 bin 20:10:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 20:06 cmd 20:10:21 -rw-r--r-- 1 jenkins jenkins 9215 Jan 17 20:09 coverage.out 20:10:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 20:06 driver 20:10:21 -rw-rw-r-- 1 jenkins jenkins 277 Jan 17 20:06 go.mod 20:10:21 -rw-rw-r-- 1 jenkins jenkins 49330 Jan 17 20:06 go.sum 20:10:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 20:06 snap 20:10:21 -rw-rw-r-- 1 jenkins jenkins 713 Jan 17 20:06 version.go [Pipeline] isUnix [Pipeline] sh 20:10:22 + 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=56ef31cf881b7c17e76b00aa4681f967046709c4 --label arch=arm64 --label version=0.0.0 . 20:10:22 Sending build context to Docker daemon 131.6kB 20:10:22 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 20:10:22 Step 2/24 : FROM ${BASE} AS builder 20:10:22 ---> 6b930f6facb5 20:10:22 Step 3/24 : ARG MAKE='make build' 20:10:22 ---> Running in ef03f88714cf 20:10:22 Removing intermediate container ef03f88714cf 20:10:22 ---> db346944b22b 20:10:22 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:10:22 ---> Running in 88eab346b139 20:10:23 Removing intermediate container 88eab346b139 20:10:23 ---> 9c574f06aaa0 20:10:23 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 20:10:23 ---> Running in 467486c26058 20:10:23 Removing intermediate container 467486c26058 20:10:23 ---> 99293afd35fb 20:10:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:10:24 ---> Running in e6c76c83480a 20:10:26 Removing intermediate container e6c76c83480a 20:10:26 ---> 7dd6d82bd490 20:10:26 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:26 ---> Running in 29cee347fa90 20:10:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:10:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:10:28 OK: 224 MiB in 56 packages 20:10:29 Removing intermediate container 29cee347fa90 20:10:29 ---> bf99ed859487 20:10:29 Step 8/24 : WORKDIR /device-rest-go 20:10:29 ---> Running in e5b11d054436 20:10:29 Removing intermediate container e5b11d054436 20:10:29 ---> 23dae4b68098 20:10:29 Step 9/24 : COPY . . 20:10:30 ---> ab4b277e7bf7 20:10:30 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:30 ---> Running in bb8a44d7a6ef 20:10:32 Removing intermediate container bb8a44d7a6ef 20:10:32 ---> 4009b42ae1da 20:10:32 Step 11/24 : RUN $MAKE 20:10:32 ---> Running in 9fbfb4d8963f 20:10:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 20:11:20 Removing intermediate container 9fbfb4d8963f 20:11:20 ---> 3ad3f2a26823 20:11:20 Step 12/24 : FROM alpine:3.14 20:11:20 3.14: Pulling from library/alpine 20:11:20 be307f383ecc: Pulling fs layer 20:11:20 be307f383ecc: Verifying Checksum 20:11:20 be307f383ecc: Download complete 20:11:20 be307f383ecc: Pull complete 20:11:20 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 20:11:20 Status: Downloaded newer image for alpine:3.14 20:11:20 ---> 5b8b7b635229 20:11:20 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:11:20 ---> Running in cb737bb8b8f2 20:11:20 Removing intermediate container cb737bb8b8f2 20:11:20 ---> aed39d2500c3 20:11:20 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 20:11:20 ---> Running in 0e4952e31d97 20:11:20 Removing intermediate container 0e4952e31d97 20:11:20 ---> 318d094db399 20:11:20 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:11:20 ---> Running in af4d08391985 20:11:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:11:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:11:20 (1/6) Installing dumb-init (1.2.5-r1) 20:11:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:11:20 (3/6) Installing libsodium (1.0.18-r0) 20:11:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:11:20 (5/6) Installing libzmq (4.3.4-r0) 20:11:20 (6/6) Installing zeromq (4.3.4-r0) 20:11:20 Executing busybox-1.33.1-r6.trigger 20:11:20 OK: 8 MiB in 20 packages 20:11:20 Removing intermediate container af4d08391985 20:11:20 ---> 2d5e2cd5e500 20:11:20 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 20:11:20 ---> 5a03fe51bdde 20:11:20 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 20:11:21 ---> 8ba830b0e0e4 20:11:21 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 20:11:21 ---> 82766c76c90f 20:11:21 Step 19/24 : EXPOSE 59986 20:11:21 ---> Running in 66b74bf275e0 20:11:21 Removing intermediate container 66b74bf275e0 20:11:21 ---> a66e64d748dc 20:11:21 Step 20/24 : ENTRYPOINT ["/device-rest"] 20:11:22 ---> Running in 0541d07221ab 20:11:22 Removing intermediate container 0541d07221ab 20:11:22 ---> 1ff8915a5e8a 20:11:22 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:11:22 ---> Running in 488ff75d2d2c 20:11:23 Removing intermediate container 488ff75d2d2c 20:11:23 ---> 0796b38917d9 20:11:23 Step 22/24 : LABEL arch=arm64 20:11:23 ---> Running in 6b5db690689b 20:11:23 Removing intermediate container 6b5db690689b 20:11:23 ---> caade90bc452 20:11:23 Step 23/24 : LABEL git_sha=56ef31cf881b7c17e76b00aa4681f967046709c4 20:11:23 ---> Running in bff684eef694 20:11:24 Removing intermediate container bff684eef694 20:11:24 ---> f5338e30a1bb 20:11:24 Step 24/24 : LABEL version=0.0.0 20:11:24 ---> Running in 74aa69dab856 20:11:24 Removing intermediate container 74aa69dab856 20:11:24 ---> eddce8769a8a 20:11:24 [Warning] One or more build-args [ARCH] were not consumed 20:11:24 Successfully built eddce8769a8a 20:11:24 Successfully tagged device-rest-arm64:latest [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] sh 20:11:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:24 20:11:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:11:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:25 arm64: Pulling from edgex-lftools-log-publisher 20:11:25 448f6bf000e3: Pulling fs layer 20:11:25 f757da607395: Pulling fs layer 20:11:25 05883995daec: Pulling fs layer 20:11:25 8603b9c90790: Pulling fs layer 20:11:25 1560dd03e051: Pulling fs layer 20:11:25 27f5ce0e4adf: Pulling fs layer 20:11:25 c2d8d7efcc4b: Pulling fs layer 20:11:25 8603b9c90790: Waiting 20:11:25 1560dd03e051: Waiting 20:11:25 27f5ce0e4adf: Waiting 20:11:25 c2d8d7efcc4b: Waiting 20:11:25 f757da607395: Verifying Checksum 20:11:25 f757da607395: Download complete 20:11:25 8603b9c90790: Verifying Checksum 20:11:25 8603b9c90790: Download complete 20:11:25 1560dd03e051: Verifying Checksum 20:11:25 1560dd03e051: Download complete 20:11:25 27f5ce0e4adf: Verifying Checksum 20:11:25 27f5ce0e4adf: Download complete 20:11:25 05883995daec: Verifying Checksum 20:11:25 05883995daec: Download complete 20:11:26 448f6bf000e3: Verifying Checksum 20:11:26 448f6bf000e3: Download complete 20:11:28 c2d8d7efcc4b: Verifying Checksum 20:11:28 c2d8d7efcc4b: Download complete 20:11:29 448f6bf000e3: Pull complete 20:11:30 f757da607395: Pull complete 20:11:31 05883995daec: Pull complete 20:11:32 8603b9c90790: Pull complete 20:11:33 1560dd03e051: Pull complete 20:11:33 27f5ce0e4adf: Pull complete 20:11:51 c2d8d7efcc4b: Pull complete 20:11:51 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:11:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:11:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:11:51 prd-ubuntu18.04-docker-arm64-4c-16g-1690 does not seem to be running inside a container 20:11:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:11:54 $ docker top 72b733b7fcbd4d645173f51663272f29f2f30f3b6d209ca28bd9d8924428db52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:11:55 ---> job-cost.sh 20:11:55 lf-activate-venv: SKIPPING 20:11:55 INFO: No Stack... 20:11:55 INFO: Retrieving Pricing Info for: v3-standard-4 20:11:56 INFO: Archiving Costs [Pipeline] sh 20:11:56 + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:11:56 + cut -d, -f6 [Pipeline] lock 20:11:56 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-151-1-stack-cost] 20:11:56 Resource [jenkins-edgexfoundry-device-rest-go-PR-151-1-stack-cost] did not exist. Created. 20:11:56 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-151-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:11:57 /w/workspace/device-rest-go/1@tmp/durable-7c3d88b4/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-7c3d88b4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:11:58 + echo total: 0.10999999940395355 [Pipeline] stash 20:11:58 Warning: overwriting stash ‘stack-cost’ 20:11:58 Stashed 1 file(s) [Pipeline] } 20:11:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-151-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:11:58 $ docker stop --time=1 72b733b7fcbd4d645173f51663272f29f2f30f3b6d209ca28bd9d8924428db52 20:11:59 $ docker rm -f 72b733b7fcbd4d645173f51663272f29f2f30f3b6d209ca28bd9d8924428db52 [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 20:12:00 provisioning config files... 20:12:00 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-151@tmp/config1634544471503506726tmp [Pipeline] { [Pipeline] sh 20:12:01 + set +x 20:12:01 + curl -s https://codecov.io/bash 20:12:01 + bash -s -- 20:12:01 20:12:01 _____ _ 20:12:01 / ____| | | 20:12:01 | | ___ __| | ___ ___ _____ __ 20:12:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:12:01 | |___| (_) | (_| | __/ (_| (_) \ V / 20:12:01 \_____\___/ \__,_|\___|\___\___/ \_/ 20:12:01 Bash-1.0.6 20:12:01 20:12:01 20:12:01 ==> git version 2.24.4 found 20:12:01 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 20:12:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:12:01 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:12:01 ==> Jenkins CI detected. 20:12:01 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-151 20:12:01 project root: . 20:12:01 --> token set from env 20:12:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:12:01 ==> Running gcov in . (disable via -X gcov) 20:12:01 ==> Python coveragepy not found 20:12:01 ==> Searching for coverage reports in: 20:12:01 + . 20:12:01 -> Found 1 reports 20:12:01 ==> Detecting git/mercurial file structure 20:12:01 ==> Reading reports 20:12:01 + ./coverage.out bytes=9215 20:12:01 ==> Appending adjustments 20:12:01 https://docs.codecov.io/docs/fixing-reports 20:12:01 + Found adjustments 20:12:01 ==> Gzipping contents 20:12:01 4.0K /tmp/codecov.eGujbL.gz 20:12:01 ==> Uploading reports 20:12:01 url: https://codecov.io 20:12:01 query: branch=PR-151&commit=56ef31cf881b7c17e76b00aa4681f967046709c4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-151%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=151&job=&cmd_args= 20:12:01 -> Pinging Codecov 20:12:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-151&commit=56ef31cf881b7c17e76b00aa4681f967046709c4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-151%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=151&job=&cmd_args= 20:12:02 -> Uploading to 20:12:02 https://storage.googleapis.com/codecov/v4/raw/2022-01-17/4E5D53B4F1F92C436F7061BF334D961C/56ef31cf881b7c17e76b00aa4681f967046709c4/cbdd38f6-33b9-4ae1-b87f-616c3768a322.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220117T201202Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a8b30db187afde68af4a9905cfafa7416e802921e9d91813b0e5e1f1fe2c75cd 20:12:02 % Total % Received % Xferd Average Speed Time Time Time Current 20:12:02 Dload Upload Total Spent Left Speed 20:12:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1814 0 0 100 1814 0 5567 --:--:-- --:--:-- --:--:-- 5581 20:12:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/56ef31cf881b7c17e76b00aa4681f967046709c4 [Pipeline] } 20:12:02 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 20:12:04 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-151/archives ']' 20:12:04 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-151/archives 20:12:04 total 8 20:12:04 drwxr-xr-x. 3 root root 34 Jan 17 20:06 . 20:12:04 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 17 20:06 .. 20:12:04 drwxr-xr-x. 2 root root 6 Jan 17 20:06 cost 20:12:04 -rw-r--r--. 1 root root 85 Jan 17 20:06 cost.csv 20:12:04 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-151/archives 20:12:04 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-151/archives 20:12:04 total 8 20:12:04 drwxr-xr-x. 3 jenkins jenkins 34 Jan 17 20:06 . 20:12:04 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 17 20:06 .. 20:12:04 drwxr-xr-x. 2 jenkins jenkins 6 Jan 17 20:06 cost 20:12:04 -rw-r--r--. 1 jenkins jenkins 85 Jan 17 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:12:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:12:05 ---> package-listing.sh 20:12:05 ++ facter osfamily 20:12:05 ++ tr '[:upper:]' '[:lower:]' 20:12:05 + OS_FAMILY=redhat 20:12:05 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-151 20:12:05 + START_PACKAGES=/tmp/packages_start.txt 20:12:05 + END_PACKAGES=/tmp/packages_end.txt 20:12:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:12:05 + PACKAGES=/tmp/packages_start.txt 20:12:05 + '[' /w/workspace/gexfoundry_device-rest-go_PR-151 ']' 20:12:05 + PACKAGES=/tmp/packages_end.txt 20:12:05 + case "${OS_FAMILY}" in 20:12:05 + rpm -qa 20:12:05 + sort 20:12:06 + '[' -f /tmp/packages_start.txt ']' 20:12:06 + '[' -f /tmp/packages_end.txt ']' 20:12:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:12:06 + '[' /w/workspace/gexfoundry_device-rest-go_PR-151 ']' 20:12:06 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-151/archives/ 20:12:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-151/archives/ [Pipeline] echo 20:12:06 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-151/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:12:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:12:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:12:07 . [Pipeline] withDockerContainer 20:12:07 prd-centos7-docker-4c-2g-1689 does not seem to be running inside a container 20:12:07 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-151/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-151 -v /w/workspace/gexfoundry_device-rest-go_PR-151:/w/workspace/gexfoundry_device-rest-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-151@tmp:/w/workspace/gexfoundry_device-rest-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:12:07 $ docker top 8b7d4ea2f5d34f58f07c8347f159a03dbd2b685bae98bf859e0bb9d78e956ccd -eo pid,comm [Pipeline] { [Pipeline] sh 20:12:08 + touch /tmp/pre-build-complete [Pipeline] sh 20:12:08 + mkdir -p /var/log/sysstat [Pipeline] sh 20:12:08 + ls /var/log/sa-host 20:12:08 + sadf -c /var/log/sa-host/sa17 20:12:08 file_magic: OK 20:12:08 HZ: Using current value: 100 20:12:08 file_header: OK 20:12:08 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 20:12:08 Statistics: 20:12:08 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:12:08 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:12:09 provisioning config files... 20:12:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-151@tmp/config2816194392811755446tmp [Pipeline] { [Pipeline] echo 20:12:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:12:09 ---> create-netrc.sh [Pipeline] } 20:12:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:12:09 ---> python-tools-install.sh [Pipeline] echo 20:12:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:12:10 ---> sudo-logs.sh 20:12:10 Archiving 'sudo' log.. 20:12:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-1689.novalocal: Name or service not known 20:12:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-1689.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 20:12:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:12:10 ---> job-cost.sh 20:12:10 lf-activate-venv: SKIPPING 20:12:10 DEBUG: total: 0.05999999865889549 20:12:10 INFO: Retrieving Stack Cost... 20:12:10 INFO: Retrieving Pricing Info for: v3-standard-2 20:12:11 INFO: Archiving Costs [Pipeline] echo 20:12:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:12:11 ---> logs-deploy.sh 20:12:11 lf-activate-venv: SKIPPING 20:12:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-151/1 20:12:11 INFO: archiving workspace using pattern(s): 20:12:12 Archives upload complete. 20:12:12 INFO: archiving logs to Nexus