Pull request #1068 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c+4b2e95d20a613354a099f2d3b470b286784662ba (b06815760c4a2f21905cafd9f24df764bbf1bfaf) 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-ssh8898012711165105145.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh4378798225609237144.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-1068/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-1068/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5643611625395268042.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh8835222286821862900.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-1068/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-1068/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1206636119893667841.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-541 in /w/workspace/gexfoundry_device-sdk-go_PR-1068 [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-1068 # 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-1068@tmp/jenkins-gitclient-ssh8062289613330361237.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4b2e95d20a613354a099f2d3b470b286784662ba into PR head commit 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c Merge succeeded, producing 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c Checking out Revision 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c (PR-1068) > 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-1068@tmp/jenkins-gitclient-ssh8503993172156636519.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1068/head:refs/remotes/origin/PR-1068 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c # 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-1068@tmp/jenkins-gitclient-ssh5550498600634197256.key > git merge 4b2e95d20a613354a099f2d3b470b286784662ba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c # timeout=10 Commit message: "docs: Correct document links in README" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-14T13:33:51.777Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-14T13:33:51.815Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-14T13:33:51.828Z] ========================================================= [2021-11-14T13:33:51.828Z] EdgeX Global Pipelines Version Info [2021-11-14T13:33:51.828Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-14T13:33:52.964Z] ------------------- [2021-11-14T13:33:52.964Z] stable info: [2021-11-14T13:33:52.964Z] ------------------- [2021-11-14T13:33:52.964Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-14T13:33:52.964Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-14T13:33:52.964Z] Message: update stable to v1.0.215 [2021-11-14T13:33:53.538Z] ------------------- [2021-11-14T13:33:53.538Z] experimental info: [2021-11-14T13:33:53.538Z] ------------------- [2021-11-14T13:33:53.538Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-14T13:33:53.538Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-14T13:33:53.538Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-14T13:33:53.619Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-14T13:33:53.631Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-14T13:33:53.645Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-14T13:33:53.655Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-14T13:33:53.668Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-14T13:33:53.679Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-14T13:33:53.696Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-14T13:33:53.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-14T13:33:53.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-14T13:33:53.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-14T13:33:53.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-14T13:33:53.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-14T13:33:53.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-14T13:33:53.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-14T13:33:53.799Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-14T13:33:53.812Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-14T13:33:53.827Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-14T13:33:53.842Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-14T13:33:53.858Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-14T13:33:53.873Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-14T13:33:53.884Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-14T13:33:53.899Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-14T13:33:53.912Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-14T13:33:53.922Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-14T13:33:53.934Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-14T13:33:53.945Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-14T13:33:53.960Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1068 [Pipeline] echo [2021-11-14T13:33:53.971Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1068 [Pipeline] echo [2021-11-14T13:33:53.982Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1068 [Pipeline] echo [2021-11-14T13:33:53.995Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c [Pipeline] echo [2021-11-14T13:33:54.007Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 588dc1c [Pipeline] echo [2021-11-14T13:33:54.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-14T13:33:54.069Z] provisioning config files... [2021-11-14T13:33:54.087Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1068@tmp/config443365694226535531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-14T13:33:54.411Z] ---> docker-login.sh [2021-11-14T13:33:54.411Z] nexus3.edgexfoundry.org:10001 [2021-11-14T13:33:54.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:33:54.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:33:54.675Z] Configure a credential helper to remove this warning. See [2021-11-14T13:33:54.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:33:54.675Z] [2021-11-14T13:33:54.675Z] Login Succeeded [2021-11-14T13:33:54.675Z] nexus3.edgexfoundry.org:10002 [2021-11-14T13:33:54.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:33:54.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:33:54.675Z] Configure a credential helper to remove this warning. See [2021-11-14T13:33:54.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:33:54.675Z] [2021-11-14T13:33:54.675Z] Login Succeeded [2021-11-14T13:33:54.675Z] nexus3.edgexfoundry.org:10003 [2021-11-14T13:33:54.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:33:54.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:33:54.936Z] Configure a credential helper to remove this warning. See [2021-11-14T13:33:54.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:33:54.936Z] [2021-11-14T13:33:54.936Z] Login Succeeded [2021-11-14T13:33:54.936Z] nexus3.edgexfoundry.org:10004 [2021-11-14T13:33:54.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:33:54.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:33:54.936Z] Configure a credential helper to remove this warning. See [2021-11-14T13:33:54.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:33:54.936Z] [2021-11-14T13:33:54.936Z] Login Succeeded [2021-11-14T13:33:54.936Z] docker.io [2021-11-14T13:33:54.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:33:55.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:33:55.513Z] Configure a credential helper to remove this warning. See [2021-11-14T13:33:55.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:33:55.513Z] [2021-11-14T13:33:55.514Z] Login Succeeded [2021-11-14T13:33:55.514Z] ---> docker-login.sh ends [Pipeline] } [2021-11-14T13:33:55.522Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-14T13:33:55.958Z] + git rev-list -1 --merges 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c~1..588dc1c07987c9eca8e7510dc0cc6f7249bdc82c [Pipeline] echo [2021-11-14T13:33:55.998Z] -----------> git rev-list -1 --merges 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c~1..588dc1c07987c9eca8e7510dc0cc6f7249bdc82c 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c [false] [Pipeline] sh [2021-11-14T13:33:56.293Z] + git log --format=format:%s -1 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c [Pipeline] echo [2021-11-14T13:33:56.309Z] ========================================================= [2021-11-14T13:33:56.309Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-14T13:33:56.309Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-14T13:33:56.649Z] + git log --format=format:%s -1 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c [Pipeline] echo [2021-11-14T13:33:56.661Z] [semverPrep] GIT_COMMIT: 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c, Commit Message: docs: Correct document links in README [Pipeline] echo [2021-11-14T13:33:56.669Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:33:57.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-14T13:33:57.105Z] [2021-11-14T13:33:57.105Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:33:57.423Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-14T13:33:57.423Z] latest: Pulling from edgex-devops/git-semver [2021-11-14T13:33:57.423Z] a0d0a0d46f8b: Pulling fs layer [2021-11-14T13:33:57.423Z] 3e5f54012d9b: Pulling fs layer [2021-11-14T13:33:57.423Z] 4c7163046ea9: Pulling fs layer [2021-11-14T13:33:57.423Z] 0c2d73faf560: Pulling fs layer [2021-11-14T13:33:57.423Z] 0c2d73faf560: Waiting [2021-11-14T13:33:57.423Z] 3e5f54012d9b: Verifying Checksum [2021-11-14T13:33:57.423Z] 3e5f54012d9b: Download complete [2021-11-14T13:33:57.423Z] a0d0a0d46f8b: Verifying Checksum [2021-11-14T13:33:57.423Z] a0d0a0d46f8b: Download complete [2021-11-14T13:33:57.423Z] 4c7163046ea9: Verifying Checksum [2021-11-14T13:33:57.423Z] 4c7163046ea9: Download complete [2021-11-14T13:33:57.423Z] 0c2d73faf560: Verifying Checksum [2021-11-14T13:33:57.423Z] 0c2d73faf560: Download complete [2021-11-14T13:33:57.691Z] a0d0a0d46f8b: Pull complete [2021-11-14T13:33:57.691Z] 3e5f54012d9b: Pull complete [2021-11-14T13:33:57.972Z] 4c7163046ea9: Pull complete [2021-11-14T13:33:58.235Z] 0c2d73faf560: Pull complete [2021-11-14T13:33:58.235Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-14T13:33:58.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-14T13:33:58.235Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-14T13:33:58.321Z] prd-centos7-docker-4c-2g-541 does not seem to be running inside a container [2021-11-14T13:33:58.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1068 -v /w/workspace/gexfoundry_device-sdk-go_PR-1068:/w/workspace/gexfoundry_device-sdk-go_PR-1068:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1068@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1068@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-14T13:33:59.029Z] $ docker top 19a0f8f439ef3f3be4656ee5967d384fce091ff3276a6aa5b8f23b7ed01752e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-14T13:33:59.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-14T13:33:59.125Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-14T13:33:59.224Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-14T13:33:59.226Z] $ docker exec 19a0f8f439ef3f3be4656ee5967d384fce091ff3276a6aa5b8f23b7ed01752e0 ssh-agent [2021-11-14T13:33:59.316Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpOLBLk/agent.13 [2021-11-14T13:33:59.316Z] SSH_AGENT_PID=19 [2021-11-14T13:33:59.323Z] Running ssh-add (command line suppressed) [2021-11-14T13:33:59.403Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1068@tmp/private_key_5504973988747897270.key (/w/workspace/gexfoundry_device-sdk-go_PR-1068@tmp/private_key_5504973988747897270.key) [2021-11-14T13:33:59.417Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-14T13:33:59.708Z] + git tag --points-at HEAD [Pipeline] } [2021-11-14T13:33:59.718Z] $ docker exec --env ******** --env ******** 19a0f8f439ef3f3be4656ee5967d384fce091ff3276a6aa5b8f23b7ed01752e0 ssh-agent -k [2021-11-14T13:33:59.807Z] unset SSH_AUTH_SOCK; [2021-11-14T13:33:59.807Z] unset SSH_AGENT_PID; [2021-11-14T13:33:59.807Z] echo Agent pid 19 killed; [2021-11-14T13:33:59.813Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-14T13:33:59.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-14T13:33:59.842Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-14T13:33:59.952Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-14T13:33:59.954Z] $ docker exec 19a0f8f439ef3f3be4656ee5967d384fce091ff3276a6aa5b8f23b7ed01752e0 ssh-agent [2021-11-14T13:34:00.053Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGGpnnh/agent.52 [2021-11-14T13:34:00.053Z] SSH_AGENT_PID=58 [2021-11-14T13:34:00.060Z] Running ssh-add (command line suppressed) [2021-11-14T13:34:00.156Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1068@tmp/private_key_3526915545305196573.key (/w/workspace/gexfoundry_device-sdk-go_PR-1068@tmp/private_key_3526915545305196573.key) [2021-11-14T13:34:00.168Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-14T13:34:00.465Z] + git semver init [2021-11-14T13:34:00.465Z] # -> Open(): unable to determine branch for HEAD [2021-11-14T13:34:00.465Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1068/.git [2021-11-14T13:34:00.465Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1068 [2021-11-14T13:34:00.465Z] # $SEMVER_REMOTE_NAME = origin [2021-11-14T13:34:00.465Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-14T13:34:00.465Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-14T13:34:00.465Z] # $SEMVER_BRANCH = PR-1068 [2021-11-14T13:34:00.465Z] # $SEMVER_TEMP = /tmp/semver-278538655 [2021-11-14T13:34:00.465Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-14T13:34:01.412Z] # '/tmp/semver-278538655' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1068/.semver' [2021-11-14T13:34:01.412Z] # -> Force: false [2021-11-14T13:34:01.412Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1068/.semver [Pipeline] } [2021-11-14T13:34:01.420Z] $ docker exec --env ******** --env ******** 19a0f8f439ef3f3be4656ee5967d384fce091ff3276a6aa5b8f23b7ed01752e0 ssh-agent -k [2021-11-14T13:34:01.518Z] unset SSH_AUTH_SOCK; [2021-11-14T13:34:01.518Z] unset SSH_AGENT_PID; [2021-11-14T13:34:01.518Z] echo Agent pid 58 killed; [2021-11-14T13:34:01.527Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-14T13:34:01.835Z] + git semver [Pipeline] } [2021-11-14T13:34:01.848Z] $ docker stop --time=1 19a0f8f439ef3f3be4656ee5967d384fce091ff3276a6aa5b8f23b7ed01752e0 [2021-11-14T13:34:03.324Z] $ docker rm -f 19a0f8f439ef3f3be4656ee5967d384fce091ff3276a6aa5b8f23b7ed01752e0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-14T13:34:03.670Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-14T13:34:03.936Z] Stashed 1 file(s) [Pipeline] echo [2021-11-14T13:34:03.940Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-11-14T13:34:19.143Z] Still waiting to schedule task [2021-11-14T13:34:19.143Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-14T13:34:19.145Z] Still waiting to schedule task [2021-11-14T13:34:19.146Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-538’ is offline [2021-11-14T13:35:53.423Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-542 in /w/workspace/gexfoundry_device-sdk-go_PR-1068 [Pipeline] { [Pipeline] ws [2021-11-14T13:35:53.436Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-11-14T13:35:53.646Z] Selected Git installation does not exist. Using Default [2021-11-14T13:35:53.646Z] The recommended git tool is: NONE [2021-11-14T13:35:58.740Z] Running on prd-centos7-docker-4c-2g-543 in /w/workspace/gexfoundry_device-sdk-go_PR-1068 [Pipeline] { [Pipeline] ws [2021-11-14T13:35:58.753Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-11-14T13:35:58.854Z] Selected Git installation does not exist. Using Default [2021-11-14T13:35:58.854Z] The recommended git tool is: NONE [2021-11-14T13:35:58.894Z] using credential edgex-jenkins-ssh [2021-11-14T13:35:58.920Z] Cloning the remote Git repository [2021-11-14T13:35:58.917Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-14T13:35:59.011Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-11-14T13:35:59.087Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-14T13:35:59.088Z] > git --version # timeout=10 [2021-11-14T13:35:59.104Z] > git --version # 'git version 2.17.1' [2021-11-14T13:35:59.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-14T13:35:59.182Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-14T13:36:00.882Z] using credential edgex-jenkins-ssh [2021-11-14T13:36:00.894Z] Cloning the remote Git repository [2021-11-14T13:36:00.722Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-14T13:36:00.742Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-14T13:36:00.770Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-14T13:36:00.804Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-14T13:36:00.805Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-14T13:36:00.851Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1068/head:refs/remotes/origin/PR-1068 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-14T13:36:00.299Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-14T13:36:00.368Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-11-14T13:36:00.408Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-14T13:36:00.408Z] > git --version # timeout=10 [2021-11-14T13:36:00.417Z] > git --version # 'git version 2.24.4' [2021-11-14T13:36:00.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-14T13:36:01.586Z] Merging remotes/origin/main commit 4b2e95d20a613354a099f2d3b470b286784662ba into PR head commit 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c [2021-11-14T13:36:01.803Z] Merge succeeded, producing 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c [2021-11-14T13:36:01.803Z] Checking out Revision 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c (PR-1068) [2021-11-14T13:36:00.446Z] [INFO] Currently running in a labeled security context [2021-11-14T13:36:00.446Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-14T13:36:00.446Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3790257298090956637.key [2021-11-14T13:36:00.481Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-14T13:36:01.553Z] > git config core.sparsecheckout # timeout=10 [2021-11-14T13:36:01.567Z] > git checkout -f 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c # timeout=10 [2021-11-14T13:36:01.675Z] > git remote # timeout=10 [2021-11-14T13:36:01.690Z] > git config --get remote.origin.url # timeout=10 [2021-11-14T13:36:01.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-14T13:36:01.713Z] > git merge 4b2e95d20a613354a099f2d3b470b286784662ba # timeout=10 [2021-11-14T13:36:01.737Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-14T13:36:01.757Z] > git config core.sparsecheckout # timeout=10 [2021-11-14T13:36:01.772Z] > git checkout -f 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c # timeout=10 [2021-11-14T13:36:02.757Z] Merging remotes/origin/main commit 4b2e95d20a613354a099f2d3b470b286784662ba into PR head commit 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c [2021-11-14T13:36:02.854Z] Merge succeeded, producing 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c [2021-11-14T13:36:02.855Z] Checking out Revision 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c (PR-1068) [2021-11-14T13:36:01.582Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-14T13:36:01.600Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-14T13:36:01.616Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-14T13:36:01.634Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-14T13:36:01.634Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-14T13:36:01.635Z] [INFO] Currently running in a labeled security context [2021-11-14T13:36:01.635Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-14T13:36:01.635Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh2039208398862160143.key [2021-11-14T13:36:01.648Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1068/head:refs/remotes/origin/PR-1068 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-14T13:36:02.288Z] > git config core.sparsecheckout # timeout=10 [2021-11-14T13:36:02.295Z] > git checkout -f 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c # timeout=10 [2021-11-14T13:36:02.334Z] > git remote # timeout=10 [2021-11-14T13:36:02.346Z] > git config --get remote.origin.url # timeout=10 [2021-11-14T13:36:02.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-14T13:36:02.355Z] [INFO] Currently running in a labeled security context [2021-11-14T13:36:02.355Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-14T13:36:02.355Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh8949953479697946194.key [2021-11-14T13:36:02.360Z] > git merge 4b2e95d20a613354a099f2d3b470b286784662ba # timeout=10 [2021-11-14T13:36:02.373Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-14T13:36:02.386Z] > git config core.sparsecheckout # timeout=10 [2021-11-14T13:36:02.393Z] > git checkout -f 588dc1c07987c9eca8e7510dc0cc6f7249bdc82c # timeout=10 [2021-11-14T13:36:05.978Z] Commit message: "docs: Correct document links in README" [2021-11-14T13:36:06.127Z] Commit message: "docs: Correct document links in README" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-14T13:36:06.623Z] provisioning config files... [2021-11-14T13:36:06.637Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6491063444453575094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-14T13:36:06.905Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-14T13:36:06.905Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-14T13:36:06.905Z] Dload Upload Total Spent Left Speed [2021-11-14T13:36:06.905Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 74835 0 --:--:-- --:--:-- --:--:-- 74835 [Pipeline] sh [2021-11-14T13:36:07.004Z] ---> docker-login.sh [2021-11-14T13:36:07.004Z] nexus3.edgexfoundry.org:10001 [2021-11-14T13:36:07.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:36:07.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:36:07.265Z] Configure a credential helper to remove this warning. See [2021-11-14T13:36:07.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:36:07.265Z] [2021-11-14T13:36:07.265Z] Login Succeeded [2021-11-14T13:36:07.265Z] nexus3.edgexfoundry.org:10002 [2021-11-14T13:36:07.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:36:07.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:36:07.265Z] Configure a credential helper to remove this warning. See [2021-11-14T13:36:07.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:36:07.265Z] [2021-11-14T13:36:07.265Z] Login Succeeded [2021-11-14T13:36:07.265Z] nexus3.edgexfoundry.org:10003 [2021-11-14T13:36:07.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:36:07.315Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-14T13:36:07.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:36:07.527Z] Configure a credential helper to remove this warning. See [2021-11-14T13:36:07.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:36:07.527Z] [2021-11-14T13:36:07.527Z] Login Succeeded [2021-11-14T13:36:07.527Z] nexus3.edgexfoundry.org:10004 [2021-11-14T13:36:07.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:36:07.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:36:07.527Z] Configure a credential helper to remove this warning. See [2021-11-14T13:36:07.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:36:07.527Z] [2021-11-14T13:36:07.527Z] Login Succeeded [2021-11-14T13:36:07.527Z] docker.io [2021-11-14T13:36:07.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:36:07.727Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-14T13:36:07.727Z] sudo tee /etc/docker/daemon.new [2021-11-14T13:36:07.727Z] { [2021-11-14T13:36:07.727Z] "registry-mirrors": [ [2021-11-14T13:36:07.727Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-14T13:36:07.727Z] ], [2021-11-14T13:36:07.727Z] "bip": "10.250.0.254/24", [2021-11-14T13:36:07.727Z] "hosts": [ [2021-11-14T13:36:07.727Z] "tcp://0.0.0.0:5555", [2021-11-14T13:36:07.727Z] "unix:///var/run/docker.sock" [2021-11-14T13:36:07.727Z] ], [2021-11-14T13:36:07.727Z] "mtu": 1458, [2021-11-14T13:36:07.727Z] "selinux-enabled": true, [2021-11-14T13:36:07.727Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-14T13:36:07.727Z] } [Pipeline] sh [2021-11-14T13:36:07.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:36:07.788Z] Configure a credential helper to remove this warning. See [2021-11-14T13:36:07.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:36:07.788Z] [2021-11-14T13:36:07.788Z] Login Succeeded [2021-11-14T13:36:07.818Z] ---> docker-login.sh ends [Pipeline] } [2021-11-14T13:36:07.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-14T13:36:07.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-14T13:36:07.960Z] ========================================================= [2021-11-14T13:36:07.960Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-14T13:36:07.960Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:36:08.071Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-14T13:36:08.275Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-14T13:36:08.275Z] Sending build context to Docker daemon 4.955MB [2021-11-14T13:36:08.275Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-14T13:36:08.275Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-14T13:36:08.275Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-14T13:36:08.275Z] a0d0a0d46f8b: Pulling fs layer [2021-11-14T13:36:08.275Z] 31adcdaf11c8: Pulling fs layer [2021-11-14T13:36:08.275Z] b8b176561691: Pulling fs layer [2021-11-14T13:36:08.275Z] 4527c011a84f: Pulling fs layer [2021-11-14T13:36:08.275Z] 5d74067f8e1e: Pulling fs layer [2021-11-14T13:36:08.275Z] e0aca202a116: Pulling fs layer [2021-11-14T13:36:08.275Z] 3a43be97a3b4: Pulling fs layer [2021-11-14T13:36:08.275Z] 34cad66bf833: Pulling fs layer [2021-11-14T13:36:08.275Z] b4e3c513aaa6: Pulling fs layer [2021-11-14T13:36:08.275Z] 4527c011a84f: Waiting [2021-11-14T13:36:08.275Z] 5d74067f8e1e: Waiting [2021-11-14T13:36:08.275Z] e0aca202a116: Waiting [2021-11-14T13:36:08.275Z] 3a43be97a3b4: Waiting [2021-11-14T13:36:08.275Z] 34cad66bf833: Waiting [2021-11-14T13:36:08.275Z] b4e3c513aaa6: Waiting [2021-11-14T13:36:08.275Z] b8b176561691: Verifying Checksum [2021-11-14T13:36:08.275Z] b8b176561691: Download complete [2021-11-14T13:36:08.275Z] 31adcdaf11c8: Verifying Checksum [2021-11-14T13:36:08.275Z] 31adcdaf11c8: Download complete [2021-11-14T13:36:08.416Z] + sudo service docker restart [2021-11-14T13:36:08.537Z] 5d74067f8e1e: Verifying Checksum [2021-11-14T13:36:08.537Z] 5d74067f8e1e: Download complete [2021-11-14T13:36:08.537Z] e0aca202a116: Verifying Checksum [2021-11-14T13:36:08.537Z] e0aca202a116: Download complete [2021-11-14T13:36:08.537Z] a0d0a0d46f8b: Verifying Checksum [2021-11-14T13:36:08.537Z] a0d0a0d46f8b: Download complete [2021-11-14T13:36:08.537Z] 3a43be97a3b4: Verifying Checksum [2021-11-14T13:36:08.537Z] 3a43be97a3b4: Download complete [2021-11-14T13:36:08.537Z] 34cad66bf833: Verifying Checksum [2021-11-14T13:36:08.537Z] 34cad66bf833: Download complete [2021-11-14T13:36:08.805Z] a0d0a0d46f8b: Pull complete [2021-11-14T13:36:09.065Z] 4527c011a84f: Verifying Checksum [2021-11-14T13:36:09.065Z] 4527c011a84f: Download complete [2021-11-14T13:36:09.065Z] 31adcdaf11c8: Pull complete [2021-11-14T13:36:09.065Z] b8b176561691: Pull complete [2021-11-14T13:36:09.065Z] b4e3c513aaa6: Verifying Checksum [2021-11-14T13:36:09.065Z] b4e3c513aaa6: Download complete [2021-11-14T13:36:13.305Z] 4527c011a84f: Pull complete [2021-11-14T13:36:13.305Z] 5d74067f8e1e: Pull complete [2021-11-14T13:36:13.305Z] e0aca202a116: Pull complete [2021-11-14T13:36:13.305Z] 3a43be97a3b4: Pull complete [2021-11-14T13:36:13.305Z] 34cad66bf833: Pull complete [2021-11-14T13:36:15.860Z] b4e3c513aaa6: Pull complete [2021-11-14T13:36:15.860Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-14T13:36:15.860Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-14T13:36:15.860Z] ---> 9f6097aaca64 [2021-11-14T13:36:15.860Z] Step 3/10 : ARG MAKE=make build [2021-11-14T13:36:17.799Z] ---> Running in cbaeaae3df67 [2021-11-14T13:36:17.799Z] Removing intermediate container cbaeaae3df67 [2021-11-14T13:36:17.799Z] ---> 6c82ec001891 [2021-11-14T13:36:17.799Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-14T13:36:17.799Z] ---> Running in b1890c1f20fc [2021-11-14T13:36:17.799Z] Removing intermediate container b1890c1f20fc [2021-11-14T13:36:17.799Z] ---> b3618b84a181 [2021-11-14T13:36:17.799Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-14T13:36:17.799Z] ---> Running in a50c9bde16bc [2021-11-14T13:36:17.799Z] Removing intermediate container a50c9bde16bc [2021-11-14T13:36:17.799Z] ---> 8d5e82aa046d [2021-11-14T13:36:17.799Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-14T13:36:17.799Z] ---> Running in 7dddae3fa436 [2021-11-14T13:36:18.377Z] Removing intermediate container 7dddae3fa436 [2021-11-14T13:36:18.377Z] ---> 5983196fb16d [2021-11-14T13:36:18.377Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-14T13:36:18.377Z] ---> Running in 476e9d3ce2d4 [2021-11-14T13:36:18.639Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-14T13:36:19.585Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-14T13:36:19.857Z] OK: 220 MiB in 52 packages [2021-11-14T13:36:20.133Z] Removing intermediate container 476e9d3ce2d4 [2021-11-14T13:36:20.133Z] ---> 803033f8716f [2021-11-14T13:36:20.133Z] Step 8/10 : COPY . . [2021-11-14T13:36:20.397Z] ---> 17f61f509060 [2021-11-14T13:36:20.397Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-14T13:36:20.397Z] ---> Running in a5380b8e95a0 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-14T13:36:26.770Z] provisioning config files... [2021-11-14T13:36:26.793Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4617107668368916519tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-14T13:36:27.147Z] ---> docker-login.sh [2021-11-14T13:36:27.147Z] nexus3.edgexfoundry.org:10001 [2021-11-14T13:36:27.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:36:28.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:36:28.015Z] Configure a credential helper to remove this warning. See [2021-11-14T13:36:28.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:36:28.015Z] [2021-11-14T13:36:28.015Z] Login Succeeded [2021-11-14T13:36:28.015Z] nexus3.edgexfoundry.org:10002 [2021-11-14T13:36:28.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:36:28.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:36:28.565Z] Configure a credential helper to remove this warning. See [2021-11-14T13:36:28.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:36:28.565Z] [2021-11-14T13:36:28.565Z] Login Succeeded [2021-11-14T13:36:28.565Z] nexus3.edgexfoundry.org:10003 [2021-11-14T13:36:28.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:36:29.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:36:29.119Z] Configure a credential helper to remove this warning. See [2021-11-14T13:36:29.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:36:29.119Z] [2021-11-14T13:36:29.119Z] Login Succeeded [2021-11-14T13:36:29.119Z] nexus3.edgexfoundry.org:10004 [2021-11-14T13:36:29.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:36:29.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:36:29.662Z] Configure a credential helper to remove this warning. See [2021-11-14T13:36:29.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:36:29.662Z] [2021-11-14T13:36:29.662Z] Login Succeeded [2021-11-14T13:36:29.662Z] docker.io [2021-11-14T13:36:29.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-14T13:36:30.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-14T13:36:30.205Z] Configure a credential helper to remove this warning. See [2021-11-14T13:36:30.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-14T13:36:30.205Z] [2021-11-14T13:36:30.205Z] Login Succeeded [2021-11-14T13:36:30.477Z] ---> docker-login.sh ends [Pipeline] } [2021-11-14T13:36:30.494Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-14T13:36:30.922Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-14T13:36:30.931Z] ========================================================= [2021-11-14T13:36:30.931Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-14T13:36:30.931Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:36:31.371Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-14T13:36:31.658Z] Sending build context to Docker daemon 4.955MB [2021-11-14T13:36:31.932Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-14T13:36:31.932Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-14T13:36:31.932Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-14T13:36:31.932Z] 552d1f2373af: Pulling fs layer [2021-11-14T13:36:31.932Z] ea3f2d53f512: Pulling fs layer [2021-11-14T13:36:31.932Z] 9e70ebbbe112: Pulling fs layer [2021-11-14T13:36:31.932Z] 7a9cfe048b4a: Pulling fs layer [2021-11-14T13:36:31.932Z] 72dc09318566: Pulling fs layer [2021-11-14T13:36:31.932Z] f4f7b4309257: Pulling fs layer [2021-11-14T13:36:31.932Z] 0ac9a79272e3: Pulling fs layer [2021-11-14T13:36:31.932Z] b78e95d17946: Pulling fs layer [2021-11-14T13:36:31.932Z] 7a9cfe048b4a: Waiting [2021-11-14T13:36:31.932Z] f4f7b4309257: Waiting [2021-11-14T13:36:31.932Z] 72dc09318566: Waiting [2021-11-14T13:36:31.932Z] 0ac9a79272e3: Waiting [2021-11-14T13:36:31.932Z] b78e95d17946: Waiting [2021-11-14T13:36:31.932Z] 9e70ebbbe112: Download complete [2021-11-14T13:36:31.932Z] ea3f2d53f512: Verifying Checksum [2021-11-14T13:36:31.932Z] ea3f2d53f512: Download complete [2021-11-14T13:36:31.932Z] 72dc09318566: Verifying Checksum [2021-11-14T13:36:31.932Z] 72dc09318566: Download complete [2021-11-14T13:36:32.212Z] f4f7b4309257: Verifying Checksum [2021-11-14T13:36:32.212Z] f4f7b4309257: Download complete [2021-11-14T13:36:32.212Z] 552d1f2373af: Verifying Checksum [2021-11-14T13:36:32.212Z] 552d1f2373af: Download complete [2021-11-14T13:36:32.212Z] 0ac9a79272e3: Verifying Checksum [2021-11-14T13:36:32.212Z] 0ac9a79272e3: Download complete [2021-11-14T13:36:32.820Z] 552d1f2373af: Pull complete [2021-11-14T13:36:33.425Z] ea3f2d53f512: Pull complete [2021-11-14T13:36:33.724Z] 9e70ebbbe112: Pull complete [2021-11-14T13:36:33.999Z] b78e95d17946: Verifying Checksum [2021-11-14T13:36:33.999Z] b78e95d17946: Download complete [2021-11-14T13:36:34.595Z] 7a9cfe048b4a: Verifying Checksum [2021-11-14T13:36:34.595Z] 7a9cfe048b4a: Download complete [2021-11-14T13:36:44.744Z] 7a9cfe048b4a: Pull complete [2021-11-14T13:36:45.020Z] 72dc09318566: Pull complete [2021-11-14T13:36:45.297Z] f4f7b4309257: Pull complete [2021-11-14T13:36:45.570Z] 0ac9a79272e3: Pull complete [2021-11-14T13:36:52.309Z] b78e95d17946: Pull complete [2021-11-14T13:36:52.309Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-14T13:36:52.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-14T13:36:52.309Z] ---> 8b459fc5aaf0 [2021-11-14T13:36:52.309Z] Step 3/10 : ARG MAKE=make build [2021-11-14T13:36:52.600Z] Removing intermediate container a5380b8e95a0 [2021-11-14T13:36:52.600Z] ---> 2143b3b8ec07 [2021-11-14T13:36:52.600Z] Step 10/10 : RUN ${MAKE} [2021-11-14T13:36:52.600Z] ---> Running in 4615c736503d [2021-11-14T13:36:52.600Z] noop [2021-11-14T13:36:52.600Z] Removing intermediate container 4615c736503d [2021-11-14T13:36:52.600Z] ---> de2d6bd990a4 [2021-11-14T13:36:52.600Z] Successfully built de2d6bd990a4 [2021-11-14T13:36:52.600Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:36:52.901Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-14T13:36:52.901Z] . [2021-11-14T13:36:52.909Z] ---> Running in 47f9c0a3927f [Pipeline] withDockerContainer [2021-11-14T13:36:52.976Z] prd-centos7-docker-4c-2g-543 does not seem to be running inside a container [2021-11-14T13:36:53.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-11-14T13:36:53.181Z] Removing intermediate container 47f9c0a3927f [2021-11-14T13:36:53.181Z] ---> b27927a9eb49 [2021-11-14T13:36:53.181Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-14T13:36:53.343Z] $ docker top 62c757661fda139d29b27e53d2a22274ac289508ad50e4a0e8fee8181193c29a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-14T13:36:53.457Z] ---> Running in c905e7de7ba8 [2021-11-14T13:36:53.720Z] + go version [2021-11-14T13:36:53.721Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-14T13:36:53.730Z] Removing intermediate container c905e7de7ba8 [2021-11-14T13:36:53.730Z] ---> d604ba141cc3 [2021-11-14T13:36:53.730Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-14T13:36:53.732Z] $ docker stop --time=1 62c757661fda139d29b27e53d2a22274ac289508ad50e4a0e8fee8181193c29a [2021-11-14T13:36:54.007Z] ---> Running in a681e0213a53 [2021-11-14T13:36:54.287Z] Removing intermediate container a681e0213a53 [2021-11-14T13:36:54.287Z] ---> 5221a639807c [2021-11-14T13:36:54.287Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-14T13:36:54.559Z] ---> Running in 7d39076a7d64 [2021-11-14T13:36:54.919Z] $ docker rm -f 62c757661fda139d29b27e53d2a22274ac289508ad50e4a0e8fee8181193c29a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:36:55.436Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-14T13:36:55.436Z] . [Pipeline] withDockerContainer [2021-11-14T13:36:55.503Z] prd-centos7-docker-4c-2g-543 does not seem to be running inside a container [2021-11-14T13:36:55.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-11-14T13:36:55.856Z] $ docker top b674c6ae6cc360f2a51afc6441dd0f70261c2828c091b5be883aaefa0c1ee632 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-14T13:36:56.250Z] + make test [2021-11-14T13:36:56.250Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-14T13:36:56.537Z] Removing intermediate container 7d39076a7d64 [2021-11-14T13:36:56.537Z] ---> 7344e0ac8112 [2021-11-14T13:36:56.537Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-14T13:36:56.537Z] ---> Running in c641ae2d81f5 [2021-11-14T13:36:57.975Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-14T13:36:58.578Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-14T13:36:59.182Z] OK: 219 MiB in 52 packages [2021-11-14T13:37:00.159Z] Removing intermediate container c641ae2d81f5 [2021-11-14T13:37:00.159Z] ---> 659208917e42 [2021-11-14T13:37:00.159Z] Step 8/10 : COPY . . [2021-11-14T13:37:01.605Z] ---> 1d94efd37956 [2021-11-14T13:37:01.605Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-14T13:37:01.605Z] ---> Running in 41877052341f [2021-11-14T13:37:01.609Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-14T13:37:23.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-14T13:37:23.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-14T13:37:23.687Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-14T13:37:25.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.064s coverage: 23.3% of statements [2021-11-14T13:37:25.619Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-14T13:37:25.619Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements [2021-11-14T13:37:25.890Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.050s coverage: 78.9% of statements [2021-11-14T13:37:25.890Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.042s coverage: 9.0% of statements [2021-11-14T13:37:25.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-14T13:37:25.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-14T13:37:25.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-14T13:37:26.849Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.062s coverage: 28.7% of statements [2021-11-14T13:37:26.849Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-14T13:37:27.810Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.048s coverage: 83.3% of statements [2021-11-14T13:37:27.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-14T13:37:27.810Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-14T13:37:27.810Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 57.8% of statements [2021-11-14T13:37:29.210Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.792s coverage: 89.2% of statements [2021-11-14T13:37:29.210Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-14T13:37:29.210Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.045s coverage: 4.8% of statements [2021-11-14T13:37:29.210Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-14T13:37:29.210Z] GO111MODULE=on go vet ./... [2021-11-14T13:37:47.429Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-14T13:37:47.429Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-14T13:37:47.429Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-14T13:37:47.443Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-14T13:37:47.448Z] $ docker stop --time=1 b674c6ae6cc360f2a51afc6441dd0f70261c2828c091b5be883aaefa0c1ee632 [2021-11-14T13:37:48.880Z] $ docker rm -f b674c6ae6cc360f2a51afc6441dd0f70261c2828c091b5be883aaefa0c1ee632 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-14T13:37:49.319Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-14T13:37:49.497Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-14T13:37:50.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-14T13:37:50.957Z] + ls -al . [2021-11-14T13:37:50.957Z] total 264 [2021-11-14T13:37:50.957Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 14 13:37 . [2021-11-14T13:37:50.957Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 14 13:36 .. [2021-11-14T13:37:50.957Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 14 13:36 bin [2021-11-14T13:37:50.957Z] -rw-rw-r--. 1 jenkins jenkins 26321 Nov 14 13:36 CHANGELOG.md [2021-11-14T13:37:50.957Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 14 13:37 coverage.out [2021-11-14T13:37:50.957Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 14 13:36 .dockerignore [2021-11-14T13:37:50.957Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 14 13:36 example [2021-11-14T13:37:50.957Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 14 13:36 .git [2021-11-14T13:37:50.957Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 14 13:36 .github [2021-11-14T13:37:50.957Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 14 13:36 .gitignore [2021-11-14T13:37:50.957Z] -rw-rw-r--. 1 jenkins jenkins 576 Nov 14 13:36 go.mod [2021-11-14T13:37:50.957Z] -rw-rw-r--. 1 jenkins jenkins 48946 Nov 14 13:36 go.sum [2021-11-14T13:37:50.957Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 14 13:36 GOVERNANCE.md [2021-11-14T13:37:50.957Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 14 13:36 internal [2021-11-14T13:37:50.957Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 14 13:36 Jenkinsfile [2021-11-14T13:37:50.957Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 14 13:36 LICENSE [2021-11-14T13:37:50.957Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 14 13:36 Makefile [2021-11-14T13:37:50.957Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 14 13:36 openapi [2021-11-14T13:37:50.957Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 14 13:36 OWNERS.md [2021-11-14T13:37:50.957Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 14 13:36 pkg [2021-11-14T13:37:50.957Z] -rw-rw-r--. 1 jenkins jenkins 4881 Nov 14 13:36 README.md [2021-11-14T13:37:50.957Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 14 13:36 snap [2021-11-14T13:37:50.957Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 14 13:34 VERSION [2021-11-14T13:37:50.957Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 14 13:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:37:51.255Z] + 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=588dc1c07987c9eca8e7510dc0cc6f7249bdc82c --label arch=amd64 --label version=0.0.0 . [2021-11-14T13:37:51.255Z] Sending build context to Docker daemon 5.084MB [2021-11-14T13:37:51.255Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-14T13:37:51.255Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-14T13:37:51.255Z] ---> de2d6bd990a4 [2021-11-14T13:37:51.255Z] Step 3/24 : ARG MAKE=make build [2021-11-14T13:37:51.255Z] ---> Running in 167a779f7dec [2021-11-14T13:37:51.519Z] Removing intermediate container 167a779f7dec [2021-11-14T13:37:51.519Z] ---> c6b15218fe88 [2021-11-14T13:37:51.519Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-14T13:37:51.519Z] ---> Running in 867791e0c181 [2021-11-14T13:37:51.519Z] Removing intermediate container 867791e0c181 [2021-11-14T13:37:51.519Z] ---> 6380dc8b485e [2021-11-14T13:37:51.519Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-14T13:37:51.519Z] ---> Running in fde981935d23 [2021-11-14T13:37:51.519Z] Removing intermediate container fde981935d23 [2021-11-14T13:37:51.519Z] ---> f77f81de9067 [2021-11-14T13:37:51.519Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-14T13:37:51.783Z] ---> Running in 9b22f20a29d1 [2021-11-14T13:37:52.044Z] Removing intermediate container 9b22f20a29d1 [2021-11-14T13:37:52.044Z] ---> cd6e392da6ac [2021-11-14T13:37:52.044Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-14T13:37:52.044Z] ---> Running in 3f395ed00174 [2021-11-14T13:37:52.305Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-14T13:37:53.247Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-14T13:37:53.510Z] OK: 220 MiB in 52 packages [2021-11-14T13:37:53.778Z] Removing intermediate container 3f395ed00174 [2021-11-14T13:37:53.778Z] ---> ecf55f0b83b6 [2021-11-14T13:37:53.778Z] Step 8/24 : COPY . . [2021-11-14T13:37:54.041Z] ---> ef41885f7829 [2021-11-14T13:37:54.041Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-14T13:37:54.041Z] ---> Running in 8bb058cd8171 [2021-11-14T13:37:54.617Z] Removing intermediate container 8bb058cd8171 [2021-11-14T13:37:54.617Z] ---> 84098b05a386 [2021-11-14T13:37:54.617Z] Step 10/24 : RUN ${MAKE} [2021-11-14T13:37:54.617Z] ---> Running in c9ea89b714ff [2021-11-14T13:37:54.882Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-14T13:38:04.969Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-14T13:38:05.920Z] Removing intermediate container c9ea89b714ff [2021-11-14T13:38:05.920Z] ---> e4cbbcf15493 [2021-11-14T13:38:05.920Z] Step 11/24 : FROM alpine:3.14 [2021-11-14T13:38:10.128Z] 3.14: Pulling from library/alpine [2021-11-14T13:38:10.128Z] 97518928ae5f: Pulling fs layer [2021-11-14T13:38:10.128Z] 97518928ae5f: Verifying Checksum [2021-11-14T13:38:10.128Z] 97518928ae5f: Download complete [2021-11-14T13:38:10.128Z] 97518928ae5f: Pull complete [2021-11-14T13:38:10.128Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-14T13:38:10.128Z] Status: Downloaded newer image for alpine:3.14 [2021-11-14T13:38:10.128Z] ---> 0a97eee8041e [2021-11-14T13:38:10.128Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-14T13:38:10.128Z] ---> Running in 5aa2d9933b9f [2021-11-14T13:38:10.128Z] Removing intermediate container 5aa2d9933b9f [2021-11-14T13:38:10.128Z] ---> 671291a84b01 [2021-11-14T13:38:10.128Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-14T13:38:10.128Z] ---> Running in a77b17ae5564 [2021-11-14T13:38:10.389Z] Removing intermediate container a77b17ae5564 [2021-11-14T13:38:10.389Z] ---> b6af6090a565 [2021-11-14T13:38:10.389Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-14T13:38:10.389Z] ---> Running in fef5501760bf [2021-11-14T13:38:10.650Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-14T13:38:11.590Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-14T13:38:11.851Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-14T13:38:11.851Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-14T13:38:12.113Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-14T13:38:12.113Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-14T13:38:12.378Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-14T13:38:12.378Z] Executing busybox-1.33.1-r6.trigger [2021-11-14T13:38:12.378Z] OK: 8 MiB in 19 packages [2021-11-14T13:38:12.639Z] Removing intermediate container fef5501760bf [2021-11-14T13:38:12.639Z] ---> ce1fd7dab417 [2021-11-14T13:38:12.639Z] Step 15/24 : WORKDIR / [2021-11-14T13:38:12.639Z] ---> Running in b66cdbe9cb16 [2021-11-14T13:38:12.639Z] Removing intermediate container b66cdbe9cb16 [2021-11-14T13:38:12.639Z] ---> 8cf1c1393689 [2021-11-14T13:38:12.639Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-14T13:38:12.900Z] ---> 54447cadc3ff [2021-11-14T13:38:12.900Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-14T13:38:13.159Z] ---> 33e399c6164c [2021-11-14T13:38:13.159Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-14T13:38:13.425Z] ---> 60a558835272 [2021-11-14T13:38:13.425Z] Step 19/24 : EXPOSE 59999 [2021-11-14T13:38:13.425Z] ---> Running in 02d5c57e49ca [2021-11-14T13:38:13.425Z] Removing intermediate container 02d5c57e49ca [2021-11-14T13:38:13.425Z] ---> 2631d4c1bbb6 [2021-11-14T13:38:13.425Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-14T13:38:13.425Z] ---> Running in 541a43eaa3e2 [2021-11-14T13:38:13.425Z] Removing intermediate container 541a43eaa3e2 [2021-11-14T13:38:13.425Z] ---> f70b0b496421 [2021-11-14T13:38:13.425Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-14T13:38:13.425Z] ---> Running in 545979d1da80 [2021-11-14T13:38:13.689Z] Removing intermediate container 545979d1da80 [2021-11-14T13:38:13.689Z] ---> 594b96d3786a [2021-11-14T13:38:13.689Z] Step 22/24 : LABEL arch=amd64 [2021-11-14T13:38:13.689Z] ---> Running in b3f02e5aa8ce [2021-11-14T13:38:13.689Z] Removing intermediate container b3f02e5aa8ce [2021-11-14T13:38:13.689Z] ---> 5a9a000ed760 [2021-11-14T13:38:13.689Z] Step 23/24 : LABEL git_sha=588dc1c07987c9eca8e7510dc0cc6f7249bdc82c [2021-11-14T13:38:13.689Z] ---> Running in c9b0a0efa92f [2021-11-14T13:38:13.951Z] Removing intermediate container c9b0a0efa92f [2021-11-14T13:38:13.951Z] ---> 3e5dc4b776fa [2021-11-14T13:38:13.951Z] Step 24/24 : LABEL version=0.0.0 [2021-11-14T13:38:13.951Z] ---> Running in c84e95adc4aa [2021-11-14T13:38:13.951Z] Removing intermediate container c84e95adc4aa [2021-11-14T13:38:13.951Z] ---> 6dfe44148dc2 [2021-11-14T13:38:13.951Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-14T13:38:13.951Z] Successfully built 6dfe44148dc2 [2021-11-14T13:38:13.951Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:38:14.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-14T13:38:14.623Z] [2021-11-14T13:38:14.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:38:14.928Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-14T13:38:14.928Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-14T13:38:14.928Z] b4d181a07f80: Pulling fs layer [2021-11-14T13:38:14.928Z] a1111a8f2ec3: Pulling fs layer [2021-11-14T13:38:14.928Z] ed53099fbce6: Pulling fs layer [2021-11-14T13:38:14.928Z] dc539afda2c1: Pulling fs layer [2021-11-14T13:38:14.929Z] 77bc0d833cb6: Pulling fs layer [2021-11-14T13:38:14.929Z] 9065ff56babe: Pulling fs layer [2021-11-14T13:38:14.929Z] d287ab97295c: Pulling fs layer [2021-11-14T13:38:14.929Z] 77bc0d833cb6: Waiting [2021-11-14T13:38:14.929Z] 9065ff56babe: Waiting [2021-11-14T13:38:14.929Z] d287ab97295c: Waiting [2021-11-14T13:38:14.929Z] dc539afda2c1: Waiting [2021-11-14T13:38:14.929Z] a1111a8f2ec3: Verifying Checksum [2021-11-14T13:38:14.929Z] a1111a8f2ec3: Download complete [2021-11-14T13:38:14.929Z] dc539afda2c1: Verifying Checksum [2021-11-14T13:38:14.929Z] dc539afda2c1: Download complete [2021-11-14T13:38:14.929Z] ed53099fbce6: Verifying Checksum [2021-11-14T13:38:14.929Z] ed53099fbce6: Download complete [2021-11-14T13:38:15.190Z] 77bc0d833cb6: Verifying Checksum [2021-11-14T13:38:15.190Z] 77bc0d833cb6: Download complete [2021-11-14T13:38:15.190Z] 9065ff56babe: Verifying Checksum [2021-11-14T13:38:15.190Z] 9065ff56babe: Download complete [2021-11-14T13:38:15.190Z] b4d181a07f80: Verifying Checksum [2021-11-14T13:38:15.190Z] b4d181a07f80: Download complete [2021-11-14T13:38:15.781Z] d287ab97295c: Verifying Checksum [2021-11-14T13:38:15.781Z] d287ab97295c: Download complete [2021-11-14T13:38:16.742Z] b4d181a07f80: Pull complete [2021-11-14T13:38:16.742Z] a1111a8f2ec3: Pull complete [2021-11-14T13:38:17.311Z] ed53099fbce6: Pull complete [2021-11-14T13:38:17.311Z] dc539afda2c1: Pull complete [2021-11-14T13:38:17.577Z] 77bc0d833cb6: Pull complete [2021-11-14T13:38:17.577Z] 9065ff56babe: Pull complete [2021-11-14T13:38:22.881Z] d287ab97295c: Pull complete [2021-11-14T13:38:22.881Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-14T13:38:22.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-14T13:38:22.881Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-14T13:38:22.955Z] prd-centos7-docker-4c-2g-543 does not seem to be running inside a container [2021-11-14T13:38:22.991Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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-11-14T13:38:23.383Z] Removing intermediate container 41877052341f [2021-11-14T13:38:23.383Z] ---> b503795e298e [2021-11-14T13:38:23.383Z] Step 10/10 : RUN ${MAKE} [2021-11-14T13:38:23.383Z] ---> Running in 19482a2fff10 [2021-11-14T13:38:23.383Z] noop [2021-11-14T13:38:23.383Z] Removing intermediate container 19482a2fff10 [2021-11-14T13:38:23.383Z] ---> 88c6293d6746 [2021-11-14T13:38:23.383Z] Successfully built 88c6293d6746 [2021-11-14T13:38:23.383Z] Successfully tagged ci-base-image-arm64:latest [2021-11-14T13:38:25.268Z] $ docker top 9e2b86f625243d9a84fa0539b4c444541878c653cb79f551e423648060aa3f2e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:38:25.713Z] ---> job-cost.sh [2021-11-14T13:38:25.713Z] lf-activate-venv: SKIPPING [2021-11-14T13:38:25.713Z] INFO: No Stack... [2021-11-14T13:38:25.787Z] + docker inspect -f . ci-base-image-arm64 [2021-11-14T13:38:25.787Z] . [Pipeline] withDockerContainer [2021-11-14T13:38:25.972Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-14T13:38:26.025Z] prd-ubuntu18.04-docker-arm64-4c-16g-542 does not seem to be running inside a container [2021-11-14T13:38:26.148Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-14T13:38:26.231Z] INFO: Archiving Costs [2021-11-14T13:38:27.637Z] $ docker top b5112af1a9d9db8fb3b0fd307f642c41f1501c184316758c7e61d1a0380a5537 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-11-14T13:38:28.166Z] + cut -d, -f6 [2021-11-14T13:38:28.166Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2021-11-14T13:38:28.192Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1068-2-stack-cost] [2021-11-14T13:38:28.197Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1068-2-stack-cost] did not exist. Created. [2021-11-14T13:38:28.197Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1068-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-14T13:38:28.501Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-14T13:38:28.541Z] Stashed 1 file(s) [Pipeline] } [2021-11-14T13:38:28.546Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1068-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-14T13:38:28.559Z] + go version [2021-11-14T13:38:28.559Z] go version go1.16.8 linux/arm64 [2021-11-14T13:38:28.551Z] $ docker stop --time=1 9e2b86f625243d9a84fa0539b4c444541878c653cb79f551e423648060aa3f2e [2021-11-14T13:38:29.674Z] $ docker rm -f 9e2b86f625243d9a84fa0539b4c444541878c653cb79f551e423648060aa3f2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2021-11-14T13:38:29.788Z] $ docker stop --time=1 b5112af1a9d9db8fb3b0fd307f642c41f1501c184316758c7e61d1a0380a5537 [2021-11-14T13:38:31.452Z] $ docker rm -f b5112af1a9d9db8fb3b0fd307f642c41f1501c184316758c7e61d1a0380a5537 [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:38:32.217Z] + docker inspect -f . ci-base-image-arm64 [2021-11-14T13:38:32.217Z] . [Pipeline] withDockerContainer [2021-11-14T13:38:32.447Z] prd-ubuntu18.04-docker-arm64-4c-16g-542 does not seem to be running inside a container [2021-11-14T13:38:32.576Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-14T13:38:33.988Z] $ docker top 4b521a229c92a3563fdfce3445ea7582cea3b0b7be75356ed1333df88ab583d9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-14T13:38:34.881Z] + make test [2021-11-14T13:38:34.881Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-14T13:38:57.050Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-14T13:40:05.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-14T13:40:05.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-14T13:40:05.102Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-14T13:40:10.525Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.364s coverage: 23.3% of statements [2021-11-14T13:40:10.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-14T13:40:10.525Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.243s coverage: 27.6% of statements [2021-11-14T13:40:10.525Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.263s coverage: 78.9% of statements [2021-11-14T13:40:10.525Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.195s coverage: 9.0% of statements [2021-11-14T13:40:10.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-14T13:40:10.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-14T13:40:10.525Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-14T13:40:11.516Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.332s coverage: 28.7% of statements [2021-11-14T13:40:11.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-14T13:40:14.161Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.197s coverage: 83.3% of statements [2021-11-14T13:40:14.161Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-14T13:40:14.161Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-14T13:40:14.161Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.400s coverage: 57.8% of statements [2021-11-14T13:40:16.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.096s coverage: 89.2% of statements [2021-11-14T13:40:16.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-14T13:40:16.159Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.189s coverage: 4.8% of statements [2021-11-14T13:40:16.159Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-14T13:40:16.434Z] GO111MODULE=on go vet ./... [2021-11-14T13:41:12.991Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-14T13:41:12.991Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-14T13:41:12.991Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-14T13:41:13.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-14T13:41:13.115Z] $ docker stop --time=1 4b521a229c92a3563fdfce3445ea7582cea3b0b7be75356ed1333df88ab583d9 [2021-11-14T13:41:14.963Z] $ docker rm -f 4b521a229c92a3563fdfce3445ea7582cea3b0b7be75356ed1333df88ab583d9 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-14T13:41:16.044Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-14T13:41:16.077Z] Warning: overwriting stash ‘coverage-report’ [2021-11-14T13:41:16.903Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-14T13:41:17.356Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-14T13:41:17.698Z] + ls -al . [2021-11-14T13:41:17.698Z] total 300 [2021-11-14T13:41:17.698Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 13:41 . [2021-11-14T13:41:17.698Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 13:35 .. [2021-11-14T13:41:17.698Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 13:36 .dockerignore [2021-11-14T13:41:17.698Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 13:36 .git [2021-11-14T13:41:17.698Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 13:36 .github [2021-11-14T13:41:17.698Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 14 13:36 .gitignore [2021-11-14T13:41:17.698Z] -rw-rw-r-- 1 jenkins jenkins 26321 Nov 14 13:36 CHANGELOG.md [2021-11-14T13:41:17.698Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 13:36 GOVERNANCE.md [2021-11-14T13:41:17.698Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 14 13:36 Jenkinsfile [2021-11-14T13:41:17.698Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 14 13:36 LICENSE [2021-11-14T13:41:17.698Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 14 13:36 Makefile [2021-11-14T13:41:17.698Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 14 13:36 OWNERS.md [2021-11-14T13:41:17.698Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 14 13:36 README.md [2021-11-14T13:41:17.698Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 13:34 VERSION [2021-11-14T13:41:17.698Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 13:36 bin [2021-11-14T13:41:17.698Z] -rw-r--r-- 1 jenkins jenkins 128370 Nov 14 13:40 coverage.out [2021-11-14T13:41:17.698Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 14 13:36 example [2021-11-14T13:41:17.698Z] -rw-rw-r-- 1 jenkins jenkins 576 Nov 14 13:36 go.mod [2021-11-14T13:41:17.698Z] -rw-rw-r-- 1 jenkins jenkins 48946 Nov 14 13:36 go.sum [2021-11-14T13:41:17.698Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 14 13:36 internal [2021-11-14T13:41:17.698Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 13:36 openapi [2021-11-14T13:41:17.698Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 14 13:36 pkg [2021-11-14T13:41:17.698Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 13:36 snap [2021-11-14T13:41:17.698Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 14 13:36 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:41:18.042Z] + 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=588dc1c07987c9eca8e7510dc0cc6f7249bdc82c --label arch=arm64 --label version=0.0.0 . [2021-11-14T13:41:18.642Z] Sending build context to Docker daemon 5.084MB [2021-11-14T13:41:18.642Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-14T13:41:18.642Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-14T13:41:18.642Z] ---> 88c6293d6746 [2021-11-14T13:41:18.642Z] Step 3/24 : ARG MAKE=make build [2021-11-14T13:41:18.642Z] ---> Running in 84a8a9dcca33 [2021-11-14T13:41:19.241Z] Removing intermediate container 84a8a9dcca33 [2021-11-14T13:41:19.241Z] ---> 17df4d3d2a2b [2021-11-14T13:41:19.241Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-14T13:41:19.241Z] ---> Running in 37e8957b7428 [2021-11-14T13:41:19.835Z] Removing intermediate container 37e8957b7428 [2021-11-14T13:41:19.835Z] ---> b4fdcf005a77 [2021-11-14T13:41:19.835Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-14T13:41:19.835Z] ---> Running in cc59551b9246 [2021-11-14T13:41:20.109Z] Removing intermediate container cc59551b9246 [2021-11-14T13:41:20.109Z] ---> 9b5dce2f92bf [2021-11-14T13:41:20.109Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-14T13:41:20.387Z] ---> Running in 28bce7d661ff [2021-11-14T13:41:22.376Z] Removing intermediate container 28bce7d661ff [2021-11-14T13:41:22.376Z] ---> 417c35c5a3bb [2021-11-14T13:41:22.376Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-14T13:41:22.376Z] ---> Running in f6bb6fa6419b [2021-11-14T13:41:23.352Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-14T13:41:24.327Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-14T13:41:24.926Z] OK: 219 MiB in 52 packages [2021-11-14T13:41:25.901Z] Removing intermediate container f6bb6fa6419b [2021-11-14T13:41:25.901Z] ---> f4cd9ee631db [2021-11-14T13:41:25.901Z] Step 8/24 : COPY . . [2021-11-14T13:41:26.882Z] ---> 08d95a7048fc [2021-11-14T13:41:26.882Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-14T13:41:27.162Z] ---> Running in 59bc45853e95 [2021-11-14T13:41:29.133Z] Removing intermediate container 59bc45853e95 [2021-11-14T13:41:29.133Z] ---> 152247147223 [2021-11-14T13:41:29.133Z] Step 10/24 : RUN ${MAKE} [2021-11-14T13:41:29.133Z] ---> Running in 4f7c69c59eca [2021-11-14T13:41:30.566Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-14T13:42:09.576Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-14T13:42:09.576Z] Removing intermediate container 4f7c69c59eca [2021-11-14T13:42:09.576Z] ---> 01253078f413 [2021-11-14T13:42:09.576Z] Step 11/24 : FROM alpine:3.14 [2021-11-14T13:42:17.826Z] 3.14: Pulling from library/alpine [2021-11-14T13:42:17.826Z] be307f383ecc: Pulling fs layer [2021-11-14T13:42:17.826Z] be307f383ecc: Verifying Checksum [2021-11-14T13:42:17.826Z] be307f383ecc: Download complete [2021-11-14T13:42:17.826Z] be307f383ecc: Pull complete [2021-11-14T13:42:17.826Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-14T13:42:17.826Z] Status: Downloaded newer image for alpine:3.14 [2021-11-14T13:42:17.826Z] ---> 5b8b7b635229 [2021-11-14T13:42:17.826Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-14T13:42:17.826Z] ---> Running in 29158befd9d2 [2021-11-14T13:42:18.425Z] Removing intermediate container 29158befd9d2 [2021-11-14T13:42:18.425Z] ---> 1fa70c22e7d8 [2021-11-14T13:42:18.425Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-14T13:42:18.425Z] ---> Running in 5553937c6389 [2021-11-14T13:42:20.396Z] Removing intermediate container 5553937c6389 [2021-11-14T13:42:20.396Z] ---> 7587cd5fc808 [2021-11-14T13:42:20.396Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-14T13:42:20.396Z] ---> Running in 8dc5e9a0a23a [2021-11-14T13:42:21.378Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-14T13:42:22.350Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-14T13:42:23.352Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-14T13:42:23.352Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-14T13:42:23.352Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-14T13:42:23.352Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-14T13:42:23.624Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-14T13:42:23.624Z] Executing busybox-1.33.1-r6.trigger [2021-11-14T13:42:23.624Z] OK: 8 MiB in 19 packages [2021-11-14T13:42:24.612Z] Removing intermediate container 8dc5e9a0a23a [2021-11-14T13:42:24.612Z] ---> bfc13f6eab2e [2021-11-14T13:42:24.612Z] Step 15/24 : WORKDIR / [2021-11-14T13:42:24.612Z] ---> Running in 0a7b40c8629b [2021-11-14T13:42:25.203Z] Removing intermediate container 0a7b40c8629b [2021-11-14T13:42:25.203Z] ---> b8dada88f152 [2021-11-14T13:42:25.203Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-14T13:42:26.179Z] ---> 243587d6658c [2021-11-14T13:42:26.179Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-14T13:42:27.158Z] ---> 98b8516fc7dc [2021-11-14T13:42:27.159Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-14T13:42:27.751Z] ---> 2bc2ce6cd1c0 [2021-11-14T13:42:27.751Z] Step 19/24 : EXPOSE 59999 [2021-11-14T13:42:28.027Z] ---> Running in c855a747cbfd [2021-11-14T13:42:28.300Z] Removing intermediate container c855a747cbfd [2021-11-14T13:42:28.300Z] ---> 330c85d20dda [2021-11-14T13:42:28.300Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-14T13:42:28.300Z] ---> Running in c4640025798c [2021-11-14T13:42:28.893Z] Removing intermediate container c4640025798c [2021-11-14T13:42:28.893Z] ---> 60eecf174828 [2021-11-14T13:42:28.893Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-14T13:42:28.893Z] ---> Running in 437881fcf97e [2021-11-14T13:42:29.487Z] Removing intermediate container 437881fcf97e [2021-11-14T13:42:29.487Z] ---> ca0024a6aa7a [2021-11-14T13:42:29.487Z] Step 22/24 : LABEL arch=arm64 [2021-11-14T13:42:29.487Z] ---> Running in d7c80070fef6 [2021-11-14T13:42:29.758Z] Removing intermediate container d7c80070fef6 [2021-11-14T13:42:29.758Z] ---> 87bb0be8deea [2021-11-14T13:42:29.758Z] Step 23/24 : LABEL git_sha=588dc1c07987c9eca8e7510dc0cc6f7249bdc82c [2021-11-14T13:42:30.029Z] ---> Running in 4519549d6c3f [2021-11-14T13:42:30.301Z] Removing intermediate container 4519549d6c3f [2021-11-14T13:42:30.301Z] ---> 3834cfdf1250 [2021-11-14T13:42:30.301Z] Step 24/24 : LABEL version=0.0.0 [2021-11-14T13:42:30.301Z] ---> Running in c579f591494b [2021-11-14T13:42:30.893Z] Removing intermediate container c579f591494b [2021-11-14T13:42:30.893Z] ---> 4c4dac6dfb40 [2021-11-14T13:42:30.893Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-14T13:42:30.893Z] Successfully built 4c4dac6dfb40 [2021-11-14T13:42:30.893Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:42:31.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-14T13:42:31.473Z] [2021-11-14T13:42:31.473Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:42:31.821Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-14T13:42:32.090Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-14T13:42:32.090Z] 448f6bf000e3: Pulling fs layer [2021-11-14T13:42:32.090Z] f757da607395: Pulling fs layer [2021-11-14T13:42:32.090Z] 05883995daec: Pulling fs layer [2021-11-14T13:42:32.090Z] 8603b9c90790: Pulling fs layer [2021-11-14T13:42:32.090Z] 1560dd03e051: Pulling fs layer [2021-11-14T13:42:32.090Z] 27f5ce0e4adf: Pulling fs layer [2021-11-14T13:42:32.090Z] c2d8d7efcc4b: Pulling fs layer [2021-11-14T13:42:32.090Z] 8603b9c90790: Waiting [2021-11-14T13:42:32.090Z] 1560dd03e051: Waiting [2021-11-14T13:42:32.090Z] 27f5ce0e4adf: Waiting [2021-11-14T13:42:32.090Z] c2d8d7efcc4b: Waiting [2021-11-14T13:42:32.090Z] f757da607395: Verifying Checksum [2021-11-14T13:42:32.090Z] f757da607395: Download complete [2021-11-14T13:42:32.090Z] 8603b9c90790: Verifying Checksum [2021-11-14T13:42:32.090Z] 8603b9c90790: Download complete [2021-11-14T13:42:32.090Z] 1560dd03e051: Verifying Checksum [2021-11-14T13:42:32.090Z] 1560dd03e051: Download complete [2021-11-14T13:42:32.362Z] 27f5ce0e4adf: Verifying Checksum [2021-11-14T13:42:32.362Z] 27f5ce0e4adf: Download complete [2021-11-14T13:42:32.362Z] 05883995daec: Verifying Checksum [2021-11-14T13:42:32.362Z] 05883995daec: Download complete [2021-11-14T13:42:32.636Z] 448f6bf000e3: Verifying Checksum [2021-11-14T13:42:32.636Z] 448f6bf000e3: Download complete [2021-11-14T13:42:35.246Z] c2d8d7efcc4b: Verifying Checksum [2021-11-14T13:42:35.246Z] c2d8d7efcc4b: Download complete [2021-11-14T13:42:36.223Z] 448f6bf000e3: Pull complete [2021-11-14T13:42:36.819Z] f757da607395: Pull complete [2021-11-14T13:42:38.259Z] 05883995daec: Pull complete [2021-11-14T13:42:38.532Z] 8603b9c90790: Pull complete [2021-11-14T13:42:39.507Z] 1560dd03e051: Pull complete [2021-11-14T13:42:39.777Z] 27f5ce0e4adf: Pull complete [2021-11-14T13:42:54.920Z] c2d8d7efcc4b: Pull complete [2021-11-14T13:42:54.920Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-14T13:42:54.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-14T13:42:54.920Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-14T13:42:55.181Z] prd-ubuntu18.04-docker-arm64-4c-16g-542 does not seem to be running inside a container [2021-11-14T13:42:55.310Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-14T13:42:58.313Z] $ docker top 88768c64ff1e9b65ab3a71369fd492a3cf9b8b6924e60f817fb3e5913f6803a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-14T13:42:59.236Z] ---> job-cost.sh [2021-11-14T13:42:59.236Z] lf-activate-venv: SKIPPING [2021-11-14T13:42:59.236Z] INFO: No Stack... [2021-11-14T13:42:59.507Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-14T13:42:59.778Z] INFO: Archiving Costs [Pipeline] sh [2021-11-14T13:43:00.438Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-11-14T13:43:00.438Z] + cut -d, -f6 [Pipeline] lock [2021-11-14T13:43:00.503Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1068-2-stack-cost] [2021-11-14T13:43:00.508Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1068-2-stack-cost] did not exist. Created. [2021-11-14T13:43:00.508Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1068-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-14T13:43:01.191Z] /w/workspace/device-sdk-go/2@tmp/durable-d3c1f1ed/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-d3c1f1ed/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-14T13:43:01.859Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-14T13:43:01.885Z] Warning: overwriting stash ‘stack-cost’ [2021-11-14T13:43:01.944Z] Stashed 1 file(s) [Pipeline] } [2021-11-14T13:43:01.949Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1068-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-14T13:43:02.008Z] $ docker stop --time=1 88768c64ff1e9b65ab3a71369fd492a3cf9b8b6924e60f817fb3e5913f6803a0 [2021-11-14T13:43:03.557Z] $ docker rm -f 88768c64ff1e9b65ab3a71369fd492a3cf9b8b6924e60f817fb3e5913f6803a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-11-14T13:43:04.204Z] provisioning config files... [2021-11-14T13:43:04.212Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1068@tmp/config4482918313774933920tmp [Pipeline] { [Pipeline] sh [2021-11-14T13:43:04.515Z] + set +x [2021-11-14T13:43:04.515Z] + curl -s https://codecov.io/bash [2021-11-14T13:43:04.515Z] + bash -s -- [2021-11-14T13:43:04.515Z] [2021-11-14T13:43:04.515Z] _____ _ [2021-11-14T13:43:04.515Z] / ____| | | [2021-11-14T13:43:04.515Z] | | ___ __| | ___ ___ _____ __ [2021-11-14T13:43:04.515Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-14T13:43:04.515Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-14T13:43:04.515Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-14T13:43:04.515Z] Bash-1.0.6 [2021-11-14T13:43:04.515Z] [2021-11-14T13:43:04.515Z] [2021-11-14T13:43:04.515Z] ==> git version 2.24.4 found [2021-11-14T13:43:04.515Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-14T13:43:04.515Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-14T13:43:04.515Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-14T13:43:04.515Z] ==> Jenkins CI detected. [2021-11-14T13:43:04.515Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1068 [2021-11-14T13:43:04.515Z] project root: . [2021-11-14T13:43:04.515Z] --> token set from env [2021-11-14T13:43:04.515Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-14T13:43:04.515Z] ==> Running gcov in . (disable via -X gcov) [2021-11-14T13:43:04.515Z] ==> Python coveragepy not found [2021-11-14T13:43:04.515Z] ==> Searching for coverage reports in: [2021-11-14T13:43:04.515Z] + . [2021-11-14T13:43:04.515Z] -> Found 1 reports [2021-11-14T13:43:04.515Z] ==> Detecting git/mercurial file structure [2021-11-14T13:43:04.515Z] ==> Reading reports [2021-11-14T13:43:04.515Z] + ./coverage.out bytes=128370 [2021-11-14T13:43:04.780Z] ==> Appending adjustments [2021-11-14T13:43:04.780Z] https://docs.codecov.io/docs/fixing-reports [2021-11-14T13:43:04.780Z] + Found adjustments [2021-11-14T13:43:04.780Z] ==> Gzipping contents [2021-11-14T13:43:05.041Z] 16K /tmp/codecov.glK9fY.gz [2021-11-14T13:43:05.041Z] ==> Uploading reports [2021-11-14T13:43:05.041Z] url: https://codecov.io [2021-11-14T13:43:05.041Z] query: branch=PR-1068&commit=588dc1c07987c9eca8e7510dc0cc6f7249bdc82c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1068%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1068&job=&cmd_args= [2021-11-14T13:43:05.041Z] -> Pinging Codecov [2021-11-14T13:43:05.041Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1068&commit=588dc1c07987c9eca8e7510dc0cc6f7249bdc82c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1068%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1068&job=&cmd_args= [2021-11-14T13:43:05.306Z] -> Uploading to [2021-11-14T13:43:05.306Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-14/7E55EF52A471D76F132DFD9A03CDDE97/588dc1c07987c9eca8e7510dc0cc6f7249bdc82c/a940a104-9822-4d00-98d4-418fe883634c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211114T134305Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=758bd7ac5e4491a96a5fcc262cf42b1fada4c814bc9c7e644a89b92a61ce5a76 [2021-11-14T13:43:05.306Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-14T13:43:05.306Z] Dload Upload Total Spent Left Speed [2021-11-14T13:43:05.567Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16329 0 0 100 16329 0 46115 --:--:-- --:--:-- --:--:-- 46127 100 16329 0 0 100 16329 0 46089 --:--:-- --:--:-- --:--:-- 45997 [2021-11-14T13:43:05.567Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/588dc1c07987c9eca8e7510dc0cc6f7249bdc82c [Pipeline] } [2021-11-14T13:43:05.574Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-14T13:43:06.682Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1068/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-14T13:43:06.986Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-14T13:43:07.548Z] ---> package-listing.sh [2021-11-14T13:43:07.548Z] ++ facter osfamily [2021-11-14T13:43:07.548Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-14T13:43:07.809Z] + OS_FAMILY=redhat [2021-11-14T13:43:07.809Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1068 [2021-11-14T13:43:07.809Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-14T13:43:07.809Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-14T13:43:07.809Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-14T13:43:07.809Z] + PACKAGES=/tmp/packages_start.txt [2021-11-14T13:43:07.809Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1068 ']' [2021-11-14T13:43:07.809Z] + PACKAGES=/tmp/packages_end.txt [2021-11-14T13:43:07.809Z] + case "${OS_FAMILY}" in [2021-11-14T13:43:07.809Z] + rpm -qa [2021-11-14T13:43:07.809Z] + sort [2021-11-14T13:43:08.382Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-14T13:43:08.382Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-14T13:43:08.382Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-14T13:43:08.382Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1068 ']' [2021-11-14T13:43:08.382Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1068/archives/ [2021-11-14T13:43:08.382Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1068/archives/ [Pipeline] echo [2021-11-14T13:43:08.396Z] 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-1068/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-14T13:43:08.683Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:43:09.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-14T13:43:09.242Z] [2021-11-14T13:43:09.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-14T13:43:09.551Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-14T13:43:09.551Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-14T13:43:09.551Z] b4d181a07f80: Pulling fs layer [2021-11-14T13:43:09.551Z] a1111a8f2ec3: Pulling fs layer [2021-11-14T13:43:09.551Z] ed53099fbce6: Pulling fs layer [2021-11-14T13:43:09.551Z] dc539afda2c1: Pulling fs layer [2021-11-14T13:43:09.551Z] 77bc0d833cb6: Pulling fs layer [2021-11-14T13:43:09.551Z] 9065ff56babe: Pulling fs layer [2021-11-14T13:43:09.551Z] d287ab97295c: Pulling fs layer [2021-11-14T13:43:09.551Z] dc539afda2c1: Waiting [2021-11-14T13:43:09.551Z] 77bc0d833cb6: Waiting [2021-11-14T13:43:09.551Z] 9065ff56babe: Waiting [2021-11-14T13:43:09.551Z] d287ab97295c: Waiting [2021-11-14T13:43:09.551Z] a1111a8f2ec3: Verifying Checksum [2021-11-14T13:43:09.551Z] a1111a8f2ec3: Download complete [2021-11-14T13:43:09.551Z] dc539afda2c1: Verifying Checksum [2021-11-14T13:43:09.551Z] dc539afda2c1: Download complete [2021-11-14T13:43:09.551Z] ed53099fbce6: Verifying Checksum [2021-11-14T13:43:09.551Z] ed53099fbce6: Download complete [2021-11-14T13:43:09.813Z] 9065ff56babe: Verifying Checksum [2021-11-14T13:43:09.813Z] 9065ff56babe: Download complete [2021-11-14T13:43:09.813Z] 77bc0d833cb6: Verifying Checksum [2021-11-14T13:43:09.813Z] 77bc0d833cb6: Download complete [2021-11-14T13:43:09.813Z] b4d181a07f80: Verifying Checksum [2021-11-14T13:43:09.813Z] b4d181a07f80: Download complete [2021-11-14T13:43:10.384Z] d287ab97295c: Verifying Checksum [2021-11-14T13:43:10.384Z] d287ab97295c: Download complete [2021-11-14T13:43:11.331Z] b4d181a07f80: Pull complete [2021-11-14T13:43:11.331Z] a1111a8f2ec3: Pull complete [2021-11-14T13:43:11.905Z] ed53099fbce6: Pull complete [2021-11-14T13:43:11.905Z] dc539afda2c1: Pull complete [2021-11-14T13:43:12.168Z] 77bc0d833cb6: Pull complete [2021-11-14T13:43:12.168Z] 9065ff56babe: Pull complete [2021-11-14T13:43:17.482Z] d287ab97295c: Pull complete [2021-11-14T13:43:17.482Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-14T13:43:17.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-14T13:43:17.482Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-14T13:43:17.558Z] prd-centos7-docker-4c-2g-541 does not seem to be running inside a container [2021-11-14T13:43:17.606Z] $ 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-1068/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-1068 -v /w/workspace/gexfoundry_device-sdk-go_PR-1068:/w/workspace/gexfoundry_device-sdk-go_PR-1068:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1068@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1068@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-14T13:43:20.703Z] $ docker top 61b70bfb700c9bf4cf19b9d35ffe24b5ba22f8560d6e260d53364b6f8d9ad2b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-14T13:43:21.061Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-14T13:43:21.351Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-14T13:43:21.647Z] + ls /var/log/sa-host [2021-11-14T13:43:21.647Z] + sadf -c /var/log/sa-host/sa14 [2021-11-14T13:43:21.647Z] file_magic: OK [2021-11-14T13:43:21.647Z] HZ: Using current value: 100 [2021-11-14T13:43:21.647Z] file_header: OK [2021-11-14T13:43:21.647Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-14T13:43:21.647Z] Statistics: [2021-11-14T13:43:21.647Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-14T13:43:21.647Z] File successfully converted to sysstat format version 12.0.3 [2021-11-14T13:43:21.647Z] + sadf -c /var/log/sa-host/sa30 [2021-11-14T13:43:21.647Z] file_magic: OK [2021-11-14T13:43:21.647Z] HZ: Using current value: 100 [2021-11-14T13:43:21.647Z] file_header: OK [2021-11-14T13:43:21.647Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-14T13:43:21.647Z] Statistics: [2021-11-14T13:43:21.647Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-14T13:43:21.647Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-14T13:43:21.728Z] provisioning config files... [2021-11-14T13:43:21.739Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1068@tmp/config7161972346127846588tmp [Pipeline] { [Pipeline] echo [2021-11-14T13:43:21.759Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-14T13:43:22.070Z] ---> create-netrc.sh [Pipeline] } [2021-11-14T13:43:22.077Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-14T13:43:22.424Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-14T13:43:22.435Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-14T13:43:22.726Z] ---> sudo-logs.sh [2021-11-14T13:43:22.726Z] Archiving 'sudo' log.. [2021-11-14T13:43:22.726Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-541.novalocal: Name or service not known [2021-11-14T13:43:22.726Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-541.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-14T13:43:22.753Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-14T13:43:23.040Z] ---> job-cost.sh [2021-11-14T13:43:23.040Z] lf-activate-venv: SKIPPING [2021-11-14T13:43:23.040Z] DEBUG: total: 0.10999999940395355 [2021-11-14T13:43:23.040Z] INFO: Retrieving Stack Cost... [2021-11-14T13:43:24.951Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-14T13:43:25.210Z] INFO: Archiving Costs [Pipeline] echo [2021-11-14T13:43:25.233Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-14T13:43:25.541Z] ---> logs-deploy.sh [2021-11-14T13:43:25.541Z] lf-activate-venv: SKIPPING [2021-11-14T13:43:25.541Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1068/2 [2021-11-14T13:43:25.541Z] INFO: archiving workspace using pattern(s): [2021-11-14T13:43:26.108Z] Archives upload complete. [2021-11-14T13:43:26.367Z] INFO: archiving logs to Nexus