Branch indexing 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 edgego for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 9a649bf1bf9918af6bcd6933aa59ded149e77d26 rather than bb5c42cdde93153f32635e6e5637fc162a7abfce Obtained Jenkinsfile from 9a649bf1bf9918af6bcd6933aa59ded149e77d26 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-ssh15810903530300281475.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh9130875496275575807.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1073/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1073/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10984382808079298052.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh8379640786678514938.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1073/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1073/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15601909559589735515.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 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 Running on prd-centos7-docker-4c-2g-4597 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1073 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go_PR-1073@tmp/jenkins-gitclient-ssh5511135260943147656.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go_PR-1073@tmp/jenkins-gitclient-ssh660664341125221954.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1073/head:refs/remotes/origin/PR-1073 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9a649bf1bf9918af6bcd6933aa59ded149e77d26 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce Merge succeeded, producing 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 Checking out Revision 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 (PR-1073) > git config core.sparsecheckout # timeout=10 > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/jenkins-gitclient-ssh3301947902160863546.key > git merge 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 # timeout=10 Commit message: "Merge commit '9a649bf1bf9918af6bcd6933aa59ded149e77d26' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-03T22:42:16.467Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-03T22:42:16.521Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-03T22:42:16.542Z] ========================================================= [2022-02-03T22:42:16.542Z] EdgeX Global Pipelines Version Info [2022-02-03T22:42:16.542Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a83ef47174334c41610966b9d152aa3c9d0a893f # timeout=10 [2022-02-03T22:42:17.669Z] ------------------- [2022-02-03T22:42:17.669Z] stable info: [2022-02-03T22:42:17.669Z] ------------------- [2022-02-03T22:42:17.669Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-03T22:42:17.669Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-03T22:42:17.669Z] Message: update stable to v1.0.220 [2022-02-03T22:42:18.241Z] ------------------- [2022-02-03T22:42:18.241Z] experimental info: [2022-02-03T22:42:18.241Z] ------------------- [2022-02-03T22:42:18.241Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-03T22:42:18.241Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-03T22:42:18.241Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-03T22:42:18.389Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-02-03T22:42:18.402Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-02-03T22:42:18.415Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-03T22:42:18.429Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-03T22:42:18.453Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-03T22:42:18.465Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-03T22:42:18.479Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-03T22:42:18.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-02-03T22:42:18.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-03T22:42:18.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-03T22:42:18.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-03T22:42:18.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-02-03T22:42:18.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-03T22:42:18.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-03T22:42:18.595Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-03T22:42:18.611Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-03T22:42:18.621Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-03T22:42:18.633Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-03T22:42:18.647Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-03T22:42:18.659Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-03T22:42:18.674Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-02-03T22:42:18.691Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-02-03T22:42:18.705Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-03T22:42:18.719Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-03T22:42:18.735Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-03T22:42:18.745Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-03T22:42:18.762Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1073 [Pipeline] echo [2022-02-03T22:42:18.779Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1073 [Pipeline] echo [2022-02-03T22:42:18.799Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1073 [Pipeline] echo [2022-02-03T22:42:18.810Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 [Pipeline] echo [2022-02-03T22:42:18.825Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7fc8aa0 [Pipeline] echo [2022-02-03T22:42:18.839Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-03T22:42:18.881Z] provisioning config files... [2022-02-03T22:42:18.897Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config2579939287518318059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-03T22:42:19.207Z] ---> docker-login.sh [2022-02-03T22:42:19.207Z] nexus3.edgexfoundry.org:10001 [2022-02-03T22:42:19.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:42:19.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:42:19.473Z] Configure a credential helper to remove this warning. See [2022-02-03T22:42:19.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:42:19.473Z] [2022-02-03T22:42:19.473Z] Login Succeeded [2022-02-03T22:42:19.473Z] nexus3.edgexfoundry.org:10002 [2022-02-03T22:42:19.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:42:19.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:42:19.473Z] Configure a credential helper to remove this warning. See [2022-02-03T22:42:19.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:42:19.473Z] [2022-02-03T22:42:19.473Z] Login Succeeded [2022-02-03T22:42:19.473Z] nexus3.edgexfoundry.org:10003 [2022-02-03T22:42:19.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:42:19.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:42:19.737Z] Configure a credential helper to remove this warning. See [2022-02-03T22:42:19.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:42:19.737Z] [2022-02-03T22:42:19.737Z] Login Succeeded [2022-02-03T22:42:19.737Z] nexus3.edgexfoundry.org:10004 [2022-02-03T22:42:19.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:42:19.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:42:19.737Z] Configure a credential helper to remove this warning. See [2022-02-03T22:42:19.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:42:19.737Z] [2022-02-03T22:42:19.737Z] Login Succeeded [2022-02-03T22:42:19.737Z] docker.io [2022-02-03T22:42:19.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:42:20.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:42:20.308Z] Configure a credential helper to remove this warning. See [2022-02-03T22:42:20.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:42:20.308Z] [2022-02-03T22:42:20.308Z] Login Succeeded [2022-02-03T22:42:20.308Z] ---> docker-login.sh ends [Pipeline] } [2022-02-03T22:42:20.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-03T22:42:20.684Z] + git rev-list -1 --merges 7fc8aa036b7cec3061b759d0f8d02ed5204bc328~1..7fc8aa036b7cec3061b759d0f8d02ed5204bc328 [Pipeline] echo [2022-02-03T22:42:20.710Z] -----------> git rev-list -1 --merges 7fc8aa036b7cec3061b759d0f8d02ed5204bc328~1..7fc8aa036b7cec3061b759d0f8d02ed5204bc328 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 [2022-02-03T22:42:20.710Z] 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 [false] [Pipeline] sh [2022-02-03T22:42:21.009Z] + git log --format=format:%s -1 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 [Pipeline] echo [2022-02-03T22:42:21.023Z] ========================================================= [2022-02-03T22:42:21.023Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-03T22:42:21.023Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-03T22:42:21.362Z] + git log --format=format:%s -1 7fc8aa036b7cec3061b759d0f8d02ed5204bc328 [Pipeline] echo [2022-02-03T22:42:21.375Z] [semverPrep] GIT_COMMIT: 7fc8aa036b7cec3061b759d0f8d02ed5204bc328, Commit Message: Merge commit '9a649bf1bf9918af6bcd6933aa59ded149e77d26' into HEAD [Pipeline] echo [2022-02-03T22:42:21.389Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-03T22:42:21.764Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-03T22:42:21.764Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-03T22:42:21.764Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-03T22:42:21.764Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-03T22:42:21.764Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-03T22:42:21.764Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-03T22:42:21.764Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-03T22:42:22.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-03T22:42:22.113Z] [2022-02-03T22:42:22.113Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-03T22:42:22.425Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-03T22:42:22.425Z] latest: Pulling from edgex-devops/git-semver [2022-02-03T22:42:22.425Z] a0d0a0d46f8b: Pulling fs layer [2022-02-03T22:42:22.425Z] 3e5f54012d9b: Pulling fs layer [2022-02-03T22:42:22.425Z] 4c7163046ea9: Pulling fs layer [2022-02-03T22:42:22.425Z] 0c2d73faf560: Pulling fs layer [2022-02-03T22:42:22.425Z] 0c2d73faf560: Waiting [2022-02-03T22:42:22.425Z] 3e5f54012d9b: Verifying Checksum [2022-02-03T22:42:22.425Z] 3e5f54012d9b: Download complete [2022-02-03T22:42:22.425Z] a0d0a0d46f8b: Verifying Checksum [2022-02-03T22:42:22.425Z] a0d0a0d46f8b: Download complete [2022-02-03T22:42:22.425Z] 0c2d73faf560: Verifying Checksum [2022-02-03T22:42:22.425Z] 0c2d73faf560: Download complete [2022-02-03T22:42:22.425Z] 4c7163046ea9: Verifying Checksum [2022-02-03T22:42:22.425Z] 4c7163046ea9: Download complete [2022-02-03T22:42:22.698Z] a0d0a0d46f8b: Pull complete [2022-02-03T22:42:22.698Z] 3e5f54012d9b: Pull complete [2022-02-03T22:42:22.965Z] 4c7163046ea9: Pull complete [2022-02-03T22:42:23.230Z] 0c2d73faf560: Pull complete [2022-02-03T22:42:23.230Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-03T22:42:23.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-03T22:42:23.230Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-03T22:42:23.294Z] prd-centos7-docker-4c-2g-4597 does not seem to be running inside a container [2022-02-03T22:42:23.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-03T22:42:23.770Z] $ docker top 6aa520e80c0562fc544477dcdc200929cde8a0aea70c3a1cf0485e194b3646f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-03T22:42:24.120Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-03T22:42:24.120Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-03T22:42:24.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-03T22:42:23.994Z] $ docker exec 6aa520e80c0562fc544477dcdc200929cde8a0aea70c3a1cf0485e194b3646f8 ssh-agent [2022-02-03T22:42:24.333Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJpLcpg/agent.14 [2022-02-03T22:42:24.333Z] SSH_AGENT_PID=20 [2022-02-03T22:42:24.340Z] Running ssh-add (command line suppressed) [2022-02-03T22:42:24.207Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6540843493706423574.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6540843493706423574.key) [2022-02-03T22:42:24.445Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-03T22:42:24.750Z] + git tag --points-at HEAD [Pipeline] } [2022-02-03T22:42:24.577Z] $ docker exec --env ******** --env ******** 6aa520e80c0562fc544477dcdc200929cde8a0aea70c3a1cf0485e194b3646f8 ssh-agent -k [2022-02-03T22:42:24.667Z] unset SSH_AUTH_SOCK; [2022-02-03T22:42:24.667Z] unset SSH_AGENT_PID; [2022-02-03T22:42:24.667Z] echo Agent pid 20 killed; [2022-02-03T22:42:24.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-03T22:42:24.890Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-03T22:42:24.890Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-03T22:42:25.009Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-03T22:42:24.836Z] $ docker exec 6aa520e80c0562fc544477dcdc200929cde8a0aea70c3a1cf0485e194b3646f8 ssh-agent [2022-02-03T22:42:25.111Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMijJGE/agent.54 [2022-02-03T22:42:25.111Z] SSH_AGENT_PID=61 [2022-02-03T22:42:25.117Z] Running ssh-add (command line suppressed) [2022-02-03T22:42:25.059Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6303683971931576285.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6303683971931576285.key) [2022-02-03T22:42:25.231Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-03T22:42:25.526Z] + git semver init [2022-02-03T22:42:25.526Z] # -> Open(): unable to determine branch for HEAD [2022-02-03T22:42:25.526Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.git [2022-02-03T22:42:25.526Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-02-03T22:42:25.526Z] # $SEMVER_REMOTE_NAME = origin [2022-02-03T22:42:25.526Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-03T22:42:25.526Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-03T22:42:25.526Z] # $SEMVER_BRANCH = PR-1073 [2022-02-03T22:42:25.526Z] # $SEMVER_TEMP = /tmp/semver-659940106 [2022-02-03T22:42:25.526Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-02-03T22:42:26.471Z] # '/tmp/semver-659940106' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver' [2022-02-03T22:42:26.472Z] # -> Force: false [2022-02-03T22:42:26.472Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver [Pipeline] } [2022-02-03T22:42:26.433Z] $ docker exec --env ******** --env ******** 6aa520e80c0562fc544477dcdc200929cde8a0aea70c3a1cf0485e194b3646f8 ssh-agent -k [2022-02-03T22:42:26.537Z] unset SSH_AUTH_SOCK; [2022-02-03T22:42:26.538Z] unset SSH_AGENT_PID; [2022-02-03T22:42:26.538Z] echo Agent pid 61 killed; [2022-02-03T22:42:26.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-03T22:42:26.908Z] + git semver [Pipeline] } [2022-02-03T22:42:26.906Z] $ docker stop --time=1 6aa520e80c0562fc544477dcdc200929cde8a0aea70c3a1cf0485e194b3646f8 [2022-02-03T22:42:28.192Z] $ docker rm -f 6aa520e80c0562fc544477dcdc200929cde8a0aea70c3a1cf0485e194b3646f8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-03T22:42:28.546Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-03T22:42:28.779Z] Stashed 1 file(s) [Pipeline] echo [2022-02-03T22:42:28.783Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-03T22:42:28.948Z] provisioning config files... [2022-02-03T22:42:28.959Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config2972076608757086933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-03T22:42:29.273Z] ---> docker-login.sh [2022-02-03T22:42:29.273Z] nexus3.edgexfoundry.org:10001 [2022-02-03T22:42:29.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:42:29.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:42:29.273Z] Configure a credential helper to remove this warning. See [2022-02-03T22:42:29.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:42:29.273Z] [2022-02-03T22:42:29.273Z] Login Succeeded [2022-02-03T22:42:29.273Z] nexus3.edgexfoundry.org:10002 [2022-02-03T22:42:29.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:42:29.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:42:29.534Z] Configure a credential helper to remove this warning. See [2022-02-03T22:42:29.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:42:29.534Z] [2022-02-03T22:42:29.534Z] Login Succeeded [2022-02-03T22:42:29.534Z] nexus3.edgexfoundry.org:10003 [2022-02-03T22:42:29.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:42:29.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:42:29.534Z] Configure a credential helper to remove this warning. See [2022-02-03T22:42:29.534Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:42:29.534Z] [2022-02-03T22:42:29.534Z] Login Succeeded [2022-02-03T22:42:29.534Z] nexus3.edgexfoundry.org:10004 [2022-02-03T22:42:29.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:42:29.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:42:29.804Z] Configure a credential helper to remove this warning. See [2022-02-03T22:42:29.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:42:29.804Z] [2022-02-03T22:42:29.804Z] Login Succeeded [2022-02-03T22:42:29.804Z] docker.io [2022-02-03T22:42:29.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:42:30.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:42:30.066Z] Configure a credential helper to remove this warning. See [2022-02-03T22:42:30.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:42:30.066Z] [2022-02-03T22:42:30.066Z] Login Succeeded [2022-02-03T22:42:30.066Z] ---> docker-login.sh ends [Pipeline] } [2022-02-03T22:42:30.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-03T22:42:30.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-03T22:42:30.165Z] ========================================================= [2022-02-03T22:42:30.165Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-03T22:42:30.165Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-03T22:42:30.500Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-02-03T22:42:30.773Z] Sending build context to Docker daemon 33.88MB [2022-02-03T22:42:30.774Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-03T22:42:30.774Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-03T22:42:30.774Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-03T22:42:30.774Z] 59bf1c3509f3: Pulling fs layer [2022-02-03T22:42:30.774Z] 666ba61612fd: Pulling fs layer [2022-02-03T22:42:30.774Z] 8ed8ca486205: Pulling fs layer [2022-02-03T22:42:30.774Z] 4fe6c5a15a65: Pulling fs layer [2022-02-03T22:42:30.774Z] 22a0e8bec74d: Pulling fs layer [2022-02-03T22:42:30.774Z] 640e595b4fbd: Pulling fs layer [2022-02-03T22:42:30.774Z] 763cafe07f6e: Pulling fs layer [2022-02-03T22:42:30.774Z] 0c0b528cf693: Pulling fs layer [2022-02-03T22:42:30.774Z] 10935f4eaf8b: Pulling fs layer [2022-02-03T22:42:30.774Z] 4fe6c5a15a65: Waiting [2022-02-03T22:42:30.774Z] 22a0e8bec74d: Waiting [2022-02-03T22:42:30.774Z] 640e595b4fbd: Waiting [2022-02-03T22:42:30.774Z] 763cafe07f6e: Waiting [2022-02-03T22:42:30.774Z] 0c0b528cf693: Waiting [2022-02-03T22:42:30.774Z] 10935f4eaf8b: Waiting [2022-02-03T22:42:30.774Z] 8ed8ca486205: Verifying Checksum [2022-02-03T22:42:30.774Z] 8ed8ca486205: Download complete [2022-02-03T22:42:30.774Z] 666ba61612fd: Verifying Checksum [2022-02-03T22:42:30.774Z] 666ba61612fd: Download complete [2022-02-03T22:42:30.774Z] 22a0e8bec74d: Verifying Checksum [2022-02-03T22:42:30.774Z] 22a0e8bec74d: Download complete [2022-02-03T22:42:30.774Z] 640e595b4fbd: Verifying Checksum [2022-02-03T22:42:30.774Z] 640e595b4fbd: Download complete [2022-02-03T22:42:30.774Z] 763cafe07f6e: Verifying Checksum [2022-02-03T22:42:30.774Z] 763cafe07f6e: Download complete [2022-02-03T22:42:30.774Z] 59bf1c3509f3: Verifying Checksum [2022-02-03T22:42:30.774Z] 59bf1c3509f3: Download complete [2022-02-03T22:42:31.038Z] 0c0b528cf693: Verifying Checksum [2022-02-03T22:42:31.039Z] 0c0b528cf693: Download complete [2022-02-03T22:42:31.300Z] 10935f4eaf8b: Verifying Checksum [2022-02-03T22:42:31.300Z] 10935f4eaf8b: Download complete [2022-02-03T22:42:31.300Z] 4fe6c5a15a65: Verifying Checksum [2022-02-03T22:42:31.300Z] 4fe6c5a15a65: Download complete [2022-02-03T22:42:31.561Z] 59bf1c3509f3: Pull complete [2022-02-03T22:42:31.561Z] 666ba61612fd: Pull complete [2022-02-03T22:42:31.561Z] 8ed8ca486205: Pull complete [2022-02-03T22:42:35.792Z] 4fe6c5a15a65: Pull complete [2022-02-03T22:42:36.051Z] 22a0e8bec74d: Pull complete [2022-02-03T22:42:36.051Z] 640e595b4fbd: Pull complete [2022-02-03T22:42:36.051Z] 763cafe07f6e: Pull complete [2022-02-03T22:42:36.311Z] 0c0b528cf693: Pull complete [2022-02-03T22:42:38.889Z] 10935f4eaf8b: Pull complete [2022-02-03T22:42:38.889Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-03T22:42:38.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-03T22:42:38.889Z] ---> 99d49a6021b9 [2022-02-03T22:42:38.889Z] Step 3/11 : ARG MAKE=make build [2022-02-03T22:42:40.805Z] ---> Running in 2ae1e573a711 [2022-02-03T22:42:40.805Z] Removing intermediate container 2ae1e573a711 [2022-02-03T22:42:40.805Z] ---> 317a5b300039 [2022-02-03T22:42:40.805Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-03T22:42:40.805Z] ---> Running in e0cafee4959c [2022-02-03T22:42:40.805Z] Removing intermediate container e0cafee4959c [2022-02-03T22:42:40.805Z] ---> 1c1a4187bdcb [2022-02-03T22:42:40.805Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-03T22:42:40.805Z] ---> Running in b91814060fe1 [2022-02-03T22:42:41.067Z] Removing intermediate container b91814060fe1 [2022-02-03T22:42:41.067Z] ---> 033d210eaa66 [2022-02-03T22:42:41.067Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-03T22:42:41.067Z] ---> Running in ef300be37ba6 [2022-02-03T22:42:41.653Z] Removing intermediate container ef300be37ba6 [2022-02-03T22:42:41.653Z] ---> 845c411394ee [2022-02-03T22:42:41.653Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-03T22:42:41.653Z] ---> Running in 2f2a3772aeef [2022-02-03T22:42:41.917Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-03T22:42:42.861Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-03T22:42:43.123Z] OK: 221 MiB in 52 packages [2022-02-03T22:42:43.387Z] Removing intermediate container 2f2a3772aeef [2022-02-03T22:42:43.387Z] ---> 1562bbe8cadd [2022-02-03T22:42:43.387Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-03T22:42:43.387Z] ---> a450ae0006f5 [2022-02-03T22:42:43.387Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-03T22:42:43.387Z] ---> Running in 134fc96eb513 [2022-02-03T22:42:43.892Z] Still waiting to schedule task [2022-02-03T22:42:43.892Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-4598’ is offline [2022-02-03T22:43:15.557Z] Removing intermediate container 134fc96eb513 [2022-02-03T22:43:15.557Z] ---> 51ddc72ae22a [2022-02-03T22:43:15.557Z] Step 10/11 : COPY . . [2022-02-03T22:43:15.557Z] ---> 08bd8e255264 [2022-02-03T22:43:15.557Z] Step 11/11 : RUN ${MAKE} [2022-02-03T22:43:15.557Z] ---> Running in f4ea23b70b98 [2022-02-03T22:43:15.557Z] noop [2022-02-03T22:43:15.557Z] Removing intermediate container f4ea23b70b98 [2022-02-03T22:43:15.557Z] ---> 706a1d1a494b [2022-02-03T22:43:15.557Z] Successfully built 706a1d1a494b [2022-02-03T22:43:15.557Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-03T22:43:15.857Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-03T22:43:15.857Z] . [Pipeline] withDockerContainer [2022-02-03T22:43:15.964Z] prd-centos7-docker-4c-2g-4597 does not seem to be running inside a container [2022-02-03T22:43:16.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@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-x86_64 cat [2022-02-03T22:43:16.353Z] $ docker top 1795d4f9ae7d0806ac7dc5e914ba9f287fb9f077ae448c854b4cf43ab28ed4ad -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-03T22:43:16.713Z] + go version [2022-02-03T22:43:16.713Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-03T22:43:16.725Z] $ docker stop --time=1 1795d4f9ae7d0806ac7dc5e914ba9f287fb9f077ae448c854b4cf43ab28ed4ad [2022-02-03T22:43:17.912Z] $ docker rm -f 1795d4f9ae7d0806ac7dc5e914ba9f287fb9f077ae448c854b4cf43ab28ed4ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-03T22:43:18.325Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-03T22:43:18.325Z] . [Pipeline] withDockerContainer [2022-02-03T22:43:18.388Z] prd-centos7-docker-4c-2g-4597 does not seem to be running inside a container [2022-02-03T22:43:18.421Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@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-x86_64 cat [2022-02-03T22:43:18.783Z] $ docker top deb805122dc8f61ef9fe6cd521929bc47186a96551616e4de9003bf95100f659 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-03T22:43:19.162Z] + make test [2022-02-03T22:43:19.162Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-03T22:43:19.426Z] internal/autoevent/executor.go:12:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: [2022-02-03T22:43:19.426Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-02-03T22:43:19.426Z] internal/autoevent/executor.go:13:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promauto (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: [2022-02-03T22:43:19.426Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-02-03T22:43:19.426Z] internal/prometheus/prom.go:8:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promhttp (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus); to add: [2022-02-03T22:43:19.426Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-02-03T22:43:19.426Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-02-03T22:43:19.442Z] $ docker stop --time=1 deb805122dc8f61ef9fe6cd521929bc47186a96551616e4de9003bf95100f659 [2022-02-03T22:43:20.665Z] $ docker rm -f deb805122dc8f61ef9fe6cd521929bc47186a96551616e4de9003bf95100f659 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-03T22:43:21.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-03T22:43:21.138Z] [2022-02-03T22:43:21.138Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-03T22:43:21.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-03T22:43:21.446Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-03T22:43:21.446Z] b4d181a07f80: Pulling fs layer [2022-02-03T22:43:21.446Z] a1111a8f2ec3: Pulling fs layer [2022-02-03T22:43:21.446Z] ed53099fbce6: Pulling fs layer [2022-02-03T22:43:21.446Z] dc539afda2c1: Pulling fs layer [2022-02-03T22:43:21.446Z] 77bc0d833cb6: Pulling fs layer [2022-02-03T22:43:21.446Z] 9065ff56babe: Pulling fs layer [2022-02-03T22:43:21.446Z] d287ab97295c: Pulling fs layer [2022-02-03T22:43:21.446Z] dc539afda2c1: Waiting [2022-02-03T22:43:21.446Z] 77bc0d833cb6: Waiting [2022-02-03T22:43:21.446Z] d287ab97295c: Waiting [2022-02-03T22:43:21.446Z] 9065ff56babe: Waiting [2022-02-03T22:43:21.446Z] a1111a8f2ec3: Verifying Checksum [2022-02-03T22:43:21.446Z] a1111a8f2ec3: Download complete [2022-02-03T22:43:21.446Z] dc539afda2c1: Verifying Checksum [2022-02-03T22:43:21.446Z] dc539afda2c1: Download complete [2022-02-03T22:43:21.446Z] 77bc0d833cb6: Verifying Checksum [2022-02-03T22:43:21.446Z] 77bc0d833cb6: Download complete [2022-02-03T22:43:21.446Z] ed53099fbce6: Verifying Checksum [2022-02-03T22:43:21.446Z] ed53099fbce6: Download complete [2022-02-03T22:43:21.710Z] 9065ff56babe: Verifying Checksum [2022-02-03T22:43:21.710Z] 9065ff56babe: Download complete [2022-02-03T22:43:21.710Z] b4d181a07f80: Verifying Checksum [2022-02-03T22:43:21.710Z] b4d181a07f80: Download complete [2022-02-03T22:43:22.287Z] d287ab97295c: Verifying Checksum [2022-02-03T22:43:22.287Z] d287ab97295c: Download complete [2022-02-03T22:43:23.244Z] b4d181a07f80: Pull complete [2022-02-03T22:43:23.244Z] a1111a8f2ec3: Pull complete [2022-02-03T22:43:23.815Z] ed53099fbce6: Pull complete [2022-02-03T22:43:24.076Z] dc539afda2c1: Pull complete [2022-02-03T22:43:24.342Z] 77bc0d833cb6: Pull complete [2022-02-03T22:43:24.342Z] 9065ff56babe: Pull complete [2022-02-03T22:43:29.678Z] d287ab97295c: Pull complete [2022-02-03T22:43:29.678Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-03T22:43:29.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-03T22:43:29.678Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-03T22:43:29.748Z] prd-centos7-docker-4c-2g-4597 does not seem to be running inside a container [2022-02-03T22:43:29.778Z] $ 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-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@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:latest cat [2022-02-03T22:43:32.382Z] $ docker top 8d16123e3f075f14374b41701f9eee9a63fcdc12619369e53ea8f29a37ba8102 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-03T22:43:32.771Z] ---> job-cost.sh [2022-02-03T22:43:32.771Z] lf-activate-venv: SKIPPING [2022-02-03T22:43:32.771Z] INFO: No Stack... [2022-02-03T22:43:33.032Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-03T22:43:33.601Z] INFO: Archiving Costs [Pipeline] sh [2022-02-03T22:43:33.888Z] + cut -d, -f6 [2022-02-03T22:43:33.888Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/cost.csv [Pipeline] lock [2022-02-03T22:43:33.904Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] [2022-02-03T22:43:33.911Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] did not exist. Created. [2022-02-03T22:43:33.911Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-03T22:43:34.213Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-03T22:43:34.257Z] Stashed 1 file(s) [Pipeline] } [2022-02-03T22:43:34.262Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-03T22:43:34.281Z] $ docker stop --time=1 8d16123e3f075f14374b41701f9eee9a63fcdc12619369e53ea8f29a37ba8102 [2022-02-03T22:43:35.408Z] $ docker rm -f 8d16123e3f075f14374b41701f9eee9a63fcdc12619369e53ea8f29a37ba8102 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-03T22:43:35.528Z] Failed in branch amd64 [2022-02-03T22:44:53.599Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4599 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [Pipeline] { [Pipeline] ws [2022-02-03T22:44:53.614Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2022-02-03T22:44:53.864Z] The recommended git tool is: git [2022-02-03T22:44:58.837Z] using credential edgex-jenkins-ssh [2022-02-03T22:44:58.854Z] Cloning the remote Git repository [2022-02-03T22:44:58.907Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-02-03T22:44:58.987Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2022-02-03T22:44:59.073Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-03T22:44:59.074Z] > git --version # timeout=10 [2022-02-03T22:44:59.095Z] > git --version # 'git version 2.17.1' [2022-02-03T22:44:59.096Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-03T22:44:59.170Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-03T22:45:00.905Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-03T22:45:00.924Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-03T22:45:00.952Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-03T22:45:01.006Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-03T22:45:01.008Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-03T22:45:01.027Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1073/head:refs/remotes/origin/PR-1073 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-03T22:45:04.208Z] Merging remotes/origin/main commit 9a649bf1bf9918af6bcd6933aa59ded149e77d26 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce [2022-02-03T22:45:04.572Z] Merge succeeded, producing 1a6e0d3e7e2cad0ffbff5f3494a532a871e05c75 [2022-02-03T22:45:04.572Z] Checking out Revision 1a6e0d3e7e2cad0ffbff5f3494a532a871e05c75 (PR-1073) [2022-02-03T22:45:04.229Z] > git config core.sparsecheckout # timeout=10 [2022-02-03T22:45:04.258Z] > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 [2022-02-03T22:45:04.379Z] > git remote # timeout=10 [2022-02-03T22:45:04.396Z] > git config --get remote.origin.url # timeout=10 [2022-02-03T22:45:04.416Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-03T22:45:04.429Z] > git merge 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 [2022-02-03T22:45:04.554Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-03T22:45:04.578Z] > git config core.sparsecheckout # timeout=10 [2022-02-03T22:45:04.600Z] > git checkout -f 1a6e0d3e7e2cad0ffbff5f3494a532a871e05c75 # timeout=10 [2022-02-03T22:45:08.794Z] Commit message: "Merge commit '9a649bf1bf9918af6bcd6933aa59ded149e77d26' into HEAD" [2022-02-03T22:45:08.817Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-03T22:45:09.762Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-03T22:45:09.762Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-03T22:45:09.762Z] Dload Upload Total Spent Left Speed [2022-02-03T22:45:09.762Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-02-03T22:45:10.275Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-03T22:45:08.803Z] > git rev-list --no-walk a83ef47174334c41610966b9d152aa3c9d0a893f # timeout=10 [2022-02-03T22:45:10.618Z] + sudo tee /etc/docker/daemon.new [2022-02-03T22:45:10.618Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-03T22:45:10.618Z] { [2022-02-03T22:45:10.618Z] "registry-mirrors": [ [2022-02-03T22:45:10.618Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-03T22:45:10.618Z] ], [2022-02-03T22:45:10.618Z] "bip": "10.250.0.254/24", [2022-02-03T22:45:10.618Z] "hosts": [ [2022-02-03T22:45:10.618Z] "tcp://0.0.0.0:5555", [2022-02-03T22:45:10.618Z] "unix:///var/run/docker.sock" [2022-02-03T22:45:10.618Z] ], [2022-02-03T22:45:10.618Z] "mtu": 1458, [2022-02-03T22:45:10.618Z] "selinux-enabled": true, [2022-02-03T22:45:10.618Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-03T22:45:10.618Z] } [Pipeline] sh [2022-02-03T22:45:10.959Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-03T22:45:11.385Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-03T22:45:29.696Z] provisioning config files... [2022-02-03T22:45:29.720Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config3657688563805836504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-03T22:45:30.085Z] ---> docker-login.sh [2022-02-03T22:45:30.085Z] nexus3.edgexfoundry.org:10001 [2022-02-03T22:45:30.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:45:30.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:45:30.958Z] Configure a credential helper to remove this warning. See [2022-02-03T22:45:30.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:45:30.958Z] [2022-02-03T22:45:30.958Z] Login Succeeded [2022-02-03T22:45:30.958Z] nexus3.edgexfoundry.org:10002 [2022-02-03T22:45:31.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:45:31.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:45:31.244Z] Configure a credential helper to remove this warning. See [2022-02-03T22:45:31.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:45:31.244Z] [2022-02-03T22:45:31.244Z] Login Succeeded [2022-02-03T22:45:31.244Z] nexus3.edgexfoundry.org:10003 [2022-02-03T22:45:31.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:45:31.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:45:31.797Z] Configure a credential helper to remove this warning. See [2022-02-03T22:45:31.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:45:31.797Z] [2022-02-03T22:45:31.797Z] Login Succeeded [2022-02-03T22:45:31.797Z] nexus3.edgexfoundry.org:10004 [2022-02-03T22:45:32.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:45:32.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:45:32.078Z] Configure a credential helper to remove this warning. See [2022-02-03T22:45:32.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:45:32.078Z] [2022-02-03T22:45:32.078Z] Login Succeeded [2022-02-03T22:45:32.078Z] docker.io [2022-02-03T22:45:32.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-03T22:45:32.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-03T22:45:32.949Z] Configure a credential helper to remove this warning. See [2022-02-03T22:45:32.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-03T22:45:32.949Z] [2022-02-03T22:45:32.949Z] Login Succeeded [2022-02-03T22:45:32.949Z] ---> docker-login.sh ends [Pipeline] } [2022-02-03T22:45:32.968Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-03T22:45:33.529Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-03T22:45:33.544Z] ========================================================= [2022-02-03T22:45:33.544Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-03T22:45:33.544Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-03T22:45:33.898Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-02-03T22:45:34.502Z] Sending build context to Docker daemon 29.52MB [2022-02-03T22:45:34.502Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-03T22:45:34.502Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-03T22:45:34.782Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-03T22:45:34.782Z] 9b3977197b4f: Pulling fs layer [2022-02-03T22:45:34.782Z] 1a89e8eeedd5: Pulling fs layer [2022-02-03T22:45:34.782Z] 94645a83ff95: Pulling fs layer [2022-02-03T22:45:34.782Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-03T22:45:34.782Z] 0c92f367c5e7: Pulling fs layer [2022-02-03T22:45:34.782Z] f7c0051592d6: Pulling fs layer [2022-02-03T22:45:34.782Z] a227ed2f7395: Pulling fs layer [2022-02-03T22:45:34.782Z] 7b1c46037f91: Pulling fs layer [2022-02-03T22:45:34.782Z] 3f3a8bcf1eab: Waiting [2022-02-03T22:45:34.782Z] 0c92f367c5e7: Waiting [2022-02-03T22:45:34.782Z] f7c0051592d6: Waiting [2022-02-03T22:45:34.782Z] a227ed2f7395: Waiting [2022-02-03T22:45:34.782Z] 7b1c46037f91: Waiting [2022-02-03T22:45:34.782Z] 94645a83ff95: Verifying Checksum [2022-02-03T22:45:34.782Z] 94645a83ff95: Download complete [2022-02-03T22:45:34.782Z] 1a89e8eeedd5: Verifying Checksum [2022-02-03T22:45:34.782Z] 1a89e8eeedd5: Download complete [2022-02-03T22:45:34.782Z] 0c92f367c5e7: Verifying Checksum [2022-02-03T22:45:34.782Z] 0c92f367c5e7: Download complete [2022-02-03T22:45:34.782Z] f7c0051592d6: Verifying Checksum [2022-02-03T22:45:34.782Z] f7c0051592d6: Download complete [2022-02-03T22:45:34.782Z] 9b3977197b4f: Verifying Checksum [2022-02-03T22:45:34.782Z] 9b3977197b4f: Download complete [2022-02-03T22:45:34.782Z] a227ed2f7395: Verifying Checksum [2022-02-03T22:45:34.782Z] a227ed2f7395: Download complete [2022-02-03T22:45:35.768Z] 9b3977197b4f: Pull complete [2022-02-03T22:45:36.043Z] 1a89e8eeedd5: Pull complete [2022-02-03T22:45:36.649Z] 94645a83ff95: Pull complete [2022-02-03T22:45:36.921Z] 7b1c46037f91: Verifying Checksum [2022-02-03T22:45:36.921Z] 7b1c46037f91: Download complete [2022-02-03T22:45:37.209Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-03T22:45:37.209Z] 3f3a8bcf1eab: Download complete [2022-02-03T22:45:49.608Z] 3f3a8bcf1eab: Pull complete [2022-02-03T22:45:49.608Z] 0c92f367c5e7: Pull complete [2022-02-03T22:45:49.608Z] f7c0051592d6: Pull complete [2022-02-03T22:45:50.202Z] a227ed2f7395: Pull complete [2022-02-03T22:45:56.944Z] 7b1c46037f91: Pull complete [2022-02-03T22:45:56.944Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-03T22:45:56.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-03T22:45:56.944Z] ---> f79e39bc4007 [2022-02-03T22:45:56.944Z] Step 3/11 : ARG MAKE=make build [2022-02-03T22:45:56.944Z] ---> Running in 8c881105913b [2022-02-03T22:45:57.546Z] Removing intermediate container 8c881105913b [2022-02-03T22:45:57.546Z] ---> 001b8d9f4e4e [2022-02-03T22:45:57.546Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-03T22:45:57.546Z] ---> Running in ef6b05da6175 [2022-02-03T22:45:57.821Z] Removing intermediate container ef6b05da6175 [2022-02-03T22:45:57.821Z] ---> 32265a933413 [2022-02-03T22:45:57.821Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-03T22:45:58.095Z] ---> Running in d3110d24d81f [2022-02-03T22:45:58.368Z] Removing intermediate container d3110d24d81f [2022-02-03T22:45:58.368Z] ---> 0cdaf11cbeaa [2022-02-03T22:45:58.368Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-03T22:45:58.640Z] ---> Running in 10d340582956 [2022-02-03T22:46:00.609Z] Removing intermediate container 10d340582956 [2022-02-03T22:46:00.609Z] ---> 50f216eaa8b5 [2022-02-03T22:46:00.609Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-03T22:46:00.609Z] ---> Running in e561e0b64079 [2022-02-03T22:46:01.594Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-03T22:46:02.188Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-03T22:46:03.156Z] OK: 220 MiB in 52 packages [2022-02-03T22:46:04.133Z] Removing intermediate container e561e0b64079 [2022-02-03T22:46:04.133Z] ---> 569f52f76abd [2022-02-03T22:46:04.133Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-03T22:46:04.737Z] ---> a9c535c1e1c8 [2022-02-03T22:46:04.737Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-03T22:46:04.737Z] ---> Running in 1d8c369b4495 [2022-02-03T22:47:12.837Z] Removing intermediate container 1d8c369b4495 [2022-02-03T22:47:12.837Z] ---> de97b1fbbf35 [2022-02-03T22:47:12.837Z] Step 10/11 : COPY . . [2022-02-03T22:47:14.263Z] ---> f28a2ea99d0d [2022-02-03T22:47:14.263Z] Step 11/11 : RUN ${MAKE} [2022-02-03T22:47:14.263Z] ---> Running in ea0a9c39abe3 [2022-02-03T22:47:15.236Z] noop [2022-02-03T22:47:15.828Z] Removing intermediate container ea0a9c39abe3 [2022-02-03T22:47:15.828Z] ---> 384a3eabeb0d [2022-02-03T22:47:15.828Z] Successfully built 384a3eabeb0d [2022-02-03T22:47:15.828Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-03T22:47:16.169Z] + docker inspect -f . ci-base-image-arm64 [2022-02-03T22:47:16.169Z] . [Pipeline] withDockerContainer [2022-02-03T22:47:16.377Z] prd-ubuntu18.04-docker-arm64-4c-16g-4599 does not seem to be running inside a container [2022-02-03T22:47:16.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 [2022-02-03T22:47:17.775Z] $ docker top f7101c129de58787278582fe1b00c5aa13a9a3be3de90532906dd9ef8dfbefce -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-03T22:47:18.655Z] + go version [2022-02-03T22:47:18.655Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-03T22:47:18.686Z] $ docker stop --time=1 f7101c129de58787278582fe1b00c5aa13a9a3be3de90532906dd9ef8dfbefce [2022-02-03T22:47:20.316Z] $ docker rm -f f7101c129de58787278582fe1b00c5aa13a9a3be3de90532906dd9ef8dfbefce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-03T22:47:20.845Z] + docker inspect -f . ci-base-image-arm64 [2022-02-03T22:47:20.845Z] . [Pipeline] withDockerContainer [2022-02-03T22:47:21.060Z] prd-ubuntu18.04-docker-arm64-4c-16g-4599 does not seem to be running inside a container [2022-02-03T22:47:21.148Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 [2022-02-03T22:47:22.386Z] $ docker top 63e1243fccfc584e160a97471dc2037daae4ee9ff6fa81ff87cdff7f41dd20a9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-03T22:47:23.260Z] + make test [2022-02-03T22:47:23.260Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-03T22:47:24.244Z] internal/autoevent/executor.go:12:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: [2022-02-03T22:47:24.244Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-02-03T22:47:24.244Z] internal/autoevent/executor.go:13:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promauto (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: [2022-02-03T22:47:24.244Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-02-03T22:47:24.244Z] internal/prometheus/prom.go:8:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promhttp (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus); to add: [2022-02-03T22:47:24.244Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-02-03T22:47:24.244Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-02-03T22:47:24.277Z] $ docker stop --time=1 63e1243fccfc584e160a97471dc2037daae4ee9ff6fa81ff87cdff7f41dd20a9 [2022-02-03T22:47:25.878Z] $ docker rm -f 63e1243fccfc584e160a97471dc2037daae4ee9ff6fa81ff87cdff7f41dd20a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-03T22:47:26.455Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-03T22:47:26.455Z] [2022-02-03T22:47:26.455Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-03T22:47:26.801Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-03T22:47:27.075Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-03T22:47:27.075Z] 448f6bf000e3: Pulling fs layer [2022-02-03T22:47:27.075Z] f757da607395: Pulling fs layer [2022-02-03T22:47:27.075Z] 05883995daec: Pulling fs layer [2022-02-03T22:47:27.075Z] 8603b9c90790: Pulling fs layer [2022-02-03T22:47:27.075Z] 1560dd03e051: Pulling fs layer [2022-02-03T22:47:27.075Z] 27f5ce0e4adf: Pulling fs layer [2022-02-03T22:47:27.075Z] c2d8d7efcc4b: Pulling fs layer [2022-02-03T22:47:27.075Z] 1560dd03e051: Waiting [2022-02-03T22:47:27.075Z] 8603b9c90790: Waiting [2022-02-03T22:47:27.075Z] 27f5ce0e4adf: Waiting [2022-02-03T22:47:27.075Z] c2d8d7efcc4b: Waiting [2022-02-03T22:47:27.075Z] f757da607395: Verifying Checksum [2022-02-03T22:47:27.075Z] f757da607395: Download complete [2022-02-03T22:47:27.075Z] 8603b9c90790: Verifying Checksum [2022-02-03T22:47:27.075Z] 8603b9c90790: Download complete [2022-02-03T22:47:27.075Z] 1560dd03e051: Verifying Checksum [2022-02-03T22:47:27.075Z] 1560dd03e051: Download complete [2022-02-03T22:47:27.075Z] 27f5ce0e4adf: Verifying Checksum [2022-02-03T22:47:27.075Z] 27f5ce0e4adf: Download complete [2022-02-03T22:47:27.346Z] 05883995daec: Verifying Checksum [2022-02-03T22:47:27.346Z] 05883995daec: Download complete [2022-02-03T22:47:27.619Z] 448f6bf000e3: Verifying Checksum [2022-02-03T22:47:30.241Z] c2d8d7efcc4b: Verifying Checksum [2022-02-03T22:47:30.241Z] c2d8d7efcc4b: Download complete [2022-02-03T22:47:31.218Z] 448f6bf000e3: Pull complete [2022-02-03T22:47:31.814Z] f757da607395: Pull complete [2022-02-03T22:47:33.256Z] 05883995daec: Pull complete [2022-02-03T22:47:33.528Z] 8603b9c90790: Pull complete [2022-02-03T22:47:34.503Z] 1560dd03e051: Pull complete [2022-02-03T22:47:34.778Z] 27f5ce0e4adf: Pull complete [2022-02-03T22:47:49.862Z] c2d8d7efcc4b: Pull complete [2022-02-03T22:47:49.862Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-03T22:47:49.862Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-03T22:47:49.862Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-03T22:47:50.085Z] prd-ubuntu18.04-docker-arm64-4c-16g-4599 does not seem to be running inside a container [2022-02-03T22:47:50.170Z] $ 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-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 [2022-02-03T22:47:52.714Z] $ docker top 7c225218b657348f3acefcccfa34eed4c39b6118d8c6cc4e7dc54e8d165b4bda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-03T22:47:53.611Z] ---> job-cost.sh [2022-02-03T22:47:53.611Z] lf-activate-venv: SKIPPING [2022-02-03T22:47:53.611Z] INFO: No Stack... [2022-02-03T22:47:53.884Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-03T22:47:54.476Z] INFO: Archiving Costs [Pipeline] sh [2022-02-03T22:47:55.144Z] + cut -d, -f6 [2022-02-03T22:47:55.144Z] + cat /w/workspace/device-sdk-go/11/archives/cost.csv [Pipeline] lock [2022-02-03T22:47:55.206Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] [2022-02-03T22:47:55.212Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] did not exist. Created. [2022-02-03T22:47:55.212Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-03T22:47:55.887Z] /w/workspace/device-sdk-go/11@tmp/durable-d1a64f91/script.sh: 1: /w/workspace/device-sdk-go/11@tmp/durable-d1a64f91/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-03T22:47:56.564Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-03T22:47:56.583Z] Warning: overwriting stash ‘stack-cost’ [2022-02-03T22:47:57.012Z] Stashed 1 file(s) [Pipeline] } [2022-02-03T22:47:57.020Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-11-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-03T22:47:57.051Z] $ docker stop --time=1 7c225218b657348f3acefcccfa34eed4c39b6118d8c6cc4e7dc54e8d165b4bda [2022-02-03T22:47:58.533Z] $ docker rm -f 7c225218b657348f3acefcccfa34eed4c39b6118d8c6cc4e7dc54e8d165b4bda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-03T22:47:58.813Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-02-03T22:47:59.524Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives ']' [2022-02-03T22:47:59.525Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-02-03T22:47:59.525Z] total 8 [2022-02-03T22:47:59.525Z] drwxr-xr-x. 3 root root 34 Feb 3 22:43 . [2022-02-03T22:47:59.525Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 3 22:43 .. [2022-02-03T22:47:59.525Z] drwxr-xr-x. 2 root root 6 Feb 3 22:43 cost [2022-02-03T22:47:59.525Z] -rw-r--r--. 1 root root 86 Feb 3 22:43 cost.csv [2022-02-03T22:47:59.525Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-02-03T22:47:59.525Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-02-03T22:47:59.525Z] total 8 [2022-02-03T22:47:59.525Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 3 22:43 . [2022-02-03T22:47:59.525Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 3 22:43 .. [2022-02-03T22:47:59.525Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 3 22:43 cost [2022-02-03T22:47:59.525Z] -rw-r--r--. 1 jenkins jenkins 86 Feb 3 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-03T22:47:59.824Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T22:48:00.390Z] ---> package-listing.sh [2022-02-03T22:48:00.390Z] ++ facter osfamily [2022-02-03T22:48:00.390Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-03T22:48:00.668Z] + OS_FAMILY=redhat [2022-02-03T22:48:00.668Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-02-03T22:48:00.668Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-03T22:48:00.668Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-03T22:48:00.668Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-03T22:48:00.668Z] + PACKAGES=/tmp/packages_start.txt [2022-02-03T22:48:00.668Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-02-03T22:48:00.668Z] + PACKAGES=/tmp/packages_end.txt [2022-02-03T22:48:00.668Z] + case "${OS_FAMILY}" in [2022-02-03T22:48:00.668Z] + rpm -qa [2022-02-03T22:48:00.668Z] + sort [2022-02-03T22:48:01.240Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-03T22:48:01.240Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-03T22:48:01.240Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-03T22:48:01.240Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-02-03T22:48:01.240Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ [2022-02-03T22:48:01.240Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ [Pipeline] echo [2022-02-03T22:48:01.253Z] 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-sdk-go_PR-1073/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-03T22:48:01.540Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-03T22:48:02.101Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-03T22:48:02.101Z] . [Pipeline] withDockerContainer [2022-02-03T22:48:02.160Z] prd-centos7-docker-4c-2g-4597 does not seem to be running inside a container [2022-02-03T22:48:02.185Z] $ 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-sdk-go_PR-1073/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-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-03T22:48:02.379Z] $ docker top 3a19779ab74e0136ac31946faf01de8208577a6d948fe32ccb037af4f7ec56ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-03T22:48:02.736Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-03T22:48:03.029Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-03T22:48:03.319Z] + ls /var/log/sa-host [2022-02-03T22:48:03.319Z] + sadf -c /var/log/sa-host/sa03 [2022-02-03T22:48:03.319Z] file_magic: OK [2022-02-03T22:48:03.319Z] HZ: Using current value: 100 [2022-02-03T22:48:03.319Z] file_header: OK [2022-02-03T22:48:03.319Z] 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 [2022-02-03T22:48:03.319Z] Statistics: [2022-02-03T22:48:03.319Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-03T22:48:03.319Z] File successfully converted to sysstat format version 12.0.3 [2022-02-03T22:48:03.319Z] + sadf -c /var/log/sa-host/sa17 [2022-02-03T22:48:03.319Z] file_magic: OK [2022-02-03T22:48:03.319Z] HZ: Using current value: 100 [2022-02-03T22:48:03.319Z] file_header: OK [2022-02-03T22:48:03.319Z] 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 [2022-02-03T22:48:03.319Z] Statistics: [2022-02-03T22:48:03.319Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-03T22:48:03.319Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-03T22:48:03.419Z] provisioning config files... [2022-02-03T22:48:03.429Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config7633389941007371663tmp [Pipeline] { [Pipeline] echo [2022-02-03T22:48:03.448Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T22:48:03.737Z] ---> create-netrc.sh [Pipeline] } [2022-02-03T22:48:03.745Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-03T22:48:04.087Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-03T22:48:04.099Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T22:48:04.387Z] ---> sudo-logs.sh [2022-02-03T22:48:04.387Z] Archiving 'sudo' log.. [2022-02-03T22:48:04.387Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4597.novalocal: Name or service not known [2022-02-03T22:48:04.387Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4597.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-03T22:48:04.419Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T22:48:04.909Z] ---> job-cost.sh [2022-02-03T22:48:04.910Z] lf-activate-venv: SKIPPING [2022-02-03T22:48:04.910Z] DEBUG: total: 0.05999999865889549 [2022-02-03T22:48:04.910Z] INFO: Retrieving Stack Cost... [2022-02-03T22:48:04.910Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-03T22:48:05.284Z] INFO: Archiving Costs [Pipeline] echo [2022-02-03T22:48:05.364Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-03T22:48:05.653Z] ---> logs-deploy.sh [2022-02-03T22:48:05.653Z] lf-activate-venv: SKIPPING [2022-02-03T22:48:05.653Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1073/11 [2022-02-03T22:48:05.653Z] INFO: archiving workspace using pattern(s): [2022-02-03T22:48:06.225Z] Archives upload complete. [2022-02-03T22:48:06.487Z] INFO: archiving logs to Nexus