Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 807401dd2d1b373fd4ec07b99e8020c82d165dff 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-ssh493988029845511995.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-ssh4390043113814192595.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-ssh7210543734274547278.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-ssh7069551967266229658.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-ssh5169332288637816366.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 ‘prd-centos7-blackbox-4c-2g-77’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-centos7-docker-4c-2g-1085’ is offline ‘prd-centos7-docker-4c-2g-1087’ is offline ‘prd-centos7-docker-4c-2g-1093’ is offline ‘prd-centos7-docker-4c-2g-1094’ is offline ‘prd-centos7-docker-4c-2g-1095’ is offline ‘prd-centos7-docker-4c-2g-1100’ is offline ‘prd-centos7-docker-4c-2g-1101’ is offline ‘prd-ubuntu18.04-docker-arm64-4c-16g-1091’ doesn’t have label ‘centos7-docker-4c-2g’ ‘prd-ubuntu18.04-docker-arm64-4c-16g-1096’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1102 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-ssh3673150928333782026.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 807401dd2d1b373fd4ec07b99e8020c82d165dff (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 807401dd2d1b373fd4ec07b99e8020c82d165dff # timeout=10 Commit message: "Merge pull request #1004 from soda480/US1908" > git rev-list --no-walk b8bde01b3040ded824082163a6ece586529576f1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-30T22:35:30.711Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-30T22:35:30.798Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-30T22:35:30.826Z] ========================================================= [2021-07-30T22:35:30.826Z] EdgeX Global Pipelines Version Info [2021-07-30T22:35:30.826Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:35:32.151Z] ------------------- [2021-07-30T22:35:32.151Z] stable info: [2021-07-30T22:35:32.151Z] ------------------- [2021-07-30T22:35:32.151Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-30T22:35:32.151Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-30T22:35:32.151Z] Message: update stable to v1.0.199 [2021-07-30T22:35:32.735Z] ------------------- [2021-07-30T22:35:32.735Z] experimental info: [2021-07-30T22:35:32.735Z] ------------------- [2021-07-30T22:35:32.735Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-30T22:35:32.735Z] Commit SHA: 155abbc8877922835dbd6f2f82c828d26e35ec40 [2021-07-30T22:35:32.735Z] Message: update experimental to v1.0.199 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-30T22:35:32.882Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-07-30T22:35:32.910Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-07-30T22:35:32.936Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-30T22:35:32.962Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-30T22:35:32.989Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-30T22:35:33.015Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-30T22:35:33.040Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-30T22:35:33.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-30T22:35:33.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-07-30T22:35:33.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-30T22:35:33.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-30T22:35:33.169Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-07-30T22:35:33.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-07-30T22:35:33.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-30T22:35:33.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-30T22:35:33.274Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-30T22:35:33.299Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T22:35:33.324Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T22:35:33.348Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-30T22:35:33.373Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-30T22:35:33.398Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-30T22:35:33.424Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-30T22:35:33.451Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-30T22:35:33.476Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-30T22:35:33.501Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-30T22:35:33.525Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-30T22:35:33.548Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-30T22:35:33.572Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-30T22:35:33.595Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-30T22:35:33.618Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-30T22:35:33.641Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 807401dd2d1b373fd4ec07b99e8020c82d165dff [Pipeline] echo [2021-07-30T22:35:33.693Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 807401d [Pipeline] echo [2021-07-30T22:35:33.716Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:35:33.790Z] provisioning config files... [2021-07-30T22:35:33.809Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4578841876091729604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:35:34.156Z] ---> docker-login.sh [2021-07-30T22:35:34.156Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:35:34.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:35:34.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:35:34.422Z] Configure a credential helper to remove this warning. See [2021-07-30T22:35:34.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:35:34.422Z] [2021-07-30T22:35:34.422Z] Login Succeeded [2021-07-30T22:35:34.422Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:35:34.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:35:34.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:35:34.422Z] Configure a credential helper to remove this warning. See [2021-07-30T22:35:34.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:35:34.422Z] [2021-07-30T22:35:34.422Z] Login Succeeded [2021-07-30T22:35:34.422Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:35:34.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:35:34.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:35:34.691Z] Configure a credential helper to remove this warning. See [2021-07-30T22:35:34.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:35:34.691Z] [2021-07-30T22:35:34.691Z] Login Succeeded [2021-07-30T22:35:34.691Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:35:34.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:35:34.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:35:34.961Z] Configure a credential helper to remove this warning. See [2021-07-30T22:35:34.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:35:34.961Z] [2021-07-30T22:35:34.961Z] Login Succeeded [2021-07-30T22:35:34.961Z] docker.io [2021-07-30T22:35:34.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:35:35.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:35:35.229Z] Configure a credential helper to remove this warning. See [2021-07-30T22:35:35.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:35:35.229Z] [2021-07-30T22:35:35.229Z] Login Succeeded [2021-07-30T22:35:35.229Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:35:35.242Z] 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-30T22:35:35.741Z] + git log --format=format:%s -1 807401dd2d1b373fd4ec07b99e8020c82d165dff [Pipeline] echo [2021-07-30T22:35:35.799Z] GIT_COMMIT: 807401dd2d1b373fd4ec07b99e8020c82d165dff, Commit Message: Merge pull request #1004 from soda480/US1908 [Pipeline] echo [2021-07-30T22:35:35.812Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:35:36.404Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:35:36.404Z] [2021-07-30T22:35:36.404Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:35:36.739Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:35:36.739Z] latest: Pulling from edgex-devops/git-semver [2021-07-30T22:35:36.739Z] 31603596830f: Pulling fs layer [2021-07-30T22:35:36.739Z] b6dc333f4379: Pulling fs layer [2021-07-30T22:35:36.739Z] 3d9ef1400e77: Pulling fs layer [2021-07-30T22:35:36.739Z] fd332fbdc1db: Pulling fs layer [2021-07-30T22:35:36.739Z] fd332fbdc1db: Waiting [2021-07-30T22:35:37.010Z] b6dc333f4379: Verifying Checksum [2021-07-30T22:35:37.010Z] b6dc333f4379: Download complete [2021-07-30T22:35:37.289Z] fd332fbdc1db: Verifying Checksum [2021-07-30T22:35:37.289Z] fd332fbdc1db: Download complete [2021-07-30T22:35:37.289Z] 31603596830f: Verifying Checksum [2021-07-30T22:35:37.289Z] 31603596830f: Download complete [2021-07-30T22:35:37.289Z] 3d9ef1400e77: Verifying Checksum [2021-07-30T22:35:37.289Z] 3d9ef1400e77: Download complete [2021-07-30T22:35:37.562Z] 31603596830f: Pull complete [2021-07-30T22:35:37.562Z] b6dc333f4379: Pull complete [2021-07-30T22:35:38.153Z] 3d9ef1400e77: Pull complete [2021-07-30T22:35:38.153Z] fd332fbdc1db: Pull complete [2021-07-30T22:35:38.153Z] Digest: sha256:db6b30291b918ea2df8875cce3ed97fb48fa491dcbf862453db6614bc0bd4782 [2021-07-30T22:35:38.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:35:38.153Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-30T22:35:38.247Z] prd-centos7-docker-4c-2g-1102 does not seem to be running inside a container [2021-07-30T22:35:38.304Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:35:39.038Z] $ docker top ff9e6b17fe7e307081db0f4c997726b38317208b44c45e165b41e84f379f1734 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:35:39.198Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:35:39.198Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:35:39.314Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:35:39.313Z] $ docker exec ff9e6b17fe7e307081db0f4c997726b38317208b44c45e165b41e84f379f1734 ssh-agent [2021-07-30T22:35:39.426Z] SSH_AUTH_SOCK=/tmp/ssh-zFqVLP6qu1jP/agent.14 [2021-07-30T22:35:39.426Z] SSH_AGENT_PID=20 [2021-07-30T22:35:39.438Z] Running ssh-add (command line suppressed) [2021-07-30T22:35:39.527Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2264488379544662181.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2264488379544662181.key) [2021-07-30T22:35:39.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:35:39.867Z] + git tag --points-at HEAD [Pipeline] } [2021-07-30T22:35:39.887Z] $ docker exec --env ******** --env ******** ff9e6b17fe7e307081db0f4c997726b38317208b44c45e165b41e84f379f1734 ssh-agent -k [2021-07-30T22:35:39.982Z] unset SSH_AUTH_SOCK; [2021-07-30T22:35:39.982Z] unset SSH_AGENT_PID; [2021-07-30T22:35:39.982Z] echo Agent pid 20 killed; [2021-07-30T22:35:40.000Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-07-30T22:35:40.053Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:35:40.053Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:35:40.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:35:40.173Z] $ docker exec ff9e6b17fe7e307081db0f4c997726b38317208b44c45e165b41e84f379f1734 ssh-agent [2021-07-30T22:35:40.286Z] SSH_AUTH_SOCK=/tmp/ssh-mXcHesUlSJGI/agent.54 [2021-07-30T22:35:40.286Z] SSH_AGENT_PID=61 [2021-07-30T22:35:40.295Z] Running ssh-add (command line suppressed) [2021-07-30T22:35:40.385Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2790155975383428432.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2790155975383428432.key) [2021-07-30T22:35:40.408Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:35:40.725Z] + git semver init [2021-07-30T22:35:40.725Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:35:40.725Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-07-30T22:35:40.725Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-07-30T22:35:40.725Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:35:40.725Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:35:40.725Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:35:40.725Z] # $SEMVER_BRANCH = main [2021-07-30T22:35:40.725Z] # $SEMVER_TEMP = /tmp/semver-341855731 [2021-07-30T22:35:40.725Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-07-30T22:35:41.310Z] # '/tmp/semver-341855731' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-07-30T22:35:41.310Z] # -> Force: false [2021-07-30T22:35:41.310Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-07-30T22:35:41.332Z] $ docker exec --env ******** --env ******** ff9e6b17fe7e307081db0f4c997726b38317208b44c45e165b41e84f379f1734 ssh-agent -k [2021-07-30T22:35:41.428Z] unset SSH_AUTH_SOCK; [2021-07-30T22:35:41.429Z] unset SSH_AGENT_PID; [2021-07-30T22:35:41.429Z] echo Agent pid 61 killed; [2021-07-30T22:35:41.448Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:35:41.793Z] + git semver [Pipeline] } [2021-07-30T22:35:41.810Z] $ docker stop --time=1 ff9e6b17fe7e307081db0f4c997726b38317208b44c45e165b41e84f379f1734 [2021-07-30T22:35:43.036Z] $ docker rm -f ff9e6b17fe7e307081db0f4c997726b38317208b44c45e165b41e84f379f1734 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T22:35:43.469Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-30T22:35:43.804Z] Stashed 1 file(s) [Pipeline] echo [2021-07-30T22:35:43.808Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.6 [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-30T22:35:59.026Z] Still waiting to schedule task [2021-07-30T22:35:59.026Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-07-30T22:35:59.028Z] Still waiting to schedule task [2021-07-30T22:35:59.029Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-1098’ [2021-07-30T22:37:40.541Z] Running on prd-centos7-docker-4c-2g-1108 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-07-30T22:37:40.568Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-07-30T22:37:40.686Z] Selected Git installation does not exist. Using Default [2021-07-30T22:37:40.686Z] The recommended git tool is: NONE [2021-07-30T22:37:43.301Z] using credential edgex-jenkins-ssh [2021-07-30T22:37:43.321Z] Cloning the remote Git repository [2021-07-30T22:37:43.250Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-30T22:37:43.322Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-07-30T22:37:43.350Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-30T22:37:43.350Z] > git --version # timeout=10 [2021-07-30T22:37:43.356Z] > git --version # 'git version 2.24.4' [2021-07-30T22:37:43.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T22:37:43.387Z] [INFO] Currently running in a labeled security context [2021-07-30T22:37:43.387Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-30T22:37:43.387Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh7287292694212784778.key [2021-07-30T22:37:43.400Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:37:44.316Z] Avoid second fetch [2021-07-30T22:37:44.317Z] Checking out Revision 807401dd2d1b373fd4ec07b99e8020c82d165dff (main) [2021-07-30T22:37:44.201Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-30T22:37:44.212Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:37:44.231Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T22:37:44.238Z] > git checkout -f 807401dd2d1b373fd4ec07b99e8020c82d165dff # timeout=10 [2021-07-30T22:37:48.111Z] Commit message: "Merge pull request #1004 from soda480/US1908" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:37:48.462Z] provisioning config files... [2021-07-30T22:37:48.478Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8697798982836550984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:37:48.920Z] ---> docker-login.sh [2021-07-30T22:37:48.920Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:37:48.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:37:49.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:37:49.189Z] Configure a credential helper to remove this warning. See [2021-07-30T22:37:49.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:37:49.189Z] [2021-07-30T22:37:49.189Z] Login Succeeded [2021-07-30T22:37:49.189Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:37:49.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:37:49.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:37:49.189Z] Configure a credential helper to remove this warning. See [2021-07-30T22:37:49.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:37:49.189Z] [2021-07-30T22:37:49.189Z] Login Succeeded [2021-07-30T22:37:49.189Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:37:49.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:37:49.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:37:49.458Z] Configure a credential helper to remove this warning. See [2021-07-30T22:37:49.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:37:49.458Z] [2021-07-30T22:37:49.458Z] Login Succeeded [2021-07-30T22:37:49.458Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:37:49.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:37:49.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:37:49.726Z] Configure a credential helper to remove this warning. See [2021-07-30T22:37:49.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:37:49.726Z] [2021-07-30T22:37:49.726Z] Login Succeeded [2021-07-30T22:37:49.726Z] docker.io [2021-07-30T22:37:49.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:37:49.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:37:49.995Z] Configure a credential helper to remove this warning. See [2021-07-30T22:37:49.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:37:49.995Z] [2021-07-30T22:37:49.995Z] Login Succeeded [2021-07-30T22:37:49.995Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:37:50.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-30T22:37:50.229Z] ========================================================= [2021-07-30T22:37:50.229Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-30T22:37:50.229Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:37:50.566Z] + 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-30T22:37:50.566Z] Sending build context to Docker daemon 2.577MB [2021-07-30T22:37:50.566Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:37:50.566Z] Step 2/8 : FROM ${BASE} [2021-07-30T22:37:50.566Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-30T22:37:50.566Z] 540db60ca938: Pulling fs layer [2021-07-30T22:37:50.566Z] adcc1eea9eea: Pulling fs layer [2021-07-30T22:37:50.566Z] 4c4ab2625f07: Pulling fs layer [2021-07-30T22:37:50.566Z] 0773c198feca: Pulling fs layer [2021-07-30T22:37:50.566Z] 345f892a5656: Pulling fs layer [2021-07-30T22:37:50.566Z] 4796506630df: Pulling fs layer [2021-07-30T22:37:50.566Z] cc55df3e53f1: Pulling fs layer [2021-07-30T22:37:50.566Z] 4d027b6c602c: Pulling fs layer [2021-07-30T22:37:50.566Z] 449e75d2c14e: Pulling fs layer [2021-07-30T22:37:50.566Z] 0773c198feca: Waiting [2021-07-30T22:37:50.566Z] 345f892a5656: Waiting [2021-07-30T22:37:50.566Z] 4796506630df: Waiting [2021-07-30T22:37:50.566Z] cc55df3e53f1: Waiting [2021-07-30T22:37:50.566Z] 4d027b6c602c: Waiting [2021-07-30T22:37:50.566Z] 449e75d2c14e: Waiting [2021-07-30T22:37:50.834Z] 4c4ab2625f07: Verifying Checksum [2021-07-30T22:37:50.834Z] 4c4ab2625f07: Download complete [2021-07-30T22:37:50.834Z] adcc1eea9eea: Verifying Checksum [2021-07-30T22:37:50.834Z] adcc1eea9eea: Download complete [2021-07-30T22:37:50.834Z] 345f892a5656: Verifying Checksum [2021-07-30T22:37:50.834Z] 345f892a5656: Download complete [2021-07-30T22:37:50.834Z] 4796506630df: Verifying Checksum [2021-07-30T22:37:50.834Z] 4796506630df: Download complete [2021-07-30T22:37:50.834Z] cc55df3e53f1: Verifying Checksum [2021-07-30T22:37:50.834Z] cc55df3e53f1: Download complete [2021-07-30T22:37:51.426Z] 540db60ca938: Verifying Checksum [2021-07-30T22:37:51.426Z] 540db60ca938: Pull complete [2021-07-30T22:37:51.697Z] adcc1eea9eea: Pull complete [2021-07-30T22:37:51.697Z] 4d027b6c602c: Verifying Checksum [2021-07-30T22:37:51.697Z] 4d027b6c602c: Download complete [2021-07-30T22:37:51.697Z] 4c4ab2625f07: Pull complete [2021-07-30T22:37:55.068Z] 449e75d2c14e: Verifying Checksum [2021-07-30T22:37:55.068Z] 449e75d2c14e: Download complete [2021-07-30T22:37:56.479Z] 0773c198feca: Verifying Checksum [2021-07-30T22:37:56.479Z] 0773c198feca: Download complete [2021-07-30T22:37:59.876Z] 0773c198feca: Pull complete [2021-07-30T22:37:59.876Z] 345f892a5656: Pull complete [2021-07-30T22:37:59.876Z] 4796506630df: Pull complete [2021-07-30T22:37:59.876Z] cc55df3e53f1: Pull complete [2021-07-30T22:37:59.876Z] 4d027b6c602c: Pull complete [2021-07-30T22:38:01.319Z] 449e75d2c14e: Pull complete [2021-07-30T22:38:01.319Z] Digest: sha256:a2fa0993ec4462abfc92311096d2e43e803cda49eb027de246ea451416b7a8a8 [2021-07-30T22:38:01.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-30T22:38:01.319Z] ---> 0d28375d9b5b [2021-07-30T22:38:01.319Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-30T22:38:02.737Z] ---> Running in 7bd796ded3ef [2021-07-30T22:38:03.008Z] Removing intermediate container 7bd796ded3ef [2021-07-30T22:38:03.008Z] ---> 5d1fd9e793b0 [2021-07-30T22:38:03.008Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:38:03.009Z] ---> Running in 8f5d1741550b [2021-07-30T22:38:03.278Z] Removing intermediate container 8f5d1741550b [2021-07-30T22:38:03.278Z] ---> f281234dd44c [2021-07-30T22:38:03.278Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-30T22:38:03.752Z] ---> Running in 333dc02a9284 [2021-07-30T22:38:03.752Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-30T22:38:04.715Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-30T22:38:05.314Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-30T22:38:05.314Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-30T22:38:05.583Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-30T22:38:05.583Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-30T22:38:05.849Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-30T22:38:06.117Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-30T22:38:06.117Z] Executing busybox-1.32.1-r6.trigger [2021-07-30T22:38:06.117Z] OK: 150 MiB in 46 packages [2021-07-30T22:38:06.392Z] Removing intermediate container 333dc02a9284 [2021-07-30T22:38:06.393Z] ---> 38adcfb2909c [2021-07-30T22:38:06.393Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-30T22:38:06.393Z] ---> Running in 5a4735b9840c [2021-07-30T22:38:06.393Z] Removing intermediate container 5a4735b9840c [2021-07-30T22:38:06.393Z] ---> ca8b7d219198 [2021-07-30T22:38:06.393Z] Step 7/8 : COPY . . [2021-07-30T22:38:06.663Z] ---> d34371bea6a2 [2021-07-30T22:38:06.663Z] Step 8/8 : RUN go mod download [2021-07-30T22:38:06.663Z] ---> Running in 8f43b5214464 [2021-07-30T22:38:16.783Z] Removing intermediate container 8f43b5214464 [2021-07-30T22:38:16.783Z] ---> b8490dc782ca [2021-07-30T22:38:16.783Z] Successfully built b8490dc782ca [2021-07-30T22:38:16.783Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:38:17.116Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-30T22:38:17.116Z] . [Pipeline] withDockerContainer [2021-07-30T22:38:17.220Z] prd-centos7-docker-4c-2g-1108 does not seem to be running inside a container [2021-07-30T22:38:17.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-30T22:38:17.632Z] $ docker top 8462120afabd87eeb05cbb1306768af4f2a08f833bdefb1157a23179337bb7d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:38:18.032Z] + go version [2021-07-30T22:38:18.032Z] go version go1.16.5 linux/amd64 [Pipeline] } [2021-07-30T22:38:18.046Z] $ docker stop --time=1 8462120afabd87eeb05cbb1306768af4f2a08f833bdefb1157a23179337bb7d9 [2021-07-30T22:38:19.231Z] $ docker rm -f 8462120afabd87eeb05cbb1306768af4f2a08f833bdefb1157a23179337bb7d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:38:19.774Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-30T22:38:19.774Z] . [Pipeline] withDockerContainer [2021-07-30T22:38:19.860Z] prd-centos7-docker-4c-2g-1108 does not seem to be running inside a container [2021-07-30T22:38:19.913Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-07-30T22:38:20.281Z] $ docker top 271bba3beddb32191bf8eb65fa2043e081524c651f0f79230e00f73bc6bf0ba7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:38:20.679Z] + go mod tidy [Pipeline] sh [2021-07-30T22:38:21.274Z] + make test [2021-07-30T22:38:21.274Z] go mod tidy [2021-07-30T22:38:21.274Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-30T22:38:26.719Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-30T22:38:48.862Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-30T22:38:48.862Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-30T22:38:48.862Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-30T22:38:50.287Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 24.2% of statements [2021-07-30T22:38:50.287Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-30T22:38:50.287Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.044s coverage: 28.1% of statements [2021-07-30T22:38:50.559Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.047s coverage: 78.9% of statements [2021-07-30T22:38:50.835Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.043s coverage: 9.0% of statements [2021-07-30T22:38:50.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-30T22:38:50.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-30T22:38:50.835Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-30T22:38:51.427Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.064s coverage: 28.7% of statements [2021-07-30T22:38:51.427Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-30T22:38:52.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 83.3% of statements [2021-07-30T22:38:52.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-30T22:38:52.388Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-30T22:38:52.388Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 58.0% of statements [2021-07-30T22:38:53.807Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.798s coverage: 89.2% of statements [2021-07-30T22:38:53.807Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-30T22:38:53.807Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.046s coverage: 4.9% of statements [2021-07-30T22:38:53.807Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-30T22:38:53.807Z] GO111MODULE=on go vet ./... [2021-07-30T22:39:12.151Z] gofmt -l . [2021-07-30T22:39:12.151Z] [ "`gofmt -l .`" = "" ] [2021-07-30T22:39:12.151Z] ./bin/test-attribution-txt.sh [2021-07-30T22:39:12.151Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-30T22:39:12.173Z] $ docker stop --time=1 271bba3beddb32191bf8eb65fa2043e081524c651f0f79230e00f73bc6bf0ba7 [2021-07-30T22:39:13.668Z] $ docker rm -f 271bba3beddb32191bf8eb65fa2043e081524c651f0f79230e00f73bc6bf0ba7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T22:39:14.153Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-30T22:39:14.415Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-30T22:39:15.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-30T22:39:15.900Z] + ls -al . [2021-07-30T22:39:15.900Z] total 228 [2021-07-30T22:39:15.900Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jul 30 22:39 . [2021-07-30T22:39:15.900Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 30 22:37 .. [2021-07-30T22:39:15.900Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 30 22:37 bin [2021-07-30T22:39:15.900Z] -rw-rw-r--. 1 jenkins jenkins 24816 Jul 30 22:37 CHANGELOG.md [2021-07-30T22:39:15.900Z] -rw-r--r--. 1 jenkins jenkins 125634 Jul 30 22:38 coverage.out [2021-07-30T22:39:15.900Z] -rw-rw-r--. 1 jenkins jenkins 987 Jul 30 22:37 Dockerfile.build [2021-07-30T22:39:15.900Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 30 22:37 .dockerignore [2021-07-30T22:39:15.900Z] drwxrwxr-x. 5 jenkins jenkins 62 Jul 30 22:37 example [2021-07-30T22:39:15.900Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 30 22:37 .git [2021-07-30T22:39:15.900Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 30 22:37 .github [2021-07-30T22:39:15.900Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 30 22:37 .gitignore [2021-07-30T22:39:15.900Z] -rw-r--r--. 1 jenkins jenkins 548 Jul 30 22:39 go.mod [2021-07-30T22:39:15.900Z] -rw-r--r--. 1 jenkins jenkins 20301 Jul 30 22:38 go.sum [2021-07-30T22:39:15.900Z] drwxrwxr-x. 15 jenkins jenkins 224 Jul 30 22:37 internal [2021-07-30T22:39:15.900Z] -rw-rw-r--. 1 jenkins jenkins 880 Jul 30 22:37 Jenkinsfile [2021-07-30T22:39:15.900Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 30 22:37 LICENSE [2021-07-30T22:39:15.900Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jul 30 22:37 Makefile [2021-07-30T22:39:15.900Z] drwxrwxr-x. 3 jenkins jenkins 16 Jul 30 22:37 openapi [2021-07-30T22:39:15.900Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 30 22:37 pkg [2021-07-30T22:39:15.900Z] -rw-rw-r--. 1 jenkins jenkins 7646 Jul 30 22:37 README.md [2021-07-30T22:39:15.900Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 30 22:37 snap [2021-07-30T22:39:15.900Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 30 22:35 VERSION [2021-07-30T22:39:15.900Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 30 22:37 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:39:16.250Z] + 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=807401dd2d1b373fd4ec07b99e8020c82d165dff --label arch=amd64 --label version=2.0.1-dev.6 . [2021-07-30T22:39:16.250Z] Sending build context to Docker daemon 2.703MB [2021-07-30T22:39:16.250Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:39:16.250Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-30T22:39:16.250Z] ---> b8490dc782ca [2021-07-30T22:39:16.250Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-30T22:39:16.250Z] ---> Running in 81d7bda7757a [2021-07-30T22:39:16.250Z] Removing intermediate container 81d7bda7757a [2021-07-30T22:39:16.250Z] ---> 9d67b3528215 [2021-07-30T22:39:16.250Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-30T22:39:16.522Z] ---> Running in 1b8438ced10d [2021-07-30T22:39:16.522Z] Removing intermediate container 1b8438ced10d [2021-07-30T22:39:16.522Z] ---> c7ec5f84e35b [2021-07-30T22:39:16.522Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:39:16.522Z] ---> Running in 0fcd9c0238ea [2021-07-30T22:39:17.117Z] Removing intermediate container 0fcd9c0238ea [2021-07-30T22:39:17.117Z] ---> 6050442e1dda [2021-07-30T22:39:17.117Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-30T22:39:17.117Z] ---> Running in b391744d97fd [2021-07-30T22:39:17.117Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-30T22:39:18.099Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-30T22:39:18.482Z] OK: 150 MiB in 46 packages [2021-07-30T22:39:18.754Z] Removing intermediate container b391744d97fd [2021-07-30T22:39:18.754Z] ---> 349b8054a35a [2021-07-30T22:39:18.754Z] Step 7/23 : COPY . . [2021-07-30T22:39:19.025Z] ---> 67fa78a759b8 [2021-07-30T22:39:19.025Z] Step 8/23 : RUN go mod download [2021-07-30T22:39:19.025Z] ---> Running in 1b3c4be74e13 [2021-07-30T22:39:19.615Z] Removing intermediate container 1b3c4be74e13 [2021-07-30T22:39:19.615Z] ---> 4e2fb90d6366 [2021-07-30T22:39:19.615Z] Step 9/23 : RUN make build [2021-07-30T22:39:19.615Z] ---> Running in ec794a38bbf6 [2021-07-30T22:39:19.881Z] go mod tidy [2021-07-30T22:39:19.881Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.6" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-07-30T22:39:29.990Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-30T22:39:30.601Z] Removing intermediate container ec794a38bbf6 [2021-07-30T22:39:30.601Z] ---> e30fdd678add [2021-07-30T22:39:30.601Z] Step 10/23 : FROM alpine:3.12 [2021-07-30T22:39:31.202Z] 3.12: Pulling from library/alpine [2021-07-30T22:39:31.202Z] 339de151aab4: Pulling fs layer [2021-07-30T22:39:31.467Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1111 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [2021-07-30T22:39:31.477Z] 339de151aab4: Verifying Checksum [2021-07-30T22:39:31.477Z] 339de151aab4: Download complete [2021-07-30T22:39:31.477Z] 339de151aab4: Pull complete [2021-07-30T22:39:31.477Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-07-30T22:39:31.477Z] Status: Downloaded newer image for alpine:3.12 [2021-07-30T22:39:31.477Z] ---> 13621d1b12d4 [2021-07-30T22:39:31.477Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-30T22:39:31.477Z] ---> Running in c1d378161bca [Pipeline] ws [2021-07-30T22:39:31.491Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2021-07-30T22:39:31.791Z] Removing intermediate container c1d378161bca [2021-07-30T22:39:31.791Z] ---> f8da46790e6a [2021-07-30T22:39:31.791Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:39:31.791Z] ---> Running in a8520bbada72 [2021-07-30T22:39:31.796Z] Selected Git installation does not exist. Using Default [2021-07-30T22:39:31.796Z] The recommended git tool is: NONE [2021-07-30T22:39:32.075Z] Removing intermediate container a8520bbada72 [2021-07-30T22:39:32.075Z] ---> 8ed294f71992 [2021-07-30T22:39:32.075Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-30T22:39:32.075Z] ---> Running in cca3421357f7 [2021-07-30T22:39:32.342Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-30T22:39:33.303Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-30T22:39:33.888Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-30T22:39:33.888Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-30T22:39:33.888Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-30T22:39:34.155Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-30T22:39:34.429Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-30T22:39:34.429Z] Executing busybox-1.31.1-r20.trigger [2021-07-30T22:39:34.429Z] OK: 8 MiB in 19 packages [2021-07-30T22:39:34.696Z] Removing intermediate container cca3421357f7 [2021-07-30T22:39:34.696Z] ---> 6bfeb48256d6 [2021-07-30T22:39:34.696Z] Step 14/23 : WORKDIR / [2021-07-30T22:39:34.696Z] ---> Running in ab3d4b992fcb [2021-07-30T22:39:34.966Z] Removing intermediate container ab3d4b992fcb [2021-07-30T22:39:34.966Z] ---> 1d519c0defce [2021-07-30T22:39:34.966Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-30T22:39:34.966Z] ---> a4a491a3ca03 [2021-07-30T22:39:34.966Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-30T22:39:35.233Z] ---> a098a7027b41 [2021-07-30T22:39:35.233Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-30T22:39:35.502Z] ---> 688626bbbf1e [2021-07-30T22:39:35.502Z] Step 18/23 : EXPOSE 59999 [2021-07-30T22:39:35.502Z] ---> Running in 1a621049038e [2021-07-30T22:39:35.502Z] Removing intermediate container 1a621049038e [2021-07-30T22:39:35.502Z] ---> 8ba1d0ceb82c [2021-07-30T22:39:35.502Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-30T22:39:35.502Z] ---> Running in 413a5dc9303a [2021-07-30T22:39:35.502Z] Removing intermediate container 413a5dc9303a [2021-07-30T22:39:35.502Z] ---> 57f3cbff8813 [2021-07-30T22:39:35.502Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-30T22:39:35.786Z] ---> Running in 8e4f90d362b1 [2021-07-30T22:39:35.786Z] Removing intermediate container 8e4f90d362b1 [2021-07-30T22:39:35.786Z] ---> e67454d25d7a [2021-07-30T22:39:35.786Z] Step 21/23 : LABEL arch=amd64 [2021-07-30T22:39:35.786Z] ---> Running in 36498d282b22 [2021-07-30T22:39:35.786Z] Removing intermediate container 36498d282b22 [2021-07-30T22:39:35.786Z] ---> 326ee8a9e9ce [2021-07-30T22:39:35.786Z] Step 22/23 : LABEL git_sha=807401dd2d1b373fd4ec07b99e8020c82d165dff [2021-07-30T22:39:35.786Z] ---> Running in a74076f9b9d4 [2021-07-30T22:39:36.054Z] Removing intermediate container a74076f9b9d4 [2021-07-30T22:39:36.054Z] ---> 3636c7432f07 [2021-07-30T22:39:36.054Z] Step 23/23 : LABEL version=2.0.1-dev.6 [2021-07-30T22:39:36.054Z] ---> Running in 37cfc9676a92 [2021-07-30T22:39:36.054Z] Removing intermediate container 37cfc9676a92 [2021-07-30T22:39:36.054Z] ---> edf84daa9328 [2021-07-30T22:39:36.054Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-07-30T22:39:36.054Z] Successfully built edf84daa9328 [2021-07-30T22:39:36.054Z] 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-30T22:39:36.757Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:39:36.757Z] [2021-07-30T22:39:36.757Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:39:37.086Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:39:37.086Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-30T22:39:37.086Z] b4d181a07f80: Pulling fs layer [2021-07-30T22:39:37.086Z] a1111a8f2ec3: Pulling fs layer [2021-07-30T22:39:37.086Z] ed53099fbce6: Pulling fs layer [2021-07-30T22:39:37.086Z] dc539afda2c1: Pulling fs layer [2021-07-30T22:39:37.086Z] 77bc0d833cb6: Pulling fs layer [2021-07-30T22:39:37.086Z] 9065ff56babe: Pulling fs layer [2021-07-30T22:39:37.086Z] d287ab97295c: Pulling fs layer [2021-07-30T22:39:37.086Z] 77bc0d833cb6: Waiting [2021-07-30T22:39:37.086Z] 9065ff56babe: Waiting [2021-07-30T22:39:37.086Z] d287ab97295c: Waiting [2021-07-30T22:39:37.086Z] dc539afda2c1: Waiting [2021-07-30T22:39:37.354Z] a1111a8f2ec3: Verifying Checksum [2021-07-30T22:39:37.354Z] a1111a8f2ec3: Download complete [2021-07-30T22:39:37.354Z] dc539afda2c1: Verifying Checksum [2021-07-30T22:39:37.354Z] dc539afda2c1: Download complete [2021-07-30T22:39:37.633Z] 77bc0d833cb6: Verifying Checksum [2021-07-30T22:39:37.633Z] 77bc0d833cb6: Download complete [2021-07-30T22:39:37.633Z] 9065ff56babe: Verifying Checksum [2021-07-30T22:39:37.633Z] 9065ff56babe: Download complete [2021-07-30T22:39:37.899Z] ed53099fbce6: Verifying Checksum [2021-07-30T22:39:37.899Z] ed53099fbce6: Download complete [2021-07-30T22:39:38.812Z] using credential edgex-jenkins-ssh [2021-07-30T22:39:38.847Z] Cloning the remote Git repository [2021-07-30T22:39:38.856Z] b4d181a07f80: Verifying Checksum [2021-07-30T22:39:38.856Z] b4d181a07f80: Download complete [2021-07-30T22:39:38.910Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-30T22:39:39.063Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2021-07-30T22:39:39.163Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-30T22:39:39.164Z] > git --version # timeout=10 [2021-07-30T22:39:39.180Z] > git --version # 'git version 2.17.1' [2021-07-30T22:39:39.183Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-30T22:39:39.266Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:39:39.839Z] b4d181a07f80: Pull complete [2021-07-30T22:39:40.108Z] a1111a8f2ec3: Pull complete [2021-07-30T22:39:40.699Z] ed53099fbce6: Pull complete [2021-07-30T22:39:40.699Z] dc539afda2c1: Pull complete [2021-07-30T22:39:40.757Z] Avoid second fetch [2021-07-30T22:39:40.758Z] Checking out Revision 807401dd2d1b373fd4ec07b99e8020c82d165dff (main) [2021-07-30T22:39:40.699Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-30T22:39:40.719Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-30T22:39:40.776Z] > git config core.sparsecheckout # timeout=10 [2021-07-30T22:39:40.794Z] > git checkout -f 807401dd2d1b373fd4ec07b99e8020c82d165dff # timeout=10 [2021-07-30T22:39:40.965Z] 77bc0d833cb6: Pull complete [2021-07-30T22:39:40.965Z] 9065ff56babe: Pull complete [2021-07-30T22:39:42.378Z] d287ab97295c: Verifying Checksum [2021-07-30T22:39:42.379Z] d287ab97295c: Download complete [2021-07-30T22:39:45.443Z] Commit message: "Merge pull request #1004 from soda480/US1908" [2021-07-30T22:39:45.722Z] [2021-07-30T22:39:45.722Z] GitHub has been notified of this commit’s build result [2021-07-30T22:39:45.722Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:39:46.028Z] provisioning config files... [2021-07-30T22:39:46.064Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config5049817685697644751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:39:46.683Z] d287ab97295c: Pull complete [2021-07-30T22:39:46.683Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-30T22:39:46.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:39:46.683Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-30T22:39:46.807Z] ---> docker-login.sh [2021-07-30T22:39:46.807Z] nexus3.edgexfoundry.org:10001 [2021-07-30T22:39:46.863Z] prd-centos7-docker-4c-2g-1108 does not seem to be running inside a container [2021-07-30T22:39:46.916Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-30T22:39:47.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:48.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:48.005Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:48.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:48.005Z] [2021-07-30T22:39:48.005Z] Login Succeeded [2021-07-30T22:39:48.005Z] nexus3.edgexfoundry.org:10002 [2021-07-30T22:39:48.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:48.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:48.280Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:48.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:48.280Z] [2021-07-30T22:39:48.280Z] Login Succeeded [2021-07-30T22:39:48.559Z] nexus3.edgexfoundry.org:10003 [2021-07-30T22:39:48.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:48.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:48.841Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:48.841Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:48.841Z] [2021-07-30T22:39:48.841Z] Login Succeeded [2021-07-30T22:39:49.121Z] nexus3.edgexfoundry.org:10004 [2021-07-30T22:39:49.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:49.422Z] $ docker top 1f6f34bb212609f977324d100874608d36854017eef5be0c2e32c42e80c9ea7a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:39:49.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:49.670Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:49.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:49.670Z] [2021-07-30T22:39:49.670Z] Login Succeeded [2021-07-30T22:39:49.670Z] docker.io [2021-07-30T22:39:49.897Z] ---> job-cost.sh [2021-07-30T22:39:49.897Z] lf-activate-venv: SKIPPING [2021-07-30T22:39:49.897Z] INFO: No Stack... [2021-07-30T22:39:49.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-30T22:39:50.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-30T22:39:50.219Z] Configure a credential helper to remove this warning. See [2021-07-30T22:39:50.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-30T22:39:50.219Z] [2021-07-30T22:39:50.219Z] Login Succeeded [2021-07-30T22:39:50.492Z] ---> docker-login.sh ends [Pipeline] } [2021-07-30T22:39:50.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2021-07-30T22:39:50.872Z] INFO: Retrieving Pricing Info for: v3-standard-2 [Pipeline] echo [2021-07-30T22:39:50.890Z] ========================================================= [2021-07-30T22:39:50.890Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-30T22:39:50.890Z] ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:39:51.137Z] INFO: Archiving Costs [Pipeline] sh [2021-07-30T22:39:51.281Z] + 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-30T22:39:51.459Z] + cut -d, -f6 [2021-07-30T22:39:51.459Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock [2021-07-30T22:39:51.502Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-3-stack-cost] [2021-07-30T22:39:51.518Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-3-stack-cost] did not exist. Created. [2021-07-30T22:39:51.519Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-30T22:39:51.584Z] Sending build context to Docker daemon 2.566MB [2021-07-30T22:39:51.869Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:39:51.869Z] Step 2/8 : FROM ${BASE} [2021-07-30T22:39:51.869Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-30T22:39:51.869Z] 595b0fe564bb: Pulling fs layer [2021-07-30T22:39:51.869Z] 24495759ef45: Pulling fs layer [2021-07-30T22:39:51.869Z] d148012ef14d: Pulling fs layer [2021-07-30T22:39:51.869Z] cb65c68fc2e2: Pulling fs layer [2021-07-30T22:39:51.869Z] 093eec477d81: Pulling fs layer [2021-07-30T22:39:51.869Z] a6d5b2bbb924: Pulling fs layer [2021-07-30T22:39:51.869Z] 2446dc1eb7d3: Pulling fs layer [2021-07-30T22:39:51.869Z] 596795e73e0f: Pulling fs layer [2021-07-30T22:39:51.869Z] cb65c68fc2e2: Waiting [2021-07-30T22:39:51.869Z] 093eec477d81: Waiting [2021-07-30T22:39:51.869Z] a6d5b2bbb924: Waiting [2021-07-30T22:39:51.869Z] 2446dc1eb7d3: Waiting [2021-07-30T22:39:51.869Z] 596795e73e0f: Waiting [2021-07-30T22:39:51.896Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-30T22:39:51.952Z] Stashed 1 file(s) [Pipeline] } [2021-07-30T22:39:51.963Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-30T22:39:51.991Z] $ docker stop --time=1 1f6f34bb212609f977324d100874608d36854017eef5be0c2e32c42e80c9ea7a [2021-07-30T22:39:52.160Z] d148012ef14d: Verifying Checksum [2021-07-30T22:39:52.160Z] d148012ef14d: Download complete [2021-07-30T22:39:52.160Z] 24495759ef45: Download complete [2021-07-30T22:39:52.160Z] 093eec477d81: Verifying Checksum [2021-07-30T22:39:52.160Z] 093eec477d81: Download complete [2021-07-30T22:39:52.160Z] a6d5b2bbb924: Verifying Checksum [2021-07-30T22:39:52.160Z] a6d5b2bbb924: Download complete [2021-07-30T22:39:52.160Z] 595b0fe564bb: Verifying Checksum [2021-07-30T22:39:52.160Z] 595b0fe564bb: Download complete [2021-07-30T22:39:52.160Z] 2446dc1eb7d3: Verifying Checksum [2021-07-30T22:39:52.160Z] 2446dc1eb7d3: Download complete [2021-07-30T22:39:53.144Z] $ docker rm -f 1f6f34bb212609f977324d100874608d36854017eef5be0c2e32c42e80c9ea7a [2021-07-30T22:39:53.182Z] 595b0fe564bb: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-30T22:39:53.840Z] 24495759ef45: Pull complete [2021-07-30T22:39:54.202Z] d148012ef14d: Pull complete [2021-07-30T22:39:54.490Z] 596795e73e0f: Verifying Checksum [2021-07-30T22:39:56.049Z] cb65c68fc2e2: Download complete [2021-07-30T22:40:08.540Z] cb65c68fc2e2: Pull complete [2021-07-30T22:40:08.540Z] 093eec477d81: Pull complete [2021-07-30T22:40:08.540Z] a6d5b2bbb924: Pull complete [2021-07-30T22:40:08.540Z] 2446dc1eb7d3: Pull complete [2021-07-30T22:40:12.902Z] 596795e73e0f: Pull complete [2021-07-30T22:40:12.902Z] Digest: sha256:8fdc37217a1dd7593ea05f088b02ef5bfb3cd8d6ab6705c4f2c080891875b7a0 [2021-07-30T22:40:12.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-30T22:40:12.902Z] ---> d9e956139c92 [2021-07-30T22:40:12.902Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-30T22:40:16.313Z] ---> Running in 6e3500ed4215 [2021-07-30T22:40:16.313Z] Removing intermediate container 6e3500ed4215 [2021-07-30T22:40:16.313Z] ---> cb49b7145c39 [2021-07-30T22:40:16.313Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:40:16.588Z] ---> Running in 4a374e31b093 [2021-07-30T22:40:19.219Z] Removing intermediate container 4a374e31b093 [2021-07-30T22:40:19.219Z] ---> e4c1f2fd4350 [2021-07-30T22:40:19.219Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-30T22:40:19.219Z] ---> Running in 247476caccea [2021-07-30T22:40:20.662Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-30T22:40:21.652Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-30T22:40:22.635Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-30T22:40:22.910Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-30T22:40:22.910Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-30T22:40:23.188Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-30T22:40:23.188Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-30T22:40:23.466Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-30T22:40:23.466Z] Executing busybox-1.32.1-r6.trigger [2021-07-30T22:40:23.466Z] OK: 139 MiB in 46 packages [2021-07-30T22:40:25.213Z] Removing intermediate container 247476caccea [2021-07-30T22:40:25.213Z] ---> 879e1e61045a [2021-07-30T22:40:25.213Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-30T22:40:25.213Z] ---> Running in 088b4a1386c6 [2021-07-30T22:40:25.834Z] Removing intermediate container 088b4a1386c6 [2021-07-30T22:40:25.834Z] ---> f5307ae7d714 [2021-07-30T22:40:25.834Z] Step 7/8 : COPY . . [2021-07-30T22:40:28.056Z] ---> 91d53809e80a [2021-07-30T22:40:28.056Z] Step 8/8 : RUN go mod download [2021-07-30T22:40:28.056Z] ---> Running in 6856095d40f4 [2021-07-30T22:40:54.951Z] Removing intermediate container 6856095d40f4 [2021-07-30T22:40:54.951Z] ---> 496de672a05b [2021-07-30T22:40:54.951Z] Successfully built 496de672a05b [2021-07-30T22:40:54.951Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:40:55.302Z] + docker inspect -f . ci-base-image-arm64 [2021-07-30T22:40:55.302Z] . [Pipeline] withDockerContainer [2021-07-30T22:40:55.587Z] prd-ubuntu18.04-docker-arm64-4c-16g-1111 does not seem to be running inside a container [2021-07-30T22:40:55.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-30T22:40:57.327Z] $ docker top 5561cb9f78ccaece8835419b8d86d76e4e28cc529e5ff21e5444814c31e624a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:40:58.368Z] + go version [2021-07-30T22:40:58.369Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-30T22:40:58.390Z] $ docker stop --time=1 5561cb9f78ccaece8835419b8d86d76e4e28cc529e5ff21e5444814c31e624a9 [2021-07-30T22:41:00.236Z] $ docker rm -f 5561cb9f78ccaece8835419b8d86d76e4e28cc529e5ff21e5444814c31e624a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:41:01.128Z] + docker inspect -f . ci-base-image-arm64 [2021-07-30T22:41:01.128Z] . [Pipeline] withDockerContainer [2021-07-30T22:41:01.367Z] prd-ubuntu18.04-docker-arm64-4c-16g-1111 does not seem to be running inside a container [2021-07-30T22:41:01.489Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-07-30T22:41:03.174Z] $ docker top 4e837f01aabc6aa16ced383d0cdf6b1fb63567ebfc131fa30e5a968cb7b86e3c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:41:04.153Z] + go mod tidy [Pipeline] sh [2021-07-30T22:41:05.439Z] + make test [2021-07-30T22:41:05.439Z] go mod tidy [2021-07-30T22:41:06.039Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-30T22:41:32.967Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-30T22:42:41.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-30T22:42:41.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-30T22:42:41.176Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-30T22:43:03.396Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.270s coverage: 24.2% of statements [2021-07-30T22:43:03.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-30T22:43:03.396Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.302s coverage: 28.1% of statements [2021-07-30T22:43:03.396Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.303s coverage: 78.9% of statements [2021-07-30T22:43:03.396Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.223s coverage: 9.0% of statements [2021-07-30T22:43:03.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-30T22:43:03.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-30T22:43:03.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-30T22:43:03.396Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.351s coverage: 28.7% of statements [2021-07-30T22:43:03.396Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-30T22:43:04.856Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.250s coverage: 83.3% of statements [2021-07-30T22:43:04.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-30T22:43:04.856Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-30T22:43:04.856Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.402s coverage: 58.0% of statements [2021-07-30T22:43:06.857Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.722s coverage: 89.2% of statements [2021-07-30T22:43:06.857Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-30T22:43:07.450Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.219s coverage: 4.9% of statements [2021-07-30T22:43:07.450Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-30T22:43:08.050Z] GO111MODULE=on go vet ./... [2021-07-30T22:44:16.139Z] gofmt -l . [2021-07-30T22:44:16.139Z] [ "`gofmt -l .`" = "" ] [2021-07-30T22:44:16.139Z] ./bin/test-attribution-txt.sh [2021-07-30T22:44:16.139Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-30T22:44:16.166Z] $ docker stop --time=1 4e837f01aabc6aa16ced383d0cdf6b1fb63567ebfc131fa30e5a968cb7b86e3c [2021-07-30T22:44:18.559Z] $ docker rm -f 4e837f01aabc6aa16ced383d0cdf6b1fb63567ebfc131fa30e5a968cb7b86e3c [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-30T22:44:19.837Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-30T22:44:19.872Z] Warning: overwriting stash ‘coverage-report’ [2021-07-30T22:44:20.672Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-30T22:44:21.228Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-30T22:44:21.581Z] + ls -al . [2021-07-30T22:44:21.581Z] total 264 [2021-07-30T22:44:21.581Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 30 22:44 . [2021-07-30T22:44:21.581Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 22:39 .. [2021-07-30T22:44:21.581Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 30 22:39 .dockerignore [2021-07-30T22:44:21.581Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 30 22:39 .git [2021-07-30T22:44:21.581Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 22:39 .github [2021-07-30T22:44:21.581Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 30 22:39 .gitignore [2021-07-30T22:44:21.581Z] -rw-rw-r-- 1 jenkins jenkins 24816 Jul 30 22:39 CHANGELOG.md [2021-07-30T22:44:21.581Z] -rw-rw-r-- 1 jenkins jenkins 987 Jul 30 22:39 Dockerfile.build [2021-07-30T22:44:21.581Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 30 22:39 Jenkinsfile [2021-07-30T22:44:21.581Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 30 22:39 LICENSE [2021-07-30T22:44:21.581Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jul 30 22:39 Makefile [2021-07-30T22:44:21.581Z] -rw-rw-r-- 1 jenkins jenkins 7646 Jul 30 22:39 README.md [2021-07-30T22:44:21.581Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 30 22:35 VERSION [2021-07-30T22:44:21.581Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 30 22:39 bin [2021-07-30T22:44:21.581Z] -rw-r--r-- 1 jenkins jenkins 125634 Jul 30 22:43 coverage.out [2021-07-30T22:44:21.581Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 30 22:39 example [2021-07-30T22:44:21.581Z] -rw-r--r-- 1 jenkins jenkins 548 Jul 30 22:44 go.mod [2021-07-30T22:44:21.581Z] -rw-r--r-- 1 jenkins jenkins 20301 Jul 30 22:41 go.sum [2021-07-30T22:44:21.581Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 30 22:39 internal [2021-07-30T22:44:21.581Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 30 22:39 openapi [2021-07-30T22:44:21.581Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 30 22:39 pkg [2021-07-30T22:44:21.581Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 30 22:39 snap [2021-07-30T22:44:21.581Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 30 22:39 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:44:21.946Z] + 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=807401dd2d1b373fd4ec07b99e8020c82d165dff --label arch=arm64 --label version=2.0.1-dev.6 . [2021-07-30T22:44:22.548Z] Sending build context to Docker daemon 2.693MB [2021-07-30T22:44:22.548Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-30T22:44:22.548Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-30T22:44:22.548Z] ---> 496de672a05b [2021-07-30T22:44:22.548Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-30T22:44:22.824Z] ---> Running in 8bbf88c619af [2021-07-30T22:44:23.429Z] Removing intermediate container 8bbf88c619af [2021-07-30T22:44:23.429Z] ---> 33c8456715b6 [2021-07-30T22:44:23.429Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-30T22:44:23.727Z] ---> Running in b53e4cf6d062 [2021-07-30T22:44:24.359Z] Removing intermediate container b53e4cf6d062 [2021-07-30T22:44:24.359Z] ---> 0b7ec4c22a3f [2021-07-30T22:44:24.359Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:44:24.654Z] ---> Running in 3db9496185c1 [2021-07-30T22:44:27.324Z] Removing intermediate container 3db9496185c1 [2021-07-30T22:44:27.324Z] ---> 9bdbc95773ee [2021-07-30T22:44:27.324Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-30T22:44:27.622Z] ---> Running in 09a134f8a772 [2021-07-30T22:44:29.074Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-30T22:44:30.061Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-30T22:44:31.058Z] OK: 139 MiB in 46 packages [2021-07-30T22:44:32.501Z] Removing intermediate container 09a134f8a772 [2021-07-30T22:44:32.501Z] ---> 034107c7127a [2021-07-30T22:44:32.501Z] Step 7/23 : COPY . . [2021-07-30T22:44:33.948Z] ---> 1a896781b8fb [2021-07-30T22:44:33.948Z] Step 8/23 : RUN go mod download [2021-07-30T22:44:34.549Z] ---> Running in f96175509002 [2021-07-30T22:44:37.185Z] Removing intermediate container f96175509002 [2021-07-30T22:44:37.185Z] ---> 305c41a1211a [2021-07-30T22:44:37.185Z] Step 9/23 : RUN make build [2021-07-30T22:44:37.462Z] ---> Running in b93149bf3917 [2021-07-30T22:44:38.911Z] go mod tidy [2021-07-30T22:44:39.910Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.6" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-07-30T22:45:18.988Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-30T22:45:20.439Z] Removing intermediate container b93149bf3917 [2021-07-30T22:45:20.439Z] ---> 65b73e134e8a [2021-07-30T22:45:20.439Z] Step 10/23 : FROM alpine:3.12 [2021-07-30T22:45:21.034Z] 3.12: Pulling from library/alpine [2021-07-30T22:45:21.035Z] d2f70382dc9a: Pulling fs layer [2021-07-30T22:45:21.311Z] d2f70382dc9a: Verifying Checksum [2021-07-30T22:45:21.311Z] d2f70382dc9a: Download complete [2021-07-30T22:45:22.295Z] d2f70382dc9a: Pull complete [2021-07-30T22:45:22.295Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-07-30T22:45:22.295Z] Status: Downloaded newer image for alpine:3.12 [2021-07-30T22:45:22.295Z] ---> c4fd0aeabfcf [2021-07-30T22:45:22.295Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-30T22:45:22.570Z] ---> Running in 650900b4b436 [2021-07-30T22:45:23.169Z] Removing intermediate container 650900b4b436 [2021-07-30T22:45:23.169Z] ---> 7f6385782616 [2021-07-30T22:45:23.169Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-30T22:45:23.169Z] ---> Running in 48becf6933bf [2021-07-30T22:45:25.806Z] Removing intermediate container 48becf6933bf [2021-07-30T22:45:25.806Z] ---> 3b1023860e58 [2021-07-30T22:45:25.806Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-30T22:45:25.806Z] ---> Running in 8aa9d54c42b6 [2021-07-30T22:45:27.248Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-30T22:45:28.234Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-30T22:45:28.832Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-30T22:45:29.117Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-30T22:45:29.117Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-30T22:45:29.400Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-30T22:45:29.400Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-30T22:45:29.400Z] Executing busybox-1.31.1-r20.trigger [2021-07-30T22:45:29.400Z] OK: 8 MiB in 19 packages [2021-07-30T22:45:30.849Z] Removing intermediate container 8aa9d54c42b6 [2021-07-30T22:45:30.849Z] ---> d9b68e08cbcc [2021-07-30T22:45:30.849Z] Step 14/23 : WORKDIR / [2021-07-30T22:45:31.125Z] ---> Running in fa100d635dba [2021-07-30T22:45:31.721Z] Removing intermediate container fa100d635dba [2021-07-30T22:45:31.721Z] ---> 065a9c948317 [2021-07-30T22:45:31.721Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-30T22:45:32.701Z] ---> d54b9d6a3c29 [2021-07-30T22:45:32.701Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-30T22:45:34.139Z] ---> ca7db338b87c [2021-07-30T22:45:34.139Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-30T22:45:35.122Z] ---> 873819b660e0 [2021-07-30T22:45:35.122Z] Step 18/23 : EXPOSE 59999 [2021-07-30T22:45:35.122Z] ---> Running in 8d8460f9d1c0 [2021-07-30T22:45:35.721Z] Removing intermediate container 8d8460f9d1c0 [2021-07-30T22:45:35.721Z] ---> e4d40b302013 [2021-07-30T22:45:35.721Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-30T22:45:35.998Z] ---> Running in 45bc92162555 [2021-07-30T22:45:36.599Z] Removing intermediate container 45bc92162555 [2021-07-30T22:45:36.599Z] ---> 7602a7a3142f [2021-07-30T22:45:36.599Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-30T22:45:36.599Z] ---> Running in 2d17a681ddc6 [2021-07-30T22:45:37.193Z] Removing intermediate container 2d17a681ddc6 [2021-07-30T22:45:37.193Z] ---> 40703bb34275 [2021-07-30T22:45:37.193Z] Step 21/23 : LABEL arch=arm64 [2021-07-30T22:45:37.467Z] ---> Running in 908ab61716cf [2021-07-30T22:45:38.062Z] Removing intermediate container 908ab61716cf [2021-07-30T22:45:38.063Z] ---> be5e12b3a978 [2021-07-30T22:45:38.063Z] Step 22/23 : LABEL git_sha=807401dd2d1b373fd4ec07b99e8020c82d165dff [2021-07-30T22:45:38.063Z] ---> Running in 4ed9ee05f9b1 [2021-07-30T22:45:38.663Z] Removing intermediate container 4ed9ee05f9b1 [2021-07-30T22:45:38.663Z] ---> 3bb220856853 [2021-07-30T22:45:38.663Z] Step 23/23 : LABEL version=2.0.1-dev.6 [2021-07-30T22:45:38.663Z] ---> Running in 0643fa9077ef [2021-07-30T22:45:39.266Z] Removing intermediate container 0643fa9077ef [2021-07-30T22:45:39.266Z] ---> d721ee13fded [2021-07-30T22:45:39.266Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-30T22:45:39.266Z] Successfully built d721ee13fded [2021-07-30T22:45:39.266Z] 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-30T22:45:39.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T22:45:39.857Z] [2021-07-30T22:45:39.857Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:45:40.218Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T22:45:41.669Z] arm64: Pulling from edgex-lftools-log-publisher [2021-07-30T22:45:41.669Z] 448f6bf000e3: Pulling fs layer [2021-07-30T22:45:41.669Z] f757da607395: Pulling fs layer [2021-07-30T22:45:41.669Z] 05883995daec: Pulling fs layer [2021-07-30T22:45:41.669Z] 8603b9c90790: Pulling fs layer [2021-07-30T22:45:41.669Z] 1560dd03e051: Pulling fs layer [2021-07-30T22:45:41.669Z] 27f5ce0e4adf: Pulling fs layer [2021-07-30T22:45:41.669Z] c2d8d7efcc4b: Pulling fs layer [2021-07-30T22:45:41.669Z] 8603b9c90790: Waiting [2021-07-30T22:45:41.669Z] 1560dd03e051: Waiting [2021-07-30T22:45:41.669Z] 27f5ce0e4adf: Waiting [2021-07-30T22:45:41.669Z] c2d8d7efcc4b: Waiting [2021-07-30T22:45:41.669Z] f757da607395: Download complete [2021-07-30T22:45:41.669Z] 8603b9c90790: Verifying Checksum [2021-07-30T22:45:41.669Z] 8603b9c90790: Download complete [2021-07-30T22:45:42.275Z] 1560dd03e051: Verifying Checksum [2021-07-30T22:45:42.275Z] 1560dd03e051: Download complete [2021-07-30T22:45:42.275Z] 27f5ce0e4adf: Download complete [2021-07-30T22:45:42.275Z] 05883995daec: Download complete [2021-07-30T22:45:42.879Z] 448f6bf000e3: Verifying Checksum [2021-07-30T22:45:42.879Z] 448f6bf000e3: Download complete [2021-07-30T22:45:46.291Z] c2d8d7efcc4b: Verifying Checksum [2021-07-30T22:45:46.291Z] c2d8d7efcc4b: Download complete [2021-07-30T22:45:46.570Z] 448f6bf000e3: Pull complete [2021-07-30T22:45:47.555Z] f757da607395: Pull complete [2021-07-30T22:45:48.995Z] 05883995daec: Pull complete [2021-07-30T22:45:49.268Z] 8603b9c90790: Pull complete [2021-07-30T22:45:50.251Z] 1560dd03e051: Pull complete [2021-07-30T22:45:50.855Z] 27f5ce0e4adf: Pull complete [2021-07-30T22:46:06.011Z] c2d8d7efcc4b: Pull complete [2021-07-30T22:46:06.011Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-07-30T22:46:06.011Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-07-30T22:46:06.011Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-07-30T22:46:06.308Z] prd-ubuntu18.04-docker-arm64-4c-16g-1111 does not seem to be running inside a container [2021-07-30T22:46:06.408Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-07-30T22:46:10.940Z] $ docker top aa46329ef0815cd45e688d0ce67dac1cbb4979db49af3a062b4a6d9655046d7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:46:12.086Z] ---> job-cost.sh [2021-07-30T22:46:12.086Z] lf-activate-venv: SKIPPING [2021-07-30T22:46:12.086Z] INFO: No Stack... [2021-07-30T22:46:13.538Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-30T22:46:13.810Z] INFO: Archiving Costs [Pipeline] sh [2021-07-30T22:46:14.474Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2021-07-30T22:46:14.474Z] + cut -d, -f6 [Pipeline] lock [2021-07-30T22:46:14.542Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-3-stack-cost] [2021-07-30T22:46:14.559Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-3-stack-cost] did not exist. Created. [2021-07-30T22:46:14.559Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-30T22:46:15.250Z] /w/workspace/device-sdk-go/3@tmp/durable-73428bcf/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-73428bcf/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-30T22:46:15.923Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-30T22:46:15.945Z] Warning: overwriting stash ‘stack-cost’ [2021-07-30T22:46:16.013Z] Stashed 1 file(s) [Pipeline] } [2021-07-30T22:46:16.035Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-3-stack-cost] [Pipeline] // lock [Pipeline] } [2021-07-30T22:46:16.069Z] $ docker stop --time=1 aa46329ef0815cd45e688d0ce67dac1cbb4979db49af3a062b4a6d9655046d7b [2021-07-30T22:46:17.734Z] $ docker rm -f aa46329ef0815cd45e688d0ce67dac1cbb4979db49af3a062b4a6d9655046d7b [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-30T22:46:18.591Z] provisioning config files... [2021-07-30T22:46:18.606Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3564903104911101562tmp [Pipeline] { [Pipeline] sh [2021-07-30T22:46:18.944Z] + set +x [2021-07-30T22:46:18.944Z] + curl -s https://codecov.io/bash [2021-07-30T22:46:18.944Z] + bash -s -- [2021-07-30T22:46:18.944Z] [2021-07-30T22:46:18.944Z] _____ _ [2021-07-30T22:46:18.944Z] / ____| | | [2021-07-30T22:46:18.944Z] | | ___ __| | ___ ___ _____ __ [2021-07-30T22:46:18.944Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-30T22:46:18.944Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-30T22:46:18.944Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-30T22:46:18.944Z] Bash-1.0.6 [2021-07-30T22:46:18.944Z] [2021-07-30T22:46:18.944Z] [2021-07-30T22:46:18.944Z] ==> git version 2.24.4 found [2021-07-30T22:46:18.944Z] ==> 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-30T22:46:18.944Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-30T22:46:18.944Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-30T22:46:18.944Z] ==> Jenkins CI detected. [2021-07-30T22:46:18.944Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-07-30T22:46:18.944Z] project root: . [2021-07-30T22:46:18.944Z] --> token set from env [2021-07-30T22:46:18.944Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-30T22:46:18.944Z] ==> Running gcov in . (disable via -X gcov) [2021-07-30T22:46:18.944Z] ==> Python coveragepy not found [2021-07-30T22:46:18.944Z] ==> Searching for coverage reports in: [2021-07-30T22:46:18.944Z] + . [2021-07-30T22:46:18.944Z] -> Found 1 reports [2021-07-30T22:46:18.944Z] ==> Detecting git/mercurial file structure [2021-07-30T22:46:18.944Z] ==> Reading reports [2021-07-30T22:46:18.944Z] + ./coverage.out bytes=125634 [2021-07-30T22:46:19.209Z] ==> Appending adjustments [2021-07-30T22:46:19.209Z] https://docs.codecov.io/docs/fixing-reports [2021-07-30T22:46:19.209Z] + Found adjustments [2021-07-30T22:46:19.209Z] ==> Gzipping contents [2021-07-30T22:46:19.209Z] 16K /tmp/codecov.vHz3fc.gz [2021-07-30T22:46:19.209Z] ==> Uploading reports [2021-07-30T22:46:19.209Z] url: https://codecov.io [2021-07-30T22:46:19.209Z] query: branch=main&commit=807401dd2d1b373fd4ec07b99e8020c82d165dff&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-30T22:46:19.209Z] -> Pinging Codecov [2021-07-30T22:46:19.209Z] 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=807401dd2d1b373fd4ec07b99e8020c82d165dff&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-30T22:46:19.793Z] -> Uploading to [2021-07-30T22:46:19.793Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-30/7E55EF52A471D76F132DFD9A03CDDE97/807401dd2d1b373fd4ec07b99e8020c82d165dff/89c09a92-a774-4802-8a3d-59c4ffbe4495.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210730%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210730T224619Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10cb3d4fc320f9b71f0d8819cfae8cd6021cfe9cd2d7d980a747581d22ac8a32 [2021-07-30T22:46:19.793Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-30T22:46:19.793Z] Dload Upload Total Spent Left Speed [2021-07-30T22:46:20.058Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16048 0 0 100 16048 0 44349 --:--:-- --:--:-- --:--:-- 44454 [2021-07-30T22:46:20.058Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/807401dd2d1b373fd4ec07b99e8020c82d165dff [Pipeline] } [2021-07-30T22:46:20.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-30T22:46:20.873Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-30T22:46:20.897Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:21.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-30T22:46:21.225Z] [2021-07-30T22:46:21.225Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:21.548Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-30T22:46:21.548Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-30T22:46:21.548Z] 188c0c94c7c5: Pulling fs layer [2021-07-30T22:46:21.548Z] 0ef7d3d256c8: Pulling fs layer [2021-07-30T22:46:21.548Z] de9db76c5a1d: Pulling fs layer [2021-07-30T22:46:21.548Z] 0eba1c9be4d2: Pulling fs layer [2021-07-30T22:46:21.548Z] 0d57e429df01: Pulling fs layer [2021-07-30T22:46:21.548Z] 4e4be7b47b0d: Pulling fs layer [2021-07-30T22:46:21.548Z] e1f770b5df2f: Pulling fs layer [2021-07-30T22:46:21.548Z] 85a0685a4137: Pulling fs layer [2021-07-30T22:46:21.548Z] 0eba1c9be4d2: Waiting [2021-07-30T22:46:21.548Z] 0d57e429df01: Waiting [2021-07-30T22:46:21.548Z] 4e4be7b47b0d: Waiting [2021-07-30T22:46:21.548Z] e1f770b5df2f: Waiting [2021-07-30T22:46:21.548Z] 85a0685a4137: Waiting [2021-07-30T22:46:21.548Z] de9db76c5a1d: Verifying Checksum [2021-07-30T22:46:21.548Z] de9db76c5a1d: Download complete [2021-07-30T22:46:21.548Z] 0ef7d3d256c8: Verifying Checksum [2021-07-30T22:46:21.548Z] 0ef7d3d256c8: Download complete [2021-07-30T22:46:21.548Z] 0d57e429df01: Verifying Checksum [2021-07-30T22:46:21.548Z] 0d57e429df01: Download complete [2021-07-30T22:46:21.813Z] 4e4be7b47b0d: Verifying Checksum [2021-07-30T22:46:21.813Z] 4e4be7b47b0d: Download complete [2021-07-30T22:46:21.813Z] 188c0c94c7c5: Verifying Checksum [2021-07-30T22:46:21.813Z] 188c0c94c7c5: Download complete [2021-07-30T22:46:21.813Z] 188c0c94c7c5: Pull complete [2021-07-30T22:46:22.078Z] 0ef7d3d256c8: Pull complete [2021-07-30T22:46:22.078Z] de9db76c5a1d: Pull complete [2021-07-30T22:46:22.665Z] e1f770b5df2f: Verifying Checksum [2021-07-30T22:46:22.665Z] e1f770b5df2f: Download complete [2021-07-30T22:46:26.933Z] 0eba1c9be4d2: Verifying Checksum [2021-07-30T22:46:26.933Z] 0eba1c9be4d2: Download complete [2021-07-30T22:46:27.210Z] 85a0685a4137: Verifying Checksum [2021-07-30T22:46:27.210Z] 85a0685a4137: Download complete [2021-07-30T22:46:29.799Z] 0eba1c9be4d2: Pull complete [2021-07-30T22:46:30.076Z] 0d57e429df01: Pull complete [2021-07-30T22:46:30.076Z] 4e4be7b47b0d: Pull complete [2021-07-30T22:46:30.346Z] e1f770b5df2f: Pull complete [2021-07-30T22:46:33.731Z] 85a0685a4137: Pull complete [2021-07-30T22:46:33.731Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-30T22:46:33.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-30T22:46:33.731Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-30T22:46:33.829Z] prd-centos7-docker-4c-2g-1102 does not seem to be running inside a container [2021-07-30T22:46:34.141Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-07-30T22:46:36.208Z] $ docker top b89c9017f1deb6a987e908e886525e15da2c561869c8cf52e3017b119f6ede6e -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-30T22:46:36.316Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-30T22:46:36.621Z] + set -o pipefail [2021-07-30T22:46:36.622Z] + snyk monitor '--org=edgex-jenkins' [2021-07-30T22:46:44.832Z] [2021-07-30T22:46:44.832Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-07-30T22:46:44.832Z] [2021-07-30T22:46:44.832Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/26d7e68b-dc85-4280-91a9-f278f4657987 [2021-07-30T22:46:44.832Z] [2021-07-30T22:46:44.832Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-30T22:46:44.832Z] [2021-07-30T22:46:44.832Z] [Pipeline] } [2021-07-30T22:46:44.848Z] $ docker stop --time=1 b89c9017f1deb6a987e908e886525e15da2c561869c8cf52e3017b119f6ede6e [2021-07-30T22:46:46.821Z] $ docker rm -f b89c9017f1deb6a987e908e886525e15da2c561869c8cf52e3017b119f6ede6e [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-30T22:46:47.494Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:46:47.514Z] provisioning config files... [2021-07-30T22:46:47.529Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config229866652689122090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:46:47.872Z] --> edgex-publish-swagger.sh [2021-07-30T22:46:47.872Z] === Publish openapi/v2 API === [2021-07-30T22:46:47.872Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-07-30T22:46:47.872Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-07-30T22:46:47.872Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-30T22:46:47.872Z] Dload Upload Total Spent Left Speed [2021-07-30T22:46:48.456Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51485 0 0 100 51485 0 63638 --:--:-- --:--:-- --:--:-- 63719 [2021-07-30T22:46:48.456Z] [2021-07-30T22:46:48.456Z] [Pipeline] } [2021-07-30T22:46:48.468Z] 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-30T22:46:49.074Z] + git log --format=format:%s -1 807401dd2d1b373fd4ec07b99e8020c82d165dff [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:49.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:46:49.405Z] . [Pipeline] withDockerContainer [2021-07-30T22:46:49.494Z] prd-centos7-docker-4c-2g-1102 does not seem to be running inside a container [2021-07-30T22:46:49.553Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:46:49.927Z] $ docker top fb661d93cd0d58b0d92023d2295ad09b02aced43f0f1af01b38c3478a5bd8ae1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:46:50.063Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:46:50.063Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:46:50.183Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:46:50.182Z] $ docker exec fb661d93cd0d58b0d92023d2295ad09b02aced43f0f1af01b38c3478a5bd8ae1 ssh-agent [2021-07-30T22:46:50.297Z] SSH_AUTH_SOCK=/tmp/ssh-ImYHOKQfTxJ2/agent.13 [2021-07-30T22:46:50.297Z] SSH_AGENT_PID=18 [2021-07-30T22:46:50.308Z] Running ssh-add (command line suppressed) [2021-07-30T22:46:50.402Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5851268905654110360.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5851268905654110360.key) [2021-07-30T22:46:50.427Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:46:50.745Z] + git semver tag [2021-07-30T22:46:50.745Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:46:50.745Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-07-30T22:46:50.745Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-07-30T22:46:50.745Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:46:50.745Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:46:50.745Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:46:50.745Z] # $SEMVER_BRANCH = main [2021-07-30T22:46:50.745Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-07-30T22:46:50.745Z] # 807401dd2d1b373fd4ec07b99e8020c82d165dff HEAD [2021-07-30T22:46:50.745Z] # -> Force: false [2021-07-30T22:46:50.745Z] # 8e56afb60002cd6c3844bcbfe007938c70ee576e refs/tags/v2.0.1-dev.6 [Pipeline] } [2021-07-30T22:46:50.757Z] $ docker exec --env ******** --env ******** fb661d93cd0d58b0d92023d2295ad09b02aced43f0f1af01b38c3478a5bd8ae1 ssh-agent -k [2021-07-30T22:46:50.852Z] unset SSH_AUTH_SOCK; [2021-07-30T22:46:50.852Z] unset SSH_AGENT_PID; [2021-07-30T22:46:50.852Z] echo Agent pid 18 killed; [2021-07-30T22:46:50.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:46:51.263Z] + git semver [Pipeline] } [2021-07-30T22:46:51.281Z] $ docker stop --time=1 fb661d93cd0d58b0d92023d2295ad09b02aced43f0f1af01b38c3478a5bd8ae1 [2021-07-30T22:46:52.480Z] $ docker rm -f fb661d93cd0d58b0d92023d2295ad09b02aced43f0f1af01b38c3478a5bd8ae1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:52.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-30T22:46:52.970Z] [2021-07-30T22:46:52.970Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:46:53.328Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-30T22:46:53.328Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-30T22:46:53.328Z] ab5ef0e58194: Pulling fs layer [2021-07-30T22:46:53.328Z] 9712f1f96733: Pulling fs layer [2021-07-30T22:46:53.328Z] 63f879dbbcfc: Pulling fs layer [2021-07-30T22:46:53.328Z] 0d9ebad4ef96: Pulling fs layer [2021-07-30T22:46:53.328Z] e9a5061849ea: Pulling fs layer [2021-07-30T22:46:53.328Z] d747dcd14b5f: Pulling fs layer [2021-07-30T22:46:53.328Z] 2de7ff778b66: Pulling fs layer [2021-07-30T22:46:53.328Z] 0d9ebad4ef96: Waiting [2021-07-30T22:46:53.328Z] e9a5061849ea: Waiting [2021-07-30T22:46:53.328Z] d747dcd14b5f: Waiting [2021-07-30T22:46:53.328Z] 2de7ff778b66: Waiting [2021-07-30T22:46:53.328Z] 9712f1f96733: Download complete [2021-07-30T22:46:57.586Z] 63f879dbbcfc: Verifying Checksum [2021-07-30T22:46:57.586Z] 63f879dbbcfc: Download complete [2021-07-30T22:46:57.586Z] e9a5061849ea: Verifying Checksum [2021-07-30T22:46:57.586Z] e9a5061849ea: Download complete [2021-07-30T22:46:57.586Z] d747dcd14b5f: Verifying Checksum [2021-07-30T22:46:57.586Z] d747dcd14b5f: Download complete [2021-07-30T22:46:58.541Z] 0d9ebad4ef96: Verifying Checksum [2021-07-30T22:46:58.541Z] 0d9ebad4ef96: Download complete [2021-07-30T22:46:58.541Z] 2de7ff778b66: Verifying Checksum [2021-07-30T22:46:58.541Z] 2de7ff778b66: Download complete [2021-07-30T22:46:59.123Z] ab5ef0e58194: Verifying Checksum [2021-07-30T22:46:59.123Z] ab5ef0e58194: Download complete [2021-07-30T22:47:01.705Z] ab5ef0e58194: Pull complete [2021-07-30T22:47:01.705Z] 9712f1f96733: Pull complete [2021-07-30T22:47:02.289Z] 63f879dbbcfc: Pull complete [2021-07-30T22:47:05.658Z] 0d9ebad4ef96: Pull complete [2021-07-30T22:47:05.658Z] e9a5061849ea: Pull complete [2021-07-30T22:47:05.924Z] d747dcd14b5f: Pull complete [2021-07-30T22:47:06.893Z] 2de7ff778b66: Pull complete [2021-07-30T22:47:06.893Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-30T22:47:06.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-30T22:47:06.893Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-30T22:47:06.988Z] prd-centos7-docker-4c-2g-1102 does not seem to be running inside a container [2021-07-30T22:47:07.051Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-07-30T22:47:10.361Z] $ docker top e3621a6a0e731a35531473fea0793f9a97faee6d683eb1fd34e72c7171260c48 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:47:10.468Z] provisioning config files... [2021-07-30T22:47:10.482Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3334368376854288561tmp [2021-07-30T22:47:10.504Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7826272612922727865tmp [2021-07-30T22:47:10.523Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4954371948403396592tmp [Pipeline] { [Pipeline] echo [2021-07-30T22:47:10.548Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:47:10.866Z] ---> sigul-configuration.sh [2021-07-30T22:47:10.866Z] gpg: directory `/root/.gnupg' created [2021-07-30T22:47:10.866Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-30T22:47:10.866Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-30T22:47:10.866Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-30T22:47:10.866Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-30T22:47:10.866Z] gpg: CAST5 encrypted data [2021-07-30T22:47:10.866Z] gpg: encrypted with 1 passphrase [2021-07-30T22:47:10.866Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-30T22:47:11.184Z] + mkdir /home/jenkins [2021-07-30T22:47:11.185Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-30T22:47:11.503Z] + 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-30T22:47:11.520Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:47:11.844Z] ---> sigul-install.sh [2021-07-30T22:47:11.844Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-07-30T22:47:12.158Z] + git tag --list [2021-07-30T22:47:12.158Z] 0.7.1 [2021-07-30T22:47:12.158Z] delhi-tag [2021-07-30T22:47:12.158Z] v1.0.0 [2021-07-30T22:47:12.158Z] v1.1.0 [2021-07-30T22:47:12.158Z] v1.1.1 [2021-07-30T22:47:12.158Z] v1.1.2 [2021-07-30T22:47:12.158Z] v1.2.0 [2021-07-30T22:47:12.158Z] v1.2.1 [2021-07-30T22:47:12.158Z] v1.2.2 [2021-07-30T22:47:12.158Z] v1.2.3 [2021-07-30T22:47:12.158Z] v1.3.0 [2021-07-30T22:47:12.158Z] v1.4.0 [2021-07-30T22:47:12.158Z] v2.0.0 [2021-07-30T22:47:12.158Z] v2.0.1-dev.1 [2021-07-30T22:47:12.158Z] v2.0.1-dev.2 [2021-07-30T22:47:12.158Z] v2.0.1-dev.3 [2021-07-30T22:47:12.158Z] v2.0.1-dev.4 [2021-07-30T22:47:12.158Z] v2.0.1-dev.5 [2021-07-30T22:47:12.158Z] v2.0.1-dev.6 [Pipeline] sh [2021-07-30T22:47:12.685Z] + lftools sign git-tag v2.0.1-dev.6 [2021-07-30T22:47:12.961Z] Signing Git tag with Sigul... [2021-07-30T22:47:12.961Z] Signing v2.0.1-dev.6 [Pipeline] echo [2021-07-30T22:47:13.938Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:47:14.253Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-30T22:47:14.268Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-30T22:47:14.295Z] $ docker stop --time=1 e3621a6a0e731a35531473fea0793f9a97faee6d683eb1fd34e72c7171260c48 [2021-07-30T22:47:15.507Z] $ docker rm -f e3621a6a0e731a35531473fea0793f9a97faee6d683eb1fd34e72c7171260c48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:16.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:47:16.164Z] . [Pipeline] withDockerContainer [2021-07-30T22:47:16.265Z] prd-centos7-docker-4c-2g-1102 does not seem to be running inside a container [2021-07-30T22:47:16.332Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:47:16.754Z] $ docker top ab06121a95d3944fe70851023c95324dece53fae44b477d43bba155779080264 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:47:16.897Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:47:16.897Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:47:17.032Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:47:17.032Z] $ docker exec ab06121a95d3944fe70851023c95324dece53fae44b477d43bba155779080264 ssh-agent [2021-07-30T22:47:17.184Z] SSH_AUTH_SOCK=/tmp/ssh-ypcZx114sWcF/agent.14 [2021-07-30T22:47:17.184Z] SSH_AGENT_PID=20 [2021-07-30T22:47:17.193Z] Running ssh-add (command line suppressed) [2021-07-30T22:47:17.301Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_462250217816800374.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_462250217816800374.key) [2021-07-30T22:47:17.327Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:47:17.645Z] + git semver bump pre [2021-07-30T22:47:17.645Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:47:17.645Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-07-30T22:47:17.645Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-07-30T22:47:17.645Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:47:17.645Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:47:17.645Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:47:17.645Z] # $SEMVER_BRANCH = main [2021-07-30T22:47:17.645Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-07-30T22:47:17.645Z] 2.0.1-dev.7 [Pipeline] } [2021-07-30T22:47:17.658Z] $ docker exec --env ******** --env ******** ab06121a95d3944fe70851023c95324dece53fae44b477d43bba155779080264 ssh-agent -k [2021-07-30T22:47:17.773Z] unset SSH_AUTH_SOCK; [2021-07-30T22:47:17.773Z] unset SSH_AGENT_PID; [2021-07-30T22:47:17.773Z] echo Agent pid 20 killed; [2021-07-30T22:47:17.793Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:47:18.169Z] + git semver [Pipeline] } [2021-07-30T22:47:18.191Z] $ docker stop --time=1 ab06121a95d3944fe70851023c95324dece53fae44b477d43bba155779080264 [2021-07-30T22:47:19.399Z] $ docker rm -f ab06121a95d3944fe70851023c95324dece53fae44b477d43bba155779080264 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:19.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-30T22:47:19.819Z] . [Pipeline] withDockerContainer [2021-07-30T22:47:19.917Z] prd-centos7-docker-4c-2g-1102 does not seem to be running inside a container [2021-07-30T22:47:19.982Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-30T22:47:20.360Z] $ docker top 415f20bfc6728ee419cd67f43df50712372252286d30fa99ae2bf3ca2cde88d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-30T22:47:20.503Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-30T22:47:20.503Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-30T22:47:20.621Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-30T22:47:20.620Z] $ docker exec 415f20bfc6728ee419cd67f43df50712372252286d30fa99ae2bf3ca2cde88d1 ssh-agent [2021-07-30T22:47:20.738Z] SSH_AUTH_SOCK=/tmp/ssh-DEZnUEg4uPcI/agent.15 [2021-07-30T22:47:20.738Z] SSH_AGENT_PID=22 [2021-07-30T22:47:20.746Z] Running ssh-add (command line suppressed) [2021-07-30T22:47:20.842Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2566180695242800894.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2566180695242800894.key) [2021-07-30T22:47:20.868Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-30T22:47:21.184Z] + git semver push [2021-07-30T22:47:21.184Z] # -> Open(): unable to determine branch for HEAD [2021-07-30T22:47:21.184Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-07-30T22:47:21.184Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-07-30T22:47:21.184Z] # $SEMVER_REMOTE_NAME = origin [2021-07-30T22:47:21.184Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-30T22:47:21.184Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-30T22:47:21.184Z] # $SEMVER_BRANCH = main [2021-07-30T22:47:21.184Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-07-30T22:47:26.537Z] $ docker exec --env ******** --env ******** 415f20bfc6728ee419cd67f43df50712372252286d30fa99ae2bf3ca2cde88d1 ssh-agent -k [2021-07-30T22:47:26.627Z] unset SSH_AUTH_SOCK; [2021-07-30T22:47:26.627Z] unset SSH_AGENT_PID; [2021-07-30T22:47:26.627Z] echo Agent pid 22 killed; [2021-07-30T22:47:26.646Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-30T22:47:26.996Z] + git semver [Pipeline] } [2021-07-30T22:47:27.013Z] $ docker stop --time=1 415f20bfc6728ee419cd67f43df50712372252286d30fa99ae2bf3ca2cde88d1 [2021-07-30T22:47:28.211Z] $ docker rm -f 415f20bfc6728ee419cd67f43df50712372252286d30fa99ae2bf3ca2cde88d1 [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-30T22:47:29.166Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:47:29.753Z] ---> package-listing.sh [2021-07-30T22:47:29.753Z] ++ facter osfamily [2021-07-30T22:47:29.753Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-30T22:47:30.021Z] + OS_FAMILY=redhat [2021-07-30T22:47:30.021Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-07-30T22:47:30.021Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-30T22:47:30.021Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-30T22:47:30.021Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-30T22:47:30.021Z] + PACKAGES=/tmp/packages_start.txt [2021-07-30T22:47:30.021Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-07-30T22:47:30.021Z] + PACKAGES=/tmp/packages_end.txt [2021-07-30T22:47:30.021Z] + case "${OS_FAMILY}" in [2021-07-30T22:47:30.021Z] + sort [2021-07-30T22:47:30.021Z] + rpm -qa [2021-07-30T22:47:30.605Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-30T22:47:30.605Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-30T22:47:30.605Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-30T22:47:30.605Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-07-30T22:47:30.605Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-07-30T22:47:30.605Z] + 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-30T22:47:30.621Z] 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-30T22:47:30.920Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:31.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:47:31.503Z] [2021-07-30T22:47:31.503Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-07-30T22:47:31.834Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:47:31.834Z] latest: Pulling from edgex-lftools-log-publisher [2021-07-30T22:47:31.834Z] b4d181a07f80: Pulling fs layer [2021-07-30T22:47:31.834Z] a1111a8f2ec3: Pulling fs layer [2021-07-30T22:47:31.834Z] ed53099fbce6: Pulling fs layer [2021-07-30T22:47:31.834Z] dc539afda2c1: Pulling fs layer [2021-07-30T22:47:31.834Z] 77bc0d833cb6: Pulling fs layer [2021-07-30T22:47:31.834Z] 9065ff56babe: Pulling fs layer [2021-07-30T22:47:31.834Z] d287ab97295c: Pulling fs layer [2021-07-30T22:47:31.834Z] dc539afda2c1: Waiting [2021-07-30T22:47:31.834Z] 77bc0d833cb6: Waiting [2021-07-30T22:47:31.834Z] 9065ff56babe: Waiting [2021-07-30T22:47:31.834Z] d287ab97295c: Waiting [2021-07-30T22:47:32.099Z] a1111a8f2ec3: Verifying Checksum [2021-07-30T22:47:32.099Z] a1111a8f2ec3: Download complete [2021-07-30T22:47:32.099Z] dc539afda2c1: Verifying Checksum [2021-07-30T22:47:32.099Z] dc539afda2c1: Download complete [2021-07-30T22:47:32.365Z] 77bc0d833cb6: Verifying Checksum [2021-07-30T22:47:32.365Z] 77bc0d833cb6: Download complete [2021-07-30T22:47:32.365Z] 9065ff56babe: Verifying Checksum [2021-07-30T22:47:32.365Z] 9065ff56babe: Download complete [2021-07-30T22:47:32.365Z] ed53099fbce6: Verifying Checksum [2021-07-30T22:47:32.365Z] ed53099fbce6: Download complete [2021-07-30T22:47:33.339Z] b4d181a07f80: Verifying Checksum [2021-07-30T22:47:33.339Z] b4d181a07f80: Download complete [2021-07-30T22:47:34.316Z] b4d181a07f80: Pull complete [2021-07-30T22:47:34.592Z] a1111a8f2ec3: Pull complete [2021-07-30T22:47:35.182Z] ed53099fbce6: Pull complete [2021-07-30T22:47:35.182Z] dc539afda2c1: Pull complete [2021-07-30T22:47:35.448Z] 77bc0d833cb6: Pull complete [2021-07-30T22:47:35.448Z] 9065ff56babe: Pull complete [2021-07-30T22:47:38.023Z] d287ab97295c: Verifying Checksum [2021-07-30T22:47:38.023Z] d287ab97295c: Download complete [2021-07-30T22:47:42.314Z] d287ab97295c: Pull complete [2021-07-30T22:47:42.314Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-07-30T22:47:42.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-07-30T22:47:42.314Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-07-30T22:47:42.578Z] prd-centos7-docker-4c-2g-1102 does not seem to be running inside a container [2021-07-30T22:47:42.640Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-07-30T22:47:45.057Z] $ docker top 71e28f72d78669eac45475e2c711e5865c9e52d106c6f07219194045cb8bc434 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-30T22:47:45.454Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-30T22:47:45.766Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-07-30T22:47:46.088Z] + ls /var/log/sa-host [2021-07-30T22:47:46.088Z] + sadf -c /var/log/sa-host/sa05 [2021-07-30T22:47:46.088Z] file_magic: OK [2021-07-30T22:47:46.088Z] HZ: Using current value: 100 [2021-07-30T22:47:46.088Z] file_header: OK [2021-07-30T22:47:46.088Z] 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-30T22:47:46.088Z] Statistics: [2021-07-30T22:47:46.088Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-30T22:47:46.088Z] File successfully converted to sysstat format version 12.0.3 [2021-07-30T22:47:46.088Z] + sadf -c /var/log/sa-host/sa30 [2021-07-30T22:47:46.088Z] file_magic: OK [2021-07-30T22:47:46.088Z] HZ: Using current value: 100 [2021-07-30T22:47:46.088Z] file_header: OK [2021-07-30T22:47:46.088Z] 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-30T22:47:46.088Z] Statistics: [2021-07-30T22:47:46.088Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-30T22:47:46.088Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-30T22:47:46.279Z] provisioning config files... [2021-07-30T22:47:46.294Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config190488485423267876tmp [Pipeline] { [Pipeline] echo [2021-07-30T22:47:46.318Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:47:46.629Z] ---> create-netrc.sh [Pipeline] } [2021-07-30T22:47:46.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:47:47.020Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-30T22:47:47.034Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:47:47.342Z] ---> sudo-logs.sh [2021-07-30T22:47:47.342Z] Archiving 'sudo' log.. [2021-07-30T22:47:47.342Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1102.vexxhost.local: Name or service not known [2021-07-30T22:47:47.342Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1102.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-07-30T22:47:47.378Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:47:47.691Z] ---> job-cost.sh [2021-07-30T22:47:47.691Z] lf-activate-venv: SKIPPING [2021-07-30T22:47:47.691Z] DEBUG: total: 0.18000000715255737 [2021-07-30T22:47:47.691Z] INFO: Retrieving Stack Cost... [2021-07-30T22:47:48.654Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-30T22:47:48.920Z] INFO: Archiving Costs [Pipeline] echo [2021-07-30T22:47:48.937Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-30T22:47:49.246Z] ---> logs-deploy.sh [2021-07-30T22:47:49.246Z] lf-activate-venv: SKIPPING [2021-07-30T22:47:49.246Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/3 [2021-07-30T22:47:49.246Z] INFO: archiving workspace using pattern(s): [2021-07-30T22:47:49.831Z] Archives upload complete. [2021-07-30T22:47:50.100Z] INFO: archiving logs to Nexus