Pull request #1072 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a222f540a46da2b72ca2166f67e933099f538379+34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d (40635ee7ff096b20b698130298a49b81fec0b230) Running in Durability level: MAX_SURVIVABILITY 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-ssh3550082502401571810.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-ssh1195395069437040292.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1072/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1072/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4404584204637459387.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1072/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3779549838481983177.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1236619736210378992.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1072/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1072/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2602618396862509426.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-713 in /w/workspace/gexfoundry_device-sdk-go_PR-1072 [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-1072 # 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-1072@tmp/jenkins-gitclient-ssh1768703077239969503.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-1072@tmp/jenkins-gitclient-ssh4185393705874239269.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1072/head:refs/remotes/origin/PR-1072 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d into PR head commit a222f540a46da2b72ca2166f67e933099f538379 Merge succeeded, producing a222f540a46da2b72ca2166f67e933099f538379 Checking out Revision a222f540a46da2b72ca2166f67e933099f538379 (PR-1072) > git config core.sparsecheckout # timeout=10 > git checkout -f a222f540a46da2b72ca2166f67e933099f538379 # 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-1072@tmp/jenkins-gitclient-ssh782049166622816488.key > git merge 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a222f540a46da2b72ca2166f67e933099f538379 # timeout=10 Commit message: "build: Update to latest go-mod-messaging w/o ZMQ on windows" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-29T21:15:14.619Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-29T21:15:14.746Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-29T21:15:14.821Z] ========================================================= [2021-11-29T21:15:14.821Z] EdgeX Global Pipelines Version Info [2021-11-29T21:15:14.821Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-29T21:15:16.005Z] ------------------- [2021-11-29T21:15:16.005Z] stable info: [2021-11-29T21:15:16.005Z] ------------------- [2021-11-29T21:15:16.005Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-29T21:15:16.005Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-11-29T21:15:16.005Z] Message: update stable to v1.0.217 [2021-11-29T21:15:16.575Z] ------------------- [2021-11-29T21:15:16.575Z] experimental info: [2021-11-29T21:15:16.575Z] ------------------- [2021-11-29T21:15:16.575Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-29T21:15:16.575Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-11-29T21:15:16.575Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-29T21:15:16.722Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-29T21:15:16.757Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-29T21:15:16.796Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-29T21:15:16.830Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-29T21:15:16.865Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-29T21:15:16.901Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-29T21:15:16.936Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-29T21:15:16.971Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-29T21:15:17.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-29T21:15:17.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-29T21:15:17.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-29T21:15:17.113Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-29T21:15:17.148Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-29T21:15:17.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-29T21:15:17.215Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-29T21:15:17.248Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-29T21:15:17.281Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-29T21:15:17.313Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-29T21:15:17.346Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-29T21:15:17.380Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-29T21:15:17.419Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-29T21:15:17.461Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-29T21:15:17.498Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-29T21:15:17.533Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-29T21:15:17.571Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-29T21:15:17.603Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-29T21:15:17.642Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1072 [Pipeline] echo [2021-11-29T21:15:17.676Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1072 [Pipeline] echo [2021-11-29T21:15:17.715Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1072 [Pipeline] echo [2021-11-29T21:15:17.759Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a222f540a46da2b72ca2166f67e933099f538379 [Pipeline] echo [2021-11-29T21:15:17.798Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a222f54 [Pipeline] echo [2021-11-29T21:15:17.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-29T21:15:17.934Z] provisioning config files... [2021-11-29T21:15:17.948Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/config305100963500160503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-29T21:15:18.288Z] ---> docker-login.sh [2021-11-29T21:15:18.288Z] nexus3.edgexfoundry.org:10001 [2021-11-29T21:15:18.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:15:18.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:15:18.548Z] Configure a credential helper to remove this warning. See [2021-11-29T21:15:18.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:15:18.548Z] [2021-11-29T21:15:18.548Z] Login Succeeded [2021-11-29T21:15:18.548Z] nexus3.edgexfoundry.org:10002 [2021-11-29T21:15:18.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:15:18.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:15:18.548Z] Configure a credential helper to remove this warning. See [2021-11-29T21:15:18.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:15:18.548Z] [2021-11-29T21:15:18.548Z] Login Succeeded [2021-11-29T21:15:18.548Z] nexus3.edgexfoundry.org:10003 [2021-11-29T21:15:18.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:15:18.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:15:18.809Z] Configure a credential helper to remove this warning. See [2021-11-29T21:15:18.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:15:18.809Z] [2021-11-29T21:15:18.809Z] Login Succeeded [2021-11-29T21:15:18.809Z] nexus3.edgexfoundry.org:10004 [2021-11-29T21:15:18.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:15:18.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:15:18.810Z] Configure a credential helper to remove this warning. See [2021-11-29T21:15:18.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:15:18.810Z] [2021-11-29T21:15:18.810Z] Login Succeeded [2021-11-29T21:15:18.810Z] docker.io [2021-11-29T21:15:18.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:15:19.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:15:19.387Z] Configure a credential helper to remove this warning. See [2021-11-29T21:15:19.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:15:19.387Z] [2021-11-29T21:15:19.387Z] Login Succeeded [2021-11-29T21:15:19.387Z] ---> docker-login.sh ends [Pipeline] } [2021-11-29T21:15:19.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-29T21:15:19.992Z] + git rev-list -1 --merges a222f540a46da2b72ca2166f67e933099f538379~1..a222f540a46da2b72ca2166f67e933099f538379 [Pipeline] echo [2021-11-29T21:15:20.043Z] -----------> git rev-list -1 --merges a222f540a46da2b72ca2166f67e933099f538379~1..a222f540a46da2b72ca2166f67e933099f538379 a222f540a46da2b72ca2166f67e933099f538379 [false] [Pipeline] sh [2021-11-29T21:15:20.375Z] + git log --format=format:%s -1 a222f540a46da2b72ca2166f67e933099f538379 [Pipeline] echo [2021-11-29T21:15:20.406Z] ========================================================= [2021-11-29T21:15:20.406Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-29T21:15:20.406Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-29T21:15:20.823Z] + git log --format=format:%s -1 a222f540a46da2b72ca2166f67e933099f538379 [Pipeline] echo [2021-11-29T21:15:20.848Z] [semverPrep] GIT_COMMIT: a222f540a46da2b72ca2166f67e933099f538379, Commit Message: build: Update to latest go-mod-messaging w/o ZMQ on windows [Pipeline] echo [2021-11-29T21:15:20.874Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-11-29T21:15:21.273Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-11-29T21:15:21.273Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-11-29T21:15:21.273Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-11-29T21:15:21.273Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-11-29T21:15:21.273Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-11-29T21:15:21.273Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-11-29T21:15:21.273Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-11-29T21:15:21.641Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-29T21:15:21.641Z] [2021-11-29T21:15:21.641Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-29T21:15:21.975Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-29T21:15:21.975Z] latest: Pulling from edgex-devops/git-semver [2021-11-29T21:15:21.975Z] a0d0a0d46f8b: Pulling fs layer [2021-11-29T21:15:21.975Z] 3e5f54012d9b: Pulling fs layer [2021-11-29T21:15:21.975Z] 4c7163046ea9: Pulling fs layer [2021-11-29T21:15:21.975Z] 0c2d73faf560: Pulling fs layer [2021-11-29T21:15:21.975Z] 0c2d73faf560: Waiting [2021-11-29T21:15:21.975Z] 3e5f54012d9b: Verifying Checksum [2021-11-29T21:15:21.975Z] 3e5f54012d9b: Download complete [2021-11-29T21:15:21.975Z] a0d0a0d46f8b: Verifying Checksum [2021-11-29T21:15:21.975Z] a0d0a0d46f8b: Download complete [2021-11-29T21:15:21.975Z] 4c7163046ea9: Verifying Checksum [2021-11-29T21:15:21.975Z] 4c7163046ea9: Download complete [2021-11-29T21:15:21.975Z] 0c2d73faf560: Verifying Checksum [2021-11-29T21:15:21.975Z] 0c2d73faf560: Download complete [2021-11-29T21:15:22.243Z] a0d0a0d46f8b: Pull complete [2021-11-29T21:15:22.243Z] 3e5f54012d9b: Pull complete [2021-11-29T21:15:22.511Z] 4c7163046ea9: Pull complete [2021-11-29T21:15:22.772Z] 0c2d73faf560: Pull complete [2021-11-29T21:15:22.772Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-29T21:15:22.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-29T21:15:22.772Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-29T21:15:22.856Z] prd-centos7-docker-4c-2g-713 does not seem to be running inside a container [2021-11-29T21:15:22.899Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1072 -v /w/workspace/gexfoundry_device-sdk-go_PR-1072:/w/workspace/gexfoundry_device-sdk-go_PR-1072:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-29T21:15:23.515Z] $ docker top 21f18112cc4d386d25f27274f7afd2ec1648c316a6e94a14cb93a618cdd7021a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-29T21:15:23.670Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-29T21:15:23.670Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-29T21:15:23.769Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-29T21:15:23.771Z] $ docker exec 21f18112cc4d386d25f27274f7afd2ec1648c316a6e94a14cb93a618cdd7021a ssh-agent [2021-11-29T21:15:23.866Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdIiald/agent.13 [2021-11-29T21:15:23.866Z] SSH_AGENT_PID=19 [2021-11-29T21:15:23.872Z] Running ssh-add (command line suppressed) [2021-11-29T21:15:23.959Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/private_key_7629754563560647842.key (/w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/private_key_7629754563560647842.key) [2021-11-29T21:15:23.972Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-29T21:15:24.315Z] + git tag --points-at HEAD [Pipeline] } [2021-11-29T21:15:24.342Z] $ docker exec --env ******** --env ******** 21f18112cc4d386d25f27274f7afd2ec1648c316a6e94a14cb93a618cdd7021a ssh-agent -k [2021-11-29T21:15:24.422Z] unset SSH_AUTH_SOCK; [2021-11-29T21:15:24.422Z] unset SSH_AGENT_PID; [2021-11-29T21:15:24.422Z] echo Agent pid 19 killed; [2021-11-29T21:15:24.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-29T21:15:24.503Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-29T21:15:24.503Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-29T21:15:24.597Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-29T21:15:24.599Z] $ docker exec 21f18112cc4d386d25f27274f7afd2ec1648c316a6e94a14cb93a618cdd7021a ssh-agent [2021-11-29T21:15:24.694Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCNcnkh/agent.54 [2021-11-29T21:15:24.694Z] SSH_AGENT_PID=61 [2021-11-29T21:15:24.699Z] Running ssh-add (command line suppressed) [2021-11-29T21:15:24.785Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/private_key_1698594609391752099.key (/w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/private_key_1698594609391752099.key) [2021-11-29T21:15:24.797Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-29T21:15:25.128Z] + git semver init [2021-11-29T21:15:25.128Z] # -> Open(): unable to determine branch for HEAD [2021-11-29T21:15:25.128Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1072/.git [2021-11-29T21:15:25.128Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1072 [2021-11-29T21:15:25.128Z] # $SEMVER_REMOTE_NAME = origin [2021-11-29T21:15:25.128Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-29T21:15:25.128Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-29T21:15:25.128Z] # $SEMVER_BRANCH = PR-1072 [2021-11-29T21:15:25.128Z] # $SEMVER_TEMP = /tmp/semver-192350269 [2021-11-29T21:15:25.128Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-29T21:15:26.509Z] # '/tmp/semver-192350269' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1072/.semver' [2021-11-29T21:15:26.509Z] # -> Force: false [2021-11-29T21:15:26.509Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1072/.semver [Pipeline] } [2021-11-29T21:15:26.528Z] $ docker exec --env ******** --env ******** 21f18112cc4d386d25f27274f7afd2ec1648c316a6e94a14cb93a618cdd7021a ssh-agent -k [2021-11-29T21:15:26.613Z] unset SSH_AUTH_SOCK; [2021-11-29T21:15:26.613Z] unset SSH_AGENT_PID; [2021-11-29T21:15:26.613Z] echo Agent pid 61 killed; [2021-11-29T21:15:26.624Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-29T21:15:27.024Z] + git semver [Pipeline] } [2021-11-29T21:15:27.047Z] $ docker stop --time=1 21f18112cc4d386d25f27274f7afd2ec1648c316a6e94a14cb93a618cdd7021a [2021-11-29T21:15:28.397Z] $ docker rm -f 21f18112cc4d386d25f27274f7afd2ec1648c316a6e94a14cb93a618cdd7021a [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-29T21:15:28.794Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-29T21:15:29.052Z] Stashed 1 file(s) [Pipeline] echo [2021-11-29T21:15:29.066Z] [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 [2021-11-29T21:15:44.423Z] Still waiting to schedule task [2021-11-29T21:15:44.423Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-29T21:15:44.442Z] Still waiting to schedule task [2021-11-29T21:15:44.442Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-710’ is offline [2021-11-29T21:17:44.161Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-715 in /w/workspace/gexfoundry_device-sdk-go_PR-1072 [Pipeline] { [Pipeline] ws [2021-11-29T21:17:44.202Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-29T21:17:44.640Z] The recommended git tool is: git [2021-11-29T21:17:48.136Z] Running on prd-centos7-docker-4c-2g-716 in /w/workspace/gexfoundry_device-sdk-go_PR-1072 [Pipeline] { [Pipeline] ws [2021-11-29T21:17:48.174Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-29T21:17:48.287Z] The recommended git tool is: git [2021-11-29T21:17:50.283Z] using credential edgex-jenkins-ssh [2021-11-29T21:17:50.293Z] Cloning the remote Git repository [2021-11-29T21:17:50.364Z] using credential edgex-jenkins-ssh [2021-11-29T21:17:50.379Z] Cloning the remote Git repository [2021-11-29T21:17:49.906Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-29T21:17:49.960Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-29T21:17:49.995Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-29T21:17:49.996Z] > git --version # timeout=10 [2021-11-29T21:17:50.006Z] > git --version # 'git version 2.24.4' [2021-11-29T21:17:50.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-29T21:17:50.036Z] [INFO] Currently running in a labeled security context [2021-11-29T21:17:50.037Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-29T21:17:50.037Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1219373092170441739.key [2021-11-29T21:17:50.059Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-29T21:17:50.442Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-29T21:17:50.552Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-29T21:17:50.664Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-29T21:17:50.665Z] > git --version # timeout=10 [2021-11-29T21:17:50.687Z] > git --version # 'git version 2.17.1' [2021-11-29T21:17:50.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-29T21:17:50.876Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-29T21:17:50.885Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-29T21:17:50.899Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-29T21:17:50.914Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-29T21:17:50.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-29T21:17:50.915Z] [INFO] Currently running in a labeled security context [2021-11-29T21:17:50.915Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-29T21:17:50.915Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7962374750273628081.key [2021-11-29T21:17:50.931Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1072/head:refs/remotes/origin/PR-1072 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-29T21:17:51.922Z] Merging remotes/origin/main commit 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d into PR head commit a222f540a46da2b72ca2166f67e933099f538379 [2021-11-29T21:17:52.035Z] Merge succeeded, producing a222f540a46da2b72ca2166f67e933099f538379 [2021-11-29T21:17:52.035Z] Checking out Revision a222f540a46da2b72ca2166f67e933099f538379 (PR-1072) [2021-11-29T21:17:50.796Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-29T21:17:51.524Z] > git config core.sparsecheckout # timeout=10 [2021-11-29T21:17:51.535Z] > git checkout -f a222f540a46da2b72ca2166f67e933099f538379 # timeout=10 [2021-11-29T21:17:51.579Z] > git remote # timeout=10 [2021-11-29T21:17:51.588Z] > git config --get remote.origin.url # timeout=10 [2021-11-29T21:17:51.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-29T21:17:51.599Z] [INFO] Currently running in a labeled security context [2021-11-29T21:17:51.599Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-29T21:17:51.599Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh934407922713369790.key [2021-11-29T21:17:51.607Z] > git merge 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d # timeout=10 [2021-11-29T21:17:51.615Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-29T21:17:51.628Z] > git config core.sparsecheckout # timeout=10 [2021-11-29T21:17:51.638Z] > git checkout -f a222f540a46da2b72ca2166f67e933099f538379 # timeout=10 [2021-11-29T21:17:53.229Z] Merging remotes/origin/main commit 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d into PR head commit a222f540a46da2b72ca2166f67e933099f538379 [2021-11-29T21:17:52.376Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-29T21:17:52.397Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-29T21:17:52.428Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-29T21:17:52.492Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-29T21:17:52.493Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-29T21:17:52.508Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1072/head:refs/remotes/origin/PR-1072 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-29T21:17:53.255Z] > git config core.sparsecheckout # timeout=10 [2021-11-29T21:17:53.276Z] > git checkout -f a222f540a46da2b72ca2166f67e933099f538379 # timeout=10 [2021-11-29T21:17:53.489Z] Merge succeeded, producing a222f540a46da2b72ca2166f67e933099f538379 [2021-11-29T21:17:53.489Z] Checking out Revision a222f540a46da2b72ca2166f67e933099f538379 (PR-1072) [2021-11-29T21:17:53.395Z] > git remote # timeout=10 [2021-11-29T21:17:53.414Z] > git config --get remote.origin.url # timeout=10 [2021-11-29T21:17:53.431Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-29T21:17:53.449Z] > git merge 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d # timeout=10 [2021-11-29T21:17:53.473Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-29T21:17:53.497Z] > git config core.sparsecheckout # timeout=10 [2021-11-29T21:17:53.511Z] > git checkout -f a222f540a46da2b72ca2166f67e933099f538379 # timeout=10 [2021-11-29T21:17:55.677Z] Commit message: "build: Update to latest go-mod-messaging w/o ZMQ on windows" [2021-11-29T21:17:55.362Z] > git --version # timeout=10 [2021-11-29T21:17:55.369Z] > git --version # 'git version 2.24.4' [2021-11-29T21:17:55.378Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-29T21:17:56.317Z] provisioning config files... [2021-11-29T21:17:56.333Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8057802031878245008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-29T21:17:56.795Z] ---> docker-login.sh [2021-11-29T21:17:56.795Z] nexus3.edgexfoundry.org:10001 [2021-11-29T21:17:56.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:17:56.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:17:56.795Z] Configure a credential helper to remove this warning. See [2021-11-29T21:17:56.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:17:56.795Z] [2021-11-29T21:17:56.795Z] Login Succeeded [2021-11-29T21:17:56.795Z] nexus3.edgexfoundry.org:10002 [2021-11-29T21:17:57.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:17:57.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:17:57.059Z] Configure a credential helper to remove this warning. See [2021-11-29T21:17:57.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:17:57.059Z] [2021-11-29T21:17:57.059Z] Login Succeeded [2021-11-29T21:17:57.059Z] nexus3.edgexfoundry.org:10003 [2021-11-29T21:17:57.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:17:57.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:17:57.059Z] Configure a credential helper to remove this warning. See [2021-11-29T21:17:57.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:17:57.059Z] [2021-11-29T21:17:57.059Z] Login Succeeded [2021-11-29T21:17:57.059Z] nexus3.edgexfoundry.org:10004 [2021-11-29T21:17:57.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:17:57.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:17:57.324Z] Configure a credential helper to remove this warning. See [2021-11-29T21:17:57.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:17:57.324Z] [2021-11-29T21:17:57.324Z] Login Succeeded [2021-11-29T21:17:57.324Z] docker.io [2021-11-29T21:17:57.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:17:57.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:17:57.586Z] Configure a credential helper to remove this warning. See [2021-11-29T21:17:57.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:17:57.586Z] [2021-11-29T21:17:57.586Z] Login Succeeded [2021-11-29T21:17:57.586Z] ---> docker-login.sh ends [Pipeline] } [2021-11-29T21:17:57.630Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-11-29T21:17:57.822Z] Commit message: "build: Update to latest go-mod-messaging w/o ZMQ on windows" [Pipeline] echo [2021-11-29T21:17:57.857Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-29T21:17:57.895Z] ========================================================= [2021-11-29T21:17:57.895Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-29T21:17:57.895Z] ========================================================= [Pipeline] fileExists [2021-11-29T21:17:57.885Z] > git --version # timeout=10 [2021-11-29T21:17:57.896Z] > git --version # 'git version 2.17.1' [2021-11-29T21:17:57.921Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [2021-11-29T21:17:58.293Z] + 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 . [2021-11-29T21:17:58.293Z] Sending build context to Docker daemon 4.983MB [2021-11-29T21:17:58.293Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-29T21:17:58.293Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-29T21:17:58.293Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-29T21:17:58.293Z] a0d0a0d46f8b: Pulling fs layer [2021-11-29T21:17:58.293Z] 31adcdaf11c8: Pulling fs layer [2021-11-29T21:17:58.293Z] b8b176561691: Pulling fs layer [2021-11-29T21:17:58.293Z] 4527c011a84f: Pulling fs layer [2021-11-29T21:17:58.293Z] 5d74067f8e1e: Pulling fs layer [2021-11-29T21:17:58.293Z] e0aca202a116: Pulling fs layer [2021-11-29T21:17:58.293Z] 3a43be97a3b4: Pulling fs layer [2021-11-29T21:17:58.293Z] 34cad66bf833: Pulling fs layer [2021-11-29T21:17:58.293Z] b4e3c513aaa6: Pulling fs layer [2021-11-29T21:17:58.293Z] 4527c011a84f: Waiting [2021-11-29T21:17:58.293Z] 5d74067f8e1e: Waiting [2021-11-29T21:17:58.293Z] e0aca202a116: Waiting [2021-11-29T21:17:58.293Z] 3a43be97a3b4: Waiting [2021-11-29T21:17:58.293Z] 34cad66bf833: Waiting [2021-11-29T21:17:58.293Z] b4e3c513aaa6: Waiting [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-29T21:17:58.558Z] b8b176561691: Verifying Checksum [2021-11-29T21:17:58.559Z] b8b176561691: Download complete [2021-11-29T21:17:58.559Z] 31adcdaf11c8: Download complete [2021-11-29T21:17:58.559Z] 5d74067f8e1e: Verifying Checksum [2021-11-29T21:17:58.559Z] 5d74067f8e1e: Download complete [2021-11-29T21:17:58.559Z] a0d0a0d46f8b: Verifying Checksum [2021-11-29T21:17:58.559Z] a0d0a0d46f8b: Download complete [2021-11-29T21:17:58.559Z] e0aca202a116: Verifying Checksum [2021-11-29T21:17:58.559Z] e0aca202a116: Download complete [2021-11-29T21:17:58.559Z] 3a43be97a3b4: Verifying Checksum [2021-11-29T21:17:58.559Z] 3a43be97a3b4: Download complete [2021-11-29T21:17:58.559Z] 34cad66bf833: Verifying Checksum [2021-11-29T21:17:58.559Z] 34cad66bf833: Download complete [2021-11-29T21:17:58.837Z] a0d0a0d46f8b: Pull complete [2021-11-29T21:17:58.837Z] 31adcdaf11c8: Pull complete [2021-11-29T21:17:58.990Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-29T21:17:58.990Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-29T21:17:58.990Z] Dload Upload Total Spent Left Speed [2021-11-29T21:17:58.990Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 186k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh [2021-11-29T21:17:59.113Z] 4527c011a84f: Verifying Checksum [2021-11-29T21:17:59.113Z] 4527c011a84f: Download complete [2021-11-29T21:17:59.113Z] b8b176561691: Pull complete [2021-11-29T21:17:59.388Z] b4e3c513aaa6: Verifying Checksum [2021-11-29T21:17:59.388Z] b4e3c513aaa6: Download complete [2021-11-29T21:17:59.433Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-29T21:17:59.793Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-29T21:17:59.793Z] + sudo tee /etc/docker/daemon.new [2021-11-29T21:17:59.793Z] { [2021-11-29T21:17:59.793Z] "registry-mirrors": [ [2021-11-29T21:17:59.793Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-29T21:17:59.793Z] ], [2021-11-29T21:17:59.793Z] "bip": "10.250.0.254/24", [2021-11-29T21:17:59.793Z] "hosts": [ [2021-11-29T21:17:59.793Z] "tcp://0.0.0.0:5555", [2021-11-29T21:17:59.793Z] "unix:///var/run/docker.sock" [2021-11-29T21:17:59.793Z] ], [2021-11-29T21:17:59.793Z] "mtu": 1458, [2021-11-29T21:17:59.793Z] "selinux-enabled": true, [2021-11-29T21:17:59.793Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-29T21:17:59.793Z] } [Pipeline] sh [2021-11-29T21:18:00.159Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-29T21:18:00.604Z] + sudo service docker restart [2021-11-29T21:18:03.654Z] 4527c011a84f: Pull complete [2021-11-29T21:18:03.654Z] 5d74067f8e1e: Pull complete [2021-11-29T21:18:03.654Z] e0aca202a116: Pull complete [2021-11-29T21:18:03.654Z] 3a43be97a3b4: Pull complete [2021-11-29T21:18:03.932Z] 34cad66bf833: Pull complete [2021-11-29T21:18:06.544Z] b4e3c513aaa6: Pull complete [2021-11-29T21:18:06.544Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-29T21:18:06.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-29T21:18:06.544Z] ---> 9f6097aaca64 [2021-11-29T21:18:06.544Z] Step 3/10 : ARG MAKE=make build [2021-11-29T21:18:08.470Z] ---> Running in d0b1989406b9 [2021-11-29T21:18:08.470Z] Removing intermediate container d0b1989406b9 [2021-11-29T21:18:08.470Z] ---> d618b01d83db [2021-11-29T21:18:08.470Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-29T21:18:08.470Z] ---> Running in 09868acccdf3 [2021-11-29T21:18:08.470Z] Removing intermediate container 09868acccdf3 [2021-11-29T21:18:08.470Z] ---> dd75135f173a [2021-11-29T21:18:08.470Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-29T21:18:08.470Z] ---> Running in f890ad18737f [2021-11-29T21:18:08.470Z] Removing intermediate container f890ad18737f [2021-11-29T21:18:08.470Z] ---> 902bdde862a8 [2021-11-29T21:18:08.470Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-29T21:18:08.470Z] ---> Running in 0686b8c8d1bb [2021-11-29T21:18:09.054Z] Removing intermediate container 0686b8c8d1bb [2021-11-29T21:18:09.054Z] ---> 61bb7d8b4ba6 [2021-11-29T21:18:09.054Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-29T21:18:09.054Z] ---> Running in 2ed86c334bec [2021-11-29T21:18:09.318Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-29T21:18:10.711Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-29T21:18:11.288Z] OK: 220 MiB in 52 packages [2021-11-29T21:18:11.288Z] Removing intermediate container 2ed86c334bec [2021-11-29T21:18:11.288Z] ---> 198fa3b296f7 [2021-11-29T21:18:11.288Z] Step 8/10 : COPY . . [2021-11-29T21:18:11.861Z] ---> e6d75911222a [2021-11-29T21:18:11.861Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-29T21:18:11.861Z] ---> Running in f847ccf34f77 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-29T21:18:19.010Z] provisioning config files... [2021-11-29T21:18:19.037Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5852806574633087797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-29T21:18:19.444Z] ---> docker-login.sh [2021-11-29T21:18:19.444Z] nexus3.edgexfoundry.org:10001 [2021-11-29T21:18:20.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:18:20.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:18:20.316Z] Configure a credential helper to remove this warning. See [2021-11-29T21:18:20.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:18:20.316Z] [2021-11-29T21:18:20.316Z] Login Succeeded [2021-11-29T21:18:20.316Z] nexus3.edgexfoundry.org:10002 [2021-11-29T21:18:20.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:18:20.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:18:20.918Z] Configure a credential helper to remove this warning. See [2021-11-29T21:18:20.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:18:20.918Z] [2021-11-29T21:18:20.918Z] Login Succeeded [2021-11-29T21:18:20.918Z] nexus3.edgexfoundry.org:10003 [2021-11-29T21:18:21.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:18:21.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:18:21.526Z] Configure a credential helper to remove this warning. See [2021-11-29T21:18:21.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:18:21.526Z] [2021-11-29T21:18:21.526Z] Login Succeeded [2021-11-29T21:18:21.526Z] nexus3.edgexfoundry.org:10004 [2021-11-29T21:18:21.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:18:22.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:18:22.078Z] Configure a credential helper to remove this warning. See [2021-11-29T21:18:22.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:18:22.078Z] [2021-11-29T21:18:22.078Z] Login Succeeded [2021-11-29T21:18:22.078Z] docker.io [2021-11-29T21:18:22.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-29T21:18:22.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-29T21:18:22.950Z] Configure a credential helper to remove this warning. See [2021-11-29T21:18:22.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-29T21:18:22.950Z] [2021-11-29T21:18:22.950Z] Login Succeeded [2021-11-29T21:18:22.950Z] ---> docker-login.sh ends [Pipeline] } [2021-11-29T21:18:22.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-29T21:18:23.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-29T21:18:23.650Z] ========================================================= [2021-11-29T21:18:23.651Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-29T21:18:23.651Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-29T21:18:24.070Z] + 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 . [2021-11-29T21:18:24.671Z] Sending build context to Docker daemon 4.982MB [2021-11-29T21:18:24.671Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-29T21:18:24.671Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-29T21:18:24.671Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-29T21:18:24.671Z] 552d1f2373af: Pulling fs layer [2021-11-29T21:18:24.671Z] ea3f2d53f512: Pulling fs layer [2021-11-29T21:18:24.671Z] 9e70ebbbe112: Pulling fs layer [2021-11-29T21:18:24.671Z] 7a9cfe048b4a: Pulling fs layer [2021-11-29T21:18:24.671Z] 72dc09318566: Pulling fs layer [2021-11-29T21:18:24.671Z] f4f7b4309257: Pulling fs layer [2021-11-29T21:18:24.671Z] 0ac9a79272e3: Pulling fs layer [2021-11-29T21:18:24.671Z] b78e95d17946: Pulling fs layer [2021-11-29T21:18:24.671Z] 7a9cfe048b4a: Waiting [2021-11-29T21:18:24.671Z] 72dc09318566: Waiting [2021-11-29T21:18:24.671Z] f4f7b4309257: Waiting [2021-11-29T21:18:24.671Z] b78e95d17946: Waiting [2021-11-29T21:18:24.671Z] 0ac9a79272e3: Waiting [2021-11-29T21:18:24.671Z] 9e70ebbbe112: Verifying Checksum [2021-11-29T21:18:24.671Z] 9e70ebbbe112: Download complete [2021-11-29T21:18:24.671Z] ea3f2d53f512: Verifying Checksum [2021-11-29T21:18:24.671Z] ea3f2d53f512: Download complete [2021-11-29T21:18:24.671Z] 72dc09318566: Verifying Checksum [2021-11-29T21:18:24.671Z] 72dc09318566: Download complete [2021-11-29T21:18:24.946Z] f4f7b4309257: Verifying Checksum [2021-11-29T21:18:24.946Z] f4f7b4309257: Download complete [2021-11-29T21:18:24.946Z] 552d1f2373af: Verifying Checksum [2021-11-29T21:18:24.946Z] 552d1f2373af: Download complete [2021-11-29T21:18:24.946Z] 0ac9a79272e3: Verifying Checksum [2021-11-29T21:18:24.946Z] 0ac9a79272e3: Download complete [2021-11-29T21:18:25.553Z] 552d1f2373af: Pull complete [2021-11-29T21:18:26.175Z] ea3f2d53f512: Pull complete [2021-11-29T21:18:26.787Z] 9e70ebbbe112: Pull complete [2021-11-29T21:18:26.787Z] b78e95d17946: Verifying Checksum [2021-11-29T21:18:26.787Z] b78e95d17946: Download complete [2021-11-29T21:18:27.061Z] 7a9cfe048b4a: Verifying Checksum [2021-11-29T21:18:27.061Z] 7a9cfe048b4a: Download complete [2021-11-29T21:18:37.235Z] 7a9cfe048b4a: Pull complete [2021-11-29T21:18:37.235Z] 72dc09318566: Pull complete [2021-11-29T21:18:37.828Z] f4f7b4309257: Pull complete [2021-11-29T21:18:38.102Z] 0ac9a79272e3: Pull complete [2021-11-29T21:18:43.512Z] b78e95d17946: Pull complete [2021-11-29T21:18:43.512Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-29T21:18:43.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-29T21:18:43.512Z] ---> 8b459fc5aaf0 [2021-11-29T21:18:43.512Z] Step 3/10 : ARG MAKE=make build [2021-11-29T21:18:44.052Z] Removing intermediate container f847ccf34f77 [2021-11-29T21:18:44.052Z] ---> 84ebc9f82c87 [2021-11-29T21:18:44.052Z] Step 10/10 : RUN ${MAKE} [2021-11-29T21:18:44.052Z] ---> Running in 5bb451fd8379 [2021-11-29T21:18:44.052Z] noop [2021-11-29T21:18:44.052Z] Removing intermediate container 5bb451fd8379 [2021-11-29T21:18:44.052Z] ---> 877b27b61ddd [2021-11-29T21:18:44.052Z] Successfully built 877b27b61ddd [2021-11-29T21:18:44.052Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-29T21:18:44.375Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-29T21:18:44.375Z] . [Pipeline] withDockerContainer [2021-11-29T21:18:44.469Z] prd-centos7-docker-4c-2g-716 does not seem to be running inside a container [2021-11-29T21:18:44.527Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-29T21:18:44.875Z] $ docker top 3107525f862b226552eb20661c41bc553554dca62ca18e69b271e1f1b223b078 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-29T21:18:45.266Z] + go version [2021-11-29T21:18:45.266Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-29T21:18:45.298Z] $ docker stop --time=1 3107525f862b226552eb20661c41bc553554dca62ca18e69b271e1f1b223b078 [2021-11-29T21:18:45.482Z] ---> Running in eb4dc610008d [2021-11-29T21:18:45.760Z] Removing intermediate container eb4dc610008d [2021-11-29T21:18:45.760Z] ---> 841e89dc99a1 [2021-11-29T21:18:45.760Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-29T21:18:45.760Z] ---> Running in 94f1bebdaaba [2021-11-29T21:18:46.357Z] Removing intermediate container 94f1bebdaaba [2021-11-29T21:18:46.357Z] ---> 9894c58d2e04 [2021-11-29T21:18:46.357Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-29T21:18:46.357Z] ---> Running in cc568e5df36b [2021-11-29T21:18:46.485Z] $ docker rm -f 3107525f862b226552eb20661c41bc553554dca62ca18e69b271e1f1b223b078 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [2021-11-29T21:18:46.962Z] Removing intermediate container cc568e5df36b [2021-11-29T21:18:46.962Z] ---> 2f8a6bca510d [2021-11-29T21:18:46.962Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-29T21:18:46.962Z] ---> Running in b28605914b69 [Pipeline] sh [2021-11-29T21:18:47.251Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-29T21:18:47.251Z] . [Pipeline] withDockerContainer [2021-11-29T21:18:47.336Z] prd-centos7-docker-4c-2g-716 does not seem to be running inside a container [2021-11-29T21:18:47.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-29T21:18:47.748Z] $ docker top d766a42baec019dd4f89f2780c5ebbff492f9ef44b72ea0cca1bef8145224a6c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-29T21:18:48.184Z] + make test [2021-11-29T21:18:48.184Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-29T21:18:48.946Z] Removing intermediate container b28605914b69 [2021-11-29T21:18:48.946Z] ---> d8b6f6699359 [2021-11-29T21:18:48.946Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-29T21:18:49.225Z] ---> Running in 6f93b84e6ba9 [2021-11-29T21:18:50.204Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-29T21:18:51.192Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-29T21:18:52.172Z] OK: 219 MiB in 52 packages [2021-11-29T21:18:52.771Z] Removing intermediate container 6f93b84e6ba9 [2021-11-29T21:18:52.771Z] ---> a74bb8357aec [2021-11-29T21:18:52.771Z] Step 8/10 : COPY . . [2021-11-29T21:18:53.526Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-29T21:18:54.219Z] ---> 6ab0153b8ca2 [2021-11-29T21:18:54.219Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-29T21:18:54.219Z] ---> Running in 35ff39351d9d [2021-11-29T21:19:20.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-29T21:19:20.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-29T21:19:20.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-29T21:19:20.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.066s coverage: 23.3% of statements [2021-11-29T21:19:20.217Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-29T21:19:20.217Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.047s coverage: 27.6% of statements [2021-11-29T21:19:20.490Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.087s coverage: 78.9% of statements [2021-11-29T21:19:20.766Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.047s coverage: 9.0% of statements [2021-11-29T21:19:20.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-29T21:19:20.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-29T21:19:20.766Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-29T21:19:21.740Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.056s coverage: 28.7% of statements [2021-11-29T21:19:21.740Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-29T21:19:22.691Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.062s coverage: 83.3% of statements [2021-11-29T21:19:22.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-29T21:19:22.691Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-29T21:19:22.691Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.080s coverage: 57.8% of statements [2021-11-29T21:19:24.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.802s coverage: 89.2% of statements [2021-11-29T21:19:24.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-29T21:19:24.630Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.8% of statements [2021-11-29T21:19:24.630Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-29T21:19:24.630Z] GO111MODULE=on go vet ./... [2021-11-29T21:19:46.684Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-29T21:19:46.684Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-29T21:19:46.684Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-29T21:19:46.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-29T21:19:46.760Z] $ docker stop --time=1 d766a42baec019dd4f89f2780c5ebbff492f9ef44b72ea0cca1bef8145224a6c [2021-11-29T21:19:48.214Z] $ docker rm -f d766a42baec019dd4f89f2780c5ebbff492f9ef44b72ea0cca1bef8145224a6c [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-29T21:19:48.739Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-29T21:19:48.955Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-29T21:19:49.733Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-29T21:19:50.044Z] + ls -al . [2021-11-29T21:19:50.044Z] total 268 [2021-11-29T21:19:50.044Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 29 21:19 . [2021-11-29T21:19:50.044Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 29 21:17 .. [2021-11-29T21:19:50.044Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 29 21:17 bin [2021-11-29T21:19:50.044Z] -rw-rw-r--. 1 jenkins jenkins 26321 Nov 29 21:17 CHANGELOG.md [2021-11-29T21:19:50.044Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 29 21:19 coverage.out [2021-11-29T21:19:50.044Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 29 21:17 .dockerignore [2021-11-29T21:19:50.044Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 29 21:17 example [2021-11-29T21:19:50.044Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 29 21:17 .git [2021-11-29T21:19:50.044Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 29 21:17 .github [2021-11-29T21:19:50.044Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 29 21:17 .gitignore [2021-11-29T21:19:50.044Z] -rw-rw-r--. 1 jenkins jenkins 582 Nov 29 21:17 go.mod [2021-11-29T21:19:50.044Z] -rw-rw-r--. 1 jenkins jenkins 49492 Nov 29 21:17 go.sum [2021-11-29T21:19:50.044Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 29 21:17 GOVERNANCE.md [2021-11-29T21:19:50.044Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 29 21:17 internal [2021-11-29T21:19:50.044Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 29 21:17 Jenkinsfile [2021-11-29T21:19:50.044Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 29 21:17 LICENSE [2021-11-29T21:19:50.044Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 29 21:17 Makefile [2021-11-29T21:19:50.044Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 29 21:17 openapi [2021-11-29T21:19:50.044Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 29 21:17 OWNERS.md [2021-11-29T21:19:50.044Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 29 21:17 pkg [2021-11-29T21:19:50.044Z] -rw-rw-r--. 1 jenkins jenkins 4881 Nov 29 21:17 README.md [2021-11-29T21:19:50.044Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 29 21:17 snap [2021-11-29T21:19:50.044Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 29 21:15 VERSION [2021-11-29T21:19:50.044Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 29 21:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-29T21:19:50.369Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a222f540a46da2b72ca2166f67e933099f538379 --label arch=amd64 --label version=0.0.0 . [2021-11-29T21:19:50.369Z] Sending build context to Docker daemon 5.112MB [2021-11-29T21:19:50.369Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-29T21:19:50.369Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-29T21:19:50.369Z] ---> 877b27b61ddd [2021-11-29T21:19:50.369Z] Step 3/24 : ARG MAKE=make build [2021-11-29T21:19:50.369Z] ---> Running in e6276af7098c [2021-11-29T21:19:50.641Z] Removing intermediate container e6276af7098c [2021-11-29T21:19:50.641Z] ---> ef99a880668c [2021-11-29T21:19:50.641Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-29T21:19:50.641Z] ---> Running in 4fa825cd5894 [2021-11-29T21:19:50.641Z] Removing intermediate container 4fa825cd5894 [2021-11-29T21:19:50.641Z] ---> 2765c9643570 [2021-11-29T21:19:50.641Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-29T21:19:50.641Z] ---> Running in 1a8ec3719b4a [2021-11-29T21:19:50.642Z] Removing intermediate container 1a8ec3719b4a [2021-11-29T21:19:50.642Z] ---> 119790f83e7e [2021-11-29T21:19:50.642Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-29T21:19:50.642Z] ---> Running in 73a7aebb8383 [2021-11-29T21:19:51.228Z] Removing intermediate container 73a7aebb8383 [2021-11-29T21:19:51.228Z] ---> 32c907beeb41 [2021-11-29T21:19:51.228Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-29T21:19:51.228Z] ---> Running in 1dc37ab1fb8f [2021-11-29T21:19:51.493Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-29T21:19:52.442Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-29T21:19:52.705Z] OK: 220 MiB in 52 packages [2021-11-29T21:19:52.970Z] Removing intermediate container 1dc37ab1fb8f [2021-11-29T21:19:52.970Z] ---> 1692b27646e7 [2021-11-29T21:19:52.970Z] Step 8/24 : COPY . . [2021-11-29T21:19:53.237Z] ---> 3fc5fab04169 [2021-11-29T21:19:53.237Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-29T21:19:53.237Z] ---> Running in 4717e7fa4fd6 [2021-11-29T21:19:53.814Z] Removing intermediate container 4717e7fa4fd6 [2021-11-29T21:19:53.814Z] ---> 147afacdc2d1 [2021-11-29T21:19:53.814Z] Step 10/24 : RUN ${MAKE} [2021-11-29T21:19:53.814Z] ---> Running in 19e150fa8b36 [2021-11-29T21:19:54.077Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-29T21:20:06.416Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-29T21:20:06.416Z] Removing intermediate container 19e150fa8b36 [2021-11-29T21:20:06.416Z] ---> 80e948c5bfc3 [2021-11-29T21:20:06.416Z] Step 11/24 : FROM alpine:3.14 [2021-11-29T21:20:06.675Z] 3.14: Pulling from library/alpine [2021-11-29T21:20:06.935Z] 97518928ae5f: Pulling fs layer [2021-11-29T21:20:06.935Z] 97518928ae5f: Verifying Checksum [2021-11-29T21:20:06.935Z] 97518928ae5f: Download complete [2021-11-29T21:20:07.209Z] 97518928ae5f: Pull complete [2021-11-29T21:20:07.209Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-29T21:20:07.209Z] Status: Downloaded newer image for alpine:3.14 [2021-11-29T21:20:07.209Z] ---> 0a97eee8041e [2021-11-29T21:20:07.210Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-29T21:20:07.210Z] ---> Running in 4c2c613970e5 [2021-11-29T21:20:07.210Z] Removing intermediate container 4c2c613970e5 [2021-11-29T21:20:07.210Z] ---> 52868d974701 [2021-11-29T21:20:07.210Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-29T21:20:07.210Z] ---> Running in f0122735dc83 [2021-11-29T21:20:07.779Z] Removing intermediate container f0122735dc83 [2021-11-29T21:20:07.779Z] ---> a0db745201ac [2021-11-29T21:20:07.779Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-29T21:20:07.779Z] ---> Running in 7515da01375a [2021-11-29T21:20:08.040Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-29T21:20:08.983Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-29T21:20:09.242Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-29T21:20:09.242Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-29T21:20:09.502Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-29T21:20:09.502Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-29T21:20:09.502Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-29T21:20:09.776Z] Executing busybox-1.33.1-r6.trigger [2021-11-29T21:20:09.776Z] OK: 8 MiB in 19 packages [2021-11-29T21:20:10.039Z] Removing intermediate container 7515da01375a [2021-11-29T21:20:10.039Z] ---> 3067e32b865b [2021-11-29T21:20:10.039Z] Step 15/24 : WORKDIR / [2021-11-29T21:20:10.039Z] ---> Running in a274865f990d [2021-11-29T21:20:10.039Z] Removing intermediate container a274865f990d [2021-11-29T21:20:10.039Z] ---> 2fce0a889bbd [2021-11-29T21:20:10.039Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-29T21:20:10.298Z] ---> a6f52dce546c [2021-11-29T21:20:10.298Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-29T21:20:10.563Z] ---> d7cde5af3600 [2021-11-29T21:20:10.563Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-29T21:20:10.563Z] ---> c052c647bb80 [2021-11-29T21:20:10.563Z] Step 19/24 : EXPOSE 59999 [2021-11-29T21:20:10.826Z] ---> Running in fadf1ef240fd [2021-11-29T21:20:10.826Z] Removing intermediate container fadf1ef240fd [2021-11-29T21:20:10.826Z] ---> 55f55fadf72c [2021-11-29T21:20:10.826Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-29T21:20:10.826Z] ---> Running in e010d49864ab [2021-11-29T21:20:10.826Z] Removing intermediate container e010d49864ab [2021-11-29T21:20:10.826Z] ---> 3b8cb03c3e90 [2021-11-29T21:20:10.826Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-29T21:20:10.826Z] ---> Running in 915a29a45af8 [2021-11-29T21:20:11.089Z] Removing intermediate container 915a29a45af8 [2021-11-29T21:20:11.089Z] ---> 2fd0f5263f98 [2021-11-29T21:20:11.089Z] Step 22/24 : LABEL arch=amd64 [2021-11-29T21:20:11.089Z] ---> Running in 2f4072e3273d [2021-11-29T21:20:11.089Z] Removing intermediate container 2f4072e3273d [2021-11-29T21:20:11.089Z] ---> 44a51700b974 [2021-11-29T21:20:11.089Z] Step 23/24 : LABEL git_sha=a222f540a46da2b72ca2166f67e933099f538379 [2021-11-29T21:20:11.089Z] ---> Running in 146e07b7aa97 [2021-11-29T21:20:11.352Z] Removing intermediate container 146e07b7aa97 [2021-11-29T21:20:11.352Z] ---> 3122baab856f [2021-11-29T21:20:11.352Z] Step 24/24 : LABEL version=0.0.0 [2021-11-29T21:20:11.352Z] ---> Running in 7df4d31775f7 [2021-11-29T21:20:11.352Z] Removing intermediate container 7df4d31775f7 [2021-11-29T21:20:11.352Z] ---> df2f69fad7c1 [2021-11-29T21:20:11.352Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-29T21:20:11.352Z] Successfully built df2f69fad7c1 [2021-11-29T21:20:11.352Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-29T21:20:12.223Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-29T21:20:12.223Z] [2021-11-29T21:20:12.223Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-29T21:20:12.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-29T21:20:12.560Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-29T21:20:12.560Z] b4d181a07f80: Pulling fs layer [2021-11-29T21:20:12.560Z] a1111a8f2ec3: Pulling fs layer [2021-11-29T21:20:12.560Z] ed53099fbce6: Pulling fs layer [2021-11-29T21:20:12.560Z] dc539afda2c1: Pulling fs layer [2021-11-29T21:20:12.560Z] 77bc0d833cb6: Pulling fs layer [2021-11-29T21:20:12.560Z] 9065ff56babe: Pulling fs layer [2021-11-29T21:20:12.560Z] d287ab97295c: Pulling fs layer [2021-11-29T21:20:12.560Z] dc539afda2c1: Waiting [2021-11-29T21:20:12.560Z] 77bc0d833cb6: Waiting [2021-11-29T21:20:12.560Z] 9065ff56babe: Waiting [2021-11-29T21:20:12.560Z] d287ab97295c: Waiting [2021-11-29T21:20:12.560Z] a1111a8f2ec3: Verifying Checksum [2021-11-29T21:20:12.560Z] a1111a8f2ec3: Download complete [2021-11-29T21:20:12.560Z] dc539afda2c1: Download complete [2021-11-29T21:20:12.560Z] ed53099fbce6: Verifying Checksum [2021-11-29T21:20:12.560Z] ed53099fbce6: Download complete [2021-11-29T21:20:12.834Z] 9065ff56babe: Verifying Checksum [2021-11-29T21:20:12.834Z] 9065ff56babe: Download complete [2021-11-29T21:20:12.834Z] 77bc0d833cb6: Verifying Checksum [2021-11-29T21:20:12.834Z] 77bc0d833cb6: Download complete [2021-11-29T21:20:12.834Z] b4d181a07f80: Verifying Checksum [2021-11-29T21:20:12.834Z] b4d181a07f80: Download complete [2021-11-29T21:20:13.413Z] d287ab97295c: Verifying Checksum [2021-11-29T21:20:13.413Z] d287ab97295c: Download complete [2021-11-29T21:20:14.398Z] b4d181a07f80: Pull complete [2021-11-29T21:20:14.660Z] a1111a8f2ec3: Pull complete [2021-11-29T21:20:15.237Z] ed53099fbce6: Pull complete [2021-11-29T21:20:15.237Z] dc539afda2c1: Pull complete [2021-11-29T21:20:15.502Z] 77bc0d833cb6: Pull complete [2021-11-29T21:20:15.764Z] 9065ff56babe: Pull complete [2021-11-29T21:20:16.035Z] Removing intermediate container 35ff39351d9d [2021-11-29T21:20:16.035Z] ---> 46fdba4f3afb [2021-11-29T21:20:16.035Z] Step 10/10 : RUN ${MAKE} [2021-11-29T21:20:16.035Z] ---> Running in 63f197d2df46 [2021-11-29T21:20:16.035Z] noop [2021-11-29T21:20:16.035Z] Removing intermediate container 63f197d2df46 [2021-11-29T21:20:16.035Z] ---> 8b9b449e23d0 [2021-11-29T21:20:16.035Z] Successfully built 8b9b449e23d0 [2021-11-29T21:20:16.035Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-29T21:20:16.411Z] + docker inspect -f . ci-base-image-arm64 [2021-11-29T21:20:16.412Z] . [Pipeline] withDockerContainer [2021-11-29T21:20:16.703Z] prd-ubuntu18.04-docker-arm64-4c-16g-715 does not seem to be running inside a container [2021-11-29T21:20:16.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-29T21:20:18.350Z] $ docker top 51648d76d797b831d68b5bc310340275d48f4c99eecb50e26e3fb0d99c9056be -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-29T21:20:19.370Z] + go version [2021-11-29T21:20:19.370Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-29T21:20:19.402Z] $ docker stop --time=1 51648d76d797b831d68b5bc310340275d48f4c99eecb50e26e3fb0d99c9056be [2021-11-29T21:20:21.122Z] $ docker rm -f 51648d76d797b831d68b5bc310340275d48f4c99eecb50e26e3fb0d99c9056be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-29T21:20:22.030Z] + docker inspect -f . ci-base-image-arm64 [2021-11-29T21:20:22.030Z] . [Pipeline] withDockerContainer [2021-11-29T21:20:22.308Z] prd-ubuntu18.04-docker-arm64-4c-16g-715 does not seem to be running inside a container [2021-11-29T21:20:22.364Z] d287ab97295c: Pull complete [2021-11-29T21:20:22.364Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-29T21:20:22.364Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-29T21:20:22.364Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-29T21:20:22.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-29T21:20:23.939Z] $ docker top 37124385bfc54d97f9189d3f477aeb80994b679ca0d4cd2afd59ea759f4f7a17 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-11-29T21:20:24.384Z] prd-centos7-docker-4c-2g-716 does not seem to be running inside a container [2021-11-29T21:20:24.428Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-29T21:20:26.717Z] $ docker top 7b5d510ff4ae32001bc48ba71ccaa398b9aa05a7d843a37257beeff49c94f1b8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] libraryResource [Pipeline] sh [Pipeline] sh [2021-11-29T21:20:27.175Z] ---> job-cost.sh [2021-11-29T21:20:27.175Z] lf-activate-venv: SKIPPING [2021-11-29T21:20:27.175Z] INFO: No Stack... [2021-11-29T21:20:27.437Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-29T21:20:27.598Z] + make test [2021-11-29T21:20:27.598Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-29T21:20:28.007Z] INFO: Archiving Costs [Pipeline] sh [2021-11-29T21:20:28.330Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-11-29T21:20:28.330Z] + cut -d, -f6 [Pipeline] lock [2021-11-29T21:20:28.377Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] [2021-11-29T21:20:28.382Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] did not exist. Created. [2021-11-29T21:20:28.382Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-29T21:20:28.760Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-29T21:20:28.812Z] Stashed 1 file(s) [Pipeline] } [2021-11-29T21:20:28.832Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-29T21:20:28.898Z] $ docker stop --time=1 7b5d510ff4ae32001bc48ba71ccaa398b9aa05a7d843a37257beeff49c94f1b8 [2021-11-29T21:20:30.037Z] $ docker rm -f 7b5d510ff4ae32001bc48ba71ccaa398b9aa05a7d843a37257beeff49c94f1b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-29T21:20:54.446Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-29T21:22:02.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-29T21:22:02.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-29T21:22:02.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-29T21:22:12.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.396s coverage: 23.3% of statements [2021-11-29T21:22:12.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-29T21:22:12.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.236s coverage: 27.6% of statements [2021-11-29T21:22:12.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.227s coverage: 78.9% of statements [2021-11-29T21:22:12.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.290s coverage: 9.0% of statements [2021-11-29T21:22:12.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-29T21:22:12.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-29T21:22:12.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-29T21:22:12.783Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.340s coverage: 28.7% of statements [2021-11-29T21:22:12.783Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-29T21:22:14.781Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.220s coverage: 83.3% of statements [2021-11-29T21:22:14.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-29T21:22:14.781Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-29T21:22:14.781Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.368s coverage: 57.8% of statements [2021-11-29T21:22:17.414Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.213s coverage: 89.2% of statements [2021-11-29T21:22:17.414Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-29T21:22:17.414Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.203s coverage: 4.8% of statements [2021-11-29T21:22:17.414Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-29T21:22:18.010Z] GO111MODULE=on go vet ./... [2021-11-29T21:23:26.081Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-29T21:23:26.081Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-29T21:23:26.081Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-29T21:23:26.125Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-29T21:23:26.151Z] $ docker stop --time=1 37124385bfc54d97f9189d3f477aeb80994b679ca0d4cd2afd59ea759f4f7a17 [2021-11-29T21:23:28.093Z] $ docker rm -f 37124385bfc54d97f9189d3f477aeb80994b679ca0d4cd2afd59ea759f4f7a17 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-29T21:23:29.457Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-29T21:23:29.542Z] Warning: overwriting stash ‘coverage-report’ [2021-11-29T21:23:30.581Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-29T21:23:31.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-29T21:23:31.603Z] + ls -al . [2021-11-29T21:23:31.603Z] total 304 [2021-11-29T21:23:31.603Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 29 21:23 . [2021-11-29T21:23:31.603Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 21:17 .. [2021-11-29T21:23:31.603Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 29 21:17 .dockerignore [2021-11-29T21:23:31.603Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 21:17 .git [2021-11-29T21:23:31.603Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 21:17 .github [2021-11-29T21:23:31.603Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 29 21:17 .gitignore [2021-11-29T21:23:31.603Z] -rw-rw-r-- 1 jenkins jenkins 26321 Nov 29 21:17 CHANGELOG.md [2021-11-29T21:23:31.603Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 21:17 GOVERNANCE.md [2021-11-29T21:23:31.603Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 29 21:17 Jenkinsfile [2021-11-29T21:23:31.603Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 29 21:17 LICENSE [2021-11-29T21:23:31.603Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 29 21:17 Makefile [2021-11-29T21:23:31.603Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 29 21:17 OWNERS.md [2021-11-29T21:23:31.603Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 29 21:17 README.md [2021-11-29T21:23:31.603Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 29 21:15 VERSION [2021-11-29T21:23:31.603Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 21:17 bin [2021-11-29T21:23:31.603Z] -rw-r--r-- 1 jenkins jenkins 128369 Nov 29 21:22 coverage.out [2021-11-29T21:23:31.603Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 29 21:17 example [2021-11-29T21:23:31.603Z] -rw-rw-r-- 1 jenkins jenkins 582 Nov 29 21:17 go.mod [2021-11-29T21:23:31.603Z] -rw-rw-r-- 1 jenkins jenkins 49492 Nov 29 21:17 go.sum [2021-11-29T21:23:31.603Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 29 21:17 internal [2021-11-29T21:23:31.603Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 21:17 openapi [2021-11-29T21:23:31.603Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 29 21:17 pkg [2021-11-29T21:23:31.603Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 21:17 snap [2021-11-29T21:23:31.603Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 29 21:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-29T21:23:31.962Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a222f540a46da2b72ca2166f67e933099f538379 --label arch=arm64 --label version=0.0.0 . [2021-11-29T21:23:32.559Z] Sending build context to Docker daemon 5.111MB [2021-11-29T21:23:32.559Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-29T21:23:32.559Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-29T21:23:32.559Z] ---> 8b9b449e23d0 [2021-11-29T21:23:32.559Z] Step 3/24 : ARG MAKE=make build [2021-11-29T21:23:32.833Z] ---> Running in 495a54c535f1 [2021-11-29T21:23:33.107Z] Removing intermediate container 495a54c535f1 [2021-11-29T21:23:33.107Z] ---> db8dcfabf59c [2021-11-29T21:23:33.107Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-29T21:23:33.107Z] ---> Running in adf69c32f41b [2021-11-29T21:23:33.704Z] Removing intermediate container adf69c32f41b [2021-11-29T21:23:33.704Z] ---> eb9f3800fe8a [2021-11-29T21:23:33.704Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-29T21:23:33.704Z] ---> Running in 8932fe2d38c4 [2021-11-29T21:23:34.301Z] Removing intermediate container 8932fe2d38c4 [2021-11-29T21:23:34.301Z] ---> 6480a4e11697 [2021-11-29T21:23:34.301Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-29T21:23:34.301Z] ---> Running in 0167bf8e9717 [2021-11-29T21:23:36.277Z] Removing intermediate container 0167bf8e9717 [2021-11-29T21:23:36.277Z] ---> e8ddd4b80f79 [2021-11-29T21:23:36.277Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-29T21:23:36.277Z] ---> Running in cde2800d94b4 [2021-11-29T21:23:37.709Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-29T21:23:38.303Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-29T21:23:39.279Z] OK: 219 MiB in 52 packages [2021-11-29T21:23:40.275Z] Removing intermediate container cde2800d94b4 [2021-11-29T21:23:40.275Z] ---> 9e0d4afd7f83 [2021-11-29T21:23:40.275Z] Step 8/24 : COPY . . [2021-11-29T21:23:41.709Z] ---> 6f57cfaec61c [2021-11-29T21:23:41.709Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-29T21:23:41.709Z] ---> Running in e674875989f8 [2021-11-29T21:23:44.326Z] Removing intermediate container e674875989f8 [2021-11-29T21:23:44.326Z] ---> 45934d1f8e66 [2021-11-29T21:23:44.327Z] Step 10/24 : RUN ${MAKE} [2021-11-29T21:23:44.327Z] ---> Running in 65e903bbab2d [2021-11-29T21:23:45.307Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-29T21:24:24.350Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-29T21:24:24.350Z] Removing intermediate container 65e903bbab2d [2021-11-29T21:24:24.350Z] ---> d1dc16ce8218 [2021-11-29T21:24:24.350Z] Step 11/24 : FROM alpine:3.14 [2021-11-29T21:24:24.943Z] 3.14: Pulling from library/alpine [2021-11-29T21:24:24.943Z] be307f383ecc: Pulling fs layer [2021-11-29T21:24:25.216Z] be307f383ecc: Verifying Checksum [2021-11-29T21:24:25.216Z] be307f383ecc: Download complete [2021-11-29T21:24:25.823Z] be307f383ecc: Pull complete [2021-11-29T21:24:25.823Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-29T21:24:25.823Z] Status: Downloaded newer image for alpine:3.14 [2021-11-29T21:24:25.823Z] ---> 5b8b7b635229 [2021-11-29T21:24:25.823Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-29T21:24:26.097Z] ---> Running in 7bcebb3ce20a [2021-11-29T21:24:26.374Z] Removing intermediate container 7bcebb3ce20a [2021-11-29T21:24:26.374Z] ---> 375f714a31c1 [2021-11-29T21:24:26.374Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-29T21:24:26.374Z] ---> Running in ea109aa832a1 [2021-11-29T21:24:28.336Z] Removing intermediate container ea109aa832a1 [2021-11-29T21:24:28.336Z] ---> fdae745f4867 [2021-11-29T21:24:28.336Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-29T21:24:28.336Z] ---> Running in f4feb1cf3a5e [2021-11-29T21:24:29.307Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-29T21:24:30.277Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-29T21:24:31.261Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-29T21:24:31.261Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-29T21:24:31.261Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-29T21:24:31.261Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-29T21:24:31.536Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-29T21:24:31.536Z] Executing busybox-1.33.1-r6.trigger [2021-11-29T21:24:31.536Z] OK: 8 MiB in 19 packages [2021-11-29T21:24:32.511Z] Removing intermediate container f4feb1cf3a5e [2021-11-29T21:24:32.511Z] ---> 2424f7c25acc [2021-11-29T21:24:32.511Z] Step 15/24 : WORKDIR / [2021-11-29T21:24:32.511Z] ---> Running in dd75318a454f [2021-11-29T21:24:33.104Z] Removing intermediate container dd75318a454f [2021-11-29T21:24:33.104Z] ---> 77fb559aa988 [2021-11-29T21:24:33.104Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-29T21:24:33.695Z] ---> e64f892ecc90 [2021-11-29T21:24:33.695Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-29T21:24:34.673Z] ---> 43c1b3200a5d [2021-11-29T21:24:34.673Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-29T21:24:35.647Z] ---> ba14b8ddbd51 [2021-11-29T21:24:35.647Z] Step 19/24 : EXPOSE 59999 [2021-11-29T21:24:35.647Z] ---> Running in 4be495e06f24 [2021-11-29T21:24:35.917Z] Removing intermediate container 4be495e06f24 [2021-11-29T21:24:35.918Z] ---> 8a0916eda6bc [2021-11-29T21:24:35.918Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-29T21:24:36.188Z] ---> Running in 0f63221b9341 [2021-11-29T21:24:36.462Z] Removing intermediate container 0f63221b9341 [2021-11-29T21:24:36.462Z] ---> 73724e24ce81 [2021-11-29T21:24:36.462Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-29T21:24:36.462Z] ---> Running in d38b2be69e6b [2021-11-29T21:24:37.055Z] Removing intermediate container d38b2be69e6b [2021-11-29T21:24:37.055Z] ---> ff651676a809 [2021-11-29T21:24:37.055Z] Step 22/24 : LABEL arch=arm64 [2021-11-29T21:24:37.055Z] ---> Running in ebcfc3b29893 [2021-11-29T21:24:37.330Z] Removing intermediate container ebcfc3b29893 [2021-11-29T21:24:37.330Z] ---> 6228932794bf [2021-11-29T21:24:37.330Z] Step 23/24 : LABEL git_sha=a222f540a46da2b72ca2166f67e933099f538379 [2021-11-29T21:24:37.605Z] ---> Running in 0d1899b660eb [2021-11-29T21:24:37.883Z] Removing intermediate container 0d1899b660eb [2021-11-29T21:24:37.883Z] ---> 71441c0b0950 [2021-11-29T21:24:37.883Z] Step 24/24 : LABEL version=0.0.0 [2021-11-29T21:24:37.883Z] ---> Running in 1a628a2ceafa [2021-11-29T21:24:38.475Z] Removing intermediate container 1a628a2ceafa [2021-11-29T21:24:38.475Z] ---> 2a803fa223ae [2021-11-29T21:24:38.475Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-29T21:24:38.475Z] Successfully built 2a803fa223ae [2021-11-29T21:24:38.475Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-29T21:24:39.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-29T21:24:39.275Z] [2021-11-29T21:24:39.275Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-29T21:24:39.639Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-29T21:24:39.913Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-29T21:24:39.913Z] 448f6bf000e3: Pulling fs layer [2021-11-29T21:24:39.913Z] f757da607395: Pulling fs layer [2021-11-29T21:24:39.913Z] 05883995daec: Pulling fs layer [2021-11-29T21:24:39.913Z] 8603b9c90790: Pulling fs layer [2021-11-29T21:24:39.913Z] 1560dd03e051: Pulling fs layer [2021-11-29T21:24:39.913Z] 27f5ce0e4adf: Pulling fs layer [2021-11-29T21:24:39.913Z] c2d8d7efcc4b: Pulling fs layer [2021-11-29T21:24:39.913Z] 8603b9c90790: Waiting [2021-11-29T21:24:39.913Z] 27f5ce0e4adf: Waiting [2021-11-29T21:24:39.913Z] c2d8d7efcc4b: Waiting [2021-11-29T21:24:39.913Z] 1560dd03e051: Waiting [2021-11-29T21:24:39.913Z] f757da607395: Verifying Checksum [2021-11-29T21:24:39.913Z] f757da607395: Download complete [2021-11-29T21:24:39.913Z] 8603b9c90790: Verifying Checksum [2021-11-29T21:24:39.913Z] 8603b9c90790: Download complete [2021-11-29T21:24:40.188Z] 1560dd03e051: Verifying Checksum [2021-11-29T21:24:40.188Z] 1560dd03e051: Download complete [2021-11-29T21:24:40.188Z] 27f5ce0e4adf: Verifying Checksum [2021-11-29T21:24:40.188Z] 27f5ce0e4adf: Download complete [2021-11-29T21:24:40.188Z] 05883995daec: Verifying Checksum [2021-11-29T21:24:40.188Z] 05883995daec: Download complete [2021-11-29T21:24:40.461Z] 448f6bf000e3: Verifying Checksum [2021-11-29T21:24:40.461Z] 448f6bf000e3: Download complete [2021-11-29T21:24:43.086Z] c2d8d7efcc4b: Verifying Checksum [2021-11-29T21:24:43.086Z] c2d8d7efcc4b: Download complete [2021-11-29T21:24:44.063Z] 448f6bf000e3: Pull complete [2021-11-29T21:24:44.654Z] f757da607395: Pull complete [2021-11-29T21:24:46.086Z] 05883995daec: Pull complete [2021-11-29T21:24:46.360Z] 8603b9c90790: Pull complete [2021-11-29T21:24:47.339Z] 1560dd03e051: Pull complete [2021-11-29T21:24:47.611Z] 27f5ce0e4adf: Pull complete [2021-11-29T21:25:02.764Z] c2d8d7efcc4b: Pull complete [2021-11-29T21:25:02.764Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-29T21:25:02.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-29T21:25:02.764Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-29T21:25:03.026Z] prd-ubuntu18.04-docker-arm64-4c-16g-715 does not seem to be running inside a container [2021-11-29T21:25:03.102Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-29T21:25:06.041Z] $ docker top 960ac09976084fdb5dbd10ff4dd4694e3e75a31cfef7018895897d8407003342 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-29T21:25:07.045Z] ---> job-cost.sh [2021-11-29T21:25:07.045Z] lf-activate-venv: SKIPPING [2021-11-29T21:25:07.045Z] INFO: No Stack... [2021-11-29T21:25:07.317Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-29T21:25:07.909Z] INFO: Archiving Costs [Pipeline] sh [2021-11-29T21:25:08.576Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-11-29T21:25:08.576Z] + cut -d, -f6 [Pipeline] lock [2021-11-29T21:25:08.651Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] [2021-11-29T21:25:08.656Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] did not exist. Created. [2021-11-29T21:25:08.656Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-29T21:25:09.372Z] /w/workspace/device-sdk-go/1@tmp/durable-ff209644/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-ff209644/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-29T21:25:10.046Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-29T21:25:10.077Z] Warning: overwriting stash ‘stack-cost’ [2021-11-29T21:25:10.136Z] Stashed 1 file(s) [Pipeline] } [2021-11-29T21:25:10.154Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1072-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-29T21:25:10.203Z] $ docker stop --time=1 960ac09976084fdb5dbd10ff4dd4694e3e75a31cfef7018895897d8407003342 [2021-11-29T21:25:11.707Z] $ docker rm -f 960ac09976084fdb5dbd10ff4dd4694e3e75a31cfef7018895897d8407003342 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-11-29T21:25:12.908Z] provisioning config files... [2021-11-29T21:25:12.918Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/config2752410468253007192tmp [Pipeline] { [Pipeline] sh [2021-11-29T21:25:13.255Z] + set +x [2021-11-29T21:25:13.255Z] + curl -s https://codecov.io/bash [2021-11-29T21:25:13.255Z] + bash -s -- [2021-11-29T21:25:13.255Z] [2021-11-29T21:25:13.255Z] _____ _ [2021-11-29T21:25:13.255Z] / ____| | | [2021-11-29T21:25:13.255Z] | | ___ __| | ___ ___ _____ __ [2021-11-29T21:25:13.255Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-29T21:25:13.255Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-29T21:25:13.255Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-29T21:25:13.255Z] Bash-1.0.6 [2021-11-29T21:25:13.255Z] [2021-11-29T21:25:13.255Z] [2021-11-29T21:25:13.255Z] ==> git version 2.24.4 found [2021-11-29T21:25:13.255Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-29T21:25:13.255Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-29T21:25:13.255Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-29T21:25:13.255Z] ==> Jenkins CI detected. [2021-11-29T21:25:13.255Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1072 [2021-11-29T21:25:13.255Z] project root: . [2021-11-29T21:25:13.255Z] --> token set from env [2021-11-29T21:25:13.255Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-29T21:25:13.516Z] ==> Running gcov in . (disable via -X gcov) [2021-11-29T21:25:13.516Z] ==> Python coveragepy not found [2021-11-29T21:25:13.516Z] ==> Searching for coverage reports in: [2021-11-29T21:25:13.516Z] + . [2021-11-29T21:25:13.516Z] -> Found 1 reports [2021-11-29T21:25:13.516Z] ==> Detecting git/mercurial file structure [2021-11-29T21:25:13.516Z] ==> Reading reports [2021-11-29T21:25:13.516Z] + ./coverage.out bytes=128369 [2021-11-29T21:25:13.516Z] ==> Appending adjustments [2021-11-29T21:25:13.516Z] https://docs.codecov.io/docs/fixing-reports [2021-11-29T21:25:13.777Z] + Found adjustments [2021-11-29T21:25:13.777Z] ==> Gzipping contents [2021-11-29T21:25:13.777Z] 16K /tmp/codecov.1ii9rn.gz [2021-11-29T21:25:13.777Z] ==> Uploading reports [2021-11-29T21:25:13.777Z] url: https://codecov.io [2021-11-29T21:25:13.777Z] query: branch=PR-1072&commit=a222f540a46da2b72ca2166f67e933099f538379&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1072%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1072&job=&cmd_args= [2021-11-29T21:25:13.777Z] -> Pinging Codecov [2021-11-29T21:25:13.777Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1072&commit=a222f540a46da2b72ca2166f67e933099f538379&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1072%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1072&job=&cmd_args= [2021-11-29T21:25:14.037Z] -> Uploading to [2021-11-29T21:25:14.037Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-29/7E55EF52A471D76F132DFD9A03CDDE97/a222f540a46da2b72ca2166f67e933099f538379/68969a46-71ff-48d9-800d-9163f9e6d400.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211129%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211129T212513Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=42330533115127044bb8773208387fe04546217ff0a2f441f14b3dcbcb49ef31 [2021-11-29T21:25:14.037Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-29T21:25:14.037Z] Dload Upload Total Spent Left Speed [2021-11-29T21:25:14.301Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16304 0 0 100 16304 0 54840 --:--:-- --:--:-- --:--:-- 54895 [2021-11-29T21:25:14.301Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a222f540a46da2b72ca2166f67e933099f538379 [Pipeline] } [2021-11-29T21:25:14.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-29T21:25:16.314Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1072/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-29T21:25:16.648Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-29T21:25:17.243Z] ---> package-listing.sh [2021-11-29T21:25:17.243Z] ++ facter osfamily [2021-11-29T21:25:17.243Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-29T21:25:17.509Z] + OS_FAMILY=redhat [2021-11-29T21:25:17.509Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1072 [2021-11-29T21:25:17.509Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-29T21:25:17.509Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-29T21:25:17.509Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-29T21:25:17.509Z] + PACKAGES=/tmp/packages_start.txt [2021-11-29T21:25:17.509Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1072 ']' [2021-11-29T21:25:17.509Z] + PACKAGES=/tmp/packages_end.txt [2021-11-29T21:25:17.509Z] + case "${OS_FAMILY}" in [2021-11-29T21:25:17.509Z] + rpm -qa [2021-11-29T21:25:17.509Z] + sort [2021-11-29T21:25:18.082Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-29T21:25:18.082Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-29T21:25:18.082Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-29T21:25:18.082Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1072 ']' [2021-11-29T21:25:18.082Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1072/archives/ [2021-11-29T21:25:18.082Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1072/archives/ [Pipeline] echo [2021-11-29T21:25:18.107Z] 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-1072/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-29T21:25:18.400Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-29T21:25:18.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-29T21:25:18.983Z] [2021-11-29T21:25:18.983Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-29T21:25:19.319Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-29T21:25:19.319Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-29T21:25:19.319Z] b4d181a07f80: Pulling fs layer [2021-11-29T21:25:19.319Z] a1111a8f2ec3: Pulling fs layer [2021-11-29T21:25:19.319Z] ed53099fbce6: Pulling fs layer [2021-11-29T21:25:19.319Z] dc539afda2c1: Pulling fs layer [2021-11-29T21:25:19.319Z] 77bc0d833cb6: Pulling fs layer [2021-11-29T21:25:19.319Z] 9065ff56babe: Pulling fs layer [2021-11-29T21:25:19.319Z] d287ab97295c: Pulling fs layer [2021-11-29T21:25:19.319Z] dc539afda2c1: Waiting [2021-11-29T21:25:19.319Z] 77bc0d833cb6: Waiting [2021-11-29T21:25:19.319Z] 9065ff56babe: Waiting [2021-11-29T21:25:19.319Z] d287ab97295c: Waiting [2021-11-29T21:25:19.319Z] a1111a8f2ec3: Verifying Checksum [2021-11-29T21:25:19.319Z] a1111a8f2ec3: Download complete [2021-11-29T21:25:19.319Z] dc539afda2c1: Verifying Checksum [2021-11-29T21:25:19.319Z] dc539afda2c1: Download complete [2021-11-29T21:25:19.587Z] ed53099fbce6: Verifying Checksum [2021-11-29T21:25:19.588Z] ed53099fbce6: Download complete [2021-11-29T21:25:19.588Z] 77bc0d833cb6: Verifying Checksum [2021-11-29T21:25:19.588Z] 77bc0d833cb6: Download complete [2021-11-29T21:25:19.588Z] 9065ff56babe: Verifying Checksum [2021-11-29T21:25:19.588Z] 9065ff56babe: Download complete [2021-11-29T21:25:19.588Z] b4d181a07f80: Verifying Checksum [2021-11-29T21:25:19.588Z] b4d181a07f80: Download complete [2021-11-29T21:25:20.177Z] d287ab97295c: Verifying Checksum [2021-11-29T21:25:20.177Z] d287ab97295c: Download complete [2021-11-29T21:25:21.122Z] b4d181a07f80: Pull complete [2021-11-29T21:25:21.122Z] a1111a8f2ec3: Pull complete [2021-11-29T21:25:21.696Z] ed53099fbce6: Pull complete [2021-11-29T21:25:21.696Z] dc539afda2c1: Pull complete [2021-11-29T21:25:22.267Z] 77bc0d833cb6: Pull complete [2021-11-29T21:25:22.267Z] 9065ff56babe: Pull complete [2021-11-29T21:25:27.578Z] d287ab97295c: Pull complete [2021-11-29T21:25:27.578Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-29T21:25:27.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-29T21:25:27.578Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-29T21:25:27.656Z] prd-centos7-docker-4c-2g-713 does not seem to be running inside a container [2021-11-29T21:25:27.688Z] $ 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-1072/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-1072 -v /w/workspace/gexfoundry_device-sdk-go_PR-1072:/w/workspace/gexfoundry_device-sdk-go_PR-1072:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1072@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 [2021-11-29T21:25:29.856Z] $ docker top b7b9381e195fed6d0f084f2a836af8da49ad3738a12227ea06dec6173201e4e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-29T21:25:30.256Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-29T21:25:30.568Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-29T21:25:30.885Z] + ls /var/log/sa-host [2021-11-29T21:25:30.885Z] + sadf -c /var/log/sa-host/sa29 [2021-11-29T21:25:30.885Z] file_magic: OK [2021-11-29T21:25:30.885Z] HZ: Using current value: 100 [2021-11-29T21:25:30.885Z] file_header: OK [2021-11-29T21:25:30.885Z] 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 [2021-11-29T21:25:30.885Z] Statistics: [2021-11-29T21:25:30.885Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-29T21:25:30.885Z] File successfully converted to sysstat format version 12.0.3 [2021-11-29T21:25:30.885Z] + sadf -c /var/log/sa-host/sa30 [2021-11-29T21:25:30.885Z] file_magic: OK [2021-11-29T21:25:30.885Z] HZ: Using current value: 100 [2021-11-29T21:25:30.885Z] file_header: OK [2021-11-29T21:25:30.885Z] 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 [2021-11-29T21:25:30.885Z] Statistics: [2021-11-29T21:25:30.885Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-29T21:25:30.885Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-29T21:25:31.024Z] provisioning config files... [2021-11-29T21:25:31.034Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1072@tmp/config8982293279408416232tmp [Pipeline] { [Pipeline] echo [2021-11-29T21:25:31.079Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-29T21:25:31.397Z] ---> create-netrc.sh [Pipeline] } [2021-11-29T21:25:31.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-29T21:25:31.810Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-29T21:25:31.838Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-29T21:25:32.158Z] ---> sudo-logs.sh [2021-11-29T21:25:32.158Z] Archiving 'sudo' log.. [2021-11-29T21:25:32.158Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-713.novalocal: Name or service not known [2021-11-29T21:25:32.158Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-713.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-29T21:25:32.219Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-29T21:25:32.541Z] ---> job-cost.sh [2021-11-29T21:25:32.541Z] lf-activate-venv: SKIPPING [2021-11-29T21:25:32.541Z] DEBUG: total: 0.10999999940395355 [2021-11-29T21:25:32.541Z] INFO: Retrieving Stack Cost... [2021-11-29T21:25:33.113Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-29T21:25:33.377Z] INFO: Archiving Costs [Pipeline] echo [2021-11-29T21:25:33.409Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-29T21:25:33.737Z] ---> logs-deploy.sh [2021-11-29T21:25:33.737Z] lf-activate-venv: SKIPPING [2021-11-29T21:25:33.737Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1072/1 [2021-11-29T21:25:33.737Z] INFO: archiving workspace using pattern(s): [2021-11-29T21:25:34.313Z] Archives upload complete. [2021-11-29T21:25:34.578Z] INFO: archiving logs to Nexus