Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0d9d2c8ebacd62733844ce0c1cea89b222af8d31 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-ssh1074947973855122979.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1639780896346124300.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f1d79d91c36788821211008368c3015072ca53ca The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2969131823681873545.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5890432014879851471.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8456299857586136329.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-421 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh7139022549062741633.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0d9d2c8ebacd62733844ce0c1cea89b222af8d31 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 0d9d2c8ebacd62733844ce0c1cea89b222af8d31 # timeout=10 Commit message: "Merge pull request #1032 from lenny-intel/pr-template" > git rev-list --no-walk 95a9d1abedb9d7c119ffb1f24142991202c879de # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-11T15:31:04.415Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-11T15:31:04.465Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-11T15:31:04.477Z] ========================================================= [2021-10-11T15:31:04.477Z] EdgeX Global Pipelines Version Info [2021-10-11T15:31:04.477Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:31:05.615Z] ------------------- [2021-10-11T15:31:05.615Z] stable info: [2021-10-11T15:31:05.615Z] ------------------- [2021-10-11T15:31:05.615Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-11T15:31:05.615Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-11T15:31:05.615Z] Message: update stable to v1.0.209 [2021-10-11T15:31:06.184Z] ------------------- [2021-10-11T15:31:06.185Z] experimental info: [2021-10-11T15:31:06.185Z] ------------------- [2021-10-11T15:31:06.185Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-11T15:31:06.185Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-11T15:31:06.185Z] Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-11T15:31:06.267Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-11T15:31:06.274Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-11T15:31:06.281Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-11T15:31:06.312Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-11T15:31:06.323Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-11T15:31:06.332Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-11T15:31:06.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-11T15:31:06.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-11T15:31:06.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-11T15:31:06.373Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-11T15:31:06.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-11T15:31:06.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-11T15:31:06.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-11T15:31:06.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-11T15:31:06.424Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-11T15:31:06.434Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-11T15:31:06.445Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-11T15:31:06.455Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-11T15:31:06.468Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-11T15:31:06.481Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-11T15:31:06.496Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-11T15:31:06.508Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-11T15:31:06.522Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-11T15:31:06.533Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-11T15:31:06.543Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-11T15:31:06.553Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-11T15:31:06.563Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-11T15:31:06.573Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-11T15:31:06.583Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-11T15:31:06.592Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d9d2c8ebacd62733844ce0c1cea89b222af8d31 [Pipeline] echo [2021-10-11T15:31:06.605Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d9d2c8 [Pipeline] echo [2021-10-11T15:31:06.618Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-11T15:31:06.660Z] provisioning config files... [2021-10-11T15:31:06.674Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9085490618406673096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:31:06.991Z] ---> docker-login.sh [2021-10-11T15:31:06.991Z] nexus3.edgexfoundry.org:10001 [2021-10-11T15:31:06.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:31:07.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:31:07.252Z] Configure a credential helper to remove this warning. See [2021-10-11T15:31:07.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:31:07.252Z] [2021-10-11T15:31:07.252Z] Login Succeeded [2021-10-11T15:31:07.252Z] nexus3.edgexfoundry.org:10002 [2021-10-11T15:31:07.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:31:07.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:31:07.252Z] Configure a credential helper to remove this warning. See [2021-10-11T15:31:07.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:31:07.252Z] [2021-10-11T15:31:07.252Z] Login Succeeded [2021-10-11T15:31:07.252Z] nexus3.edgexfoundry.org:10003 [2021-10-11T15:31:07.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:31:07.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:31:07.514Z] Configure a credential helper to remove this warning. See [2021-10-11T15:31:07.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:31:07.514Z] [2021-10-11T15:31:07.514Z] Login Succeeded [2021-10-11T15:31:07.514Z] nexus3.edgexfoundry.org:10004 [2021-10-11T15:31:07.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:31:07.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:31:07.514Z] Configure a credential helper to remove this warning. See [2021-10-11T15:31:07.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:31:07.514Z] [2021-10-11T15:31:07.514Z] Login Succeeded [2021-10-11T15:31:07.514Z] docker.io [2021-10-11T15:31:07.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:31:08.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:31:08.039Z] Configure a credential helper to remove this warning. See [2021-10-11T15:31:08.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:31:08.039Z] [2021-10-11T15:31:08.039Z] Login Succeeded [2021-10-11T15:31:08.039Z] ---> docker-login.sh ends [Pipeline] } [2021-10-11T15:31:08.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-11T15:31:08.473Z] + git log --format=format:%s -1 0d9d2c8ebacd62733844ce0c1cea89b222af8d31 [Pipeline] echo [2021-10-11T15:31:08.508Z] GIT_COMMIT: 0d9d2c8ebacd62733844ce0c1cea89b222af8d31, Commit Message: Merge pull request #1032 from lenny-intel/pr-template [Pipeline] echo [2021-10-11T15:31:08.515Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:31:09.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-11T15:31:09.193Z] [2021-10-11T15:31:09.193Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:31:09.492Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-11T15:31:09.492Z] latest: Pulling from edgex-devops/git-semver [2021-10-11T15:31:09.492Z] a0d0a0d46f8b: Pulling fs layer [2021-10-11T15:31:09.492Z] 3e5f54012d9b: Pulling fs layer [2021-10-11T15:31:09.492Z] 4c7163046ea9: Pulling fs layer [2021-10-11T15:31:09.492Z] 0c2d73faf560: Pulling fs layer [2021-10-11T15:31:09.492Z] 0c2d73faf560: Waiting [2021-10-11T15:31:09.492Z] 3e5f54012d9b: Verifying Checksum [2021-10-11T15:31:09.492Z] 3e5f54012d9b: Download complete [2021-10-11T15:31:09.492Z] a0d0a0d46f8b: Verifying Checksum [2021-10-11T15:31:09.492Z] a0d0a0d46f8b: Download complete [2021-10-11T15:31:09.492Z] 4c7163046ea9: Verifying Checksum [2021-10-11T15:31:09.492Z] 4c7163046ea9: Download complete [2021-10-11T15:31:09.492Z] 0c2d73faf560: Verifying Checksum [2021-10-11T15:31:09.492Z] 0c2d73faf560: Download complete [2021-10-11T15:31:09.755Z] a0d0a0d46f8b: Pull complete [2021-10-11T15:31:09.755Z] 3e5f54012d9b: Pull complete [2021-10-11T15:31:10.015Z] 4c7163046ea9: Pull complete [2021-10-11T15:31:10.274Z] 0c2d73faf560: Pull complete [2021-10-11T15:31:10.274Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-11T15:31:10.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-11T15:31:10.274Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-11T15:31:10.345Z] prd-centos7-docker-4c-2g-421 does not seem to be running inside a container [2021-10-11T15:31:09.807Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-11T15:31:10.383Z] $ docker top 18c4b22ab04e269fd64054a4f00c7fbb5450abc484ef88d847cc5b779d6f9054 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-11T15:31:10.987Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-11T15:31:10.987Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-11T15:31:11.080Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-11T15:31:10.572Z] $ docker exec 18c4b22ab04e269fd64054a4f00c7fbb5450abc484ef88d847cc5b779d6f9054 ssh-agent [2021-10-11T15:31:11.181Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoABdLM/agent.14 [2021-10-11T15:31:11.181Z] SSH_AGENT_PID=20 [2021-10-11T15:31:11.187Z] Running ssh-add (command line suppressed) [2021-10-11T15:31:10.793Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7016979566622806641.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7016979566622806641.key) [2021-10-11T15:31:11.298Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-11T15:31:11.584Z] + git tag --points-at HEAD [Pipeline] } [2021-10-11T15:31:11.132Z] $ docker exec --env ******** --env ******** 18c4b22ab04e269fd64054a4f00c7fbb5450abc484ef88d847cc5b779d6f9054 ssh-agent -k [2021-10-11T15:31:11.227Z] unset SSH_AUTH_SOCK; [2021-10-11T15:31:11.228Z] unset SSH_AGENT_PID; [2021-10-11T15:31:11.228Z] echo Agent pid 20 killed; [2021-10-11T15:31:11.694Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-11T15:31:11.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-11T15:31:11.714Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-11T15:31:11.810Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-11T15:31:11.364Z] $ docker exec 18c4b22ab04e269fd64054a4f00c7fbb5450abc484ef88d847cc5b779d6f9054 ssh-agent [2021-10-11T15:31:11.902Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXogPmHa/agent.53 [2021-10-11T15:31:11.902Z] SSH_AGENT_PID=59 [2021-10-11T15:31:11.909Z] Running ssh-add (command line suppressed) [2021-10-11T15:31:11.554Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3558404201485082713.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3558404201485082713.key) [2021-10-11T15:31:12.001Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-11T15:31:12.300Z] + git semver init [2021-10-11T15:31:12.300Z] # -> Open(): unable to determine branch for HEAD [2021-10-11T15:31:12.300Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-11T15:31:12.300Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-11T15:31:12.300Z] # $SEMVER_REMOTE_NAME = origin [2021-10-11T15:31:12.300Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-11T15:31:12.300Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-11T15:31:12.300Z] # $SEMVER_BRANCH = main [2021-10-11T15:31:12.300Z] # $SEMVER_TEMP = /tmp/semver-743334402 [2021-10-11T15:31:12.300Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-11T15:31:13.243Z] # '/tmp/semver-743334402' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-10-11T15:31:13.243Z] # -> Force: false [2021-10-11T15:31:13.243Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-11T15:31:12.924Z] $ docker exec --env ******** --env ******** 18c4b22ab04e269fd64054a4f00c7fbb5450abc484ef88d847cc5b779d6f9054 ssh-agent -k [2021-10-11T15:31:13.021Z] unset SSH_AUTH_SOCK; [2021-10-11T15:31:13.021Z] unset SSH_AGENT_PID; [2021-10-11T15:31:13.021Z] echo Agent pid 59 killed; [2021-10-11T15:31:13.351Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-11T15:31:13.666Z] + git semver [Pipeline] } [2021-10-11T15:31:13.385Z] $ docker stop --time=1 18c4b22ab04e269fd64054a4f00c7fbb5450abc484ef88d847cc5b779d6f9054 [2021-10-11T15:31:14.604Z] $ docker rm -f 18c4b22ab04e269fd64054a4f00c7fbb5450abc484ef88d847cc5b779d6f9054 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-11T15:31:15.151Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-11T15:31:15.378Z] Stashed 1 file(s) [Pipeline] echo [2021-10-11T15:31:15.382Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.16 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-11T15:31:30.587Z] Still waiting to schedule task [2021-10-11T15:31:30.588Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-421’ [2021-10-11T15:31:30.589Z] Still waiting to schedule task [2021-10-11T15:31:30.590Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-11T15:33:55.315Z] Running on prd-centos7-docker-4c-2g-423 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-11T15:33:55.329Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2021-10-11T15:33:55.425Z] Selected Git installation does not exist. Using Default [2021-10-11T15:33:55.425Z] The recommended git tool is: NONE [2021-10-11T15:33:57.567Z] using credential edgex-jenkins-ssh [2021-10-11T15:33:57.578Z] Cloning the remote Git repository [2021-10-11T15:33:57.649Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-11T15:33:57.700Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2021-10-11T15:33:57.741Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-11T15:33:57.741Z] > git --version # timeout=10 [2021-10-11T15:33:57.746Z] > git --version # 'git version 2.24.4' [2021-10-11T15:33:57.747Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-11T15:33:57.769Z] [INFO] Currently running in a labeled security context [2021-10-11T15:33:57.769Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-11T15:33:57.769Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/15@tmp/jenkins-gitclient-ssh8530301078839924300.key [2021-10-11T15:33:57.794Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-11T15:33:58.527Z] Avoid second fetch [2021-10-11T15:33:58.527Z] Checking out Revision 0d9d2c8ebacd62733844ce0c1cea89b222af8d31 (main) [2021-10-11T15:33:58.502Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-11T15:33:58.513Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-11T15:33:58.537Z] > git config core.sparsecheckout # timeout=10 [2021-10-11T15:33:58.546Z] > git checkout -f 0d9d2c8ebacd62733844ce0c1cea89b222af8d31 # timeout=10 [2021-10-11T15:34:00.595Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-422 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-10-11T15:34:00.605Z] Running in /w/workspace/device-sdk-go/15 [Pipeline] { [Pipeline] checkout [2021-10-11T15:34:00.823Z] Selected Git installation does not exist. Using Default [2021-10-11T15:34:00.824Z] The recommended git tool is: NONE [2021-10-11T15:34:02.184Z] Commit message: "Merge pull request #1032 from lenny-intel/pr-template" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-11T15:34:02.764Z] provisioning config files... [2021-10-11T15:34:02.779Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/15@tmp/config6401861154890267932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:34:03.174Z] ---> docker-login.sh [2021-10-11T15:34:03.174Z] nexus3.edgexfoundry.org:10001 [2021-10-11T15:34:03.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:34:03.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:34:03.174Z] Configure a credential helper to remove this warning. See [2021-10-11T15:34:03.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:34:03.174Z] [2021-10-11T15:34:03.174Z] Login Succeeded [2021-10-11T15:34:03.174Z] nexus3.edgexfoundry.org:10002 [2021-10-11T15:34:03.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:34:03.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:34:03.437Z] Configure a credential helper to remove this warning. See [2021-10-11T15:34:03.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:34:03.437Z] [2021-10-11T15:34:03.437Z] Login Succeeded [2021-10-11T15:34:03.437Z] nexus3.edgexfoundry.org:10003 [2021-10-11T15:34:03.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:34:03.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:34:03.437Z] Configure a credential helper to remove this warning. See [2021-10-11T15:34:03.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:34:03.437Z] [2021-10-11T15:34:03.437Z] Login Succeeded [2021-10-11T15:34:03.437Z] nexus3.edgexfoundry.org:10004 [2021-10-11T15:34:03.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:34:03.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:34:03.706Z] Configure a credential helper to remove this warning. See [2021-10-11T15:34:03.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:34:03.706Z] [2021-10-11T15:34:03.706Z] Login Succeeded [2021-10-11T15:34:03.706Z] docker.io [2021-10-11T15:34:03.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:34:03.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:34:03.967Z] Configure a credential helper to remove this warning. See [2021-10-11T15:34:03.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:34:03.967Z] [2021-10-11T15:34:03.967Z] Login Succeeded [2021-10-11T15:34:03.967Z] ---> docker-login.sh ends [Pipeline] } [2021-10-11T15:34:04.003Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-11T15:34:04.141Z] ========================================================= [2021-10-11T15:34:04.141Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-11T15:34:04.141Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:34:04.466Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-11T15:34:04.466Z] Sending build context to Docker daemon 2.673MB [2021-10-11T15:34:04.466Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-11T15:34:04.466Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-11T15:34:04.466Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-11T15:34:04.466Z] 4e9f2cdf4387: Pulling fs layer [2021-10-11T15:34:04.466Z] 57d31006c564: Pulling fs layer [2021-10-11T15:34:04.466Z] bd5ccded8296: Pulling fs layer [2021-10-11T15:34:04.466Z] 304dd3a0f381: Pulling fs layer [2021-10-11T15:34:04.466Z] d37cda54a23b: Pulling fs layer [2021-10-11T15:34:04.466Z] bae75c0f2455: Pulling fs layer [2021-10-11T15:34:04.466Z] 806579b3d29a: Pulling fs layer [2021-10-11T15:34:04.466Z] c77eb801bf70: Pulling fs layer [2021-10-11T15:34:04.466Z] 6d0567d44e1a: Pulling fs layer [2021-10-11T15:34:04.466Z] 304dd3a0f381: Waiting [2021-10-11T15:34:04.466Z] d37cda54a23b: Waiting [2021-10-11T15:34:04.466Z] bae75c0f2455: Waiting [2021-10-11T15:34:04.466Z] 806579b3d29a: Waiting [2021-10-11T15:34:04.466Z] c77eb801bf70: Waiting [2021-10-11T15:34:04.466Z] 6d0567d44e1a: Waiting [2021-10-11T15:34:04.466Z] bd5ccded8296: Download complete [2021-10-11T15:34:04.466Z] 57d31006c564: Verifying Checksum [2021-10-11T15:34:04.466Z] 57d31006c564: Download complete [2021-10-11T15:34:04.758Z] d37cda54a23b: Download complete [2021-10-11T15:34:04.758Z] bae75c0f2455: Verifying Checksum [2021-10-11T15:34:04.758Z] bae75c0f2455: Download complete [2021-10-11T15:34:04.758Z] 806579b3d29a: Verifying Checksum [2021-10-11T15:34:04.758Z] 806579b3d29a: Download complete [2021-10-11T15:34:04.758Z] 4e9f2cdf4387: Verifying Checksum [2021-10-11T15:34:04.758Z] 4e9f2cdf4387: Download complete [2021-10-11T15:34:04.758Z] c77eb801bf70: Verifying Checksum [2021-10-11T15:34:04.758Z] c77eb801bf70: Download complete [2021-10-11T15:34:05.037Z] 4e9f2cdf4387: Pull complete [2021-10-11T15:34:05.037Z] 57d31006c564: Pull complete [2021-10-11T15:34:05.305Z] 304dd3a0f381: Verifying Checksum [2021-10-11T15:34:05.305Z] 304dd3a0f381: Download complete [2021-10-11T15:34:05.305Z] bd5ccded8296: Pull complete [2021-10-11T15:34:05.305Z] 6d0567d44e1a: Verifying Checksum [2021-10-11T15:34:05.305Z] 6d0567d44e1a: Download complete [2021-10-11T15:34:07.425Z] using credential edgex-jenkins-ssh [2021-10-11T15:34:07.448Z] Cloning the remote Git repository [2021-10-11T15:34:07.523Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-11T15:34:07.696Z] > git init /w/workspace/device-sdk-go/15 # timeout=10 [2021-10-11T15:34:08.053Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-11T15:34:08.054Z] > git --version # timeout=10 [2021-10-11T15:34:08.110Z] > git --version # 'git version 2.17.1' [2021-10-11T15:34:08.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-11T15:34:08.287Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-11T15:34:09.577Z] 304dd3a0f381: Pull complete [2021-10-11T15:34:09.577Z] d37cda54a23b: Pull complete [2021-10-11T15:34:09.577Z] bae75c0f2455: Pull complete [2021-10-11T15:34:09.577Z] 806579b3d29a: Pull complete [2021-10-11T15:34:09.577Z] c77eb801bf70: Pull complete [2021-10-11T15:34:09.765Z] Avoid second fetch [2021-10-11T15:34:09.765Z] Checking out Revision 0d9d2c8ebacd62733844ce0c1cea89b222af8d31 (main) [2021-10-11T15:34:09.726Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-11T15:34:09.746Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-11T15:34:09.800Z] > git config core.sparsecheckout # timeout=10 [2021-10-11T15:34:09.822Z] > git checkout -f 0d9d2c8ebacd62733844ce0c1cea89b222af8d31 # timeout=10 [2021-10-11T15:34:12.145Z] 6d0567d44e1a: Pull complete [2021-10-11T15:34:12.145Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-11T15:34:12.145Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-11T15:34:12.145Z] ---> e839a31ac9d1 [2021-10-11T15:34:12.145Z] Step 3/10 : ARG MAKE=make build [2021-10-11T15:34:14.070Z] ---> Running in bd66dce0222b [2021-10-11T15:34:14.070Z] Removing intermediate container bd66dce0222b [2021-10-11T15:34:14.070Z] ---> b87e59956c07 [2021-10-11T15:34:14.070Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-11T15:34:14.070Z] ---> Running in 258a548a8410 [2021-10-11T15:34:14.070Z] Removing intermediate container 258a548a8410 [2021-10-11T15:34:14.070Z] ---> b775b3e2ee4b [2021-10-11T15:34:14.070Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-11T15:34:14.070Z] ---> Running in 8932e7945ad4 [2021-10-11T15:34:14.070Z] Removing intermediate container 8932e7945ad4 [2021-10-11T15:34:14.070Z] ---> 68a516d0fff7 [2021-10-11T15:34:14.070Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-11T15:34:14.070Z] ---> Running in 444d8314930f [2021-10-11T15:34:14.491Z] Commit message: "Merge pull request #1032 from lenny-intel/pr-template" [2021-10-11T15:34:14.649Z] Removing intermediate container 444d8314930f [2021-10-11T15:34:14.649Z] ---> dbdfb30689fe [2021-10-11T15:34:14.649Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-11T15:34:14.649Z] ---> Running in a6ad948a5a95 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-11T15:34:14.796Z] provisioning config files... [2021-10-11T15:34:14.832Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/15@tmp/config7495993501431885109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:34:14.909Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-11T15:34:15.473Z] ---> docker-login.sh [2021-10-11T15:34:15.473Z] nexus3.edgexfoundry.org:10001 [2021-10-11T15:34:15.851Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-11T15:34:16.112Z] OK: 219 MiB in 52 packages [2021-10-11T15:34:16.373Z] Removing intermediate container a6ad948a5a95 [2021-10-11T15:34:16.373Z] ---> d3e244048409 [2021-10-11T15:34:16.373Z] Step 8/10 : COPY . . [2021-10-11T15:34:16.641Z] ---> 1edb347baf11 [2021-10-11T15:34:16.641Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-11T15:34:16.641Z] ---> Running in 55d3a059879f [2021-10-11T15:34:16.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:34:17.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:34:17.224Z] Configure a credential helper to remove this warning. See [2021-10-11T15:34:17.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:34:17.224Z] [2021-10-11T15:34:17.224Z] Login Succeeded [2021-10-11T15:34:17.505Z] nexus3.edgexfoundry.org:10002 [2021-10-11T15:34:17.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:34:18.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:34:18.064Z] Configure a credential helper to remove this warning. See [2021-10-11T15:34:18.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:34:18.064Z] [2021-10-11T15:34:18.064Z] Login Succeeded [2021-10-11T15:34:18.064Z] nexus3.edgexfoundry.org:10003 [2021-10-11T15:34:18.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:34:18.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:34:18.636Z] Configure a credential helper to remove this warning. See [2021-10-11T15:34:18.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:34:18.636Z] [2021-10-11T15:34:18.636Z] Login Succeeded [2021-10-11T15:34:18.636Z] nexus3.edgexfoundry.org:10004 [2021-10-11T15:34:18.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:34:19.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:34:19.206Z] Configure a credential helper to remove this warning. See [2021-10-11T15:34:19.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:34:19.206Z] [2021-10-11T15:34:19.206Z] Login Succeeded [2021-10-11T15:34:19.206Z] docker.io [2021-10-11T15:34:19.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-11T15:34:20.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-11T15:34:20.099Z] Configure a credential helper to remove this warning. See [2021-10-11T15:34:20.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-11T15:34:20.099Z] [2021-10-11T15:34:20.099Z] Login Succeeded [2021-10-11T15:34:20.099Z] ---> docker-login.sh ends [Pipeline] } [2021-10-11T15:34:20.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-11T15:34:20.619Z] ========================================================= [2021-10-11T15:34:20.619Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-11T15:34:20.619Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:34:21.040Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-11T15:34:21.653Z] Sending build context to Docker daemon 2.672MB [2021-10-11T15:34:21.653Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-11T15:34:21.653Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-11T15:34:21.933Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-11T15:34:21.933Z] bbf911997326: Pulling fs layer [2021-10-11T15:34:21.933Z] 58ec367f63d7: Pulling fs layer [2021-10-11T15:34:21.933Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-11T15:34:21.933Z] fc5181fea5dc: Pulling fs layer [2021-10-11T15:34:21.933Z] 9c418107303f: Pulling fs layer [2021-10-11T15:34:21.933Z] 284eca6f2348: Pulling fs layer [2021-10-11T15:34:21.933Z] 842844d905b1: Pulling fs layer [2021-10-11T15:34:21.933Z] 901a3a57568e: Pulling fs layer [2021-10-11T15:34:21.933Z] fc5181fea5dc: Waiting [2021-10-11T15:34:21.933Z] 9c418107303f: Waiting [2021-10-11T15:34:21.933Z] 284eca6f2348: Waiting [2021-10-11T15:34:21.933Z] 842844d905b1: Waiting [2021-10-11T15:34:21.933Z] 901a3a57568e: Waiting [2021-10-11T15:34:21.933Z] 1b4a6ffa7d45: Verifying Checksum [2021-10-11T15:34:21.933Z] 1b4a6ffa7d45: Download complete [2021-10-11T15:34:21.933Z] 58ec367f63d7: Verifying Checksum [2021-10-11T15:34:21.933Z] 58ec367f63d7: Download complete [2021-10-11T15:34:21.933Z] 9c418107303f: Verifying Checksum [2021-10-11T15:34:21.933Z] 9c418107303f: Download complete [2021-10-11T15:34:21.933Z] 284eca6f2348: Verifying Checksum [2021-10-11T15:34:21.933Z] 284eca6f2348: Download complete [2021-10-11T15:34:21.933Z] 842844d905b1: Download complete [2021-10-11T15:34:21.933Z] bbf911997326: Download complete [2021-10-11T15:34:22.943Z] bbf911997326: Pull complete [2021-10-11T15:34:23.560Z] 58ec367f63d7: Pull complete [2021-10-11T15:34:24.191Z] 901a3a57568e: Verifying Checksum [2021-10-11T15:34:24.191Z] 901a3a57568e: Download complete [2021-10-11T15:34:24.191Z] 1b4a6ffa7d45: Pull complete [2021-10-11T15:34:24.471Z] fc5181fea5dc: Verifying Checksum [2021-10-11T15:34:24.471Z] fc5181fea5dc: Download complete [2021-10-11T15:34:34.935Z] fc5181fea5dc: Pull complete [2021-10-11T15:34:34.935Z] 9c418107303f: Pull complete [2021-10-11T15:34:34.935Z] 284eca6f2348: Pull complete [2021-10-11T15:34:34.935Z] 842844d905b1: Pull complete [2021-10-11T15:34:40.413Z] 901a3a57568e: Pull complete [2021-10-11T15:34:40.413Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-11T15:34:40.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-11T15:34:40.413Z] ---> 72ade6ffb461 [2021-10-11T15:34:40.413Z] Step 3/10 : ARG MAKE=make build [2021-10-11T15:34:45.885Z] ---> Running in 3cc1253adef5 [2021-10-11T15:34:45.885Z] Removing intermediate container 3cc1253adef5 [2021-10-11T15:34:45.885Z] ---> ef80f2f8bf47 [2021-10-11T15:34:45.885Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-11T15:34:45.885Z] ---> Running in 50934b825164 [2021-10-11T15:34:46.166Z] Removing intermediate container 50934b825164 [2021-10-11T15:34:46.166Z] ---> b17aa1c0703c [2021-10-11T15:34:46.166Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-11T15:34:46.445Z] ---> Running in ecaf7801dee2 [2021-10-11T15:34:47.053Z] Removing intermediate container ecaf7801dee2 [2021-10-11T15:34:47.053Z] ---> 012815f3954b [2021-10-11T15:34:47.053Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-11T15:34:47.053Z] ---> Running in 0d590683f66b [2021-10-11T15:34:48.807Z] Removing intermediate container 55d3a059879f [2021-10-11T15:34:48.807Z] ---> 9447197eed10 [2021-10-11T15:34:48.807Z] Step 10/10 : RUN ${MAKE} [2021-10-11T15:34:48.807Z] ---> Running in 87d80380b64f [2021-10-11T15:34:48.807Z] noop [2021-10-11T15:34:48.807Z] Removing intermediate container 87d80380b64f [2021-10-11T15:34:48.807Z] ---> 703fb181fa49 [2021-10-11T15:34:48.807Z] Successfully built 703fb181fa49 [2021-10-11T15:34:48.807Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:34:49.117Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-11T15:34:49.117Z] . [Pipeline] withDockerContainer [2021-10-11T15:34:49.188Z] prd-centos7-docker-4c-2g-423 does not seem to be running inside a container [2021-10-11T15:34:49.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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 ******** ci-base-image-x86_64 cat [2021-10-11T15:34:49.567Z] $ docker top 27ea2cbfb37668ed374cdb45775df521402753b39805ebe7250aaa728d9cd408 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-11T15:34:49.719Z] Removing intermediate container 0d590683f66b [2021-10-11T15:34:49.719Z] ---> 8b5eba0f6ebf [2021-10-11T15:34:49.719Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-11T15:34:49.926Z] + go version [2021-10-11T15:34:49.926Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-11T15:34:49.937Z] $ docker stop --time=1 27ea2cbfb37668ed374cdb45775df521402753b39805ebe7250aaa728d9cd408 [2021-10-11T15:34:50.002Z] ---> Running in 2ec010c42fa5 [2021-10-11T15:34:51.001Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-11T15:34:51.108Z] $ docker rm -f 27ea2cbfb37668ed374cdb45775df521402753b39805ebe7250aaa728d9cd408 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:34:51.607Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-11T15:34:51.607Z] . [Pipeline] withDockerContainer [2021-10-11T15:34:51.671Z] prd-centos7-docker-4c-2g-423 does not seem to be running inside a container [2021-10-11T15:34:51.704Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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 ******** ci-base-image-x86_64 cat [2021-10-11T15:34:51.998Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-11T15:34:52.021Z] $ docker top 27b0faa71adb1a2c39bc3aba932975ff3ffdc91e4c20062a00f44adb1c664fa0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-11T15:34:52.409Z] + make test [2021-10-11T15:34:52.409Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-11T15:34:52.991Z] OK: 218 MiB in 52 packages [2021-10-11T15:34:53.988Z] Removing intermediate container 2ec010c42fa5 [2021-10-11T15:34:53.988Z] ---> cf20f80d770f [2021-10-11T15:34:53.988Z] Step 8/10 : COPY . . [2021-10-11T15:34:55.179Z] ---> ffcdaeab37a9 [2021-10-11T15:34:55.179Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-11T15:34:55.458Z] ---> Running in a3d2c0fe3cf1 [2021-10-11T15:34:57.770Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-11T15:35:24.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-11T15:35:24.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-11T15:35:24.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-11T15:35:24.484Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.061s coverage: 23.7% of statements [2021-10-11T15:35:24.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-11T15:35:24.484Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 28.1% of statements [2021-10-11T15:35:24.484Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements [2021-10-11T15:35:24.484Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 9.0% of statements [2021-10-11T15:35:24.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-11T15:35:24.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-11T15:35:24.484Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-11T15:35:25.438Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 28.7% of statements [2021-10-11T15:35:25.438Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-11T15:35:26.393Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 83.3% of statements [2021-10-11T15:35:26.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-11T15:35:26.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-11T15:35:26.393Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.088s coverage: 57.8% of statements [2021-10-11T15:35:27.797Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.835s coverage: 89.0% of statements [2021-10-11T15:35:27.797Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-11T15:35:27.797Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.052s coverage: 4.9% of statements [2021-10-11T15:35:27.797Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-11T15:35:27.797Z] GO111MODULE=on go vet ./... [2021-10-11T15:35:46.038Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-11T15:35:46.038Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-11T15:35:46.038Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-11T15:35:46.620Z] $ docker stop --time=1 27b0faa71adb1a2c39bc3aba932975ff3ffdc91e4c20062a00f44adb1c664fa0 [2021-10-11T15:35:48.084Z] $ docker rm -f 27b0faa71adb1a2c39bc3aba932975ff3ffdc91e4c20062a00f44adb1c664fa0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-11T15:35:48.538Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-11T15:35:48.717Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-11T15:35:49.956Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-11T15:35:50.249Z] + ls -al . [2021-10-11T15:35:50.249Z] total 264 [2021-10-11T15:35:50.249Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 11 15:35 . [2021-10-11T15:35:50.249Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 11 15:33 .. [2021-10-11T15:35:50.249Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 11 15:33 bin [2021-10-11T15:35:50.249Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 11 15:33 CHANGELOG.md [2021-10-11T15:35:50.249Z] -rw-r--r--. 1 jenkins jenkins 126160 Oct 11 15:35 coverage.out [2021-10-11T15:35:50.249Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 11 15:33 .dockerignore [2021-10-11T15:35:50.249Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 11 15:33 example [2021-10-11T15:35:50.249Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 11 15:34 .git [2021-10-11T15:35:50.249Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 11 15:33 .github [2021-10-11T15:35:50.249Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 11 15:33 .gitignore [2021-10-11T15:35:50.249Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 11 15:33 go.mod [2021-10-11T15:35:50.249Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 11 15:33 go.sum [2021-10-11T15:35:50.249Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 11 15:33 GOVERNANCE.md [2021-10-11T15:35:50.249Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 11 15:33 internal [2021-10-11T15:35:50.249Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 11 15:33 Jenkinsfile [2021-10-11T15:35:50.249Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 11 15:33 LICENSE [2021-10-11T15:35:50.249Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 11 15:33 Makefile [2021-10-11T15:35:50.249Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 11 15:33 openapi [2021-10-11T15:35:50.249Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 11 15:33 OWNERS.md [2021-10-11T15:35:50.249Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 11 15:33 pkg [2021-10-11T15:35:50.249Z] -rw-rw-r--. 1 jenkins jenkins 7646 Oct 11 15:33 README.md [2021-10-11T15:35:50.249Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 11 15:33 snap [2021-10-11T15:35:50.249Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 11 15:31 VERSION [2021-10-11T15:35:50.249Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 11 15:33 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:35:50.555Z] + 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=0d9d2c8ebacd62733844ce0c1cea89b222af8d31 --label arch=amd64 --label version=2.0.1-dev.16 . [2021-10-11T15:35:50.555Z] Sending build context to Docker daemon 2.8MB [2021-10-11T15:35:50.555Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-11T15:35:50.555Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-11T15:35:50.555Z] ---> 703fb181fa49 [2021-10-11T15:35:50.555Z] Step 3/24 : ARG MAKE=make build [2021-10-11T15:35:50.555Z] ---> Running in 0d0e85ac74a2 [2021-10-11T15:35:50.826Z] Removing intermediate container 0d0e85ac74a2 [2021-10-11T15:35:50.826Z] ---> 0a8b87580a11 [2021-10-11T15:35:50.826Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-11T15:35:50.826Z] ---> Running in 96f1fda9e967 [2021-10-11T15:35:50.826Z] Removing intermediate container 96f1fda9e967 [2021-10-11T15:35:50.826Z] ---> c66fe4d0f54f [2021-10-11T15:35:50.826Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-11T15:35:50.826Z] ---> Running in ccc7bef1fd0d [2021-10-11T15:35:50.826Z] Removing intermediate container ccc7bef1fd0d [2021-10-11T15:35:50.826Z] ---> a88988d53d55 [2021-10-11T15:35:50.826Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-11T15:35:50.826Z] ---> Running in 2bcb17ad3df7 [2021-10-11T15:35:51.405Z] Removing intermediate container 2bcb17ad3df7 [2021-10-11T15:35:51.405Z] ---> 78a5d2538512 [2021-10-11T15:35:51.405Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-11T15:35:51.405Z] ---> Running in 9e5f3c94f79c [2021-10-11T15:35:51.666Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-11T15:35:52.607Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-11T15:35:52.874Z] OK: 219 MiB in 52 packages [2021-10-11T15:35:53.134Z] Removing intermediate container 9e5f3c94f79c [2021-10-11T15:35:53.134Z] ---> 51c118223f0c [2021-10-11T15:35:53.134Z] Step 8/24 : COPY . . [2021-10-11T15:35:53.394Z] ---> 4e6adeb7affa [2021-10-11T15:35:53.394Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-11T15:35:53.394Z] ---> Running in 8f33b2218fed [2021-10-11T15:35:53.969Z] Removing intermediate container 8f33b2218fed [2021-10-11T15:35:53.969Z] ---> 51d227e02fed [2021-10-11T15:35:53.969Z] Step 10/24 : RUN ${MAKE} [2021-10-11T15:35:53.969Z] ---> Running in 90e8a73059a5 [2021-10-11T15:35:54.240Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.16" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-11T15:36:06.503Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-11T15:36:06.503Z] Removing intermediate container 90e8a73059a5 [2021-10-11T15:36:06.503Z] ---> f39eedcf9667 [2021-10-11T15:36:06.503Z] Step 11/24 : FROM alpine:3.14 [2021-10-11T15:36:06.764Z] 3.14: Pulling from library/alpine [2021-10-11T15:36:07.025Z] a0d0a0d46f8b: Pulling fs layer [2021-10-11T15:36:07.291Z] a0d0a0d46f8b: Verifying Checksum [2021-10-11T15:36:07.291Z] a0d0a0d46f8b: Download complete [2021-10-11T15:36:07.291Z] a0d0a0d46f8b: Pull complete [2021-10-11T15:36:07.291Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-11T15:36:07.291Z] Status: Downloaded newer image for alpine:3.14 [2021-10-11T15:36:07.291Z] ---> 14119a10abf4 [2021-10-11T15:36:07.291Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-11T15:36:07.291Z] ---> Running in d934fe8a1d3c [2021-10-11T15:36:07.554Z] Removing intermediate container d934fe8a1d3c [2021-10-11T15:36:07.554Z] ---> f997b45b4a58 [2021-10-11T15:36:07.554Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-11T15:36:07.554Z] ---> Running in a9953c22053c [2021-10-11T15:36:07.853Z] Removing intermediate container a9953c22053c [2021-10-11T15:36:07.853Z] ---> 82d4394404cf [2021-10-11T15:36:07.853Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-11T15:36:07.853Z] ---> Running in 26961c8c8e68 [2021-10-11T15:36:08.114Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-11T15:36:09.058Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-11T15:36:09.320Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-11T15:36:09.580Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-11T15:36:09.580Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-11T15:36:09.580Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-11T15:36:09.843Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-11T15:36:09.843Z] Executing busybox-1.33.1-r3.trigger [2021-10-11T15:36:09.843Z] OK: 8 MiB in 19 packages [2021-10-11T15:36:10.104Z] Removing intermediate container 26961c8c8e68 [2021-10-11T15:36:10.104Z] ---> f9237b0875bc [2021-10-11T15:36:10.104Z] Step 15/24 : WORKDIR / [2021-10-11T15:36:10.104Z] ---> Running in 9aa396047685 [2021-10-11T15:36:10.369Z] Removing intermediate container 9aa396047685 [2021-10-11T15:36:10.369Z] ---> d9a17415ac2d [2021-10-11T15:36:10.369Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-11T15:36:10.369Z] ---> c95731cf04e7 [2021-10-11T15:36:10.369Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-11T15:36:10.943Z] ---> ce5a1a5c955c [2021-10-11T15:36:10.943Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-11T15:36:10.943Z] ---> c90fa51f9c36 [2021-10-11T15:36:10.943Z] Step 19/24 : EXPOSE 59999 [2021-10-11T15:36:10.943Z] ---> Running in 15abc9b26d2d [2021-10-11T15:36:10.943Z] Removing intermediate container 15abc9b26d2d [2021-10-11T15:36:10.943Z] ---> 6d4193a15c0d [2021-10-11T15:36:10.943Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-11T15:36:11.206Z] ---> Running in 597bb9f805d5 [2021-10-11T15:36:11.206Z] Removing intermediate container 597bb9f805d5 [2021-10-11T15:36:11.206Z] ---> 5e33a712ce63 [2021-10-11T15:36:11.206Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-11T15:36:11.206Z] ---> Running in d1641c006663 [2021-10-11T15:36:11.206Z] Removing intermediate container d1641c006663 [2021-10-11T15:36:11.206Z] ---> 71f618827599 [2021-10-11T15:36:11.206Z] Step 22/24 : LABEL arch=amd64 [2021-10-11T15:36:11.206Z] ---> Running in ce288ee87010 [2021-10-11T15:36:11.466Z] Removing intermediate container ce288ee87010 [2021-10-11T15:36:11.466Z] ---> 88ec2e868a78 [2021-10-11T15:36:11.466Z] Step 23/24 : LABEL git_sha=0d9d2c8ebacd62733844ce0c1cea89b222af8d31 [2021-10-11T15:36:11.466Z] ---> Running in 721913208a12 [2021-10-11T15:36:11.466Z] Removing intermediate container 721913208a12 [2021-10-11T15:36:11.466Z] ---> 755e560e1d5b [2021-10-11T15:36:11.466Z] Step 24/24 : LABEL version=2.0.1-dev.16 [2021-10-11T15:36:11.466Z] ---> Running in 847588dacfd6 [2021-10-11T15:36:11.727Z] Removing intermediate container 847588dacfd6 [2021-10-11T15:36:11.727Z] ---> 0fe64011bae8 [2021-10-11T15:36:11.727Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-11T15:36:11.727Z] Successfully built 0fe64011bae8 [2021-10-11T15:36:11.727Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:36:13.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-11T15:36:13.510Z] [2021-10-11T15:36:13.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:36:13.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-11T15:36:13.812Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-11T15:36:13.812Z] b4d181a07f80: Pulling fs layer [2021-10-11T15:36:13.812Z] a1111a8f2ec3: Pulling fs layer [2021-10-11T15:36:13.812Z] ed53099fbce6: Pulling fs layer [2021-10-11T15:36:13.812Z] dc539afda2c1: Pulling fs layer [2021-10-11T15:36:13.812Z] 77bc0d833cb6: Pulling fs layer [2021-10-11T15:36:13.812Z] 9065ff56babe: Pulling fs layer [2021-10-11T15:36:13.812Z] d287ab97295c: Pulling fs layer [2021-10-11T15:36:13.812Z] dc539afda2c1: Waiting [2021-10-11T15:36:13.812Z] 77bc0d833cb6: Waiting [2021-10-11T15:36:13.812Z] 9065ff56babe: Waiting [2021-10-11T15:36:13.812Z] d287ab97295c: Waiting [2021-10-11T15:36:13.812Z] a1111a8f2ec3: Verifying Checksum [2021-10-11T15:36:13.812Z] a1111a8f2ec3: Download complete [2021-10-11T15:36:13.812Z] dc539afda2c1: Verifying Checksum [2021-10-11T15:36:13.812Z] dc539afda2c1: Download complete [2021-10-11T15:36:13.812Z] ed53099fbce6: Verifying Checksum [2021-10-11T15:36:13.812Z] ed53099fbce6: Download complete [2021-10-11T15:36:14.073Z] 9065ff56babe: Verifying Checksum [2021-10-11T15:36:14.073Z] 9065ff56babe: Download complete [2021-10-11T15:36:14.073Z] 77bc0d833cb6: Verifying Checksum [2021-10-11T15:36:14.073Z] 77bc0d833cb6: Download complete [2021-10-11T15:36:14.073Z] b4d181a07f80: Verifying Checksum [2021-10-11T15:36:14.073Z] b4d181a07f80: Download complete [2021-10-11T15:36:14.648Z] d287ab97295c: Verifying Checksum [2021-10-11T15:36:14.648Z] d287ab97295c: Download complete [2021-10-11T15:36:15.616Z] b4d181a07f80: Pull complete [2021-10-11T15:36:15.616Z] a1111a8f2ec3: Pull complete [2021-10-11T15:36:16.192Z] ed53099fbce6: Pull complete [2021-10-11T15:36:16.192Z] dc539afda2c1: Pull complete [2021-10-11T15:36:16.458Z] 77bc0d833cb6: Pull complete [2021-10-11T15:36:16.458Z] 9065ff56babe: Pull complete [2021-10-11T15:36:17.371Z] Removing intermediate container a3d2c0fe3cf1 [2021-10-11T15:36:17.371Z] ---> 5055ea618fad [2021-10-11T15:36:17.371Z] Step 10/10 : RUN ${MAKE} [2021-10-11T15:36:17.371Z] ---> Running in 0f943f9e35a7 [2021-10-11T15:36:17.371Z] noop [2021-10-11T15:36:17.646Z] Removing intermediate container 0f943f9e35a7 [2021-10-11T15:36:17.646Z] ---> 617f0ea84a3e [2021-10-11T15:36:17.646Z] Successfully built 617f0ea84a3e [2021-10-11T15:36:17.646Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:36:18.010Z] + docker inspect -f . ci-base-image-arm64 [2021-10-11T15:36:18.010Z] . [Pipeline] withDockerContainer [2021-10-11T15:36:18.298Z] prd-ubuntu18.04-docker-arm64-4c-16g-422 does not seem to be running inside a container [2021-10-11T15:36:18.415Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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 ******** ci-base-image-arm64 cat [2021-10-11T15:36:20.115Z] $ docker top b6ae7495e3f03acbbf16575921404989269db798fb03f6255d8618e4b3b2e746 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-11T15:36:21.110Z] + go version [2021-10-11T15:36:21.110Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-11T15:36:21.151Z] $ docker stop --time=1 b6ae7495e3f03acbbf16575921404989269db798fb03f6255d8618e4b3b2e746 [2021-10-11T15:36:21.785Z] d287ab97295c: Pull complete [2021-10-11T15:36:21.785Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-11T15:36:21.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-11T15:36:21.785Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-11T15:36:23.019Z] $ docker rm -f b6ae7495e3f03acbbf16575921404989269db798fb03f6255d8618e4b3b2e746 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer [2021-10-11T15:36:23.330Z] prd-centos7-docker-4c-2g-423 does not seem to be running inside a container [2021-10-11T15:36:23.366Z] $ 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/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-11T15:36:25.758Z] $ docker top 43d68f5d8a63eb8a665d14f711df0f063f624712c9c50e010e8adb3553022dcc -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:36:26.254Z] ---> job-cost.sh [2021-10-11T15:36:26.254Z] lf-activate-venv: SKIPPING [2021-10-11T15:36:26.254Z] INFO: No Stack... [2021-10-11T15:36:26.374Z] + docker inspect -f . ci-base-image-arm64 [2021-10-11T15:36:26.374Z] . [Pipeline] withDockerContainer [2021-10-11T15:36:26.516Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-11T15:36:26.660Z] prd-ubuntu18.04-docker-arm64-4c-16g-422 does not seem to be running inside a container [2021-10-11T15:36:26.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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 ******** ci-base-image-arm64 cat [2021-10-11T15:36:26.775Z] INFO: Archiving Costs [2021-10-11T15:36:28.502Z] $ docker top 5972c099b75aa289af5926e791e57709e53f5c4caa7ef7af07888dd99fb4422a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] fileExists [Pipeline] sh [2021-10-11T15:36:29.122Z] + cat /w/workspace/device-sdk-go/15/archives/cost.csv [2021-10-11T15:36:29.122Z] + cut -d, -f6 [Pipeline] lock [2021-10-11T15:36:29.150Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-15-stack-cost] [2021-10-11T15:36:29.156Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-15-stack-cost] did not exist. Created. [2021-10-11T15:36:29.157Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-11T15:36:29.465Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-11T15:36:29.504Z] Stashed 1 file(s) [Pipeline] } [2021-10-11T15:36:29.511Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-11T15:36:29.530Z] $ docker stop --time=1 43d68f5d8a63eb8a665d14f711df0f063f624712c9c50e010e8adb3553022dcc [2021-10-11T15:36:29.550Z] + make test [2021-10-11T15:36:29.550Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-11T15:36:30.665Z] $ docker rm -f 43d68f5d8a63eb8a665d14f711df0f063f624712c9c50e010e8adb3553022dcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-11T15:36:56.470Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-11T15:38:04.700Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-11T15:38:04.700Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-11T15:38:04.700Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-11T15:38:17.221Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.324s coverage: 23.7% of statements [2021-10-11T15:38:17.221Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-11T15:38:17.221Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.232s coverage: 28.1% of statements [2021-10-11T15:38:17.221Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.221s coverage: 78.9% of statements [2021-10-11T15:38:17.221Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.210s coverage: 9.0% of statements [2021-10-11T15:38:17.221Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-11T15:38:17.221Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-11T15:38:17.221Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-11T15:38:17.221Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.319s coverage: 28.7% of statements [2021-10-11T15:38:17.221Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-11T15:38:18.695Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.276s coverage: 83.3% of statements [2021-10-11T15:38:18.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-11T15:38:18.695Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-11T15:38:18.695Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.455s coverage: 57.8% of statements [2021-10-11T15:38:23.058Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.973s coverage: 89.0% of statements [2021-10-11T15:38:23.058Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-11T15:38:23.058Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.193s coverage: 4.9% of statements [2021-10-11T15:38:23.058Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-11T15:38:23.336Z] GO111MODULE=on go vet ./... [2021-10-11T15:39:31.516Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-11T15:39:31.517Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-11T15:39:31.517Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-11T15:39:31.565Z] $ docker stop --time=1 5972c099b75aa289af5926e791e57709e53f5c4caa7ef7af07888dd99fb4422a [2021-10-11T15:39:33.721Z] $ docker rm -f 5972c099b75aa289af5926e791e57709e53f5c4caa7ef7af07888dd99fb4422a [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-11T15:39:34.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-11T15:39:34.889Z] Warning: overwriting stash ‘coverage-report’ [2021-10-11T15:39:35.620Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-11T15:39:36.114Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-11T15:39:36.467Z] + ls -al . [2021-10-11T15:39:36.467Z] total 300 [2021-10-11T15:39:36.467Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 15:39 . [2021-10-11T15:39:36.467Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 15:34 .. [2021-10-11T15:39:36.467Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 11 15:34 .dockerignore [2021-10-11T15:39:36.467Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 15:34 .git [2021-10-11T15:39:36.467Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 15:34 .github [2021-10-11T15:39:36.467Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 11 15:34 .gitignore [2021-10-11T15:39:36.467Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 11 15:34 CHANGELOG.md [2021-10-11T15:39:36.467Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 15:34 GOVERNANCE.md [2021-10-11T15:39:36.467Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 11 15:34 Jenkinsfile [2021-10-11T15:39:36.467Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 11 15:34 LICENSE [2021-10-11T15:39:36.467Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 11 15:34 Makefile [2021-10-11T15:39:36.467Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 11 15:34 OWNERS.md [2021-10-11T15:39:36.467Z] -rw-rw-r-- 1 jenkins jenkins 7646 Oct 11 15:34 README.md [2021-10-11T15:39:36.467Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 11 15:31 VERSION [2021-10-11T15:39:36.467Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 15:34 bin [2021-10-11T15:39:36.467Z] -rw-r--r-- 1 jenkins jenkins 126160 Oct 11 15:38 coverage.out [2021-10-11T15:39:36.467Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 11 15:34 example [2021-10-11T15:39:36.467Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 11 15:34 go.mod [2021-10-11T15:39:36.467Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 11 15:34 go.sum [2021-10-11T15:39:36.467Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 11 15:34 internal [2021-10-11T15:39:36.467Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 15:34 openapi [2021-10-11T15:39:36.467Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 11 15:34 pkg [2021-10-11T15:39:36.467Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 15:34 snap [2021-10-11T15:39:36.467Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 11 15:34 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:39:36.822Z] + 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=0d9d2c8ebacd62733844ce0c1cea89b222af8d31 --label arch=arm64 --label version=2.0.1-dev.16 . [2021-10-11T15:39:37.441Z] Sending build context to Docker daemon 2.799MB [2021-10-11T15:39:37.441Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-11T15:39:37.441Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-11T15:39:37.441Z] ---> 617f0ea84a3e [2021-10-11T15:39:37.441Z] Step 3/24 : ARG MAKE=make build [2021-10-11T15:39:37.718Z] ---> Running in 4068b92db215 [2021-10-11T15:39:37.996Z] Removing intermediate container 4068b92db215 [2021-10-11T15:39:37.996Z] ---> f9d1dc577db0 [2021-10-11T15:39:37.996Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-11T15:39:38.274Z] ---> Running in becce274e474 [2021-10-11T15:39:38.882Z] Removing intermediate container becce274e474 [2021-10-11T15:39:38.882Z] ---> 9c04a438ab71 [2021-10-11T15:39:38.882Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-11T15:39:38.882Z] ---> Running in 9d249ecfe697 [2021-10-11T15:39:39.500Z] Removing intermediate container 9d249ecfe697 [2021-10-11T15:39:39.500Z] ---> 81841aa2dc36 [2021-10-11T15:39:39.500Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-11T15:39:39.500Z] ---> Running in 62c42bf2ef77 [2021-10-11T15:39:42.165Z] Removing intermediate container 62c42bf2ef77 [2021-10-11T15:39:42.165Z] ---> bbeb2c3f7f11 [2021-10-11T15:39:42.165Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-11T15:39:42.165Z] ---> Running in 942a88364589 [2021-10-11T15:39:43.631Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-11T15:39:44.242Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-11T15:39:45.246Z] OK: 218 MiB in 52 packages [2021-10-11T15:39:46.255Z] Removing intermediate container 942a88364589 [2021-10-11T15:39:46.255Z] ---> 505d4f94cbee [2021-10-11T15:39:46.255Z] Step 8/24 : COPY . . [2021-10-11T15:39:47.751Z] ---> 2e86504e3bf3 [2021-10-11T15:39:47.751Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-11T15:39:47.751Z] ---> Running in e5bfd5bbbeb0 [2021-10-11T15:39:50.404Z] Removing intermediate container e5bfd5bbbeb0 [2021-10-11T15:39:50.404Z] ---> f3c81712245a [2021-10-11T15:39:50.404Z] Step 10/24 : RUN ${MAKE} [2021-10-11T15:39:50.404Z] ---> Running in eb9764f52351 [2021-10-11T15:39:51.863Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.16" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-11T15:40:30.959Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-11T15:40:30.959Z] Removing intermediate container eb9764f52351 [2021-10-11T15:40:30.959Z] ---> 325be8f187fe [2021-10-11T15:40:30.959Z] Step 11/24 : FROM alpine:3.14 [2021-10-11T15:40:30.959Z] 3.14: Pulling from library/alpine [2021-10-11T15:40:30.959Z] 552d1f2373af: Pulling fs layer [2021-10-11T15:40:30.959Z] 552d1f2373af: Verifying Checksum [2021-10-11T15:40:30.959Z] 552d1f2373af: Download complete [2021-10-11T15:40:30.959Z] 552d1f2373af: Pull complete [2021-10-11T15:40:30.959Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-11T15:40:30.959Z] Status: Downloaded newer image for alpine:3.14 [2021-10-11T15:40:30.959Z] ---> bb3de5531c18 [2021-10-11T15:40:30.959Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-11T15:40:31.238Z] ---> Running in 6e379bc57a02 [2021-10-11T15:40:31.842Z] Removing intermediate container 6e379bc57a02 [2021-10-11T15:40:31.842Z] ---> e8c0080a98ff [2021-10-11T15:40:31.842Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-11T15:40:31.842Z] ---> Running in 992482fb147f [2021-10-11T15:40:34.490Z] Removing intermediate container 992482fb147f [2021-10-11T15:40:34.490Z] ---> e907893ecf88 [2021-10-11T15:40:34.490Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-11T15:40:34.490Z] ---> Running in d770b8864fa4 [2021-10-11T15:40:35.482Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-11T15:40:36.468Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-11T15:40:37.461Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-11T15:40:37.461Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-11T15:40:37.461Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-11T15:40:37.737Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-11T15:40:37.737Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-11T15:40:38.015Z] Executing busybox-1.33.1-r3.trigger [2021-10-11T15:40:38.015Z] OK: 8 MiB in 19 packages [2021-10-11T15:40:39.006Z] Removing intermediate container d770b8864fa4 [2021-10-11T15:40:39.006Z] ---> 75d0c323f12d [2021-10-11T15:40:39.006Z] Step 15/24 : WORKDIR / [2021-10-11T15:40:39.287Z] ---> Running in b2fbaaa22226 [2021-10-11T15:40:39.893Z] Removing intermediate container b2fbaaa22226 [2021-10-11T15:40:39.893Z] ---> fd3ff5a5ac18 [2021-10-11T15:40:39.893Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-11T15:40:40.501Z] ---> aa5b9997f0c3 [2021-10-11T15:40:40.501Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-11T15:40:41.957Z] ---> fa773567e0b4 [2021-10-11T15:40:41.957Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-11T15:40:42.566Z] ---> fd605f7674ab [2021-10-11T15:40:42.566Z] Step 19/24 : EXPOSE 59999 [2021-10-11T15:40:42.847Z] ---> Running in ecacd096f7d3 [2021-10-11T15:40:43.452Z] Removing intermediate container ecacd096f7d3 [2021-10-11T15:40:43.452Z] ---> 2fc8c53e25be [2021-10-11T15:40:43.452Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-11T15:40:43.452Z] ---> Running in bf2bace1b212 [2021-10-11T15:40:44.057Z] Removing intermediate container bf2bace1b212 [2021-10-11T15:40:44.057Z] ---> bb3d38033cb6 [2021-10-11T15:40:44.057Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-11T15:40:44.057Z] ---> Running in 1594ca674282 [2021-10-11T15:40:44.664Z] Removing intermediate container 1594ca674282 [2021-10-11T15:40:44.664Z] ---> b2d0e1c08402 [2021-10-11T15:40:44.664Z] Step 22/24 : LABEL arch=arm64 [2021-10-11T15:40:44.664Z] ---> Running in 8e65477e81f7 [2021-10-11T15:40:45.270Z] Removing intermediate container 8e65477e81f7 [2021-10-11T15:40:45.270Z] ---> 5288db29f135 [2021-10-11T15:40:45.270Z] Step 23/24 : LABEL git_sha=0d9d2c8ebacd62733844ce0c1cea89b222af8d31 [2021-10-11T15:40:45.270Z] ---> Running in 86e801fd793e [2021-10-11T15:40:45.877Z] Removing intermediate container 86e801fd793e [2021-10-11T15:40:45.877Z] ---> 96c10da61d0d [2021-10-11T15:40:45.877Z] Step 24/24 : LABEL version=2.0.1-dev.16 [2021-10-11T15:40:45.877Z] ---> Running in ecab8dca77f1 [2021-10-11T15:40:46.482Z] Removing intermediate container ecab8dca77f1 [2021-10-11T15:40:46.482Z] ---> 7719056751a6 [2021-10-11T15:40:46.482Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-11T15:40:46.482Z] Successfully built 7719056751a6 [2021-10-11T15:40:46.482Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:40:47.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-11T15:40:47.336Z] [2021-10-11T15:40:47.337Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:40:47.705Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-11T15:40:47.987Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-11T15:40:47.987Z] 448f6bf000e3: Pulling fs layer [2021-10-11T15:40:47.987Z] f757da607395: Pulling fs layer [2021-10-11T15:40:47.987Z] 05883995daec: Pulling fs layer [2021-10-11T15:40:47.987Z] 8603b9c90790: Pulling fs layer [2021-10-11T15:40:47.987Z] 1560dd03e051: Pulling fs layer [2021-10-11T15:40:47.987Z] 27f5ce0e4adf: Pulling fs layer [2021-10-11T15:40:47.987Z] c2d8d7efcc4b: Pulling fs layer [2021-10-11T15:40:47.987Z] 1560dd03e051: Waiting [2021-10-11T15:40:47.987Z] 27f5ce0e4adf: Waiting [2021-10-11T15:40:47.987Z] 8603b9c90790: Waiting [2021-10-11T15:40:47.987Z] c2d8d7efcc4b: Waiting [2021-10-11T15:40:48.269Z] f757da607395: Verifying Checksum [2021-10-11T15:40:48.269Z] f757da607395: Download complete [2021-10-11T15:40:48.269Z] 8603b9c90790: Verifying Checksum [2021-10-11T15:40:48.269Z] 8603b9c90790: Download complete [2021-10-11T15:40:48.269Z] 05883995daec: Verifying Checksum [2021-10-11T15:40:48.269Z] 05883995daec: Download complete [2021-10-11T15:40:48.551Z] 1560dd03e051: Verifying Checksum [2021-10-11T15:40:48.551Z] 1560dd03e051: Download complete [2021-10-11T15:40:48.551Z] 27f5ce0e4adf: Download complete [2021-10-11T15:40:48.832Z] 448f6bf000e3: Verifying Checksum [2021-10-11T15:40:48.832Z] 448f6bf000e3: Download complete [2021-10-11T15:40:51.492Z] c2d8d7efcc4b: Verifying Checksum [2021-10-11T15:40:51.492Z] c2d8d7efcc4b: Download complete [2021-10-11T15:40:52.100Z] 448f6bf000e3: Pull complete [2021-10-11T15:40:53.093Z] f757da607395: Pull complete [2021-10-11T15:40:54.544Z] 05883995daec: Pull complete [2021-10-11T15:40:54.825Z] 8603b9c90790: Pull complete [2021-10-11T15:40:55.819Z] 1560dd03e051: Pull complete [2021-10-11T15:40:56.098Z] 27f5ce0e4adf: Pull complete [2021-10-11T15:41:11.249Z] c2d8d7efcc4b: Pull complete [2021-10-11T15:41:11.249Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-11T15:41:11.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-11T15:41:11.249Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-11T15:41:11.490Z] prd-ubuntu18.04-docker-arm64-4c-16g-422 does not seem to be running inside a container [2021-10-11T15:41:11.617Z] $ 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/15 -v /w/workspace/device-sdk-go/15:/w/workspace/device-sdk-go/15:rw,z -v /w/workspace/device-sdk-go/15@tmp:/w/workspace/device-sdk-go/15@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-11T15:41:16.251Z] $ docker top 7a2a53828deaf8ac57bfa28262ec2de02648fb568ee332d96786a55dfee2efa6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:41:17.253Z] ---> job-cost.sh [2021-10-11T15:41:17.253Z] lf-activate-venv: SKIPPING [2021-10-11T15:41:17.253Z] INFO: No Stack... [2021-10-11T15:41:39.475Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-11T15:41:39.754Z] INFO: Archiving Costs [Pipeline] sh [2021-10-11T15:41:40.441Z] + cat /w/workspace/device-sdk-go/15/archives/cost.csv [2021-10-11T15:41:40.441Z] + cut -d, -f6 [Pipeline] lock [2021-10-11T15:41:40.513Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-15-stack-cost] [2021-10-11T15:41:40.519Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-15-stack-cost] did not exist. Created. [2021-10-11T15:41:40.519Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-11T15:41:41.216Z] /w/workspace/device-sdk-go/15@tmp/durable-a6feca7d/script.sh: 1: /w/workspace/device-sdk-go/15@tmp/durable-a6feca7d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-11T15:41:41.915Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-11T15:41:41.945Z] Warning: overwriting stash ‘stack-cost’ [2021-10-11T15:41:42.012Z] Stashed 1 file(s) [Pipeline] } [2021-10-11T15:41:42.021Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-11T15:41:42.067Z] $ docker stop --time=1 7a2a53828deaf8ac57bfa28262ec2de02648fb568ee332d96786a55dfee2efa6 [2021-10-11T15:41:43.768Z] $ docker rm -f 7a2a53828deaf8ac57bfa28262ec2de02648fb568ee332d96786a55dfee2efa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-10-11T15:41:44.623Z] provisioning config files... [2021-10-11T15:41:44.633Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1734678953006445426tmp [Pipeline] { [Pipeline] sh [2021-10-11T15:41:44.939Z] + set +x [2021-10-11T15:41:44.939Z] + curl -s https://codecov.io/bash [2021-10-11T15:41:44.939Z] + bash -s -- [2021-10-11T15:41:44.939Z] [2021-10-11T15:41:44.939Z] _____ _ [2021-10-11T15:41:44.939Z] / ____| | | [2021-10-11T15:41:44.939Z] | | ___ __| | ___ ___ _____ __ [2021-10-11T15:41:44.939Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-11T15:41:44.939Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-11T15:41:44.939Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-11T15:41:44.939Z] Bash-1.0.6 [2021-10-11T15:41:44.939Z] [2021-10-11T15:41:44.939Z] [2021-10-11T15:41:44.939Z] ==> git version 2.24.4 found [2021-10-11T15:41:44.939Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-10-11T15:41:44.939Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-11T15:41:44.939Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-11T15:41:44.939Z] ==> Jenkins CI detected. [2021-10-11T15:41:44.939Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-11T15:41:44.939Z] project root: . [2021-10-11T15:41:44.939Z] --> token set from env [2021-10-11T15:41:44.939Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-11T15:41:45.202Z] ==> Running gcov in . (disable via -X gcov) [2021-10-11T15:41:45.202Z] ==> Python coveragepy not found [2021-10-11T15:41:45.202Z] ==> Searching for coverage reports in: [2021-10-11T15:41:45.202Z] + . [2021-10-11T15:41:45.202Z] -> Found 1 reports [2021-10-11T15:41:45.202Z] ==> Detecting git/mercurial file structure [2021-10-11T15:41:45.202Z] ==> Reading reports [2021-10-11T15:41:45.202Z] + ./coverage.out bytes=126160 [2021-10-11T15:41:45.202Z] ==> Appending adjustments [2021-10-11T15:41:45.202Z] https://docs.codecov.io/docs/fixing-reports [2021-10-11T15:41:45.462Z] + Found adjustments [2021-10-11T15:41:45.463Z] ==> Gzipping contents [2021-10-11T15:41:45.463Z] 16K /tmp/codecov.o88jza.gz [2021-10-11T15:41:45.463Z] ==> Uploading reports [2021-10-11T15:41:45.463Z] url: https://codecov.io [2021-10-11T15:41:45.463Z] query: branch=main&commit=0d9d2c8ebacd62733844ce0c1cea89b222af8d31&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-11T15:41:45.463Z] -> Pinging Codecov [2021-10-11T15:41:45.463Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=0d9d2c8ebacd62733844ce0c1cea89b222af8d31&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-11T15:41:45.722Z] -> Uploading to [2021-10-11T15:41:45.722Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-11/7E55EF52A471D76F132DFD9A03CDDE97/0d9d2c8ebacd62733844ce0c1cea89b222af8d31/4f099682-6570-48c6-869d-deea35de9fce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211011%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211011T154145Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ed52e20fae06f41dad32f79801de0cc5bbffe6aedc7665d6e6758ccf1ab12c6 [2021-10-11T15:41:45.722Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-11T15:41:45.722Z] Dload Upload Total Spent Left Speed [2021-10-11T15:41:45.981Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16085 0 0 100 16085 0 47298 --:--:-- --:--:-- --:--:-- 47448 [2021-10-11T15:41:45.981Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/0d9d2c8ebacd62733844ce0c1cea89b222af8d31 [Pipeline] } [2021-10-11T15:41:45.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-11T15:41:46.330Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-11T15:41:46.341Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:41:46.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-11T15:41:46.644Z] [2021-10-11T15:41:46.644Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:41:46.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-11T15:41:46.965Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-11T15:41:46.965Z] 188c0c94c7c5: Pulling fs layer [2021-10-11T15:41:46.965Z] 0ef7d3d256c8: Pulling fs layer [2021-10-11T15:41:46.965Z] de9db76c5a1d: Pulling fs layer [2021-10-11T15:41:46.965Z] 0eba1c9be4d2: Pulling fs layer [2021-10-11T15:41:46.965Z] 0d57e429df01: Pulling fs layer [2021-10-11T15:41:46.965Z] 4e4be7b47b0d: Pulling fs layer [2021-10-11T15:41:46.965Z] e1f770b5df2f: Pulling fs layer [2021-10-11T15:41:46.965Z] 85a0685a4137: Pulling fs layer [2021-10-11T15:41:46.965Z] 0eba1c9be4d2: Waiting [2021-10-11T15:41:46.965Z] 0d57e429df01: Waiting [2021-10-11T15:41:46.965Z] 4e4be7b47b0d: Waiting [2021-10-11T15:41:46.965Z] e1f770b5df2f: Waiting [2021-10-11T15:41:46.965Z] 85a0685a4137: Waiting [2021-10-11T15:41:46.965Z] de9db76c5a1d: Verifying Checksum [2021-10-11T15:41:46.965Z] de9db76c5a1d: Download complete [2021-10-11T15:41:46.965Z] 0ef7d3d256c8: Verifying Checksum [2021-10-11T15:41:46.965Z] 0ef7d3d256c8: Download complete [2021-10-11T15:41:46.965Z] 0d57e429df01: Verifying Checksum [2021-10-11T15:41:46.965Z] 0d57e429df01: Download complete [2021-10-11T15:41:46.965Z] 188c0c94c7c5: Verifying Checksum [2021-10-11T15:41:46.965Z] 188c0c94c7c5: Download complete [2021-10-11T15:41:46.965Z] 4e4be7b47b0d: Verifying Checksum [2021-10-11T15:41:46.965Z] 4e4be7b47b0d: Download complete [2021-10-11T15:41:47.227Z] e1f770b5df2f: Verifying Checksum [2021-10-11T15:41:47.228Z] e1f770b5df2f: Download complete [2021-10-11T15:41:47.499Z] 0eba1c9be4d2: Verifying Checksum [2021-10-11T15:41:47.499Z] 0eba1c9be4d2: Download complete [2021-10-11T15:41:47.760Z] 188c0c94c7c5: Pull complete [2021-10-11T15:41:47.760Z] 0ef7d3d256c8: Pull complete [2021-10-11T15:41:48.021Z] de9db76c5a1d: Pull complete [2021-10-11T15:41:48.021Z] 85a0685a4137: Verifying Checksum [2021-10-11T15:41:48.021Z] 85a0685a4137: Download complete [2021-10-11T15:41:52.243Z] 0eba1c9be4d2: Pull complete [2021-10-11T15:41:52.243Z] 0d57e429df01: Pull complete [2021-10-11T15:41:52.243Z] 4e4be7b47b0d: Pull complete [2021-10-11T15:41:52.243Z] e1f770b5df2f: Pull complete [2021-10-11T15:41:55.604Z] 85a0685a4137: Pull complete [2021-10-11T15:41:55.604Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-11T15:41:55.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-11T15:41:55.604Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-11T15:41:55.663Z] prd-centos7-docker-4c-2g-421 does not seem to be running inside a container [2021-10-11T15:41:55.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-11T15:41:57.798Z] $ docker top cbec203d6f3a06b9233dae58ff5eb753f13d80cf85c7716624ebbde0028970fe -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-11T15:41:57.869Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-11T15:41:58.172Z] + set -o pipefail [2021-10-11T15:41:58.172Z] + snyk monitor '--org=edgex-jenkins' [2021-10-11T15:42:03.484Z] [2021-10-11T15:42:03.484Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-10-11T15:42:03.484Z] [2021-10-11T15:42:03.484Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/e19bc4f6-79e6-47e6-bb66-6671d8efeda9 [2021-10-11T15:42:03.484Z] [2021-10-11T15:42:03.484Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-11T15:42:03.484Z] [2021-10-11T15:42:03.484Z] [2021-10-11T15:42:03.484Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-10-11T15:42:03.484Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-10-11T15:42:03.500Z] $ docker stop --time=1 cbec203d6f3a06b9233dae58ff5eb753f13d80cf85c7716624ebbde0028970fe [2021-10-11T15:42:05.189Z] $ docker rm -f cbec203d6f3a06b9233dae58ff5eb753f13d80cf85c7716624ebbde0028970fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-10-11T15:42:05.784Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-11T15:42:05.792Z] provisioning config files... [2021-10-11T15:42:05.799Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8407263501513212598tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:42:06.102Z] --> edgex-publish-swagger.sh [2021-10-11T15:42:06.102Z] === Publish openapi/v2 API === [2021-10-11T15:42:06.102Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-10-11T15:42:06.102Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-10-11T15:42:06.102Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-11T15:42:06.102Z] Dload Upload Total Spent Left Speed [2021-10-11T15:42:07.040Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51485 0 0 100 51485 0 59621 --:--:-- --:--:-- --:--:-- 59589 100 51485 0 0 100 51485 0 59611 --:--:-- --:--:-- --:--:-- 59589 [2021-10-11T15:42:07.040Z] [2021-10-11T15:42:07.040Z] [Pipeline] } [2021-10-11T15:42:07.046Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-11T15:42:07.487Z] + git log --format=format:%s -1 0d9d2c8ebacd62733844ce0c1cea89b222af8d31 [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:42:07.783Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-11T15:42:07.783Z] . [Pipeline] withDockerContainer [2021-10-11T15:42:07.849Z] prd-centos7-docker-4c-2g-421 does not seem to be running inside a container [2021-10-11T15:42:07.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-11T15:42:08.240Z] $ docker top 6ed093e80d7eec169b780ca830c1b633de57de755a64503853b8d2cc123e49ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-11T15:42:08.335Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-11T15:42:08.336Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-11T15:42:08.441Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-11T15:42:08.443Z] $ docker exec 6ed093e80d7eec169b780ca830c1b633de57de755a64503853b8d2cc123e49ff ssh-agent [2021-10-11T15:42:08.535Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeEacEj/agent.14 [2021-10-11T15:42:08.535Z] SSH_AGENT_PID=21 [2021-10-11T15:42:08.540Z] Running ssh-add (command line suppressed) [2021-10-11T15:42:08.628Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_775056204923961734.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_775056204923961734.key) [2021-10-11T15:42:08.641Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-11T15:42:08.929Z] + git semver tag [2021-10-11T15:42:08.929Z] # -> Open(): unable to determine branch for HEAD [2021-10-11T15:42:08.929Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-11T15:42:08.929Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-11T15:42:08.929Z] # $SEMVER_REMOTE_NAME = origin [2021-10-11T15:42:08.929Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-11T15:42:08.929Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-11T15:42:08.929Z] # $SEMVER_BRANCH = main [2021-10-11T15:42:08.929Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-11T15:42:08.929Z] # 0d9d2c8ebacd62733844ce0c1cea89b222af8d31 HEAD [2021-10-11T15:42:08.929Z] # -> Force: false [2021-10-11T15:42:08.929Z] # a93c77494f386a61626aea74b577c98c4bf4306a refs/tags/v2.0.1-dev.16 [Pipeline] } [2021-10-11T15:42:08.938Z] $ docker exec --env ******** --env ******** 6ed093e80d7eec169b780ca830c1b633de57de755a64503853b8d2cc123e49ff ssh-agent -k [2021-10-11T15:42:09.035Z] unset SSH_AUTH_SOCK; [2021-10-11T15:42:09.037Z] unset SSH_AGENT_PID; [2021-10-11T15:42:09.037Z] echo Agent pid 21 killed; [2021-10-11T15:42:09.045Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-11T15:42:09.346Z] + git semver [Pipeline] } [2021-10-11T15:42:09.365Z] $ docker stop --time=1 6ed093e80d7eec169b780ca830c1b633de57de755a64503853b8d2cc123e49ff [2021-10-11T15:42:10.542Z] $ docker rm -f 6ed093e80d7eec169b780ca830c1b633de57de755a64503853b8d2cc123e49ff [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:42:10.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-11T15:42:10.919Z] [2021-10-11T15:42:10.919Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:42:11.243Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-11T15:42:11.243Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-11T15:42:11.243Z] ab5ef0e58194: Pulling fs layer [2021-10-11T15:42:11.243Z] 9712f1f96733: Pulling fs layer [2021-10-11T15:42:11.243Z] 63f879dbbcfc: Pulling fs layer [2021-10-11T15:42:11.243Z] 0d9ebad4ef96: Pulling fs layer [2021-10-11T15:42:11.243Z] e9a5061849ea: Pulling fs layer [2021-10-11T15:42:11.243Z] d747dcd14b5f: Pulling fs layer [2021-10-11T15:42:11.243Z] 2de7ff778b66: Pulling fs layer [2021-10-11T15:42:11.243Z] 0d9ebad4ef96: Waiting [2021-10-11T15:42:11.243Z] e9a5061849ea: Waiting [2021-10-11T15:42:11.243Z] d747dcd14b5f: Waiting [2021-10-11T15:42:11.243Z] 2de7ff778b66: Waiting [2021-10-11T15:42:11.243Z] 9712f1f96733: Verifying Checksum [2021-10-11T15:42:11.243Z] 9712f1f96733: Download complete [2021-10-11T15:42:11.522Z] 63f879dbbcfc: Verifying Checksum [2021-10-11T15:42:11.522Z] 63f879dbbcfc: Download complete [2021-10-11T15:42:11.795Z] ab5ef0e58194: Verifying Checksum [2021-10-11T15:42:11.795Z] ab5ef0e58194: Download complete [2021-10-11T15:42:11.795Z] d747dcd14b5f: Verifying Checksum [2021-10-11T15:42:11.795Z] d747dcd14b5f: Download complete [2021-10-11T15:42:11.795Z] 0d9ebad4ef96: Verifying Checksum [2021-10-11T15:42:11.795Z] 0d9ebad4ef96: Download complete [2021-10-11T15:42:11.795Z] e9a5061849ea: Verifying Checksum [2021-10-11T15:42:11.795Z] e9a5061849ea: Download complete [2021-10-11T15:42:12.063Z] 2de7ff778b66: Verifying Checksum [2021-10-11T15:42:12.063Z] 2de7ff778b66: Download complete [2021-10-11T15:42:14.622Z] ab5ef0e58194: Pull complete [2021-10-11T15:42:14.622Z] 9712f1f96733: Pull complete [2021-10-11T15:42:15.572Z] 63f879dbbcfc: Pull complete [2021-10-11T15:42:19.790Z] 0d9ebad4ef96: Pull complete [2021-10-11T15:42:20.052Z] e9a5061849ea: Pull complete [2021-10-11T15:42:20.312Z] d747dcd14b5f: Pull complete [2021-10-11T15:42:21.261Z] 2de7ff778b66: Pull complete [2021-10-11T15:42:21.261Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-11T15:42:21.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-11T15:42:21.525Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-11T15:42:21.607Z] prd-centos7-docker-4c-2g-421 does not seem to be running inside a container [2021-10-11T15:42:21.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-11T15:42:24.776Z] $ docker top 6fe122dfead8d3f3566368f421726c403538c8d4db297fac7291412a692a27d7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-11T15:42:24.861Z] provisioning config files... [2021-10-11T15:42:24.869Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5479790747609153638tmp [2021-10-11T15:42:24.879Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6645531955596961740tmp [2021-10-11T15:42:24.894Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7558916018170223503tmp [Pipeline] { [Pipeline] echo [2021-10-11T15:42:24.913Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:42:25.196Z] ---> sigul-configuration.sh [2021-10-11T15:42:25.196Z] gpg: directory `/root/.gnupg' created [2021-10-11T15:42:25.196Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-11T15:42:25.197Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-11T15:42:25.197Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-11T15:42:25.197Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-11T15:42:25.197Z] gpg: CAST5 encrypted data [2021-10-11T15:42:25.197Z] gpg: encrypted with 1 passphrase [2021-10-11T15:42:25.197Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-11T15:42:25.504Z] + mkdir /home/jenkins [2021-10-11T15:42:25.504Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-11T15:42:25.796Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-10-11T15:42:25.804Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:42:26.091Z] ---> sigul-install.sh [2021-10-11T15:42:26.091Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-11T15:42:26.384Z] + git tag --list [2021-10-11T15:42:26.384Z] 0.7.1 [2021-10-11T15:42:26.384Z] delhi-tag [2021-10-11T15:42:26.384Z] v1.0.0 [2021-10-11T15:42:26.384Z] v1.1.0 [2021-10-11T15:42:26.384Z] v1.1.1 [2021-10-11T15:42:26.384Z] v1.1.2 [2021-10-11T15:42:26.384Z] v1.2.0 [2021-10-11T15:42:26.384Z] v1.2.1 [2021-10-11T15:42:26.384Z] v1.2.2 [2021-10-11T15:42:26.384Z] v1.2.3 [2021-10-11T15:42:26.384Z] v1.3.0 [2021-10-11T15:42:26.384Z] v1.4.0 [2021-10-11T15:42:26.384Z] v2.0.0 [2021-10-11T15:42:26.384Z] v2.0.1-dev.1 [2021-10-11T15:42:26.384Z] v2.0.1-dev.10 [2021-10-11T15:42:26.384Z] v2.0.1-dev.11 [2021-10-11T15:42:26.384Z] v2.0.1-dev.12 [2021-10-11T15:42:26.384Z] v2.0.1-dev.13 [2021-10-11T15:42:26.384Z] v2.0.1-dev.14 [2021-10-11T15:42:26.384Z] v2.0.1-dev.15 [2021-10-11T15:42:26.384Z] v2.0.1-dev.16 [2021-10-11T15:42:26.384Z] v2.0.1-dev.2 [2021-10-11T15:42:26.384Z] v2.0.1-dev.3 [2021-10-11T15:42:26.384Z] v2.0.1-dev.4 [2021-10-11T15:42:26.384Z] v2.0.1-dev.5 [2021-10-11T15:42:26.384Z] v2.0.1-dev.6 [2021-10-11T15:42:26.384Z] v2.0.1-dev.7 [2021-10-11T15:42:26.384Z] v2.0.1-dev.8 [2021-10-11T15:42:26.384Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-11T15:42:26.688Z] + lftools sign git-tag v2.0.1-dev.16 [2021-10-11T15:42:27.256Z] Signing Git tag with Sigul... [2021-10-11T15:42:27.256Z] Signing v2.0.1-dev.16 [Pipeline] echo [2021-10-11T15:42:28.645Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:42:28.936Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-11T15:42:28.943Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-11T15:42:28.961Z] $ docker stop --time=1 6fe122dfead8d3f3566368f421726c403538c8d4db297fac7291412a692a27d7 [2021-10-11T15:42:30.138Z] $ docker rm -f 6fe122dfead8d3f3566368f421726c403538c8d4db297fac7291412a692a27d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:42:30.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-11T15:42:30.800Z] . [Pipeline] withDockerContainer [2021-10-11T15:42:30.865Z] prd-centos7-docker-4c-2g-421 does not seem to be running inside a container [2021-10-11T15:42:30.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-11T15:42:31.263Z] $ docker top 86324a4ac913b12b6dc3973b43e1607dbf2ff3311f8a056d777f9b680ca30ef5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-11T15:42:31.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-11T15:42:31.357Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-11T15:42:31.479Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-11T15:42:31.481Z] $ docker exec 86324a4ac913b12b6dc3973b43e1607dbf2ff3311f8a056d777f9b680ca30ef5 ssh-agent [2021-10-11T15:42:31.611Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlObebN/agent.15 [2021-10-11T15:42:31.611Z] SSH_AGENT_PID=22 [2021-10-11T15:42:31.627Z] Running ssh-add (command line suppressed) [2021-10-11T15:42:31.760Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5238231901372295379.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5238231901372295379.key) [2021-10-11T15:42:31.775Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-11T15:42:32.065Z] + git semver bump pre [2021-10-11T15:42:32.066Z] # -> Open(): unable to determine branch for HEAD [2021-10-11T15:42:32.066Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-11T15:42:32.066Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-11T15:42:32.066Z] # $SEMVER_REMOTE_NAME = origin [2021-10-11T15:42:32.066Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-11T15:42:32.066Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-11T15:42:32.066Z] # $SEMVER_BRANCH = main [2021-10-11T15:42:32.066Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-10-11T15:42:32.066Z] 2.0.1-dev.17 [Pipeline] } [2021-10-11T15:42:32.076Z] $ docker exec --env ******** --env ******** 86324a4ac913b12b6dc3973b43e1607dbf2ff3311f8a056d777f9b680ca30ef5 ssh-agent -k [2021-10-11T15:42:32.206Z] unset SSH_AUTH_SOCK; [2021-10-11T15:42:32.206Z] unset SSH_AGENT_PID; [2021-10-11T15:42:32.206Z] echo Agent pid 22 killed; [2021-10-11T15:42:32.219Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-11T15:42:32.536Z] + git semver [Pipeline] } [2021-10-11T15:42:32.550Z] $ docker stop --time=1 86324a4ac913b12b6dc3973b43e1607dbf2ff3311f8a056d777f9b680ca30ef5 [2021-10-11T15:42:33.737Z] $ docker rm -f 86324a4ac913b12b6dc3973b43e1607dbf2ff3311f8a056d777f9b680ca30ef5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:42:34.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-11T15:42:34.258Z] . [Pipeline] withDockerContainer [2021-10-11T15:42:34.475Z] prd-centos7-docker-4c-2g-421 does not seem to be running inside a container [2021-10-11T15:42:34.506Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-11T15:42:34.838Z] $ docker top 60ea56ddfb1a42b882b9ad980c0fd41806d1eeed1f18068de497c2172ed02ec2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-11T15:42:34.924Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-11T15:42:34.924Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-11T15:42:35.033Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-11T15:42:35.035Z] $ docker exec 60ea56ddfb1a42b882b9ad980c0fd41806d1eeed1f18068de497c2172ed02ec2 ssh-agent [2021-10-11T15:42:35.130Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFhdOob/agent.13 [2021-10-11T15:42:35.130Z] SSH_AGENT_PID=20 [2021-10-11T15:42:35.135Z] Running ssh-add (command line suppressed) [2021-10-11T15:42:35.222Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7616193724152258050.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7616193724152258050.key) [2021-10-11T15:42:35.233Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-11T15:42:35.518Z] + git semver push [2021-10-11T15:42:35.518Z] # -> Open(): unable to determine branch for HEAD [2021-10-11T15:42:35.518Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-10-11T15:42:35.518Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-10-11T15:42:35.518Z] # $SEMVER_REMOTE_NAME = origin [2021-10-11T15:42:35.518Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-11T15:42:35.518Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-11T15:42:35.518Z] # $SEMVER_BRANCH = main [2021-10-11T15:42:35.518Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-10-11T15:42:37.437Z] $ docker exec --env ******** --env ******** 60ea56ddfb1a42b882b9ad980c0fd41806d1eeed1f18068de497c2172ed02ec2 ssh-agent -k [2021-10-11T15:42:37.527Z] unset SSH_AUTH_SOCK; [2021-10-11T15:42:37.527Z] unset SSH_AGENT_PID; [2021-10-11T15:42:37.527Z] echo Agent pid 20 killed; [2021-10-11T15:42:37.539Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-11T15:42:37.836Z] + git semver [Pipeline] } [2021-10-11T15:42:37.847Z] $ docker stop --time=1 60ea56ddfb1a42b882b9ad980c0fd41806d1eeed1f18068de497c2172ed02ec2 [2021-10-11T15:42:39.025Z] $ docker rm -f 60ea56ddfb1a42b882b9ad980c0fd41806d1eeed1f18068de497c2172ed02ec2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-11T15:42:39.835Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:42:40.132Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:42:40.686Z] ---> package-listing.sh [2021-10-11T15:42:40.686Z] ++ facter osfamily [2021-10-11T15:42:40.686Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-11T15:42:40.951Z] + OS_FAMILY=redhat [2021-10-11T15:42:40.951Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-10-11T15:42:40.951Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-11T15:42:40.951Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-11T15:42:40.951Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-11T15:42:40.951Z] + PACKAGES=/tmp/packages_start.txt [2021-10-11T15:42:40.951Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-11T15:42:40.951Z] + PACKAGES=/tmp/packages_end.txt [2021-10-11T15:42:40.951Z] + case "${OS_FAMILY}" in [2021-10-11T15:42:40.951Z] + rpm -qa [2021-10-11T15:42:40.951Z] + sort [2021-10-11T15:42:41.892Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-11T15:42:41.892Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-11T15:42:41.892Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-11T15:42:41.892Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-10-11T15:42:41.892Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-10-11T15:42:41.892Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2021-10-11T15:42:41.908Z] 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-11T15:42:42.187Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:42:42.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-11T15:42:42.744Z] [2021-10-11T15:42:42.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-11T15:42:43.051Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-11T15:42:43.051Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-11T15:42:43.051Z] b4d181a07f80: Pulling fs layer [2021-10-11T15:42:43.051Z] a1111a8f2ec3: Pulling fs layer [2021-10-11T15:42:43.051Z] ed53099fbce6: Pulling fs layer [2021-10-11T15:42:43.051Z] dc539afda2c1: Pulling fs layer [2021-10-11T15:42:43.051Z] 77bc0d833cb6: Pulling fs layer [2021-10-11T15:42:43.051Z] 9065ff56babe: Pulling fs layer [2021-10-11T15:42:43.051Z] d287ab97295c: Pulling fs layer [2021-10-11T15:42:43.051Z] dc539afda2c1: Waiting [2021-10-11T15:42:43.051Z] 77bc0d833cb6: Waiting [2021-10-11T15:42:43.051Z] 9065ff56babe: Waiting [2021-10-11T15:42:43.051Z] d287ab97295c: Waiting [2021-10-11T15:42:43.051Z] a1111a8f2ec3: Verifying Checksum [2021-10-11T15:42:43.051Z] a1111a8f2ec3: Download complete [2021-10-11T15:42:43.051Z] dc539afda2c1: Verifying Checksum [2021-10-11T15:42:43.051Z] dc539afda2c1: Download complete [2021-10-11T15:42:43.051Z] ed53099fbce6: Verifying Checksum [2021-10-11T15:42:43.051Z] ed53099fbce6: Download complete [2021-10-11T15:42:43.318Z] 9065ff56babe: Verifying Checksum [2021-10-11T15:42:43.318Z] 9065ff56babe: Download complete [2021-10-11T15:42:43.318Z] 77bc0d833cb6: Verifying Checksum [2021-10-11T15:42:43.318Z] 77bc0d833cb6: Download complete [2021-10-11T15:42:43.318Z] b4d181a07f80: Verifying Checksum [2021-10-11T15:42:43.318Z] b4d181a07f80: Download complete [2021-10-11T15:42:43.892Z] d287ab97295c: Verifying Checksum [2021-10-11T15:42:43.892Z] d287ab97295c: Download complete [2021-10-11T15:42:44.846Z] b4d181a07f80: Pull complete [2021-10-11T15:42:44.846Z] a1111a8f2ec3: Pull complete [2021-10-11T15:42:45.416Z] ed53099fbce6: Pull complete [2021-10-11T15:42:45.416Z] dc539afda2c1: Pull complete [2021-10-11T15:42:45.990Z] 77bc0d833cb6: Pull complete [2021-10-11T15:42:45.990Z] 9065ff56babe: Pull complete [2021-10-11T15:42:51.340Z] d287ab97295c: Pull complete [2021-10-11T15:42:51.340Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-11T15:42:51.340Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-11T15:42:51.340Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-11T15:42:51.396Z] prd-centos7-docker-4c-2g-421 does not seem to be running inside a container [2021-10-11T15:42:51.428Z] $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-11T15:42:53.956Z] $ docker top 803c2d6b04f81c988b73c687fdb7563712c2dfa74745dc2d668d3c238195c9d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-11T15:42:54.316Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-11T15:42:54.605Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-11T15:42:54.893Z] + ls /var/log/sa-host [2021-10-11T15:42:54.893Z] + sadf -c /var/log/sa-host/sa11 [2021-10-11T15:42:54.893Z] file_magic: OK [2021-10-11T15:42:54.893Z] HZ: Using current value: 100 [2021-10-11T15:42:54.893Z] file_header: OK [2021-10-11T15:42:54.893Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-11T15:42:54.893Z] Statistics: [2021-10-11T15:42:54.893Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-11T15:42:54.893Z] File successfully converted to sysstat format version 12.0.3 [2021-10-11T15:42:54.893Z] + sadf -c /var/log/sa-host/sa30 [2021-10-11T15:42:54.893Z] file_magic: OK [2021-10-11T15:42:54.893Z] HZ: Using current value: 100 [2021-10-11T15:42:54.893Z] file_header: OK [2021-10-11T15:42:54.893Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-11T15:42:54.893Z] Statistics: [2021-10-11T15:42:54.893Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-11T15:42:54.893Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-11T15:42:55.144Z] provisioning config files... [2021-10-11T15:42:55.152Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7155825854107962090tmp [Pipeline] { [Pipeline] echo [2021-10-11T15:42:55.162Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:42:55.445Z] ---> create-netrc.sh [Pipeline] } [2021-10-11T15:42:55.451Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:42:55.790Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-11T15:42:55.799Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:42:56.088Z] ---> sudo-logs.sh [2021-10-11T15:42:56.088Z] Archiving 'sudo' log.. [2021-10-11T15:42:56.088Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-421.novalocal: Name or service not known [2021-10-11T15:42:56.088Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-421.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-11T15:42:56.115Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:42:56.404Z] ---> job-cost.sh [2021-10-11T15:42:56.404Z] lf-activate-venv: SKIPPING [2021-10-11T15:42:56.404Z] DEBUG: total: 0.10999999940395355 [2021-10-11T15:42:56.404Z] INFO: Retrieving Stack Cost... [2021-10-11T15:43:14.515Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-11T15:43:14.515Z] INFO: Archiving Costs [Pipeline] echo [2021-10-11T15:43:14.524Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-11T15:43:14.815Z] ---> logs-deploy.sh [2021-10-11T15:43:14.815Z] lf-activate-venv: SKIPPING [2021-10-11T15:43:14.815Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/15 [2021-10-11T15:43:14.815Z] INFO: archiving workspace using pattern(s): [2021-10-11T15:43:15.756Z] Archives upload complete. [2021-10-11T15:43:15.756Z] INFO: archiving logs to Nexus