Pull request #153 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-rest-go Obtained Jenkinsfile from 5bc210e6f011023bf97f2597a6b4a27e68849c3b+7e17efc4e40053c7710c451774e80e9bfae25c24 (7f482142fcd3e06e5d7f24420b40969d4a0f6335) 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-ssh12479244395984815651.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-ssh10040187479622910154.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-153/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-153/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2952711998112304637.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-153/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10460985420382926041.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-ssh18120318087451862380.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-153/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-153/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3800445851583285895.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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2255’ Running on prd-centos7-docker-4c-2g-2258 in /w/workspace/gexfoundry_device-rest-go_PR-153 [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-153 # 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-153@tmp/jenkins-gitclient-ssh3889239733031701600.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7e17efc4e40053c7710c451774e80e9bfae25c24 into PR head commit 5bc210e6f011023bf97f2597a6b4a27e68849c3b > 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-153@tmp/jenkins-gitclient-ssh5592201518173321138.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bc210e6f011023bf97f2597a6b4a27e68849c3b # timeout=10 > git remote # timeout=10 Merge succeeded, producing 5bc210e6f011023bf97f2597a6b4a27e68849c3b Checking out Revision 5bc210e6f011023bf97f2597a6b4a27e68849c3b (PR-153) > 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-153@tmp/jenkins-gitclient-ssh2971423448558298025.key > git merge 7e17efc4e40053c7710c451774e80e9bfae25c24 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bc210e6f011023bf97f2597a6b4a27e68849c3b # timeout=10 Commit message: "ci: gomod changes related for Go 1.17" 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 18:02:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:02:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:02:22 ========================================================= 18:02:22 EdgeX Global Pipelines Version Info 18:02:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:02:23 ------------------- 18:02:23 stable info: 18:02:23 ------------------- 18:02:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:02:23 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:02:23 Message: update stable to v1.0.219 18:02:23 ------------------- 18:02:23 experimental info: 18:02:23 ------------------- 18:02:23 Commited By: **** collab-it+edgex@linuxfoundation.org 18:02:23 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 18:02:23 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:02:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:02:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:02:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:02:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:02:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:02:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:02:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:02:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo 18:02:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo 18:02:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo 18:02:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5bc210e6f011023bf97f2597a6b4a27e68849c3b [Pipeline] echo 18:02:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5bc210e [Pipeline] echo 18:02:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:02:25 provisioning config files... 18:02:25 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp/config8450353990866200149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:02:26 ---> docker-login.sh 18:02:26 nexus3.edgexfoundry.org:10001 18:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:26 Configure a credential helper to remove this warning. See 18:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:26 18:02:26 Login Succeeded 18:02:26 nexus3.edgexfoundry.org:10002 18:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:26 Configure a credential helper to remove this warning. See 18:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:26 18:02:26 Login Succeeded 18:02:26 nexus3.edgexfoundry.org:10003 18:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:26 Configure a credential helper to remove this warning. See 18:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:26 18:02:26 Login Succeeded 18:02:26 nexus3.edgexfoundry.org:10004 18:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:26 Configure a credential helper to remove this warning. See 18:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:26 18:02:26 Login Succeeded 18:02:26 docker.io 18:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:26 Configure a credential helper to remove this warning. See 18:02:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:26 18:02:26 Login Succeeded 18:02:26 ---> docker-login.sh ends [Pipeline] } 18:02:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:02:27 + git rev-list -1 --merges 5bc210e6f011023bf97f2597a6b4a27e68849c3b~1..5bc210e6f011023bf97f2597a6b4a27e68849c3b [Pipeline] echo 18:02:27 -----------> git rev-list -1 --merges 5bc210e6f011023bf97f2597a6b4a27e68849c3b~1..5bc210e6f011023bf97f2597a6b4a27e68849c3b 5bc210e6f011023bf97f2597a6b4a27e68849c3b [false] [Pipeline] sh 18:02:27 + git log --format=format:%s -1 5bc210e6f011023bf97f2597a6b4a27e68849c3b [Pipeline] echo 18:02:27 ========================================================= 18:02:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:02:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:02:28 + git log --format=format:%s -1 5bc210e6f011023bf97f2597a6b4a27e68849c3b [Pipeline] echo 18:02:28 [semverPrep] GIT_COMMIT: 5bc210e6f011023bf97f2597a6b4a27e68849c3b, Commit Message: ci: gomod changes related for Go 1.17 [Pipeline] echo 18:02:28 [semverPrep] This is not a build commit. [Pipeline] sh 18:02:28 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 18:02:28 + grep -v github /etc/ssh/ssh_known_hosts 18:02:28 + '[' -e /tmp/ssh_known_hosts ']' 18:02:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:02:28 + sudo tee -a /etc/ssh/ssh_known_hosts 18:02:28 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 18:02:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:02:29 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:02:29 18:02:29 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:02:29 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:02:29 latest: Pulling from edgex-devops/git-semver 18:02:29 a0d0a0d46f8b: Pulling fs layer 18:02:29 3e5f54012d9b: Pulling fs layer 18:02:29 4c7163046ea9: Pulling fs layer 18:02:29 0c2d73faf560: Pulling fs layer 18:02:29 0c2d73faf560: Waiting 18:02:29 3e5f54012d9b: Verifying Checksum 18:02:29 3e5f54012d9b: Download complete 18:02:29 a0d0a0d46f8b: Verifying Checksum 18:02:29 a0d0a0d46f8b: Download complete 18:02:29 4c7163046ea9: Verifying Checksum 18:02:29 4c7163046ea9: Download complete 18:02:29 0c2d73faf560: Verifying Checksum 18:02:29 0c2d73faf560: Download complete 18:02:29 a0d0a0d46f8b: Pull complete 18:02:29 3e5f54012d9b: Pull complete 18:02:30 4c7163046ea9: Pull complete 18:02:30 0c2d73faf560: Pull complete 18:02:30 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:02:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:02:30 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:02:30 prd-centos7-docker-4c-2g-2258 does not seem to be running inside a container 18:02:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-153 -v /w/workspace/gexfoundry_device-rest-go_PR-153:/w/workspace/gexfoundry_device-rest-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-153@tmp:/w/workspace/gexfoundry_device-rest-go_PR-153@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:10004/edgex-devops/git-semver:latest cat 18:02:31 $ docker top b04239aa86cafa073a016d2c6534de567a16a521473cfd1b9eae929424c7e6e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:02:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:02:31 [ssh-agent] Looking for ssh-agent implementation... 18:02:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:02:31 $ docker exec b04239aa86cafa073a016d2c6534de567a16a521473cfd1b9eae929424c7e6e7 ssh-agent 18:02:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKlNPbK/agent.16 18:02:31 SSH_AGENT_PID=22 18:02:31 Running ssh-add (command line suppressed) 18:02:31 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-153@tmp/private_key_4451520958292863049.key (/w/workspace/gexfoundry_device-rest-go_PR-153@tmp/private_key_4451520958292863049.key) 18:02:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:02:32 + git tag --points-at HEAD [Pipeline] } 18:02:32 $ docker exec --env ******** --env ******** b04239aa86cafa073a016d2c6534de567a16a521473cfd1b9eae929424c7e6e7 ssh-agent -k 18:02:32 unset SSH_AUTH_SOCK; 18:02:32 unset SSH_AGENT_PID; 18:02:32 echo Agent pid 22 killed; 18:02:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:02:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:02:32 [ssh-agent] Looking for ssh-agent implementation... 18:02:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:02:32 $ docker exec b04239aa86cafa073a016d2c6534de567a16a521473cfd1b9eae929424c7e6e7 ssh-agent 18:02:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDiaFCo/agent.56 18:02:32 SSH_AGENT_PID=62 18:02:32 Running ssh-add (command line suppressed) 18:02:32 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-153@tmp/private_key_7489200489989613625.key (/w/workspace/gexfoundry_device-rest-go_PR-153@tmp/private_key_7489200489989613625.key) 18:02:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:02:32 + git semver init 18:02:32 # -> Open(): unable to determine branch for HEAD 18:02:32 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-153/.git 18:02:32 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-153 18:02:32 # $SEMVER_REMOTE_NAME = origin 18:02:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:02:32 # $SEMVER_USER_NAME = edgex-jenkins 18:02:32 # $SEMVER_BRANCH = PR-153 18:02:32 # $SEMVER_TEMP = /tmp/semver-596106634 18:02:32 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 18:02:34 # '/tmp/semver-596106634' -> '/w/workspace/gexfoundry_device-rest-go_PR-153/.semver' 18:02:34 # -> Force: false 18:02:34 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-153/.semver [Pipeline] } 18:02:34 $ docker exec --env ******** --env ******** b04239aa86cafa073a016d2c6534de567a16a521473cfd1b9eae929424c7e6e7 ssh-agent -k 18:02:34 unset SSH_AUTH_SOCK; 18:02:34 unset SSH_AGENT_PID; 18:02:34 echo Agent pid 62 killed; 18:02:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:02:34 + git semver [Pipeline] } 18:02:34 $ docker stop --time=1 b04239aa86cafa073a016d2c6534de567a16a521473cfd1b9eae929424c7e6e7 18:02:36 $ docker rm -f b04239aa86cafa073a016d2c6534de567a16a521473cfd1b9eae929424c7e6e7 [Pipeline] // withDockerContainer [Pipeline] sh 18:02:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:02:36 Stashed 1 file(s) [Pipeline] echo 18:02: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 18:02:37 provisioning config files... 18:02:37 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp/config4609397814362979920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:02:38 ---> docker-login.sh 18:02:38 nexus3.edgexfoundry.org:10001 18:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:38 Configure a credential helper to remove this warning. See 18:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:38 18:02:38 Login Succeeded 18:02:38 nexus3.edgexfoundry.org:10002 18:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:38 Configure a credential helper to remove this warning. See 18:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:38 18:02:38 Login Succeeded 18:02:38 nexus3.edgexfoundry.org:10003 18:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:38 Configure a credential helper to remove this warning. See 18:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:38 18:02:38 Login Succeeded 18:02:38 nexus3.edgexfoundry.org:10004 18:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:38 Configure a credential helper to remove this warning. See 18:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:38 18:02:38 Login Succeeded 18:02:38 docker.io 18:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:38 Configure a credential helper to remove this warning. See 18:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:38 18:02:38 Login Succeeded 18:02:38 ---> docker-login.sh ends [Pipeline] } 18:02:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:02:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:02:39 ========================================================= 18:02:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:02:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:02:39 + 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 . 18:02:39 Sending build context to Docker daemon 10.54MB 18:02:39 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:02:39 Step 2/12 : FROM ${BASE} AS builder 18:02:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:02:39 59bf1c3509f3: Pulling fs layer 18:02:39 666ba61612fd: Pulling fs layer 18:02:39 8ed8ca486205: Pulling fs layer 18:02:39 4fe6c5a15a65: Pulling fs layer 18:02:39 22a0e8bec74d: Pulling fs layer 18:02:39 f965cba54748: Pulling fs layer 18:02:39 861ffc35075e: Pulling fs layer 18:02:39 4b385c91608e: Pulling fs layer 18:02:39 560528eb2ebb: Pulling fs layer 18:02:39 4fe6c5a15a65: Waiting 18:02:39 22a0e8bec74d: Waiting 18:02:39 f965cba54748: Waiting 18:02:39 861ffc35075e: Waiting 18:02:39 4b385c91608e: Waiting 18:02:39 560528eb2ebb: Waiting 18:02:39 8ed8ca486205: Verifying Checksum 18:02:39 8ed8ca486205: Download complete 18:02:39 666ba61612fd: Verifying Checksum 18:02:39 666ba61612fd: Download complete 18:02:39 22a0e8bec74d: Verifying Checksum 18:02:39 22a0e8bec74d: Download complete 18:02:39 f965cba54748: Verifying Checksum 18:02:39 f965cba54748: Download complete 18:02:39 59bf1c3509f3: Verifying Checksum 18:02:39 59bf1c3509f3: Download complete 18:02:39 861ffc35075e: Verifying Checksum 18:02:39 861ffc35075e: Download complete 18:02:39 4b385c91608e: Verifying Checksum 18:02:39 4b385c91608e: Download complete 18:02:40 560528eb2ebb: Verifying Checksum 18:02:40 560528eb2ebb: Download complete 18:02:40 59bf1c3509f3: Pull complete 18:02:40 4fe6c5a15a65: Verifying Checksum 18:02:40 4fe6c5a15a65: Download complete 18:02:40 666ba61612fd: Pull complete 18:02:40 8ed8ca486205: Pull complete 18:02:44 4fe6c5a15a65: Pull complete 18:02:44 22a0e8bec74d: Pull complete 18:02:44 f965cba54748: Pull complete 18:02:44 861ffc35075e: Pull complete 18:02:44 4b385c91608e: Pull complete 18:02:47 560528eb2ebb: Pull complete 18:02:47 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 18:02:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:02:47 ---> dd4a08f94e63 18:02:47 Step 3/12 : ARG MAKE='make build' 18:02:49 ---> Running in 00133902375f 18:02:49 Removing intermediate container 00133902375f 18:02:49 ---> 89e0073fad5d 18:02:49 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:02:49 ---> Running in 071dbd62ca99 18:02:49 Removing intermediate container 071dbd62ca99 18:02:49 ---> bd6416c1e6ad 18:02:49 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 18:02:49 ---> Running in e07b82c8201a 18:02:49 Removing intermediate container e07b82c8201a 18:02:49 ---> f91a6e811d79 18:02:49 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:02:49 ---> Running in 337f904e7e6c 18:02:50 Removing intermediate container 337f904e7e6c 18:02:50 ---> 6a4ba843924e 18:02:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:02:50 ---> Running in 9682eb195ad9 18:02:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:02:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:02:51 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:02:51 (2/4) Installing libedit (20210910.3.1-r0) 18:02:51 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:02:51 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:02:51 Executing busybox-1.34.1-r3.trigger 18:02:51 OK: 224 MiB in 56 packages 18:02:52 Removing intermediate container 9682eb195ad9 18:02:52 ---> 045cf42aaafc 18:02:52 Step 8/12 : WORKDIR /device-rest-go 18:02:52 ---> Running in a022da8403b0 18:02:52 Removing intermediate container a022da8403b0 18:02:52 ---> bdede7c0a6e2 18:02:52 Step 9/12 : COPY go.mod vendor* ./ 18:02:52 Still waiting to schedule task 18:02:52 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-2256’ 18:02:52 ---> 29ce663a0420 18:02:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:02:52 ---> Running in 5e97d7fd45c6 18:03:31 Removing intermediate container 5e97d7fd45c6 18:03:31 ---> 9d2a3892abde 18:03:31 Step 11/12 : COPY . . 18:03:31 ---> 901c6f2f770d 18:03:31 Step 12/12 : RUN $MAKE 18:03:31 ---> Running in 257012a6b9a1 18:03:31 noop 18:03:31 Removing intermediate container 257012a6b9a1 18:03:31 ---> 1146a3b43ccd 18:03:31 Successfully built 1146a3b43ccd 18:03:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:03:31 + docker inspect -f . ci-base-image-x86_64 18:03:31 . [Pipeline] withDockerContainer 18:03:31 prd-centos7-docker-4c-2g-2258 does not seem to be running inside a container 18:03:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-153 -v /w/workspace/gexfoundry_device-rest-go_PR-153:/w/workspace/gexfoundry_device-rest-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-153@tmp:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:03:32 $ docker top 10977da6a4ac92d11826bca4fa4fb2f4da150731115b70c079271427a0f6f717 -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:32 + go version 18:03:32 go version go1.17.6 linux/amd64 [Pipeline] } 18:03:32 $ docker stop --time=1 10977da6a4ac92d11826bca4fa4fb2f4da150731115b70c079271427a0f6f717 18:03:33 $ docker rm -f 10977da6a4ac92d11826bca4fa4fb2f4da150731115b70c079271427a0f6f717 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:03:34 + docker inspect -f . ci-base-image-x86_64 18:03:34 . [Pipeline] withDockerContainer 18:03:34 prd-centos7-docker-4c-2g-2258 does not seem to be running inside a container 18:03:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-153 -v /w/workspace/gexfoundry_device-rest-go_PR-153:/w/workspace/gexfoundry_device-rest-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-153@tmp:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:03:35 $ docker top f8623a0373cb18e14f6b5ef2705f5a4785ebbc2699345240f635dd2416e6619e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:03:35 + make test 18:03:35 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:03:35 ? github.com/edgexfoundry/device-rest-go [no test files] 18:03:57 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:03:57 ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements 18:03:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:03:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:03:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:03:59 ./bin/test-attribution-txt.sh [Pipeline] echo 18:04:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:04:00 $ docker stop --time=1 f8623a0373cb18e14f6b5ef2705f5a4785ebbc2699345240f635dd2416e6619e 18:04:01 $ docker rm -f f8623a0373cb18e14f6b5ef2705f5a4785ebbc2699345240f635dd2416e6619e [Pipeline] // withDockerContainer [Pipeline] sh 18:04:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:04:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:04:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:04:03 + ls -al . 18:04:03 total 148 18:04:03 drwxrwxr-x. 9 jenkins jenkins 4096 Jan 20 18:04 . 18:04:03 drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 18:02 .. 18:04:03 -rw-rw-r--. 1 jenkins jenkins 7095 Jan 20 18:02 Attribution.txt 18:04:03 drwxrwxr-x. 2 jenkins jenkins 37 Jan 20 18:02 bin 18:04:03 -rw-rw-r--. 1 jenkins jenkins 7459 Jan 20 18:02 CHANGELOG.md 18:04:03 drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 18:02 cmd 18:04:03 -rw-r--r--. 1 jenkins jenkins 9215 Jan 20 18:03 coverage.out 18:04:03 -rw-rw-r--. 1 jenkins jenkins 1672 Jan 20 18:02 Dockerfile 18:04:03 -rw-rw-r--. 1 jenkins jenkins 151 Jan 20 18:02 .dockerignore 18:04:03 drwxrwxr-x. 2 jenkins jenkins 76 Jan 20 18:02 driver 18:04:03 drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 18:02 .git 18:04:03 drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 18:02 .github 18:04:03 -rw-rw-r--. 1 jenkins jenkins 329 Jan 20 18:02 .gitignore 18:04:03 -rw-rw-r--. 1 jenkins jenkins 2894 Jan 20 18:02 go.mod 18:04:03 -rw-rw-r--. 1 jenkins jenkins 49330 Jan 20 18:02 go.sum 18:04:03 -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:02 GOVERNANCE.md 18:04:03 -rw-rw-r--. 1 jenkins jenkins 680 Jan 20 18:02 Jenkinsfile 18:04:03 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 18:02 LICENSE 18:04:03 -rw-rw-r--. 1 jenkins jenkins 1078 Jan 20 18:02 Makefile 18:04:03 -rw-rw-r--. 1 jenkins jenkins 620 Jan 20 18:02 OWNERS.md 18:04:03 -rw-rw-r--. 1 jenkins jenkins 8246 Jan 20 18:02 README.md 18:04:03 drwx------. 3 jenkins jenkins 59 Jan 20 18:02 .semver 18:04:03 drwxrwxr-x. 3 jenkins jenkins 58 Jan 20 18:02 snap 18:04:03 -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 18:02 VERSION 18:04:03 -rw-rw-r--. 1 jenkins jenkins 713 Jan 20 18:02 version.go [Pipeline] isUnix [Pipeline] sh 18:04:03 + 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=5bc210e6f011023bf97f2597a6b4a27e68849c3b --label arch=amd64 --label version=0.0.0 . 18:04:03 Sending build context to Docker daemon 10.55MB 18:04:03 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 18:04:03 Step 2/25 : FROM ${BASE} AS builder 18:04:03 ---> 1146a3b43ccd 18:04:03 Step 3/25 : ARG MAKE='make build' 18:04:03 ---> Running in b0ac1237409f 18:04:04 Removing intermediate container b0ac1237409f 18:04:04 ---> 0f651f40f57e 18:04:04 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:04:04 ---> Running in b72403f4fb45 18:04:04 Removing intermediate container b72403f4fb45 18:04:04 ---> 793df57ee0d6 18:04:04 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 18:04:04 ---> Running in 520384fa3ed3 18:04:04 Removing intermediate container 520384fa3ed3 18:04:04 ---> 41e85ecef8fc 18:04:04 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:04:04 ---> Running in 76f0e9be7faa 18:04:04 Removing intermediate container 76f0e9be7faa 18:04:04 ---> a5c8d34deafa 18:04:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:04:04 ---> Running in 3d27c260a9a1 18:04:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:04:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:04:06 OK: 224 MiB in 56 packages 18:04:06 Removing intermediate container 3d27c260a9a1 18:04:06 ---> 9cf4968a24a1 18:04:06 Step 8/25 : WORKDIR /device-rest-go 18:04:06 ---> Running in be1d02fbf034 18:04:06 Removing intermediate container be1d02fbf034 18:04:06 ---> b436af9a58e8 18:04:06 Step 9/25 : COPY go.mod vendor* ./ 18:04:06 ---> 576ff98413c8 18:04:06 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:04:06 ---> Running in 54917eefd2c4 18:04:07 Removing intermediate container 54917eefd2c4 18:04:07 ---> b481f7c0ae14 18:04:07 Step 11/25 : COPY . . 18:04:07 ---> 2caa45d6e481 18:04:07 Step 12/25 : RUN $MAKE 18:04:07 ---> Running in 8001103a7f27 18:04:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 18:04:20 Removing intermediate container 8001103a7f27 18:04:20 ---> 5bb9fd06e357 18:04:20 Step 13/25 : FROM alpine:3.14 18:04:20 3.14: Pulling from library/alpine 18:04:20 97518928ae5f: Pulling fs layer 18:04:20 97518928ae5f: Verifying Checksum 18:04:20 97518928ae5f: Download complete 18:04:21 97518928ae5f: Pull complete 18:04:21 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:04:21 Status: Downloaded newer image for alpine:3.14 18:04:21 ---> 0a97eee8041e 18:04:21 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:04:21 ---> Running in a8bc9a733302 18:04:21 Removing intermediate container a8bc9a733302 18:04:21 ---> 30a9bf7ccddf 18:04:21 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:04:21 ---> Running in 4766a1f16730 18:04:21 Removing intermediate container 4766a1f16730 18:04:21 ---> 25f9536ea48d 18:04:21 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 18:04:21 ---> Running in d09f6cd2bac3 18:04:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:04:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:04:22 (1/6) Installing dumb-init (1.2.5-r1) 18:04:22 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:04:22 (3/6) Installing libsodium (1.0.18-r0) 18:04:22 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:04:22 (5/6) Installing libzmq (4.3.4-r0) 18:04:22 (6/6) Installing zeromq (4.3.4-r0) 18:04:22 Executing busybox-1.33.1-r6.trigger 18:04:22 OK: 8 MiB in 20 packages 18:04:22 Removing intermediate container d09f6cd2bac3 18:04:22 ---> 12844ad4af72 18:04:22 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:04:23 ---> bff8abd149df 18:04:23 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:04:23 ---> f9566e68f93b 18:04:23 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:04:23 ---> fdba494961a5 18:04:23 Step 20/25 : EXPOSE 59986 18:04:23 ---> Running in 0cd56351ed84 18:04:24 Removing intermediate container 0cd56351ed84 18:04:24 ---> 6830bf239192 18:04:24 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:04:24 ---> Running in 0162645159d3 18:04:24 Removing intermediate container 0162645159d3 18:04:24 ---> 035b6545bd7b 18:04:24 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:04:24 ---> Running in 9914d8cf26ae 18:04:24 Removing intermediate container 9914d8cf26ae 18:04:24 ---> edf745509a28 18:04:24 Step 23/25 : LABEL arch=amd64 18:04:24 ---> Running in 3143b37ed4be 18:04:24 Removing intermediate container 3143b37ed4be 18:04:24 ---> dd90d4791349 18:04:24 Step 24/25 : LABEL git_sha=5bc210e6f011023bf97f2597a6b4a27e68849c3b 18:04:24 ---> Running in ccf48699fbd2 18:04:24 Removing intermediate container ccf48699fbd2 18:04:24 ---> 57fc8179b93c 18:04:24 Step 25/25 : LABEL version=0.0.0 18:04:24 ---> Running in 070f277f48a4 18:04:24 Removing intermediate container 070f277f48a4 18:04:24 ---> facdcbdb4280 18:04:24 [Warning] One or more build-args [ARCH] were not consumed 18:04:24 Successfully built facdcbdb4280 18:04:24 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 18:04:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:25 18:04:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:04:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:25 latest: Pulling from edgex-lftools-log-publisher 18:04:25 b4d181a07f80: Pulling fs layer 18:04:25 a1111a8f2ec3: Pulling fs layer 18:04:25 ed53099fbce6: Pulling fs layer 18:04:25 dc539afda2c1: Pulling fs layer 18:04:25 77bc0d833cb6: Pulling fs layer 18:04:25 9065ff56babe: Pulling fs layer 18:04:25 d287ab97295c: Pulling fs layer 18:04:25 dc539afda2c1: Waiting 18:04:25 77bc0d833cb6: Waiting 18:04:25 9065ff56babe: Waiting 18:04:25 d287ab97295c: Waiting 18:04:25 a1111a8f2ec3: Verifying Checksum 18:04:25 a1111a8f2ec3: Download complete 18:04:25 dc539afda2c1: Verifying Checksum 18:04:25 dc539afda2c1: Download complete 18:04:25 ed53099fbce6: Verifying Checksum 18:04:25 ed53099fbce6: Download complete 18:04:25 9065ff56babe: Verifying Checksum 18:04:25 9065ff56babe: Download complete 18:04:25 77bc0d833cb6: Verifying Checksum 18:04:25 77bc0d833cb6: Download complete 18:04:26 b4d181a07f80: Verifying Checksum 18:04:26 b4d181a07f80: Download complete 18:04:26 d287ab97295c: Verifying Checksum 18:04:26 d287ab97295c: Download complete 18:04:27 b4d181a07f80: Pull complete 18:04:27 a1111a8f2ec3: Pull complete 18:04:28 ed53099fbce6: Pull complete 18:04:28 dc539afda2c1: Pull complete 18:04:28 77bc0d833cb6: Pull complete 18:04:28 9065ff56babe: Pull complete 18:04:33 d287ab97295c: Pull complete 18:04:33 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:04:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:04:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:04:33 prd-centos7-docker-4c-2g-2258 does not seem to be running inside a container 18:04:34 $ 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-153 -v /w/workspace/gexfoundry_device-rest-go_PR-153:/w/workspace/gexfoundry_device-rest-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-153@tmp:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:04:36 $ docker top 363b6be883dd7521b4f1417b6464bb754916c7cbfc11400cf7acf5cf102de02e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:37 ---> job-cost.sh 18:04:37 lf-activate-venv: SKIPPING 18:04:37 INFO: No Stack... 18:04:38 INFO: Retrieving Pricing Info for: v3-standard-2 18:04:38 INFO: Archiving Costs [Pipeline] sh 18:04:38 + cat /w/workspace/gexfoundry_device-rest-go_PR-153/archives/cost.csv 18:04:38 + cut -d, -f6 [Pipeline] lock 18:04:38 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] 18:04:38 Resource [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] did not exist. Created. 18:04:38 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:39 + echo total: 0.05999999865889549 [Pipeline] stash 18:04:39 Stashed 1 file(s) [Pipeline] } 18:04:39 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:04:39 $ docker stop --time=1 363b6be883dd7521b4f1417b6464bb754916c7cbfc11400cf7acf5cf102de02e 18:04:40 $ docker rm -f 363b6be883dd7521b4f1417b6464bb754916c7cbfc11400cf7acf5cf102de02e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:05:40 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2264 in /w/workspace/gexfoundry_device-rest-go_PR-153 [Pipeline] { [Pipeline] ws 18:05:40 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 18:05:40 The recommended git tool is: git 18:05:46 using credential edgex-jenkins-ssh 18:05:46 Cloning the remote Git repository 18:05:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:05:46 > git init /w/workspace/device-rest-go/1 # timeout=10 18:05:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:05:46 > git --version # timeout=10 18:05:46 > git --version # 'git version 2.17.1' 18:05:46 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:05:49 Merging remotes/origin/main commit 7e17efc4e40053c7710c451774e80e9bfae25c24 into PR head commit 5bc210e6f011023bf97f2597a6b4a27e68849c3b 18:05:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:05:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:05:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:05:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:05:48 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:05:49 > git config core.sparsecheckout # timeout=10 18:05:49 > git checkout -f 5bc210e6f011023bf97f2597a6b4a27e68849c3b # timeout=10 18:05:49 > git remote # timeout=10 18:05:49 > git config --get remote.origin.url # timeout=10 18:05:49 Merge succeeded, producing 5bc210e6f011023bf97f2597a6b4a27e68849c3b 18:05:49 Checking out Revision 5bc210e6f011023bf97f2597a6b4a27e68849c3b (PR-153) 18:05:49 using GIT_SSH to set credentials SSH Credentials for GitHub 18:05:49 > git merge 7e17efc4e40053c7710c451774e80e9bfae25c24 # timeout=10 18:05:49 > git rev-parse HEAD^{commit} # timeout=10 18:05:49 > git config core.sparsecheckout # timeout=10 18:05:49 > git checkout -f 5bc210e6f011023bf97f2597a6b4a27e68849c3b # timeout=10 18:05:53 Commit message: "ci: gomod changes related for Go 1.17" 18:05:53 > git --version # timeout=10 18:05:54 > git --version # 'git version 2.17.1' 18:05:54 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:05:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:05:55 % Total % Received % Xferd Average Speed Time Time Time Current 18:05:55 Dload Upload Total Spent Left Speed 18:05:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 18:05:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:05:56 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 18:05:56 18:05:56 { 18:05:56 "registry-mirrors": [ 18:05:56 "https://nexus3.edgexfoundry.org:10001" 18:05:56 ], 18:05:56 "bip": "10.250.0.254/24", 18:05:56 "hosts": [ 18:05:56 "tcp://0.0.0.0:5555", 18:05:56 "unix:///var/run/docker.sock" 18:05:56 ], 18:05:56 "mtu": 1458, 18:05:56 "selinux-enabled": true, 18:05:56 "seccomp-profile": "/etc/docker/seccomp.json" 18:05:56 } [Pipeline] sh 18:05:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:05:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:06:15 provisioning config files... 18:06:15 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8826023341535535842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:15 ---> docker-login.sh 18:06:15 nexus3.edgexfoundry.org:10001 18:06:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:16 Configure a credential helper to remove this warning. See 18:06:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:16 18:06:16 Login Succeeded 18:06:16 nexus3.edgexfoundry.org:10002 18:06:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:17 Configure a credential helper to remove this warning. See 18:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:17 18:06:17 Login Succeeded 18:06:17 nexus3.edgexfoundry.org:10003 18:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:17 Configure a credential helper to remove this warning. See 18:06:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:17 18:06:17 Login Succeeded 18:06:17 nexus3.edgexfoundry.org:10004 18:06:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:18 Configure a credential helper to remove this warning. See 18:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:18 18:06:18 Login Succeeded 18:06:18 docker.io 18:06:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:06:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:06:18 Configure a credential helper to remove this warning. See 18:06:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:06:18 18:06:18 Login Succeeded 18:06:18 ---> docker-login.sh ends [Pipeline] } 18:06:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:06:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:06:19 ========================================================= 18:06:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:06:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:06:19 + 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 . 18:06:19 Sending build context to Docker daemon 124.4kB 18:06:19 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:06:19 Step 2/12 : FROM ${BASE} AS builder 18:06:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:06:20 9b3977197b4f: Pulling fs layer 18:06:20 1a89e8eeedd5: Pulling fs layer 18:06:20 94645a83ff95: Pulling fs layer 18:06:20 3f3a8bcf1eab: Pulling fs layer 18:06:20 0c92f367c5e7: Pulling fs layer 18:06:20 4b8299f9d1f4: Pulling fs layer 18:06:20 9a6b49a46696: Pulling fs layer 18:06:20 cf05db05a679: Pulling fs layer 18:06:20 0c92f367c5e7: Waiting 18:06:20 4b8299f9d1f4: Waiting 18:06:20 3f3a8bcf1eab: Waiting 18:06:20 9a6b49a46696: Waiting 18:06:20 cf05db05a679: Waiting 18:06:20 94645a83ff95: Verifying Checksum 18:06:20 94645a83ff95: Download complete 18:06:20 1a89e8eeedd5: Download complete 18:06:20 0c92f367c5e7: Verifying Checksum 18:06:20 0c92f367c5e7: Download complete 18:06:20 4b8299f9d1f4: Verifying Checksum 18:06:20 4b8299f9d1f4: Download complete 18:06:20 9b3977197b4f: Verifying Checksum 18:06:20 9b3977197b4f: Download complete 18:06:20 9a6b49a46696: Verifying Checksum 18:06:20 9a6b49a46696: Download complete 18:06:20 9b3977197b4f: Pull complete 18:06:21 1a89e8eeedd5: Pull complete 18:06:21 94645a83ff95: Pull complete 18:06:21 cf05db05a679: Verifying Checksum 18:06:21 cf05db05a679: Download complete 18:06:22 3f3a8bcf1eab: Verifying Checksum 18:06:22 3f3a8bcf1eab: Download complete 18:06:34 3f3a8bcf1eab: Pull complete 18:06:34 0c92f367c5e7: Pull complete 18:06:34 4b8299f9d1f4: Pull complete 18:06:35 9a6b49a46696: Pull complete 18:06:40 cf05db05a679: Pull complete 18:06:40 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 18:06:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:06:40 ---> 0ccda1f7e2ee 18:06:40 Step 3/12 : ARG MAKE='make build' 18:06:42 ---> Running in 722bbaa0d865 18:06:43 Removing intermediate container 722bbaa0d865 18:06:43 ---> 687474d753cd 18:06:43 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:06:43 ---> Running in 462834380f16 18:06:43 Removing intermediate container 462834380f16 18:06:43 ---> 947682325af9 18:06:43 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 18:06:43 ---> Running in 1a0a25eb2c85 18:06:44 Removing intermediate container 1a0a25eb2c85 18:06:44 ---> de8d952fdc4b 18:06:44 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:06:44 ---> Running in 5b2d760e47ac 18:06:46 Removing intermediate container 5b2d760e47ac 18:06:46 ---> 8ce537a9e2b4 18:06:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:06:46 ---> Running in 6d9daa1fcbed 18:06:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:06:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:06:49 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:06:49 (2/4) Installing libedit (20210910.3.1-r0) 18:06:49 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:06:50 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:06:50 Executing busybox-1.34.1-r3.trigger 18:06:50 OK: 224 MiB in 56 packages 18:06:51 Removing intermediate container 6d9daa1fcbed 18:06:51 ---> ffacd3743433 18:06:51 Step 8/12 : WORKDIR /device-rest-go 18:06:51 ---> Running in b21d59ae2a73 18:06:51 Removing intermediate container b21d59ae2a73 18:06:51 ---> 5057e1e5bb76 18:06:51 Step 9/12 : COPY go.mod vendor* ./ 18:06:52 ---> 8b7c75ef5ad7 18:06:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:06:52 ---> Running in 1501b5447bd7 18:08:14 Removing intermediate container 1501b5447bd7 18:08:14 ---> 294f3f660a3a 18:08:14 Step 11/12 : COPY . . 18:08:14 ---> b3ffed13850d 18:08:14 Step 12/12 : RUN $MAKE 18:08:14 ---> Running in a79dd41e7cca 18:08:14 noop 18:08:14 Removing intermediate container a79dd41e7cca 18:08:14 ---> 0522f8fcf7bc 18:08:14 Successfully built 0522f8fcf7bc 18:08:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:08:14 + docker inspect -f . ci-base-image-arm64 18:08:14 . [Pipeline] withDockerContainer 18:08:15 prd-ubuntu18.04-docker-arm64-4c-16g-2264 does not seem to be running inside a container 18:08:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:08:16 $ docker top 592c39b3030d8b582d5133fc56b53b13694ec85828ac4991829cba06488e074b -eo pid,comm [Pipeline] { [Pipeline] sh 18:08:17 + go version 18:08:17 go version go1.17.6 linux/arm64 [Pipeline] } 18:08:17 $ docker stop --time=1 592c39b3030d8b582d5133fc56b53b13694ec85828ac4991829cba06488e074b 18:08:19 $ docker rm -f 592c39b3030d8b582d5133fc56b53b13694ec85828ac4991829cba06488e074b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:08:20 + docker inspect -f . ci-base-image-arm64 18:08:20 . [Pipeline] withDockerContainer 18:08:20 prd-ubuntu18.04-docker-arm64-4c-16g-2264 does not seem to be running inside a container 18:08:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:08:22 $ docker top 57049c8e3973e98f5f89800148d334e88089af0a4be5cd692e7786567308cbe0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:08:23 + make test 18:08:23 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 18:08:24 ? github.com/edgexfoundry/device-rest-go [no test files] 18:09:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:09:21 ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 56.0% of statements 18:09:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:09:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:09:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:09:43 ./bin/test-attribution-txt.sh [Pipeline] echo 18:09:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:09:43 $ docker stop --time=1 57049c8e3973e98f5f89800148d334e88089af0a4be5cd692e7786567308cbe0 18:09:45 $ docker rm -f 57049c8e3973e98f5f89800148d334e88089af0a4be5cd692e7786567308cbe0 [Pipeline] // withDockerContainer [Pipeline] sh 18:09:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:09:46 Warning: overwriting stash ‘coverage-report’ 18:09:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:09:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:09:47 + ls -al . 18:09:47 total 176 18:09:47 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:09 . 18:09:47 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:05 .. 18:09:47 -rw-rw-r-- 1 jenkins jenkins 151 Jan 20 18:05 .dockerignore 18:09:47 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:05 .git 18:09:47 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:05 .github 18:09:47 -rw-rw-r-- 1 jenkins jenkins 329 Jan 20 18:05 .gitignore 18:09:47 -rw-rw-r-- 1 jenkins jenkins 7095 Jan 20 18:05 Attribution.txt 18:09:47 -rw-rw-r-- 1 jenkins jenkins 7459 Jan 20 18:05 CHANGELOG.md 18:09:47 -rw-rw-r-- 1 jenkins jenkins 1672 Jan 20 18:05 Dockerfile 18:09:47 -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:05 GOVERNANCE.md 18:09:47 -rw-rw-r-- 1 jenkins jenkins 680 Jan 20 18:05 Jenkinsfile 18:09:47 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 18:05 LICENSE 18:09:47 -rw-rw-r-- 1 jenkins jenkins 1078 Jan 20 18:05 Makefile 18:09:47 -rw-rw-r-- 1 jenkins jenkins 620 Jan 20 18:05 OWNERS.md 18:09:47 -rw-rw-r-- 1 jenkins jenkins 8246 Jan 20 18:05 README.md 18:09:47 -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 18:02 VERSION 18:09:47 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:05 bin 18:09:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:05 cmd 18:09:47 -rw-r--r-- 1 jenkins jenkins 9215 Jan 20 18:09 coverage.out 18:09:47 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:05 driver 18:09:47 -rw-rw-r-- 1 jenkins jenkins 2894 Jan 20 18:05 go.mod 18:09:47 -rw-rw-r-- 1 jenkins jenkins 49330 Jan 20 18:05 go.sum 18:09:47 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:05 snap 18:09:47 -rw-rw-r-- 1 jenkins jenkins 713 Jan 20 18:05 version.go [Pipeline] isUnix [Pipeline] sh 18:09:48 + 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=5bc210e6f011023bf97f2597a6b4a27e68849c3b --label arch=arm64 --label version=0.0.0 . 18:09:48 Sending build context to Docker daemon 134.1kB 18:09:48 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 18:09:48 Step 2/25 : FROM ${BASE} AS builder 18:09:48 ---> 0522f8fcf7bc 18:09:48 Step 3/25 : ARG MAKE='make build' 18:09:48 ---> Running in 52bf85b86051 18:09:49 Removing intermediate container 52bf85b86051 18:09:49 ---> 801f658b75e2 18:09:49 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:09:49 ---> Running in d247f71fcb48 18:09:49 Removing intermediate container d247f71fcb48 18:09:49 ---> 9bf266fa9f1d 18:09:49 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 18:09:49 ---> Running in ebdd17c97ed5 18:09:50 Removing intermediate container ebdd17c97ed5 18:09:50 ---> 768f9b9b1f29 18:09:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:09:50 ---> Running in ebe9fe928547 18:09:51 Removing intermediate container ebe9fe928547 18:09:51 ---> 16a6f7580b08 18:09:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:09:51 ---> Running in 1dc2315c5645 18:09:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:09:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:09:55 OK: 224 MiB in 56 packages 18:09:56 Removing intermediate container 1dc2315c5645 18:09:56 ---> 956a30373197 18:09:56 Step 8/25 : WORKDIR /device-rest-go 18:09:56 ---> Running in 910dbf8b53f1 18:09:56 Removing intermediate container 910dbf8b53f1 18:09:56 ---> 7344b629ee08 18:09:56 Step 9/25 : COPY go.mod vendor* ./ 18:09:57 ---> f3f24a8e90f6 18:09:57 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:09:57 ---> Running in 516acdac9bd1 18:10:00 Removing intermediate container 516acdac9bd1 18:10:00 ---> ad7e602640e5 18:10:00 Step 11/25 : COPY . . 18:10:00 ---> 0bcf7140c4c7 18:10:00 Step 12/25 : RUN $MAKE 18:10:00 ---> Running in 7b6ebaadeee4 18:10:01 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd 18:10:48 Removing intermediate container 7b6ebaadeee4 18:10:48 ---> 13e74ed54675 18:10:48 Step 13/25 : FROM alpine:3.14 18:10:48 3.14: Pulling from library/alpine 18:10:48 be307f383ecc: Pulling fs layer 18:10:48 be307f383ecc: Verifying Checksum 18:10:48 be307f383ecc: Download complete 18:10:48 be307f383ecc: Pull complete 18:10:48 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 18:10:48 Status: Downloaded newer image for alpine:3.14 18:10:48 ---> 5b8b7b635229 18:10:48 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 18:10:48 ---> Running in e91a305d8ddb 18:10:49 Removing intermediate container e91a305d8ddb 18:10:49 ---> f0dd638b3523 18:10:49 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:10:49 ---> Running in 3a0867835972 18:10:49 Removing intermediate container 3a0867835972 18:10:49 ---> 8b7099854703 18:10:49 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 18:10:50 ---> Running in 23ee7fd835f0 18:10:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:10:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:10:52 (1/6) Installing dumb-init (1.2.5-r1) 18:10:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:10:52 (3/6) Installing libsodium (1.0.18-r0) 18:10:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:10:52 (5/6) Installing libzmq (4.3.4-r0) 18:10:52 (6/6) Installing zeromq (4.3.4-r0) 18:10:52 Executing busybox-1.33.1-r6.trigger 18:10:52 OK: 8 MiB in 20 packages 18:10:53 Removing intermediate container 23ee7fd835f0 18:10:53 ---> 00bce007e52d 18:10:53 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:10:54 ---> 9c4bd4503cce 18:10:54 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:10:54 ---> d7106f62f625 18:10:54 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:10:55 ---> 0970a4287bc2 18:10:55 Step 20/25 : EXPOSE 59986 18:10:55 ---> Running in aef55a86728b 18:10:56 Removing intermediate container aef55a86728b 18:10:56 ---> 3011f0d43231 18:10:56 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:10:56 ---> Running in 759c1c144ad1 18:10:56 Removing intermediate container 759c1c144ad1 18:10:56 ---> 653411b15b14 18:10:56 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:10:56 ---> Running in 6892c77c38b0 18:10:56 Removing intermediate container 6892c77c38b0 18:10:56 ---> 51185686f75b 18:10:56 Step 23/25 : LABEL arch=arm64 18:10:56 ---> Running in e0671158e73f 18:10:57 Removing intermediate container e0671158e73f 18:10:57 ---> 77dbd78a6567 18:10:57 Step 24/25 : LABEL git_sha=5bc210e6f011023bf97f2597a6b4a27e68849c3b 18:10:57 ---> Running in 11e4db8cef47 18:10:57 Removing intermediate container 11e4db8cef47 18:10:57 ---> 72cba7419a53 18:10:57 Step 25/25 : LABEL version=0.0.0 18:10:58 ---> Running in f1ca26725c31 18:10:58 Removing intermediate container f1ca26725c31 18:10:58 ---> 706e452d7eed 18:10:58 [Warning] One or more build-args [ARCH] were not consumed 18:10:58 Successfully built 706e452d7eed 18:10:58 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 18:10:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:10:59 18:10:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:10:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:10:59 arm64: Pulling from edgex-lftools-log-publisher 18:10:59 448f6bf000e3: Pulling fs layer 18:10:59 f757da607395: Pulling fs layer 18:10:59 05883995daec: Pulling fs layer 18:10:59 8603b9c90790: Pulling fs layer 18:10:59 1560dd03e051: Pulling fs layer 18:10:59 27f5ce0e4adf: Pulling fs layer 18:10:59 c2d8d7efcc4b: Pulling fs layer 18:10:59 8603b9c90790: Waiting 18:10:59 1560dd03e051: Waiting 18:10:59 f757da607395: Verifying Checksum 18:10:59 f757da607395: Download complete 18:10:59 8603b9c90790: Verifying Checksum 18:10:59 8603b9c90790: Download complete 18:11:00 1560dd03e051: Verifying Checksum 18:11:00 1560dd03e051: Download complete 18:11:00 27f5ce0e4adf: Verifying Checksum 18:11:00 27f5ce0e4adf: Download complete 18:11:00 05883995daec: Verifying Checksum 18:11:00 05883995daec: Download complete 18:11:00 448f6bf000e3: Verifying Checksum 18:11:00 448f6bf000e3: Download complete 18:11:02 c2d8d7efcc4b: Verifying Checksum 18:11:02 c2d8d7efcc4b: Download complete 18:11:04 448f6bf000e3: Pull complete 18:11:04 f757da607395: Pull complete 18:11:06 05883995daec: Pull complete 18:11:06 8603b9c90790: Pull complete 18:11:07 1560dd03e051: Pull complete 18:11:07 27f5ce0e4adf: Pull complete 18:11:22 c2d8d7efcc4b: Pull complete 18:11:22 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:11:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:11:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:11:22 prd-ubuntu18.04-docker-arm64-4c-16g-2264 does not seem to be running inside a container 18:11:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:11:25 $ docker top 20f85b5de484a4a2cd303941ffd4b187140b4ffb8edaba7c0d35de67bb826385 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:26 ---> job-cost.sh 18:11:26 lf-activate-venv: SKIPPING 18:11:26 INFO: No Stack... 18:11:27 INFO: Retrieving Pricing Info for: v3-standard-4 18:11:27 INFO: Archiving Costs [Pipeline] sh 18:11:28 + + cut -d,cat -f6 /w/workspace/device-rest-go/1/archives/cost.csv 18:11:28 [Pipeline] lock 18:11:28 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] 18:11:28 Resource [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] did not exist. Created. 18:11:28 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:11:29 /w/workspace/device-rest-go/1@tmp/durable-6a3f5619/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-6a3f5619/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:11:29 + echo total: 0.10999999940395355 [Pipeline] stash 18:11:29 Warning: overwriting stash ‘stack-cost’ 18:11:29 Stashed 1 file(s) [Pipeline] } 18:11:29 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-153-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:11:29 $ docker stop --time=1 20f85b5de484a4a2cd303941ffd4b187140b4ffb8edaba7c0d35de67bb826385 18:11:31 $ docker rm -f 20f85b5de484a4a2cd303941ffd4b187140b4ffb8edaba7c0d35de67bb826385 [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 18:11:32 provisioning config files... 18:11:32 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp/config4470262790758903770tmp [Pipeline] { [Pipeline] sh 18:11:32 + set +x 18:11:32 + curl -s https://codecov.io/bash 18:11:32 + bash -s -- 18:11:32 18:11:32 _____ _ 18:11:32 / ____| | | 18:11:32 | | ___ __| | ___ ___ _____ __ 18:11:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:11:32 | |___| (_) | (_| | __/ (_| (_) \ V / 18:11:32 \_____\___/ \__,_|\___|\___\___/ \_/ 18:11:32 Bash-1.0.6 18:11:32 18:11:32 18:11:32 ==> git version 2.24.4 found 18:11:32 ==> 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 18:11:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:11:32 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:11:32 ==> Jenkins CI detected. 18:11:32 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-153 18:11:32 project root: . 18:11:32 --> token set from env 18:11:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:11:32 ==> Running gcov in . (disable via -X gcov) 18:11:32 ==> Python coveragepy not found 18:11:32 ==> Searching for coverage reports in: 18:11:32 + . 18:11:32 -> Found 1 reports 18:11:32 ==> Detecting git/mercurial file structure 18:11:32 ==> Reading reports 18:11:32 + ./coverage.out bytes=9215 18:11:32 ==> Appending adjustments 18:11:32 https://docs.codecov.io/docs/fixing-reports 18:11:33 + Found adjustments 18:11:33 ==> Gzipping contents 18:11:33 4.0K /tmp/codecov.WsMlJk.gz 18:11:33 ==> Uploading reports 18:11:33 url: https://codecov.io 18:11:33 query: branch=PR-153&commit=5bc210e6f011023bf97f2597a6b4a27e68849c3b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-153%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=153&job=&cmd_args= 18:11:33 -> Pinging Codecov 18:11:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-153&commit=5bc210e6f011023bf97f2597a6b4a27e68849c3b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-153%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=153&job=&cmd_args= 18:11:33 -> Uploading to 18:11:33 https://storage.googleapis.com/codecov/v4/raw/2022-01-20/4E5D53B4F1F92C436F7061BF334D961C/5bc210e6f011023bf97f2597a6b4a27e68849c3b/bb381272-2aed-48e2-8c77-50d80fe2c56e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220120T181133Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a98b7f79c54540864e1e629fcc631100875cf831fe96a30640d979f2b6d3b487 18:11:33 % Total % Received % Xferd Average Speed Time Time Time Current 18:11:33 Dload Upload Total Spent Left Speed 18:11:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1805 0 0 100 1805 0 5507 --:--:-- --:--:-- --:--:-- 5503 18:11:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/5bc210e6f011023bf97f2597a6b4a27e68849c3b [Pipeline] } 18:11:33 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 18:11:35 + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-153/archives ']' 18:11:35 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-153/archives 18:11:35 total 8 18:11:35 drwxr-xr-x. 3 root root 34 Jan 20 18:04 . 18:11:35 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:04 .. 18:11:35 drwxr-xr-x. 2 root root 6 Jan 20 18:04 cost 18:11:35 -rw-r--r--. 1 root root 85 Jan 20 18:04 cost.csv 18:11:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-153/archives 18:11:35 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-153/archives 18:11:35 total 8 18:11:35 drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 18:04 . 18:11:35 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:04 .. 18:11:35 drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 18:04 cost 18:11:35 -rw-r--r--. 1 jenkins jenkins 85 Jan 20 18:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:11:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:11:36 ---> package-listing.sh 18:11:36 ++ facter osfamily 18:11:36 ++ tr '[:upper:]' '[:lower:]' 18:11:36 + OS_FAMILY=redhat 18:11:36 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-153 18:11:36 + START_PACKAGES=/tmp/packages_start.txt 18:11:36 + END_PACKAGES=/tmp/packages_end.txt 18:11:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:11:36 + PACKAGES=/tmp/packages_start.txt 18:11:36 + '[' /w/workspace/gexfoundry_device-rest-go_PR-153 ']' 18:11:36 + PACKAGES=/tmp/packages_end.txt 18:11:36 + case "${OS_FAMILY}" in 18:11:36 + rpm -qa 18:11:36 + sort 18:11:37 + '[' -f /tmp/packages_start.txt ']' 18:11:37 + '[' -f /tmp/packages_end.txt ']' 18:11:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:11:37 + '[' /w/workspace/gexfoundry_device-rest-go_PR-153 ']' 18:11:37 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-153/archives/ 18:11:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-153/archives/ [Pipeline] echo 18:11:37 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-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:11:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:11:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:11:38 . [Pipeline] withDockerContainer 18:11:38 prd-centos7-docker-4c-2g-2258 does not seem to be running inside a container 18:11:38 $ 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-153/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-153 -v /w/workspace/gexfoundry_device-rest-go_PR-153:/w/workspace/gexfoundry_device-rest-go_PR-153:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-153@tmp:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:11:38 $ docker top bdcb17f51512c2de8f523073479b6c1ad8ce19a8aeb2544b9a468fdf833056b2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:11:39 + touch /tmp/pre-build-complete [Pipeline] sh 18:11:39 + mkdir -p /var/log/sysstat [Pipeline] sh 18:11:39 + ls /var/log/sa-host 18:11:39 + sadf -c /var/log/sa-host/sa17 18:11:39 file_magic: OK 18:11:39 HZ: Using current value: 100 18:11:39 file_header: OK 18:11:39 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 18:11:39 Statistics: 18:11:39 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:11:39 File successfully converted to sysstat format version 12.0.3 18:11:39 + sadf -c /var/log/sa-host/sa20 18:11:39 file_magic: OK 18:11:39 HZ: Using current value: 100 18:11:39 file_header: OK 18:11:39 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 18:11:39 Statistics: 18:11:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:11:39 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:11:39 provisioning config files... 18:11:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-153@tmp/config252618020169100800tmp [Pipeline] { [Pipeline] echo 18:11:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:11:40 ---> create-netrc.sh [Pipeline] } 18:11:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:11:40 ---> python-tools-install.sh [Pipeline] echo 18:11:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:11:40 ---> sudo-logs.sh 18:11:40 Archiving 'sudo' log.. 18:11:40 sudo: unable to resolve host prd-centos7-docker-4c-2g-2258.novalocal: Name or service not known 18:11:40 sudo: unable to resolve host prd-centos7-docker-4c-2g-2258.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:11:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:11:41 ---> job-cost.sh 18:11:41 lf-activate-venv: SKIPPING 18:11:41 DEBUG: total: 0.05999999865889549 18:11:41 INFO: Retrieving Stack Cost... 18:11:41 INFO: Retrieving Pricing Info for: v3-standard-2 18:11:42 INFO: Archiving Costs [Pipeline] echo 18:11:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:11:42 ---> logs-deploy.sh 18:11:42 lf-activate-venv: SKIPPING 18:11:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-153/1 18:11:42 INFO: archiving workspace using pattern(s): 18:11:43 Archives upload complete. 18:11:43 INFO: archiving logs to Nexus