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 633449dbefca29cf62edd9030bbe74b52352fb22 rather than bb5c42cdde93153f32635e6e5637fc162a7abfce Obtained Jenkinsfile from 633449dbefca29cf62edd9030bbe74b52352fb22 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-ssh3514351883570578745.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh6986214450922338230.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh15379933305454265867.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh9142990515794087328.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-ssh5667752728649450470.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.16 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 ‘prd-centos7-docker-4c-2g-1162’ is offline Running on prd-centos7-docker-4c-2g-1166 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-ssh733153387623705855.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-ssh1221212976023254850.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 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce Merge succeeded, producing cb2ade234b665c8123d477ece15ebbff44812819 Checking out Revision cb2ade234b665c8123d477ece15ebbff44812819 (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-ssh2844673702210004141.key > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb2ade234b665c8123d477ece15ebbff44812819 # timeout=10 Commit message: "Merge commit '633449dbefca29cf62edd9030bbe74b52352fb22' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-10T22:42:18.639Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-10T22:42:18.704Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-10T22:42:18.722Z] ========================================================= [2022-01-10T22:42:18.722Z] EdgeX Global Pipelines Version Info [2022-01-10T22:42:18.722Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b859a56b9fe5d2d3fc7a4004045f7aec825e5060 # timeout=10 [2022-01-10T22:42:19.837Z] ------------------- [2022-01-10T22:42:19.837Z] stable info: [2022-01-10T22:42:19.837Z] ------------------- [2022-01-10T22:42:19.837Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-10T22:42:19.837Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2022-01-10T22:42:19.837Z] Message: update stable to v1.0.217 [2022-01-10T22:42:20.418Z] ------------------- [2022-01-10T22:42:20.418Z] experimental info: [2022-01-10T22:42:20.418Z] ------------------- [2022-01-10T22:42:20.418Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-10T22:42:20.418Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-10T22:42:20.418Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-10T22:42:20.564Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-10T22:42:20.577Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-10T22:42:20.590Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-10T22:42:20.603Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-10T22:42:20.615Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-10T22:42:20.628Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-10T22:42:20.641Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-10T22:42:20.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-10T22:42:20.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-10T22:42:20.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-10T22:42:20.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-10T22:42:20.703Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-10T22:42:20.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-10T22:42:20.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-10T22:42:20.738Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-10T22:42:20.750Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T22:42:20.763Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T22:42:20.776Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-10T22:42:20.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-10T22:42:20.802Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-10T22:42:20.815Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-10T22:42:20.827Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-10T22:42:20.840Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-10T22:42:20.853Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-10T22:42:20.866Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-10T22:42:20.879Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-10T22:42:20.890Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1073 [Pipeline] echo [2022-01-10T22:42:20.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1073 [Pipeline] echo [2022-01-10T22:42:20.914Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1073 [Pipeline] echo [2022-01-10T22:42:20.926Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cb2ade234b665c8123d477ece15ebbff44812819 [Pipeline] echo [2022-01-10T22:42:20.937Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cb2ade2 [Pipeline] echo [2022-01-10T22:42:20.950Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T22:42:20.986Z] provisioning config files... [2022-01-10T22:42:21.002Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config2119654290384277632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:42:21.307Z] ---> docker-login.sh [2022-01-10T22:42:21.307Z] nexus3.edgexfoundry.org:10001 [2022-01-10T22:42:21.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:42:21.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:42:21.307Z] Configure a credential helper to remove this warning. See [2022-01-10T22:42:21.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:42:21.307Z] [2022-01-10T22:42:21.307Z] Login Succeeded [2022-01-10T22:42:21.307Z] nexus3.edgexfoundry.org:10002 [2022-01-10T22:42:21.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:42:21.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:42:21.571Z] Configure a credential helper to remove this warning. See [2022-01-10T22:42:21.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:42:21.571Z] [2022-01-10T22:42:21.571Z] Login Succeeded [2022-01-10T22:42:21.571Z] nexus3.edgexfoundry.org:10003 [2022-01-10T22:42:21.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:42:21.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:42:21.571Z] Configure a credential helper to remove this warning. See [2022-01-10T22:42:21.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:42:21.571Z] [2022-01-10T22:42:21.571Z] Login Succeeded [2022-01-10T22:42:21.571Z] nexus3.edgexfoundry.org:10004 [2022-01-10T22:42:21.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:42:21.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:42:21.834Z] Configure a credential helper to remove this warning. See [2022-01-10T22:42:21.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:42:21.834Z] [2022-01-10T22:42:21.834Z] Login Succeeded [2022-01-10T22:42:21.834Z] docker.io [2022-01-10T22:42:21.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:42:22.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:42:22.098Z] Configure a credential helper to remove this warning. See [2022-01-10T22:42:22.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:42:22.098Z] [2022-01-10T22:42:22.098Z] Login Succeeded [2022-01-10T22:42:22.098Z] ---> docker-login.sh ends [Pipeline] } [2022-01-10T22:42:22.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-10T22:42:22.493Z] + git rev-list -1 --merges cb2ade234b665c8123d477ece15ebbff44812819~1..cb2ade234b665c8123d477ece15ebbff44812819 [Pipeline] echo [2022-01-10T22:42:22.521Z] -----------> git rev-list -1 --merges cb2ade234b665c8123d477ece15ebbff44812819~1..cb2ade234b665c8123d477ece15ebbff44812819 cb2ade234b665c8123d477ece15ebbff44812819 [2022-01-10T22:42:22.522Z] cb2ade234b665c8123d477ece15ebbff44812819 [false] [Pipeline] sh [2022-01-10T22:42:22.828Z] + git log --format=format:%s -1 cb2ade234b665c8123d477ece15ebbff44812819 [Pipeline] echo [2022-01-10T22:42:22.844Z] ========================================================= [2022-01-10T22:42:22.844Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-10T22:42:22.844Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-10T22:42:23.184Z] + git log --format=format:%s -1 cb2ade234b665c8123d477ece15ebbff44812819 [Pipeline] echo [2022-01-10T22:42:23.196Z] [semverPrep] GIT_COMMIT: cb2ade234b665c8123d477ece15ebbff44812819, Commit Message: Merge commit '633449dbefca29cf62edd9030bbe74b52352fb22' into HEAD [Pipeline] echo [2022-01-10T22:42:23.205Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-10T22:42:23.634Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-10T22:42:23.634Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-10T22:42:23.634Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-10T22:42:23.634Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-10T22:42:23.634Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-10T22:42:23.634Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-10T22:42:23.634Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:42:24.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T22:42:24.070Z] [2022-01-10T22:42:24.070Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:42:24.379Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T22:42:24.380Z] latest: Pulling from edgex-devops/git-semver [2022-01-10T22:42:24.380Z] a0d0a0d46f8b: Pulling fs layer [2022-01-10T22:42:24.380Z] 3e5f54012d9b: Pulling fs layer [2022-01-10T22:42:24.380Z] 4c7163046ea9: Pulling fs layer [2022-01-10T22:42:24.380Z] 0c2d73faf560: Pulling fs layer [2022-01-10T22:42:24.380Z] 0c2d73faf560: Waiting [2022-01-10T22:42:24.380Z] 3e5f54012d9b: Verifying Checksum [2022-01-10T22:42:24.380Z] 3e5f54012d9b: Download complete [2022-01-10T22:42:24.380Z] a0d0a0d46f8b: Verifying Checksum [2022-01-10T22:42:24.380Z] a0d0a0d46f8b: Download complete [2022-01-10T22:42:24.380Z] 4c7163046ea9: Verifying Checksum [2022-01-10T22:42:24.380Z] 4c7163046ea9: Download complete [2022-01-10T22:42:24.380Z] 0c2d73faf560: Verifying Checksum [2022-01-10T22:42:24.380Z] 0c2d73faf560: Download complete [2022-01-10T22:42:24.652Z] a0d0a0d46f8b: Pull complete [2022-01-10T22:42:24.652Z] 3e5f54012d9b: Pull complete [2022-01-10T22:42:24.917Z] 4c7163046ea9: Pull complete [2022-01-10T22:42:25.180Z] 0c2d73faf560: Pull complete [2022-01-10T22:42:25.180Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-10T22:42:25.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-10T22:42:25.180Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-10T22:42:25.248Z] prd-centos7-docker-4c-2g-1166 does not seem to be running inside a container [2022-01-10T22:42:24.947Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-10T22:42:25.463Z] $ docker top 8754a8b5af28115838a102e0ea536f1130cce57782f08e25c323e46c913e2031 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-10T22:42:25.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-10T22:42:25.866Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-10T22:42:25.968Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-10T22:42:25.675Z] $ docker exec 8754a8b5af28115838a102e0ea536f1130cce57782f08e25c323e46c913e2031 ssh-agent [2022-01-10T22:42:26.060Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHKMGiA/agent.13 [2022-01-10T22:42:26.060Z] SSH_AGENT_PID=19 [2022-01-10T22:42:26.067Z] Running ssh-add (command line suppressed) [2022-01-10T22:42:25.872Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6328096706268731534.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6328096706268731534.key) [2022-01-10T22:42:26.164Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-10T22:42:26.458Z] + git tag --points-at HEAD [Pipeline] } [2022-01-10T22:42:26.225Z] $ docker exec --env ******** --env ******** 8754a8b5af28115838a102e0ea536f1130cce57782f08e25c323e46c913e2031 ssh-agent -k [2022-01-10T22:42:26.317Z] unset SSH_AUTH_SOCK; [2022-01-10T22:42:26.317Z] unset SSH_AGENT_PID; [2022-01-10T22:42:26.317Z] echo Agent pid 19 killed; [2022-01-10T22:42:26.575Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-10T22:42:26.602Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-10T22:42:26.602Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-10T22:42:26.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-10T22:42:26.465Z] $ docker exec 8754a8b5af28115838a102e0ea536f1130cce57782f08e25c323e46c913e2031 ssh-agent [2022-01-10T22:42:26.797Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOJBcCo/agent.52 [2022-01-10T22:42:26.797Z] SSH_AGENT_PID=58 [2022-01-10T22:42:26.802Z] Running ssh-add (command line suppressed) [2022-01-10T22:42:26.677Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_3460154042003283672.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_3460154042003283672.key) [2022-01-10T22:42:26.907Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-10T22:42:27.195Z] + git semver init [2022-01-10T22:42:27.195Z] # -> Open(): unable to determine branch for HEAD [2022-01-10T22:42:27.195Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.git [2022-01-10T22:42:27.195Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-01-10T22:42:27.195Z] # $SEMVER_REMOTE_NAME = origin [2022-01-10T22:42:27.195Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-10T22:42:27.195Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-10T22:42:27.195Z] # $SEMVER_BRANCH = PR-1073 [2022-01-10T22:42:27.195Z] # $SEMVER_TEMP = /tmp/semver-244191519 [2022-01-10T22:42:27.195Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-10T22:42:28.135Z] # '/tmp/semver-244191519' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver' [2022-01-10T22:42:28.135Z] # -> Force: false [2022-01-10T22:42:28.135Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver [Pipeline] } [2022-01-10T22:42:28.030Z] $ docker exec --env ******** --env ******** 8754a8b5af28115838a102e0ea536f1130cce57782f08e25c323e46c913e2031 ssh-agent -k [2022-01-10T22:42:28.123Z] unset SSH_AUTH_SOCK; [2022-01-10T22:42:28.124Z] unset SSH_AGENT_PID; [2022-01-10T22:42:28.124Z] echo Agent pid 58 killed; [2022-01-10T22:42:28.244Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-10T22:42:28.555Z] + git semver [Pipeline] } [2022-01-10T22:42:28.488Z] $ docker stop --time=1 8754a8b5af28115838a102e0ea536f1130cce57782f08e25c323e46c913e2031 [2022-01-10T22:42:29.712Z] $ docker rm -f 8754a8b5af28115838a102e0ea536f1130cce57782f08e25c323e46c913e2031 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-10T22:42:30.074Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-10T22:42:30.299Z] Stashed 1 file(s) [Pipeline] echo [2022-01-10T22:42:30.303Z] [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] node [Pipeline] node [2022-01-10T22:42:45.406Z] Still waiting to schedule task [2022-01-10T22:42:45.406Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2022-01-10T22:42:45.408Z] Still waiting to schedule task [2022-01-10T22:42:45.409Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-10T22:43:42.815Z] Running on prd-centos7-docker-4c-2g-1169 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [Pipeline] { [Pipeline] ws [2022-01-10T22:43:42.824Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2022-01-10T22:43:42.899Z] The recommended git tool is: git [2022-01-10T22:43:44.436Z] using credential edgex-jenkins-ssh [2022-01-10T22:43:44.458Z] Cloning the remote Git repository [2022-01-10T22:43:44.163Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T22:43:44.266Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2022-01-10T22:43:44.307Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T22:43:44.307Z] > git --version # timeout=10 [2022-01-10T22:43:44.316Z] > git --version # 'git version 2.24.4' [2022-01-10T22:43:44.316Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T22:43:44.338Z] [INFO] Currently running in a labeled security context [2022-01-10T22:43:44.338Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-10T22:43:44.338Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh3545149772842294237.key [2022-01-10T22:43:44.360Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T22:43:45.151Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-10T22:43:45.159Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T22:43:45.168Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-10T22:43:45.181Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T22:43:45.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T22:43:45.182Z] [INFO] Currently running in a labeled security context [2022-01-10T22:43:45.182Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-10T22:43:45.182Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh1970493996906845525.key [2022-01-10T22:43:45.201Z] > 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 [2022-01-10T22:43:46.654Z] Merging remotes/origin/main commit 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce [2022-01-10T22:43:46.766Z] Merge succeeded, producing eaacee5a2bd50a0b54b9d3c75f29446a1c92f783 [2022-01-10T22:43:46.767Z] Checking out Revision eaacee5a2bd50a0b54b9d3c75f29446a1c92f783 (PR-1073) [2022-01-10T22:43:46.346Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T22:43:46.360Z] > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 [2022-01-10T22:43:46.392Z] > git remote # timeout=10 [2022-01-10T22:43:46.401Z] > git config --get remote.origin.url # timeout=10 [2022-01-10T22:43:46.407Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T22:43:46.408Z] [INFO] Currently running in a labeled security context [2022-01-10T22:43:46.408Z] [INFO] Currently SELinux is 'enforcing' on the host [2022-01-10T22:43:46.408Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh9066142117305955808.key [2022-01-10T22:43:46.414Z] > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 [2022-01-10T22:43:46.437Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-10T22:43:46.459Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T22:43:46.466Z] > git checkout -f eaacee5a2bd50a0b54b9d3c75f29446a1c92f783 # timeout=10 [2022-01-10T22:43:50.322Z] Commit message: "Merge commit '633449dbefca29cf62edd9030bbe74b52352fb22' into HEAD" [2022-01-10T22:43:50.337Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T22:43:50.724Z] provisioning config files... [2022-01-10T22:43:50.738Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7177013426109315349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:43:51.131Z] ---> docker-login.sh [2022-01-10T22:43:51.132Z] nexus3.edgexfoundry.org:10001 [2022-01-10T22:43:51.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:43:51.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:43:51.132Z] Configure a credential helper to remove this warning. See [2022-01-10T22:43:51.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:43:51.132Z] [2022-01-10T22:43:51.132Z] Login Succeeded [2022-01-10T22:43:51.132Z] nexus3.edgexfoundry.org:10002 [2022-01-10T22:43:50.011Z] > git rev-list --no-walk b859a56b9fe5d2d3fc7a4004045f7aec825e5060 # timeout=10 [2022-01-10T22:43:51.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:43:51.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:43:51.393Z] Configure a credential helper to remove this warning. See [2022-01-10T22:43:51.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:43:51.393Z] [2022-01-10T22:43:51.393Z] Login Succeeded [2022-01-10T22:43:51.393Z] nexus3.edgexfoundry.org:10003 [2022-01-10T22:43:51.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:43:51.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:43:51.393Z] Configure a credential helper to remove this warning. See [2022-01-10T22:43:51.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:43:51.393Z] [2022-01-10T22:43:51.393Z] Login Succeeded [2022-01-10T22:43:51.393Z] nexus3.edgexfoundry.org:10004 [2022-01-10T22:43:51.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:43:51.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:43:51.654Z] Configure a credential helper to remove this warning. See [2022-01-10T22:43:51.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:43:51.654Z] [2022-01-10T22:43:51.654Z] Login Succeeded [2022-01-10T22:43:51.654Z] docker.io [2022-01-10T22:43:51.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:43:51.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:43:51.914Z] Configure a credential helper to remove this warning. See [2022-01-10T22:43:51.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:43:51.914Z] [2022-01-10T22:43:51.914Z] Login Succeeded [2022-01-10T22:43:51.914Z] ---> docker-login.sh ends [Pipeline] } [2022-01-10T22:43:52.001Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-10T22:43:52.123Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-10T22:43:52.129Z] ========================================================= [2022-01-10T22:43:52.129Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-10T22:43:52.129Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:43:52.438Z] + 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.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-10T22:43:52.438Z] Sending build context to Docker daemon 29.47MB [2022-01-10T22:43:52.438Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-10T22:43:52.438Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-10T22:43:52.707Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-10T22:43:52.707Z] a0d0a0d46f8b: Pulling fs layer [2022-01-10T22:43:52.707Z] 31adcdaf11c8: Pulling fs layer [2022-01-10T22:43:52.707Z] b8b176561691: Pulling fs layer [2022-01-10T22:43:52.707Z] 4527c011a84f: Pulling fs layer [2022-01-10T22:43:52.707Z] 5d74067f8e1e: Pulling fs layer [2022-01-10T22:43:52.707Z] e0aca202a116: Pulling fs layer [2022-01-10T22:43:52.707Z] 3a43be97a3b4: Pulling fs layer [2022-01-10T22:43:52.707Z] 34cad66bf833: Pulling fs layer [2022-01-10T22:43:52.707Z] b4e3c513aaa6: Pulling fs layer [2022-01-10T22:43:52.707Z] 3a43be97a3b4: Waiting [2022-01-10T22:43:52.707Z] 34cad66bf833: Waiting [2022-01-10T22:43:52.707Z] b4e3c513aaa6: Waiting [2022-01-10T22:43:52.707Z] 4527c011a84f: Waiting [2022-01-10T22:43:52.707Z] 5d74067f8e1e: Waiting [2022-01-10T22:43:52.707Z] e0aca202a116: Waiting [2022-01-10T22:43:52.707Z] b8b176561691: Verifying Checksum [2022-01-10T22:43:52.707Z] b8b176561691: Download complete [2022-01-10T22:43:52.707Z] 31adcdaf11c8: Verifying Checksum [2022-01-10T22:43:52.707Z] 31adcdaf11c8: Download complete [2022-01-10T22:43:52.707Z] 5d74067f8e1e: Verifying Checksum [2022-01-10T22:43:52.707Z] 5d74067f8e1e: Download complete [2022-01-10T22:43:52.707Z] e0aca202a116: Verifying Checksum [2022-01-10T22:43:52.707Z] e0aca202a116: Download complete [2022-01-10T22:43:52.707Z] a0d0a0d46f8b: Download complete [2022-01-10T22:43:52.707Z] 3a43be97a3b4: Verifying Checksum [2022-01-10T22:43:52.707Z] 3a43be97a3b4: Download complete [2022-01-10T22:43:52.707Z] 34cad66bf833: Verifying Checksum [2022-01-10T22:43:52.707Z] 34cad66bf833: Download complete [2022-01-10T22:43:52.975Z] a0d0a0d46f8b: Pull complete [2022-01-10T22:43:53.239Z] 31adcdaf11c8: Pull complete [2022-01-10T22:43:53.239Z] b8b176561691: Pull complete [2022-01-10T22:43:53.239Z] b4e3c513aaa6: Verifying Checksum [2022-01-10T22:43:53.239Z] b4e3c513aaa6: Download complete [2022-01-10T22:43:53.500Z] 4527c011a84f: Verifying Checksum [2022-01-10T22:43:53.500Z] 4527c011a84f: Download complete [2022-01-10T22:43:57.754Z] 4527c011a84f: Pull complete [2022-01-10T22:43:57.754Z] 5d74067f8e1e: Pull complete [2022-01-10T22:43:57.754Z] e0aca202a116: Pull complete [2022-01-10T22:43:57.754Z] 3a43be97a3b4: Pull complete [2022-01-10T22:43:57.754Z] 34cad66bf833: Pull complete [2022-01-10T22:44:00.323Z] b4e3c513aaa6: Pull complete [2022-01-10T22:44:00.323Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-10T22:44:00.323Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-10T22:44:00.323Z] ---> 9f6097aaca64 [2022-01-10T22:44:00.323Z] Step 3/10 : ARG MAKE=make build [2022-01-10T22:44:02.243Z] ---> Running in ef1b07e389d4 [2022-01-10T22:44:02.243Z] Removing intermediate container ef1b07e389d4 [2022-01-10T22:44:02.243Z] ---> b84be2c7c9a9 [2022-01-10T22:44:02.243Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-10T22:44:02.243Z] ---> Running in ea2b8fa3d8f8 [2022-01-10T22:44:02.243Z] Removing intermediate container ea2b8fa3d8f8 [2022-01-10T22:44:02.243Z] ---> 344951949856 [2022-01-10T22:44:02.243Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-10T22:44:02.243Z] ---> Running in d4d0cb262d24 [2022-01-10T22:44:02.243Z] Removing intermediate container d4d0cb262d24 [2022-01-10T22:44:02.243Z] ---> 72f1243434b9 [2022-01-10T22:44:02.243Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T22:44:02.505Z] ---> Running in fa15dfa36a28 [2022-01-10T22:44:02.777Z] Removing intermediate container fa15dfa36a28 [2022-01-10T22:44:02.777Z] ---> e50d9c2e68b0 [2022-01-10T22:44:02.777Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-10T22:44:02.777Z] ---> Running in f8a29f0a9844 [2022-01-10T22:44:03.040Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-10T22:44:03.986Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-10T22:44:04.249Z] OK: 220 MiB in 52 packages [2022-01-10T22:44:04.513Z] Removing intermediate container f8a29f0a9844 [2022-01-10T22:44:04.513Z] ---> 63afebde73f4 [2022-01-10T22:44:04.513Z] Step 8/10 : COPY . . [2022-01-10T22:44:05.090Z] ---> d2b4c65c42cb [2022-01-10T22:44:05.090Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-10T22:44:05.091Z] ---> Running in a0d631dc96d1 [2022-01-10T22:44:31.713Z] Removing intermediate container a0d631dc96d1 [2022-01-10T22:44:31.713Z] ---> 2818b4d93c26 [2022-01-10T22:44:31.713Z] Step 10/10 : RUN ${MAKE} [2022-01-10T22:44:31.713Z] ---> Running in f54b0efc82aa [2022-01-10T22:44:31.713Z] noop [2022-01-10T22:44:31.974Z] Removing intermediate container f54b0efc82aa [2022-01-10T22:44:31.974Z] ---> f4323a3e289b [2022-01-10T22:44:31.974Z] Successfully built f4323a3e289b [2022-01-10T22:44:31.974Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:44:32.273Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-10T22:44:32.274Z] . [Pipeline] withDockerContainer [2022-01-10T22:44:32.345Z] prd-centos7-docker-4c-2g-1169 does not seem to be running inside a container [2022-01-10T22:44:32.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-10T22:44:32.719Z] $ docker top 06a755723a7912b2144b421dcf73eaa16841eede2e05bd0629d590e59c983375 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-10T22:44:33.075Z] + go version [2022-01-10T22:44:33.075Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-10T22:44:33.085Z] $ docker stop --time=1 06a755723a7912b2144b421dcf73eaa16841eede2e05bd0629d590e59c983375 [2022-01-10T22:44:34.248Z] $ docker rm -f 06a755723a7912b2144b421dcf73eaa16841eede2e05bd0629d590e59c983375 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:44:34.662Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-10T22:44:34.663Z] . [Pipeline] withDockerContainer [2022-01-10T22:44:34.718Z] prd-centos7-docker-4c-2g-1169 does not seem to be running inside a container [2022-01-10T22:44:34.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-10T22:44:35.064Z] $ docker top eab3eb8af4f569dba23a585da7c81bab55fc4c0ff75781122c7b965006e4dc43 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-10T22:44:35.433Z] + make test [2022-01-10T22:44:35.433Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-10T22:44:35.693Z] 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-01-10T22:44:35.693Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-10T22:44:35.693Z] 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-01-10T22:44:35.693Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-10T22:44:35.693Z] 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-01-10T22:44:35.693Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-01-10T22:44:35.693Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2022-01-10T22:44:35.706Z] $ docker stop --time=1 eab3eb8af4f569dba23a585da7c81bab55fc4c0ff75781122c7b965006e4dc43 [2022-01-10T22:44:36.882Z] $ docker rm -f eab3eb8af4f569dba23a585da7c81bab55fc4c0ff75781122c7b965006e4dc43 [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-01-10T22:44:37.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T22:44:37.314Z] [2022-01-10T22:44:37.314Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:44:37.618Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T22:44:37.618Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-10T22:44:37.618Z] b4d181a07f80: Pulling fs layer [2022-01-10T22:44:37.618Z] a1111a8f2ec3: Pulling fs layer [2022-01-10T22:44:37.618Z] ed53099fbce6: Pulling fs layer [2022-01-10T22:44:37.618Z] dc539afda2c1: Pulling fs layer [2022-01-10T22:44:37.618Z] 77bc0d833cb6: Pulling fs layer [2022-01-10T22:44:37.618Z] 9065ff56babe: Pulling fs layer [2022-01-10T22:44:37.618Z] d287ab97295c: Pulling fs layer [2022-01-10T22:44:37.618Z] 77bc0d833cb6: Waiting [2022-01-10T22:44:37.618Z] 9065ff56babe: Waiting [2022-01-10T22:44:37.618Z] d287ab97295c: Waiting [2022-01-10T22:44:37.618Z] dc539afda2c1: Waiting [2022-01-10T22:44:37.618Z] a1111a8f2ec3: Verifying Checksum [2022-01-10T22:44:37.618Z] a1111a8f2ec3: Download complete [2022-01-10T22:44:37.618Z] dc539afda2c1: Verifying Checksum [2022-01-10T22:44:37.618Z] dc539afda2c1: Download complete [2022-01-10T22:44:37.884Z] ed53099fbce6: Verifying Checksum [2022-01-10T22:44:37.884Z] ed53099fbce6: Download complete [2022-01-10T22:44:37.884Z] 77bc0d833cb6: Verifying Checksum [2022-01-10T22:44:37.884Z] 77bc0d833cb6: Download complete [2022-01-10T22:44:37.884Z] 9065ff56babe: Verifying Checksum [2022-01-10T22:44:37.884Z] 9065ff56babe: Download complete [2022-01-10T22:44:37.884Z] b4d181a07f80: Verifying Checksum [2022-01-10T22:44:37.885Z] b4d181a07f80: Download complete [2022-01-10T22:44:38.469Z] d287ab97295c: Verifying Checksum [2022-01-10T22:44:38.469Z] d287ab97295c: Download complete [2022-01-10T22:44:39.411Z] b4d181a07f80: Pull complete [2022-01-10T22:44:39.411Z] a1111a8f2ec3: Pull complete [2022-01-10T22:44:39.985Z] ed53099fbce6: Pull complete [2022-01-10T22:44:39.985Z] dc539afda2c1: Pull complete [2022-01-10T22:44:40.264Z] 77bc0d833cb6: Pull complete [2022-01-10T22:44:40.264Z] 9065ff56babe: Pull complete [2022-01-10T22:44:45.591Z] d287ab97295c: Pull complete [2022-01-10T22:44:45.591Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-10T22:44:45.591Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T22:44:45.591Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-10T22:44:45.649Z] prd-centos7-docker-4c-2g-1169 does not seem to be running inside a container [2022-01-10T22:44:45.690Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-01-10T22:44:48.118Z] $ docker top db0902ab72acf55f0d0235b5ba023ffcdbe5107f5b8db4bd8d3acf92968cc5b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:44:48.528Z] ---> job-cost.sh [2022-01-10T22:44:48.528Z] lf-activate-venv: SKIPPING [2022-01-10T22:44:48.528Z] INFO: No Stack... [2022-01-10T22:44:48.787Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-10T22:44:49.358Z] INFO: Archiving Costs [Pipeline] sh [2022-01-10T22:44:49.650Z] + cut -d, -f6 [2022-01-10T22:44:49.650Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2022-01-10T22:44:49.687Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-3-stack-cost] [2022-01-10T22:44:49.695Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-3-stack-cost] did not exist. Created. [2022-01-10T22:44:49.696Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-10T22:44:50.003Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-10T22:44:50.165Z] Stashed 1 file(s) [Pipeline] } [2022-01-10T22:44:50.175Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-10T22:44:50.193Z] $ docker stop --time=1 db0902ab72acf55f0d0235b5ba023ffcdbe5107f5b8db4bd8d3acf92968cc5b7 [2022-01-10T22:44:51.327Z] $ docker rm -f db0902ab72acf55f0d0235b5ba023ffcdbe5107f5b8db4bd8d3acf92968cc5b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-10T22:44:51.487Z] Failed in branch amd64 [2022-01-10T22:45:11.398Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1170 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [Pipeline] { [Pipeline] ws [2022-01-10T22:45:11.414Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2022-01-10T22:45:11.613Z] The recommended git tool is: git [2022-01-10T22:45:16.326Z] using credential edgex-jenkins-ssh [2022-01-10T22:45:16.343Z] Cloning the remote Git repository [2022-01-10T22:45:16.412Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T22:45:16.495Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2022-01-10T22:45:16.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T22:45:16.820Z] > git --version # timeout=10 [2022-01-10T22:45:16.842Z] > git --version # 'git version 2.17.1' [2022-01-10T22:45:16.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T22:45:16.988Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T22:45:18.581Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-10T22:45:18.600Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-10T22:45:18.637Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-10T22:45:18.670Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-10T22:45:18.671Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T22:45:18.685Z] > 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-01-10T22:45:21.700Z] Merging remotes/origin/main commit 633449dbefca29cf62edd9030bbe74b52352fb22 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce [2022-01-10T22:45:22.023Z] Merge succeeded, producing b38137a9f503b9d193fd9100d0a4152c592c630a [2022-01-10T22:45:22.024Z] Checking out Revision b38137a9f503b9d193fd9100d0a4152c592c630a (PR-1073) [2022-01-10T22:45:21.719Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T22:45:21.734Z] > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 [2022-01-10T22:45:21.845Z] > git remote # timeout=10 [2022-01-10T22:45:21.866Z] > git config --get remote.origin.url # timeout=10 [2022-01-10T22:45:21.883Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-10T22:45:21.895Z] > git merge 633449dbefca29cf62edd9030bbe74b52352fb22 # timeout=10 [2022-01-10T22:45:22.008Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-10T22:45:22.032Z] > git config core.sparsecheckout # timeout=10 [2022-01-10T22:45:22.048Z] > git checkout -f b38137a9f503b9d193fd9100d0a4152c592c630a # timeout=10 [2022-01-10T22:45:26.208Z] Commit message: "Merge commit '633449dbefca29cf62edd9030bbe74b52352fb22' into HEAD" [2022-01-10T22:45:26.234Z] First time build. Skipping changelog. [2022-01-10T22:45:26.216Z] > git rev-list --no-walk b859a56b9fe5d2d3fc7a4004045f7aec825e5060 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-10T22:45:27.105Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-10T22:45:27.105Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-10T22:45:27.105Z] Dload Upload Total Spent Left Speed [2022-01-10T22:45:27.105Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-01-10T22:45:27.667Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-10T22:45:28.028Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-10T22:45:28.028Z] + sudo tee /etc/docker/daemon.new [2022-01-10T22:45:28.028Z] { [2022-01-10T22:45:28.028Z] "registry-mirrors": [ [2022-01-10T22:45:28.028Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-10T22:45:28.028Z] ], [2022-01-10T22:45:28.028Z] "bip": "10.250.0.254/24", [2022-01-10T22:45:28.028Z] "hosts": [ [2022-01-10T22:45:28.028Z] "tcp://0.0.0.0:5555", [2022-01-10T22:45:28.028Z] "unix:///var/run/docker.sock" [2022-01-10T22:45:28.028Z] ], [2022-01-10T22:45:28.028Z] "mtu": 1458, [2022-01-10T22:45:28.028Z] "selinux-enabled": true, [2022-01-10T22:45:28.028Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-10T22:45:28.028Z] } [Pipeline] sh [2022-01-10T22:45:28.435Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-10T22:45:28.799Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T22:45:47.140Z] provisioning config files... [2022-01-10T22:45:47.163Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2373264880253108628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:45:47.518Z] ---> docker-login.sh [2022-01-10T22:45:47.518Z] nexus3.edgexfoundry.org:10001 [2022-01-10T22:45:48.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:45:48.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:45:48.382Z] Configure a credential helper to remove this warning. See [2022-01-10T22:45:48.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:45:48.382Z] [2022-01-10T22:45:48.382Z] Login Succeeded [2022-01-10T22:45:48.382Z] nexus3.edgexfoundry.org:10002 [2022-01-10T22:45:48.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:45:48.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:45:48.653Z] Configure a credential helper to remove this warning. See [2022-01-10T22:45:48.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:45:48.653Z] [2022-01-10T22:45:48.653Z] Login Succeeded [2022-01-10T22:45:48.653Z] nexus3.edgexfoundry.org:10003 [2022-01-10T22:45:48.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:45:49.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:45:49.201Z] Configure a credential helper to remove this warning. See [2022-01-10T22:45:49.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:45:49.201Z] [2022-01-10T22:45:49.201Z] Login Succeeded [2022-01-10T22:45:49.201Z] nexus3.edgexfoundry.org:10004 [2022-01-10T22:45:49.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:45:49.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:45:49.477Z] Configure a credential helper to remove this warning. See [2022-01-10T22:45:49.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:45:49.477Z] [2022-01-10T22:45:49.477Z] Login Succeeded [2022-01-10T22:45:49.477Z] docker.io [2022-01-10T22:45:49.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-10T22:45:50.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-10T22:45:50.345Z] Configure a credential helper to remove this warning. See [2022-01-10T22:45:50.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-10T22:45:50.345Z] [2022-01-10T22:45:50.345Z] Login Succeeded [2022-01-10T22:45:50.345Z] ---> docker-login.sh ends [Pipeline] } [2022-01-10T22:45:50.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-10T22:45:50.873Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-10T22:45:50.883Z] ========================================================= [2022-01-10T22:45:50.883Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-10T22:45:50.883Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:45:51.244Z] + 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.16-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-10T22:45:51.862Z] Sending build context to Docker daemon 29.46MB [2022-01-10T22:45:51.862Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-10T22:45:51.862Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-10T22:45:52.138Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-10T22:45:52.138Z] 552d1f2373af: Pulling fs layer [2022-01-10T22:45:52.138Z] ea3f2d53f512: Pulling fs layer [2022-01-10T22:45:52.138Z] 9e70ebbbe112: Pulling fs layer [2022-01-10T22:45:52.138Z] 7a9cfe048b4a: Pulling fs layer [2022-01-10T22:45:52.138Z] 72dc09318566: Pulling fs layer [2022-01-10T22:45:52.138Z] f4f7b4309257: Pulling fs layer [2022-01-10T22:45:52.138Z] 0ac9a79272e3: Pulling fs layer [2022-01-10T22:45:52.138Z] b78e95d17946: Pulling fs layer [2022-01-10T22:45:52.138Z] 72dc09318566: Waiting [2022-01-10T22:45:52.138Z] f4f7b4309257: Waiting [2022-01-10T22:45:52.138Z] 0ac9a79272e3: Waiting [2022-01-10T22:45:52.138Z] b78e95d17946: Waiting [2022-01-10T22:45:52.138Z] 7a9cfe048b4a: Waiting [2022-01-10T22:45:52.138Z] 9e70ebbbe112: Verifying Checksum [2022-01-10T22:45:52.138Z] 9e70ebbbe112: Download complete [2022-01-10T22:45:52.138Z] ea3f2d53f512: Verifying Checksum [2022-01-10T22:45:52.138Z] ea3f2d53f512: Download complete [2022-01-10T22:45:52.138Z] 72dc09318566: Verifying Checksum [2022-01-10T22:45:52.138Z] 72dc09318566: Download complete [2022-01-10T22:45:52.138Z] f4f7b4309257: Download complete [2022-01-10T22:45:52.138Z] 0ac9a79272e3: Verifying Checksum [2022-01-10T22:45:52.138Z] 0ac9a79272e3: Download complete [2022-01-10T22:45:52.138Z] 552d1f2373af: Verifying Checksum [2022-01-10T22:45:52.138Z] 552d1f2373af: Download complete [2022-01-10T22:45:53.122Z] 552d1f2373af: Pull complete [2022-01-10T22:45:53.398Z] ea3f2d53f512: Pull complete [2022-01-10T22:45:54.006Z] 9e70ebbbe112: Pull complete [2022-01-10T22:45:54.006Z] b78e95d17946: Verifying Checksum [2022-01-10T22:45:54.006Z] b78e95d17946: Download complete [2022-01-10T22:45:54.598Z] 7a9cfe048b4a: Verifying Checksum [2022-01-10T22:45:54.598Z] 7a9cfe048b4a: Download complete [2022-01-10T22:46:06.985Z] 7a9cfe048b4a: Pull complete [2022-01-10T22:46:06.985Z] 72dc09318566: Pull complete [2022-01-10T22:46:06.985Z] f4f7b4309257: Pull complete [2022-01-10T22:46:06.985Z] 0ac9a79272e3: Pull complete [2022-01-10T22:46:12.385Z] b78e95d17946: Pull complete [2022-01-10T22:46:12.385Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-10T22:46:12.385Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-10T22:46:12.385Z] ---> 8b459fc5aaf0 [2022-01-10T22:46:12.385Z] Step 3/10 : ARG MAKE=make build [2022-01-10T22:46:13.835Z] ---> Running in 8911fe078403 [2022-01-10T22:46:14.109Z] Removing intermediate container 8911fe078403 [2022-01-10T22:46:14.109Z] ---> 98d1212ccc04 [2022-01-10T22:46:14.109Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-10T22:46:14.383Z] ---> Running in 7180029d08ee [2022-01-10T22:46:14.656Z] Removing intermediate container 7180029d08ee [2022-01-10T22:46:14.656Z] ---> 9e10d3eab16b [2022-01-10T22:46:14.656Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-10T22:46:14.930Z] ---> Running in a215ec4b435b [2022-01-10T22:46:15.206Z] Removing intermediate container a215ec4b435b [2022-01-10T22:46:15.206Z] ---> f3dfadd09540 [2022-01-10T22:46:15.206Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-10T22:46:15.206Z] ---> Running in a4bea4bf4942 [2022-01-10T22:46:17.204Z] Removing intermediate container a4bea4bf4942 [2022-01-10T22:46:17.204Z] ---> 2369020c77d8 [2022-01-10T22:46:17.204Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-10T22:46:17.204Z] ---> Running in 94a86cd1ce9c [2022-01-10T22:46:18.642Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-10T22:46:19.237Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-10T22:46:19.833Z] OK: 219 MiB in 52 packages [2022-01-10T22:46:20.814Z] Removing intermediate container 94a86cd1ce9c [2022-01-10T22:46:20.814Z] ---> 07a3e91f5879 [2022-01-10T22:46:20.814Z] Step 8/10 : COPY . . [2022-01-10T22:46:22.788Z] ---> a55fd984fb44 [2022-01-10T22:46:22.788Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-10T22:46:22.788Z] ---> Running in d23247421ea3 [2022-01-10T22:47:44.618Z] Removing intermediate container d23247421ea3 [2022-01-10T22:47:44.618Z] ---> e61d9f30eb2c [2022-01-10T22:47:44.618Z] Step 10/10 : RUN ${MAKE} [2022-01-10T22:47:44.618Z] ---> Running in b2569d6d4fa2 [2022-01-10T22:47:44.618Z] noop [2022-01-10T22:47:44.618Z] Removing intermediate container b2569d6d4fa2 [2022-01-10T22:47:44.618Z] ---> e9e549d343fd [2022-01-10T22:47:44.618Z] Successfully built e9e549d343fd [2022-01-10T22:47:44.618Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:47:44.964Z] + docker inspect -f . ci-base-image-arm64 [2022-01-10T22:47:44.964Z] . [Pipeline] withDockerContainer [2022-01-10T22:47:45.214Z] prd-ubuntu18.04-docker-arm64-4c-16g-1170 does not seem to be running inside a container [2022-01-10T22:47:45.296Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-10T22:47:46.684Z] $ docker top 40da9ec23ea1afcb581958dd7a1f4465274b6eb256e1948e612655f6fba40607 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-10T22:47:47.610Z] + go version [2022-01-10T22:47:47.610Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-10T22:47:47.628Z] $ docker stop --time=1 40da9ec23ea1afcb581958dd7a1f4465274b6eb256e1948e612655f6fba40607 [2022-01-10T22:47:49.299Z] $ docker rm -f 40da9ec23ea1afcb581958dd7a1f4465274b6eb256e1948e612655f6fba40607 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:47:49.881Z] + docker inspect -f . ci-base-image-arm64 [2022-01-10T22:47:49.881Z] . [Pipeline] withDockerContainer [2022-01-10T22:47:50.104Z] prd-ubuntu18.04-docker-arm64-4c-16g-1170 does not seem to be running inside a container [2022-01-10T22:47:50.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-10T22:47:51.581Z] $ docker top 3b5c40984b9b292fd4a6ca57aa720a9bc75a33cfe0b8723e04a74ccb87d00c5c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-10T22:47:52.502Z] + make test [2022-01-10T22:47:52.502Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-10T22:47:53.487Z] 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-01-10T22:47:53.487Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-10T22:47:53.487Z] 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-01-10T22:47:53.487Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-10T22:47:53.487Z] 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-01-10T22:47:53.487Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-01-10T22:47:53.487Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2022-01-10T22:47:53.504Z] $ docker stop --time=1 3b5c40984b9b292fd4a6ca57aa720a9bc75a33cfe0b8723e04a74ccb87d00c5c [2022-01-10T22:47:55.222Z] $ docker rm -f 3b5c40984b9b292fd4a6ca57aa720a9bc75a33cfe0b8723e04a74ccb87d00c5c [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-01-10T22:47:55.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T22:47:55.885Z] [2022-01-10T22:47:55.885Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:47:56.241Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T22:47:56.518Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-10T22:47:56.518Z] 448f6bf000e3: Pulling fs layer [2022-01-10T22:47:56.518Z] f757da607395: Pulling fs layer [2022-01-10T22:47:56.518Z] 05883995daec: Pulling fs layer [2022-01-10T22:47:56.518Z] 8603b9c90790: Pulling fs layer [2022-01-10T22:47:56.518Z] 1560dd03e051: Pulling fs layer [2022-01-10T22:47:56.518Z] 27f5ce0e4adf: Pulling fs layer [2022-01-10T22:47:56.518Z] c2d8d7efcc4b: Pulling fs layer [2022-01-10T22:47:56.518Z] 8603b9c90790: Waiting [2022-01-10T22:47:56.518Z] 1560dd03e051: Waiting [2022-01-10T22:47:56.518Z] 27f5ce0e4adf: Waiting [2022-01-10T22:47:56.518Z] f757da607395: Verifying Checksum [2022-01-10T22:47:56.518Z] f757da607395: Download complete [2022-01-10T22:47:56.518Z] 8603b9c90790: Verifying Checksum [2022-01-10T22:47:56.518Z] 8603b9c90790: Download complete [2022-01-10T22:47:56.793Z] 1560dd03e051: Verifying Checksum [2022-01-10T22:47:56.793Z] 1560dd03e051: Download complete [2022-01-10T22:47:56.793Z] 05883995daec: Verifying Checksum [2022-01-10T22:47:56.793Z] 05883995daec: Download complete [2022-01-10T22:47:56.793Z] 27f5ce0e4adf: Verifying Checksum [2022-01-10T22:47:56.793Z] 27f5ce0e4adf: Download complete [2022-01-10T22:47:57.070Z] 448f6bf000e3: Verifying Checksum [2022-01-10T22:47:59.697Z] c2d8d7efcc4b: Verifying Checksum [2022-01-10T22:47:59.697Z] c2d8d7efcc4b: Download complete [2022-01-10T22:48:01.133Z] 448f6bf000e3: Pull complete [2022-01-10T22:48:01.414Z] f757da607395: Pull complete [2022-01-10T22:48:02.851Z] 05883995daec: Pull complete [2022-01-10T22:48:03.122Z] 8603b9c90790: Pull complete [2022-01-10T22:48:04.104Z] 1560dd03e051: Pull complete [2022-01-10T22:48:04.376Z] 27f5ce0e4adf: Pull complete [2022-01-10T22:48:19.458Z] c2d8d7efcc4b: Pull complete [2022-01-10T22:48:19.458Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-10T22:48:19.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-10T22:48:19.458Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-10T22:48:19.665Z] prd-ubuntu18.04-docker-arm64-4c-16g-1170 does not seem to be running inside a container [2022-01-10T22:48:19.738Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-10T22:48:22.540Z] $ docker top dc42b45403cac208be7da68b5499f8f462ae1d7f78733e60f722ab90419a5eab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:48:23.454Z] ---> job-cost.sh [2022-01-10T22:48:23.454Z] lf-activate-venv: SKIPPING [2022-01-10T22:48:23.454Z] INFO: No Stack... [2022-01-10T22:48:23.725Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-10T22:48:23.994Z] INFO: Archiving Costs [Pipeline] sh [2022-01-10T22:48:24.644Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2022-01-10T22:48:24.644Z] + cut -d, -f6 [Pipeline] lock [2022-01-10T22:48:24.845Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-3-stack-cost] [2022-01-10T22:48:24.853Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-3-stack-cost] did not exist. Created. [2022-01-10T22:48:24.854Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-10T22:48:25.548Z] /w/workspace/device-sdk-go/3@tmp/durable-ba2da855/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-ba2da855/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-10T22:48:26.270Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-10T22:48:26.291Z] Warning: overwriting stash ‘stack-cost’ [2022-01-10T22:48:26.872Z] Stashed 1 file(s) [Pipeline] } [2022-01-10T22:48:26.883Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-10T22:48:26.898Z] $ docker stop --time=1 dc42b45403cac208be7da68b5499f8f462ae1d7f78733e60f722ab90419a5eab [2022-01-10T22:48:28.346Z] $ docker rm -f dc42b45403cac208be7da68b5499f8f462ae1d7f78733e60f722ab90419a5eab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-10T22:48:28.620Z] 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-01-10T22:48:29.324Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives ']' [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:48:29.643Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:48:30.203Z] ---> package-listing.sh [2022-01-10T22:48:30.203Z] ++ facter osfamily [2022-01-10T22:48:30.203Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-10T22:48:30.464Z] + OS_FAMILY=redhat [2022-01-10T22:48:30.464Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-01-10T22:48:30.464Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-10T22:48:30.464Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-10T22:48:30.464Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-10T22:48:30.464Z] + PACKAGES=/tmp/packages_start.txt [2022-01-10T22:48:30.464Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-01-10T22:48:30.464Z] + PACKAGES=/tmp/packages_end.txt [2022-01-10T22:48:30.464Z] + case "${OS_FAMILY}" in [2022-01-10T22:48:30.464Z] + rpm -qa [2022-01-10T22:48:30.464Z] + sort [2022-01-10T22:48:31.038Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-10T22:48:31.038Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-10T22:48:31.038Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-10T22:48:31.038Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-01-10T22:48:31.038Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ [2022-01-10T22:48:31.038Z] + 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-01-10T22:48:31.051Z] 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-01-10T22:48:31.339Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:48:31.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T22:48:31.911Z] [2022-01-10T22:48:31.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-10T22:48:32.225Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T22:48:32.225Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-10T22:48:32.225Z] b4d181a07f80: Pulling fs layer [2022-01-10T22:48:32.225Z] a1111a8f2ec3: Pulling fs layer [2022-01-10T22:48:32.225Z] ed53099fbce6: Pulling fs layer [2022-01-10T22:48:32.225Z] dc539afda2c1: Pulling fs layer [2022-01-10T22:48:32.225Z] 77bc0d833cb6: Pulling fs layer [2022-01-10T22:48:32.225Z] 9065ff56babe: Pulling fs layer [2022-01-10T22:48:32.225Z] d287ab97295c: Pulling fs layer [2022-01-10T22:48:32.225Z] dc539afda2c1: Waiting [2022-01-10T22:48:32.225Z] 77bc0d833cb6: Waiting [2022-01-10T22:48:32.225Z] 9065ff56babe: Waiting [2022-01-10T22:48:32.225Z] d287ab97295c: Waiting [2022-01-10T22:48:32.225Z] a1111a8f2ec3: Verifying Checksum [2022-01-10T22:48:32.225Z] a1111a8f2ec3: Download complete [2022-01-10T22:48:32.225Z] dc539afda2c1: Verifying Checksum [2022-01-10T22:48:32.225Z] dc539afda2c1: Download complete [2022-01-10T22:48:32.225Z] ed53099fbce6: Verifying Checksum [2022-01-10T22:48:32.225Z] ed53099fbce6: Download complete [2022-01-10T22:48:32.225Z] 9065ff56babe: Verifying Checksum [2022-01-10T22:48:32.225Z] 9065ff56babe: Download complete [2022-01-10T22:48:32.490Z] 77bc0d833cb6: Verifying Checksum [2022-01-10T22:48:32.490Z] 77bc0d833cb6: Download complete [2022-01-10T22:48:32.490Z] b4d181a07f80: Verifying Checksum [2022-01-10T22:48:32.490Z] b4d181a07f80: Download complete [2022-01-10T22:48:33.067Z] d287ab97295c: Verifying Checksum [2022-01-10T22:48:33.067Z] d287ab97295c: Download complete [2022-01-10T22:48:34.040Z] b4d181a07f80: Pull complete [2022-01-10T22:48:34.314Z] a1111a8f2ec3: Pull complete [2022-01-10T22:48:34.892Z] ed53099fbce6: Pull complete [2022-01-10T22:48:34.892Z] dc539afda2c1: Pull complete [2022-01-10T22:48:35.152Z] 77bc0d833cb6: Pull complete [2022-01-10T22:48:35.417Z] 9065ff56babe: Pull complete [2022-01-10T22:48:40.739Z] d287ab97295c: Pull complete [2022-01-10T22:48:40.739Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-10T22:48:40.739Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-10T22:48:40.739Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-10T22:48:40.812Z] prd-centos7-docker-4c-2g-1166 does not seem to be running inside a container [2022-01-10T22:48:40.854Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-10T22:48:43.248Z] $ docker top 33d6ed91ef71b27b3dd7be0f5ee9fb4dac28faed171b632d7d5489b8b68b9f7b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-10T22:48:43.627Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-10T22:48:43.919Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-10T22:48:44.217Z] + ls /var/log/sa-host [2022-01-10T22:48:44.217Z] + sadf -c /var/log/sa-host/sa10 [2022-01-10T22:48:44.217Z] file_magic: OK [2022-01-10T22:48:44.217Z] HZ: Using current value: 100 [2022-01-10T22:48:44.217Z] file_header: OK [2022-01-10T22:48:44.217Z] 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-01-10T22:48:44.217Z] Statistics: [2022-01-10T22:48:44.217Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-10T22:48:44.217Z] File successfully converted to sysstat format version 12.0.3 [2022-01-10T22:48:44.217Z] + sadf -c /var/log/sa-host/sa17 [2022-01-10T22:48:44.217Z] file_magic: OK [2022-01-10T22:48:44.217Z] HZ: Using current value: 100 [2022-01-10T22:48:44.217Z] file_header: OK [2022-01-10T22:48:44.217Z] 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-01-10T22:48:44.217Z] Statistics: [2022-01-10T22:48:44.217Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-10T22:48:44.218Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-10T22:48:44.431Z] provisioning config files... [2022-01-10T22:48:44.440Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config2785910612319727554tmp [Pipeline] { [Pipeline] echo [2022-01-10T22:48:44.458Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:48:44.748Z] ---> create-netrc.sh [Pipeline] } [2022-01-10T22:48:44.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:48:45.105Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-10T22:48:45.114Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:48:45.400Z] ---> sudo-logs.sh [2022-01-10T22:48:45.400Z] Archiving 'sudo' log.. [2022-01-10T22:48:45.400Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1166.novalocal: Name or service not known [2022-01-10T22:48:45.400Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1166.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-10T22:48:45.445Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:48:45.739Z] ---> job-cost.sh [2022-01-10T22:48:45.739Z] lf-activate-venv: SKIPPING [2022-01-10T22:48:45.739Z] DEBUG: total: 0.10999999940395355 [2022-01-10T22:48:45.739Z] INFO: Retrieving Stack Cost... [2022-01-10T22:48:45.999Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-10T22:48:46.570Z] INFO: Archiving Costs [Pipeline] echo [2022-01-10T22:48:46.584Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-10T22:48:46.871Z] ---> logs-deploy.sh [2022-01-10T22:48:46.871Z] lf-activate-venv: SKIPPING [2022-01-10T22:48:46.871Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1073/3 [2022-01-10T22:48:46.871Z] INFO: archiving workspace using pattern(s): [2022-01-10T22:48:47.444Z] Archives upload complete. [2022-01-10T22:48:47.704Z] INFO: archiving logs to Nexus