Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c8039af1df2b85f6ebf5f903b31f826607b92c3 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-ssh2989755138734755255.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh2626570562268427202.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 155abbc8877922835dbd6f2f82c828d26e35ec40 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-ssh4638415132680822543.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 155abbc8877922835dbd6f2f82c828d26e35ec40 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 155abbc8877922835dbd6f2f82c828d26e35ec40 # timeout=10 Commit message: "Merge pull request #342 from ernestojeda/fix-c-docker-image-names" > 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-ssh4286078096136847896.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 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-ssh4340277820705810824.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 98bb157299c17168c94e81a7dba3d05dc38b0f72 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 98bb157299c17168c94e81a7dba3d05dc38b0f72 # timeout=10 Commit message: "Docs: Add example Jenkinsfile to documentation" > 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 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ 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-1238 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-ssh500834522798897359.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 4c8039af1df2b85f6ebf5f903b31f826607b92c3 (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 4c8039af1df2b85f6ebf5f903b31f826607b92c3 # timeout=10 Commit message: "docs: Add templates for new GitHub issues (#1005)" > git rev-list --no-walk 807401dd2d1b373fd4ec07b99e8020c82d165dff # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-31T03:35:16.922Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-31T03:35:17.007Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-31T03:35:17.034Z] ========================================================= [2021-07-31T03:35:17.034Z] EdgeX Global Pipelines Version Info [2021-07-31T03:35:17.034Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:35:18.371Z] ------------------- [2021-07-31T03:35:18.371Z] stable info: [2021-07-31T03:35:18.371Z] ------------------- [2021-07-31T03:35:18.371Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-31T03:35:18.371Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-31T03:35:18.371Z] Message: update stable to v1.0.199 [2021-07-31T03:35:18.956Z] ------------------- [2021-07-31T03:35:18.956Z] experimental info: [2021-07-31T03:35:18.956Z] ------------------- [2021-07-31T03:35:18.956Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-31T03:35:18.956Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-31T03:35:18.956Z] Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-31T03:35:19.168Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-07-31T03:35:19.191Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-07-31T03:35:19.213Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-31T03:35:19.235Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-31T03:35:19.257Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-31T03:35:19.279Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-31T03:35:19.301Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-31T03:35:19.322Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-31T03:35:19.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-07-31T03:35:19.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-31T03:35:19.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-31T03:35:19.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-07-31T03:35:19.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-07-31T03:35:19.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-31T03:35:19.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-31T03:35:19.501Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-31T03:35:19.523Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-31T03:35:19.545Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-31T03:35:19.568Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-31T03:35:19.591Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-31T03:35:19.613Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-31T03:35:19.636Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-31T03:35:19.658Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-31T03:35:19.680Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-31T03:35:19.701Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-31T03:35:19.753Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-31T03:35:19.775Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-31T03:35:19.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-31T03:35:19.820Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-31T03:35:19.881Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-31T03:35:19.903Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c8039af1df2b85f6ebf5f903b31f826607b92c3 [Pipeline] echo [2021-07-31T03:35:19.935Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c8039a [Pipeline] echo [2021-07-31T03:35:19.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-31T03:35:20.030Z] provisioning config files... [2021-07-31T03:35:20.052Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4941803505289068515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:35:20.397Z] ---> docker-login.sh [2021-07-31T03:35:20.397Z] nexus3.edgexfoundry.org:10001 [2021-07-31T03:35:20.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:35:20.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:35:20.663Z] Configure a credential helper to remove this warning. See [2021-07-31T03:35:20.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:35:20.663Z] [2021-07-31T03:35:20.663Z] Login Succeeded [2021-07-31T03:35:20.663Z] nexus3.edgexfoundry.org:10002 [2021-07-31T03:35:20.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:35:20.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:35:20.930Z] Configure a credential helper to remove this warning. See [2021-07-31T03:35:20.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:35:20.930Z] [2021-07-31T03:35:20.930Z] Login Succeeded [2021-07-31T03:35:20.930Z] nexus3.edgexfoundry.org:10003 [2021-07-31T03:35:20.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:35:20.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:35:20.931Z] Configure a credential helper to remove this warning. See [2021-07-31T03:35:20.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:35:20.931Z] [2021-07-31T03:35:20.931Z] Login Succeeded [2021-07-31T03:35:20.931Z] nexus3.edgexfoundry.org:10004 [2021-07-31T03:35:21.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:35:21.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:35:21.202Z] Configure a credential helper to remove this warning. See [2021-07-31T03:35:21.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:35:21.202Z] [2021-07-31T03:35:21.202Z] Login Succeeded [2021-07-31T03:35:21.202Z] docker.io [2021-07-31T03:35:21.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:35:21.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:35:21.792Z] Configure a credential helper to remove this warning. See [2021-07-31T03:35:21.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:35:21.792Z] [2021-07-31T03:35:21.792Z] Login Succeeded [2021-07-31T03:35:21.792Z] ---> docker-login.sh ends [Pipeline] } [2021-07-31T03:35:21.806Z] 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-07-31T03:35:22.376Z] + git log --format=format:%s -1 4c8039af1df2b85f6ebf5f903b31f826607b92c3 [Pipeline] echo [2021-07-31T03:35:22.434Z] GIT_COMMIT: 4c8039af1df2b85f6ebf5f903b31f826607b92c3, Commit Message: docs: Add templates for new GitHub issues (#1005) [Pipeline] echo [2021-07-31T03:35:22.447Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:35:23.544Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-31T03:35:23.544Z] [2021-07-31T03:35:23.544Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:35:23.881Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-31T03:35:23.881Z] latest: Pulling from edgex-devops/git-semver [2021-07-31T03:35:23.881Z] 31603596830f: Pulling fs layer [2021-07-31T03:35:23.881Z] b6dc333f4379: Pulling fs layer [2021-07-31T03:35:23.881Z] 3d9ef1400e77: Pulling fs layer [2021-07-31T03:35:23.881Z] fd332fbdc1db: Pulling fs layer [2021-07-31T03:35:23.881Z] fd332fbdc1db: Waiting [2021-07-31T03:35:23.881Z] b6dc333f4379: Verifying Checksum [2021-07-31T03:35:23.881Z] b6dc333f4379: Download complete [2021-07-31T03:35:24.158Z] 31603596830f: Verifying Checksum [2021-07-31T03:35:24.158Z] 31603596830f: Download complete [2021-07-31T03:35:24.426Z] 31603596830f: Pull complete [2021-07-31T03:35:24.426Z] fd332fbdc1db: Verifying Checksum [2021-07-31T03:35:24.426Z] fd332fbdc1db: Download complete [2021-07-31T03:35:24.426Z] 3d9ef1400e77: Verifying Checksum [2021-07-31T03:35:24.426Z] 3d9ef1400e77: Download complete [2021-07-31T03:35:24.426Z] b6dc333f4379: Pull complete [2021-07-31T03:35:25.019Z] 3d9ef1400e77: Pull complete [2021-07-31T03:35:25.019Z] fd332fbdc1db: Pull complete [2021-07-31T03:35:25.019Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-31T03:35:25.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-31T03:35:25.019Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-31T03:35:25.128Z] prd-centos7-docker-4c-2g-1238 does not seem to be running inside a container [2021-07-31T03:35:25.184Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-31T03:35:26.028Z] $ docker top 863e0b54bfbf2eb6f95b5daed293adf1c1ed9e510544d7376c75d5b9d52ac428 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-31T03:35:26.158Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-31T03:35:26.158Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-31T03:35:26.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-31T03:35:26.270Z] $ docker exec 863e0b54bfbf2eb6f95b5daed293adf1c1ed9e510544d7376c75d5b9d52ac428 ssh-agent [2021-07-31T03:35:26.389Z] SSH_AUTH_SOCK=/tmp/ssh-hBT4FM7CchW4/agent.15 [2021-07-31T03:35:26.389Z] SSH_AGENT_PID=21 [2021-07-31T03:35:26.400Z] Running ssh-add (command line suppressed) [2021-07-31T03:35:26.489Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6421326921356292932.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6421326921356292932.key) [2021-07-31T03:35:26.515Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-31T03:35:26.828Z] + git tag --points-at HEAD [Pipeline] } [2021-07-31T03:35:26.846Z] $ docker exec --env ******** --env ******** 863e0b54bfbf2eb6f95b5daed293adf1c1ed9e510544d7376c75d5b9d52ac428 ssh-agent -k [2021-07-31T03:35:26.936Z] unset SSH_AUTH_SOCK; [2021-07-31T03:35:26.936Z] unset SSH_AGENT_PID; [2021-07-31T03:35:26.936Z] echo Agent pid 21 killed; [2021-07-31T03:35:26.966Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-31T03:35:27.006Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-31T03:35:27.006Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-31T03:35:27.118Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-31T03:35:27.117Z] $ docker exec 863e0b54bfbf2eb6f95b5daed293adf1c1ed9e510544d7376c75d5b9d52ac428 ssh-agent [2021-07-31T03:35:27.238Z] SSH_AUTH_SOCK=/tmp/ssh-hVy85P6C6Rst/agent.54 [2021-07-31T03:35:27.238Z] SSH_AGENT_PID=60 [2021-07-31T03:35:27.246Z] Running ssh-add (command line suppressed) [2021-07-31T03:35:27.345Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7827233534086135130.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7827233534086135130.key) [2021-07-31T03:35:27.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-31T03:35:27.682Z] + git semver init [2021-07-31T03:35:27.683Z] # -> Open(): unable to determine branch for HEAD [2021-07-31T03:35:27.683Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-07-31T03:35:27.683Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-07-31T03:35:27.683Z] # $SEMVER_REMOTE_NAME = origin [2021-07-31T03:35:27.683Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-31T03:35:27.683Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-31T03:35:27.683Z] # $SEMVER_BRANCH = main [2021-07-31T03:35:27.683Z] # $SEMVER_TEMP = /tmp/semver-351412639 [2021-07-31T03:35:27.683Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-07-31T03:35:28.272Z] # '/tmp/semver-351412639' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-07-31T03:35:28.272Z] # -> Force: false [2021-07-31T03:35:28.272Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-07-31T03:35:28.285Z] $ docker exec --env ******** --env ******** 863e0b54bfbf2eb6f95b5daed293adf1c1ed9e510544d7376c75d5b9d52ac428 ssh-agent -k [2021-07-31T03:35:28.374Z] unset SSH_AUTH_SOCK; [2021-07-31T03:35:28.374Z] unset SSH_AGENT_PID; [2021-07-31T03:35:28.374Z] echo Agent pid 60 killed; [2021-07-31T03:35:28.392Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-31T03:35:28.736Z] + git semver [Pipeline] } [2021-07-31T03:35:28.752Z] $ docker stop --time=1 863e0b54bfbf2eb6f95b5daed293adf1c1ed9e510544d7376c75d5b9d52ac428 [2021-07-31T03:35:29.978Z] $ docker rm -f 863e0b54bfbf2eb6f95b5daed293adf1c1ed9e510544d7376c75d5b9d52ac428 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-31T03:35:30.352Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-31T03:35:30.701Z] Stashed 1 file(s) [Pipeline] echo [2021-07-31T03:35:30.704Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.7 [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-07-31T03:35:46.026Z] Still waiting to schedule task [2021-07-31T03:35:46.026Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-1238’ [2021-07-31T03:35:46.028Z] Still waiting to schedule task [2021-07-31T03:35:46.029Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-07-31T03:37:55.536Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1239 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-07-31T03:37:55.555Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-07-31T03:37:55.766Z] Selected Git installation does not exist. Using Default [2021-07-31T03:37:55.766Z] The recommended git tool is: NONE [2021-07-31T03:38:01.605Z] using credential edgex-jenkins-ssh [2021-07-31T03:38:01.764Z] Cloning the remote Git repository [2021-07-31T03:38:01.824Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-31T03:38:01.950Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-07-31T03:38:02.024Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-31T03:38:02.025Z] > git --version # timeout=10 [2021-07-31T03:38:02.040Z] > git --version # 'git version 2.17.1' [2021-07-31T03:38:02.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-31T03:38:02.143Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-31T03:38:03.499Z] Avoid second fetch [2021-07-31T03:38:03.500Z] Checking out Revision 4c8039af1df2b85f6ebf5f903b31f826607b92c3 (main) [2021-07-31T03:38:03.463Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-31T03:38:03.479Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-31T03:38:03.526Z] > git config core.sparsecheckout # timeout=10 [2021-07-31T03:38:03.554Z] > git checkout -f 4c8039af1df2b85f6ebf5f903b31f826607b92c3 # timeout=10 [2021-07-31T03:38:07.763Z] Running on prd-centos7-docker-4c-2g-1240 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-07-31T03:38:07.780Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-07-31T03:38:07.894Z] Commit message: "docs: Add templates for new GitHub issues (#1005)" [2021-07-31T03:38:07.902Z] Selected Git installation does not exist. Using Default [2021-07-31T03:38:07.902Z] The recommended git tool is: NONE [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-31T03:38:08.501Z] provisioning config files... [2021-07-31T03:38:08.532Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config4482411020479738224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:38:09.116Z] ---> docker-login.sh [2021-07-31T03:38:09.116Z] nexus3.edgexfoundry.org:10001 [2021-07-31T03:38:09.721Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:38:10.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:38:10.320Z] Configure a credential helper to remove this warning. See [2021-07-31T03:38:10.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:38:10.320Z] [2021-07-31T03:38:10.320Z] Login Succeeded [2021-07-31T03:38:10.320Z] nexus3.edgexfoundry.org:10002 [2021-07-31T03:38:10.522Z] using credential edgex-jenkins-ssh [2021-07-31T03:38:10.541Z] Cloning the remote Git repository [2021-07-31T03:38:10.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:38:10.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:38:10.876Z] Configure a credential helper to remove this warning. See [2021-07-31T03:38:10.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:38:10.876Z] [2021-07-31T03:38:10.876Z] Login Succeeded [2021-07-31T03:38:10.876Z] nexus3.edgexfoundry.org:10003 [2021-07-31T03:38:11.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:38:10.502Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-31T03:38:10.567Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-07-31T03:38:10.705Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-31T03:38:10.705Z] > git --version # timeout=10 [2021-07-31T03:38:10.711Z] > git --version # 'git version 2.24.4' [2021-07-31T03:38:10.711Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-31T03:38:10.735Z] [INFO] Currently running in a labeled security context [2021-07-31T03:38:10.735Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-31T03:38:10.736Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh7348058047129477604.key [2021-07-31T03:38:10.749Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-31T03:38:11.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:38:11.437Z] Configure a credential helper to remove this warning. See [2021-07-31T03:38:11.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:38:11.437Z] [2021-07-31T03:38:11.437Z] Login Succeeded [2021-07-31T03:38:11.437Z] nexus3.edgexfoundry.org:10004 [2021-07-31T03:38:11.540Z] Avoid second fetch [2021-07-31T03:38:11.541Z] Checking out Revision 4c8039af1df2b85f6ebf5f903b31f826607b92c3 (main) [2021-07-31T03:38:12.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:38:12.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:38:12.038Z] Configure a credential helper to remove this warning. See [2021-07-31T03:38:12.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:38:12.038Z] [2021-07-31T03:38:12.038Z] Login Succeeded [2021-07-31T03:38:12.038Z] docker.io [2021-07-31T03:38:12.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:38:11.472Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-31T03:38:11.482Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-31T03:38:11.511Z] > git config core.sparsecheckout # timeout=10 [2021-07-31T03:38:11.522Z] > git checkout -f 4c8039af1df2b85f6ebf5f903b31f826607b92c3 # timeout=10 [2021-07-31T03:38:12.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:38:12.920Z] Configure a credential helper to remove this warning. See [2021-07-31T03:38:12.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:38:12.920Z] [2021-07-31T03:38:12.920Z] Login Succeeded [2021-07-31T03:38:12.920Z] ---> docker-login.sh ends [Pipeline] } [2021-07-31T03:38:13.005Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-31T03:38:13.490Z] ========================================================= [2021-07-31T03:38:13.490Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-31T03:38:13.490Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:38:13.851Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-31T03:38:14.140Z] Sending build context to Docker daemon 2.591MB [2021-07-31T03:38:14.414Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-31T03:38:14.414Z] Step 2/8 : FROM ${BASE} [2021-07-31T03:38:14.689Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-31T03:38:14.689Z] 595b0fe564bb: Pulling fs layer [2021-07-31T03:38:14.689Z] 24495759ef45: Pulling fs layer [2021-07-31T03:38:14.689Z] d148012ef14d: Pulling fs layer [2021-07-31T03:38:14.689Z] cb65c68fc2e2: Pulling fs layer [2021-07-31T03:38:14.689Z] 093eec477d81: Pulling fs layer [2021-07-31T03:38:14.689Z] a6d5b2bbb924: Pulling fs layer [2021-07-31T03:38:14.689Z] 2446dc1eb7d3: Pulling fs layer [2021-07-31T03:38:14.689Z] 596795e73e0f: Pulling fs layer [2021-07-31T03:38:14.689Z] cb65c68fc2e2: Waiting [2021-07-31T03:38:14.689Z] 093eec477d81: Waiting [2021-07-31T03:38:14.689Z] a6d5b2bbb924: Waiting [2021-07-31T03:38:14.689Z] 2446dc1eb7d3: Waiting [2021-07-31T03:38:14.689Z] 596795e73e0f: Waiting [2021-07-31T03:38:14.689Z] d148012ef14d: Download complete [2021-07-31T03:38:14.689Z] 24495759ef45: Verifying Checksum [2021-07-31T03:38:14.689Z] 24495759ef45: Download complete [2021-07-31T03:38:14.689Z] 093eec477d81: Download complete [2021-07-31T03:38:14.689Z] a6d5b2bbb924: Verifying Checksum [2021-07-31T03:38:14.689Z] a6d5b2bbb924: Download complete [2021-07-31T03:38:14.689Z] 595b0fe564bb: Verifying Checksum [2021-07-31T03:38:14.689Z] 595b0fe564bb: Download complete [2021-07-31T03:38:14.968Z] 2446dc1eb7d3: Verifying Checksum [2021-07-31T03:38:14.968Z] 2446dc1eb7d3: Download complete [2021-07-31T03:38:15.317Z] Commit message: "docs: Add templates for new GitHub issues (#1005)" [Pipeline] withEnv [Pipeline] { [2021-07-31T03:38:15.570Z] 595b0fe564bb: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-31T03:38:15.652Z] provisioning config files... [2021-07-31T03:38:15.671Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3682423504690880176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:38:16.111Z] ---> docker-login.sh [2021-07-31T03:38:16.111Z] nexus3.edgexfoundry.org:10001 [2021-07-31T03:38:16.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:38:16.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:38:16.111Z] Configure a credential helper to remove this warning. See [2021-07-31T03:38:16.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:38:16.111Z] [2021-07-31T03:38:16.111Z] Login Succeeded [2021-07-31T03:38:16.111Z] nexus3.edgexfoundry.org:10002 [2021-07-31T03:38:16.178Z] 24495759ef45: Pull complete [2021-07-31T03:38:16.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:38:16.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:38:16.380Z] Configure a credential helper to remove this warning. See [2021-07-31T03:38:16.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:38:16.380Z] [2021-07-31T03:38:16.380Z] Login Succeeded [2021-07-31T03:38:16.380Z] nexus3.edgexfoundry.org:10003 [2021-07-31T03:38:16.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:38:16.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:38:16.649Z] Configure a credential helper to remove this warning. See [2021-07-31T03:38:16.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:38:16.649Z] [2021-07-31T03:38:16.649Z] Login Succeeded [2021-07-31T03:38:16.649Z] nexus3.edgexfoundry.org:10004 [2021-07-31T03:38:16.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:38:16.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:38:16.649Z] Configure a credential helper to remove this warning. See [2021-07-31T03:38:16.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:38:16.649Z] [2021-07-31T03:38:16.649Z] Login Succeeded [2021-07-31T03:38:16.649Z] docker.io [2021-07-31T03:38:16.807Z] d148012ef14d: Pull complete [2021-07-31T03:38:16.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-31T03:38:17.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-31T03:38:17.187Z] Configure a credential helper to remove this warning. See [2021-07-31T03:38:17.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-31T03:38:17.187Z] [2021-07-31T03:38:17.187Z] Login Succeeded [2021-07-31T03:38:17.187Z] ---> docker-login.sh ends [Pipeline] } [2021-07-31T03:38:17.238Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-31T03:38:17.422Z] ========================================================= [2021-07-31T03:38:17.422Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-31T03:38:17.422Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:38:17.766Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-31T03:38:17.767Z] Sending build context to Docker daemon 2.592MB [2021-07-31T03:38:17.767Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-31T03:38:17.767Z] Step 2/8 : FROM ${BASE} [2021-07-31T03:38:17.800Z] 596795e73e0f: Verifying Checksum [2021-07-31T03:38:17.800Z] 596795e73e0f: Download complete [2021-07-31T03:38:18.032Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-31T03:38:18.032Z] 540db60ca938: Pulling fs layer [2021-07-31T03:38:18.032Z] adcc1eea9eea: Pulling fs layer [2021-07-31T03:38:18.032Z] 4c4ab2625f07: Pulling fs layer [2021-07-31T03:38:18.032Z] 0773c198feca: Pulling fs layer [2021-07-31T03:38:18.032Z] 345f892a5656: Pulling fs layer [2021-07-31T03:38:18.032Z] 4796506630df: Pulling fs layer [2021-07-31T03:38:18.032Z] cc55df3e53f1: Pulling fs layer [2021-07-31T03:38:18.032Z] 4d027b6c602c: Pulling fs layer [2021-07-31T03:38:18.032Z] 449e75d2c14e: Pulling fs layer [2021-07-31T03:38:18.032Z] 0773c198feca: Waiting [2021-07-31T03:38:18.032Z] 345f892a5656: Waiting [2021-07-31T03:38:18.032Z] 4796506630df: Waiting [2021-07-31T03:38:18.032Z] cc55df3e53f1: Waiting [2021-07-31T03:38:18.032Z] 4d027b6c602c: Waiting [2021-07-31T03:38:18.032Z] 449e75d2c14e: Waiting [2021-07-31T03:38:18.032Z] 4c4ab2625f07: Verifying Checksum [2021-07-31T03:38:18.032Z] 4c4ab2625f07: Download complete [2021-07-31T03:38:18.032Z] adcc1eea9eea: Download complete [2021-07-31T03:38:18.032Z] 345f892a5656: Verifying Checksum [2021-07-31T03:38:18.032Z] 345f892a5656: Download complete [2021-07-31T03:38:18.297Z] 540db60ca938: Verifying Checksum [2021-07-31T03:38:18.297Z] 540db60ca938: Download complete [2021-07-31T03:38:18.297Z] cc55df3e53f1: Verifying Checksum [2021-07-31T03:38:18.297Z] cc55df3e53f1: Download complete [2021-07-31T03:38:18.297Z] 540db60ca938: Pull complete [2021-07-31T03:38:18.414Z] cb65c68fc2e2: Verifying Checksum [2021-07-31T03:38:18.414Z] cb65c68fc2e2: Download complete [2021-07-31T03:38:18.564Z] adcc1eea9eea: Pull complete [2021-07-31T03:38:18.565Z] 4c4ab2625f07: Pull complete [2021-07-31T03:38:18.565Z] 4d027b6c602c: Verifying Checksum [2021-07-31T03:38:18.565Z] 4d027b6c602c: Download complete [2021-07-31T03:38:19.150Z] 4796506630df: Verifying Checksum [2021-07-31T03:38:19.150Z] 4796506630df: Download complete [2021-07-31T03:38:21.098Z] 449e75d2c14e: Verifying Checksum [2021-07-31T03:38:21.098Z] 449e75d2c14e: Download complete [2021-07-31T03:38:21.686Z] 0773c198feca: Verifying Checksum [2021-07-31T03:38:21.686Z] 0773c198feca: Download complete [2021-07-31T03:38:25.051Z] 0773c198feca: Pull complete [2021-07-31T03:38:25.051Z] 345f892a5656: Pull complete [2021-07-31T03:38:25.051Z] 4796506630df: Pull complete [2021-07-31T03:38:25.051Z] cc55df3e53f1: Pull complete [2021-07-31T03:38:25.051Z] 4d027b6c602c: Pull complete [2021-07-31T03:38:27.038Z] 449e75d2c14e: Pull complete [2021-07-31T03:38:27.038Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-31T03:38:27.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-31T03:38:27.038Z] ---> 0d28375d9b5b [2021-07-31T03:38:27.038Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-31T03:38:28.031Z] ---> Running in fcfa8b0dadc2 [2021-07-31T03:38:28.031Z] Removing intermediate container fcfa8b0dadc2 [2021-07-31T03:38:28.031Z] ---> 78f403c5933d [2021-07-31T03:38:28.031Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-31T03:38:28.031Z] ---> Running in 02c5ba43265c [2021-07-31T03:38:28.619Z] Removing intermediate container 02c5ba43265c [2021-07-31T03:38:28.619Z] ---> de21c4c8162a [2021-07-31T03:38:28.619Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-31T03:38:28.619Z] ---> Running in 501dab0f37a6 [2021-07-31T03:38:28.888Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-31T03:38:29.854Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-31T03:38:30.437Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-31T03:38:30.437Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-31T03:38:30.704Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-31T03:38:30.704Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-31T03:38:30.704Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-31T03:38:30.844Z] cb65c68fc2e2: Pull complete [2021-07-31T03:38:30.844Z] 093eec477d81: Pull complete [2021-07-31T03:38:30.844Z] a6d5b2bbb924: Pull complete [2021-07-31T03:38:30.844Z] 2446dc1eb7d3: Pull complete [2021-07-31T03:38:30.973Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-31T03:38:30.973Z] Executing busybox-1.32.1-r6.trigger [2021-07-31T03:38:30.973Z] OK: 150 MiB in 46 packages [2021-07-31T03:38:31.239Z] Removing intermediate container 501dab0f37a6 [2021-07-31T03:38:31.239Z] ---> 8e89653eac50 [2021-07-31T03:38:31.239Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-31T03:38:31.239Z] ---> Running in 2f9d5dee6e85 [2021-07-31T03:38:31.505Z] Removing intermediate container 2f9d5dee6e85 [2021-07-31T03:38:31.505Z] ---> d48b7a0396ac [2021-07-31T03:38:31.505Z] Step 7/8 : COPY . . [2021-07-31T03:38:31.773Z] ---> e069994a52f7 [2021-07-31T03:38:31.773Z] Step 8/8 : RUN go mod download [2021-07-31T03:38:31.773Z] ---> Running in 89f1ccd2b1c4 [2021-07-31T03:38:34.247Z] 596795e73e0f: Pull complete [2021-07-31T03:38:34.247Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-31T03:38:34.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-31T03:38:34.247Z] ---> d9e956139c92 [2021-07-31T03:38:34.247Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-31T03:38:36.901Z] ---> Running in c97325a6f13a [2021-07-31T03:38:37.173Z] Removing intermediate container c97325a6f13a [2021-07-31T03:38:37.174Z] ---> 6876553bf90d [2021-07-31T03:38:37.174Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-31T03:38:37.449Z] ---> Running in b28e42c38955 [2021-07-31T03:38:40.092Z] Removing intermediate container b28e42c38955 [2021-07-31T03:38:40.093Z] ---> 608b5e8e15e4 [2021-07-31T03:38:40.093Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-31T03:38:40.093Z] ---> Running in 37db9f5562b6 [2021-07-31T03:38:41.078Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-31T03:38:42.055Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-31T03:38:43.033Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-31T03:38:43.033Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-31T03:38:43.033Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-31T03:38:43.308Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-31T03:38:43.308Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-31T03:38:43.308Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-31T03:38:43.581Z] Executing busybox-1.32.1-r6.trigger [2021-07-31T03:38:43.581Z] OK: 139 MiB in 46 packages [2021-07-31T03:38:44.565Z] Removing intermediate container 37db9f5562b6 [2021-07-31T03:38:44.565Z] ---> e229ba91b973 [2021-07-31T03:38:44.565Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-31T03:38:44.843Z] ---> Running in b9c32be8f8d0 [2021-07-31T03:38:45.697Z] Removing intermediate container b9c32be8f8d0 [2021-07-31T03:38:45.697Z] ---> f0a59c7dfc97 [2021-07-31T03:38:45.697Z] Step 7/8 : COPY . . [2021-07-31T03:38:46.731Z] ---> 1a9bef90b9a1 [2021-07-31T03:38:46.731Z] Step 8/8 : RUN go mod download [2021-07-31T03:38:46.775Z] Removing intermediate container 89f1ccd2b1c4 [2021-07-31T03:38:46.776Z] ---> 9a47d1573674 [2021-07-31T03:38:46.776Z] Successfully built 9a47d1573674 [2021-07-31T03:38:46.776Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:38:47.008Z] ---> Running in ba76a8bdf8a7 [2021-07-31T03:38:47.103Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-31T03:38:47.103Z] . [Pipeline] withDockerContainer [2021-07-31T03:38:47.186Z] prd-centos7-docker-4c-2g-1240 does not seem to be running inside a container [2021-07-31T03:38:47.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-x86_64 cat [2021-07-31T03:38:47.604Z] $ docker top a4b23840135d18f6f39600da9745b5194511dfcc9ed2652f9ccbfb7ce37d88f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-31T03:38:48.016Z] + go version [2021-07-31T03:38:48.016Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-31T03:38:48.032Z] $ docker stop --time=1 a4b23840135d18f6f39600da9745b5194511dfcc9ed2652f9ccbfb7ce37d88f8 [2021-07-31T03:38:49.225Z] $ docker rm -f a4b23840135d18f6f39600da9745b5194511dfcc9ed2652f9ccbfb7ce37d88f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:38:49.838Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-31T03:38:49.838Z] . [Pipeline] withDockerContainer [2021-07-31T03:38:49.940Z] prd-centos7-docker-4c-2g-1240 does not seem to be running inside a container [2021-07-31T03:38:50.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-x86_64 cat [2021-07-31T03:38:50.399Z] $ docker top 007b515a35712eaca2f1ca47ba03ed2d552c36beac661cfefb8a6a1da34c2a0b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-31T03:38:50.809Z] + go mod tidy [Pipeline] sh [2021-07-31T03:38:51.400Z] + make test [2021-07-31T03:38:51.400Z] go mod tidy [2021-07-31T03:38:51.400Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-31T03:38:56.806Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-31T03:39:13.825Z] Removing intermediate container ba76a8bdf8a7 [2021-07-31T03:39:13.825Z] ---> ffb2905e6b34 [2021-07-31T03:39:13.825Z] Successfully built ffb2905e6b34 [2021-07-31T03:39:13.825Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:39:14.189Z] + docker inspect -f . ci-base-image-arm64 [2021-07-31T03:39:14.189Z] . [Pipeline] withDockerContainer [2021-07-31T03:39:14.466Z] prd-ubuntu18.04-docker-arm64-4c-16g-1239 does not seem to be running inside a container [2021-07-31T03:39:14.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-31T03:39:16.286Z] $ docker top 1ffcb435e232cc170111077484adb67ff4caa23cbcb57f0dd53ae91360e3c0dc -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-31T03:39:17.261Z] + go version [2021-07-31T03:39:17.261Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-31T03:39:17.290Z] $ docker stop --time=1 1ffcb435e232cc170111077484adb67ff4caa23cbcb57f0dd53ae91360e3c0dc [2021-07-31T03:39:18.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-31T03:39:18.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-31T03:39:18.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-31T03:39:19.238Z] $ docker rm -f 1ffcb435e232cc170111077484adb67ff4caa23cbcb57f0dd53ae91360e3c0dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:39:22.216Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.051s coverage: 24.2% of statements [2021-07-31T03:39:22.216Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-31T03:39:22.216Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 28.1% of statements [2021-07-31T03:39:22.216Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.054s coverage: 78.9% of statements [2021-07-31T03:39:22.216Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.048s coverage: 9.0% of statements [2021-07-31T03:39:22.216Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-31T03:39:22.216Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-31T03:39:22.216Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-31T03:39:22.216Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.060s coverage: 28.7% of statements [2021-07-31T03:39:22.216Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-31T03:39:22.217Z] + docker inspect -f . ci-base-image-arm64 [2021-07-31T03:39:22.217Z] . [Pipeline] withDockerContainer [2021-07-31T03:39:22.491Z] prd-ubuntu18.04-docker-arm64-4c-16g-1239 does not seem to be running inside a container [2021-07-31T03:39:22.579Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-31T03:39:23.178Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.051s coverage: 83.3% of statements [2021-07-31T03:39:23.178Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-31T03:39:23.178Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-31T03:39:23.178Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.076s coverage: 58.0% of statements [2021-07-31T03:39:24.243Z] $ docker top 6acd8d4eb95d43c1353c1114510a285ed1261b65ba60dddb67550f1bdd652c15 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-31T03:39:24.594Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.812s coverage: 89.2% of statements [2021-07-31T03:39:24.594Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-31T03:39:24.594Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.9% of statements [2021-07-31T03:39:24.594Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-31T03:39:24.594Z] GO111MODULE=on go vet ./... [2021-07-31T03:39:25.208Z] + go mod tidy [Pipeline] sh [2021-07-31T03:39:26.480Z] + make test [2021-07-31T03:39:26.480Z] go mod tidy [2021-07-31T03:39:27.078Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-31T03:39:42.874Z] gofmt -l . [2021-07-31T03:39:42.875Z] [ "`gofmt -l .`" = "" ] [2021-07-31T03:39:42.875Z] ./bin/test-attribution-txt.sh [2021-07-31T03:39:42.875Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-31T03:39:42.891Z] $ docker stop --time=1 007b515a35712eaca2f1ca47ba03ed2d552c36beac661cfefb8a6a1da34c2a0b [2021-07-31T03:39:44.484Z] $ docker rm -f 007b515a35712eaca2f1ca47ba03ed2d552c36beac661cfefb8a6a1da34c2a0b [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-31T03:39:44.967Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-31T03:39:45.222Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-31T03:39:47.591Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-31T03:39:47.909Z] + ls -al . [2021-07-31T03:39:47.909Z] total 228 [2021-07-31T03:39:47.909Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jul 31 03:39 . [2021-07-31T03:39:47.909Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 31 03:38 .. [2021-07-31T03:39:47.909Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 31 03:38 bin [2021-07-31T03:39:47.909Z] -rw-rw-r--. 1 jenkins jenkins 24816 Jul 31 03:38 CHANGELOG.md [2021-07-31T03:39:47.909Z] -rw-r--r--. 1 jenkins jenkins 125634 Jul 31 03:39 coverage.out [2021-07-31T03:39:47.909Z] -rw-rw-r--. 1 jenkins jenkins 987 Jul 31 03:38 Dockerfile.build [2021-07-31T03:39:47.909Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 31 03:38 .dockerignore [2021-07-31T03:39:47.909Z] drwxrwxr-x. 5 jenkins jenkins 62 Jul 31 03:38 example [2021-07-31T03:39:47.909Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 31 03:38 .git [2021-07-31T03:39:47.909Z] drwxrwxr-x. 3 jenkins jenkins 125 Jul 31 03:38 .github [2021-07-31T03:39:47.909Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 31 03:38 .gitignore [2021-07-31T03:39:47.909Z] -rw-r--r--. 1 jenkins jenkins 548 Jul 31 03:39 go.mod [2021-07-31T03:39:47.909Z] -rw-r--r--. 1 jenkins jenkins 20301 Jul 31 03:38 go.sum [2021-07-31T03:39:47.909Z] drwxrwxr-x. 15 jenkins jenkins 224 Jul 31 03:38 internal [2021-07-31T03:39:47.909Z] -rw-rw-r--. 1 jenkins jenkins 880 Jul 31 03:38 Jenkinsfile [2021-07-31T03:39:47.909Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 31 03:38 LICENSE [2021-07-31T03:39:47.909Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jul 31 03:38 Makefile [2021-07-31T03:39:47.909Z] drwxrwxr-x. 3 jenkins jenkins 16 Jul 31 03:38 openapi [2021-07-31T03:39:47.909Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 31 03:38 pkg [2021-07-31T03:39:47.909Z] -rw-rw-r--. 1 jenkins jenkins 7646 Jul 31 03:38 README.md [2021-07-31T03:39:47.909Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 31 03:38 snap [2021-07-31T03:39:47.909Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 31 03:35 VERSION [2021-07-31T03:39:47.909Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 31 03:38 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:39:48.233Z] + 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=4c8039af1df2b85f6ebf5f903b31f826607b92c3 --label arch=amd64 --label version=2.0.1-dev.7 . [2021-07-31T03:39:48.233Z] Sending build context to Docker daemon 2.719MB [2021-07-31T03:39:48.233Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-31T03:39:48.233Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-31T03:39:48.233Z] ---> 9a47d1573674 [2021-07-31T03:39:48.233Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-31T03:39:48.233Z] ---> Running in 8a1592bdd1ba [2021-07-31T03:39:48.515Z] Removing intermediate container 8a1592bdd1ba [2021-07-31T03:39:48.515Z] ---> 0afa9d9db5fa [2021-07-31T03:39:48.515Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-31T03:39:48.515Z] ---> Running in 287b8638a572 [2021-07-31T03:39:48.515Z] Removing intermediate container 287b8638a572 [2021-07-31T03:39:48.515Z] ---> a3b7c9dc6a6c [2021-07-31T03:39:48.515Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-31T03:39:48.515Z] ---> Running in 0c7c95ecc79b [2021-07-31T03:39:49.098Z] Removing intermediate container 0c7c95ecc79b [2021-07-31T03:39:49.098Z] ---> 7a4f3c17993b [2021-07-31T03:39:49.098Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-31T03:39:49.098Z] ---> Running in 493d50b7627a [2021-07-31T03:39:49.098Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-31T03:39:49.313Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-31T03:39:50.058Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-31T03:39:50.645Z] OK: 150 MiB in 46 packages [2021-07-31T03:39:50.645Z] Removing intermediate container 493d50b7627a [2021-07-31T03:39:50.645Z] ---> 07c8dae188ce [2021-07-31T03:39:50.645Z] Step 7/23 : COPY . . [2021-07-31T03:39:50.911Z] ---> d315cff6f276 [2021-07-31T03:39:50.911Z] Step 8/23 : RUN go mod download [2021-07-31T03:39:50.911Z] ---> Running in d48d6f33c78f [2021-07-31T03:39:51.503Z] Removing intermediate container d48d6f33c78f [2021-07-31T03:39:51.503Z] ---> 72f5db990a03 [2021-07-31T03:39:51.503Z] Step 9/23 : RUN make build [2021-07-31T03:39:51.503Z] ---> Running in 30b26f79f577 [2021-07-31T03:39:51.772Z] go mod tidy [2021-07-31T03:39:52.045Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-07-31T03:40:02.232Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-31T03:40:03.199Z] Removing intermediate container 30b26f79f577 [2021-07-31T03:40:03.199Z] ---> 9ce64c902a05 [2021-07-31T03:40:03.199Z] Step 10/23 : FROM alpine:3.12 [2021-07-31T03:40:03.791Z] 3.12: Pulling from library/alpine [2021-07-31T03:40:03.791Z] 339de151aab4: Pulling fs layer [2021-07-31T03:40:04.061Z] 339de151aab4: Verifying Checksum [2021-07-31T03:40:04.062Z] 339de151aab4: Download complete [2021-07-31T03:40:04.062Z] 339de151aab4: Pull complete [2021-07-31T03:40:04.062Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-07-31T03:40:04.062Z] Status: Downloaded newer image for alpine:3.12 [2021-07-31T03:40:04.062Z] ---> 13621d1b12d4 [2021-07-31T03:40:04.062Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-31T03:40:04.330Z] ---> Running in d695821c3da4 [2021-07-31T03:40:04.330Z] Removing intermediate container d695821c3da4 [2021-07-31T03:40:04.330Z] ---> f0fa3e721bc9 [2021-07-31T03:40:04.330Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-31T03:40:04.330Z] ---> Running in e14cdca1819a [2021-07-31T03:40:04.920Z] Removing intermediate container e14cdca1819a [2021-07-31T03:40:04.920Z] ---> 470ab52e1629 [2021-07-31T03:40:04.920Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-31T03:40:04.920Z] ---> Running in 2d1d25720789 [2021-07-31T03:40:05.187Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-31T03:40:05.770Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-31T03:40:06.036Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-31T03:40:06.303Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-31T03:40:06.303Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-31T03:40:07.264Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-31T03:40:07.264Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-31T03:40:07.536Z] Executing busybox-1.31.1-r20.trigger [2021-07-31T03:40:07.536Z] OK: 8 MiB in 19 packages [2021-07-31T03:40:07.804Z] Removing intermediate container 2d1d25720789 [2021-07-31T03:40:07.804Z] ---> a26b69a1dd42 [2021-07-31T03:40:07.804Z] Step 14/23 : WORKDIR / [2021-07-31T03:40:07.804Z] ---> Running in 692517819b12 [2021-07-31T03:40:07.804Z] Removing intermediate container 692517819b12 [2021-07-31T03:40:07.804Z] ---> b945811a3a8d [2021-07-31T03:40:07.804Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-31T03:40:08.070Z] ---> 13e44cdf9735 [2021-07-31T03:40:08.070Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-31T03:40:08.337Z] ---> 7a56f243a28e [2021-07-31T03:40:08.337Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-31T03:40:08.606Z] ---> cce51c43cbb0 [2021-07-31T03:40:08.606Z] Step 18/23 : EXPOSE 59999 [2021-07-31T03:40:08.606Z] ---> Running in a9b3b4060771 [2021-07-31T03:40:08.606Z] Removing intermediate container a9b3b4060771 [2021-07-31T03:40:08.606Z] ---> 0bd1b0cdc896 [2021-07-31T03:40:08.606Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-31T03:40:08.606Z] ---> Running in b87163b5d459 [2021-07-31T03:40:08.606Z] Removing intermediate container b87163b5d459 [2021-07-31T03:40:08.606Z] ---> d37c2e85f321 [2021-07-31T03:40:08.606Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-31T03:40:08.875Z] ---> Running in 61926abd720b [2021-07-31T03:40:08.875Z] Removing intermediate container 61926abd720b [2021-07-31T03:40:08.875Z] ---> 71f136050b54 [2021-07-31T03:40:08.875Z] Step 21/23 : LABEL arch=amd64 [2021-07-31T03:40:08.875Z] ---> Running in e19ab36936b7 [2021-07-31T03:40:08.875Z] Removing intermediate container e19ab36936b7 [2021-07-31T03:40:08.875Z] ---> 384be3001a9c [2021-07-31T03:40:08.875Z] Step 22/23 : LABEL git_sha=4c8039af1df2b85f6ebf5f903b31f826607b92c3 [2021-07-31T03:40:08.875Z] ---> Running in ba7fdde7c12f [2021-07-31T03:40:09.143Z] Removing intermediate container ba7fdde7c12f [2021-07-31T03:40:09.143Z] ---> 76f8df51a97d [2021-07-31T03:40:09.143Z] Step 23/23 : LABEL version=2.0.1-dev.7 [2021-07-31T03:40:09.143Z] ---> Running in c99928dd988a [2021-07-31T03:40:09.143Z] Removing intermediate container c99928dd988a [2021-07-31T03:40:09.143Z] ---> 8763644141a5 [2021-07-31T03:40:09.143Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-07-31T03:40:09.143Z] Successfully built 8763644141a5 [2021-07-31T03:40:09.143Z] 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-07-31T03:40:09.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T03:40:09.933Z] [2021-07-31T03:40:09.933Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:40:10.278Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T03:40:10.278Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-31T03:40:10.278Z] b4d181a07f80: Pulling fs layer [2021-07-31T03:40:10.278Z] a1111a8f2ec3: Pulling fs layer [2021-07-31T03:40:10.278Z] ed53099fbce6: Pulling fs layer [2021-07-31T03:40:10.278Z] dc539afda2c1: Pulling fs layer [2021-07-31T03:40:10.278Z] 77bc0d833cb6: Pulling fs layer [2021-07-31T03:40:10.278Z] 9065ff56babe: Pulling fs layer [2021-07-31T03:40:10.278Z] d287ab97295c: Pulling fs layer [2021-07-31T03:40:10.278Z] 77bc0d833cb6: Waiting [2021-07-31T03:40:10.278Z] 9065ff56babe: Waiting [2021-07-31T03:40:10.278Z] d287ab97295c: Waiting [2021-07-31T03:40:10.278Z] dc539afda2c1: Waiting [2021-07-31T03:40:10.544Z] a1111a8f2ec3: Verifying Checksum [2021-07-31T03:40:10.544Z] a1111a8f2ec3: Download complete [2021-07-31T03:40:10.809Z] dc539afda2c1: Verifying Checksum [2021-07-31T03:40:10.809Z] dc539afda2c1: Download complete [2021-07-31T03:40:11.080Z] ed53099fbce6: Verifying Checksum [2021-07-31T03:40:11.080Z] ed53099fbce6: Download complete [2021-07-31T03:40:11.080Z] 77bc0d833cb6: Verifying Checksum [2021-07-31T03:40:11.080Z] 77bc0d833cb6: Download complete [2021-07-31T03:40:11.080Z] 9065ff56babe: Verifying Checksum [2021-07-31T03:40:11.080Z] 9065ff56babe: Download complete [2021-07-31T03:40:12.045Z] b4d181a07f80: Verifying Checksum [2021-07-31T03:40:12.045Z] b4d181a07f80: Download complete [2021-07-31T03:40:13.034Z] b4d181a07f80: Pull complete [2021-07-31T03:40:13.299Z] a1111a8f2ec3: Pull complete [2021-07-31T03:40:13.567Z] ed53099fbce6: Pull complete [2021-07-31T03:40:13.839Z] dc539afda2c1: Pull complete [2021-07-31T03:40:13.839Z] 77bc0d833cb6: Pull complete [2021-07-31T03:40:14.107Z] 9065ff56babe: Pull complete [2021-07-31T03:40:15.517Z] d287ab97295c: Verifying Checksum [2021-07-31T03:40:15.517Z] d287ab97295c: Download complete [2021-07-31T03:40:19.778Z] d287ab97295c: Pull complete [2021-07-31T03:40:19.778Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-31T03:40:19.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T03:40:19.778Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-31T03:40:19.876Z] prd-centos7-docker-4c-2g-1240 does not seem to be running inside a container [2021-07-31T03:40:19.951Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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:latest cat [2021-07-31T03:40:22.953Z] $ docker top 7f907aa636dd40026d5fc25f6fa3a186319fd9b8d3e3aa6bafa129f6a79a01d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:40:23.474Z] ---> job-cost.sh [2021-07-31T03:40:23.474Z] lf-activate-venv: SKIPPING [2021-07-31T03:40:23.474Z] INFO: No Stack... [2021-07-31T03:40:24.437Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-31T03:40:24.702Z] INFO: Archiving Costs [Pipeline] sh [2021-07-31T03:40:25.033Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-07-31T03:40:25.033Z] + cut -d, -f6 [Pipeline] lock [2021-07-31T03:40:25.075Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-4-stack-cost] [2021-07-31T03:40:25.083Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-4-stack-cost] did not exist. Created. [2021-07-31T03:40:25.083Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-31T03:40:25.440Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-31T03:40:25.486Z] Stashed 1 file(s) [Pipeline] } [2021-07-31T03:40:25.503Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-31T03:40:25.532Z] $ docker stop --time=1 7f907aa636dd40026d5fc25f6fa3a186319fd9b8d3e3aa6bafa129f6a79a01d5 [2021-07-31T03:40:26.701Z] $ docker rm -f 7f907aa636dd40026d5fc25f6fa3a186319fd9b8d3e3aa6bafa129f6a79a01d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-31T03:40:57.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-31T03:40:57.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-31T03:40:57.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-31T03:41:04.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.235s coverage: 24.2% of statements [2021-07-31T03:41:04.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-31T03:41:04.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.265s coverage: 28.1% of statements [2021-07-31T03:41:04.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.202s coverage: 78.9% of statements [2021-07-31T03:41:04.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.197s coverage: 9.0% of statements [2021-07-31T03:41:04.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-31T03:41:04.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-31T03:41:04.218Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-31T03:41:05.675Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.329s coverage: 28.7% of statements [2021-07-31T03:41:05.675Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-31T03:41:07.671Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.180s coverage: 83.3% of statements [2021-07-31T03:41:07.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-31T03:41:07.671Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-31T03:41:07.671Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.336s coverage: 58.0% of statements [2021-07-31T03:41:11.062Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.013s coverage: 89.2% of statements [2021-07-31T03:41:11.062Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-31T03:41:11.062Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.188s coverage: 4.9% of statements [2021-07-31T03:41:11.062Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-31T03:41:11.337Z] GO111MODULE=on go vet ./... [2021-07-31T03:42:07.922Z] gofmt -l . [2021-07-31T03:42:07.922Z] [ "`gofmt -l .`" = "" ] [2021-07-31T03:42:07.922Z] ./bin/test-attribution-txt.sh [2021-07-31T03:42:07.922Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-31T03:42:07.946Z] $ docker stop --time=1 6acd8d4eb95d43c1353c1114510a285ed1261b65ba60dddb67550f1bdd652c15 [2021-07-31T03:42:10.067Z] $ docker rm -f 6acd8d4eb95d43c1353c1114510a285ed1261b65ba60dddb67550f1bdd652c15 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-31T03:42:11.242Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-31T03:42:11.266Z] Warning: overwriting stash ‘coverage-report’ [2021-07-31T03:42:11.954Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-31T03:42:12.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-31T03:42:12.912Z] + ls -al . [2021-07-31T03:42:12.912Z] total 264 [2021-07-31T03:42:12.912Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 03:42 . [2021-07-31T03:42:12.912Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:38 .. [2021-07-31T03:42:12.912Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 03:38 .dockerignore [2021-07-31T03:42:12.912Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 03:38 .git [2021-07-31T03:42:12.912Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 03:38 .github [2021-07-31T03:42:12.912Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 31 03:38 .gitignore [2021-07-31T03:42:12.912Z] -rw-rw-r-- 1 jenkins jenkins 24816 Jul 31 03:38 CHANGELOG.md [2021-07-31T03:42:12.912Z] -rw-rw-r-- 1 jenkins jenkins 987 Jul 31 03:38 Dockerfile.build [2021-07-31T03:42:12.912Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 31 03:38 Jenkinsfile [2021-07-31T03:42:12.912Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 31 03:38 LICENSE [2021-07-31T03:42:12.912Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jul 31 03:38 Makefile [2021-07-31T03:42:12.912Z] -rw-rw-r-- 1 jenkins jenkins 7646 Jul 31 03:38 README.md [2021-07-31T03:42:12.912Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 31 03:35 VERSION [2021-07-31T03:42:12.912Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 03:38 bin [2021-07-31T03:42:12.912Z] -rw-r--r-- 1 jenkins jenkins 125634 Jul 31 03:41 coverage.out [2021-07-31T03:42:12.912Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 31 03:38 example [2021-07-31T03:42:12.912Z] -rw-r--r-- 1 jenkins jenkins 548 Jul 31 03:42 go.mod [2021-07-31T03:42:12.912Z] -rw-r--r-- 1 jenkins jenkins 20301 Jul 31 03:39 go.sum [2021-07-31T03:42:12.912Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 31 03:38 internal [2021-07-31T03:42:12.912Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 03:38 openapi [2021-07-31T03:42:12.912Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 31 03:38 pkg [2021-07-31T03:42:12.912Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 03:38 snap [2021-07-31T03:42:12.912Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 31 03:38 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:42:13.265Z] + 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=4c8039af1df2b85f6ebf5f903b31f826607b92c3 --label arch=arm64 --label version=2.0.1-dev.7 . [2021-07-31T03:42:13.862Z] Sending build context to Docker daemon 2.718MB [2021-07-31T03:42:13.862Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-31T03:42:13.862Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-31T03:42:13.862Z] ---> ffb2905e6b34 [2021-07-31T03:42:13.862Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-31T03:42:14.142Z] ---> Running in d3adf7c5638c [2021-07-31T03:42:14.745Z] Removing intermediate container d3adf7c5638c [2021-07-31T03:42:14.745Z] ---> 3929f664fb80 [2021-07-31T03:42:14.745Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-31T03:42:14.745Z] ---> Running in 7fc2fa8c6780 [2021-07-31T03:42:15.357Z] Removing intermediate container 7fc2fa8c6780 [2021-07-31T03:42:15.357Z] ---> a71d7d0d6daf [2021-07-31T03:42:15.357Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-31T03:42:15.357Z] ---> Running in 424dd71fe910 [2021-07-31T03:42:18.073Z] Removing intermediate container 424dd71fe910 [2021-07-31T03:42:18.073Z] ---> 83557702a243 [2021-07-31T03:42:18.073Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-31T03:42:18.073Z] ---> Running in ba8335a89b3c [2021-07-31T03:42:19.072Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-31T03:42:20.052Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-31T03:42:21.047Z] OK: 139 MiB in 46 packages [2021-07-31T03:42:22.030Z] Removing intermediate container ba8335a89b3c [2021-07-31T03:42:22.030Z] ---> db6b9434fdb9 [2021-07-31T03:42:22.030Z] Step 7/23 : COPY . . [2021-07-31T03:42:23.467Z] ---> f536efd1e035 [2021-07-31T03:42:23.467Z] Step 8/23 : RUN go mod download [2021-07-31T03:42:23.467Z] ---> Running in 143ebf7b52d6 [2021-07-31T03:42:26.087Z] Removing intermediate container 143ebf7b52d6 [2021-07-31T03:42:26.087Z] ---> 2aa8d64592c2 [2021-07-31T03:42:26.087Z] Step 9/23 : RUN make build [2021-07-31T03:42:26.087Z] ---> Running in 52cb8b9280a2 [2021-07-31T03:42:27.068Z] go mod tidy [2021-07-31T03:42:27.343Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.7" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-07-31T03:42:59.757Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-31T03:43:01.760Z] Removing intermediate container 52cb8b9280a2 [2021-07-31T03:43:01.760Z] ---> 861e7f67de07 [2021-07-31T03:43:01.760Z] Step 10/23 : FROM alpine:3.12 [2021-07-31T03:43:02.358Z] 3.12: Pulling from library/alpine [2021-07-31T03:43:02.358Z] d2f70382dc9a: Pulling fs layer [2021-07-31T03:43:02.633Z] d2f70382dc9a: Verifying Checksum [2021-07-31T03:43:02.633Z] d2f70382dc9a: Download complete [2021-07-31T03:43:03.230Z] d2f70382dc9a: Pull complete [2021-07-31T03:43:03.230Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-07-31T03:43:03.230Z] Status: Downloaded newer image for alpine:3.12 [2021-07-31T03:43:03.230Z] ---> c4fd0aeabfcf [2021-07-31T03:43:03.230Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-31T03:43:03.825Z] ---> Running in 3dd946676336 [2021-07-31T03:43:04.098Z] Removing intermediate container 3dd946676336 [2021-07-31T03:43:04.098Z] ---> 11e468cb6fc9 [2021-07-31T03:43:04.098Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-31T03:43:04.374Z] ---> Running in 3fc4ccbf38a3 [2021-07-31T03:43:06.368Z] Removing intermediate container 3fc4ccbf38a3 [2021-07-31T03:43:06.368Z] ---> fb60c7bc8b9f [2021-07-31T03:43:06.368Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-31T03:43:06.368Z] ---> Running in d1caaeabc3c3 [2021-07-31T03:43:07.810Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-31T03:43:08.411Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-31T03:43:09.003Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-31T03:43:09.003Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-31T03:43:09.276Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-31T03:43:09.552Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-31T03:43:09.552Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-31T03:43:09.552Z] Executing busybox-1.31.1-r20.trigger [2021-07-31T03:43:09.831Z] OK: 8 MiB in 19 packages [2021-07-31T03:43:10.817Z] Removing intermediate container d1caaeabc3c3 [2021-07-31T03:43:10.817Z] ---> 91effb69d0c3 [2021-07-31T03:43:10.817Z] Step 14/23 : WORKDIR / [2021-07-31T03:43:11.093Z] ---> Running in 38115f7b5b5c [2021-07-31T03:43:11.692Z] Removing intermediate container 38115f7b5b5c [2021-07-31T03:43:11.692Z] ---> 46a929f385d6 [2021-07-31T03:43:11.692Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-31T03:43:12.291Z] ---> a739010b21b9 [2021-07-31T03:43:12.291Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-31T03:43:13.726Z] ---> 79c74c2d081f [2021-07-31T03:43:13.726Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-31T03:43:14.708Z] ---> 24b4dc997d06 [2021-07-31T03:43:14.708Z] Step 18/23 : EXPOSE 59999 [2021-07-31T03:43:14.708Z] ---> Running in e686018b562f [2021-07-31T03:43:15.311Z] Removing intermediate container e686018b562f [2021-07-31T03:43:15.311Z] ---> 6bfbdce8376a [2021-07-31T03:43:15.311Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-31T03:43:15.311Z] ---> Running in 6bbe828ddd0c [2021-07-31T03:43:15.909Z] Removing intermediate container 6bbe828ddd0c [2021-07-31T03:43:15.909Z] ---> 91f83d10eaaa [2021-07-31T03:43:15.909Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-31T03:43:15.909Z] ---> Running in 707ea41c16e8 [2021-07-31T03:43:16.506Z] Removing intermediate container 707ea41c16e8 [2021-07-31T03:43:16.506Z] ---> 47686dfbca26 [2021-07-31T03:43:16.506Z] Step 21/23 : LABEL arch=arm64 [2021-07-31T03:43:16.780Z] ---> Running in c42942ddc3f4 [2021-07-31T03:43:17.055Z] Removing intermediate container c42942ddc3f4 [2021-07-31T03:43:17.055Z] ---> db0d378e49dd [2021-07-31T03:43:17.055Z] Step 22/23 : LABEL git_sha=4c8039af1df2b85f6ebf5f903b31f826607b92c3 [2021-07-31T03:43:17.333Z] ---> Running in 425f54859f43 [2021-07-31T03:43:17.934Z] Removing intermediate container 425f54859f43 [2021-07-31T03:43:17.934Z] ---> 689aac34adc8 [2021-07-31T03:43:17.934Z] Step 23/23 : LABEL version=2.0.1-dev.7 [2021-07-31T03:43:17.934Z] ---> Running in 5e27344cd38d [2021-07-31T03:43:18.532Z] Removing intermediate container 5e27344cd38d [2021-07-31T03:43:18.532Z] ---> a78cd809eee4 [2021-07-31T03:43:18.532Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-31T03:43:18.532Z] Successfully built a78cd809eee4 [2021-07-31T03:43:18.532Z] 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-07-31T03:43:19.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-31T03:43:19.250Z] [2021-07-31T03:43:19.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:43:19.919Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-31T03:43:20.193Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-31T03:43:20.193Z] 448f6bf000e3: Pulling fs layer [2021-07-31T03:43:20.193Z] f757da607395: Pulling fs layer [2021-07-31T03:43:20.193Z] 05883995daec: Pulling fs layer [2021-07-31T03:43:20.193Z] 8603b9c90790: Pulling fs layer [2021-07-31T03:43:20.193Z] 1560dd03e051: Pulling fs layer [2021-07-31T03:43:20.193Z] 27f5ce0e4adf: Pulling fs layer [2021-07-31T03:43:20.193Z] c2d8d7efcc4b: Pulling fs layer [2021-07-31T03:43:20.193Z] 1560dd03e051: Waiting [2021-07-31T03:43:20.193Z] 27f5ce0e4adf: Waiting [2021-07-31T03:43:20.193Z] 8603b9c90790: Waiting [2021-07-31T03:43:20.193Z] c2d8d7efcc4b: Waiting [2021-07-31T03:43:20.467Z] f757da607395: Verifying Checksum [2021-07-31T03:43:20.467Z] f757da607395: Download complete [2021-07-31T03:43:20.467Z] 8603b9c90790: Verifying Checksum [2021-07-31T03:43:20.467Z] 8603b9c90790: Download complete [2021-07-31T03:43:20.740Z] 1560dd03e051: Verifying Checksum [2021-07-31T03:43:20.740Z] 1560dd03e051: Download complete [2021-07-31T03:43:20.740Z] 05883995daec: Verifying Checksum [2021-07-31T03:43:20.740Z] 05883995daec: Download complete [2021-07-31T03:43:20.740Z] 27f5ce0e4adf: Verifying Checksum [2021-07-31T03:43:20.740Z] 27f5ce0e4adf: Download complete [2021-07-31T03:43:21.720Z] 448f6bf000e3: Verifying Checksum [2021-07-31T03:43:21.720Z] 448f6bf000e3: Download complete [2021-07-31T03:43:25.121Z] c2d8d7efcc4b: Verifying Checksum [2021-07-31T03:43:25.121Z] c2d8d7efcc4b: Download complete [2021-07-31T03:43:25.121Z] 448f6bf000e3: Pull complete [2021-07-31T03:43:26.108Z] f757da607395: Pull complete [2021-07-31T03:43:27.548Z] 05883995daec: Pull complete [2021-07-31T03:43:27.823Z] 8603b9c90790: Pull complete [2021-07-31T03:43:28.805Z] 1560dd03e051: Pull complete [2021-07-31T03:43:29.083Z] 27f5ce0e4adf: Pull complete [2021-07-31T03:43:44.198Z] c2d8d7efcc4b: Pull complete [2021-07-31T03:43:44.198Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-31T03:43:44.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-31T03:43:44.198Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-31T03:43:44.475Z] prd-ubuntu18.04-docker-arm64-4c-16g-1239 does not seem to be running inside a container [2021-07-31T03:43:44.557Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-07-31T03:43:48.141Z] $ docker top 7b209bc15c07c08767a8a05c427c325430a84e3e828e014febd70822749c53c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:43:49.127Z] ---> job-cost.sh [2021-07-31T03:43:49.127Z] lf-activate-venv: SKIPPING [2021-07-31T03:43:49.127Z] INFO: No Stack... [2021-07-31T03:43:50.108Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-31T03:43:50.389Z] INFO: Archiving Costs [Pipeline] sh [2021-07-31T03:43:51.066Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-07-31T03:43:51.066Z] + cut -d, -f6 [Pipeline] lock [2021-07-31T03:43:51.136Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-4-stack-cost] [2021-07-31T03:43:51.146Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-4-stack-cost] did not exist. Created. [2021-07-31T03:43:51.147Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-31T03:43:51.877Z] /w/workspace/device-sdk-go/4@tmp/durable-45144136/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-45144136/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-31T03:43:52.580Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-31T03:43:52.616Z] Warning: overwriting stash ‘stack-cost’ [2021-07-31T03:43:52.731Z] Stashed 1 file(s) [Pipeline] } [2021-07-31T03:43:52.745Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-31T03:43:52.772Z] $ docker stop --time=1 7b209bc15c07c08767a8a05c427c325430a84e3e828e014febd70822749c53c4 [2021-07-31T03:43:54.456Z] $ docker rm -f 7b209bc15c07c08767a8a05c427c325430a84e3e828e014febd70822749c53c4 [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-07-31T03:43:55.533Z] provisioning config files... [2021-07-31T03:43:55.564Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2832677803622632527tmp [Pipeline] { [Pipeline] sh [2021-07-31T03:43:55.900Z] + set +x [2021-07-31T03:43:55.900Z] + bash -s -- [2021-07-31T03:43:55.900Z] + curl -s https://codecov.io/bash [2021-07-31T03:43:55.900Z] [2021-07-31T03:43:55.900Z] _____ _ [2021-07-31T03:43:55.900Z] / ____| | | [2021-07-31T03:43:55.900Z] | | ___ __| | ___ ___ _____ __ [2021-07-31T03:43:55.900Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-31T03:43:55.900Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-31T03:43:55.900Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-31T03:43:55.900Z] Bash-1.0.6 [2021-07-31T03:43:55.900Z] [2021-07-31T03:43:55.900Z] [2021-07-31T03:43:55.900Z] ==> git version 2.24.4 found [2021-07-31T03:43:55.900Z] ==> 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-07-31T03:43:55.900Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-31T03:43:55.900Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-31T03:43:55.900Z] ==> Jenkins CI detected. [2021-07-31T03:43:55.900Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-07-31T03:43:55.900Z] project root: . [2021-07-31T03:43:55.900Z] --> token set from env [2021-07-31T03:43:55.900Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-31T03:43:56.169Z] ==> Running gcov in . (disable via -X gcov) [2021-07-31T03:43:56.169Z] ==> Python coveragepy not found [2021-07-31T03:43:56.169Z] ==> Searching for coverage reports in: [2021-07-31T03:43:56.169Z] + . [2021-07-31T03:43:56.169Z] -> Found 1 reports [2021-07-31T03:43:56.169Z] ==> Detecting git/mercurial file structure [2021-07-31T03:43:56.169Z] ==> Reading reports [2021-07-31T03:43:56.169Z] + ./coverage.out bytes=125634 [2021-07-31T03:43:56.169Z] ==> Appending adjustments [2021-07-31T03:43:56.169Z] https://docs.codecov.io/docs/fixing-reports [2021-07-31T03:43:56.437Z] + Found adjustments [2021-07-31T03:43:56.437Z] ==> Gzipping contents [2021-07-31T03:43:56.437Z] 16K /tmp/codecov.uiyeBP.gz [2021-07-31T03:43:56.437Z] ==> Uploading reports [2021-07-31T03:43:56.437Z] url: https://codecov.io [2021-07-31T03:43:56.437Z] query: branch=main&commit=4c8039af1df2b85f6ebf5f903b31f826607b92c3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-31T03:43:56.437Z] -> Pinging Codecov [2021-07-31T03:43:56.437Z] 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=4c8039af1df2b85f6ebf5f903b31f826607b92c3&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-31T03:43:56.704Z] -> Uploading to [2021-07-31T03:43:56.704Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-31/7E55EF52A471D76F132DFD9A03CDDE97/4c8039af1df2b85f6ebf5f903b31f826607b92c3/22ee7ac3-7ace-44c1-bdcd-503eb47bcd0b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210731%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210731T034356Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=54816d1bd5ec9884e5794d2fd9674741a564fe423e40f3f797fe399483c3658b [2021-07-31T03:43:56.704Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-31T03:43:56.704Z] Dload Upload Total Spent Left Speed [2021-07-31T03:43:57.292Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16028 0 0 100 16028 0 37351 --:--:-- --:--:-- --:--:-- 37361 [2021-07-31T03:43:57.293Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4c8039af1df2b85f6ebf5f903b31f826607b92c3 [Pipeline] } [2021-07-31T03:43:57.305Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-31T03:43:58.065Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-31T03:43:58.089Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:43:58.408Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-31T03:43:58.408Z] [2021-07-31T03:43:58.408Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:43:58.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-31T03:43:58.739Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-31T03:43:58.739Z] 188c0c94c7c5: Pulling fs layer [2021-07-31T03:43:58.739Z] 0ef7d3d256c8: Pulling fs layer [2021-07-31T03:43:58.739Z] de9db76c5a1d: Pulling fs layer [2021-07-31T03:43:58.739Z] 0eba1c9be4d2: Pulling fs layer [2021-07-31T03:43:58.739Z] 0d57e429df01: Pulling fs layer [2021-07-31T03:43:58.739Z] 4e4be7b47b0d: Pulling fs layer [2021-07-31T03:43:58.739Z] e1f770b5df2f: Pulling fs layer [2021-07-31T03:43:58.739Z] 85a0685a4137: Pulling fs layer [2021-07-31T03:43:58.739Z] 0eba1c9be4d2: Waiting [2021-07-31T03:43:58.739Z] 0d57e429df01: Waiting [2021-07-31T03:43:58.739Z] 4e4be7b47b0d: Waiting [2021-07-31T03:43:58.739Z] e1f770b5df2f: Waiting [2021-07-31T03:43:58.739Z] 85a0685a4137: Waiting [2021-07-31T03:43:58.739Z] de9db76c5a1d: Verifying Checksum [2021-07-31T03:43:58.739Z] de9db76c5a1d: Download complete [2021-07-31T03:43:59.009Z] 0ef7d3d256c8: Verifying Checksum [2021-07-31T03:43:59.009Z] 0ef7d3d256c8: Download complete [2021-07-31T03:43:59.009Z] 0d57e429df01: Verifying Checksum [2021-07-31T03:43:59.009Z] 0d57e429df01: Download complete [2021-07-31T03:43:59.009Z] 4e4be7b47b0d: Verifying Checksum [2021-07-31T03:43:59.009Z] 4e4be7b47b0d: Download complete [2021-07-31T03:43:59.009Z] 188c0c94c7c5: Verifying Checksum [2021-07-31T03:43:59.009Z] 188c0c94c7c5: Download complete [2021-07-31T03:43:59.278Z] 188c0c94c7c5: Pull complete [2021-07-31T03:43:59.278Z] 0ef7d3d256c8: Pull complete [2021-07-31T03:43:59.278Z] de9db76c5a1d: Pull complete [2021-07-31T03:44:00.245Z] e1f770b5df2f: Verifying Checksum [2021-07-31T03:44:00.245Z] e1f770b5df2f: Download complete [2021-07-31T03:44:05.636Z] 0eba1c9be4d2: Verifying Checksum [2021-07-31T03:44:05.636Z] 0eba1c9be4d2: Download complete [2021-07-31T03:44:05.636Z] 85a0685a4137: Verifying Checksum [2021-07-31T03:44:05.636Z] 85a0685a4137: Download complete [2021-07-31T03:44:08.257Z] 0eba1c9be4d2: Pull complete [2021-07-31T03:44:08.257Z] 0d57e429df01: Pull complete [2021-07-31T03:44:08.257Z] 4e4be7b47b0d: Pull complete [2021-07-31T03:44:08.859Z] e1f770b5df2f: Pull complete [2021-07-31T03:44:12.226Z] 85a0685a4137: Pull complete [2021-07-31T03:44:12.226Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-31T03:44:12.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-31T03:44:12.226Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-31T03:44:12.321Z] prd-centos7-docker-4c-2g-1238 does not seem to be running inside a container [2021-07-31T03:44:12.385Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-07-31T03:44:14.644Z] $ docker top 22579fe4e736110698d8793c5eac94a4806ec339ac1aaa25eb1d95209a1720b6 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-31T03:44:14.748Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-31T03:44:15.067Z] + set -o pipefail [2021-07-31T03:44:15.067Z] + snyk monitor '--org=edgex-jenkins' [2021-07-31T03:44:20.439Z] [2021-07-31T03:44:20.439Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-07-31T03:44:20.439Z] [2021-07-31T03:44:20.439Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/54b8151f-f461-4749-acfe-236cc4aa7b17 [2021-07-31T03:44:20.439Z] [2021-07-31T03:44:20.439Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-31T03:44:20.439Z] [2021-07-31T03:44:20.439Z] [Pipeline] } [2021-07-31T03:44:20.464Z] $ docker stop --time=1 22579fe4e736110698d8793c5eac94a4806ec339ac1aaa25eb1d95209a1720b6 [2021-07-31T03:44:22.635Z] $ docker rm -f 22579fe4e736110698d8793c5eac94a4806ec339ac1aaa25eb1d95209a1720b6 [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-07-31T03:44:23.587Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-31T03:44:23.608Z] provisioning config files... [2021-07-31T03:44:23.621Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3197324600826866835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:44:23.966Z] --> edgex-publish-swagger.sh [2021-07-31T03:44:23.966Z] === Publish openapi/v2 API === [2021-07-31T03:44:23.966Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-07-31T03:44:23.966Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-07-31T03:44:23.966Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-31T03:44:23.966Z] Dload Upload Total Spent Left Speed [2021-07-31T03:44:24.551Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51485 0 0 100 51485 0 62612 --:--:-- --:--:-- --:--:-- 62633 100 51485 0 0 100 51485 0 62597 --:--:-- --:--:-- --:--:-- 62633 [2021-07-31T03:44:24.551Z] [2021-07-31T03:44:24.551Z] [Pipeline] } [2021-07-31T03:44:24.564Z] 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-07-31T03:44:25.150Z] + git log --format=format:%s -1 4c8039af1df2b85f6ebf5f903b31f826607b92c3 [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:44:25.497Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-31T03:44:25.497Z] . [Pipeline] withDockerContainer [2021-07-31T03:44:25.584Z] prd-centos7-docker-4c-2g-1238 does not seem to be running inside a container [2021-07-31T03:44:25.650Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-31T03:44:26.040Z] $ docker top 18434786ea1d589efd3bdec5298a4994fc57adf806682a7e27e4e3c7ea27128f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-31T03:44:26.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-31T03:44:26.176Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-31T03:44:26.292Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-31T03:44:26.291Z] $ docker exec 18434786ea1d589efd3bdec5298a4994fc57adf806682a7e27e4e3c7ea27128f ssh-agent [2021-07-31T03:44:26.411Z] SSH_AUTH_SOCK=/tmp/ssh-MsmMl4GXIDok/agent.14 [2021-07-31T03:44:26.411Z] SSH_AGENT_PID=20 [2021-07-31T03:44:26.420Z] Running ssh-add (command line suppressed) [2021-07-31T03:44:26.510Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4268429782082902266.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4268429782082902266.key) [2021-07-31T03:44:26.535Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-31T03:44:26.850Z] + git semver tag [2021-07-31T03:44:26.850Z] # -> Open(): unable to determine branch for HEAD [2021-07-31T03:44:26.850Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-07-31T03:44:26.850Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-07-31T03:44:26.850Z] # $SEMVER_REMOTE_NAME = origin [2021-07-31T03:44:26.850Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-31T03:44:26.850Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-31T03:44:26.850Z] # $SEMVER_BRANCH = main [2021-07-31T03:44:26.850Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-07-31T03:44:26.850Z] # 4c8039af1df2b85f6ebf5f903b31f826607b92c3 HEAD [2021-07-31T03:44:26.850Z] # -> Force: false [2021-07-31T03:44:26.850Z] # e3efe7464c2c7ff63ede2003709096f1e99f2c79 refs/tags/v2.0.1-dev.7 [Pipeline] } [2021-07-31T03:44:26.869Z] $ docker exec --env ******** --env ******** 18434786ea1d589efd3bdec5298a4994fc57adf806682a7e27e4e3c7ea27128f ssh-agent -k [2021-07-31T03:44:26.970Z] unset SSH_AUTH_SOCK; [2021-07-31T03:44:26.971Z] unset SSH_AGENT_PID; [2021-07-31T03:44:26.971Z] echo Agent pid 20 killed; [2021-07-31T03:44:26.991Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-31T03:44:27.350Z] + git semver [Pipeline] } [2021-07-31T03:44:27.368Z] $ docker stop --time=1 18434786ea1d589efd3bdec5298a4994fc57adf806682a7e27e4e3c7ea27128f [2021-07-31T03:44:28.576Z] $ docker rm -f 18434786ea1d589efd3bdec5298a4994fc57adf806682a7e27e4e3c7ea27128f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:44:29.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-31T03:44:29.048Z] [2021-07-31T03:44:29.048Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:44:29.400Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-31T03:44:29.400Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-31T03:44:29.400Z] ab5ef0e58194: Pulling fs layer [2021-07-31T03:44:29.400Z] 9712f1f96733: Pulling fs layer [2021-07-31T03:44:29.400Z] 63f879dbbcfc: Pulling fs layer [2021-07-31T03:44:29.400Z] 0d9ebad4ef96: Pulling fs layer [2021-07-31T03:44:29.400Z] e9a5061849ea: Pulling fs layer [2021-07-31T03:44:29.400Z] d747dcd14b5f: Pulling fs layer [2021-07-31T03:44:29.400Z] 2de7ff778b66: Pulling fs layer [2021-07-31T03:44:29.400Z] 0d9ebad4ef96: Waiting [2021-07-31T03:44:29.400Z] e9a5061849ea: Waiting [2021-07-31T03:44:29.400Z] d747dcd14b5f: Waiting [2021-07-31T03:44:29.400Z] 2de7ff778b66: Waiting [2021-07-31T03:44:29.400Z] 9712f1f96733: Verifying Checksum [2021-07-31T03:44:29.400Z] 9712f1f96733: Download complete [2021-07-31T03:44:31.343Z] 63f879dbbcfc: Verifying Checksum [2021-07-31T03:44:31.343Z] 63f879dbbcfc: Download complete [2021-07-31T03:44:31.927Z] e9a5061849ea: Verifying Checksum [2021-07-31T03:44:31.927Z] e9a5061849ea: Download complete [2021-07-31T03:44:31.927Z] d747dcd14b5f: Verifying Checksum [2021-07-31T03:44:31.927Z] d747dcd14b5f: Download complete [2021-07-31T03:44:32.890Z] 2de7ff778b66: Verifying Checksum [2021-07-31T03:44:32.890Z] 2de7ff778b66: Download complete [2021-07-31T03:44:33.475Z] 0d9ebad4ef96: Verifying Checksum [2021-07-31T03:44:33.475Z] 0d9ebad4ef96: Download complete [2021-07-31T03:44:33.746Z] ab5ef0e58194: Verifying Checksum [2021-07-31T03:44:33.746Z] ab5ef0e58194: Download complete [2021-07-31T03:44:36.363Z] ab5ef0e58194: Pull complete [2021-07-31T03:44:36.363Z] 9712f1f96733: Pull complete [2021-07-31T03:44:36.985Z] 63f879dbbcfc: Pull complete [2021-07-31T03:44:40.364Z] 0d9ebad4ef96: Pull complete [2021-07-31T03:44:40.364Z] e9a5061849ea: Pull complete [2021-07-31T03:44:40.636Z] d747dcd14b5f: Pull complete [2021-07-31T03:44:41.239Z] 2de7ff778b66: Pull complete [2021-07-31T03:44:41.506Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-31T03:44:41.506Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-31T03:44:41.506Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-31T03:44:41.604Z] prd-centos7-docker-4c-2g-1238 does not seem to be running inside a container [2021-07-31T03:44:41.673Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-07-31T03:44:44.821Z] $ docker top fc08597b53dcc9e4f02ef2a354689e4114e5fd1d30b0401b79e7f5fe35c959ae -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-31T03:44:44.924Z] provisioning config files... [2021-07-31T03:44:44.940Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2732405270383907281tmp [2021-07-31T03:44:44.964Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1594080766153503852tmp [2021-07-31T03:44:44.986Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config905714464116872319tmp [Pipeline] { [Pipeline] echo [2021-07-31T03:44:45.014Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:44:45.344Z] ---> sigul-configuration.sh [2021-07-31T03:44:45.344Z] gpg: directory `/root/.gnupg' created [2021-07-31T03:44:45.344Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-31T03:44:45.344Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-31T03:44:45.344Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-31T03:44:45.344Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-31T03:44:45.344Z] gpg: CAST5 encrypted data [2021-07-31T03:44:45.344Z] gpg: encrypted with 1 passphrase [2021-07-31T03:44:45.344Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-31T03:44:45.663Z] + mkdir /home/jenkins [2021-07-31T03:44:45.663Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-31T03:44:45.982Z] + 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-07-31T03:44:45.996Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:44:46.308Z] ---> sigul-install.sh [2021-07-31T03:44:46.308Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-07-31T03:44:46.630Z] + git tag --list [2021-07-31T03:44:46.630Z] 0.7.1 [2021-07-31T03:44:46.630Z] delhi-tag [2021-07-31T03:44:46.630Z] v1.0.0 [2021-07-31T03:44:46.630Z] v1.1.0 [2021-07-31T03:44:46.630Z] v1.1.1 [2021-07-31T03:44:46.630Z] v1.1.2 [2021-07-31T03:44:46.630Z] v1.2.0 [2021-07-31T03:44:46.630Z] v1.2.1 [2021-07-31T03:44:46.630Z] v1.2.2 [2021-07-31T03:44:46.630Z] v1.2.3 [2021-07-31T03:44:46.630Z] v1.3.0 [2021-07-31T03:44:46.630Z] v1.4.0 [2021-07-31T03:44:46.630Z] v2.0.0 [2021-07-31T03:44:46.630Z] v2.0.1-dev.1 [2021-07-31T03:44:46.630Z] v2.0.1-dev.2 [2021-07-31T03:44:46.630Z] v2.0.1-dev.3 [2021-07-31T03:44:46.630Z] v2.0.1-dev.4 [2021-07-31T03:44:46.630Z] v2.0.1-dev.5 [2021-07-31T03:44:46.630Z] v2.0.1-dev.6 [2021-07-31T03:44:46.630Z] v2.0.1-dev.7 [Pipeline] sh [2021-07-31T03:44:46.947Z] + lftools sign git-tag v2.0.1-dev.7 [2021-07-31T03:44:47.531Z] Signing Git tag with Sigul... [2021-07-31T03:44:47.531Z] Signing v2.0.1-dev.7 [Pipeline] echo [2021-07-31T03:44:48.136Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:44:48.460Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-31T03:44:48.476Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-31T03:44:48.504Z] $ docker stop --time=1 fc08597b53dcc9e4f02ef2a354689e4114e5fd1d30b0401b79e7f5fe35c959ae [2021-07-31T03:44:49.725Z] $ docker rm -f fc08597b53dcc9e4f02ef2a354689e4114e5fd1d30b0401b79e7f5fe35c959ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:44:50.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-31T03:44:50.384Z] . [Pipeline] withDockerContainer [2021-07-31T03:44:50.472Z] prd-centos7-docker-4c-2g-1238 does not seem to be running inside a container [2021-07-31T03:44:50.537Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-31T03:44:50.926Z] $ docker top c55a90198cd35349b3d9709d62a7a735eb4b9c70743ce29e0c05881ef873eec4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-31T03:44:51.098Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-31T03:44:51.098Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-31T03:44:51.216Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-31T03:44:51.215Z] $ docker exec c55a90198cd35349b3d9709d62a7a735eb4b9c70743ce29e0c05881ef873eec4 ssh-agent [2021-07-31T03:44:51.318Z] SSH_AUTH_SOCK=/tmp/ssh-O5x4U44fUyQN/agent.13 [2021-07-31T03:44:51.318Z] SSH_AGENT_PID=19 [2021-07-31T03:44:51.326Z] Running ssh-add (command line suppressed) [2021-07-31T03:44:51.413Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7368856302047306493.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7368856302047306493.key) [2021-07-31T03:44:51.447Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-31T03:44:51.767Z] + git semver bump pre [2021-07-31T03:44:51.767Z] # -> Open(): unable to determine branch for HEAD [2021-07-31T03:44:51.767Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-07-31T03:44:51.767Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-07-31T03:44:51.767Z] # $SEMVER_REMOTE_NAME = origin [2021-07-31T03:44:51.767Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-31T03:44:51.767Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-31T03:44:51.767Z] # $SEMVER_BRANCH = main [2021-07-31T03:44:51.767Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-07-31T03:44:51.767Z] 2.0.1-dev.8 [Pipeline] } [2021-07-31T03:44:51.783Z] $ docker exec --env ******** --env ******** c55a90198cd35349b3d9709d62a7a735eb4b9c70743ce29e0c05881ef873eec4 ssh-agent -k [2021-07-31T03:44:51.868Z] unset SSH_AUTH_SOCK; [2021-07-31T03:44:51.869Z] unset SSH_AGENT_PID; [2021-07-31T03:44:51.869Z] echo Agent pid 19 killed; [2021-07-31T03:44:51.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-31T03:44:52.265Z] + git semver [Pipeline] } [2021-07-31T03:44:52.284Z] $ docker stop --time=1 c55a90198cd35349b3d9709d62a7a735eb4b9c70743ce29e0c05881ef873eec4 [2021-07-31T03:44:53.484Z] $ docker rm -f c55a90198cd35349b3d9709d62a7a735eb4b9c70743ce29e0c05881ef873eec4 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:44:53.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-31T03:44:53.892Z] . [Pipeline] withDockerContainer [2021-07-31T03:44:53.978Z] prd-centos7-docker-4c-2g-1238 does not seem to be running inside a container [2021-07-31T03:44:54.040Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-31T03:44:54.473Z] $ docker top 49c05204af312cdb4f23a9bb0723f698bd4f94d6347c26676099f64ef9f6ddf8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-31T03:44:54.694Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-31T03:44:54.694Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-31T03:44:54.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-31T03:44:54.835Z] $ docker exec 49c05204af312cdb4f23a9bb0723f698bd4f94d6347c26676099f64ef9f6ddf8 ssh-agent [2021-07-31T03:44:54.977Z] SSH_AUTH_SOCK=/tmp/ssh-2snSjyzkcme6/agent.15 [2021-07-31T03:44:54.977Z] SSH_AGENT_PID=22 [2021-07-31T03:44:54.985Z] Running ssh-add (command line suppressed) [2021-07-31T03:44:55.073Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6304699317008813841.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6304699317008813841.key) [2021-07-31T03:44:55.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-31T03:44:55.421Z] + git semver push [2021-07-31T03:44:55.421Z] # -> Open(): unable to determine branch for HEAD [2021-07-31T03:44:55.421Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-07-31T03:44:55.421Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-07-31T03:44:55.421Z] # $SEMVER_REMOTE_NAME = origin [2021-07-31T03:44:55.421Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-31T03:44:55.421Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-31T03:44:55.421Z] # $SEMVER_BRANCH = main [2021-07-31T03:44:55.421Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-07-31T03:45:00.802Z] $ docker exec --env ******** --env ******** 49c05204af312cdb4f23a9bb0723f698bd4f94d6347c26676099f64ef9f6ddf8 ssh-agent -k [2021-07-31T03:45:00.900Z] unset SSH_AUTH_SOCK; [2021-07-31T03:45:00.900Z] unset SSH_AGENT_PID; [2021-07-31T03:45:00.900Z] echo Agent pid 22 killed; [2021-07-31T03:45:00.920Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-31T03:45:01.277Z] + git semver [Pipeline] } [2021-07-31T03:45:01.299Z] $ docker stop --time=1 49c05204af312cdb4f23a9bb0723f698bd4f94d6347c26676099f64ef9f6ddf8 [2021-07-31T03:45:02.526Z] $ docker rm -f 49c05204af312cdb4f23a9bb0723f698bd4f94d6347c26676099f64ef9f6ddf8 [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] libraryResource [Pipeline] sh [2021-07-31T03:45:03.877Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:45:04.476Z] ---> package-listing.sh [2021-07-31T03:45:04.476Z] ++ facter osfamily [2021-07-31T03:45:04.476Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-31T03:45:04.744Z] + OS_FAMILY=redhat [2021-07-31T03:45:04.744Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-07-31T03:45:04.744Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-31T03:45:04.744Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-31T03:45:04.744Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-31T03:45:04.744Z] + PACKAGES=/tmp/packages_start.txt [2021-07-31T03:45:04.744Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-07-31T03:45:04.744Z] + PACKAGES=/tmp/packages_end.txt [2021-07-31T03:45:04.744Z] + case "${OS_FAMILY}" in [2021-07-31T03:45:04.744Z] + sort [2021-07-31T03:45:04.744Z] + rpm -qa [2021-07-31T03:45:05.329Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-31T03:45:05.329Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-31T03:45:05.329Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-31T03:45:05.329Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-07-31T03:45:05.329Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-07-31T03:45:05.329Z] + 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-07-31T03:45:05.351Z] 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-07-31T03:45:05.658Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:45:06.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T03:45:06.265Z] [2021-07-31T03:45:06.265Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-31T03:45:06.610Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T03:45:06.610Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-31T03:45:06.610Z] b4d181a07f80: Pulling fs layer [2021-07-31T03:45:06.610Z] a1111a8f2ec3: Pulling fs layer [2021-07-31T03:45:06.610Z] ed53099fbce6: Pulling fs layer [2021-07-31T03:45:06.610Z] dc539afda2c1: Pulling fs layer [2021-07-31T03:45:06.610Z] 77bc0d833cb6: Pulling fs layer [2021-07-31T03:45:06.610Z] 9065ff56babe: Pulling fs layer [2021-07-31T03:45:06.610Z] d287ab97295c: Pulling fs layer [2021-07-31T03:45:06.610Z] 77bc0d833cb6: Waiting [2021-07-31T03:45:06.610Z] 9065ff56babe: Waiting [2021-07-31T03:45:06.610Z] d287ab97295c: Waiting [2021-07-31T03:45:06.610Z] dc539afda2c1: Waiting [2021-07-31T03:45:06.877Z] a1111a8f2ec3: Verifying Checksum [2021-07-31T03:45:06.877Z] a1111a8f2ec3: Download complete [2021-07-31T03:45:06.877Z] dc539afda2c1: Verifying Checksum [2021-07-31T03:45:06.877Z] dc539afda2c1: Download complete [2021-07-31T03:45:07.144Z] 77bc0d833cb6: Verifying Checksum [2021-07-31T03:45:07.144Z] 77bc0d833cb6: Download complete [2021-07-31T03:45:07.144Z] 9065ff56babe: Verifying Checksum [2021-07-31T03:45:07.144Z] 9065ff56babe: Download complete [2021-07-31T03:45:07.414Z] ed53099fbce6: Verifying Checksum [2021-07-31T03:45:07.414Z] ed53099fbce6: Download complete [2021-07-31T03:45:08.377Z] b4d181a07f80: Verifying Checksum [2021-07-31T03:45:08.377Z] b4d181a07f80: Download complete [2021-07-31T03:45:09.374Z] b4d181a07f80: Pull complete [2021-07-31T03:45:09.649Z] a1111a8f2ec3: Pull complete [2021-07-31T03:45:10.235Z] ed53099fbce6: Pull complete [2021-07-31T03:45:10.235Z] dc539afda2c1: Pull complete [2021-07-31T03:45:10.503Z] 77bc0d833cb6: Pull complete [2021-07-31T03:45:10.503Z] 9065ff56babe: Pull complete [2021-07-31T03:45:12.458Z] d287ab97295c: Verifying Checksum [2021-07-31T03:45:12.458Z] d287ab97295c: Download complete [2021-07-31T03:45:16.225Z] d287ab97295c: Pull complete [2021-07-31T03:45:16.225Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-31T03:45:16.225Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-31T03:45:16.225Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-31T03:45:16.322Z] prd-centos7-docker-4c-2g-1238 does not seem to be running inside a container [2021-07-31T03:45:16.381Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-31T03:45:19.104Z] $ docker top 7a816b409d19550af848ce73ddda0a41a2397d640e5017717d7ae84d94f5a35d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-31T03:45:19.530Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-31T03:45:19.849Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-31T03:45:20.177Z] + ls /var/log/sa-host [2021-07-31T03:45:20.177Z] + sadf -c /var/log/sa-host/sa05 [2021-07-31T03:45:20.177Z] file_magic: OK [2021-07-31T03:45:20.177Z] HZ: Using current value: 100 [2021-07-31T03:45:20.177Z] file_header: OK [2021-07-31T03:45:20.177Z] 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-07-31T03:45:20.177Z] Statistics: [2021-07-31T03:45:20.177Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-31T03:45:20.177Z] File successfully converted to sysstat format version 12.0.3 [2021-07-31T03:45:20.177Z] + sadf -c /var/log/sa-host/sa31 [2021-07-31T03:45:20.177Z] file_magic: OK [2021-07-31T03:45:20.177Z] HZ: Using current value: 100 [2021-07-31T03:45:20.177Z] file_header: OK [2021-07-31T03:45:20.177Z] 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-07-31T03:45:20.177Z] Statistics: [2021-07-31T03:45:20.177Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-31T03:45:20.177Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-31T03:45:20.780Z] provisioning config files... [2021-07-31T03:45:20.799Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8653619654857937611tmp [Pipeline] { [Pipeline] echo [2021-07-31T03:45:20.827Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:45:21.144Z] ---> create-netrc.sh [Pipeline] } [2021-07-31T03:45:21.159Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:45:21.625Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-31T03:45:21.640Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:45:21.953Z] ---> sudo-logs.sh [2021-07-31T03:45:21.954Z] Archiving 'sudo' log.. [2021-07-31T03:45:21.954Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1238.vexxhost.local: Name or service not known [2021-07-31T03:45:21.954Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1238.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-31T03:45:22.002Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:45:22.326Z] ---> job-cost.sh [2021-07-31T03:45:22.326Z] lf-activate-venv: SKIPPING [2021-07-31T03:45:22.326Z] DEBUG: total: 0.18000000715255737 [2021-07-31T03:45:22.326Z] INFO: Retrieving Stack Cost... [2021-07-31T03:45:23.288Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-31T03:45:23.874Z] INFO: Archiving Costs [Pipeline] echo [2021-07-31T03:45:23.892Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-31T03:45:24.205Z] ---> logs-deploy.sh [2021-07-31T03:45:24.205Z] lf-activate-venv: SKIPPING [2021-07-31T03:45:24.205Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/4 [2021-07-31T03:45:24.205Z] INFO: archiving workspace using pattern(s): [2021-07-31T03:45:24.792Z] Archives upload complete. [2021-07-31T03:45:25.066Z] INFO: archiving logs to Nexus