Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8+95a9d1abedb9d7c119ffb1f24142991202c879de (f7159ac2361588cd37098040d90138cfe0c80e51) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh1080929429687375164.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca 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-ssh638665736163097422.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 f1d79d91c36788821211008368c3015072ca53ca 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-1027/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-1027/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6748524187865420662.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > 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-ssh4871349343793988176.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-1027/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-1027/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7131469344448641029.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-242 in /w/workspace/gexfoundry_device-sdk-go_PR-1027 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-1027 # 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-1027@tmp/jenkins-gitclient-ssh1136856744720938652.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp/jenkins-gitclient-ssh1459729425120363527.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1027/head:refs/remotes/origin/PR-1027 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 Merge succeeded, producing 8578d2c14e55013ba35e81bfd681e253ba966b26 Checking out Revision 8578d2c14e55013ba35e81bfd681e253ba966b26 (PR-1027) > git config core.sparsecheckout # timeout=10 > git checkout -f c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 # 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-1027@tmp/jenkins-gitclient-ssh635398835088838423.key > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8578d2c14e55013ba35e81bfd681e253ba966b26 # timeout=10 Commit message: "Merge commit '95a9d1abedb9d7c119ffb1f24142991202c879de' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-09T14:42:23.819Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-09T14:42:23.868Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-09T14:42:23.884Z] ========================================================= [2021-10-09T14:42:23.884Z] EdgeX Global Pipelines Version Info [2021-10-09T14:42:23.884Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 8cb5f7ff50314ae293b205e1430bea0ea6c81eee # timeout=10 [2021-10-09T14:42:25.058Z] ------------------- [2021-10-09T14:42:25.058Z] stable info: [2021-10-09T14:42:25.058Z] ------------------- [2021-10-09T14:42:25.058Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-09T14:42:25.058Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-09T14:42:25.058Z] Message: update stable to v1.0.209 [2021-10-09T14:42:25.639Z] ------------------- [2021-10-09T14:42:25.639Z] experimental info: [2021-10-09T14:42:25.639Z] ------------------- [2021-10-09T14:42:25.639Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-09T14:42:25.639Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-09T14:42:25.639Z] Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-09T14:42:25.716Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-09T14:42:25.724Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-09T14:42:25.732Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-09T14:42:25.739Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-09T14:42:25.747Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-09T14:42:25.754Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-09T14:42:25.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-09T14:42:25.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-09T14:42:25.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-09T14:42:25.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-09T14:42:25.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-09T14:42:25.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-09T14:42:25.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-09T14:42:25.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-09T14:42:25.857Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-09T14:42:25.870Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-09T14:42:25.881Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-09T14:42:25.892Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-09T14:42:25.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-09T14:42:25.911Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-09T14:42:25.921Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-09T14:42:25.931Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-09T14:42:25.941Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-09T14:42:25.951Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-09T14:42:25.962Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-09T14:42:25.972Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-09T14:42:25.983Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1027 [Pipeline] echo [2021-10-09T14:42:26.000Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1027 [Pipeline] echo [2021-10-09T14:42:26.012Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1027 [Pipeline] echo [2021-10-09T14:42:26.026Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8578d2c14e55013ba35e81bfd681e253ba966b26 [Pipeline] echo [2021-10-09T14:42:26.038Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8578d2c [Pipeline] echo [2021-10-09T14:42:26.047Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-09T14:42:26.088Z] provisioning config files... [2021-10-09T14:42:26.101Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp/config6949389288112676957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-09T14:42:26.418Z] ---> docker-login.sh [2021-10-09T14:42:26.418Z] nexus3.edgexfoundry.org:10001 [2021-10-09T14:42:26.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:42:26.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:42:26.687Z] Configure a credential helper to remove this warning. See [2021-10-09T14:42:26.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:42:26.687Z] [2021-10-09T14:42:26.687Z] Login Succeeded [2021-10-09T14:42:26.687Z] nexus3.edgexfoundry.org:10002 [2021-10-09T14:42:26.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:42:26.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:42:26.687Z] Configure a credential helper to remove this warning. See [2021-10-09T14:42:26.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:42:26.687Z] [2021-10-09T14:42:26.687Z] Login Succeeded [2021-10-09T14:42:26.687Z] nexus3.edgexfoundry.org:10003 [2021-10-09T14:42:26.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:42:26.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:42:26.687Z] Configure a credential helper to remove this warning. See [2021-10-09T14:42:26.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:42:26.687Z] [2021-10-09T14:42:26.687Z] Login Succeeded [2021-10-09T14:42:26.687Z] nexus3.edgexfoundry.org:10004 [2021-10-09T14:42:26.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:42:26.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:42:26.951Z] Configure a credential helper to remove this warning. See [2021-10-09T14:42:26.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:42:26.951Z] [2021-10-09T14:42:26.951Z] Login Succeeded [2021-10-09T14:42:26.951Z] docker.io [2021-10-09T14:42:26.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:42:27.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:42:27.214Z] Configure a credential helper to remove this warning. See [2021-10-09T14:42:27.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:42:27.214Z] [2021-10-09T14:42:27.214Z] Login Succeeded [2021-10-09T14:42:27.214Z] ---> docker-login.sh ends [Pipeline] } [2021-10-09T14:42:27.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-09T14:42:27.661Z] + git log --format=format:%s -1 8578d2c14e55013ba35e81bfd681e253ba966b26 [Pipeline] echo [2021-10-09T14:42:27.697Z] GIT_COMMIT: 8578d2c14e55013ba35e81bfd681e253ba966b26, Commit Message: Merge commit '95a9d1abedb9d7c119ffb1f24142991202c879de' into HEAD [Pipeline] echo [2021-10-09T14:42:27.706Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:42:28.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-09T14:42:28.148Z] [2021-10-09T14:42:28.148Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:42:28.458Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-09T14:42:28.459Z] latest: Pulling from edgex-devops/git-semver [2021-10-09T14:42:28.459Z] a0d0a0d46f8b: Pulling fs layer [2021-10-09T14:42:28.459Z] 3e5f54012d9b: Pulling fs layer [2021-10-09T14:42:28.459Z] 4c7163046ea9: Pulling fs layer [2021-10-09T14:42:28.459Z] 0c2d73faf560: Pulling fs layer [2021-10-09T14:42:28.459Z] 0c2d73faf560: Waiting [2021-10-09T14:42:28.459Z] 3e5f54012d9b: Verifying Checksum [2021-10-09T14:42:28.459Z] 3e5f54012d9b: Download complete [2021-10-09T14:42:28.459Z] a0d0a0d46f8b: Verifying Checksum [2021-10-09T14:42:28.459Z] a0d0a0d46f8b: Download complete [2021-10-09T14:42:28.459Z] 0c2d73faf560: Verifying Checksum [2021-10-09T14:42:28.459Z] 0c2d73faf560: Download complete [2021-10-09T14:42:28.459Z] 4c7163046ea9: Verifying Checksum [2021-10-09T14:42:28.459Z] 4c7163046ea9: Download complete [2021-10-09T14:42:28.732Z] a0d0a0d46f8b: Pull complete [2021-10-09T14:42:28.732Z] 3e5f54012d9b: Pull complete [2021-10-09T14:42:28.992Z] 4c7163046ea9: Pull complete [2021-10-09T14:42:28.992Z] 0c2d73faf560: Pull complete [2021-10-09T14:42:28.992Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-09T14:42:28.992Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-09T14:42:28.992Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-09T14:42:29.068Z] prd-centos7-docker-4c-2g-242 does not seem to be running inside a container [2021-10-09T14:42:29.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1027 -v /w/workspace/gexfoundry_device-sdk-go_PR-1027:/w/workspace/gexfoundry_device-sdk-go_PR-1027:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-09T14:42:29.641Z] $ docker top 116e85bc0e36751185fb6e2dfb8c7de2078e94d79b67e839206476eeb551979f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-09T14:42:29.721Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-09T14:42:29.721Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-09T14:42:29.825Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-09T14:42:29.828Z] $ docker exec 116e85bc0e36751185fb6e2dfb8c7de2078e94d79b67e839206476eeb551979f ssh-agent [2021-10-09T14:42:29.915Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDHAPbL/agent.13 [2021-10-09T14:42:29.915Z] SSH_AGENT_PID=20 [2021-10-09T14:42:29.922Z] Running ssh-add (command line suppressed) [2021-10-09T14:42:30.000Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp/private_key_7522317800715524220.key (/w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp/private_key_7522317800715524220.key) [2021-10-09T14:42:30.009Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-09T14:42:30.301Z] + git tag --points-at HEAD [Pipeline] } [2021-10-09T14:42:30.316Z] $ docker exec --env ******** --env ******** 116e85bc0e36751185fb6e2dfb8c7de2078e94d79b67e839206476eeb551979f ssh-agent -k [2021-10-09T14:42:30.398Z] unset SSH_AUTH_SOCK; [2021-10-09T14:42:30.398Z] unset SSH_AGENT_PID; [2021-10-09T14:42:30.398Z] echo Agent pid 20 killed; [2021-10-09T14:42:30.406Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-09T14:42:30.434Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-09T14:42:30.434Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-09T14:42:30.528Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-09T14:42:30.533Z] $ docker exec 116e85bc0e36751185fb6e2dfb8c7de2078e94d79b67e839206476eeb551979f ssh-agent [2021-10-09T14:42:30.651Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXegfEMf/agent.53 [2021-10-09T14:42:30.651Z] SSH_AGENT_PID=59 [2021-10-09T14:42:30.656Z] Running ssh-add (command line suppressed) [2021-10-09T14:42:30.757Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp/private_key_6431702775597796961.key (/w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp/private_key_6431702775597796961.key) [2021-10-09T14:42:30.767Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-09T14:42:31.056Z] + git semver init [2021-10-09T14:42:31.056Z] # -> Open(): unable to determine branch for HEAD [2021-10-09T14:42:31.056Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1027/.git [2021-10-09T14:42:31.056Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1027 [2021-10-09T14:42:31.056Z] # $SEMVER_REMOTE_NAME = origin [2021-10-09T14:42:31.056Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-09T14:42:31.056Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-09T14:42:31.056Z] # $SEMVER_BRANCH = PR-1027 [2021-10-09T14:42:31.056Z] # $SEMVER_TEMP = /tmp/semver-263346923 [2021-10-09T14:42:31.056Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-09T14:42:32.007Z] # '/tmp/semver-263346923' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1027/.semver' [2021-10-09T14:42:32.007Z] # -> Force: false [2021-10-09T14:42:32.007Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1027/.semver [Pipeline] } [2021-10-09T14:42:32.018Z] $ docker exec --env ******** --env ******** 116e85bc0e36751185fb6e2dfb8c7de2078e94d79b67e839206476eeb551979f ssh-agent -k [2021-10-09T14:42:32.100Z] unset SSH_AUTH_SOCK; [2021-10-09T14:42:32.100Z] unset SSH_AGENT_PID; [2021-10-09T14:42:32.100Z] echo Agent pid 59 killed; [2021-10-09T14:42:32.108Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-09T14:42:32.419Z] + git semver [Pipeline] } [2021-10-09T14:42:32.434Z] $ docker stop --time=1 116e85bc0e36751185fb6e2dfb8c7de2078e94d79b67e839206476eeb551979f [2021-10-09T14:42:33.643Z] $ docker rm -f 116e85bc0e36751185fb6e2dfb8c7de2078e94d79b67e839206476eeb551979f [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-09T14:42:33.988Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-09T14:42:34.235Z] Stashed 1 file(s) [Pipeline] echo [2021-10-09T14:42:34.239Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-09T14:42:49.428Z] Still waiting to schedule task [2021-10-09T14:42:49.428Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-09T14:42:49.431Z] Still waiting to schedule task [2021-10-09T14:42:49.431Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-09T14:45:42.719Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-245 in /w/workspace/gexfoundry_device-sdk-go_PR-1027 [Pipeline] { [Pipeline] ws [2021-10-09T14:45:42.733Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-10-09T14:45:42.991Z] Selected Git installation does not exist. Using Default [2021-10-09T14:45:42.991Z] The recommended git tool is: NONE [2021-10-09T14:45:49.269Z] using credential edgex-jenkins-ssh [2021-10-09T14:45:49.287Z] Cloning the remote Git repository [2021-10-09T14:45:49.414Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-09T14:45:49.586Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-10-09T14:45:49.676Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-09T14:45:49.677Z] > git --version # timeout=10 [2021-10-09T14:45:49.695Z] > git --version # 'git version 2.17.1' [2021-10-09T14:45:49.697Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-09T14:45:49.806Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-09T14:45:51.224Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-09T14:45:51.248Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-09T14:45:51.278Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-09T14:45:51.315Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-09T14:45:51.316Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-09T14:45:51.332Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1027/head:refs/remotes/origin/PR-1027 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-09T14:45:52.084Z] Merging remotes/origin/main commit 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 [2021-10-09T14:45:52.425Z] Merge succeeded, producing e88f12ec1fe7a9822e57751323405cec571f1820 [2021-10-09T14:45:52.426Z] Checking out Revision e88f12ec1fe7a9822e57751323405cec571f1820 (PR-1027) [2021-10-09T14:45:52.109Z] > git config core.sparsecheckout # timeout=10 [2021-10-09T14:45:52.125Z] > git checkout -f c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 # timeout=10 [2021-10-09T14:45:52.260Z] > git remote # timeout=10 [2021-10-09T14:45:52.285Z] > git config --get remote.origin.url # timeout=10 [2021-10-09T14:45:52.298Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-09T14:45:52.310Z] > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 [2021-10-09T14:45:52.408Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-09T14:45:52.434Z] > git config core.sparsecheckout # timeout=10 [2021-10-09T14:45:52.451Z] > git checkout -f e88f12ec1fe7a9822e57751323405cec571f1820 # timeout=10 [2021-10-09T14:45:57.094Z] Commit message: "Merge commit '95a9d1abedb9d7c119ffb1f24142991202c879de' into HEAD" [2021-10-09T14:45:57.120Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-09T14:45:57.452Z] provisioning config files... [2021-10-09T14:45:57.489Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config6827263611816571302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-09T14:45:57.105Z] > git rev-list --no-walk 8cb5f7ff50314ae293b205e1430bea0ea6c81eee # timeout=10 [2021-10-09T14:45:58.179Z] ---> docker-login.sh [2021-10-09T14:45:58.179Z] nexus3.edgexfoundry.org:10001 [2021-10-09T14:45:59.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:45:59.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:45:59.931Z] Configure a credential helper to remove this warning. See [2021-10-09T14:45:59.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:45:59.931Z] [2021-10-09T14:45:59.931Z] Login Succeeded [2021-10-09T14:45:59.931Z] nexus3.edgexfoundry.org:10002 [2021-10-09T14:46:00.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:46:00.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:46:00.499Z] Configure a credential helper to remove this warning. See [2021-10-09T14:46:00.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:46:00.499Z] [2021-10-09T14:46:00.499Z] Login Succeeded [2021-10-09T14:46:00.499Z] nexus3.edgexfoundry.org:10003 [2021-10-09T14:46:01.112Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:46:01.112Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:46:01.112Z] Configure a credential helper to remove this warning. See [2021-10-09T14:46:01.112Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:46:01.112Z] [2021-10-09T14:46:01.112Z] Login Succeeded [2021-10-09T14:46:01.112Z] nexus3.edgexfoundry.org:10004 [2021-10-09T14:46:01.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:46:01.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:46:01.726Z] Configure a credential helper to remove this warning. See [2021-10-09T14:46:01.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:46:01.726Z] [2021-10-09T14:46:01.726Z] Login Succeeded [2021-10-09T14:46:01.726Z] docker.io [2021-10-09T14:46:02.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:46:02.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:46:02.612Z] Configure a credential helper to remove this warning. See [2021-10-09T14:46:02.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:46:02.612Z] [2021-10-09T14:46:02.612Z] Login Succeeded [2021-10-09T14:46:02.612Z] ---> docker-login.sh ends [Pipeline] } [2021-10-09T14:46:02.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-09T14:46:03.257Z] ========================================================= [2021-10-09T14:46:03.257Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-09T14:46:03.257Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:46:03.686Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-09T14:46:04.302Z] Sending build context to Docker daemon 2.68MB [2021-10-09T14:46:04.302Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-09T14:46:04.302Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-09T14:46:04.586Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-09T14:46:04.586Z] bbf911997326: Pulling fs layer [2021-10-09T14:46:04.586Z] 58ec367f63d7: Pulling fs layer [2021-10-09T14:46:04.586Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-09T14:46:04.586Z] fc5181fea5dc: Pulling fs layer [2021-10-09T14:46:04.586Z] 9c418107303f: Pulling fs layer [2021-10-09T14:46:04.586Z] 284eca6f2348: Pulling fs layer [2021-10-09T14:46:04.586Z] 842844d905b1: Pulling fs layer [2021-10-09T14:46:04.586Z] 901a3a57568e: Pulling fs layer [2021-10-09T14:46:04.586Z] 284eca6f2348: Waiting [2021-10-09T14:46:04.586Z] fc5181fea5dc: Waiting [2021-10-09T14:46:04.586Z] 9c418107303f: Waiting [2021-10-09T14:46:04.586Z] 842844d905b1: Waiting [2021-10-09T14:46:04.586Z] 901a3a57568e: Waiting [2021-10-09T14:46:04.586Z] 1b4a6ffa7d45: Verifying Checksum [2021-10-09T14:46:04.586Z] 1b4a6ffa7d45: Download complete [2021-10-09T14:46:04.586Z] 58ec367f63d7: Verifying Checksum [2021-10-09T14:46:04.586Z] 58ec367f63d7: Download complete [2021-10-09T14:46:04.586Z] 9c418107303f: Verifying Checksum [2021-10-09T14:46:04.586Z] 9c418107303f: Download complete [2021-10-09T14:46:04.586Z] 284eca6f2348: Verifying Checksum [2021-10-09T14:46:04.586Z] 284eca6f2348: Download complete [2021-10-09T14:46:04.876Z] 842844d905b1: Verifying Checksum [2021-10-09T14:46:04.876Z] 842844d905b1: Download complete [2021-10-09T14:46:04.876Z] bbf911997326: Verifying Checksum [2021-10-09T14:46:04.876Z] bbf911997326: Download complete [2021-10-09T14:46:05.495Z] bbf911997326: Pull complete [2021-10-09T14:46:06.507Z] 58ec367f63d7: Pull complete [2021-10-09T14:46:06.786Z] 1b4a6ffa7d45: Pull complete [2021-10-09T14:46:06.786Z] 901a3a57568e: Verifying Checksum [2021-10-09T14:46:06.786Z] 901a3a57568e: Download complete [2021-10-09T14:46:07.399Z] fc5181fea5dc: Verifying Checksum [2021-10-09T14:46:07.399Z] fc5181fea5dc: Download complete [2021-10-09T14:46:17.636Z] fc5181fea5dc: Pull complete [2021-10-09T14:46:17.916Z] 9c418107303f: Pull complete [2021-10-09T14:46:18.200Z] 284eca6f2348: Pull complete [2021-10-09T14:46:18.809Z] 842844d905b1: Pull complete [2021-10-09T14:46:25.592Z] 901a3a57568e: Pull complete [2021-10-09T14:46:25.593Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-09T14:46:25.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-09T14:46:25.593Z] ---> 72ade6ffb461 [2021-10-09T14:46:25.593Z] Step 3/10 : ARG MAKE=make build [2021-10-09T14:46:29.019Z] ---> Running in dfc84aa3b7d3 [2021-10-09T14:46:29.623Z] Removing intermediate container dfc84aa3b7d3 [2021-10-09T14:46:29.623Z] ---> 6aa60ae2572c [2021-10-09T14:46:29.623Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-09T14:46:29.623Z] ---> Running in 7009f61c7f2c [2021-10-09T14:46:30.230Z] Removing intermediate container 7009f61c7f2c [2021-10-09T14:46:30.231Z] ---> 54ad98cb0682 [2021-10-09T14:46:30.231Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-09T14:46:30.509Z] ---> Running in fe190d046f05 [2021-10-09T14:46:30.789Z] Removing intermediate container fe190d046f05 [2021-10-09T14:46:30.789Z] ---> 4fd399e5c3ca [2021-10-09T14:46:30.789Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-09T14:46:31.072Z] ---> Running in b5ca3d6384f6 [2021-10-09T14:46:33.733Z] Removing intermediate container b5ca3d6384f6 [2021-10-09T14:46:33.733Z] ---> b8a481ca6f50 [2021-10-09T14:46:33.733Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-09T14:46:33.733Z] ---> Running in 0f97e621477b [2021-10-09T14:46:35.203Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-09T14:46:35.812Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-09T14:46:36.809Z] OK: 218 MiB in 52 packages [2021-10-09T14:46:37.808Z] Removing intermediate container 0f97e621477b [2021-10-09T14:46:37.808Z] ---> c875c377d72f [2021-10-09T14:46:37.808Z] Step 8/10 : COPY . . [2021-10-09T14:46:39.271Z] ---> d7c45059e282 [2021-10-09T14:46:39.271Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-09T14:46:39.271Z] ---> Running in c7251c9a6012 [2021-10-09T14:47:31.554Z] Running on prd-centos7-docker-4c-2g-247 in /w/workspace/gexfoundry_device-sdk-go_PR-1027 [Pipeline] { [Pipeline] ws [2021-10-09T14:47:31.566Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-10-09T14:47:31.680Z] Selected Git installation does not exist. Using Default [2021-10-09T14:47:31.680Z] The recommended git tool is: NONE [2021-10-09T14:47:33.843Z] using credential edgex-jenkins-ssh [2021-10-09T14:47:33.854Z] Cloning the remote Git repository [2021-10-09T14:47:33.171Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-09T14:47:33.221Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-10-09T14:47:33.256Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-09T14:47:33.257Z] > git --version # timeout=10 [2021-10-09T14:47:33.263Z] > git --version # 'git version 2.24.4' [2021-10-09T14:47:33.264Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-09T14:47:33.292Z] [INFO] Currently running in a labeled security context [2021-10-09T14:47:33.292Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-09T14:47:33.292Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh7600047812437122031.key [2021-10-09T14:47:33.315Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-09T14:47:34.081Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-09T14:47:34.097Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-09T14:47:34.108Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-09T14:47:34.120Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-09T14:47:34.120Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-09T14:47:34.123Z] [INFO] Currently running in a labeled security context [2021-10-09T14:47:34.123Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-09T14:47:34.123Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh8294159737480387370.key [2021-10-09T14:47:34.131Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1027/head:refs/remotes/origin/PR-1027 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-09T14:47:35.396Z] Merging remotes/origin/main commit 95a9d1abedb9d7c119ffb1f24142991202c879de into PR head commit c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 [2021-10-09T14:47:35.490Z] Merge succeeded, producing 08a445839a8c76ed7102f6f1c463359ff8145fda [2021-10-09T14:47:35.491Z] Checking out Revision 08a445839a8c76ed7102f6f1c463359ff8145fda (PR-1027) [2021-10-09T14:47:34.701Z] > git config core.sparsecheckout # timeout=10 [2021-10-09T14:47:34.707Z] > git checkout -f c7ab41813c9e15bcf2a2167d748bf2d9e629dbb8 # timeout=10 [2021-10-09T14:47:34.739Z] > git remote # timeout=10 [2021-10-09T14:47:34.746Z] > git config --get remote.origin.url # timeout=10 [2021-10-09T14:47:34.753Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-09T14:47:34.754Z] [INFO] Currently running in a labeled security context [2021-10-09T14:47:34.754Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-09T14:47:34.754Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh4598720724780400629.key [2021-10-09T14:47:34.758Z] > git merge 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 [2021-10-09T14:47:34.779Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-09T14:47:34.790Z] > git config core.sparsecheckout # timeout=10 [2021-10-09T14:47:34.806Z] > git checkout -f 08a445839a8c76ed7102f6f1c463359ff8145fda # timeout=10 [2021-10-09T14:47:38.885Z] Commit message: "Merge commit '95a9d1abedb9d7c119ffb1f24142991202c879de' into HEAD" [2021-10-09T14:47:38.894Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-09T14:47:39.186Z] provisioning config files... [2021-10-09T14:47:39.199Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3025239538028014935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-09T14:47:39.592Z] ---> docker-login.sh [2021-10-09T14:47:39.593Z] nexus3.edgexfoundry.org:10001 [2021-10-09T14:47:39.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:47:38.403Z] > git rev-list --no-walk 8cb5f7ff50314ae293b205e1430bea0ea6c81eee # timeout=10 [2021-10-09T14:47:39.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:47:39.859Z] Configure a credential helper to remove this warning. See [2021-10-09T14:47:39.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:47:39.859Z] [2021-10-09T14:47:39.859Z] Login Succeeded [2021-10-09T14:47:39.859Z] nexus3.edgexfoundry.org:10002 [2021-10-09T14:47:39.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:47:39.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:47:39.859Z] Configure a credential helper to remove this warning. See [2021-10-09T14:47:39.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:47:39.859Z] [2021-10-09T14:47:39.859Z] Login Succeeded [2021-10-09T14:47:39.859Z] nexus3.edgexfoundry.org:10003 [2021-10-09T14:47:39.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:47:40.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:47:40.122Z] Configure a credential helper to remove this warning. See [2021-10-09T14:47:40.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:47:40.122Z] [2021-10-09T14:47:40.122Z] Login Succeeded [2021-10-09T14:47:40.122Z] nexus3.edgexfoundry.org:10004 [2021-10-09T14:47:40.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:47:40.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:47:40.122Z] Configure a credential helper to remove this warning. See [2021-10-09T14:47:40.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:47:40.122Z] [2021-10-09T14:47:40.122Z] Login Succeeded [2021-10-09T14:47:40.122Z] docker.io [2021-10-09T14:47:40.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-09T14:47:40.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-09T14:47:40.650Z] Configure a credential helper to remove this warning. See [2021-10-09T14:47:40.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-09T14:47:40.650Z] [2021-10-09T14:47:40.650Z] Login Succeeded [2021-10-09T14:47:40.650Z] ---> docker-login.sh ends [Pipeline] } [2021-10-09T14:47:40.684Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-09T14:47:40.834Z] ========================================================= [2021-10-09T14:47:40.834Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-09T14:47:40.834Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:47:41.146Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-09T14:47:41.146Z] Sending build context to Docker daemon 2.691MB [2021-10-09T14:47:41.146Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-09T14:47:41.146Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-09T14:47:41.146Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-09T14:47:41.146Z] 4e9f2cdf4387: Pulling fs layer [2021-10-09T14:47:41.146Z] 57d31006c564: Pulling fs layer [2021-10-09T14:47:41.146Z] bd5ccded8296: Pulling fs layer [2021-10-09T14:47:41.146Z] 304dd3a0f381: Pulling fs layer [2021-10-09T14:47:41.146Z] d37cda54a23b: Pulling fs layer [2021-10-09T14:47:41.146Z] bae75c0f2455: Pulling fs layer [2021-10-09T14:47:41.146Z] 806579b3d29a: Pulling fs layer [2021-10-09T14:47:41.146Z] c77eb801bf70: Pulling fs layer [2021-10-09T14:47:41.146Z] 6d0567d44e1a: Pulling fs layer [2021-10-09T14:47:41.146Z] bae75c0f2455: Waiting [2021-10-09T14:47:41.146Z] 806579b3d29a: Waiting [2021-10-09T14:47:41.146Z] c77eb801bf70: Waiting [2021-10-09T14:47:41.146Z] 6d0567d44e1a: Waiting [2021-10-09T14:47:41.146Z] 304dd3a0f381: Waiting [2021-10-09T14:47:41.146Z] d37cda54a23b: Waiting [2021-10-09T14:47:41.414Z] bd5ccded8296: Verifying Checksum [2021-10-09T14:47:41.414Z] bd5ccded8296: Download complete [2021-10-09T14:47:41.414Z] 57d31006c564: Verifying Checksum [2021-10-09T14:47:41.414Z] 57d31006c564: Download complete [2021-10-09T14:47:41.414Z] d37cda54a23b: Verifying Checksum [2021-10-09T14:47:41.414Z] d37cda54a23b: Download complete [2021-10-09T14:47:41.414Z] bae75c0f2455: Verifying Checksum [2021-10-09T14:47:41.414Z] bae75c0f2455: Download complete [2021-10-09T14:47:41.414Z] 806579b3d29a: Verifying Checksum [2021-10-09T14:47:41.414Z] 806579b3d29a: Download complete [2021-10-09T14:47:41.414Z] 4e9f2cdf4387: Verifying Checksum [2021-10-09T14:47:41.414Z] 4e9f2cdf4387: Download complete [2021-10-09T14:47:41.414Z] c77eb801bf70: Verifying Checksum [2021-10-09T14:47:41.414Z] c77eb801bf70: Download complete [2021-10-09T14:47:41.689Z] 4e9f2cdf4387: Pull complete [2021-10-09T14:47:41.953Z] 6d0567d44e1a: Verifying Checksum [2021-10-09T14:47:41.953Z] 6d0567d44e1a: Download complete [2021-10-09T14:47:41.953Z] 304dd3a0f381: Verifying Checksum [2021-10-09T14:47:41.953Z] 304dd3a0f381: Download complete [2021-10-09T14:47:41.953Z] 57d31006c564: Pull complete [2021-10-09T14:47:42.222Z] bd5ccded8296: Pull complete [2021-10-09T14:47:46.470Z] 304dd3a0f381: Pull complete [2021-10-09T14:47:46.470Z] d37cda54a23b: Pull complete [2021-10-09T14:47:46.470Z] bae75c0f2455: Pull complete [2021-10-09T14:47:46.470Z] 806579b3d29a: Pull complete [2021-10-09T14:47:46.470Z] c77eb801bf70: Pull complete [2021-10-09T14:47:49.032Z] 6d0567d44e1a: Pull complete [2021-10-09T14:47:49.032Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-09T14:47:49.032Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-09T14:47:49.032Z] ---> e839a31ac9d1 [2021-10-09T14:47:49.032Z] Step 3/10 : ARG MAKE=make build [2021-10-09T14:47:50.422Z] ---> Running in 656ec05ccf0e [2021-10-09T14:47:50.422Z] Removing intermediate container 656ec05ccf0e [2021-10-09T14:47:50.422Z] ---> a018a62e4071 [2021-10-09T14:47:50.422Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-09T14:47:50.422Z] ---> Running in 589e6d72f21d [2021-10-09T14:47:50.689Z] Removing intermediate container 589e6d72f21d [2021-10-09T14:47:50.689Z] ---> 82b4b850b0b5 [2021-10-09T14:47:50.689Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-09T14:47:50.689Z] ---> Running in 999f836d34bd [2021-10-09T14:47:50.689Z] Removing intermediate container 999f836d34bd [2021-10-09T14:47:50.689Z] ---> 6962c4a8ed26 [2021-10-09T14:47:50.689Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-09T14:47:50.689Z] ---> Running in 9c8c20b63d47 [2021-10-09T14:47:51.264Z] Removing intermediate container 9c8c20b63d47 [2021-10-09T14:47:51.264Z] ---> 41605daf7ef5 [2021-10-09T14:47:51.264Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-09T14:47:51.264Z] ---> Running in f3f2d1ffeb22 [2021-10-09T14:47:51.529Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-09T14:47:52.473Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-09T14:47:52.740Z] OK: 219 MiB in 52 packages [2021-10-09T14:47:53.002Z] Removing intermediate container f3f2d1ffeb22 [2021-10-09T14:47:53.002Z] ---> d74068614668 [2021-10-09T14:47:53.002Z] Step 8/10 : COPY . . [2021-10-09T14:47:53.264Z] ---> 343dd391f8af [2021-10-09T14:47:53.264Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-09T14:47:53.264Z] ---> Running in 8ba859a091ff [2021-10-09T14:48:01.192Z] Removing intermediate container c7251c9a6012 [2021-10-09T14:48:01.192Z] ---> 11201727aaab [2021-10-09T14:48:01.192Z] Step 10/10 : RUN ${MAKE} [2021-10-09T14:48:01.192Z] ---> Running in f007aeac6cc3 [2021-10-09T14:48:01.192Z] noop [2021-10-09T14:48:01.192Z] Removing intermediate container f007aeac6cc3 [2021-10-09T14:48:01.192Z] ---> 207256b9a79b [2021-10-09T14:48:01.192Z] Successfully built 207256b9a79b [2021-10-09T14:48:01.192Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:48:01.546Z] + docker inspect -f . ci-base-image-arm64 [2021-10-09T14:48:01.546Z] . [Pipeline] withDockerContainer [2021-10-09T14:48:01.833Z] prd-ubuntu18.04-docker-arm64-4c-16g-245 does not seem to be running inside a container [2021-10-09T14:48:01.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-09T14:48:03.684Z] $ docker top 3f1a04f56af4183213377e3a4a26b664918fe5a52fa0dc574fea84dae36b14c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-09T14:48:04.712Z] + go version [2021-10-09T14:48:04.712Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-09T14:48:04.737Z] $ docker stop --time=1 3f1a04f56af4183213377e3a4a26b664918fe5a52fa0dc574fea84dae36b14c8 [2021-10-09T14:48:06.631Z] $ docker rm -f 3f1a04f56af4183213377e3a4a26b664918fe5a52fa0dc574fea84dae36b14c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:48:07.391Z] + docker inspect -f . ci-base-image-arm64 [2021-10-09T14:48:07.391Z] . [Pipeline] withDockerContainer [2021-10-09T14:48:07.683Z] prd-ubuntu18.04-docker-arm64-4c-16g-245 does not seem to be running inside a container [2021-10-09T14:48:07.781Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-09T14:48:09.489Z] $ docker top 5525502ab34265dd062aaee49da45ef6afa27633a58d87e685fdf34f3f8cb9aa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-09T14:48:10.528Z] + make test [2021-10-09T14:48:10.528Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-09T14:48:25.472Z] Removing intermediate container 8ba859a091ff [2021-10-09T14:48:25.472Z] ---> 805fdea5c5cd [2021-10-09T14:48:25.472Z] Step 10/10 : RUN ${MAKE} [2021-10-09T14:48:25.472Z] ---> Running in 20a48998a44d [2021-10-09T14:48:25.472Z] noop [2021-10-09T14:48:25.472Z] Removing intermediate container 20a48998a44d [2021-10-09T14:48:25.472Z] ---> 9f1437b4dba6 [2021-10-09T14:48:25.472Z] Successfully built 9f1437b4dba6 [2021-10-09T14:48:25.472Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:48:25.772Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-09T14:48:25.772Z] . [Pipeline] withDockerContainer [2021-10-09T14:48:25.847Z] prd-centos7-docker-4c-2g-247 does not seem to be running inside a container [2021-10-09T14:48:25.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-09T14:48:26.254Z] $ docker top 284086adbc83e193097c381bf6b03beea9d952e8652ce63b31a78ab4f8af62cd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-09T14:48:26.626Z] + go version [2021-10-09T14:48:26.626Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-09T14:48:26.638Z] $ docker stop --time=1 284086adbc83e193097c381bf6b03beea9d952e8652ce63b31a78ab4f8af62cd [2021-10-09T14:48:27.817Z] $ docker rm -f 284086adbc83e193097c381bf6b03beea9d952e8652ce63b31a78ab4f8af62cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:48:28.396Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-09T14:48:28.396Z] . [Pipeline] withDockerContainer [2021-10-09T14:48:28.461Z] prd-centos7-docker-4c-2g-247 does not seem to be running inside a container [2021-10-09T14:48:28.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-09T14:48:28.900Z] $ docker top feafeee6d46d55cf9382bc3c20c58f9a913b497c8847b5c08f53a9fc72fc205e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-09T14:48:29.272Z] + make test [2021-10-09T14:48:29.272Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-09T14:48:34.645Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-09T14:48:43.042Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-09T14:48:56.805Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-09T14:48:56.805Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-09T14:48:56.805Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-09T14:48:59.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 23.5% of statements [2021-10-09T14:48:59.383Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-09T14:48:59.383Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 28.1% of statements [2021-10-09T14:48:59.970Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.051s coverage: 78.9% of statements [2021-10-09T14:48:59.970Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.051s coverage: 9.0% of statements [2021-10-09T14:48:59.970Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-09T14:48:59.970Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-09T14:48:59.970Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-09T14:49:00.920Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 28.7% of statements [2021-10-09T14:49:00.920Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-09T14:49:01.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.055s coverage: 83.3% of statements [2021-10-09T14:49:01.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-09T14:49:01.889Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-09T14:49:01.889Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.080s coverage: 57.8% of statements [2021-10-09T14:49:03.288Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.805s coverage: 89.0% of statements [2021-10-09T14:49:03.288Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-09T14:49:03.288Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 4.9% of statements [2021-10-09T14:49:03.288Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-09T14:49:03.288Z] GO111MODULE=on go vet ./... [2021-10-09T14:49:21.444Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-09T14:49:21.444Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-09T14:49:21.444Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-09T14:49:21.454Z] $ docker stop --time=1 feafeee6d46d55cf9382bc3c20c58f9a913b497c8847b5c08f53a9fc72fc205e [2021-10-09T14:49:22.944Z] $ docker rm -f feafeee6d46d55cf9382bc3c20c58f9a913b497c8847b5c08f53a9fc72fc205e [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-09T14:49:23.372Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-09T14:49:23.603Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-09T14:49:24.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-09T14:49:24.554Z] + ls -al . [2021-10-09T14:49:24.554Z] total 264 [2021-10-09T14:49:24.554Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 9 14:49 . [2021-10-09T14:49:24.554Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 9 14:47 .. [2021-10-09T14:49:24.554Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 9 14:47 bin [2021-10-09T14:49:24.554Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 9 14:47 CHANGELOG.md [2021-10-09T14:49:24.554Z] -rw-r--r--. 1 jenkins jenkins 126432 Oct 9 14:49 coverage.out [2021-10-09T14:49:24.554Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 9 14:47 .dockerignore [2021-10-09T14:49:24.554Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 9 14:47 example [2021-10-09T14:49:24.554Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 9 14:47 .git [2021-10-09T14:49:24.554Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 9 14:47 .github [2021-10-09T14:49:24.554Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 9 14:47 .gitignore [2021-10-09T14:49:24.554Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 9 14:47 go.mod [2021-10-09T14:49:24.554Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 9 14:47 go.sum [2021-10-09T14:49:24.554Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 9 14:47 GOVERNANCE.md [2021-10-09T14:49:24.554Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 9 14:47 internal [2021-10-09T14:49:24.554Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 9 14:47 Jenkinsfile [2021-10-09T14:49:24.554Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 9 14:47 LICENSE [2021-10-09T14:49:24.554Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 9 14:47 Makefile [2021-10-09T14:49:24.554Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 9 14:47 openapi [2021-10-09T14:49:24.554Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 9 14:47 OWNERS.md [2021-10-09T14:49:24.554Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 9 14:47 pkg [2021-10-09T14:49:24.554Z] -rw-rw-r--. 1 jenkins jenkins 7646 Oct 9 14:47 README.md [2021-10-09T14:49:24.554Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 9 14:47 snap [2021-10-09T14:49:24.554Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 9 14:42 VERSION [2021-10-09T14:49:24.554Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 9 14:47 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:49:24.863Z] + 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=08a445839a8c76ed7102f6f1c463359ff8145fda --label arch=amd64 --label version=0.0.0 . [2021-10-09T14:49:24.863Z] Sending build context to Docker daemon 2.818MB [2021-10-09T14:49:24.863Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-09T14:49:24.863Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-09T14:49:24.863Z] ---> 9f1437b4dba6 [2021-10-09T14:49:24.863Z] Step 3/24 : ARG MAKE=make build [2021-10-09T14:49:24.863Z] ---> Running in de751b7d58a4 [2021-10-09T14:49:25.124Z] Removing intermediate container de751b7d58a4 [2021-10-09T14:49:25.124Z] ---> 1b7cda1933bc [2021-10-09T14:49:25.124Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-09T14:49:25.124Z] ---> Running in 934ebf273b31 [2021-10-09T14:49:25.124Z] Removing intermediate container 934ebf273b31 [2021-10-09T14:49:25.124Z] ---> a2394b41d09e [2021-10-09T14:49:25.124Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-09T14:49:25.124Z] ---> Running in d3f187a839ca [2021-10-09T14:49:25.124Z] Removing intermediate container d3f187a839ca [2021-10-09T14:49:25.124Z] ---> c17abc033e10 [2021-10-09T14:49:25.124Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-09T14:49:25.387Z] ---> Running in 2db7ca0cfa8f [2021-10-09T14:49:25.662Z] Removing intermediate container 2db7ca0cfa8f [2021-10-09T14:49:25.662Z] ---> 1d1bee6e7c49 [2021-10-09T14:49:25.662Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-09T14:49:25.662Z] ---> Running in f92018a4c0d6 [2021-10-09T14:49:25.925Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-09T14:49:26.873Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-09T14:49:27.136Z] OK: 219 MiB in 52 packages [2021-10-09T14:49:27.398Z] Removing intermediate container f92018a4c0d6 [2021-10-09T14:49:27.398Z] ---> cc206c929a8a [2021-10-09T14:49:27.398Z] Step 8/24 : COPY . . [2021-10-09T14:49:27.665Z] ---> 6a3ecb710a8f [2021-10-09T14:49:27.665Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-09T14:49:27.665Z] ---> Running in 6a7951ff8f7f [2021-10-09T14:49:28.236Z] Removing intermediate container 6a7951ff8f7f [2021-10-09T14:49:28.236Z] ---> 20c42325e612 [2021-10-09T14:49:28.236Z] Step 10/24 : RUN ${MAKE} [2021-10-09T14:49:28.236Z] ---> Running in 4cefecbadbff [2021-10-09T14:49:28.807Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-09T14:49:38.878Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-09T14:49:39.820Z] Removing intermediate container 4cefecbadbff [2021-10-09T14:49:39.820Z] ---> cdf571666132 [2021-10-09T14:49:39.820Z] Step 11/24 : FROM alpine:3.14 [2021-10-09T14:49:40.392Z] 3.14: Pulling from library/alpine [2021-10-09T14:49:40.651Z] a0d0a0d46f8b: Pulling fs layer [2021-10-09T14:49:40.916Z] a0d0a0d46f8b: Verifying Checksum [2021-10-09T14:49:40.916Z] a0d0a0d46f8b: Download complete [2021-10-09T14:49:40.916Z] a0d0a0d46f8b: Pull complete [2021-10-09T14:49:40.916Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-09T14:49:40.916Z] Status: Downloaded newer image for alpine:3.14 [2021-10-09T14:49:40.916Z] ---> 14119a10abf4 [2021-10-09T14:49:40.916Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-09T14:49:41.179Z] ---> Running in b7f7d1237842 [2021-10-09T14:49:41.179Z] Removing intermediate container b7f7d1237842 [2021-10-09T14:49:41.179Z] ---> 933e9206b5ff [2021-10-09T14:49:41.179Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-09T14:49:41.179Z] ---> Running in e9798b13410c [2021-10-09T14:49:41.751Z] Removing intermediate container e9798b13410c [2021-10-09T14:49:41.751Z] ---> 35a9cff4d7c5 [2021-10-09T14:49:41.751Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-09T14:49:41.751Z] ---> Running in db79c08be0d6 [2021-10-09T14:49:42.011Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-09T14:49:42.954Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-09T14:49:43.215Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-09T14:49:43.215Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-09T14:49:43.215Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-09T14:49:43.477Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-09T14:49:43.477Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-09T14:49:43.477Z] Executing busybox-1.33.1-r3.trigger [2021-10-09T14:49:43.477Z] OK: 8 MiB in 19 packages [2021-10-09T14:49:43.739Z] Removing intermediate container db79c08be0d6 [2021-10-09T14:49:43.739Z] ---> b7543eae5d3f [2021-10-09T14:49:43.739Z] Step 15/24 : WORKDIR / [2021-10-09T14:49:43.999Z] ---> Running in 1350de2b81f1 [2021-10-09T14:49:43.999Z] Removing intermediate container 1350de2b81f1 [2021-10-09T14:49:43.999Z] ---> 56852979b308 [2021-10-09T14:49:43.999Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-09T14:49:43.999Z] ---> c0d4de0e8a3b [2021-10-09T14:49:43.999Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-09T14:49:44.573Z] ---> 0512a83395a2 [2021-10-09T14:49:44.573Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-09T14:49:44.573Z] ---> 533ac6b8467a [2021-10-09T14:49:44.573Z] Step 19/24 : EXPOSE 59999 [2021-10-09T14:49:44.573Z] ---> Running in 9e1987a5b54a [2021-10-09T14:49:44.573Z] Removing intermediate container 9e1987a5b54a [2021-10-09T14:49:44.573Z] ---> db581982671a [2021-10-09T14:49:44.573Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-09T14:49:44.839Z] ---> Running in c21152d6ab3d [2021-10-09T14:49:44.839Z] Removing intermediate container c21152d6ab3d [2021-10-09T14:49:44.839Z] ---> 663290176a73 [2021-10-09T14:49:44.839Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-09T14:49:44.839Z] ---> Running in 4286528e5130 [2021-10-09T14:49:44.839Z] Removing intermediate container 4286528e5130 [2021-10-09T14:49:44.839Z] ---> ab95a75c1c11 [2021-10-09T14:49:44.839Z] Step 22/24 : LABEL arch=amd64 [2021-10-09T14:49:44.839Z] ---> Running in bc73239d7404 [2021-10-09T14:49:45.100Z] Removing intermediate container bc73239d7404 [2021-10-09T14:49:45.100Z] ---> 82056b2ce543 [2021-10-09T14:49:45.100Z] Step 23/24 : LABEL git_sha=08a445839a8c76ed7102f6f1c463359ff8145fda [2021-10-09T14:49:45.100Z] ---> Running in 917473af9d3d [2021-10-09T14:49:45.100Z] Removing intermediate container 917473af9d3d [2021-10-09T14:49:45.100Z] ---> 46dfbd8aa40e [2021-10-09T14:49:45.100Z] Step 24/24 : LABEL version=0.0.0 [2021-10-09T14:49:45.100Z] ---> Running in 91e7c3293e5f [2021-10-09T14:49:45.100Z] Removing intermediate container 91e7c3293e5f [2021-10-09T14:49:45.100Z] ---> 59bfdffcc619 [2021-10-09T14:49:45.100Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-09T14:49:45.100Z] Successfully built 59bfdffcc619 [2021-10-09T14:49:45.100Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:49:45.703Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-09T14:49:45.703Z] [2021-10-09T14:49:45.703Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:49:46.006Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-09T14:49:46.006Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-09T14:49:46.006Z] b4d181a07f80: Pulling fs layer [2021-10-09T14:49:46.006Z] a1111a8f2ec3: Pulling fs layer [2021-10-09T14:49:46.006Z] ed53099fbce6: Pulling fs layer [2021-10-09T14:49:46.006Z] dc539afda2c1: Pulling fs layer [2021-10-09T14:49:46.006Z] 77bc0d833cb6: Pulling fs layer [2021-10-09T14:49:46.006Z] 9065ff56babe: Pulling fs layer [2021-10-09T14:49:46.006Z] d287ab97295c: Pulling fs layer [2021-10-09T14:49:46.006Z] 77bc0d833cb6: Waiting [2021-10-09T14:49:46.006Z] 9065ff56babe: Waiting [2021-10-09T14:49:46.006Z] d287ab97295c: Waiting [2021-10-09T14:49:46.006Z] dc539afda2c1: Waiting [2021-10-09T14:49:46.006Z] a1111a8f2ec3: Verifying Checksum [2021-10-09T14:49:46.006Z] a1111a8f2ec3: Download complete [2021-10-09T14:49:46.006Z] dc539afda2c1: Verifying Checksum [2021-10-09T14:49:46.006Z] dc539afda2c1: Download complete [2021-10-09T14:49:46.006Z] ed53099fbce6: Verifying Checksum [2021-10-09T14:49:46.006Z] ed53099fbce6: Download complete [2021-10-09T14:49:46.272Z] 9065ff56babe: Verifying Checksum [2021-10-09T14:49:46.272Z] 9065ff56babe: Download complete [2021-10-09T14:49:46.272Z] 77bc0d833cb6: Verifying Checksum [2021-10-09T14:49:46.272Z] 77bc0d833cb6: Download complete [2021-10-09T14:49:46.272Z] b4d181a07f80: Verifying Checksum [2021-10-09T14:49:46.272Z] b4d181a07f80: Download complete [2021-10-09T14:49:46.853Z] d287ab97295c: Verifying Checksum [2021-10-09T14:49:46.853Z] d287ab97295c: Download complete [2021-10-09T14:49:47.809Z] b4d181a07f80: Pull complete [2021-10-09T14:49:47.809Z] a1111a8f2ec3: Pull complete [2021-10-09T14:49:48.386Z] ed53099fbce6: Pull complete [2021-10-09T14:49:48.386Z] dc539afda2c1: Pull complete [2021-10-09T14:49:48.645Z] 77bc0d833cb6: Pull complete [2021-10-09T14:49:48.907Z] 9065ff56babe: Pull complete [2021-10-09T14:49:51.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-09T14:49:51.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-09T14:49:51.252Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-09T14:49:54.265Z] d287ab97295c: Pull complete [2021-10-09T14:49:54.265Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-09T14:49:54.265Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-09T14:49:54.265Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-09T14:49:54.327Z] prd-centos7-docker-4c-2g-247 does not seem to be running inside a container [2021-10-09T14:49:54.365Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-09T14:49:56.722Z] $ docker top 079cd6101a9a0af0788aea1cb8b5f70f592ef9bb1ec12fa337a661e15022f77d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-09T14:49:57.130Z] ---> job-cost.sh [2021-10-09T14:49:57.130Z] lf-activate-venv: SKIPPING [2021-10-09T14:49:57.130Z] INFO: No Stack... [2021-10-09T14:49:57.709Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-09T14:49:57.971Z] INFO: Archiving Costs [Pipeline] sh [2021-10-09T14:49:58.265Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-10-09T14:49:58.265Z] + cut -d, -f6 [Pipeline] lock [2021-10-09T14:49:58.292Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1027-3-stack-cost] [2021-10-09T14:49:58.300Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1027-3-stack-cost] did not exist. Created. [2021-10-09T14:49:58.300Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1027-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-09T14:49:58.613Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-09T14:49:58.648Z] Stashed 1 file(s) [Pipeline] } [2021-10-09T14:49:58.653Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1027-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-09T14:49:58.672Z] $ docker stop --time=1 079cd6101a9a0af0788aea1cb8b5f70f592ef9bb1ec12fa337a661e15022f77d [2021-10-09T14:49:59.829Z] $ docker rm -f 079cd6101a9a0af0788aea1cb8b5f70f592ef9bb1ec12fa337a661e15022f77d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-09T14:50:01.539Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.266s coverage: 23.5% of statements [2021-10-09T14:50:01.539Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-09T14:50:01.539Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.224s coverage: 28.1% of statements [2021-10-09T14:50:01.539Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.263s coverage: 78.9% of statements [2021-10-09T14:50:01.539Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.236s coverage: 9.0% of statements [2021-10-09T14:50:01.539Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-09T14:50:01.539Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-09T14:50:01.539Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-09T14:50:01.539Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.335s coverage: 28.7% of statements [2021-10-09T14:50:01.539Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-09T14:50:04.221Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.213s coverage: 83.3% of statements [2021-10-09T14:50:04.221Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-09T14:50:04.221Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-09T14:50:04.221Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.462s coverage: 57.8% of statements [2021-10-09T14:50:05.680Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.053s coverage: 89.0% of statements [2021-10-09T14:50:05.680Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-09T14:50:05.957Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.202s coverage: 4.9% of statements [2021-10-09T14:50:05.957Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-09T14:50:06.560Z] GO111MODULE=on go vet ./... [2021-10-09T14:51:03.232Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-09T14:51:03.232Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-09T14:51:03.508Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-09T14:51:05.527Z] $ docker stop --time=1 5525502ab34265dd062aaee49da45ef6afa27633a58d87e685fdf34f3f8cb9aa [2021-10-09T14:51:07.685Z] $ docker rm -f 5525502ab34265dd062aaee49da45ef6afa27633a58d87e685fdf34f3f8cb9aa [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-09T14:51:08.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-09T14:51:08.898Z] Warning: overwriting stash ‘coverage-report’ [2021-10-09T14:51:09.810Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-09T14:51:10.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-09T14:51:10.697Z] + ls -al . [2021-10-09T14:51:10.697Z] total 300 [2021-10-09T14:51:10.697Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 9 14:51 . [2021-10-09T14:51:10.697Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 14:45 .. [2021-10-09T14:51:10.697Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 9 14:45 .dockerignore [2021-10-09T14:51:10.697Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 9 14:45 .git [2021-10-09T14:51:10.697Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 14:45 .github [2021-10-09T14:51:10.697Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 9 14:45 .gitignore [2021-10-09T14:51:10.697Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 9 14:45 CHANGELOG.md [2021-10-09T14:51:10.697Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 9 14:45 GOVERNANCE.md [2021-10-09T14:51:10.697Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 9 14:45 Jenkinsfile [2021-10-09T14:51:10.697Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 9 14:45 LICENSE [2021-10-09T14:51:10.697Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 9 14:45 Makefile [2021-10-09T14:51:10.697Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 9 14:45 OWNERS.md [2021-10-09T14:51:10.697Z] -rw-rw-r-- 1 jenkins jenkins 7646 Oct 9 14:45 README.md [2021-10-09T14:51:10.697Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 9 14:42 VERSION [2021-10-09T14:51:10.697Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 9 14:45 bin [2021-10-09T14:51:10.697Z] -rw-r--r-- 1 jenkins jenkins 126432 Oct 9 14:50 coverage.out [2021-10-09T14:51:10.697Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 9 14:45 example [2021-10-09T14:51:10.697Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 9 14:45 go.mod [2021-10-09T14:51:10.697Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 9 14:45 go.sum [2021-10-09T14:51:10.697Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 9 14:45 internal [2021-10-09T14:51:10.697Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 9 14:45 openapi [2021-10-09T14:51:10.697Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 9 14:45 pkg [2021-10-09T14:51:10.697Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 9 14:45 snap [2021-10-09T14:51:10.697Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 9 14:45 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:51:11.064Z] + 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=e88f12ec1fe7a9822e57751323405cec571f1820 --label arch=arm64 --label version=0.0.0 . [2021-10-09T14:51:11.345Z] Sending build context to Docker daemon 2.807MB [2021-10-09T14:51:11.627Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-09T14:51:11.627Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-09T14:51:11.627Z] ---> 207256b9a79b [2021-10-09T14:51:11.627Z] Step 3/24 : ARG MAKE=make build [2021-10-09T14:51:11.627Z] ---> Running in e12a1c85155f [2021-10-09T14:51:12.235Z] Removing intermediate container e12a1c85155f [2021-10-09T14:51:12.235Z] ---> 545941bc01d6 [2021-10-09T14:51:12.235Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-09T14:51:12.235Z] ---> Running in c4ca48ff7c91 [2021-10-09T14:51:12.840Z] Removing intermediate container c4ca48ff7c91 [2021-10-09T14:51:12.840Z] ---> a292f2e69061 [2021-10-09T14:51:12.840Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-09T14:51:12.840Z] ---> Running in 469c5fe8807a [2021-10-09T14:51:13.448Z] Removing intermediate container 469c5fe8807a [2021-10-09T14:51:13.448Z] ---> 6ccecac30a37 [2021-10-09T14:51:13.448Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-09T14:51:13.448Z] ---> Running in 5e2782db4208 [2021-10-09T14:51:16.129Z] Removing intermediate container 5e2782db4208 [2021-10-09T14:51:16.129Z] ---> 1f24bf141aa9 [2021-10-09T14:51:16.129Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-09T14:51:16.129Z] ---> Running in 084edefae763 [2021-10-09T14:51:17.117Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-09T14:51:18.101Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-09T14:51:18.706Z] OK: 218 MiB in 52 packages [2021-10-09T14:51:20.176Z] Removing intermediate container 084edefae763 [2021-10-09T14:51:20.176Z] ---> 01bc3ce7b0a8 [2021-10-09T14:51:20.176Z] Step 8/24 : COPY . . [2021-10-09T14:51:21.165Z] ---> 226fa782bc44 [2021-10-09T14:51:21.165Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-09T14:51:21.442Z] ---> Running in 9a94c7092b38 [2021-10-09T14:51:24.083Z] Removing intermediate container 9a94c7092b38 [2021-10-09T14:51:24.083Z] ---> 17b59483c655 [2021-10-09T14:51:24.083Z] Step 10/24 : RUN ${MAKE} [2021-10-09T14:51:24.083Z] ---> Running in c704c65ab961 [2021-10-09T14:51:25.536Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-09T14:52:04.671Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-09T14:52:04.671Z] Removing intermediate container c704c65ab961 [2021-10-09T14:52:04.671Z] ---> 02cff8e1a2af [2021-10-09T14:52:04.671Z] Step 11/24 : FROM alpine:3.14 [2021-10-09T14:52:04.671Z] 3.14: Pulling from library/alpine [2021-10-09T14:52:04.671Z] 552d1f2373af: Pulling fs layer [2021-10-09T14:52:04.671Z] 552d1f2373af: Verifying Checksum [2021-10-09T14:52:04.671Z] 552d1f2373af: Download complete [2021-10-09T14:52:04.671Z] 552d1f2373af: Pull complete [2021-10-09T14:52:04.671Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-09T14:52:04.671Z] Status: Downloaded newer image for alpine:3.14 [2021-10-09T14:52:04.671Z] ---> bb3de5531c18 [2021-10-09T14:52:04.671Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-09T14:52:04.671Z] ---> Running in 9c2e164ed94c [2021-10-09T14:52:05.274Z] Removing intermediate container 9c2e164ed94c [2021-10-09T14:52:05.274Z] ---> b84266c41820 [2021-10-09T14:52:05.274Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-09T14:52:05.274Z] ---> Running in c5fd85be78a9 [2021-10-09T14:52:07.281Z] Removing intermediate container c5fd85be78a9 [2021-10-09T14:52:07.281Z] ---> e0f59536b809 [2021-10-09T14:52:07.281Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-09T14:52:07.281Z] ---> Running in c1c77dc9111e [2021-10-09T14:52:08.735Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-09T14:52:09.726Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-09T14:52:10.326Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-09T14:52:10.326Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-09T14:52:10.600Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-09T14:52:10.600Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-09T14:52:10.877Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-09T14:52:10.877Z] Executing busybox-1.33.1-r3.trigger [2021-10-09T14:52:10.877Z] OK: 8 MiB in 19 packages [2021-10-09T14:52:11.859Z] Removing intermediate container c1c77dc9111e [2021-10-09T14:52:11.859Z] ---> 0e9d992f5c76 [2021-10-09T14:52:11.859Z] Step 15/24 : WORKDIR / [2021-10-09T14:52:12.137Z] ---> Running in 831a1c86e576 [2021-10-09T14:52:12.414Z] Removing intermediate container 831a1c86e576 [2021-10-09T14:52:12.414Z] ---> 137dd976c848 [2021-10-09T14:52:12.414Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-09T14:52:13.404Z] ---> e524f0338a8b [2021-10-09T14:52:13.404Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-09T14:52:14.869Z] ---> d209b45e6dbb [2021-10-09T14:52:14.869Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-09T14:52:15.471Z] ---> b18ba5e37bd3 [2021-10-09T14:52:15.471Z] Step 19/24 : EXPOSE 59999 [2021-10-09T14:52:15.471Z] ---> Running in 001e5c1bad85 [2021-10-09T14:52:16.083Z] Removing intermediate container 001e5c1bad85 [2021-10-09T14:52:16.083Z] ---> f69b24075635 [2021-10-09T14:52:16.083Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-09T14:52:16.083Z] ---> Running in f16565c0a10b [2021-10-09T14:52:16.687Z] Removing intermediate container f16565c0a10b [2021-10-09T14:52:16.687Z] ---> 7e539771da6a [2021-10-09T14:52:16.687Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-09T14:52:16.687Z] ---> Running in 9c74051cfb57 [2021-10-09T14:52:17.289Z] Removing intermediate container 9c74051cfb57 [2021-10-09T14:52:17.289Z] ---> af81575c9ab1 [2021-10-09T14:52:17.289Z] Step 22/24 : LABEL arch=arm64 [2021-10-09T14:52:17.289Z] ---> Running in 3cea15aca544 [2021-10-09T14:52:17.892Z] Removing intermediate container 3cea15aca544 [2021-10-09T14:52:17.892Z] ---> ec69b4f227e6 [2021-10-09T14:52:17.892Z] Step 23/24 : LABEL git_sha=e88f12ec1fe7a9822e57751323405cec571f1820 [2021-10-09T14:52:17.892Z] ---> Running in 3d038a36bff9 [2021-10-09T14:52:18.494Z] Removing intermediate container 3d038a36bff9 [2021-10-09T14:52:18.494Z] ---> 7d06ec6fa3bc [2021-10-09T14:52:18.494Z] Step 24/24 : LABEL version=0.0.0 [2021-10-09T14:52:18.494Z] ---> Running in 39b3ddb9ded1 [2021-10-09T14:52:18.780Z] Removing intermediate container 39b3ddb9ded1 [2021-10-09T14:52:18.780Z] ---> 8ee928866162 [2021-10-09T14:52:18.780Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-09T14:52:19.056Z] Successfully built 8ee928866162 [2021-10-09T14:52:19.056Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:52:19.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-09T14:52:19.632Z] [2021-10-09T14:52:19.632Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:52:19.987Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-09T14:52:20.267Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-09T14:52:20.267Z] 448f6bf000e3: Pulling fs layer [2021-10-09T14:52:20.267Z] f757da607395: Pulling fs layer [2021-10-09T14:52:20.267Z] 05883995daec: Pulling fs layer [2021-10-09T14:52:20.267Z] 8603b9c90790: Pulling fs layer [2021-10-09T14:52:20.267Z] 1560dd03e051: Pulling fs layer [2021-10-09T14:52:20.267Z] 27f5ce0e4adf: Pulling fs layer [2021-10-09T14:52:20.267Z] c2d8d7efcc4b: Pulling fs layer [2021-10-09T14:52:20.267Z] 8603b9c90790: Waiting [2021-10-09T14:52:20.267Z] 1560dd03e051: Waiting [2021-10-09T14:52:20.267Z] c2d8d7efcc4b: Waiting [2021-10-09T14:52:20.267Z] 27f5ce0e4adf: Waiting [2021-10-09T14:52:20.267Z] f757da607395: Verifying Checksum [2021-10-09T14:52:20.267Z] f757da607395: Download complete [2021-10-09T14:52:20.548Z] 8603b9c90790: Verifying Checksum [2021-10-09T14:52:20.548Z] 1560dd03e051: Verifying Checksum [2021-10-09T14:52:20.548Z] 1560dd03e051: Download complete [2021-10-09T14:52:20.548Z] 05883995daec: Verifying Checksum [2021-10-09T14:52:20.548Z] 05883995daec: Download complete [2021-10-09T14:52:20.548Z] 27f5ce0e4adf: Verifying Checksum [2021-10-09T14:52:20.548Z] 27f5ce0e4adf: Download complete [2021-10-09T14:52:21.160Z] 448f6bf000e3: Verifying Checksum [2021-10-09T14:52:21.160Z] 448f6bf000e3: Download complete [2021-10-09T14:52:23.836Z] c2d8d7efcc4b: Verifying Checksum [2021-10-09T14:52:23.836Z] c2d8d7efcc4b: Download complete [2021-10-09T14:52:24.443Z] 448f6bf000e3: Pull complete [2021-10-09T14:52:25.466Z] f757da607395: Pull complete [2021-10-09T14:52:26.924Z] 05883995daec: Pull complete [2021-10-09T14:52:27.204Z] 8603b9c90790: Pull complete [2021-10-09T14:52:28.195Z] 1560dd03e051: Pull complete [2021-10-09T14:52:28.473Z] 27f5ce0e4adf: Pull complete [2021-10-09T14:52:43.623Z] c2d8d7efcc4b: Pull complete [2021-10-09T14:52:43.623Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-09T14:52:43.623Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-09T14:52:43.623Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-09T14:52:43.910Z] prd-ubuntu18.04-docker-arm64-4c-16g-245 does not seem to be running inside a container [2021-10-09T14:52:43.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-09T14:52:47.604Z] $ docker top 81a85dd45fd118403dec8d738d0bc7990b9f5af28d23f30b7a98f97a00352642 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-09T14:52:48.611Z] ---> job-cost.sh [2021-10-09T14:52:48.611Z] lf-activate-venv: SKIPPING [2021-10-09T14:52:48.611Z] INFO: No Stack... [2021-10-09T14:52:49.602Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-09T14:52:49.878Z] INFO: Archiving Costs [Pipeline] sh [2021-10-09T14:52:50.554Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-10-09T14:52:50.554Z] + cut -d, -f6 [Pipeline] lock [2021-10-09T14:52:50.624Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1027-3-stack-cost] [2021-10-09T14:52:50.629Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1027-3-stack-cost] did not exist. Created. [2021-10-09T14:52:50.629Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1027-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-09T14:52:51.324Z] /w/workspace/device-sdk-go/3@tmp/durable-18cee157/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-18cee157/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-09T14:52:52.015Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-09T14:52:52.042Z] Warning: overwriting stash ‘stack-cost’ [2021-10-09T14:52:52.106Z] Stashed 1 file(s) [Pipeline] } [2021-10-09T14:52:52.112Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1027-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-09T14:52:52.119Z] $ docker stop --time=1 81a85dd45fd118403dec8d738d0bc7990b9f5af28d23f30b7a98f97a00352642 [2021-10-09T14:52:53.825Z] $ docker rm -f 81a85dd45fd118403dec8d738d0bc7990b9f5af28d23f30b7a98f97a00352642 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-10-09T14:52:54.491Z] provisioning config files... [2021-10-09T14:52:54.499Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp/config2286866155085075571tmp [Pipeline] { [Pipeline] sh [2021-10-09T14:52:54.806Z] + set +x [2021-10-09T14:52:54.806Z] + curl -s https://codecov.io/bash [2021-10-09T14:52:54.806Z] + bash -s -- [2021-10-09T14:52:54.806Z] [2021-10-09T14:52:54.806Z] _____ _ [2021-10-09T14:52:54.806Z] / ____| | | [2021-10-09T14:52:54.806Z] | | ___ __| | ___ ___ _____ __ [2021-10-09T14:52:54.806Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-09T14:52:54.806Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-09T14:52:54.806Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-09T14:52:54.806Z] Bash-1.0.6 [2021-10-09T14:52:54.806Z] [2021-10-09T14:52:54.806Z] [2021-10-09T14:52:54.806Z] ==> git version 2.24.4 found [2021-10-09T14:52:54.806Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-10-09T14:52:54.806Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-09T14:52:54.806Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-09T14:52:54.806Z] ==> Jenkins CI detected. [2021-10-09T14:52:54.806Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1027 [2021-10-09T14:52:54.806Z] project root: . [2021-10-09T14:52:54.806Z] --> token set from env [2021-10-09T14:52:54.806Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-09T14:52:54.806Z] ==> Running gcov in . (disable via -X gcov) [2021-10-09T14:52:54.806Z] ==> Python coveragepy not found [2021-10-09T14:52:54.806Z] ==> Searching for coverage reports in: [2021-10-09T14:52:54.806Z] + . [2021-10-09T14:52:54.806Z] -> Found 1 reports [2021-10-09T14:52:54.806Z] ==> Detecting git/mercurial file structure [2021-10-09T14:52:54.806Z] ==> Reading reports [2021-10-09T14:52:54.806Z] + ./coverage.out bytes=126432 [2021-10-09T14:52:54.806Z] ==> Appending adjustments [2021-10-09T14:52:54.806Z] https://docs.codecov.io/docs/fixing-reports [2021-10-09T14:52:55.068Z] + Found adjustments [2021-10-09T14:52:55.068Z] ==> Gzipping contents [2021-10-09T14:52:55.068Z] 16K /tmp/codecov.mmB4g8.gz [2021-10-09T14:52:55.068Z] ==> Uploading reports [2021-10-09T14:52:55.068Z] url: https://codecov.io [2021-10-09T14:52:55.068Z] query: branch=PR-1027&commit=8578d2c14e55013ba35e81bfd681e253ba966b26&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1027%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1027&job=&cmd_args= [2021-10-09T14:52:55.068Z] -> Pinging Codecov [2021-10-09T14:52:55.068Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1027&commit=8578d2c14e55013ba35e81bfd681e253ba966b26&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1027%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1027&job=&cmd_args= [2021-10-09T14:52:55.644Z] -> Uploading to [2021-10-09T14:52:55.644Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-09/7E55EF52A471D76F132DFD9A03CDDE97/8578d2c14e55013ba35e81bfd681e253ba966b26/28a5b875-df61-4d27-b044-fb2bad11032e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211009%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211009T145255Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c50f77d6fcbcdd2901f5e5b27d0b8fc69fb402ac37e98443c778da2ad957690f [2021-10-09T14:52:55.644Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-09T14:52:55.644Z] Dload Upload Total Spent Left Speed [2021-10-09T14:52:55.644Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16107 0 0 100 16107 0 57031 --:--:-- --:--:-- --:--:-- 56915 100 16107 0 0 100 16107 0 57005 --:--:-- --:--:-- --:--:-- 56915 [2021-10-09T14:52:55.905Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8578d2c14e55013ba35e81bfd681e253ba966b26 [Pipeline] } [2021-10-09T14:52:55.912Z] 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-09T14:52:57.043Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1027/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-09T14:52:57.348Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-09T14:52:57.913Z] ---> package-listing.sh [2021-10-09T14:52:57.913Z] ++ facter osfamily [2021-10-09T14:52:57.913Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-09T14:52:58.181Z] + OS_FAMILY=redhat [2021-10-09T14:52:58.181Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1027 [2021-10-09T14:52:58.181Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-09T14:52:58.181Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-09T14:52:58.181Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-09T14:52:58.181Z] + PACKAGES=/tmp/packages_start.txt [2021-10-09T14:52:58.181Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1027 ']' [2021-10-09T14:52:58.181Z] + PACKAGES=/tmp/packages_end.txt [2021-10-09T14:52:58.181Z] + case "${OS_FAMILY}" in [2021-10-09T14:52:58.181Z] + sort [2021-10-09T14:52:58.181Z] + rpm -qa [2021-10-09T14:52:58.764Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-09T14:52:58.764Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-09T14:52:58.764Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-09T14:52:58.765Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1027 ']' [2021-10-09T14:52:58.765Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1027/archives/ [2021-10-09T14:52:58.765Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1027/archives/ [Pipeline] echo [2021-10-09T14:52:58.789Z] 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-1027/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-09T14:52:59.083Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:52:59.647Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-09T14:52:59.647Z] [2021-10-09T14:52:59.647Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-09T14:52:59.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-09T14:52:59.965Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-09T14:52:59.965Z] b4d181a07f80: Pulling fs layer [2021-10-09T14:52:59.965Z] a1111a8f2ec3: Pulling fs layer [2021-10-09T14:52:59.965Z] ed53099fbce6: Pulling fs layer [2021-10-09T14:52:59.965Z] dc539afda2c1: Pulling fs layer [2021-10-09T14:52:59.965Z] 77bc0d833cb6: Pulling fs layer [2021-10-09T14:52:59.965Z] 9065ff56babe: Pulling fs layer [2021-10-09T14:52:59.965Z] d287ab97295c: Pulling fs layer [2021-10-09T14:52:59.965Z] dc539afda2c1: Waiting [2021-10-09T14:52:59.965Z] 77bc0d833cb6: Waiting [2021-10-09T14:52:59.965Z] 9065ff56babe: Waiting [2021-10-09T14:52:59.965Z] d287ab97295c: Waiting [2021-10-09T14:52:59.965Z] a1111a8f2ec3: Verifying Checksum [2021-10-09T14:52:59.965Z] a1111a8f2ec3: Download complete [2021-10-09T14:52:59.965Z] dc539afda2c1: Verifying Checksum [2021-10-09T14:52:59.965Z] dc539afda2c1: Download complete [2021-10-09T14:53:00.231Z] ed53099fbce6: Verifying Checksum [2021-10-09T14:53:00.231Z] ed53099fbce6: Download complete [2021-10-09T14:53:00.231Z] 77bc0d833cb6: Verifying Checksum [2021-10-09T14:53:00.231Z] 77bc0d833cb6: Download complete [2021-10-09T14:53:00.231Z] 9065ff56babe: Download complete [2021-10-09T14:53:00.231Z] b4d181a07f80: Verifying Checksum [2021-10-09T14:53:00.231Z] b4d181a07f80: Download complete [2021-10-09T14:53:00.805Z] d287ab97295c: Verifying Checksum [2021-10-09T14:53:00.805Z] d287ab97295c: Download complete [2021-10-09T14:53:01.759Z] b4d181a07f80: Pull complete [2021-10-09T14:53:02.018Z] a1111a8f2ec3: Pull complete [2021-10-09T14:53:02.281Z] ed53099fbce6: Pull complete [2021-10-09T14:53:02.281Z] dc539afda2c1: Pull complete [2021-10-09T14:53:02.862Z] 77bc0d833cb6: Pull complete [2021-10-09T14:53:02.862Z] 9065ff56babe: Pull complete [2021-10-09T14:53:08.167Z] d287ab97295c: Pull complete [2021-10-09T14:53:08.167Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-09T14:53:08.167Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-09T14:53:08.167Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-09T14:53:08.231Z] prd-centos7-docker-4c-2g-242 does not seem to be running inside a container [2021-10-09T14:53:08.266Z] $ 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-1027/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-1027 -v /w/workspace/gexfoundry_device-sdk-go_PR-1027:/w/workspace/gexfoundry_device-sdk-go_PR-1027:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-09T14:53:10.527Z] $ docker top acc625f8b00d3b15e4c2248f614fecaa0f1e4eccfea4f22a58d537a37b372a3e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-09T14:53:10.889Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-09T14:53:11.181Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-09T14:53:11.475Z] + ls /var/log/sa-host [2021-10-09T14:53:11.475Z] + sadf -c /var/log/sa-host/sa09 [2021-10-09T14:53:11.475Z] file_magic: OK [2021-10-09T14:53:11.475Z] HZ: Using current value: 100 [2021-10-09T14:53:11.475Z] file_header: OK [2021-10-09T14:53:11.475Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-09T14:53:11.475Z] Statistics: [2021-10-09T14:53:11.475Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-09T14:53:11.475Z] File successfully converted to sysstat format version 12.0.3 [2021-10-09T14:53:11.475Z] + sadf -c /var/log/sa-host/sa30 [2021-10-09T14:53:11.475Z] file_magic: OK [2021-10-09T14:53:11.475Z] HZ: Using current value: 100 [2021-10-09T14:53:11.475Z] file_header: OK [2021-10-09T14:53:11.475Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-09T14:53:11.475Z] Statistics: [2021-10-09T14:53:11.475Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-09T14:53:11.475Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-09T14:53:11.556Z] provisioning config files... [2021-10-09T14:53:11.565Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1027@tmp/config3797243845113082849tmp [Pipeline] { [Pipeline] echo [2021-10-09T14:53:11.578Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-09T14:53:11.865Z] ---> create-netrc.sh [Pipeline] } [2021-10-09T14:53:11.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-09T14:53:12.219Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-09T14:53:12.230Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-09T14:53:12.534Z] ---> sudo-logs.sh [2021-10-09T14:53:12.534Z] Archiving 'sudo' log.. [2021-10-09T14:53:12.534Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-242.novalocal: Name or service not known [2021-10-09T14:53:12.534Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-242.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-09T14:53:12.560Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-09T14:53:12.850Z] ---> job-cost.sh [2021-10-09T14:53:12.850Z] lf-activate-venv: SKIPPING [2021-10-09T14:53:12.850Z] DEBUG: total: 0.10999999940395355 [2021-10-09T14:53:12.850Z] INFO: Retrieving Stack Cost... [2021-10-09T14:53:13.111Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-09T14:53:13.680Z] INFO: Archiving Costs [Pipeline] echo [2021-10-09T14:53:13.694Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-09T14:53:13.983Z] ---> logs-deploy.sh [2021-10-09T14:53:13.983Z] lf-activate-venv: SKIPPING [2021-10-09T14:53:13.983Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1027/3 [2021-10-09T14:53:13.983Z] INFO: archiving workspace using pattern(s): [2021-10-09T14:53:14.554Z] Archives upload complete. [2021-10-09T14:53:14.815Z] INFO: archiving logs to Nexus