Pull request #1084 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 5d34f0638f0d32131804c081e244c7718c70a8ef+9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 (80b8f667642a2e712a47b2438df6be8fbe2d47ae) 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-ssh4894813612087230265.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4482306698135781483.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1084/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1084/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4225752614588828055.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh13283441306522196556.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1084/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1084/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12715677286991356301.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-3868’ is offline Running on prd-centos7-docker-4c-2g-3870 in /w/workspace/gexfoundry_device-sdk-go_PR-1084 [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-1084 # 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-1084@tmp/jenkins-gitclient-ssh439162346306433189.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 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 into PR head commit 5d34f0638f0d32131804c081e244c7718c70a8ef Merge succeeded, producing 5d34f0638f0d32131804c081e244c7718c70a8ef Checking out Revision 5d34f0638f0d32131804c081e244c7718c70a8ef (PR-1084) > 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-1084@tmp/jenkins-gitclient-ssh4623826857218648780.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1084/head:refs/remotes/origin/PR-1084 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d34f0638f0d32131804c081e244c7718c70a8ef # 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-1084@tmp/jenkins-gitclient-ssh6342640201587757519.key > git merge 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5d34f0638f0d32131804c081e244c7718c70a8ef # timeout=10 Commit message: "Merge branch 'main' into go-1_17-dockerfile-changes" > git rev-list --no-walk 20fc5d680fde34849585fc2d3e7db5164e009dad # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-25T19:20:00.079Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-25T19:20:00.134Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-25T19:20:00.154Z] ========================================================= [2022-01-25T19:20:00.154Z] EdgeX Global Pipelines Version Info [2022-01-25T19:20:00.154Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:20:01.291Z] ------------------- [2022-01-25T19:20:01.291Z] stable info: [2022-01-25T19:20:01.291Z] ------------------- [2022-01-25T19:20:01.291Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-25T19:20:01.291Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-25T19:20:01.291Z] Message: update stable to v1.0.219 [2022-01-25T19:20:02.236Z] ------------------- [2022-01-25T19:20:02.236Z] experimental info: [2022-01-25T19:20:02.236Z] ------------------- [2022-01-25T19:20:02.236Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-25T19:20:02.236Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-25T19:20:02.236Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-25T19:20:02.365Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-25T19:20:02.374Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-25T19:20:02.382Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-25T19:20:02.390Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-25T19:20:02.399Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-25T19:20:02.407Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-25T19:20:02.416Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-25T19:20:02.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-25T19:20:02.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-25T19:20:02.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-25T19:20:02.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-25T19:20:02.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-25T19:20:02.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-25T19:20:02.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-25T19:20:02.511Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-25T19:20:02.521Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-25T19:20:02.531Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-25T19:20:02.540Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-25T19:20:02.548Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-25T19:20:02.557Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-25T19:20:02.566Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-25T19:20:02.574Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-25T19:20:02.583Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-25T19:20:02.592Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-25T19:20:02.601Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-25T19:20:02.609Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-25T19:20:02.619Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1084 [Pipeline] echo [2022-01-25T19:20:02.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1084 [Pipeline] echo [2022-01-25T19:20:02.637Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1084 [Pipeline] echo [2022-01-25T19:20:02.646Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5d34f0638f0d32131804c081e244c7718c70a8ef [Pipeline] echo [2022-01-25T19:20:02.655Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5d34f06 [Pipeline] echo [2022-01-25T19:20:02.663Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:20:02.699Z] provisioning config files... [2022-01-25T19:20:02.711Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/config8440834010923745100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:20:03.016Z] ---> docker-login.sh [2022-01-25T19:20:03.016Z] nexus3.edgexfoundry.org:10001 [2022-01-25T19:20:03.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:03.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:03.016Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:03.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:03.016Z] [2022-01-25T19:20:03.016Z] Login Succeeded [2022-01-25T19:20:03.278Z] nexus3.edgexfoundry.org:10002 [2022-01-25T19:20:03.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:03.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:03.278Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:03.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:03.278Z] [2022-01-25T19:20:03.278Z] Login Succeeded [2022-01-25T19:20:03.278Z] nexus3.edgexfoundry.org:10003 [2022-01-25T19:20:03.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:03.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:03.278Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:03.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:03.278Z] [2022-01-25T19:20:03.278Z] Login Succeeded [2022-01-25T19:20:03.278Z] nexus3.edgexfoundry.org:10004 [2022-01-25T19:20:03.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:03.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:03.542Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:03.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:03.542Z] [2022-01-25T19:20:03.542Z] Login Succeeded [2022-01-25T19:20:03.542Z] docker.io [2022-01-25T19:20:03.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:03.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:03.802Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:03.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:03.802Z] [2022-01-25T19:20:03.802Z] Login Succeeded [2022-01-25T19:20:03.802Z] ---> docker-login.sh ends [Pipeline] } [2022-01-25T19:20:03.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-25T19:20:04.218Z] + git rev-list -1 --merges 5d34f0638f0d32131804c081e244c7718c70a8ef~1..5d34f0638f0d32131804c081e244c7718c70a8ef [Pipeline] echo [2022-01-25T19:20:04.240Z] -----------> git rev-list -1 --merges 5d34f0638f0d32131804c081e244c7718c70a8ef~1..5d34f0638f0d32131804c081e244c7718c70a8ef 5d34f0638f0d32131804c081e244c7718c70a8ef [2022-01-25T19:20:04.240Z] 5d34f0638f0d32131804c081e244c7718c70a8ef [false] [Pipeline] sh [2022-01-25T19:20:04.532Z] + git log --format=format:%s -1 5d34f0638f0d32131804c081e244c7718c70a8ef [Pipeline] echo [2022-01-25T19:20:04.550Z] ========================================================= [2022-01-25T19:20:04.550Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-25T19:20:04.550Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-25T19:20:04.894Z] + git log --format=format:%s -1 5d34f0638f0d32131804c081e244c7718c70a8ef [Pipeline] echo [2022-01-25T19:20:04.906Z] [semverPrep] GIT_COMMIT: 5d34f0638f0d32131804c081e244c7718c70a8ef, Commit Message: Merge branch 'main' into go-1_17-dockerfile-changes [Pipeline] echo [2022-01-25T19:20:04.914Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-25T19:20:05.396Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-25T19:20:05.397Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-25T19:20:05.397Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-25T19:20:05.397Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-25T19:20:05.397Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-25T19:20:05.397Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-25T19:20:05.397Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:20:05.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:20:05.748Z] [2022-01-25T19:20:05.748Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:20:06.054Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:20:06.054Z] latest: Pulling from edgex-devops/git-semver [2022-01-25T19:20:06.054Z] a0d0a0d46f8b: Pulling fs layer [2022-01-25T19:20:06.054Z] 3e5f54012d9b: Pulling fs layer [2022-01-25T19:20:06.054Z] 4c7163046ea9: Pulling fs layer [2022-01-25T19:20:06.054Z] 0c2d73faf560: Pulling fs layer [2022-01-25T19:20:06.054Z] 0c2d73faf560: Waiting [2022-01-25T19:20:06.054Z] 3e5f54012d9b: Verifying Checksum [2022-01-25T19:20:06.054Z] 3e5f54012d9b: Download complete [2022-01-25T19:20:06.054Z] a0d0a0d46f8b: Verifying Checksum [2022-01-25T19:20:06.054Z] a0d0a0d46f8b: Download complete [2022-01-25T19:20:06.054Z] 4c7163046ea9: Verifying Checksum [2022-01-25T19:20:06.054Z] 4c7163046ea9: Download complete [2022-01-25T19:20:06.054Z] 0c2d73faf560: Verifying Checksum [2022-01-25T19:20:06.054Z] 0c2d73faf560: Download complete [2022-01-25T19:20:06.321Z] a0d0a0d46f8b: Pull complete [2022-01-25T19:20:06.321Z] 3e5f54012d9b: Pull complete [2022-01-25T19:20:06.583Z] 4c7163046ea9: Pull complete [2022-01-25T19:20:06.844Z] 0c2d73faf560: Pull complete [2022-01-25T19:20:06.844Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-25T19:20:06.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-25T19:20:06.844Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-25T19:20:06.917Z] prd-centos7-docker-4c-2g-3870 does not seem to be running inside a container [2022-01-25T19:20:06.538Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@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:10004/edgex-devops/git-semver:latest cat [2022-01-25T19:20:07.158Z] $ docker top 8430598d2cecc26b2831e70d7a8a4d1937a17faff6df2d70830d0b5df8819538 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-25T19:20:07.615Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-25T19:20:07.615Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-25T19:20:07.724Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-25T19:20:07.370Z] $ docker exec 8430598d2cecc26b2831e70d7a8a4d1937a17faff6df2d70830d0b5df8819538 ssh-agent [2022-01-25T19:20:07.833Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmCOCDa/agent.15 [2022-01-25T19:20:07.833Z] SSH_AGENT_PID=21 [2022-01-25T19:20:07.841Z] Running ssh-add (command line suppressed) [2022-01-25T19:20:07.590Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_8140292566112864074.key (/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_8140292566112864074.key) [2022-01-25T19:20:07.944Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-25T19:20:08.253Z] + git tag --points-at HEAD [Pipeline] } [2022-01-25T19:20:07.962Z] $ docker exec --env ******** --env ******** 8430598d2cecc26b2831e70d7a8a4d1937a17faff6df2d70830d0b5df8819538 ssh-agent -k [2022-01-25T19:20:08.057Z] unset SSH_AUTH_SOCK; [2022-01-25T19:20:08.057Z] unset SSH_AGENT_PID; [2022-01-25T19:20:08.057Z] echo Agent pid 21 killed; [2022-01-25T19:20:08.370Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-25T19:20:08.400Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-25T19:20:08.400Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-25T19:20:08.502Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-25T19:20:08.212Z] $ docker exec 8430598d2cecc26b2831e70d7a8a4d1937a17faff6df2d70830d0b5df8819538 ssh-agent [2022-01-25T19:20:08.606Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmAEcKd/agent.56 [2022-01-25T19:20:08.606Z] SSH_AGENT_PID=62 [2022-01-25T19:20:08.612Z] Running ssh-add (command line suppressed) [2022-01-25T19:20:08.435Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_2591299388387943918.key (/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/private_key_2591299388387943918.key) [2022-01-25T19:20:08.723Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-25T19:20:09.020Z] + git semver init [2022-01-25T19:20:09.021Z] # -> Open(): unable to determine branch for HEAD [2022-01-25T19:20:09.021Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1084/.git [2022-01-25T19:20:09.021Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1084 [2022-01-25T19:20:09.021Z] # $SEMVER_REMOTE_NAME = origin [2022-01-25T19:20:09.021Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-25T19:20:09.021Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-25T19:20:09.021Z] # $SEMVER_BRANCH = PR-1084 [2022-01-25T19:20:09.021Z] # $SEMVER_TEMP = /tmp/semver-453753865 [2022-01-25T19:20:09.021Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-25T19:20:09.964Z] # '/tmp/semver-453753865' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1084/.semver' [2022-01-25T19:20:09.964Z] # -> Force: false [2022-01-25T19:20:09.964Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1084/.semver [Pipeline] } [2022-01-25T19:20:09.804Z] $ docker exec --env ******** --env ******** 8430598d2cecc26b2831e70d7a8a4d1937a17faff6df2d70830d0b5df8819538 ssh-agent -k [2022-01-25T19:20:09.892Z] unset SSH_AUTH_SOCK; [2022-01-25T19:20:09.893Z] unset SSH_AGENT_PID; [2022-01-25T19:20:09.893Z] echo Agent pid 62 killed; [2022-01-25T19:20:10.063Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-25T19:20:10.381Z] + git semver [Pipeline] } [2022-01-25T19:20:10.260Z] $ docker stop --time=1 8430598d2cecc26b2831e70d7a8a4d1937a17faff6df2d70830d0b5df8819538 [2022-01-25T19:20:11.502Z] $ docker rm -f 8430598d2cecc26b2831e70d7a8a4d1937a17faff6df2d70830d0b5df8819538 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-25T19:20:11.886Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-25T19:20:12.097Z] Stashed 1 file(s) [Pipeline] echo [2022-01-25T19:20:12.100Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:20:12.261Z] provisioning config files... [2022-01-25T19:20:12.269Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/config8733758590037287650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:20:12.572Z] ---> docker-login.sh [2022-01-25T19:20:12.572Z] nexus3.edgexfoundry.org:10001 [2022-01-25T19:20:12.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:12.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:12.572Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:12.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:12.572Z] [2022-01-25T19:20:12.572Z] Login Succeeded [2022-01-25T19:20:12.572Z] nexus3.edgexfoundry.org:10002 [2022-01-25T19:20:12.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:12.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:12.572Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:12.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:12.572Z] [2022-01-25T19:20:12.572Z] Login Succeeded [2022-01-25T19:20:12.572Z] nexus3.edgexfoundry.org:10003 [2022-01-25T19:20:12.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:12.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:12.832Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:12.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:12.832Z] [2022-01-25T19:20:12.832Z] Login Succeeded [2022-01-25T19:20:12.832Z] nexus3.edgexfoundry.org:10004 [2022-01-25T19:20:12.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:12.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:12.832Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:12.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:12.832Z] [2022-01-25T19:20:12.832Z] Login Succeeded [2022-01-25T19:20:12.832Z] docker.io [2022-01-25T19:20:13.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:20:13.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:20:13.354Z] Configure a credential helper to remove this warning. See [2022-01-25T19:20:13.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:20:13.354Z] [2022-01-25T19:20:13.354Z] Login Succeeded [2022-01-25T19:20:13.354Z] ---> docker-login.sh ends [Pipeline] } [2022-01-25T19:20:13.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-25T19:20:13.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-25T19:20:13.439Z] ========================================================= [2022-01-25T19:20:13.439Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-25T19:20:13.439Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:20:13.761Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-25T19:20:13.761Z] Sending build context to Docker daemon 9.386MB [2022-01-25T19:20:13.761Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-25T19:20:13.761Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-25T19:20:13.761Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-25T19:20:13.761Z] 59bf1c3509f3: Pulling fs layer [2022-01-25T19:20:13.761Z] 666ba61612fd: Pulling fs layer [2022-01-25T19:20:13.761Z] 8ed8ca486205: Pulling fs layer [2022-01-25T19:20:13.761Z] 4fe6c5a15a65: Pulling fs layer [2022-01-25T19:20:13.761Z] 22a0e8bec74d: Pulling fs layer [2022-01-25T19:20:13.761Z] f965cba54748: Pulling fs layer [2022-01-25T19:20:13.761Z] 861ffc35075e: Pulling fs layer [2022-01-25T19:20:13.761Z] 4b385c91608e: Pulling fs layer [2022-01-25T19:20:13.761Z] 560528eb2ebb: Pulling fs layer [2022-01-25T19:20:13.761Z] 22a0e8bec74d: Waiting [2022-01-25T19:20:13.761Z] f965cba54748: Waiting [2022-01-25T19:20:13.761Z] 861ffc35075e: Waiting [2022-01-25T19:20:13.761Z] 4b385c91608e: Waiting [2022-01-25T19:20:13.761Z] 560528eb2ebb: Waiting [2022-01-25T19:20:13.761Z] 4fe6c5a15a65: Waiting [2022-01-25T19:20:14.029Z] 8ed8ca486205: Verifying Checksum [2022-01-25T19:20:14.029Z] 8ed8ca486205: Download complete [2022-01-25T19:20:14.029Z] 666ba61612fd: Verifying Checksum [2022-01-25T19:20:14.029Z] 666ba61612fd: Download complete [2022-01-25T19:20:14.029Z] 22a0e8bec74d: Verifying Checksum [2022-01-25T19:20:14.029Z] 22a0e8bec74d: Download complete [2022-01-25T19:20:14.029Z] f965cba54748: Verifying Checksum [2022-01-25T19:20:14.029Z] f965cba54748: Download complete [2022-01-25T19:20:14.029Z] 59bf1c3509f3: Verifying Checksum [2022-01-25T19:20:14.029Z] 59bf1c3509f3: Download complete [2022-01-25T19:20:14.029Z] 861ffc35075e: Verifying Checksum [2022-01-25T19:20:14.029Z] 861ffc35075e: Download complete [2022-01-25T19:20:14.029Z] 4b385c91608e: Verifying Checksum [2022-01-25T19:20:14.029Z] 4b385c91608e: Download complete [2022-01-25T19:20:14.299Z] 59bf1c3509f3: Pull complete [2022-01-25T19:20:14.567Z] 666ba61612fd: Pull complete [2022-01-25T19:20:14.567Z] 4fe6c5a15a65: Verifying Checksum [2022-01-25T19:20:14.567Z] 4fe6c5a15a65: Download complete [2022-01-25T19:20:14.567Z] 8ed8ca486205: Pull complete [2022-01-25T19:20:14.829Z] 560528eb2ebb: Verifying Checksum [2022-01-25T19:20:14.829Z] 560528eb2ebb: Download complete [2022-01-25T19:20:19.053Z] 4fe6c5a15a65: Pull complete [2022-01-25T19:20:19.053Z] 22a0e8bec74d: Pull complete [2022-01-25T19:20:19.053Z] f965cba54748: Pull complete [2022-01-25T19:20:19.053Z] 861ffc35075e: Pull complete [2022-01-25T19:20:19.053Z] 4b385c91608e: Pull complete [2022-01-25T19:20:20.990Z] 560528eb2ebb: Pull complete [2022-01-25T19:20:20.990Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-25T19:20:20.990Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-25T19:20:20.990Z] ---> dd4a08f94e63 [2022-01-25T19:20:20.990Z] Step 3/11 : ARG MAKE=make build [2022-01-25T19:20:22.900Z] ---> Running in cd55770aaf63 [2022-01-25T19:20:22.900Z] Removing intermediate container cd55770aaf63 [2022-01-25T19:20:22.900Z] ---> 9b009f80c317 [2022-01-25T19:20:22.900Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-25T19:20:22.900Z] ---> Running in 3fb84c07c7ca [2022-01-25T19:20:22.900Z] Removing intermediate container 3fb84c07c7ca [2022-01-25T19:20:22.900Z] ---> 1aa7c3e04172 [2022-01-25T19:20:22.900Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:20:22.900Z] ---> Running in 672931e04426 [2022-01-25T19:20:22.900Z] Removing intermediate container 672931e04426 [2022-01-25T19:20:22.900Z] ---> 9e8de336aea1 [2022-01-25T19:20:22.900Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:20:22.900Z] ---> Running in a4b85db9308b [2022-01-25T19:20:23.160Z] Removing intermediate container a4b85db9308b [2022-01-25T19:20:23.160Z] ---> 897dca83f980 [2022-01-25T19:20:23.160Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T19:20:23.420Z] ---> Running in 98adf670b32c [2022-01-25T19:20:23.681Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-25T19:20:24.252Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-25T19:20:24.826Z] OK: 221 MiB in 52 packages [2022-01-25T19:20:24.826Z] Removing intermediate container 98adf670b32c [2022-01-25T19:20:24.826Z] ---> aa8fa74ce8fa [2022-01-25T19:20:24.826Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-25T19:20:25.088Z] ---> b553949c16ea [2022-01-25T19:20:25.088Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T19:20:25.088Z] ---> Running in f6cc8b6eec35 [2022-01-25T19:20:27.207Z] Still waiting to schedule task [2022-01-25T19:20:27.207Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3869’ [2022-01-25T19:20:52.442Z] Removing intermediate container f6cc8b6eec35 [2022-01-25T19:20:52.442Z] ---> 7c5fddfa38a6 [2022-01-25T19:20:52.442Z] Step 10/11 : COPY . . [2022-01-25T19:20:52.442Z] ---> 1171feba2cab [2022-01-25T19:20:52.442Z] Step 11/11 : RUN ${MAKE} [2022-01-25T19:20:52.442Z] ---> Running in 209dc09b8668 [2022-01-25T19:20:52.704Z] noop [2022-01-25T19:20:52.704Z] Removing intermediate container 209dc09b8668 [2022-01-25T19:20:52.704Z] ---> 526ad9aa15c0 [2022-01-25T19:20:52.704Z] Successfully built 526ad9aa15c0 [2022-01-25T19:20:52.704Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:20:53.007Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-25T19:20:53.007Z] . [Pipeline] withDockerContainer [2022-01-25T19:20:53.075Z] prd-centos7-docker-4c-2g-3870 does not seem to be running inside a container [2022-01-25T19:20:53.109Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@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 ******** -e ******** ci-base-image-x86_64 cat [2022-01-25T19:20:53.458Z] $ docker top abf287ec5778c6578274cd035af413316d3068d843206db39a23420bd3722d46 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-25T19:20:53.818Z] + go version [2022-01-25T19:20:53.818Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-25T19:20:53.830Z] $ docker stop --time=1 abf287ec5778c6578274cd035af413316d3068d843206db39a23420bd3722d46 [2022-01-25T19:20:54.997Z] $ docker rm -f abf287ec5778c6578274cd035af413316d3068d843206db39a23420bd3722d46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:20:55.409Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-25T19:20:55.409Z] . [Pipeline] withDockerContainer [2022-01-25T19:20:55.474Z] prd-centos7-docker-4c-2g-3870 does not seem to be running inside a container [2022-01-25T19:20:55.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@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 ******** -e ******** ci-base-image-x86_64 cat [2022-01-25T19:20:55.856Z] $ docker top 78f74a4055e0026a987a8e6c9fc91d60d82cc642e28b74f57d86546a97d83841 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-25T19:20:56.218Z] + make test [2022-01-25T19:20:56.218Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-25T19:20:56.476Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-25T19:21:11.545Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-25T19:21:11.545Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-25T19:21:11.545Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-25T19:21:11.545Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.010s coverage: 23.3% of statements [2022-01-25T19:21:11.545Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-25T19:21:11.545Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.007s coverage: 27.6% of statements [2022-01-25T19:21:11.545Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.010s coverage: 78.9% of statements [2022-01-25T19:21:11.814Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.014s coverage: 9.0% of statements [2022-01-25T19:21:11.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-25T19:21:11.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-25T19:21:11.814Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-25T19:21:12.399Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.025s coverage: 28.7% of statements [2022-01-25T19:21:12.399Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-25T19:21:13.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.015s coverage: 86.1% of statements [2022-01-25T19:21:13.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-25T19:21:13.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-25T19:21:13.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.018s coverage: 57.4% of statements [2022-01-25T19:21:13.795Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.029s coverage: 89.2% of statements [2022-01-25T19:21:13.795Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-25T19:21:14.055Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.008s coverage: 4.8% of statements [2022-01-25T19:21:14.055Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-25T19:21:26.365Z] GO111MODULE=on go vet ./... [2022-01-25T19:21:29.703Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-25T19:21:29.962Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-25T19:21:29.962Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-25T19:21:30.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-25T19:21:30.246Z] $ docker stop --time=1 78f74a4055e0026a987a8e6c9fc91d60d82cc642e28b74f57d86546a97d83841 [2022-01-25T19:21:31.668Z] $ docker rm -f 78f74a4055e0026a987a8e6c9fc91d60d82cc642e28b74f57d86546a97d83841 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-25T19:21:32.131Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-25T19:21:32.202Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-25T19:21:32.769Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-25T19:21:33.056Z] + ls -al . [2022-01-25T19:21:33.056Z] total 268 [2022-01-25T19:21:33.056Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 25 19:21 . [2022-01-25T19:21:33.056Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 25 19:19 .. [2022-01-25T19:21:33.056Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 25 19:19 bin [2022-01-25T19:21:33.056Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 25 19:19 CHANGELOG.md [2022-01-25T19:21:33.056Z] -rw-r--r--. 1 jenkins jenkins 128608 Jan 25 19:21 coverage.out [2022-01-25T19:21:33.056Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 25 19:19 .dockerignore [2022-01-25T19:21:33.056Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 25 19:19 example [2022-01-25T19:21:33.056Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 25 19:19 .git [2022-01-25T19:21:33.056Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 25 19:19 .github [2022-01-25T19:21:33.056Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 25 19:19 .gitignore [2022-01-25T19:21:33.056Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 25 19:19 .golangci.yml [2022-01-25T19:21:33.056Z] -rw-rw-r--. 1 jenkins jenkins 2760 Jan 25 19:19 go.mod [2022-01-25T19:21:33.056Z] -rw-rw-r--. 1 jenkins jenkins 48958 Jan 25 19:19 go.sum [2022-01-25T19:21:33.056Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 25 19:19 GOVERNANCE.md [2022-01-25T19:21:33.056Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 25 19:19 internal [2022-01-25T19:21:33.056Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 25 19:19 Jenkinsfile [2022-01-25T19:21:33.056Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 25 19:19 LICENSE [2022-01-25T19:21:33.056Z] -rw-rw-r--. 1 jenkins jenkins 1614 Jan 25 19:19 Makefile [2022-01-25T19:21:33.056Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 25 19:19 openapi [2022-01-25T19:21:33.056Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 25 19:19 OWNERS.md [2022-01-25T19:21:33.056Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 25 19:19 pkg [2022-01-25T19:21:33.056Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 25 19:19 README.md [2022-01-25T19:21:33.056Z] drwx------. 3 jenkins jenkins 72 Jan 25 19:20 .semver [2022-01-25T19:21:33.056Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 25 19:19 snap [2022-01-25T19:21:33.056Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 25 19:20 VERSION [2022-01-25T19:21:33.056Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 25 19:19 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:21:33.359Z] + 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=5d34f0638f0d32131804c081e244c7718c70a8ef --label arch=amd64 --label version=0.0.0 . [2022-01-25T19:21:33.359Z] Sending build context to Docker daemon 9.516MB [2022-01-25T19:21:33.359Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-25T19:21:33.359Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-25T19:21:33.359Z] ---> 526ad9aa15c0 [2022-01-25T19:21:33.359Z] Step 3/25 : ARG MAKE=make build [2022-01-25T19:21:33.359Z] ---> Running in 672b00d4db28 [2022-01-25T19:21:33.623Z] Removing intermediate container 672b00d4db28 [2022-01-25T19:21:33.623Z] ---> e0f55960b2b6 [2022-01-25T19:21:33.623Z] Step 4/25 : WORKDIR /device-sdk-go [2022-01-25T19:21:33.623Z] ---> Running in 59fdbd16e762 [2022-01-25T19:21:33.623Z] Removing intermediate container 59fdbd16e762 [2022-01-25T19:21:33.623Z] ---> 1a5573b35631 [2022-01-25T19:21:33.623Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:21:33.623Z] ---> Running in a217b1efee4f [2022-01-25T19:21:33.882Z] Removing intermediate container a217b1efee4f [2022-01-25T19:21:33.882Z] ---> 577e3f5f9a1e [2022-01-25T19:21:33.882Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:21:33.882Z] ---> Running in da0a37472f78 [2022-01-25T19:21:34.143Z] Removing intermediate container da0a37472f78 [2022-01-25T19:21:34.143Z] ---> ec7f3db6b550 [2022-01-25T19:21:34.143Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T19:21:34.143Z] ---> Running in e7f3f6124244 [2022-01-25T19:21:34.407Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-25T19:21:35.346Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-25T19:21:35.608Z] OK: 221 MiB in 52 packages [2022-01-25T19:21:35.872Z] Removing intermediate container e7f3f6124244 [2022-01-25T19:21:35.872Z] ---> b68d3b1271fe [2022-01-25T19:21:35.872Z] Step 8/25 : COPY go.mod vendor* ./ [2022-01-25T19:21:36.135Z] ---> c3d532900657 [2022-01-25T19:21:36.135Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T19:21:36.135Z] ---> Running in bb3cf82126ca [2022-01-25T19:21:36.725Z] Removing intermediate container bb3cf82126ca [2022-01-25T19:21:36.725Z] ---> 4ab75af8885b [2022-01-25T19:21:36.725Z] Step 10/25 : COPY . . [2022-01-25T19:21:36.986Z] ---> 4517080679a5 [2022-01-25T19:21:36.986Z] Step 11/25 : RUN ${MAKE} [2022-01-25T19:21:36.986Z] ---> Running in 61c0af91606b [2022-01-25T19:21:37.246Z] 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 [2022-01-25T19:21:49.533Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-25T19:21:49.533Z] Removing intermediate container 61c0af91606b [2022-01-25T19:21:49.533Z] ---> 9e4c4a1dfae8 [2022-01-25T19:21:49.533Z] Step 12/25 : FROM alpine:3.14 [2022-01-25T19:21:49.533Z] 3.14: Pulling from library/alpine [2022-01-25T19:21:49.533Z] 97518928ae5f: Pulling fs layer [2022-01-25T19:21:49.794Z] 97518928ae5f: Verifying Checksum [2022-01-25T19:21:49.794Z] 97518928ae5f: Download complete [2022-01-25T19:21:50.058Z] 97518928ae5f: Pull complete [2022-01-25T19:21:50.058Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-25T19:21:50.058Z] Status: Downloaded newer image for alpine:3.14 [2022-01-25T19:21:50.058Z] ---> 0a97eee8041e [2022-01-25T19:21:50.058Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:21:50.058Z] ---> Running in 6e63b51febdd [2022-01-25T19:21:50.058Z] Removing intermediate container 6e63b51febdd [2022-01-25T19:21:50.058Z] ---> b4e59a01584e [2022-01-25T19:21:50.058Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:21:50.058Z] ---> Running in 35e121cb3770 [2022-01-25T19:21:50.645Z] Removing intermediate container 35e121cb3770 [2022-01-25T19:21:50.645Z] ---> 99fad8a6bc27 [2022-01-25T19:21:50.645Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-01-25T19:21:50.645Z] ---> Running in 75a63cba03a2 [2022-01-25T19:21:50.909Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-25T19:21:51.480Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-25T19:21:52.053Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-25T19:21:52.053Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-25T19:21:52.053Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-25T19:21:52.315Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-25T19:21:52.315Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-25T19:21:52.315Z] Executing busybox-1.33.1-r6.trigger [2022-01-25T19:21:52.315Z] OK: 8 MiB in 19 packages [2022-01-25T19:21:52.576Z] Removing intermediate container 75a63cba03a2 [2022-01-25T19:21:52.576Z] ---> dee1dfcf01e5 [2022-01-25T19:21:52.576Z] Step 16/25 : WORKDIR / [2022-01-25T19:21:52.576Z] ---> Running in 471d943fe24e [2022-01-25T19:21:52.839Z] Removing intermediate container 471d943fe24e [2022-01-25T19:21:52.839Z] ---> 7a7bef8e42a0 [2022-01-25T19:21:52.839Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-25T19:21:52.839Z] ---> 02db92075680 [2022-01-25T19:21:52.839Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-25T19:21:53.412Z] ---> 5f4b80837567 [2022-01-25T19:21:53.412Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-25T19:21:53.412Z] ---> a20d75a374f1 [2022-01-25T19:21:53.412Z] Step 20/25 : EXPOSE 59999 [2022-01-25T19:21:53.412Z] ---> Running in b7552f103e1e [2022-01-25T19:21:53.412Z] Removing intermediate container b7552f103e1e [2022-01-25T19:21:53.412Z] ---> f6e535eaed8c [2022-01-25T19:21:53.412Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-01-25T19:21:53.685Z] ---> Running in 0ff9e6a25c87 [2022-01-25T19:21:53.685Z] Removing intermediate container 0ff9e6a25c87 [2022-01-25T19:21:53.685Z] ---> fbf93f0cc95c [2022-01-25T19:21:53.685Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-25T19:21:53.685Z] ---> Running in 063aa6ca8343 [2022-01-25T19:21:53.685Z] Removing intermediate container 063aa6ca8343 [2022-01-25T19:21:53.685Z] ---> d859b1f8d3df [2022-01-25T19:21:53.685Z] Step 23/25 : LABEL arch=amd64 [2022-01-25T19:21:53.685Z] ---> Running in 548be47d5484 [2022-01-25T19:21:53.946Z] Removing intermediate container 548be47d5484 [2022-01-25T19:21:53.946Z] ---> 46ffe4ed72a6 [2022-01-25T19:21:53.946Z] Step 24/25 : LABEL git_sha=5d34f0638f0d32131804c081e244c7718c70a8ef [2022-01-25T19:21:53.946Z] ---> Running in 59f228291d30 [2022-01-25T19:21:53.946Z] Removing intermediate container 59f228291d30 [2022-01-25T19:21:53.946Z] ---> 18a6da4b751b [2022-01-25T19:21:53.946Z] Step 25/25 : LABEL version=0.0.0 [2022-01-25T19:21:53.946Z] ---> Running in d88113c1252a [2022-01-25T19:21:53.946Z] Removing intermediate container d88113c1252a [2022-01-25T19:21:53.946Z] ---> 504df78912cb [2022-01-25T19:21:53.946Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-25T19:21:53.946Z] Successfully built 504df78912cb [2022-01-25T19:21:53.946Z] 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 [2022-01-25T19:21:54.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T19:21:54.345Z] [2022-01-25T19:21:54.345Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:21:54.645Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T19:21:54.645Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-25T19:21:54.645Z] b4d181a07f80: Pulling fs layer [2022-01-25T19:21:54.645Z] a1111a8f2ec3: Pulling fs layer [2022-01-25T19:21:54.645Z] ed53099fbce6: Pulling fs layer [2022-01-25T19:21:54.645Z] dc539afda2c1: Pulling fs layer [2022-01-25T19:21:54.645Z] 77bc0d833cb6: Pulling fs layer [2022-01-25T19:21:54.645Z] 9065ff56babe: Pulling fs layer [2022-01-25T19:21:54.645Z] d287ab97295c: Pulling fs layer [2022-01-25T19:21:54.646Z] dc539afda2c1: Waiting [2022-01-25T19:21:54.646Z] 77bc0d833cb6: Waiting [2022-01-25T19:21:54.646Z] 9065ff56babe: Waiting [2022-01-25T19:21:54.646Z] d287ab97295c: Waiting [2022-01-25T19:21:54.646Z] a1111a8f2ec3: Verifying Checksum [2022-01-25T19:21:54.646Z] a1111a8f2ec3: Download complete [2022-01-25T19:21:54.646Z] dc539afda2c1: Verifying Checksum [2022-01-25T19:21:54.646Z] dc539afda2c1: Download complete [2022-01-25T19:21:54.646Z] ed53099fbce6: Verifying Checksum [2022-01-25T19:21:54.646Z] ed53099fbce6: Download complete [2022-01-25T19:21:54.915Z] 9065ff56babe: Verifying Checksum [2022-01-25T19:21:54.915Z] 9065ff56babe: Download complete [2022-01-25T19:21:54.915Z] 77bc0d833cb6: Verifying Checksum [2022-01-25T19:21:54.915Z] 77bc0d833cb6: Download complete [2022-01-25T19:21:54.915Z] b4d181a07f80: Verifying Checksum [2022-01-25T19:21:54.915Z] b4d181a07f80: Download complete [2022-01-25T19:21:55.504Z] d287ab97295c: Verifying Checksum [2022-01-25T19:21:55.504Z] d287ab97295c: Download complete [2022-01-25T19:21:56.443Z] b4d181a07f80: Pull complete [2022-01-25T19:21:56.443Z] a1111a8f2ec3: Pull complete [2022-01-25T19:21:57.025Z] ed53099fbce6: Pull complete [2022-01-25T19:21:57.025Z] dc539afda2c1: Pull complete [2022-01-25T19:21:57.287Z] 77bc0d833cb6: Pull complete [2022-01-25T19:21:57.287Z] 9065ff56babe: Pull complete [2022-01-25T19:22:02.606Z] d287ab97295c: Pull complete [2022-01-25T19:22:02.606Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-25T19:22:02.606Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T19:22:02.606Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-25T19:22:02.675Z] prd-centos7-docker-4c-2g-3870 does not seem to be running inside a container [2022-01-25T19:22:02.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-25T19:22:05.159Z] $ docker top 50a93863821dbcf770aed67c556b86d8f24d5f3322f8617cc8123549f64b4df8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:22:05.550Z] ---> job-cost.sh [2022-01-25T19:22:05.550Z] lf-activate-venv: SKIPPING [2022-01-25T19:22:05.550Z] INFO: No Stack... [2022-01-25T19:22:05.810Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-25T19:22:06.390Z] INFO: Archiving Costs [Pipeline] sh [2022-01-25T19:22:06.685Z] + cut -d, -f6 [2022-01-25T19:22:06.686Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives/cost.csv [Pipeline] lock [2022-01-25T19:22:06.704Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1084-6-stack-cost] [2022-01-25T19:22:06.716Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-6-stack-cost] did not exist. Created. [2022-01-25T19:22:06.716Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1084-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-25T19:22:07.021Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-25T19:22:07.070Z] Stashed 1 file(s) [Pipeline] } [2022-01-25T19:22:07.079Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-25T19:22:07.098Z] $ docker stop --time=1 50a93863821dbcf770aed67c556b86d8f24d5f3322f8617cc8123549f64b4df8 [2022-01-25T19:22:08.241Z] $ docker rm -f 50a93863821dbcf770aed67c556b86d8f24d5f3322f8617cc8123549f64b4df8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-25T19:22:41.386Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3871 in /w/workspace/gexfoundry_device-sdk-go_PR-1084 [Pipeline] { [Pipeline] ws [2022-01-25T19:22:41.402Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2022-01-25T19:22:41.615Z] The recommended git tool is: git [2022-01-25T19:22:46.071Z] using credential edgex-jenkins-ssh [2022-01-25T19:22:46.092Z] Cloning the remote Git repository [2022-01-25T19:22:46.154Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-25T19:22:46.233Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2022-01-25T19:22:46.336Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-25T19:22:46.337Z] > git --version # timeout=10 [2022-01-25T19:22:46.360Z] > git --version # 'git version 2.17.1' [2022-01-25T19:22:46.361Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-25T19:22:46.467Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-25T19:22:48.789Z] Merging remotes/origin/main commit 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 into PR head commit 5d34f0638f0d32131804c081e244c7718c70a8ef [2022-01-25T19:22:48.026Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-25T19:22:48.041Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-25T19:22:48.068Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-25T19:22:48.099Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-25T19:22:48.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-25T19:22:48.116Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1084/head:refs/remotes/origin/PR-1084 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-25T19:22:48.811Z] > git config core.sparsecheckout # timeout=10 [2022-01-25T19:22:48.833Z] > git checkout -f 5d34f0638f0d32131804c081e244c7718c70a8ef # timeout=10 [2022-01-25T19:22:48.934Z] > git remote # timeout=10 [2022-01-25T19:22:48.950Z] > git config --get remote.origin.url # timeout=10 [2022-01-25T19:22:48.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-25T19:22:48.975Z] > git merge 9af29abc9c3fa869eef6cc3bd3f0ec5ef92b1df0 # timeout=10 [2022-01-25T19:22:49.009Z] Merge succeeded, producing 5d34f0638f0d32131804c081e244c7718c70a8ef [2022-01-25T19:22:49.010Z] Checking out Revision 5d34f0638f0d32131804c081e244c7718c70a8ef (PR-1084) [2022-01-25T19:22:48.997Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-25T19:22:49.018Z] > git config core.sparsecheckout # timeout=10 [2022-01-25T19:22:49.034Z] > git checkout -f 5d34f0638f0d32131804c081e244c7718c70a8ef # timeout=10 [2022-01-25T19:22:53.189Z] Commit message: "Merge branch 'main' into go-1_17-dockerfile-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-25T19:22:54.152Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-25T19:22:54.152Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-25T19:22:54.152Z] Dload Upload Total Spent Left Speed [2022-01-25T19:22:54.152Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 210k [Pipeline] sh [2022-01-25T19:22:54.816Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-25T19:22:55.165Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-25T19:22:55.165Z] + sudo tee /etc/docker/daemon.new [2022-01-25T19:22:55.165Z] { [2022-01-25T19:22:55.165Z] "registry-mirrors": [ [2022-01-25T19:22:55.165Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-25T19:22:55.165Z] ], [2022-01-25T19:22:55.165Z] "bip": "10.250.0.254/24", [2022-01-25T19:22:55.165Z] "hosts": [ [2022-01-25T19:22:55.165Z] "tcp://0.0.0.0:5555", [2022-01-25T19:22:55.165Z] "unix:///var/run/docker.sock" [2022-01-25T19:22:55.165Z] ], [2022-01-25T19:22:55.165Z] "mtu": 1458, [2022-01-25T19:22:55.165Z] "selinux-enabled": true, [2022-01-25T19:22:55.165Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-25T19:22:55.165Z] } [Pipeline] sh [2022-01-25T19:22:55.517Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-25T19:22:55.850Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:23:14.162Z] provisioning config files... [2022-01-25T19:23:14.185Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config3236575030565314510tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:23:14.541Z] ---> docker-login.sh [2022-01-25T19:23:14.541Z] nexus3.edgexfoundry.org:10001 [2022-01-25T19:23:15.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:23:15.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:23:15.409Z] Configure a credential helper to remove this warning. See [2022-01-25T19:23:15.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:23:15.409Z] [2022-01-25T19:23:15.409Z] Login Succeeded [2022-01-25T19:23:15.409Z] nexus3.edgexfoundry.org:10002 [2022-01-25T19:23:15.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:23:15.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:23:15.683Z] Configure a credential helper to remove this warning. See [2022-01-25T19:23:15.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:23:15.683Z] [2022-01-25T19:23:15.683Z] Login Succeeded [2022-01-25T19:23:15.683Z] nexus3.edgexfoundry.org:10003 [2022-01-25T19:23:15.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:23:16.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:23:16.227Z] Configure a credential helper to remove this warning. See [2022-01-25T19:23:16.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:23:16.227Z] [2022-01-25T19:23:16.227Z] Login Succeeded [2022-01-25T19:23:16.227Z] nexus3.edgexfoundry.org:10004 [2022-01-25T19:23:16.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:23:16.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:23:16.501Z] Configure a credential helper to remove this warning. See [2022-01-25T19:23:16.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:23:16.501Z] [2022-01-25T19:23:16.501Z] Login Succeeded [2022-01-25T19:23:16.501Z] docker.io [2022-01-25T19:23:16.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-25T19:23:17.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-25T19:23:17.371Z] Configure a credential helper to remove this warning. See [2022-01-25T19:23:17.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-25T19:23:17.371Z] [2022-01-25T19:23:17.371Z] Login Succeeded [2022-01-25T19:23:17.371Z] ---> docker-login.sh ends [Pipeline] } [2022-01-25T19:23:17.388Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-25T19:23:17.899Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-25T19:23:17.916Z] ========================================================= [2022-01-25T19:23:17.916Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-25T19:23:17.916Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:23:18.266Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-25T19:23:18.864Z] Sending build context to Docker daemon 5.082MB [2022-01-25T19:23:18.864Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-25T19:23:18.864Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-25T19:23:18.864Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-25T19:23:18.864Z] 9b3977197b4f: Pulling fs layer [2022-01-25T19:23:18.864Z] 1a89e8eeedd5: Pulling fs layer [2022-01-25T19:23:18.864Z] 94645a83ff95: Pulling fs layer [2022-01-25T19:23:18.864Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-25T19:23:18.864Z] 0c92f367c5e7: Pulling fs layer [2022-01-25T19:23:18.864Z] 4b8299f9d1f4: Pulling fs layer [2022-01-25T19:23:18.864Z] 9a6b49a46696: Pulling fs layer [2022-01-25T19:23:18.864Z] cf05db05a679: Pulling fs layer [2022-01-25T19:23:18.864Z] 3f3a8bcf1eab: Waiting [2022-01-25T19:23:18.864Z] 0c92f367c5e7: Waiting [2022-01-25T19:23:18.864Z] 4b8299f9d1f4: Waiting [2022-01-25T19:23:18.864Z] 9a6b49a46696: Waiting [2022-01-25T19:23:18.864Z] cf05db05a679: Waiting [2022-01-25T19:23:18.864Z] 94645a83ff95: Download complete [2022-01-25T19:23:18.864Z] 1a89e8eeedd5: Verifying Checksum [2022-01-25T19:23:18.864Z] 1a89e8eeedd5: Download complete [2022-01-25T19:23:18.864Z] 0c92f367c5e7: Verifying Checksum [2022-01-25T19:23:18.864Z] 0c92f367c5e7: Download complete [2022-01-25T19:23:18.864Z] 4b8299f9d1f4: Verifying Checksum [2022-01-25T19:23:18.864Z] 4b8299f9d1f4: Download complete [2022-01-25T19:23:18.864Z] 9b3977197b4f: Verifying Checksum [2022-01-25T19:23:18.864Z] 9b3977197b4f: Download complete [2022-01-25T19:23:18.864Z] 9a6b49a46696: Verifying Checksum [2022-01-25T19:23:18.864Z] 9a6b49a46696: Download complete [2022-01-25T19:23:19.866Z] 9b3977197b4f: Pull complete [2022-01-25T19:23:20.467Z] 1a89e8eeedd5: Pull complete [2022-01-25T19:23:20.743Z] 94645a83ff95: Pull complete [2022-01-25T19:23:20.744Z] cf05db05a679: Verifying Checksum [2022-01-25T19:23:20.744Z] cf05db05a679: Download complete [2022-01-25T19:23:21.342Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-25T19:23:21.342Z] 3f3a8bcf1eab: Download complete [2022-01-25T19:23:33.728Z] 3f3a8bcf1eab: Pull complete [2022-01-25T19:23:33.728Z] 0c92f367c5e7: Pull complete [2022-01-25T19:23:33.728Z] 4b8299f9d1f4: Pull complete [2022-01-25T19:23:33.728Z] 9a6b49a46696: Pull complete [2022-01-25T19:23:39.131Z] cf05db05a679: Pull complete [2022-01-25T19:23:39.131Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-25T19:23:39.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-25T19:23:39.131Z] ---> 0ccda1f7e2ee [2022-01-25T19:23:39.131Z] Step 3/11 : ARG MAKE=make build [2022-01-25T19:23:40.569Z] ---> Running in 8f25644be731 [2022-01-25T19:23:41.172Z] Removing intermediate container 8f25644be731 [2022-01-25T19:23:41.172Z] ---> 5f76695e0a7b [2022-01-25T19:23:41.172Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-25T19:23:41.172Z] ---> Running in 03d8c3f000f6 [2022-01-25T19:23:41.445Z] Removing intermediate container 03d8c3f000f6 [2022-01-25T19:23:41.445Z] ---> 548f1f45bbdc [2022-01-25T19:23:41.445Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:23:41.717Z] ---> Running in aaae5d55dff1 [2022-01-25T19:23:41.994Z] Removing intermediate container aaae5d55dff1 [2022-01-25T19:23:41.994Z] ---> a31f957a3583 [2022-01-25T19:23:41.994Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:23:41.994Z] ---> Running in d46ee0b8c59b [2022-01-25T19:23:43.967Z] Removing intermediate container d46ee0b8c59b [2022-01-25T19:23:43.967Z] ---> 0f7974f27e52 [2022-01-25T19:23:43.967Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T19:23:43.967Z] ---> Running in 0fd02ac449a0 [2022-01-25T19:23:44.945Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-25T19:23:45.920Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-25T19:23:46.900Z] OK: 220 MiB in 52 packages [2022-01-25T19:23:47.503Z] Removing intermediate container 0fd02ac449a0 [2022-01-25T19:23:47.503Z] ---> cb0d50e18501 [2022-01-25T19:23:47.503Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-25T19:23:48.109Z] ---> 58a182612dc1 [2022-01-25T19:23:48.109Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T19:23:48.394Z] ---> Running in 91d1b58ea7bc [2022-01-25T19:25:10.213Z] Removing intermediate container 91d1b58ea7bc [2022-01-25T19:25:10.213Z] ---> b2aefeebe6f0 [2022-01-25T19:25:10.213Z] Step 10/11 : COPY . . [2022-01-25T19:25:10.213Z] ---> a441cee0bff0 [2022-01-25T19:25:10.213Z] Step 11/11 : RUN ${MAKE} [2022-01-25T19:25:10.213Z] ---> Running in 0d7e19ee9103 [2022-01-25T19:25:10.213Z] noop [2022-01-25T19:25:10.213Z] Removing intermediate container 0d7e19ee9103 [2022-01-25T19:25:10.213Z] ---> 2471cda8986e [2022-01-25T19:25:10.213Z] Successfully built 2471cda8986e [2022-01-25T19:25:10.213Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:25:10.557Z] + docker inspect -f . ci-base-image-arm64 [2022-01-25T19:25:10.557Z] . [Pipeline] withDockerContainer [2022-01-25T19:25:10.765Z] prd-ubuntu18.04-docker-arm64-4c-16g-3871 does not seem to be running inside a container [2022-01-25T19:25:10.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-25T19:25:12.228Z] $ docker top bc387a553d00794c187431a6fc57e41c7575fc7f5129e1183413b1f74c2dd701 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-25T19:25:13.113Z] + go version [2022-01-25T19:25:13.113Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-25T19:25:13.137Z] $ docker stop --time=1 bc387a553d00794c187431a6fc57e41c7575fc7f5129e1183413b1f74c2dd701 [2022-01-25T19:25:14.787Z] $ docker rm -f bc387a553d00794c187431a6fc57e41c7575fc7f5129e1183413b1f74c2dd701 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:25:15.381Z] + docker inspect -f . ci-base-image-arm64 [2022-01-25T19:25:15.381Z] . [Pipeline] withDockerContainer [2022-01-25T19:25:15.603Z] prd-ubuntu18.04-docker-arm64-4c-16g-3871 does not seem to be running inside a container [2022-01-25T19:25:15.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-25T19:25:17.013Z] $ docker top b56a49b5bbbf0c981c8b10ae21f03427885bbb97c0b2ecded32439ad19760e0b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-25T19:25:17.946Z] + make test [2022-01-25T19:25:17.947Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-25T19:25:19.392Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-25T19:26:06.417Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-25T19:26:06.418Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-25T19:26:06.418Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-25T19:26:14.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.088s coverage: 23.3% of statements [2022-01-25T19:26:14.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-25T19:26:14.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements [2022-01-25T19:26:14.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.113s coverage: 78.9% of statements [2022-01-25T19:26:14.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.047s coverage: 9.0% of statements [2022-01-25T19:26:14.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-25T19:26:14.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-25T19:26:14.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-25T19:26:14.726Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.103s coverage: 28.7% of statements [2022-01-25T19:26:14.726Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-25T19:26:16.725Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.078s coverage: 86.1% of statements [2022-01-25T19:26:16.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-25T19:26:16.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-25T19:26:16.725Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.091s coverage: 57.4% of statements [2022-01-25T19:26:16.725Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.170s coverage: 89.2% of statements [2022-01-25T19:26:16.725Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-25T19:26:18.171Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.046s coverage: 4.8% of statements [2022-01-25T19:26:18.171Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-25T19:26:18.443Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-25T19:26:18.443Z] GO111MODULE=on go vet ./... [2022-01-25T19:26:36.756Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-25T19:26:36.757Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-25T19:26:37.029Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-25T19:26:39.023Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-25T19:26:39.036Z] $ docker stop --time=1 b56a49b5bbbf0c981c8b10ae21f03427885bbb97c0b2ecded32439ad19760e0b [2022-01-25T19:26:40.727Z] $ docker rm -f b56a49b5bbbf0c981c8b10ae21f03427885bbb97c0b2ecded32439ad19760e0b [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-25T19:26:41.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-25T19:26:41.531Z] Warning: overwriting stash ‘coverage-report’ [2022-01-25T19:26:42.044Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-25T19:26:42.425Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-25T19:26:42.747Z] + ls -al . [2022-01-25T19:26:42.747Z] total 304 [2022-01-25T19:26:42.747Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 19:26 . [2022-01-25T19:26:42.747Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 19:22 .. [2022-01-25T19:26:42.747Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 19:22 .dockerignore [2022-01-25T19:26:42.747Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 19:22 .git [2022-01-25T19:26:42.747Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 19:22 .github [2022-01-25T19:26:42.747Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 25 19:22 .gitignore [2022-01-25T19:26:42.747Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 25 19:22 .golangci.yml [2022-01-25T19:26:42.747Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 25 19:22 CHANGELOG.md [2022-01-25T19:26:42.747Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 19:22 GOVERNANCE.md [2022-01-25T19:26:42.747Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 25 19:22 Jenkinsfile [2022-01-25T19:26:42.747Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 25 19:22 LICENSE [2022-01-25T19:26:42.747Z] -rw-rw-r-- 1 jenkins jenkins 1614 Jan 25 19:22 Makefile [2022-01-25T19:26:42.747Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 25 19:22 OWNERS.md [2022-01-25T19:26:42.747Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 25 19:22 README.md [2022-01-25T19:26:42.747Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 19:20 VERSION [2022-01-25T19:26:42.747Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 19:22 bin [2022-01-25T19:26:42.747Z] -rw-r--r-- 1 jenkins jenkins 128608 Jan 25 19:26 coverage.out [2022-01-25T19:26:42.747Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 19:22 example [2022-01-25T19:26:42.747Z] -rw-rw-r-- 1 jenkins jenkins 2760 Jan 25 19:22 go.mod [2022-01-25T19:26:42.747Z] -rw-rw-r-- 1 jenkins jenkins 48958 Jan 25 19:22 go.sum [2022-01-25T19:26:42.747Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 25 19:22 internal [2022-01-25T19:26:42.747Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 19:22 openapi [2022-01-25T19:26:42.747Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 19:22 pkg [2022-01-25T19:26:42.747Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 19:22 snap [2022-01-25T19:26:42.747Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 25 19:22 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:26:43.073Z] + 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=5d34f0638f0d32131804c081e244c7718c70a8ef --label arch=arm64 --label version=0.0.0 . [2022-01-25T19:26:43.344Z] Sending build context to Docker daemon 5.212MB [2022-01-25T19:26:43.613Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-25T19:26:43.614Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-25T19:26:43.614Z] ---> 2471cda8986e [2022-01-25T19:26:43.614Z] Step 3/25 : ARG MAKE=make build [2022-01-25T19:26:43.614Z] ---> Running in c8e3624c5fae [2022-01-25T19:26:43.886Z] Removing intermediate container c8e3624c5fae [2022-01-25T19:26:43.886Z] ---> 6e97d66ddd17 [2022-01-25T19:26:43.886Z] Step 4/25 : WORKDIR /device-sdk-go [2022-01-25T19:26:44.158Z] ---> Running in b56bde01bcda [2022-01-25T19:26:44.429Z] Removing intermediate container b56bde01bcda [2022-01-25T19:26:44.429Z] ---> c4c3b88d1ba5 [2022-01-25T19:26:44.429Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:26:44.429Z] ---> Running in cf718a0e1471 [2022-01-25T19:26:44.699Z] Removing intermediate container cf718a0e1471 [2022-01-25T19:26:44.699Z] ---> 8c7692ad0f9a [2022-01-25T19:26:44.699Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:26:44.971Z] ---> Running in b26ea7f8e46f [2022-01-25T19:26:46.408Z] Removing intermediate container b26ea7f8e46f [2022-01-25T19:26:46.408Z] ---> 2259dcf2d907 [2022-01-25T19:26:46.408Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-25T19:26:46.686Z] ---> Running in f2e5cf7da0be [2022-01-25T19:26:47.665Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-25T19:26:48.635Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-25T19:26:49.225Z] OK: 220 MiB in 52 packages [2022-01-25T19:26:49.815Z] Removing intermediate container f2e5cf7da0be [2022-01-25T19:26:49.815Z] ---> bb1e3e4a57b6 [2022-01-25T19:26:49.815Z] Step 8/25 : COPY go.mod vendor* ./ [2022-01-25T19:26:50.408Z] ---> d157bd124c45 [2022-01-25T19:26:50.408Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-25T19:26:50.679Z] ---> Running in d09499aa7d2b [2022-01-25T19:26:52.647Z] Removing intermediate container d09499aa7d2b [2022-01-25T19:26:52.647Z] ---> 91683d5561a3 [2022-01-25T19:26:52.647Z] Step 10/25 : COPY . . [2022-01-25T19:26:53.622Z] ---> e228afa97c68 [2022-01-25T19:26:53.622Z] Step 11/25 : RUN ${MAKE} [2022-01-25T19:26:53.896Z] ---> Running in c08c5a17e3bc [2022-01-25T19:26:54.870Z] 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 [2022-01-25T19:27:33.893Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-25T19:27:33.893Z] Removing intermediate container c08c5a17e3bc [2022-01-25T19:27:33.893Z] ---> 7a7337b480e0 [2022-01-25T19:27:33.893Z] Step 12/25 : FROM alpine:3.14 [2022-01-25T19:27:33.893Z] 3.14: Pulling from library/alpine [2022-01-25T19:27:33.893Z] be307f383ecc: Pulling fs layer [2022-01-25T19:27:33.893Z] be307f383ecc: Verifying Checksum [2022-01-25T19:27:33.893Z] be307f383ecc: Download complete [2022-01-25T19:27:33.893Z] be307f383ecc: Pull complete [2022-01-25T19:27:33.893Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-25T19:27:33.893Z] Status: Downloaded newer image for alpine:3.14 [2022-01-25T19:27:33.893Z] ---> 5b8b7b635229 [2022-01-25T19:27:33.893Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-25T19:27:33.893Z] ---> Running in 94531367bf1c [2022-01-25T19:27:33.893Z] Removing intermediate container 94531367bf1c [2022-01-25T19:27:33.893Z] ---> 686f559cf194 [2022-01-25T19:27:33.893Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-25T19:27:33.893Z] ---> Running in 115f78c3043d [2022-01-25T19:27:35.323Z] Removing intermediate container 115f78c3043d [2022-01-25T19:27:35.323Z] ---> 94770b38f1c7 [2022-01-25T19:27:35.323Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-01-25T19:27:35.323Z] ---> Running in ea67a6799907 [2022-01-25T19:27:36.301Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-25T19:27:37.276Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-25T19:27:37.869Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-25T19:27:38.140Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-25T19:27:38.140Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-25T19:27:38.140Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-25T19:27:38.410Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-25T19:27:38.410Z] Executing busybox-1.33.1-r6.trigger [2022-01-25T19:27:38.410Z] OK: 8 MiB in 19 packages [2022-01-25T19:27:39.391Z] Removing intermediate container ea67a6799907 [2022-01-25T19:27:39.391Z] ---> 9010c9e3e21f [2022-01-25T19:27:39.391Z] Step 16/25 : WORKDIR / [2022-01-25T19:27:39.391Z] ---> Running in 88a0e55bd267 [2022-01-25T19:27:39.666Z] Removing intermediate container 88a0e55bd267 [2022-01-25T19:27:39.666Z] ---> 296aa8082b89 [2022-01-25T19:27:39.666Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-25T19:27:40.261Z] ---> 768eedc90b4a [2022-01-25T19:27:40.261Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-25T19:27:41.249Z] ---> 72159736e26c [2022-01-25T19:27:41.249Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-25T19:27:41.851Z] ---> d40727f65e4c [2022-01-25T19:27:41.851Z] Step 20/25 : EXPOSE 59999 [2022-01-25T19:27:41.851Z] ---> Running in 32d3fb373827 [2022-01-25T19:27:42.445Z] Removing intermediate container 32d3fb373827 [2022-01-25T19:27:42.445Z] ---> 39127d80e5db [2022-01-25T19:27:42.445Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-01-25T19:27:42.445Z] ---> Running in 35783bbcfac0 [2022-01-25T19:27:42.718Z] Removing intermediate container 35783bbcfac0 [2022-01-25T19:27:42.718Z] ---> 1c2d1929d089 [2022-01-25T19:27:42.718Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-25T19:27:42.718Z] ---> Running in 9d18c44a36e1 [2022-01-25T19:27:42.990Z] Removing intermediate container 9d18c44a36e1 [2022-01-25T19:27:42.990Z] ---> 2c2105c194be [2022-01-25T19:27:42.990Z] Step 23/25 : LABEL arch=arm64 [2022-01-25T19:27:43.262Z] ---> Running in 28ef2e02d82e [2022-01-25T19:27:43.535Z] Removing intermediate container 28ef2e02d82e [2022-01-25T19:27:43.535Z] ---> fd423c59ccaa [2022-01-25T19:27:43.535Z] Step 24/25 : LABEL git_sha=5d34f0638f0d32131804c081e244c7718c70a8ef [2022-01-25T19:27:43.535Z] ---> Running in dcd44b5e5503 [2022-01-25T19:27:44.131Z] Removing intermediate container dcd44b5e5503 [2022-01-25T19:27:44.131Z] ---> 99524e137bf1 [2022-01-25T19:27:44.131Z] Step 25/25 : LABEL version=0.0.0 [2022-01-25T19:27:44.131Z] ---> Running in 56fcc844c5f6 [2022-01-25T19:27:44.402Z] Removing intermediate container 56fcc844c5f6 [2022-01-25T19:27:44.402Z] ---> 2cd6859ed28b [2022-01-25T19:27:44.402Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-25T19:27:44.402Z] Successfully built 2cd6859ed28b [2022-01-25T19:27:44.402Z] 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 [2022-01-25T19:27:44.825Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-25T19:27:44.825Z] [2022-01-25T19:27:44.825Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:27:45.174Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-25T19:27:45.448Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-25T19:27:45.448Z] 448f6bf000e3: Pulling fs layer [2022-01-25T19:27:45.448Z] f757da607395: Pulling fs layer [2022-01-25T19:27:45.448Z] 05883995daec: Pulling fs layer [2022-01-25T19:27:45.448Z] 8603b9c90790: Pulling fs layer [2022-01-25T19:27:45.448Z] 1560dd03e051: Pulling fs layer [2022-01-25T19:27:45.448Z] 27f5ce0e4adf: Pulling fs layer [2022-01-25T19:27:45.448Z] c2d8d7efcc4b: Pulling fs layer [2022-01-25T19:27:45.448Z] 1560dd03e051: Waiting [2022-01-25T19:27:45.448Z] c2d8d7efcc4b: Waiting [2022-01-25T19:27:45.448Z] 8603b9c90790: Waiting [2022-01-25T19:27:45.448Z] 27f5ce0e4adf: Waiting [2022-01-25T19:27:45.448Z] f757da607395: Verifying Checksum [2022-01-25T19:27:45.448Z] f757da607395: Download complete [2022-01-25T19:27:45.448Z] 8603b9c90790: Verifying Checksum [2022-01-25T19:27:45.448Z] 8603b9c90790: Download complete [2022-01-25T19:27:45.448Z] 1560dd03e051: Verifying Checksum [2022-01-25T19:27:45.448Z] 1560dd03e051: Download complete [2022-01-25T19:27:45.448Z] 27f5ce0e4adf: Verifying Checksum [2022-01-25T19:27:45.448Z] 27f5ce0e4adf: Download complete [2022-01-25T19:27:45.720Z] 05883995daec: Verifying Checksum [2022-01-25T19:27:45.720Z] 05883995daec: Download complete [2022-01-25T19:27:45.993Z] 448f6bf000e3: Verifying Checksum [2022-01-25T19:27:45.993Z] 448f6bf000e3: Download complete [2022-01-25T19:27:48.624Z] c2d8d7efcc4b: Verifying Checksum [2022-01-25T19:27:48.624Z] c2d8d7efcc4b: Download complete [2022-01-25T19:27:49.602Z] 448f6bf000e3: Pull complete [2022-01-25T19:27:50.207Z] f757da607395: Pull complete [2022-01-25T19:27:51.638Z] 05883995daec: Pull complete [2022-01-25T19:27:51.912Z] 8603b9c90790: Pull complete [2022-01-25T19:27:52.893Z] 1560dd03e051: Pull complete [2022-01-25T19:27:52.893Z] 27f5ce0e4adf: Pull complete [2022-01-25T19:28:07.965Z] c2d8d7efcc4b: Pull complete [2022-01-25T19:28:07.965Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-25T19:28:07.965Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-25T19:28:07.965Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-25T19:28:08.161Z] prd-ubuntu18.04-docker-arm64-4c-16g-3871 does not seem to be running inside a container [2022-01-25T19:28:08.238Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-25T19:28:10.752Z] $ docker top 732eadb6128edab31d2fbd742e3c7aa87520991e772e3184f93132395b62a289 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:28:11.650Z] ---> job-cost.sh [2022-01-25T19:28:11.650Z] lf-activate-venv: SKIPPING [2022-01-25T19:28:11.650Z] INFO: No Stack... [2022-01-25T19:28:11.921Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-25T19:28:12.190Z] INFO: Archiving Costs [Pipeline] sh [2022-01-25T19:28:12.848Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2022-01-25T19:28:12.848Z] + cut -d, -f6 [Pipeline] lock [2022-01-25T19:28:12.908Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1084-6-stack-cost] [2022-01-25T19:28:12.918Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-6-stack-cost] did not exist. Created. [2022-01-25T19:28:12.918Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1084-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-25T19:28:13.583Z] /w/workspace/device-sdk-go/6@tmp/durable-89fec134/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-89fec134/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-25T19:28:13.936Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-25T19:28:13.970Z] Warning: overwriting stash ‘stack-cost’ [2022-01-25T19:28:14.026Z] Stashed 1 file(s) [Pipeline] } [2022-01-25T19:28:14.033Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1084-6-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-25T19:28:14.050Z] $ docker stop --time=1 732eadb6128edab31d2fbd742e3c7aa87520991e772e3184f93132395b62a289 [2022-01-25T19:28:15.504Z] $ docker rm -f 732eadb6128edab31d2fbd742e3c7aa87520991e772e3184f93132395b62a289 [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 [2022-01-25T19:28:15.925Z] provisioning config files... [2022-01-25T19:28:15.936Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/config3237038586036205512tmp [Pipeline] { [Pipeline] sh [2022-01-25T19:28:16.245Z] + set +x [2022-01-25T19:28:16.245Z] + bash -s -- [2022-01-25T19:28:16.245Z] + curl -s https://codecov.io/bash [2022-01-25T19:28:16.245Z] [2022-01-25T19:28:16.245Z] _____ _ [2022-01-25T19:28:16.245Z] / ____| | | [2022-01-25T19:28:16.245Z] | | ___ __| | ___ ___ _____ __ [2022-01-25T19:28:16.245Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-25T19:28:16.245Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-25T19:28:16.245Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-25T19:28:16.245Z] Bash-1.0.6 [2022-01-25T19:28:16.245Z] [2022-01-25T19:28:16.245Z] [2022-01-25T19:28:16.245Z] ==> git version 2.24.4 found [2022-01-25T19:28:16.245Z] ==> 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 [2022-01-25T19:28:16.245Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-25T19:28:16.245Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-25T19:28:16.245Z] ==> Jenkins CI detected. [2022-01-25T19:28:16.245Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1084 [2022-01-25T19:28:16.245Z] project root: . [2022-01-25T19:28:16.245Z] --> token set from env [2022-01-25T19:28:16.245Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-25T19:28:16.245Z] ==> Running gcov in . (disable via -X gcov) [2022-01-25T19:28:16.245Z] ==> Python coveragepy not found [2022-01-25T19:28:16.245Z] ==> Searching for coverage reports in: [2022-01-25T19:28:16.245Z] + . [2022-01-25T19:28:16.245Z] -> Found 1 reports [2022-01-25T19:28:16.245Z] ==> Detecting git/mercurial file structure [2022-01-25T19:28:16.245Z] ==> Reading reports [2022-01-25T19:28:16.245Z] + ./coverage.out bytes=128608 [2022-01-25T19:28:16.245Z] ==> Appending adjustments [2022-01-25T19:28:16.245Z] https://docs.codecov.io/docs/fixing-reports [2022-01-25T19:28:16.507Z] + Found adjustments [2022-01-25T19:28:16.507Z] ==> Gzipping contents [2022-01-25T19:28:16.768Z] 16K /tmp/codecov.mnoMr3.gz [2022-01-25T19:28:16.768Z] ==> Uploading reports [2022-01-25T19:28:16.768Z] url: https://codecov.io [2022-01-25T19:28:16.768Z] query: branch=PR-1084&commit=5d34f0638f0d32131804c081e244c7718c70a8ef&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1084%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1084&job=&cmd_args= [2022-01-25T19:28:16.768Z] -> Pinging Codecov [2022-01-25T19:28:16.768Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1084&commit=5d34f0638f0d32131804c081e244c7718c70a8ef&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1084%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1084&job=&cmd_args= [2022-01-25T19:28:17.029Z] -> Uploading to [2022-01-25T19:28:17.029Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-25/7E55EF52A471D76F132DFD9A03CDDE97/5d34f0638f0d32131804c081e244c7718c70a8ef/5e0288b3-50df-4eb0-aee0-4d9385877089.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220125T192816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ac6045eaac97722843255bffb806d702de64045c3c3ccb4fe4a2f91d647c0f92 [2022-01-25T19:28:17.029Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-25T19:28:17.029Z] Dload Upload Total Spent Left Speed [2022-01-25T19:28:17.290Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16114 0 0 100 16114 0 54306 --:--:-- --:--:-- --:--:-- 54439 [2022-01-25T19:28:17.290Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5d34f0638f0d32131804c081e244c7718c70a8ef [Pipeline] } [2022-01-25T19:28:17.298Z] 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 [2022-01-25T19:28:18.011Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives ']' [2022-01-25T19:28:18.012Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives [2022-01-25T19:28:18.012Z] total 8 [2022-01-25T19:28:18.012Z] drwxr-xr-x. 3 root root 34 Jan 25 19:22 . [2022-01-25T19:28:18.012Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 25 19:22 .. [2022-01-25T19:28:18.012Z] drwxr-xr-x. 2 root root 6 Jan 25 19:22 cost [2022-01-25T19:28:18.012Z] -rw-r--r--. 1 root root 85 Jan 25 19:22 cost.csv [2022-01-25T19:28:18.012Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives [2022-01-25T19:28:18.012Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives [2022-01-25T19:28:18.012Z] total 8 [2022-01-25T19:28:18.012Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 25 19:22 . [2022-01-25T19:28:18.012Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 25 19:22 .. [2022-01-25T19:28:18.012Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 25 19:22 cost [2022-01-25T19:28:18.012Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 25 19:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:28:18.317Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:28:18.873Z] ---> package-listing.sh [2022-01-25T19:28:18.873Z] ++ facter osfamily [2022-01-25T19:28:18.873Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-25T19:28:19.134Z] + OS_FAMILY=redhat [2022-01-25T19:28:19.134Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1084 [2022-01-25T19:28:19.134Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-25T19:28:19.134Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-25T19:28:19.134Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-25T19:28:19.134Z] + PACKAGES=/tmp/packages_start.txt [2022-01-25T19:28:19.134Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1084 ']' [2022-01-25T19:28:19.134Z] + PACKAGES=/tmp/packages_end.txt [2022-01-25T19:28:19.134Z] + case "${OS_FAMILY}" in [2022-01-25T19:28:19.134Z] + rpm -qa [2022-01-25T19:28:19.134Z] + sort [2022-01-25T19:28:19.706Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-25T19:28:19.706Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-25T19:28:19.706Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-25T19:28:19.706Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1084 ']' [2022-01-25T19:28:19.706Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives/ [2022-01-25T19:28:19.706Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1084/archives/ [Pipeline] echo [2022-01-25T19:28:19.718Z] 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-1084/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-25T19:28:20.001Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-25T19:28:20.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-25T19:28:20.560Z] . [Pipeline] withDockerContainer [2022-01-25T19:28:20.623Z] prd-centos7-docker-4c-2g-3870 does not seem to be running inside a container [2022-01-25T19:28:20.653Z] $ 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-1084/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-1084 -v /w/workspace/gexfoundry_device-sdk-go_PR-1084:/w/workspace/gexfoundry_device-sdk-go_PR-1084:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-25T19:28:20.842Z] $ docker top 1bc21f30d94c60210aa8f48539b26dec125ccdf27b49ca11d5099d0fbdea27e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-25T19:28:21.203Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-25T19:28:21.498Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-25T19:28:21.789Z] + ls /var/log/sa-host [2022-01-25T19:28:21.789Z] + sadf -c /var/log/sa-host/sa17 [2022-01-25T19:28:21.789Z] file_magic: OK [2022-01-25T19:28:21.789Z] HZ: Using current value: 100 [2022-01-25T19:28:21.789Z] file_header: OK [2022-01-25T19:28:21.789Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-25T19:28:21.789Z] Statistics: [2022-01-25T19:28:21.789Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-25T19:28:21.789Z] File successfully converted to sysstat format version 12.0.3 [2022-01-25T19:28:21.789Z] + sadf -c /var/log/sa-host/sa25 [2022-01-25T19:28:21.789Z] file_magic: OK [2022-01-25T19:28:21.789Z] HZ: Using current value: 100 [2022-01-25T19:28:21.789Z] file_header: OK [2022-01-25T19:28:21.789Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-01-25T19:28:21.789Z] Statistics: [2022-01-25T19:28:21.789Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-25T19:28:21.789Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-25T19:28:21.872Z] provisioning config files... [2022-01-25T19:28:21.881Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1084@tmp/config8207830869332711464tmp [Pipeline] { [Pipeline] echo [2022-01-25T19:28:21.896Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:28:22.185Z] ---> create-netrc.sh [Pipeline] } [2022-01-25T19:28:22.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:28:22.523Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-25T19:28:22.532Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:28:22.827Z] ---> sudo-logs.sh [2022-01-25T19:28:22.827Z] Archiving 'sudo' log.. [2022-01-25T19:28:22.827Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3870.novalocal: Name or service not known [2022-01-25T19:28:22.827Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3870.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-25T19:28:22.852Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:28:23.145Z] ---> job-cost.sh [2022-01-25T19:28:23.145Z] lf-activate-venv: SKIPPING [2022-01-25T19:28:23.145Z] DEBUG: total: 0.05999999865889549 [2022-01-25T19:28:23.145Z] INFO: Retrieving Stack Cost... [2022-01-25T19:28:23.405Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-25T19:28:23.666Z] INFO: Archiving Costs [Pipeline] echo [2022-01-25T19:28:23.682Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-25T19:28:23.973Z] ---> logs-deploy.sh [2022-01-25T19:28:23.973Z] lf-activate-venv: SKIPPING [2022-01-25T19:28:23.973Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1084/6 [2022-01-25T19:28:23.973Z] INFO: archiving workspace using pattern(s): [2022-01-25T19:28:24.542Z] Archives upload complete. [2022-01-25T19:28:24.803Z] INFO: archiving logs to Nexus