Pull request #1074 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 jpwhitemn for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 3199f92bba610db9294d51f2a575e13e069dd597+940e3e0006af72bcfe711ffd8de496c555aa02b6 (94fe754fcbab65a6024022b989620e0a42e7b22d) 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-ssh5531556087686428078.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-ssh8888792287048189243.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-1074/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-1074/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17419974345359891093.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-1074/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5287106891999845382.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-ssh3986942172639341467.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-1074/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-1074/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4347979028462880304.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 Running on prd-centos7-docker-4c-2g-861 in /w/workspace/gexfoundry_device-sdk-go_PR-1074 [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-1074 # 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-1074@tmp/jenkins-gitclient-ssh7074743928614323462.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 940e3e0006af72bcfe711ffd8de496c555aa02b6 into PR head commit 3199f92bba610db9294d51f2a575e13e069dd597 > 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-1074@tmp/jenkins-gitclient-ssh3319069635595105292.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1074/head:refs/remotes/origin/PR-1074 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 3199f92bba610db9294d51f2a575e13e069dd597 Checking out Revision 3199f92bba610db9294d51f2a575e13e069dd597 (PR-1074) > git checkout -f 3199f92bba610db9294d51f2a575e13e069dd597 # 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-1074@tmp/jenkins-gitclient-ssh7850919231824576355.key > git merge 940e3e0006af72bcfe711ffd8de496c555aa02b6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3199f92bba610db9294d51f2a575e13e069dd597 # timeout=10 Commit message: "docs: update issue templates to include required sections" 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-12-14T20:53:26.131Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-14T20:53:26.268Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-14T20:53:26.361Z] ========================================================= [2021-12-14T20:53:26.361Z] EdgeX Global Pipelines Version Info [2021-12-14T20:53:26.361Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-14T20:53:27.545Z] ------------------- [2021-12-14T20:53:27.545Z] stable info: [2021-12-14T20:53:27.545Z] ------------------- [2021-12-14T20:53:27.545Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-14T20:53:27.545Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-14T20:53:27.545Z] Message: update stable to v1.0.217 [2021-12-14T20:53:28.122Z] ------------------- [2021-12-14T20:53:28.122Z] experimental info: [2021-12-14T20:53:28.122Z] ------------------- [2021-12-14T20:53:28.122Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-14T20:53:28.122Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-14T20:53:28.122Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-14T20:53:28.366Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-12-14T20:53:28.409Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-12-14T20:53:28.447Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-14T20:53:28.487Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-14T20:53:28.524Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-14T20:53:28.563Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-14T20:53:28.600Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-14T20:53:28.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-12-14T20:53:28.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-14T20:53:28.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-14T20:53:28.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-14T20:53:28.800Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-12-14T20:53:28.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-14T20:53:28.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-14T20:53:28.924Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-14T20:53:28.975Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-12-14T20:53:29.016Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-14T20:53:29.054Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-14T20:53:29.091Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-14T20:53:29.127Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-12-14T20:53:29.162Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-12-14T20:53:29.200Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-12-14T20:53:29.240Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-14T20:53:29.291Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-14T20:53:29.337Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-14T20:53:29.373Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-14T20:53:29.409Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1074 [Pipeline] echo [2021-12-14T20:53:29.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1074 [Pipeline] echo [2021-12-14T20:53:29.484Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1074 [Pipeline] echo [2021-12-14T20:53:29.520Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3199f92bba610db9294d51f2a575e13e069dd597 [Pipeline] echo [2021-12-14T20:53:29.558Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3199f92 [Pipeline] echo [2021-12-14T20:53:29.594Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-14T20:53:29.697Z] provisioning config files... [2021-12-14T20:53:29.711Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/config6150727866320210227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-14T20:53:30.068Z] ---> docker-login.sh [2021-12-14T20:53:30.068Z] nexus3.edgexfoundry.org:10001 [2021-12-14T20:53:30.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:53:30.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:53:30.334Z] Configure a credential helper to remove this warning. See [2021-12-14T20:53:30.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:53:30.334Z] [2021-12-14T20:53:30.334Z] Login Succeeded [2021-12-14T20:53:30.334Z] nexus3.edgexfoundry.org:10002 [2021-12-14T20:53:30.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:53:30.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:53:30.334Z] Configure a credential helper to remove this warning. See [2021-12-14T20:53:30.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:53:30.334Z] [2021-12-14T20:53:30.334Z] Login Succeeded [2021-12-14T20:53:30.334Z] nexus3.edgexfoundry.org:10003 [2021-12-14T20:53:30.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:53:30.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:53:30.334Z] Configure a credential helper to remove this warning. See [2021-12-14T20:53:30.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:53:30.334Z] [2021-12-14T20:53:30.334Z] Login Succeeded [2021-12-14T20:53:30.600Z] nexus3.edgexfoundry.org:10004 [2021-12-14T20:53:30.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:53:30.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:53:30.600Z] Configure a credential helper to remove this warning. See [2021-12-14T20:53:30.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:53:30.600Z] [2021-12-14T20:53:30.600Z] Login Succeeded [2021-12-14T20:53:30.600Z] docker.io [2021-12-14T20:53:30.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:53:30.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:53:30.862Z] Configure a credential helper to remove this warning. See [2021-12-14T20:53:30.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:53:30.862Z] [2021-12-14T20:53:30.862Z] Login Succeeded [2021-12-14T20:53:30.862Z] ---> docker-login.sh ends [Pipeline] } [2021-12-14T20:53:30.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-14T20:53:31.555Z] + git rev-list -1 --merges 3199f92bba610db9294d51f2a575e13e069dd597~1..3199f92bba610db9294d51f2a575e13e069dd597 [Pipeline] echo [2021-12-14T20:53:31.600Z] -----------> git rev-list -1 --merges 3199f92bba610db9294d51f2a575e13e069dd597~1..3199f92bba610db9294d51f2a575e13e069dd597 3199f92bba610db9294d51f2a575e13e069dd597 [false] [Pipeline] sh [2021-12-14T20:53:31.915Z] + git log --format=format:%s -1 3199f92bba610db9294d51f2a575e13e069dd597 [Pipeline] echo [2021-12-14T20:53:31.944Z] ========================================================= [2021-12-14T20:53:31.944Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-14T20:53:31.944Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-14T20:53:32.369Z] + git log --format=format:%s -1 3199f92bba610db9294d51f2a575e13e069dd597 [Pipeline] echo [2021-12-14T20:53:32.399Z] [semverPrep] GIT_COMMIT: 3199f92bba610db9294d51f2a575e13e069dd597, Commit Message: docs: update issue templates to include required sections [Pipeline] echo [2021-12-14T20:53:32.428Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-14T20:53:32.889Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-14T20:53:32.890Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-14T20:53:32.890Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-14T20:53:32.890Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-14T20:53:32.890Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-14T20:53:32.890Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-14T20:53:32.890Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-14T20:53:33.327Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-14T20:53:33.328Z] [2021-12-14T20:53:33.328Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-14T20:53:33.675Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-14T20:53:33.675Z] latest: Pulling from edgex-devops/git-semver [2021-12-14T20:53:33.675Z] a0d0a0d46f8b: Pulling fs layer [2021-12-14T20:53:33.675Z] 3e5f54012d9b: Pulling fs layer [2021-12-14T20:53:33.675Z] 4c7163046ea9: Pulling fs layer [2021-12-14T20:53:33.675Z] 0c2d73faf560: Pulling fs layer [2021-12-14T20:53:33.675Z] 0c2d73faf560: Waiting [2021-12-14T20:53:33.675Z] 3e5f54012d9b: Verifying Checksum [2021-12-14T20:53:33.675Z] 3e5f54012d9b: Download complete [2021-12-14T20:53:33.675Z] a0d0a0d46f8b: Verifying Checksum [2021-12-14T20:53:33.675Z] a0d0a0d46f8b: Download complete [2021-12-14T20:53:33.675Z] 4c7163046ea9: Verifying Checksum [2021-12-14T20:53:33.675Z] 4c7163046ea9: Download complete [2021-12-14T20:53:33.675Z] 0c2d73faf560: Verifying Checksum [2021-12-14T20:53:33.675Z] 0c2d73faf560: Download complete [2021-12-14T20:53:33.945Z] a0d0a0d46f8b: Pull complete [2021-12-14T20:53:33.945Z] 3e5f54012d9b: Pull complete [2021-12-14T20:53:34.219Z] 4c7163046ea9: Pull complete [2021-12-14T20:53:34.486Z] 0c2d73faf560: Pull complete [2021-12-14T20:53:34.486Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-14T20:53:34.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-14T20:53:34.486Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-14T20:53:34.579Z] prd-centos7-docker-4c-2g-861 does not seem to be running inside a container [2021-12-14T20:53:34.457Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1074 -v /w/workspace/gexfoundry_device-sdk-go_PR-1074:/w/workspace/gexfoundry_device-sdk-go_PR-1074:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-14T20:53:35.118Z] $ docker top 98af056310797ac15d2c6bf39a61884c27e85c23d50198dce213cf6ac140b835 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-14T20:53:35.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-14T20:53:35.393Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-14T20:53:35.489Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-14T20:53:35.408Z] $ docker exec 98af056310797ac15d2c6bf39a61884c27e85c23d50198dce213cf6ac140b835 ssh-agent [2021-12-14T20:53:35.593Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhhPPBM/agent.14 [2021-12-14T20:53:35.593Z] SSH_AGENT_PID=21 [2021-12-14T20:53:35.602Z] Running ssh-add (command line suppressed) [2021-12-14T20:53:35.621Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/private_key_5675597249705450317.key (/w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/private_key_5675597249705450317.key) [2021-12-14T20:53:35.702Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-14T20:53:36.036Z] + git tag --points-at HEAD [Pipeline] } [2021-12-14T20:53:36.023Z] $ docker exec --env ******** --env ******** 98af056310797ac15d2c6bf39a61884c27e85c23d50198dce213cf6ac140b835 ssh-agent -k [2021-12-14T20:53:36.114Z] unset SSH_AUTH_SOCK; [2021-12-14T20:53:36.115Z] unset SSH_AGENT_PID; [2021-12-14T20:53:36.115Z] echo Agent pid 21 killed; [2021-12-14T20:53:36.155Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-14T20:53:36.222Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-14T20:53:36.222Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-14T20:53:36.316Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-14T20:53:36.302Z] $ docker exec 98af056310797ac15d2c6bf39a61884c27e85c23d50198dce213cf6ac140b835 ssh-agent [2021-12-14T20:53:36.420Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkiIkED/agent.54 [2021-12-14T20:53:36.420Z] SSH_AGENT_PID=61 [2021-12-14T20:53:36.425Z] Running ssh-add (command line suppressed) [2021-12-14T20:53:36.516Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/private_key_7149893652825717636.key (/w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/private_key_7149893652825717636.key) [2021-12-14T20:53:36.529Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-14T20:53:36.854Z] + git semver init [2021-12-14T20:53:36.854Z] # -> Open(): unable to determine branch for HEAD [2021-12-14T20:53:36.854Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1074/.git [2021-12-14T20:53:36.854Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1074 [2021-12-14T20:53:36.854Z] # $SEMVER_REMOTE_NAME = origin [2021-12-14T20:53:36.854Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-14T20:53:36.854Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-14T20:53:36.854Z] # $SEMVER_BRANCH = PR-1074 [2021-12-14T20:53:36.854Z] # $SEMVER_TEMP = /tmp/semver-004280609 [2021-12-14T20:53:36.854Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-12-14T20:53:38.774Z] # '/tmp/semver-004280609' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1074/.semver' [2021-12-14T20:53:38.774Z] # -> Force: false [2021-12-14T20:53:38.774Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1074/.semver [Pipeline] } [2021-12-14T20:53:38.795Z] $ docker exec --env ******** --env ******** 98af056310797ac15d2c6bf39a61884c27e85c23d50198dce213cf6ac140b835 ssh-agent -k [2021-12-14T20:53:38.876Z] unset SSH_AUTH_SOCK; [2021-12-14T20:53:38.876Z] unset SSH_AGENT_PID; [2021-12-14T20:53:38.876Z] echo Agent pid 61 killed; [2021-12-14T20:53:38.884Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-14T20:53:39.286Z] + git semver [Pipeline] } [2021-12-14T20:53:39.313Z] $ docker stop --time=1 98af056310797ac15d2c6bf39a61884c27e85c23d50198dce213cf6ac140b835 [2021-12-14T20:53:40.567Z] $ docker rm -f 98af056310797ac15d2c6bf39a61884c27e85c23d50198dce213cf6ac140b835 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-14T20:53:40.956Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-14T20:53:41.235Z] Stashed 1 file(s) [Pipeline] echo [2021-12-14T20:53:41.252Z] [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-12-14T20:53:56.646Z] Still waiting to schedule task [2021-12-14T20:53:56.647Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-861’ [2021-12-14T20:53:56.665Z] Still waiting to schedule task [2021-12-14T20:53:56.666Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-12-14T20:55:19.121Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-862 in /w/workspace/gexfoundry_device-sdk-go_PR-1074 [Pipeline] { [Pipeline] ws [2021-12-14T20:55:19.159Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-12-14T20:55:19.509Z] The recommended git tool is: git [2021-12-14T20:55:23.930Z] using credential edgex-jenkins-ssh [2021-12-14T20:55:23.947Z] Cloning the remote Git repository [2021-12-14T20:55:24.008Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-12-14T20:55:24.078Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-12-14T20:55:24.150Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-12-14T20:55:24.151Z] > git --version # timeout=10 [2021-12-14T20:55:24.173Z] > git --version # 'git version 2.17.1' [2021-12-14T20:55:24.175Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-14T20:55:24.262Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-14T20:55:26.731Z] Merging remotes/origin/main commit 940e3e0006af72bcfe711ffd8de496c555aa02b6 into PR head commit 3199f92bba610db9294d51f2a575e13e069dd597 [2021-12-14T20:55:25.745Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-12-14T20:55:25.759Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-14T20:55:25.836Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-12-14T20:55:25.915Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-12-14T20:55:25.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-14T20:55:25.954Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1074/head:refs/remotes/origin/PR-1074 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-14T20:55:26.745Z] > git config core.sparsecheckout # timeout=10 [2021-12-14T20:55:26.766Z] > git checkout -f 3199f92bba610db9294d51f2a575e13e069dd597 # timeout=10 [2021-12-14T20:55:26.962Z] Merge succeeded, producing 3199f92bba610db9294d51f2a575e13e069dd597 [2021-12-14T20:55:26.963Z] Checking out Revision 3199f92bba610db9294d51f2a575e13e069dd597 (PR-1074) [2021-12-14T20:55:26.866Z] > git remote # timeout=10 [2021-12-14T20:55:26.888Z] > git config --get remote.origin.url # timeout=10 [2021-12-14T20:55:26.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-14T20:55:26.919Z] > git merge 940e3e0006af72bcfe711ffd8de496c555aa02b6 # timeout=10 [2021-12-14T20:55:26.941Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-14T20:55:26.965Z] > git config core.sparsecheckout # timeout=10 [2021-12-14T20:55:26.983Z] > git checkout -f 3199f92bba610db9294d51f2a575e13e069dd597 # timeout=10 [2021-12-14T20:55:31.131Z] Commit message: "docs: update issue templates to include required sections" [2021-12-14T20:55:31.180Z] > git --version # timeout=10 [2021-12-14T20:55:31.190Z] > git --version # 'git version 2.17.1' [2021-12-14T20:55:31.204Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-14T20:55:32.292Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-14T20:55:32.292Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-14T20:55:32.292Z] Dload Upload Total Spent Left Speed [2021-12-14T20:55:32.292Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 70802 0 --:--:-- --:--:-- --:--:-- 71228 [Pipeline] sh [2021-12-14T20:55:32.852Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-14T20:55:33.208Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2021-12-14T20:55:33.208Z] [2021-12-14T20:55:33.208Z] { [2021-12-14T20:55:33.208Z] "registry-mirrors": [ [2021-12-14T20:55:33.208Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-14T20:55:33.208Z] ], [2021-12-14T20:55:33.208Z] "bip": "10.250.0.254/24", [2021-12-14T20:55:33.208Z] "hosts": [ [2021-12-14T20:55:33.208Z] "tcp://0.0.0.0:5555", [2021-12-14T20:55:33.208Z] "unix:///var/run/docker.sock" [2021-12-14T20:55:33.208Z] ], [2021-12-14T20:55:33.208Z] "mtu": 1458, [2021-12-14T20:55:33.208Z] "selinux-enabled": true, [2021-12-14T20:55:33.208Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-14T20:55:33.208Z] } [Pipeline] sh [2021-12-14T20:55:33.564Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-14T20:55:34.000Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-14T20:55:52.361Z] provisioning config files... [2021-12-14T20:55:52.384Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4365685284458847867tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-14T20:55:52.936Z] ---> docker-login.sh [2021-12-14T20:55:52.936Z] nexus3.edgexfoundry.org:10001 [2021-12-14T20:55:53.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:55:53.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:55:53.800Z] Configure a credential helper to remove this warning. See [2021-12-14T20:55:53.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:55:53.800Z] [2021-12-14T20:55:53.800Z] Login Succeeded [2021-12-14T20:55:53.800Z] nexus3.edgexfoundry.org:10002 [2021-12-14T20:55:54.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:55:54.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:55:54.069Z] Configure a credential helper to remove this warning. See [2021-12-14T20:55:54.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:55:54.069Z] [2021-12-14T20:55:54.069Z] Login Succeeded [2021-12-14T20:55:54.069Z] nexus3.edgexfoundry.org:10003 [2021-12-14T20:55:54.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:55:54.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:55:54.620Z] Configure a credential helper to remove this warning. See [2021-12-14T20:55:54.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:55:54.620Z] [2021-12-14T20:55:54.620Z] Login Succeeded [2021-12-14T20:55:54.620Z] nexus3.edgexfoundry.org:10004 [2021-12-14T20:55:54.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:55:54.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:55:54.891Z] Configure a credential helper to remove this warning. See [2021-12-14T20:55:54.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:55:54.891Z] [2021-12-14T20:55:54.891Z] Login Succeeded [2021-12-14T20:55:54.891Z] docker.io [2021-12-14T20:55:55.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:55:55.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:55:55.751Z] Configure a credential helper to remove this warning. See [2021-12-14T20:55:55.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:55:55.751Z] [2021-12-14T20:55:55.751Z] Login Succeeded [2021-12-14T20:55:55.751Z] ---> docker-login.sh ends [Pipeline] } [2021-12-14T20:55:55.784Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-14T20:55:56.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-14T20:55:56.151Z] ========================================================= [2021-12-14T20:55:56.151Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-14T20:55:56.151Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-14T20:55:56.586Z] + 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-12-14T20:55:56.869Z] Sending build context to Docker daemon 4.971MB [2021-12-14T20:55:56.869Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-12-14T20:55:56.869Z] Step 2/10 : FROM ${BASE} AS builder [2021-12-14T20:55:57.145Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-14T20:55:57.145Z] 552d1f2373af: Pulling fs layer [2021-12-14T20:55:57.145Z] ea3f2d53f512: Pulling fs layer [2021-12-14T20:55:57.145Z] 9e70ebbbe112: Pulling fs layer [2021-12-14T20:55:57.145Z] 7a9cfe048b4a: Pulling fs layer [2021-12-14T20:55:57.145Z] 72dc09318566: Pulling fs layer [2021-12-14T20:55:57.145Z] f4f7b4309257: Pulling fs layer [2021-12-14T20:55:57.145Z] 0ac9a79272e3: Pulling fs layer [2021-12-14T20:55:57.145Z] b78e95d17946: Pulling fs layer [2021-12-14T20:55:57.145Z] f4f7b4309257: Waiting [2021-12-14T20:55:57.145Z] 0ac9a79272e3: Waiting [2021-12-14T20:55:57.145Z] b78e95d17946: Waiting [2021-12-14T20:55:57.145Z] 7a9cfe048b4a: Waiting [2021-12-14T20:55:57.145Z] 72dc09318566: Waiting [2021-12-14T20:55:57.145Z] 9e70ebbbe112: Verifying Checksum [2021-12-14T20:55:57.145Z] 9e70ebbbe112: Download complete [2021-12-14T20:55:57.145Z] ea3f2d53f512: Download complete [2021-12-14T20:55:57.145Z] 72dc09318566: Verifying Checksum [2021-12-14T20:55:57.145Z] 72dc09318566: Download complete [2021-12-14T20:55:57.145Z] f4f7b4309257: Verifying Checksum [2021-12-14T20:55:57.145Z] f4f7b4309257: Download complete [2021-12-14T20:55:57.145Z] 552d1f2373af: Download complete [2021-12-14T20:55:57.419Z] 0ac9a79272e3: Verifying Checksum [2021-12-14T20:55:57.419Z] 0ac9a79272e3: Download complete [2021-12-14T20:55:58.023Z] 552d1f2373af: Pull complete [2021-12-14T20:55:58.627Z] ea3f2d53f512: Pull complete [2021-12-14T20:55:58.901Z] 9e70ebbbe112: Pull complete [2021-12-14T20:55:59.176Z] b78e95d17946: Verifying Checksum [2021-12-14T20:55:59.176Z] b78e95d17946: Download complete [2021-12-14T20:55:59.450Z] 7a9cfe048b4a: Verifying Checksum [2021-12-14T20:55:59.450Z] 7a9cfe048b4a: Download complete [2021-12-14T20:56:03.828Z] Running on prd-centos7-docker-4c-2g-863 in /w/workspace/gexfoundry_device-sdk-go_PR-1074 [Pipeline] { [Pipeline] ws [2021-12-14T20:56:03.874Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-12-14T20:56:04.000Z] The recommended git tool is: git [2021-12-14T20:56:05.568Z] using credential edgex-jenkins-ssh [2021-12-14T20:56:05.579Z] Cloning the remote Git repository [2021-12-14T20:56:05.089Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-12-14T20:56:05.125Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-12-14T20:56:05.155Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-12-14T20:56:05.155Z] > git --version # timeout=10 [2021-12-14T20:56:05.163Z] > git --version # 'git version 2.24.4' [2021-12-14T20:56:05.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-14T20:56:05.181Z] [INFO] Currently running in a labeled security context [2021-12-14T20:56:05.181Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-14T20:56:05.182Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh3694915754502641346.key [2021-12-14T20:56:05.250Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-14T20:56:07.296Z] Merging remotes/origin/main commit 940e3e0006af72bcfe711ffd8de496c555aa02b6 into PR head commit 3199f92bba610db9294d51f2a575e13e069dd597 [2021-12-14T20:56:07.404Z] Merge succeeded, producing 3199f92bba610db9294d51f2a575e13e069dd597 [2021-12-14T20:56:07.404Z] Checking out Revision 3199f92bba610db9294d51f2a575e13e069dd597 (PR-1074) [2021-12-14T20:56:06.081Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-12-14T20:56:06.091Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-14T20:56:06.108Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-12-14T20:56:06.121Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-12-14T20:56:06.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-14T20:56:06.122Z] [INFO] Currently running in a labeled security context [2021-12-14T20:56:06.123Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-14T20:56:06.123Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh5840170078070591417.key [2021-12-14T20:56:06.135Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1074/head:refs/remotes/origin/PR-1074 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-12-14T20:56:06.797Z] > git config core.sparsecheckout # timeout=10 [2021-12-14T20:56:06.805Z] > git checkout -f 3199f92bba610db9294d51f2a575e13e069dd597 # timeout=10 [2021-12-14T20:56:06.838Z] > git remote # timeout=10 [2021-12-14T20:56:06.849Z] > git config --get remote.origin.url # timeout=10 [2021-12-14T20:56:06.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-14T20:56:06.872Z] [INFO] Currently running in a labeled security context [2021-12-14T20:56:06.872Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-14T20:56:06.872Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh881515416252966308.key [2021-12-14T20:56:06.878Z] > git merge 940e3e0006af72bcfe711ffd8de496c555aa02b6 # timeout=10 [2021-12-14T20:56:06.886Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-12-14T20:56:06.898Z] > git config core.sparsecheckout # timeout=10 [2021-12-14T20:56:06.910Z] > git checkout -f 3199f92bba610db9294d51f2a575e13e069dd597 # timeout=10 [2021-12-14T20:56:10.901Z] Commit message: "docs: update issue templates to include required sections" [2021-12-14T20:56:10.412Z] > git --version # timeout=10 [2021-12-14T20:56:10.419Z] > git --version # 'git version 2.24.4' [2021-12-14T20:56:10.430Z] fatal: bad object 32edd24ee733e309d05e35b1f887f14b07bde6d0 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-14T20:56:11.524Z] provisioning config files... [2021-12-14T20:56:11.540Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8227998643008827850tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-14T20:56:11.848Z] 7a9cfe048b4a: Pull complete [2021-12-14T20:56:11.848Z] 72dc09318566: Pull complete [2021-12-14T20:56:11.848Z] f4f7b4309257: Pull complete [2021-12-14T20:56:11.848Z] 0ac9a79272e3: Pull complete [2021-12-14T20:56:11.956Z] ---> docker-login.sh [2021-12-14T20:56:11.956Z] nexus3.edgexfoundry.org:10001 [2021-12-14T20:56:11.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:56:12.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:56:12.221Z] Configure a credential helper to remove this warning. See [2021-12-14T20:56:12.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:56:12.221Z] [2021-12-14T20:56:12.221Z] Login Succeeded [2021-12-14T20:56:12.221Z] nexus3.edgexfoundry.org:10002 [2021-12-14T20:56:12.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:56:12.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:56:12.221Z] Configure a credential helper to remove this warning. See [2021-12-14T20:56:12.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:56:12.221Z] [2021-12-14T20:56:12.221Z] Login Succeeded [2021-12-14T20:56:12.221Z] nexus3.edgexfoundry.org:10003 [2021-12-14T20:56:12.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:56:12.221Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:56:12.221Z] Configure a credential helper to remove this warning. See [2021-12-14T20:56:12.221Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:56:12.221Z] [2021-12-14T20:56:12.221Z] Login Succeeded [2021-12-14T20:56:12.221Z] nexus3.edgexfoundry.org:10004 [2021-12-14T20:56:12.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:56:12.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:56:12.481Z] Configure a credential helper to remove this warning. See [2021-12-14T20:56:12.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:56:12.481Z] [2021-12-14T20:56:12.481Z] Login Succeeded [2021-12-14T20:56:12.481Z] docker.io [2021-12-14T20:56:12.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-14T20:56:12.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-14T20:56:12.746Z] Configure a credential helper to remove this warning. See [2021-12-14T20:56:12.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-14T20:56:12.746Z] [2021-12-14T20:56:12.746Z] Login Succeeded [2021-12-14T20:56:12.746Z] ---> docker-login.sh ends [Pipeline] } [2021-12-14T20:56:12.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-14T20:56:13.075Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-14T20:56:13.107Z] ========================================================= [2021-12-14T20:56:13.107Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-14T20:56:13.107Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-14T20:56:13.511Z] + 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-12-14T20:56:13.511Z] Sending build context to Docker daemon 4.972MB [2021-12-14T20:56:13.511Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-12-14T20:56:13.511Z] Step 2/10 : FROM ${BASE} AS builder [2021-12-14T20:56:13.511Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-14T20:56:13.511Z] a0d0a0d46f8b: Pulling fs layer [2021-12-14T20:56:13.511Z] 31adcdaf11c8: Pulling fs layer [2021-12-14T20:56:13.511Z] b8b176561691: Pulling fs layer [2021-12-14T20:56:13.511Z] 4527c011a84f: Pulling fs layer [2021-12-14T20:56:13.511Z] 5d74067f8e1e: Pulling fs layer [2021-12-14T20:56:13.511Z] e0aca202a116: Pulling fs layer [2021-12-14T20:56:13.511Z] 3a43be97a3b4: Pulling fs layer [2021-12-14T20:56:13.511Z] 34cad66bf833: Pulling fs layer [2021-12-14T20:56:13.511Z] b4e3c513aaa6: Pulling fs layer [2021-12-14T20:56:13.511Z] e0aca202a116: Waiting [2021-12-14T20:56:13.511Z] 3a43be97a3b4: Waiting [2021-12-14T20:56:13.511Z] 34cad66bf833: Waiting [2021-12-14T20:56:13.511Z] b4e3c513aaa6: Waiting [2021-12-14T20:56:13.511Z] 4527c011a84f: Waiting [2021-12-14T20:56:13.776Z] b8b176561691: Verifying Checksum [2021-12-14T20:56:13.776Z] b8b176561691: Download complete [2021-12-14T20:56:13.776Z] 31adcdaf11c8: Verifying Checksum [2021-12-14T20:56:13.776Z] 31adcdaf11c8: Download complete [2021-12-14T20:56:13.776Z] 5d74067f8e1e: Verifying Checksum [2021-12-14T20:56:13.776Z] 5d74067f8e1e: Download complete [2021-12-14T20:56:13.776Z] e0aca202a116: Verifying Checksum [2021-12-14T20:56:13.776Z] e0aca202a116: Download complete [2021-12-14T20:56:13.776Z] a0d0a0d46f8b: Verifying Checksum [2021-12-14T20:56:13.776Z] a0d0a0d46f8b: Download complete [2021-12-14T20:56:13.777Z] 3a43be97a3b4: Verifying Checksum [2021-12-14T20:56:13.777Z] 3a43be97a3b4: Download complete [2021-12-14T20:56:13.777Z] 34cad66bf833: Verifying Checksum [2021-12-14T20:56:13.777Z] 34cad66bf833: Download complete [2021-12-14T20:56:14.355Z] 4527c011a84f: Verifying Checksum [2021-12-14T20:56:14.355Z] 4527c011a84f: Download complete [2021-12-14T20:56:14.355Z] a0d0a0d46f8b: Pull complete [2021-12-14T20:56:14.355Z] b4e3c513aaa6: Verifying Checksum [2021-12-14T20:56:14.355Z] b4e3c513aaa6: Download complete [2021-12-14T20:56:14.355Z] 31adcdaf11c8: Pull complete [2021-12-14T20:56:14.355Z] b8b176561691: Pull complete [2021-12-14T20:56:17.256Z] b78e95d17946: Pull complete [2021-12-14T20:56:17.256Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-14T20:56:17.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-14T20:56:17.256Z] ---> 8b459fc5aaf0 [2021-12-14T20:56:17.256Z] Step 3/10 : ARG MAKE=make build [2021-12-14T20:56:17.705Z] 4527c011a84f: Pull complete [2021-12-14T20:56:17.972Z] 5d74067f8e1e: Pull complete [2021-12-14T20:56:17.972Z] e0aca202a116: Pull complete [2021-12-14T20:56:17.972Z] 3a43be97a3b4: Pull complete [2021-12-14T20:56:18.235Z] ---> Running in 43d9ba37c644 [2021-12-14T20:56:18.235Z] 34cad66bf833: Pull complete [2021-12-14T20:56:18.506Z] Removing intermediate container 43d9ba37c644 [2021-12-14T20:56:18.507Z] ---> cf1840257055 [2021-12-14T20:56:18.507Z] Step 4/10 : WORKDIR /device-sdk-go [2021-12-14T20:56:18.781Z] ---> Running in 32057cc9fbd9 [2021-12-14T20:56:19.052Z] Removing intermediate container 32057cc9fbd9 [2021-12-14T20:56:19.052Z] ---> 632a689a92c1 [2021-12-14T20:56:19.052Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-12-14T20:56:19.332Z] ---> Running in 818f20d57347 [2021-12-14T20:56:19.607Z] Removing intermediate container 818f20d57347 [2021-12-14T20:56:19.607Z] ---> 5b65b97d62ff [2021-12-14T20:56:19.607Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-14T20:56:19.607Z] ---> Running in ee2a91a8ce32 [2021-12-14T20:56:20.801Z] b4e3c513aaa6: Pull complete [2021-12-14T20:56:20.801Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-14T20:56:20.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-14T20:56:20.801Z] ---> 9f6097aaca64 [2021-12-14T20:56:20.801Z] Step 3/10 : ARG MAKE=make build [2021-12-14T20:56:21.593Z] Removing intermediate container ee2a91a8ce32 [2021-12-14T20:56:21.593Z] ---> 6c5e1e16952c [2021-12-14T20:56:21.593Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-12-14T20:56:21.593Z] ---> Running in 473e018a9715 [2021-12-14T20:56:22.569Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-14T20:56:23.350Z] ---> Running in 70d87004715e [2021-12-14T20:56:23.350Z] Removing intermediate container 70d87004715e [2021-12-14T20:56:23.350Z] ---> b0f8e36f4694 [2021-12-14T20:56:23.350Z] Step 4/10 : WORKDIR /device-sdk-go [2021-12-14T20:56:23.350Z] ---> Running in f71a85ec821e [2021-12-14T20:56:23.350Z] Removing intermediate container f71a85ec821e [2021-12-14T20:56:23.350Z] ---> 7f9fb28dca15 [2021-12-14T20:56:23.350Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-12-14T20:56:23.350Z] ---> Running in 866f4b0005eb [2021-12-14T20:56:23.350Z] Removing intermediate container 866f4b0005eb [2021-12-14T20:56:23.350Z] ---> 553b163e44a0 [2021-12-14T20:56:23.350Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-14T20:56:23.350Z] ---> Running in ddf9ed8bfba8 [2021-12-14T20:56:23.548Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-14T20:56:23.920Z] Removing intermediate container ddf9ed8bfba8 [2021-12-14T20:56:23.920Z] ---> d01d7d823baf [2021-12-14T20:56:23.920Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-12-14T20:56:23.920Z] ---> Running in eafe9b5f5926 [2021-12-14T20:56:23.920Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-14T20:56:24.147Z] OK: 219 MiB in 52 packages [2021-12-14T20:56:24.865Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-14T20:56:25.125Z] OK: 220 MiB in 52 packages [2021-12-14T20:56:25.127Z] Removing intermediate container 473e018a9715 [2021-12-14T20:56:25.127Z] ---> ee59a670c759 [2021-12-14T20:56:25.127Z] Step 8/10 : COPY . . [2021-12-14T20:56:25.391Z] Removing intermediate container eafe9b5f5926 [2021-12-14T20:56:25.391Z] ---> d1d42fbc560b [2021-12-14T20:56:25.391Z] Step 8/10 : COPY . . [2021-12-14T20:56:25.654Z] ---> d565114b4b9a [2021-12-14T20:56:25.654Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-14T20:56:25.654Z] ---> Running in aff20b103fc0 [2021-12-14T20:56:26.102Z] ---> 5decae042e3a [2021-12-14T20:56:26.102Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-14T20:56:26.377Z] ---> Running in 8a7c14b2a23f [2021-12-14T20:57:04.471Z] Removing intermediate container aff20b103fc0 [2021-12-14T20:57:04.471Z] ---> 6e23d137f239 [2021-12-14T20:57:04.471Z] Step 10/10 : RUN ${MAKE} [2021-12-14T20:57:04.471Z] ---> Running in de5f5083b6d8 [2021-12-14T20:57:04.471Z] noop [2021-12-14T20:57:04.471Z] Removing intermediate container de5f5083b6d8 [2021-12-14T20:57:04.471Z] ---> eaa5fda1d599 [2021-12-14T20:57:04.471Z] Successfully built eaa5fda1d599 [2021-12-14T20:57:04.471Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-14T20:57:04.806Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-14T20:57:04.806Z] . [Pipeline] withDockerContainer [2021-12-14T20:57:04.940Z] prd-centos7-docker-4c-2g-863 does not seem to be running inside a container [2021-12-14T20:57:04.986Z] $ 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-12-14T20:57:05.378Z] $ docker top 3c1a2bcd2b9831fe3b6d8facaaa8a0d526cd1beec1db374d79d637f7293e8075 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-14T20:57:05.798Z] + go version [2021-12-14T20:57:05.798Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-14T20:57:05.830Z] $ docker stop --time=1 3c1a2bcd2b9831fe3b6d8facaaa8a0d526cd1beec1db374d79d637f7293e8075 [2021-12-14T20:57:07.001Z] $ docker rm -f 3c1a2bcd2b9831fe3b6d8facaaa8a0d526cd1beec1db374d79d637f7293e8075 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-14T20:57:07.762Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-14T20:57:07.762Z] . [Pipeline] withDockerContainer [2021-12-14T20:57:07.840Z] prd-centos7-docker-4c-2g-863 does not seem to be running inside a container [2021-12-14T20:57:07.888Z] $ 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-12-14T20:57:08.240Z] $ docker top 8ff31e1b4e432724bda1514e24ed9bed02e44d6126a1624582d26e6af813722d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-14T20:57:08.687Z] + make test [2021-12-14T20:57:08.688Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-12-14T20:57:14.057Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-12-14T20:57:36.088Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-12-14T20:57:36.088Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-12-14T20:57:36.088Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-12-14T20:57:38.037Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.050s coverage: 23.3% of statements [2021-12-14T20:57:38.037Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-12-14T20:57:38.037Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 27.6% of statements [2021-12-14T20:57:38.626Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.061s coverage: 78.9% of statements [2021-12-14T20:57:38.627Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.045s coverage: 9.0% of statements [2021-12-14T20:57:38.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-12-14T20:57:38.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-12-14T20:57:38.627Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-12-14T20:57:39.601Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.063s coverage: 28.7% of statements [2021-12-14T20:57:39.601Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-12-14T20:57:40.556Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.049s coverage: 83.3% of statements [2021-12-14T20:57:40.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-12-14T20:57:40.557Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-12-14T20:57:40.557Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.078s coverage: 57.8% of statements [2021-12-14T20:57:41.950Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.795s coverage: 89.2% of statements [2021-12-14T20:57:41.950Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-12-14T20:57:41.950Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.047s coverage: 4.8% of statements [2021-12-14T20:57:41.950Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-12-14T20:57:41.950Z] GO111MODULE=on go vet ./... [2021-12-14T20:57:48.146Z] Removing intermediate container 8a7c14b2a23f [2021-12-14T20:57:48.146Z] ---> 1e1e1041f857 [2021-12-14T20:57:48.146Z] Step 10/10 : RUN ${MAKE} [2021-12-14T20:57:48.146Z] ---> Running in 48b69101ad55 [2021-12-14T20:57:48.146Z] noop [2021-12-14T20:57:48.146Z] Removing intermediate container 48b69101ad55 [2021-12-14T20:57:48.146Z] ---> d0200fd5a3eb [2021-12-14T20:57:48.146Z] Successfully built d0200fd5a3eb [2021-12-14T20:57:48.146Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-14T20:57:48.507Z] + docker inspect -f . ci-base-image-arm64 [2021-12-14T20:57:48.507Z] . [Pipeline] withDockerContainer [2021-12-14T20:57:48.732Z] prd-ubuntu18.04-docker-arm64-4c-16g-862 does not seem to be running inside a container [2021-12-14T20:57:48.805Z] $ 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-12-14T20:57:50.014Z] $ docker top c4b45905bf3f23437e89ed3b52cb6cbadb4b4384400d23b96f9a181834ba39e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-14T20:57:50.925Z] + go version [2021-12-14T20:57:50.925Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-14T20:57:50.954Z] $ docker stop --time=1 c4b45905bf3f23437e89ed3b52cb6cbadb4b4384400d23b96f9a181834ba39e6 [2021-12-14T20:57:52.588Z] $ docker rm -f c4b45905bf3f23437e89ed3b52cb6cbadb4b4384400d23b96f9a181834ba39e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-14T20:57:53.512Z] + docker inspect -f . ci-base-image-arm64 [2021-12-14T20:57:53.513Z] . [Pipeline] withDockerContainer [2021-12-14T20:57:53.720Z] prd-ubuntu18.04-docker-arm64-4c-16g-862 does not seem to be running inside a container [2021-12-14T20:57:53.790Z] $ 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-12-14T20:57:54.953Z] $ docker top 51fa713107e94563267fadd29af8b162849c06e80b47a2a4ce0f9996d4e31779 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-14T20:57:55.938Z] + make test [2021-12-14T20:57:55.939Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-12-14T20:58:00.124Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-14T20:58:00.124Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-14T20:58:00.124Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-14T20:58:00.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-14T20:58:00.215Z] $ docker stop --time=1 8ff31e1b4e432724bda1514e24ed9bed02e44d6126a1624582d26e6af813722d [2021-12-14T20:58:01.771Z] $ docker rm -f 8ff31e1b4e432724bda1514e24ed9bed02e44d6126a1624582d26e6af813722d [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-14T20:58:02.272Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-14T20:58:02.478Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-14T20:58:03.758Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-14T20:58:04.071Z] + ls -al . [2021-12-14T20:58:04.071Z] total 268 [2021-12-14T20:58:04.071Z] drwxrwxr-x. 10 jenkins jenkins 4096 Dec 14 20:57 . [2021-12-14T20:58:04.071Z] drwxrwxr-x. 4 jenkins jenkins 28 Dec 14 20:56 .. [2021-12-14T20:58:04.071Z] drwxrwxr-x. 2 jenkins jenkins 37 Dec 14 20:56 bin [2021-12-14T20:58:04.071Z] -rw-rw-r--. 1 jenkins jenkins 26321 Dec 14 20:56 CHANGELOG.md [2021-12-14T20:58:04.072Z] -rw-r--r--. 1 jenkins jenkins 128369 Dec 14 20:57 coverage.out [2021-12-14T20:58:04.072Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 14 20:56 .dockerignore [2021-12-14T20:58:04.072Z] drwxrwxr-x. 5 jenkins jenkins 62 Dec 14 20:56 example [2021-12-14T20:58:04.072Z] drwxrwxr-x. 8 jenkins jenkins 179 Dec 14 20:56 .git [2021-12-14T20:58:04.072Z] drwxrwxr-x. 3 jenkins jenkins 125 Dec 14 20:56 .github [2021-12-14T20:58:04.072Z] -rw-rw-r--. 1 jenkins jenkins 131 Dec 14 20:56 .gitignore [2021-12-14T20:58:04.072Z] -rw-rw-r--. 1 jenkins jenkins 582 Dec 14 20:56 go.mod [2021-12-14T20:58:04.072Z] -rw-rw-r--. 1 jenkins jenkins 49492 Dec 14 20:56 go.sum [2021-12-14T20:58:04.072Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 14 20:56 GOVERNANCE.md [2021-12-14T20:58:04.072Z] drwxrwxr-x. 15 jenkins jenkins 224 Dec 14 20:56 internal [2021-12-14T20:58:04.072Z] -rw-rw-r--. 1 jenkins jenkins 880 Dec 14 20:56 Jenkinsfile [2021-12-14T20:58:04.072Z] -rw-rw-r--. 1 jenkins jenkins 11341 Dec 14 20:56 LICENSE [2021-12-14T20:58:04.072Z] -rw-rw-r--. 1 jenkins jenkins 1120 Dec 14 20:56 Makefile [2021-12-14T20:58:04.072Z] drwxrwxr-x. 3 jenkins jenkins 16 Dec 14 20:56 openapi [2021-12-14T20:58:04.072Z] -rw-rw-r--. 1 jenkins jenkins 619 Dec 14 20:56 OWNERS.md [2021-12-14T20:58:04.072Z] drwxrwxr-x. 5 jenkins jenkins 50 Dec 14 20:56 pkg [2021-12-14T20:58:04.072Z] -rw-rw-r--. 1 jenkins jenkins 4881 Dec 14 20:56 README.md [2021-12-14T20:58:04.072Z] drwxrwxr-x. 4 jenkins jenkins 54 Dec 14 20:56 snap [2021-12-14T20:58:04.072Z] -rw-rw-r--. 1 jenkins jenkins 5 Dec 14 20:53 VERSION [2021-12-14T20:58:04.072Z] -rw-rw-r--. 1 jenkins jenkins 222 Dec 14 20:56 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-14T20:58:04.405Z] + 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=3199f92bba610db9294d51f2a575e13e069dd597 --label arch=amd64 --label version=0.0.0 . [2021-12-14T20:58:04.405Z] Sending build context to Docker daemon 5.101MB [2021-12-14T20:58:04.405Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-12-14T20:58:04.405Z] Step 2/24 : FROM ${BASE} AS builder [2021-12-14T20:58:04.405Z] ---> eaa5fda1d599 [2021-12-14T20:58:04.405Z] Step 3/24 : ARG MAKE=make build [2021-12-14T20:58:04.673Z] ---> Running in 4d6d7a796d59 [2021-12-14T20:58:04.673Z] Removing intermediate container 4d6d7a796d59 [2021-12-14T20:58:04.673Z] ---> da34d10538cc [2021-12-14T20:58:04.673Z] Step 4/24 : WORKDIR /device-sdk-go [2021-12-14T20:58:04.673Z] ---> Running in ea35941bd33e [2021-12-14T20:58:04.673Z] Removing intermediate container ea35941bd33e [2021-12-14T20:58:04.673Z] ---> fb408127420f [2021-12-14T20:58:04.673Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-12-14T20:58:04.673Z] ---> Running in 2e50704e91e2 [2021-12-14T20:58:04.940Z] Removing intermediate container 2e50704e91e2 [2021-12-14T20:58:04.940Z] ---> 6ab51e83df12 [2021-12-14T20:58:04.940Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-14T20:58:04.940Z] ---> Running in bb657a74221b [2021-12-14T20:58:05.203Z] Removing intermediate container bb657a74221b [2021-12-14T20:58:05.203Z] ---> 0edcd5e1f946 [2021-12-14T20:58:05.203Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-12-14T20:58:05.466Z] ---> Running in bf5e2fe08ac3 [2021-12-14T20:58:05.728Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-14T20:58:06.301Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-14T20:58:06.873Z] OK: 220 MiB in 52 packages [2021-12-14T20:58:07.135Z] Removing intermediate container bf5e2fe08ac3 [2021-12-14T20:58:07.135Z] ---> 4b345af3f21a [2021-12-14T20:58:07.135Z] Step 8/24 : COPY . . [2021-12-14T20:58:07.396Z] ---> c1c3056dbe26 [2021-12-14T20:58:07.396Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-14T20:58:07.396Z] ---> Running in cb0b96080f94 [2021-12-14T20:58:07.967Z] Removing intermediate container cb0b96080f94 [2021-12-14T20:58:07.967Z] ---> b676f47dd870 [2021-12-14T20:58:07.967Z] Step 10/24 : RUN ${MAKE} [2021-12-14T20:58:07.967Z] ---> Running in c7d6b85fdaf7 [2021-12-14T20:58:08.230Z] 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-12-14T20:58:18.342Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-12-14T20:58:20.194Z] Removing intermediate container c7d6b85fdaf7 [2021-12-14T20:58:20.194Z] ---> 7904b0aa0153 [2021-12-14T20:58:20.194Z] Step 11/24 : FROM alpine:3.14 [2021-12-14T20:58:20.194Z] 3.14: Pulling from library/alpine [2021-12-14T20:58:20.194Z] 97518928ae5f: Pulling fs layer [2021-12-14T20:58:20.194Z] 97518928ae5f: Verifying Checksum [2021-12-14T20:58:20.194Z] 97518928ae5f: Download complete [2021-12-14T20:58:20.456Z] 97518928ae5f: Pull complete [2021-12-14T20:58:20.456Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-14T20:58:20.456Z] Status: Downloaded newer image for alpine:3.14 [2021-12-14T20:58:20.456Z] ---> 0a97eee8041e [2021-12-14T20:58:20.456Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-12-14T20:58:20.456Z] ---> Running in d9b8ab2ae81c [2021-12-14T20:58:20.456Z] Removing intermediate container d9b8ab2ae81c [2021-12-14T20:58:20.456Z] ---> d058f7063c51 [2021-12-14T20:58:20.456Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-14T20:58:20.723Z] ---> Running in ae8b1f185b38 [2021-12-14T20:58:20.982Z] Removing intermediate container ae8b1f185b38 [2021-12-14T20:58:20.982Z] ---> f79e304ea2f6 [2021-12-14T20:58:20.982Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-12-14T20:58:20.982Z] ---> Running in 26815347b88a [2021-12-14T20:58:21.245Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-14T20:58:22.187Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-14T20:58:22.446Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-12-14T20:58:22.446Z] (2/5) Installing libsodium (1.0.18-r0) [2021-12-14T20:58:22.705Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-14T20:58:22.705Z] (4/5) Installing libzmq (4.3.4-r0) [2021-12-14T20:58:22.764Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-12-14T20:58:22.970Z] (5/5) Installing zeromq (4.3.4-r0) [2021-12-14T20:58:22.971Z] Executing busybox-1.33.1-r6.trigger [2021-12-14T20:58:22.971Z] OK: 8 MiB in 19 packages [2021-12-14T20:58:23.240Z] Removing intermediate container 26815347b88a [2021-12-14T20:58:23.240Z] ---> f2e97deeb09c [2021-12-14T20:58:23.240Z] Step 15/24 : WORKDIR / [2021-12-14T20:58:23.240Z] ---> Running in 85434f18b4f2 [2021-12-14T20:58:23.240Z] Removing intermediate container 85434f18b4f2 [2021-12-14T20:58:23.240Z] ---> 6e762f5be70b [2021-12-14T20:58:23.240Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-12-14T20:58:23.499Z] ---> e29fdf9d45bd [2021-12-14T20:58:23.499Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-12-14T20:58:23.759Z] ---> 02c549f9ed0f [2021-12-14T20:58:23.759Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-12-14T20:58:24.019Z] ---> 0258d20bb7b0 [2021-12-14T20:58:24.019Z] Step 19/24 : EXPOSE 59999 [2021-12-14T20:58:24.019Z] ---> Running in 79d33cb8420f [2021-12-14T20:58:24.019Z] Removing intermediate container 79d33cb8420f [2021-12-14T20:58:24.019Z] ---> 08f53f29076f [2021-12-14T20:58:24.019Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-12-14T20:58:24.278Z] ---> Running in 3269f38de955 [2021-12-14T20:58:24.278Z] Removing intermediate container 3269f38de955 [2021-12-14T20:58:24.278Z] ---> 6cf1e4282f83 [2021-12-14T20:58:24.278Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-12-14T20:58:24.278Z] ---> Running in 13533518a03d [2021-12-14T20:58:24.278Z] Removing intermediate container 13533518a03d [2021-12-14T20:58:24.278Z] ---> 40b3d19b0c21 [2021-12-14T20:58:24.278Z] Step 22/24 : LABEL arch=amd64 [2021-12-14T20:58:24.278Z] ---> Running in 7d8b4129827f [2021-12-14T20:58:24.537Z] Removing intermediate container 7d8b4129827f [2021-12-14T20:58:24.537Z] ---> 5fda73aa29b9 [2021-12-14T20:58:24.538Z] Step 23/24 : LABEL git_sha=3199f92bba610db9294d51f2a575e13e069dd597 [2021-12-14T20:58:24.538Z] ---> Running in 0f0d352d30e5 [2021-12-14T20:58:24.538Z] Removing intermediate container 0f0d352d30e5 [2021-12-14T20:58:24.538Z] ---> 89e220bb72ec [2021-12-14T20:58:24.538Z] Step 24/24 : LABEL version=0.0.0 [2021-12-14T20:58:24.538Z] ---> Running in 6c9baf548cd2 [2021-12-14T20:58:24.538Z] Removing intermediate container 6c9baf548cd2 [2021-12-14T20:58:24.538Z] ---> 51ae8536d217 [2021-12-14T20:58:24.538Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-14T20:58:24.538Z] Successfully built 51ae8536d217 [2021-12-14T20:58:24.538Z] 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-12-14T20:58:25.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-14T20:58:25.389Z] [2021-12-14T20:58:25.389Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-14T20:58:25.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-14T20:58:25.733Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-14T20:58:25.733Z] b4d181a07f80: Pulling fs layer [2021-12-14T20:58:25.733Z] a1111a8f2ec3: Pulling fs layer [2021-12-14T20:58:25.733Z] ed53099fbce6: Pulling fs layer [2021-12-14T20:58:25.733Z] dc539afda2c1: Pulling fs layer [2021-12-14T20:58:25.733Z] 77bc0d833cb6: Pulling fs layer [2021-12-14T20:58:25.733Z] 9065ff56babe: Pulling fs layer [2021-12-14T20:58:25.733Z] d287ab97295c: Pulling fs layer [2021-12-14T20:58:25.733Z] 77bc0d833cb6: Waiting [2021-12-14T20:58:25.733Z] 9065ff56babe: Waiting [2021-12-14T20:58:25.733Z] d287ab97295c: Waiting [2021-12-14T20:58:25.733Z] dc539afda2c1: Waiting [2021-12-14T20:58:25.733Z] a1111a8f2ec3: Verifying Checksum [2021-12-14T20:58:25.733Z] a1111a8f2ec3: Download complete [2021-12-14T20:58:25.733Z] dc539afda2c1: Verifying Checksum [2021-12-14T20:58:25.733Z] dc539afda2c1: Download complete [2021-12-14T20:58:26.002Z] ed53099fbce6: Verifying Checksum [2021-12-14T20:58:26.002Z] ed53099fbce6: Download complete [2021-12-14T20:58:26.002Z] 9065ff56babe: Verifying Checksum [2021-12-14T20:58:26.002Z] 9065ff56babe: Download complete [2021-12-14T20:58:26.002Z] 77bc0d833cb6: Verifying Checksum [2021-12-14T20:58:26.002Z] 77bc0d833cb6: Download complete [2021-12-14T20:58:26.002Z] b4d181a07f80: Verifying Checksum [2021-12-14T20:58:26.002Z] b4d181a07f80: Download complete [2021-12-14T20:58:26.583Z] d287ab97295c: Verifying Checksum [2021-12-14T20:58:26.583Z] d287ab97295c: Download complete [2021-12-14T20:58:27.555Z] b4d181a07f80: Pull complete [2021-12-14T20:58:27.555Z] a1111a8f2ec3: Pull complete [2021-12-14T20:58:28.133Z] ed53099fbce6: Pull complete [2021-12-14T20:58:28.133Z] dc539afda2c1: Pull complete [2021-12-14T20:58:28.393Z] 77bc0d833cb6: Pull complete [2021-12-14T20:58:28.393Z] 9065ff56babe: Pull complete [2021-12-14T20:58:33.728Z] d287ab97295c: Pull complete [2021-12-14T20:58:33.728Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-14T20:58:33.728Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-14T20:58:33.728Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-14T20:58:33.815Z] prd-centos7-docker-4c-2g-863 does not seem to be running inside a container [2021-12-14T20:58:33.853Z] $ 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-12-14T20:58:36.925Z] $ docker top 59d93d91b70dac0cde907eddab14d8b3fec1314abe93aa19ccabbbce07f92215 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-14T20:58:37.442Z] ---> job-cost.sh [2021-12-14T20:58:37.442Z] lf-activate-venv: SKIPPING [2021-12-14T20:58:37.442Z] INFO: No Stack... [2021-12-14T20:58:38.011Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-14T20:58:38.270Z] INFO: Archiving Costs [Pipeline] sh [2021-12-14T20:58:38.604Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-12-14T20:58:38.605Z] + cut -d, -f6 [Pipeline] lock [2021-12-14T20:58:38.645Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] [2021-12-14T20:58:38.650Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] did not exist. Created. [2021-12-14T20:58:38.650Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-14T20:58:39.039Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-14T20:58:39.093Z] Stashed 1 file(s) [Pipeline] } [2021-12-14T20:58:39.112Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-14T20:58:39.188Z] $ docker stop --time=1 59d93d91b70dac0cde907eddab14d8b3fec1314abe93aa19ccabbbce07f92215 [2021-12-14T20:58:40.339Z] $ docker rm -f 59d93d91b70dac0cde907eddab14d8b3fec1314abe93aa19ccabbbce07f92215 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-14T20:59:30.790Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-12-14T20:59:30.790Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-12-14T20:59:30.790Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-12-14T20:59:33.423Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.274s coverage: 23.3% of statements [2021-12-14T20:59:33.423Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-12-14T20:59:33.423Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.199s coverage: 27.6% of statements [2021-12-14T20:59:33.423Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.260s coverage: 78.9% of statements [2021-12-14T20:59:33.423Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.205s coverage: 9.0% of statements [2021-12-14T20:59:33.423Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-12-14T20:59:33.423Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-12-14T20:59:33.423Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-12-14T20:59:34.405Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.293s coverage: 28.7% of statements [2021-12-14T20:59:34.405Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-12-14T20:59:35.397Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.410s coverage: 83.3% of statements [2021-12-14T20:59:35.397Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-12-14T20:59:35.397Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-12-14T20:59:35.669Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.355s coverage: 57.8% of statements [2021-12-14T20:59:41.072Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.022s coverage: 89.2% of statements [2021-12-14T20:59:41.072Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-12-14T20:59:41.072Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.192s coverage: 4.8% of statements [2021-12-14T20:59:41.072Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-12-14T20:59:41.072Z] GO111MODULE=on go vet ./... [2021-12-14T21:00:37.624Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-14T21:00:37.624Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-14T21:00:37.624Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-14T21:00:37.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-14T21:00:37.694Z] $ docker stop --time=1 51fa713107e94563267fadd29af8b162849c06e80b47a2a4ce0f9996d4e31779 [2021-12-14T21:00:39.411Z] $ docker rm -f 51fa713107e94563267fadd29af8b162849c06e80b47a2a4ce0f9996d4e31779 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-14T21:00:40.497Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-14T21:00:40.530Z] Warning: overwriting stash ‘coverage-report’ [2021-12-14T21:00:41.046Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-14T21:00:41.710Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-14T21:00:42.061Z] + ls -al . [2021-12-14T21:00:42.061Z] total 304 [2021-12-14T21:00:42.061Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 21:00 . [2021-12-14T21:00:42.061Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 20:55 .. [2021-12-14T21:00:42.061Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 20:55 .dockerignore [2021-12-14T21:00:42.061Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 20:55 .git [2021-12-14T21:00:42.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:55 .github [2021-12-14T21:00:42.061Z] -rw-rw-r-- 1 jenkins jenkins 131 Dec 14 20:55 .gitignore [2021-12-14T21:00:42.061Z] -rw-rw-r-- 1 jenkins jenkins 26321 Dec 14 20:55 CHANGELOG.md [2021-12-14T21:00:42.061Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 20:55 GOVERNANCE.md [2021-12-14T21:00:42.061Z] -rw-rw-r-- 1 jenkins jenkins 880 Dec 14 20:55 Jenkinsfile [2021-12-14T21:00:42.061Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 14 20:55 LICENSE [2021-12-14T21:00:42.061Z] -rw-rw-r-- 1 jenkins jenkins 1120 Dec 14 20:55 Makefile [2021-12-14T21:00:42.061Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 14 20:55 OWNERS.md [2021-12-14T21:00:42.061Z] -rw-rw-r-- 1 jenkins jenkins 4881 Dec 14 20:55 README.md [2021-12-14T21:00:42.061Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 20:53 VERSION [2021-12-14T21:00:42.061Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 20:55 bin [2021-12-14T21:00:42.061Z] -rw-r--r-- 1 jenkins jenkins 128369 Dec 14 20:59 coverage.out [2021-12-14T21:00:42.061Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 20:55 example [2021-12-14T21:00:42.061Z] -rw-rw-r-- 1 jenkins jenkins 582 Dec 14 20:55 go.mod [2021-12-14T21:00:42.061Z] -rw-rw-r-- 1 jenkins jenkins 49492 Dec 14 20:55 go.sum [2021-12-14T21:00:42.061Z] drwxrwxr-x 15 jenkins jenkins 4096 Dec 14 20:55 internal [2021-12-14T21:00:42.061Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 20:55 openapi [2021-12-14T21:00:42.061Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 20:55 pkg [2021-12-14T21:00:42.061Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 20:55 snap [2021-12-14T21:00:42.061Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 14 20:55 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-14T21:00:42.427Z] + 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=3199f92bba610db9294d51f2a575e13e069dd597 --label arch=arm64 --label version=0.0.0 . [2021-12-14T21:00:43.019Z] Sending build context to Docker daemon 5.1MB [2021-12-14T21:00:43.019Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-12-14T21:00:43.019Z] Step 2/24 : FROM ${BASE} AS builder [2021-12-14T21:00:43.019Z] ---> d0200fd5a3eb [2021-12-14T21:00:43.019Z] Step 3/24 : ARG MAKE=make build [2021-12-14T21:00:43.019Z] ---> Running in 2399823e08f4 [2021-12-14T21:00:43.291Z] Removing intermediate container 2399823e08f4 [2021-12-14T21:00:43.291Z] ---> f0e7c4f68584 [2021-12-14T21:00:43.291Z] Step 4/24 : WORKDIR /device-sdk-go [2021-12-14T21:00:43.565Z] ---> Running in 4caf89172a7c [2021-12-14T21:00:43.838Z] Removing intermediate container 4caf89172a7c [2021-12-14T21:00:43.838Z] ---> c9486d05a5ef [2021-12-14T21:00:43.838Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-12-14T21:00:43.838Z] ---> Running in fe7c9061b455 [2021-12-14T21:00:44.445Z] Removing intermediate container fe7c9061b455 [2021-12-14T21:00:44.445Z] ---> 91aedbfbc3f3 [2021-12-14T21:00:44.445Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-14T21:00:44.445Z] ---> Running in 4fa53df65a4b [2021-12-14T21:00:45.887Z] Removing intermediate container 4fa53df65a4b [2021-12-14T21:00:45.887Z] ---> 2f0f7a801286 [2021-12-14T21:00:45.887Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-12-14T21:00:46.160Z] ---> Running in 06cb451c61e7 [2021-12-14T21:00:47.144Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-14T21:00:48.114Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-14T21:00:48.705Z] OK: 219 MiB in 52 packages [2021-12-14T21:00:49.678Z] Removing intermediate container 06cb451c61e7 [2021-12-14T21:00:49.678Z] ---> 0e5033a83a34 [2021-12-14T21:00:49.678Z] Step 8/24 : COPY . . [2021-12-14T21:00:50.651Z] ---> 1bf42c52d4f6 [2021-12-14T21:00:50.651Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-14T21:00:50.651Z] ---> Running in 52a1a76bae83 [2021-12-14T21:00:52.621Z] Removing intermediate container 52a1a76bae83 [2021-12-14T21:00:52.621Z] ---> 98b7962fed1e [2021-12-14T21:00:52.621Z] Step 10/24 : RUN ${MAKE} [2021-12-14T21:00:52.621Z] ---> Running in fc556106b198 [2021-12-14T21:00:53.602Z] 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-12-14T21:01:25.961Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-12-14T21:01:28.562Z] Removing intermediate container fc556106b198 [2021-12-14T21:01:28.562Z] ---> f043de1416e5 [2021-12-14T21:01:28.562Z] Step 11/24 : FROM alpine:3.14 [2021-12-14T21:01:28.831Z] 3.14: Pulling from library/alpine [2021-12-14T21:01:29.103Z] be307f383ecc: Pulling fs layer [2021-12-14T21:01:29.374Z] be307f383ecc: Verifying Checksum [2021-12-14T21:01:29.966Z] be307f383ecc: Pull complete [2021-12-14T21:01:29.966Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-14T21:01:29.966Z] Status: Downloaded newer image for alpine:3.14 [2021-12-14T21:01:29.966Z] ---> 5b8b7b635229 [2021-12-14T21:01:29.966Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-12-14T21:01:29.966Z] ---> Running in 1a2aea4a16bf [2021-12-14T21:01:30.241Z] Removing intermediate container 1a2aea4a16bf [2021-12-14T21:01:30.241Z] ---> f6401fff3555 [2021-12-14T21:01:30.241Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-14T21:01:30.517Z] ---> Running in fe73d465c7d9 [2021-12-14T21:01:31.956Z] Removing intermediate container fe73d465c7d9 [2021-12-14T21:01:31.956Z] ---> c8560949d9ab [2021-12-14T21:01:31.956Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-12-14T21:01:32.232Z] ---> Running in 5d5facab34f2 [2021-12-14T21:01:33.209Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-14T21:01:34.178Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-14T21:01:34.767Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-12-14T21:01:34.767Z] (2/5) Installing libsodium (1.0.18-r0) [2021-12-14T21:01:34.767Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-14T21:01:35.036Z] (4/5) Installing libzmq (4.3.4-r0) [2021-12-14T21:01:35.036Z] (5/5) Installing zeromq (4.3.4-r0) [2021-12-14T21:01:35.036Z] Executing busybox-1.33.1-r6.trigger [2021-12-14T21:01:35.306Z] OK: 8 MiB in 19 packages [2021-12-14T21:01:36.281Z] Removing intermediate container 5d5facab34f2 [2021-12-14T21:01:36.281Z] ---> f3f4ae51b7f1 [2021-12-14T21:01:36.281Z] Step 15/24 : WORKDIR / [2021-12-14T21:01:36.281Z] ---> Running in b6d69097c832 [2021-12-14T21:01:36.552Z] Removing intermediate container b6d69097c832 [2021-12-14T21:01:36.552Z] ---> 11b0798ff4f6 [2021-12-14T21:01:36.552Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-12-14T21:01:37.143Z] ---> 75c819b317f3 [2021-12-14T21:01:37.143Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-12-14T21:01:38.135Z] ---> c71aa1e12f08 [2021-12-14T21:01:38.135Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-12-14T21:01:38.727Z] ---> f691c5c6b626 [2021-12-14T21:01:38.727Z] Step 19/24 : EXPOSE 59999 [2021-12-14T21:01:38.727Z] ---> Running in 5abe530aaaa9 [2021-12-14T21:01:38.999Z] Removing intermediate container 5abe530aaaa9 [2021-12-14T21:01:38.999Z] ---> a886ae664bbf [2021-12-14T21:01:38.999Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-12-14T21:01:38.999Z] ---> Running in d7f5132bd0bb [2021-12-14T21:01:39.594Z] Removing intermediate container d7f5132bd0bb [2021-12-14T21:01:39.594Z] ---> 25471dbfc4bf [2021-12-14T21:01:39.594Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-12-14T21:01:39.594Z] ---> Running in a573e6dc47f5 [2021-12-14T21:01:39.900Z] Removing intermediate container a573e6dc47f5 [2021-12-14T21:01:39.900Z] ---> 1c8bdf627752 [2021-12-14T21:01:39.900Z] Step 22/24 : LABEL arch=arm64 [2021-12-14T21:01:39.900Z] ---> Running in c39a69ffa360 [2021-12-14T21:01:40.180Z] Removing intermediate container c39a69ffa360 [2021-12-14T21:01:40.180Z] ---> 05e64c302b87 [2021-12-14T21:01:40.180Z] Step 23/24 : LABEL git_sha=3199f92bba610db9294d51f2a575e13e069dd597 [2021-12-14T21:01:40.455Z] ---> Running in 70ad30aa6912 [2021-12-14T21:01:40.738Z] Removing intermediate container 70ad30aa6912 [2021-12-14T21:01:40.738Z] ---> 39b37dcb08e9 [2021-12-14T21:01:40.738Z] Step 24/24 : LABEL version=0.0.0 [2021-12-14T21:01:40.738Z] ---> Running in 4370fc7cfbb7 [2021-12-14T21:01:41.349Z] Removing intermediate container 4370fc7cfbb7 [2021-12-14T21:01:41.349Z] ---> e9e0b37def7f [2021-12-14T21:01:41.349Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-14T21:01:41.349Z] Successfully built e9e0b37def7f [2021-12-14T21:01:41.349Z] 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-12-14T21:01:42.296Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-14T21:01:42.296Z] [2021-12-14T21:01:42.296Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-14T21:01:42.672Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-14T21:01:42.672Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-14T21:01:42.672Z] 448f6bf000e3: Pulling fs layer [2021-12-14T21:01:42.672Z] f757da607395: Pulling fs layer [2021-12-14T21:01:42.672Z] 05883995daec: Pulling fs layer [2021-12-14T21:01:42.672Z] 8603b9c90790: Pulling fs layer [2021-12-14T21:01:42.672Z] 1560dd03e051: Pulling fs layer [2021-12-14T21:01:42.672Z] 27f5ce0e4adf: Pulling fs layer [2021-12-14T21:01:42.672Z] c2d8d7efcc4b: Pulling fs layer [2021-12-14T21:01:42.672Z] 8603b9c90790: Waiting [2021-12-14T21:01:42.672Z] 1560dd03e051: Waiting [2021-12-14T21:01:42.672Z] 27f5ce0e4adf: Waiting [2021-12-14T21:01:42.672Z] c2d8d7efcc4b: Waiting [2021-12-14T21:01:42.945Z] f757da607395: Verifying Checksum [2021-12-14T21:01:42.945Z] f757da607395: Download complete [2021-12-14T21:01:42.945Z] 8603b9c90790: Verifying Checksum [2021-12-14T21:01:42.945Z] 8603b9c90790: Download complete [2021-12-14T21:01:43.221Z] 1560dd03e051: Verifying Checksum [2021-12-14T21:01:43.221Z] 1560dd03e051: Download complete [2021-12-14T21:01:43.221Z] 27f5ce0e4adf: Verifying Checksum [2021-12-14T21:01:43.221Z] 27f5ce0e4adf: Download complete [2021-12-14T21:01:43.221Z] 05883995daec: Verifying Checksum [2021-12-14T21:01:43.221Z] 05883995daec: Download complete [2021-12-14T21:01:43.494Z] 448f6bf000e3: Download complete [2021-12-14T21:01:46.102Z] c2d8d7efcc4b: Verifying Checksum [2021-12-14T21:01:46.102Z] c2d8d7efcc4b: Download complete [2021-12-14T21:01:47.080Z] 448f6bf000e3: Pull complete [2021-12-14T21:01:47.674Z] f757da607395: Pull complete [2021-12-14T21:01:49.101Z] 05883995daec: Pull complete [2021-12-14T21:01:49.372Z] 8603b9c90790: Pull complete [2021-12-14T21:01:50.350Z] 1560dd03e051: Pull complete [2021-12-14T21:01:50.622Z] 27f5ce0e4adf: Pull complete [2021-12-14T21:02:05.717Z] c2d8d7efcc4b: Pull complete [2021-12-14T21:02:05.717Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-14T21:02:05.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-14T21:02:05.717Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-14T21:02:05.950Z] prd-ubuntu18.04-docker-arm64-4c-16g-862 does not seem to be running inside a container [2021-12-14T21:02:06.032Z] $ 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-12-14T21:02:08.632Z] $ docker top fb325e4fce3a6a75b0e47ece7d0a5a9ba57726025a75174d97f5122c42df1e62 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:02:09.588Z] ---> job-cost.sh [2021-12-14T21:02:09.588Z] lf-activate-venv: SKIPPING [2021-12-14T21:02:09.588Z] INFO: No Stack... [2021-12-14T21:02:09.859Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-14T21:02:10.130Z] INFO: Archiving Costs [Pipeline] sh [2021-12-14T21:02:10.812Z] + + cut -d, -f6 [2021-12-14T21:02:10.812Z] cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-12-14T21:02:10.859Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] [2021-12-14T21:02:10.864Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] did not exist. Created. [2021-12-14T21:02:10.864Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-14T21:02:11.587Z] /w/workspace/device-sdk-go/1@tmp/durable-af12077f/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-af12077f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-14T21:02:12.277Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-14T21:02:12.311Z] Warning: overwriting stash ‘stack-cost’ [2021-12-14T21:02:12.365Z] Stashed 1 file(s) [Pipeline] } [2021-12-14T21:02:12.381Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1074-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-14T21:02:12.436Z] $ docker stop --time=1 fb325e4fce3a6a75b0e47ece7d0a5a9ba57726025a75174d97f5122c42df1e62 [2021-12-14T21:02:13.901Z] $ docker rm -f fb325e4fce3a6a75b0e47ece7d0a5a9ba57726025a75174d97f5122c42df1e62 [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-12-14T21:02:14.909Z] provisioning config files... [2021-12-14T21:02:14.918Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/config8162739599502897064tmp [Pipeline] { [Pipeline] sh [2021-12-14T21:02:15.252Z] + set +x [2021-12-14T21:02:15.252Z] + curl -s https://codecov.io/bash [2021-12-14T21:02:15.252Z] + bash -s -- [2021-12-14T21:02:15.252Z] [2021-12-14T21:02:15.252Z] _____ _ [2021-12-14T21:02:15.252Z] / ____| | | [2021-12-14T21:02:15.252Z] | | ___ __| | ___ ___ _____ __ [2021-12-14T21:02:15.252Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-14T21:02:15.252Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-14T21:02:15.252Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-14T21:02:15.252Z] Bash-1.0.6 [2021-12-14T21:02:15.252Z] [2021-12-14T21:02:15.252Z] [2021-12-14T21:02:15.252Z] ==> git version 2.24.4 found [2021-12-14T21:02:15.252Z] ==> 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-12-14T21:02:15.252Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-14T21:02:15.252Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-14T21:02:15.252Z] ==> Jenkins CI detected. [2021-12-14T21:02:15.252Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1074 [2021-12-14T21:02:15.252Z] project root: . [2021-12-14T21:02:15.252Z] --> token set from env [2021-12-14T21:02:15.252Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-14T21:02:15.516Z] ==> Running gcov in . (disable via -X gcov) [2021-12-14T21:02:15.516Z] ==> Python coveragepy not found [2021-12-14T21:02:15.516Z] ==> Searching for coverage reports in: [2021-12-14T21:02:15.516Z] + . [2021-12-14T21:02:15.516Z] -> Found 1 reports [2021-12-14T21:02:15.516Z] ==> Detecting git/mercurial file structure [2021-12-14T21:02:15.516Z] ==> Reading reports [2021-12-14T21:02:15.516Z] + ./coverage.out bytes=128369 [2021-12-14T21:02:15.516Z] ==> Appending adjustments [2021-12-14T21:02:15.516Z] https://docs.codecov.io/docs/fixing-reports [2021-12-14T21:02:15.780Z] + Found adjustments [2021-12-14T21:02:15.780Z] ==> Gzipping contents [2021-12-14T21:02:15.780Z] 16K /tmp/codecov.6fJ81u.gz [2021-12-14T21:02:15.780Z] ==> Uploading reports [2021-12-14T21:02:15.780Z] url: https://codecov.io [2021-12-14T21:02:15.780Z] query: branch=PR-1074&commit=3199f92bba610db9294d51f2a575e13e069dd597&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1074%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1074&job=&cmd_args= [2021-12-14T21:02:15.780Z] -> Pinging Codecov [2021-12-14T21:02:15.780Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1074&commit=3199f92bba610db9294d51f2a575e13e069dd597&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1074%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1074&job=&cmd_args= [2021-12-14T21:02:16.724Z] -> Uploading to [2021-12-14T21:02:16.724Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-14/7E55EF52A471D76F132DFD9A03CDDE97/3199f92bba610db9294d51f2a575e13e069dd597/248fdb10-bb22-429c-92ea-62fb30fe5894.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211214T210216Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1e17ad84d1b1ebed4c1d119be79e9e89595991c214114b4aa068df7f38e2026c [2021-12-14T21:02:16.724Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-14T21:02:16.724Z] Dload Upload Total Spent Left Speed [2021-12-14T21:02:16.989Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16325 0 0 100 16325 0 48577 --:--:-- --:--:-- --:--:-- 48731 [2021-12-14T21:02:16.989Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/3199f92bba610db9294d51f2a575e13e069dd597 [Pipeline] } [2021-12-14T21:02:17.013Z] 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-12-14T21:02:19.077Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1074/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:02:19.415Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:02:19.998Z] ---> package-listing.sh [2021-12-14T21:02:19.998Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-14T21:02:19.998Z] ++ facter osfamily [2021-12-14T21:02:20.262Z] + OS_FAMILY=redhat [2021-12-14T21:02:20.262Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1074 [2021-12-14T21:02:20.262Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-14T21:02:20.262Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-14T21:02:20.262Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-14T21:02:20.262Z] + PACKAGES=/tmp/packages_start.txt [2021-12-14T21:02:20.262Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1074 ']' [2021-12-14T21:02:20.262Z] + PACKAGES=/tmp/packages_end.txt [2021-12-14T21:02:20.262Z] + case "${OS_FAMILY}" in [2021-12-14T21:02:20.262Z] + sort [2021-12-14T21:02:20.262Z] + rpm -qa [2021-12-14T21:02:20.842Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-14T21:02:20.842Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-14T21:02:20.842Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-14T21:02:20.842Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1074 ']' [2021-12-14T21:02:20.842Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1074/archives/ [2021-12-14T21:02:20.842Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1074/archives/ [Pipeline] echo [2021-12-14T21:02:20.871Z] 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-1074/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-14T21:02:21.175Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-14T21:02:21.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-14T21:02:21.765Z] [2021-12-14T21:02:21.765Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-14T21:02:22.116Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-14T21:02:22.116Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-14T21:02:22.116Z] b4d181a07f80: Pulling fs layer [2021-12-14T21:02:22.116Z] a1111a8f2ec3: Pulling fs layer [2021-12-14T21:02:22.116Z] ed53099fbce6: Pulling fs layer [2021-12-14T21:02:22.116Z] dc539afda2c1: Pulling fs layer [2021-12-14T21:02:22.116Z] 77bc0d833cb6: Pulling fs layer [2021-12-14T21:02:22.116Z] 9065ff56babe: Pulling fs layer [2021-12-14T21:02:22.116Z] d287ab97295c: Pulling fs layer [2021-12-14T21:02:22.116Z] dc539afda2c1: Waiting [2021-12-14T21:02:22.116Z] 77bc0d833cb6: Waiting [2021-12-14T21:02:22.116Z] 9065ff56babe: Waiting [2021-12-14T21:02:22.116Z] d287ab97295c: Waiting [2021-12-14T21:02:22.116Z] a1111a8f2ec3: Verifying Checksum [2021-12-14T21:02:22.116Z] a1111a8f2ec3: Download complete [2021-12-14T21:02:22.116Z] dc539afda2c1: Verifying Checksum [2021-12-14T21:02:22.116Z] dc539afda2c1: Download complete [2021-12-14T21:02:22.116Z] ed53099fbce6: Verifying Checksum [2021-12-14T21:02:22.116Z] ed53099fbce6: Download complete [2021-12-14T21:02:22.376Z] 77bc0d833cb6: Verifying Checksum [2021-12-14T21:02:22.376Z] 77bc0d833cb6: Download complete [2021-12-14T21:02:22.376Z] 9065ff56babe: Verifying Checksum [2021-12-14T21:02:22.376Z] 9065ff56babe: Download complete [2021-12-14T21:02:22.376Z] b4d181a07f80: Verifying Checksum [2021-12-14T21:02:22.376Z] b4d181a07f80: Download complete [2021-12-14T21:02:22.953Z] d287ab97295c: Verifying Checksum [2021-12-14T21:02:22.953Z] d287ab97295c: Download complete [2021-12-14T21:02:23.902Z] b4d181a07f80: Pull complete [2021-12-14T21:02:23.902Z] a1111a8f2ec3: Pull complete [2021-12-14T21:02:24.482Z] ed53099fbce6: Pull complete [2021-12-14T21:02:24.758Z] dc539afda2c1: Pull complete [2021-12-14T21:02:25.331Z] 77bc0d833cb6: Pull complete [2021-12-14T21:02:25.592Z] 9065ff56babe: Pull complete [2021-12-14T21:02:30.927Z] d287ab97295c: Pull complete [2021-12-14T21:02:30.927Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-14T21:02:30.927Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-14T21:02:30.927Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-14T21:02:31.016Z] prd-centos7-docker-4c-2g-861 does not seem to be running inside a container [2021-12-14T21:02:31.048Z] $ 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-1074/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-1074 -v /w/workspace/gexfoundry_device-sdk-go_PR-1074:/w/workspace/gexfoundry_device-sdk-go_PR-1074:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-14T21:02:33.150Z] $ docker top 4e0cbdbb5a4e2bc0b26386dfddd51e160247dad1334aa87b058677f28fe1e2c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-14T21:02:33.536Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-14T21:02:33.853Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-14T21:02:34.167Z] + ls /var/log/sa-host [2021-12-14T21:02:34.167Z] + sadf -c /var/log/sa-host/sa14 [2021-12-14T21:02:34.167Z] file_magic: OK [2021-12-14T21:02:34.167Z] HZ: Using current value: 100 [2021-12-14T21:02:34.167Z] file_header: OK [2021-12-14T21:02:34.167Z] 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-12-14T21:02:34.167Z] Statistics: [2021-12-14T21:02:34.167Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-14T21:02:34.167Z] File successfully converted to sysstat format version 12.0.3 [2021-12-14T21:02:34.167Z] + sadf -c /var/log/sa-host/sa17 [2021-12-14T21:02:34.167Z] file_magic: OK [2021-12-14T21:02:34.167Z] HZ: Using current value: 100 [2021-12-14T21:02:34.167Z] file_header: OK [2021-12-14T21:02:34.167Z] 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-12-14T21:02:34.167Z] Statistics: [2021-12-14T21:02:34.167Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-14T21:02:34.167Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-14T21:02:34.421Z] provisioning config files... [2021-12-14T21:02:34.433Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1074@tmp/config4767955777164469173tmp [Pipeline] { [Pipeline] echo [2021-12-14T21:02:34.474Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:02:34.793Z] ---> create-netrc.sh [Pipeline] } [2021-12-14T21:02:34.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:02:35.207Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-14T21:02:35.236Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:02:35.556Z] ---> sudo-logs.sh [2021-12-14T21:02:35.556Z] Archiving 'sudo' log.. [2021-12-14T21:02:35.556Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-861.novalocal: Name or service not known [2021-12-14T21:02:35.556Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-861.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-14T21:02:35.618Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:02:35.932Z] ---> job-cost.sh [2021-12-14T21:02:35.933Z] lf-activate-venv: SKIPPING [2021-12-14T21:02:35.933Z] DEBUG: total: 0.10999999940395355 [2021-12-14T21:02:35.933Z] INFO: Retrieving Stack Cost... [2021-12-14T21:02:36.196Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-14T21:02:36.455Z] INFO: Archiving Costs [Pipeline] echo [2021-12-14T21:02:36.484Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-14T21:02:36.814Z] ---> logs-deploy.sh [2021-12-14T21:02:36.814Z] lf-activate-venv: SKIPPING [2021-12-14T21:02:36.814Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1074/1 [2021-12-14T21:02:36.814Z] INFO: archiving workspace using pattern(s): [2021-12-14T21:02:37.383Z] Archives upload complete. [2021-12-14T21:02:37.643Z] INFO: archiving logs to Nexus