Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 35fb886f332368eaee04ec4bf3cbfd710208dc4c 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-ssh7122720857039697468.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh4756152624470236445.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 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 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-ssh3666413410773929236.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 # timeout=10 Commit message: "Merge pull request #353 from ernestojeda/go-mod-tidy-change" > 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-ssh3152566939642917149.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-ssh7691533025211254238.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3338 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 Avoid second fetch Checking out Revision 35fb886f332368eaee04ec4bf3cbfd710208dc4c (main) 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-ssh2355015908600860629.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 35fb886f332368eaee04ec4bf3cbfd710208dc4c # timeout=10 Commit message: "Merge pull request #1010 from ernestojeda/remove-build-dockerfile" > git rev-list --no-walk 39ad16619dd8276d7242ae1e5c4bbb2c20ba6f5d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-08-18T15:58:11.762Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-08-18T15:58:11.850Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-08-18T15:58:11.881Z] ========================================================= [2021-08-18T15:58:11.881Z] EdgeX Global Pipelines Version Info [2021-08-18T15:58:11.881Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-08-18T15:58:12.910Z] ------------------- [2021-08-18T15:58:12.911Z] stable info: [2021-08-18T15:58:12.911Z] ------------------- [2021-08-18T15:58:12.911Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-08-18T15:58:12.911Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-18T15:58:12.911Z] Message: update stable to v1.0.205 [2021-08-18T15:58:13.878Z] ------------------- [2021-08-18T15:58:13.878Z] experimental info: [2021-08-18T15:58:13.878Z] ------------------- [2021-08-18T15:58:13.878Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-08-18T15:58:13.878Z] Commit SHA: 6c5fdc1010301c282ffa2a40e20644f1c502bfa8 [2021-08-18T15:58:13.878Z] Message: update experimental to v1.0.205 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-08-18T15:58:14.014Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-08-18T15:58:14.039Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-08-18T15:58:14.064Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-08-18T15:58:14.088Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-08-18T15:58:14.112Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-08-18T15:58:14.137Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-08-18T15:58:14.161Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-08-18T15:58:14.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-08-18T15:58:14.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-08-18T15:58:14.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-08-18T15:58:14.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-08-18T15:58:14.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-08-18T15:58:14.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-08-18T15:58:14.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-08-18T15:58:14.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-08-18T15:58:14.392Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-08-18T15:58:14.419Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-08-18T15:58:14.454Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-08-18T15:58:14.480Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-08-18T15:58:14.506Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-08-18T15:58:14.532Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-08-18T15:58:14.558Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-08-18T15:58:14.585Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-08-18T15:58:14.611Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-08-18T15:58:14.637Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-08-18T15:58:14.666Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-08-18T15:58:14.693Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-08-18T15:58:14.720Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-08-18T15:58:14.746Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-08-18T15:58:14.775Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-08-18T15:58:14.801Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35fb886f332368eaee04ec4bf3cbfd710208dc4c [Pipeline] echo [2021-08-18T15:58:14.830Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35fb886 [Pipeline] echo [2021-08-18T15:58:14.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-18T15:58:14.948Z] provisioning config files... [2021-08-18T15:58:14.971Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5517994150181115331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-18T15:58:15.335Z] ---> docker-login.sh [2021-08-18T15:58:15.335Z] nexus3.edgexfoundry.org:10001 [2021-08-18T15:58:15.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T15:58:15.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T15:58:15.605Z] Configure a credential helper to remove this warning. See [2021-08-18T15:58:15.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T15:58:15.605Z] [2021-08-18T15:58:15.605Z] Login Succeeded [2021-08-18T15:58:15.605Z] nexus3.edgexfoundry.org:10002 [2021-08-18T15:58:15.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T15:58:15.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T15:58:15.605Z] Configure a credential helper to remove this warning. See [2021-08-18T15:58:15.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T15:58:15.605Z] [2021-08-18T15:58:15.605Z] Login Succeeded [2021-08-18T15:58:15.605Z] nexus3.edgexfoundry.org:10003 [2021-08-18T15:58:15.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T15:58:15.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T15:58:15.873Z] Configure a credential helper to remove this warning. See [2021-08-18T15:58:15.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T15:58:15.873Z] [2021-08-18T15:58:15.873Z] Login Succeeded [2021-08-18T15:58:15.873Z] nexus3.edgexfoundry.org:10004 [2021-08-18T15:58:15.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T15:58:15.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T15:58:15.873Z] Configure a credential helper to remove this warning. See [2021-08-18T15:58:15.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T15:58:15.873Z] [2021-08-18T15:58:15.873Z] Login Succeeded [2021-08-18T15:58:15.873Z] docker.io [2021-08-18T15:58:16.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T15:58:16.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T15:58:16.732Z] Configure a credential helper to remove this warning. See [2021-08-18T15:58:16.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T15:58:16.732Z] [2021-08-18T15:58:16.732Z] Login Succeeded [2021-08-18T15:58:16.732Z] ---> docker-login.sh ends [Pipeline] } [2021-08-18T15:58:16.746Z] 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-08-18T15:58:17.223Z] + git log --format=format:%s -1 35fb886f332368eaee04ec4bf3cbfd710208dc4c [Pipeline] echo [2021-08-18T15:58:17.281Z] GIT_COMMIT: 35fb886f332368eaee04ec4bf3cbfd710208dc4c, Commit Message: Merge pull request #1010 from ernestojeda/remove-build-dockerfile [Pipeline] echo [2021-08-18T15:58:17.296Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-08-18T15:58:17.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-18T15:58:17.893Z] [2021-08-18T15:58:17.893Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-08-18T15:58:18.444Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-18T15:58:18.444Z] latest: Pulling from edgex-devops/git-semver [2021-08-18T15:58:18.444Z] 31603596830f: Pulling fs layer [2021-08-18T15:58:18.444Z] d4622e32a9a9: Pulling fs layer [2021-08-18T15:58:18.444Z] 1030fce36090: Pulling fs layer [2021-08-18T15:58:18.444Z] 6c6cb7e1b49b: Pulling fs layer [2021-08-18T15:58:18.444Z] 6c6cb7e1b49b: Waiting [2021-08-18T15:58:18.444Z] d4622e32a9a9: Verifying Checksum [2021-08-18T15:58:18.444Z] d4622e32a9a9: Download complete [2021-08-18T15:58:19.034Z] 31603596830f: Verifying Checksum [2021-08-18T15:58:19.034Z] 31603596830f: Download complete [2021-08-18T15:58:19.034Z] 31603596830f: Pull complete [2021-08-18T15:58:19.034Z] d4622e32a9a9: Pull complete [2021-08-18T15:58:19.308Z] 6c6cb7e1b49b: Verifying Checksum [2021-08-18T15:58:19.308Z] 6c6cb7e1b49b: Download complete [2021-08-18T15:58:19.308Z] 1030fce36090: Verifying Checksum [2021-08-18T15:58:19.308Z] 1030fce36090: Download complete [2021-08-18T15:58:19.918Z] 1030fce36090: Pull complete [2021-08-18T15:58:20.185Z] 6c6cb7e1b49b: Pull complete [2021-08-18T15:58:20.185Z] Digest: sha256:98b6084a185347f7b64647794a0a4774a411b925a780a33b3032b91fe10e00ab [2021-08-18T15:58:20.185Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-18T15:58:20.185Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-08-18T15:58:20.295Z] prd-centos7-docker-4c-2g-3338 does not seem to be running inside a container [2021-08-18T15:58:20.366Z] $ 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-08-18T15:58:21.194Z] $ docker top 7bfe0ccbd6a919c41d51b9bc28e6c9c3949a0b0491e14de81e3ed3491ccb4a2e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-18T15:58:21.333Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-18T15:58:21.333Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-18T15:58:21.458Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-18T15:58:21.461Z] $ docker exec 7bfe0ccbd6a919c41d51b9bc28e6c9c3949a0b0491e14de81e3ed3491ccb4a2e ssh-agent [2021-08-18T15:58:21.578Z] SSH_AUTH_SOCK=/tmp/ssh-UX8oNRcOSxZ6/agent.13 [2021-08-18T15:58:21.578Z] SSH_AGENT_PID=20 [2021-08-18T15:58:21.593Z] Running ssh-add (command line suppressed) [2021-08-18T15:58:21.691Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1457986482799184645.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1457986482799184645.key) [2021-08-18T15:58:21.717Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-18T15:58:22.045Z] + git tag --points-at HEAD [Pipeline] } [2021-08-18T15:58:22.070Z] $ docker exec --env ******** --env ******** 7bfe0ccbd6a919c41d51b9bc28e6c9c3949a0b0491e14de81e3ed3491ccb4a2e ssh-agent -k [2021-08-18T15:58:22.169Z] unset SSH_AUTH_SOCK; [2021-08-18T15:58:22.169Z] unset SSH_AGENT_PID; [2021-08-18T15:58:22.170Z] echo Agent pid 20 killed; [2021-08-18T15:58:22.189Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-08-18T15:58:22.249Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-18T15:58:22.250Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-18T15:58:22.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-18T15:58:22.401Z] $ docker exec 7bfe0ccbd6a919c41d51b9bc28e6c9c3949a0b0491e14de81e3ed3491ccb4a2e ssh-agent [2021-08-18T15:58:22.529Z] SSH_AUTH_SOCK=/tmp/ssh-UccORr8GWvwD/agent.52 [2021-08-18T15:58:22.529Z] SSH_AGENT_PID=59 [2021-08-18T15:58:22.542Z] Running ssh-add (command line suppressed) [2021-08-18T15:58:22.654Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_106584665087960197.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_106584665087960197.key) [2021-08-18T15:58:22.680Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-18T15:58:23.010Z] + git semver init [2021-08-18T15:58:23.010Z] # -> Open(): unable to determine branch for HEAD [2021-08-18T15:58:23.010Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-08-18T15:58:23.010Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-18T15:58:23.010Z] # $SEMVER_REMOTE_NAME = origin [2021-08-18T15:58:23.010Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-18T15:58:23.010Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-18T15:58:23.010Z] # $SEMVER_BRANCH = main [2021-08-18T15:58:23.010Z] # $SEMVER_TEMP = /tmp/semver-777900493 [2021-08-18T15:58:23.010Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-08-18T15:58:24.437Z] # '/tmp/semver-777900493' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-08-18T15:58:24.437Z] # -> Force: false [2021-08-18T15:58:24.437Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-08-18T15:58:24.464Z] $ docker exec --env ******** --env ******** 7bfe0ccbd6a919c41d51b9bc28e6c9c3949a0b0491e14de81e3ed3491ccb4a2e ssh-agent -k [2021-08-18T15:58:24.555Z] unset SSH_AUTH_SOCK; [2021-08-18T15:58:24.555Z] unset SSH_AGENT_PID; [2021-08-18T15:58:24.555Z] echo Agent pid 59 killed; [2021-08-18T15:58:24.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-18T15:58:24.955Z] + git semver [Pipeline] } [2021-08-18T15:58:24.973Z] $ docker stop --time=1 7bfe0ccbd6a919c41d51b9bc28e6c9c3949a0b0491e14de81e3ed3491ccb4a2e [2021-08-18T15:58:26.219Z] $ docker rm -f 7bfe0ccbd6a919c41d51b9bc28e6c9c3949a0b0491e14de81e3ed3491ccb4a2e [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-18T15:58:26.618Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-08-18T15:58:27.023Z] Stashed 1 file(s) [Pipeline] echo [2021-08-18T15:58:27.026Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.9 [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-08-18T15:58:42.187Z] Still waiting to schedule task [2021-08-18T15:58:42.188Z] ‘prd-centos7-docker-4c-2g-3337’ is offline [2021-08-18T15:58:42.188Z] ‘prd-centos7-docker-4c-2g-3340’ is offline [2021-08-18T15:58:42.188Z] ‘prd-centos7-docker-4c-2g-3341’ is offline [2021-08-18T15:58:42.188Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-105’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-18T15:58:42.188Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3336’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-08-18T15:58:42.194Z] Still waiting to schedule task [2021-08-18T15:58:42.195Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-08-18T15:59:59.823Z] Running on prd-centos7-docker-4c-2g-3350 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-08-18T15:59:59.843Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-08-18T15:59:59.967Z] Selected Git installation does not exist. Using Default [2021-08-18T15:59:59.967Z] The recommended git tool is: NONE [2021-08-18T16:00:03.433Z] using credential edgex-jenkins-ssh [2021-08-18T16:00:03.462Z] Cloning the remote Git repository [2021-08-18T16:00:02.800Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-08-18T16:00:02.889Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-08-18T16:00:02.945Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-18T16:00:02.945Z] > git --version # timeout=10 [2021-08-18T16:00:02.950Z] > git --version # 'git version 2.24.4' [2021-08-18T16:00:02.952Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-18T16:00:02.979Z] [INFO] Currently running in a labeled security context [2021-08-18T16:00:02.980Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-08-18T16:00:02.980Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/6@tmp/jenkins-gitclient-ssh7401243346764469565.key [2021-08-18T16:00:03.001Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-18T16:00:05.895Z] Avoid second fetch [2021-08-18T16:00:05.896Z] Checking out Revision 35fb886f332368eaee04ec4bf3cbfd710208dc4c (main) [2021-08-18T16:00:05.388Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-18T16:00:05.400Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-18T16:00:05.434Z] > git config core.sparsecheckout # timeout=10 [2021-08-18T16:00:05.442Z] > git checkout -f 35fb886f332368eaee04ec4bf3cbfd710208dc4c # timeout=10 [2021-08-18T16:00:09.556Z] Commit message: "Merge pull request #1010 from ernestojeda/remove-build-dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-18T16:00:10.038Z] provisioning config files... [2021-08-18T16:00:10.057Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config1822890511084752155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:00:10.621Z] ---> docker-login.sh [2021-08-18T16:00:10.621Z] nexus3.edgexfoundry.org:10001 [2021-08-18T16:00:10.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T16:00:10.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T16:00:10.897Z] Configure a credential helper to remove this warning. See [2021-08-18T16:00:10.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T16:00:10.897Z] [2021-08-18T16:00:10.897Z] Login Succeeded [2021-08-18T16:00:10.897Z] nexus3.edgexfoundry.org:10002 [2021-08-18T16:00:10.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T16:00:16.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T16:00:16.263Z] Configure a credential helper to remove this warning. See [2021-08-18T16:00:16.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T16:00:16.263Z] [2021-08-18T16:00:16.263Z] Login Succeeded [2021-08-18T16:00:16.263Z] nexus3.edgexfoundry.org:10003 [2021-08-18T16:00:16.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T16:00:16.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T16:00:16.263Z] Configure a credential helper to remove this warning. See [2021-08-18T16:00:16.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T16:00:16.263Z] [2021-08-18T16:00:16.263Z] Login Succeeded [2021-08-18T16:00:16.263Z] nexus3.edgexfoundry.org:10004 [2021-08-18T16:00:16.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T16:00:16.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T16:00:16.263Z] Configure a credential helper to remove this warning. See [2021-08-18T16:00:16.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T16:00:16.263Z] [2021-08-18T16:00:16.263Z] Login Succeeded [2021-08-18T16:00:16.263Z] docker.io [2021-08-18T16:00:16.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T16:00:16.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T16:00:16.537Z] Configure a credential helper to remove this warning. See [2021-08-18T16:00:16.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T16:00:16.537Z] [2021-08-18T16:00:16.537Z] Login Succeeded [2021-08-18T16:00:16.537Z] ---> docker-login.sh ends [Pipeline] } [2021-08-18T16:00:16.590Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-18T16:00:16.797Z] ========================================================= [2021-08-18T16:00:16.797Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-08-18T16:00:16.797Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:00:17.146Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-08-18T16:00:17.146Z] Sending build context to Docker daemon 2.604MB [2021-08-18T16:00:17.146Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.12 [2021-08-18T16:00:17.146Z] Step 2/9 : FROM ${BASE} AS builder [2021-08-18T16:00:17.423Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-08-18T16:00:17.423Z] 540db60ca938: Pulling fs layer [2021-08-18T16:00:17.423Z] adcc1eea9eea: Pulling fs layer [2021-08-18T16:00:17.423Z] 4c4ab2625f07: Pulling fs layer [2021-08-18T16:00:17.423Z] db62176df00c: Pulling fs layer [2021-08-18T16:00:17.423Z] 3b30891b0d05: Pulling fs layer [2021-08-18T16:00:17.423Z] 06b49ca38bd5: Pulling fs layer [2021-08-18T16:00:17.423Z] c788192a36de: Pulling fs layer [2021-08-18T16:00:17.423Z] a77e37c0d609: Pulling fs layer [2021-08-18T16:00:17.423Z] c3185cebc471: Pulling fs layer [2021-08-18T16:00:17.423Z] 06b49ca38bd5: Waiting [2021-08-18T16:00:17.423Z] c788192a36de: Waiting [2021-08-18T16:00:17.423Z] a77e37c0d609: Waiting [2021-08-18T16:00:17.423Z] c3185cebc471: Waiting [2021-08-18T16:00:17.423Z] db62176df00c: Waiting [2021-08-18T16:00:17.423Z] 3b30891b0d05: Waiting [2021-08-18T16:00:17.423Z] 4c4ab2625f07: Verifying Checksum [2021-08-18T16:00:17.423Z] 4c4ab2625f07: Download complete [2021-08-18T16:00:17.423Z] adcc1eea9eea: Download complete [2021-08-18T16:00:17.423Z] 3b30891b0d05: Verifying Checksum [2021-08-18T16:00:17.423Z] 3b30891b0d05: Download complete [2021-08-18T16:00:17.423Z] 06b49ca38bd5: Verifying Checksum [2021-08-18T16:00:17.423Z] 06b49ca38bd5: Download complete [2021-08-18T16:00:17.423Z] c788192a36de: Verifying Checksum [2021-08-18T16:00:17.424Z] c788192a36de: Download complete [2021-08-18T16:00:17.697Z] 540db60ca938: Verifying Checksum [2021-08-18T16:00:17.697Z] 540db60ca938: Download complete [2021-08-18T16:00:17.697Z] 540db60ca938: Pull complete [2021-08-18T16:00:17.966Z] adcc1eea9eea: Pull complete [2021-08-18T16:00:17.966Z] 4c4ab2625f07: Pull complete [2021-08-18T16:00:18.237Z] a77e37c0d609: Verifying Checksum [2021-08-18T16:00:18.237Z] a77e37c0d609: Download complete [2021-08-18T16:00:22.504Z] c3185cebc471: Verifying Checksum [2021-08-18T16:00:22.504Z] c3185cebc471: Download complete [2021-08-18T16:00:22.775Z] db62176df00c: Verifying Checksum [2021-08-18T16:00:22.775Z] db62176df00c: Download complete [2021-08-18T16:00:26.150Z] db62176df00c: Pull complete [2021-08-18T16:00:26.150Z] 3b30891b0d05: Pull complete [2021-08-18T16:00:26.150Z] 06b49ca38bd5: Pull complete [2021-08-18T16:00:26.150Z] c788192a36de: Pull complete [2021-08-18T16:00:26.425Z] a77e37c0d609: Pull complete [2021-08-18T16:00:28.422Z] c3185cebc471: Pull complete [2021-08-18T16:00:28.423Z] Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd [2021-08-18T16:00:28.423Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-08-18T16:00:28.423Z] ---> 031687cdd783 [2021-08-18T16:00:28.423Z] Step 3/9 : WORKDIR /device-sdk-go [2021-08-18T16:00:31.055Z] ---> Running in 6d69df97b69c [2021-08-18T16:00:31.055Z] Removing intermediate container 6d69df97b69c [2021-08-18T16:00:31.055Z] ---> 9b30b226f37e [2021-08-18T16:00:31.055Z] Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-18T16:00:31.055Z] ---> Running in 4511ebb76a2b [2021-08-18T16:00:31.055Z] Removing intermediate container 4511ebb76a2b [2021-08-18T16:00:31.055Z] ---> 72570230af75 [2021-08-18T16:00:31.055Z] Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-18T16:00:31.055Z] ---> Running in d056363a84ab [2021-08-18T16:00:31.657Z] Removing intermediate container d056363a84ab [2021-08-18T16:00:31.657Z] ---> 69d351683e2d [2021-08-18T16:00:31.657Z] Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-18T16:00:31.657Z] ---> Running in 6a7c675edfb2 [2021-08-18T16:00:31.927Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-18T16:00:32.901Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-18T16:00:33.174Z] OK: 219 MiB in 52 packages [2021-08-18T16:00:33.447Z] Removing intermediate container 6a7c675edfb2 [2021-08-18T16:00:33.447Z] ---> 3bbf488250ac [2021-08-18T16:00:33.447Z] Step 7/9 : COPY . . [2021-08-18T16:00:33.724Z] ---> d7f53f4d084a [2021-08-18T16:00:33.724Z] Step 8/9 : RUN go mod download [2021-08-18T16:00:33.724Z] ---> Running in 0ad382d8bb5d [2021-08-18T16:00:43.896Z] Removing intermediate container 0ad382d8bb5d [2021-08-18T16:00:43.896Z] ---> db00253f6815 [2021-08-18T16:00:43.896Z] Step 9/9 : RUN make build [2021-08-18T16:00:43.896Z] ---> Running in 5a0af52ba6ec [2021-08-18T16:00:43.896Z] go mod tidy [2021-08-18T16:00:44.166Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.9" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-08-18T16:00:54.521Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-18T16:00:55.128Z] Removing intermediate container 5a0af52ba6ec [2021-08-18T16:00:55.128Z] ---> 4a3a46c9f425 [2021-08-18T16:00:55.128Z] [Warning] One or more build-args [MAKE] were not consumed [2021-08-18T16:00:55.128Z] Successfully built 4a3a46c9f425 [2021-08-18T16:00:55.128Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:00:55.378Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3346 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-08-18T16:00:55.397Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2021-08-18T16:00:55.505Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-18T16:00:55.505Z] . [Pipeline] withDockerContainer [2021-08-18T16:00:55.625Z] prd-centos7-docker-4c-2g-3350 does not seem to be running inside a container [2021-08-18T16:00:55.656Z] Selected Git installation does not exist. Using Default [2021-08-18T16:00:55.656Z] The recommended git tool is: NONE [2021-08-18T16:00:55.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-08-18T16:00:56.123Z] $ docker top d4d9146fe07090bf196443965940c7696fc4cb50ebbd2c7804fcc00a086bf77e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-18T16:00:56.544Z] + go version [2021-08-18T16:00:56.544Z] go version go1.16.6 linux/amd64 [Pipeline] } [2021-08-18T16:00:56.569Z] $ docker stop --time=1 d4d9146fe07090bf196443965940c7696fc4cb50ebbd2c7804fcc00a086bf77e [2021-08-18T16:00:57.770Z] $ docker rm -f d4d9146fe07090bf196443965940c7696fc4cb50ebbd2c7804fcc00a086bf77e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:00:58.278Z] + docker inspect -f . ci-base-image-x86_64 [2021-08-18T16:00:58.278Z] . [Pipeline] withDockerContainer [2021-08-18T16:00:58.377Z] prd-centos7-docker-4c-2g-3350 does not seem to be running inside a container [2021-08-18T16:00:58.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-08-18T16:00:58.868Z] $ docker top 1c69254bac1b92aeb431a6f1a3cf3f81e26470abff1083ef30da8a424156619b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-18T16:00:59.304Z] + go mod tidy [Pipeline] sh [2021-08-18T16:00:59.905Z] + make test [2021-08-18T16:00:59.905Z] go mod tidy [2021-08-18T16:00:59.905Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-18T16:01:01.912Z] using credential edgex-jenkins-ssh [2021-08-18T16:01:01.948Z] Cloning the remote Git repository [2021-08-18T16:01:02.072Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-08-18T16:01:02.236Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2021-08-18T16:01:02.381Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-08-18T16:01:02.382Z] > git --version # timeout=10 [2021-08-18T16:01:02.403Z] > git --version # 'git version 2.17.1' [2021-08-18T16:01:02.406Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-08-18T16:01:02.490Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-18T16:01:04.902Z] Avoid second fetch [2021-08-18T16:01:04.902Z] Checking out Revision 35fb886f332368eaee04ec4bf3cbfd710208dc4c (main) [2021-08-18T16:01:05.291Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-08-18T16:01:04.835Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-08-18T16:01:04.864Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-08-18T16:01:04.925Z] > git config core.sparsecheckout # timeout=10 [2021-08-18T16:01:04.943Z] > git checkout -f 35fb886f332368eaee04ec4bf3cbfd710208dc4c # timeout=10 [2021-08-18T16:01:09.517Z] Commit message: "Merge pull request #1010 from ernestojeda/remove-build-dockerfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-18T16:01:09.878Z] provisioning config files... [2021-08-18T16:01:09.916Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config1650661393931636336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:01:10.539Z] ---> docker-login.sh [2021-08-18T16:01:10.539Z] nexus3.edgexfoundry.org:10001 [2021-08-18T16:01:11.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T16:01:11.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T16:01:11.800Z] Configure a credential helper to remove this warning. See [2021-08-18T16:01:11.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T16:01:11.800Z] [2021-08-18T16:01:11.800Z] Login Succeeded [2021-08-18T16:01:11.800Z] nexus3.edgexfoundry.org:10002 [2021-08-18T16:01:12.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T16:01:12.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T16:01:12.361Z] Configure a credential helper to remove this warning. See [2021-08-18T16:01:12.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T16:01:12.361Z] [2021-08-18T16:01:12.361Z] Login Succeeded [2021-08-18T16:01:12.361Z] nexus3.edgexfoundry.org:10003 [2021-08-18T16:01:12.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T16:01:12.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T16:01:12.918Z] Configure a credential helper to remove this warning. See [2021-08-18T16:01:12.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T16:01:12.918Z] [2021-08-18T16:01:12.918Z] Login Succeeded [2021-08-18T16:01:12.918Z] nexus3.edgexfoundry.org:10004 [2021-08-18T16:01:13.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T16:01:13.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T16:01:13.521Z] Configure a credential helper to remove this warning. See [2021-08-18T16:01:13.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T16:01:13.521Z] [2021-08-18T16:01:13.521Z] Login Succeeded [2021-08-18T16:01:13.521Z] docker.io [2021-08-18T16:01:14.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-08-18T16:01:14.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-08-18T16:01:14.728Z] Configure a credential helper to remove this warning. See [2021-08-18T16:01:14.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-08-18T16:01:14.728Z] [2021-08-18T16:01:14.728Z] Login Succeeded [2021-08-18T16:01:14.728Z] ---> docker-login.sh ends [Pipeline] } [2021-08-18T16:01:14.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-08-18T16:01:15.234Z] ========================================================= [2021-08-18T16:01:15.234Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-08-18T16:01:15.234Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:01:15.724Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-08-18T16:01:16.013Z] Sending build context to Docker daemon 2.593MB [2021-08-18T16:01:16.290Z] Step 1/9 : ARG BASE=golang:1.16-alpine3.12 [2021-08-18T16:01:16.290Z] Step 2/9 : FROM ${BASE} AS builder [2021-08-18T16:01:16.568Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-08-18T16:01:16.568Z] 595b0fe564bb: Pulling fs layer [2021-08-18T16:01:16.568Z] 24495759ef45: Pulling fs layer [2021-08-18T16:01:16.568Z] d148012ef14d: Pulling fs layer [2021-08-18T16:01:16.568Z] e90a11edd702: Pulling fs layer [2021-08-18T16:01:16.568Z] d77568369979: Pulling fs layer [2021-08-18T16:01:16.568Z] fc1c9f9a7f3b: Pulling fs layer [2021-08-18T16:01:16.568Z] 170f2ba95c9a: Pulling fs layer [2021-08-18T16:01:16.568Z] 97ac5df62f85: Pulling fs layer [2021-08-18T16:01:16.568Z] e90a11edd702: Waiting [2021-08-18T16:01:16.568Z] d77568369979: Waiting [2021-08-18T16:01:16.568Z] fc1c9f9a7f3b: Waiting [2021-08-18T16:01:16.568Z] 97ac5df62f85: Waiting [2021-08-18T16:01:16.568Z] 170f2ba95c9a: Waiting [2021-08-18T16:01:16.568Z] d148012ef14d: Verifying Checksum [2021-08-18T16:01:16.568Z] d148012ef14d: Download complete [2021-08-18T16:01:16.568Z] 24495759ef45: Verifying Checksum [2021-08-18T16:01:16.568Z] 24495759ef45: Download complete [2021-08-18T16:01:16.568Z] d77568369979: Download complete [2021-08-18T16:01:16.568Z] fc1c9f9a7f3b: Verifying Checksum [2021-08-18T16:01:16.568Z] fc1c9f9a7f3b: Download complete [2021-08-18T16:01:16.568Z] 170f2ba95c9a: Verifying Checksum [2021-08-18T16:01:16.568Z] 170f2ba95c9a: Download complete [2021-08-18T16:01:16.850Z] 595b0fe564bb: Verifying Checksum [2021-08-18T16:01:17.866Z] 595b0fe564bb: Pull complete [2021-08-18T16:01:18.869Z] 24495759ef45: Pull complete [2021-08-18T16:01:19.151Z] d148012ef14d: Pull complete [2021-08-18T16:01:21.173Z] 97ac5df62f85: Verifying Checksum [2021-08-18T16:01:21.173Z] 97ac5df62f85: Download complete [2021-08-18T16:01:21.457Z] e90a11edd702: Verifying Checksum [2021-08-18T16:01:21.457Z] e90a11edd702: Download complete [2021-08-18T16:01:27.490Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-08-18T16:01:27.490Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-08-18T16:01:27.490Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-08-18T16:01:29.458Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.065s coverage: 24.2% of statements [2021-08-18T16:01:29.458Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-08-18T16:01:29.458Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.051s coverage: 28.1% of statements [2021-08-18T16:01:29.727Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.063s coverage: 78.9% of statements [2021-08-18T16:01:29.993Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.043s coverage: 9.0% of statements [2021-08-18T16:01:29.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-08-18T16:01:29.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-08-18T16:01:29.993Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-08-18T16:01:30.587Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.067s coverage: 28.7% of statements [2021-08-18T16:01:30.587Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-08-18T16:01:32.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.070s coverage: 83.3% of statements [2021-08-18T16:01:32.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-08-18T16:01:32.016Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-08-18T16:01:32.016Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.073s coverage: 58.0% of statements [2021-08-18T16:01:33.195Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.836s coverage: 89.2% of statements [2021-08-18T16:01:33.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-08-18T16:01:33.195Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.053s coverage: 4.9% of statements [2021-08-18T16:01:33.195Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-08-18T16:01:33.195Z] GO111MODULE=on go vet ./... [2021-08-18T16:01:33.917Z] e90a11edd702: Pull complete [2021-08-18T16:01:33.917Z] d77568369979: Pull complete [2021-08-18T16:01:33.917Z] fc1c9f9a7f3b: Pull complete [2021-08-18T16:01:33.917Z] 170f2ba95c9a: Pull complete [2021-08-18T16:01:39.365Z] 97ac5df62f85: Pull complete [2021-08-18T16:01:39.365Z] Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 [2021-08-18T16:01:39.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-08-18T16:01:39.365Z] ---> 04bc70af865f [2021-08-18T16:01:39.365Z] Step 3/9 : WORKDIR /device-sdk-go [2021-08-18T16:01:43.399Z] gofmt -l . [2021-08-18T16:01:43.399Z] [ "`gofmt -l .`" = "" ] [2021-08-18T16:01:43.399Z] ./bin/test-attribution-txt.sh [2021-08-18T16:01:43.399Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-18T16:01:43.426Z] $ docker stop --time=1 1c69254bac1b92aeb431a6f1a3cf3f81e26470abff1083ef30da8a424156619b [2021-08-18T16:01:45.058Z] $ docker rm -f 1c69254bac1b92aeb431a6f1a3cf3f81e26470abff1083ef30da8a424156619b [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-18T16:01:45.557Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-18T16:01:45.825Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-08-18T16:01:46.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-18T16:01:47.154Z] + ls -al . [2021-08-18T16:01:47.154Z] total 232 [2021-08-18T16:01:47.154Z] drwxrwxr-x. 10 jenkins jenkins 4096 Aug 18 16:01 . [2021-08-18T16:01:47.154Z] drwxrwxr-x. 4 jenkins jenkins 28 Aug 18 16:00 .. [2021-08-18T16:01:47.154Z] drwxrwxr-x. 2 jenkins jenkins 64 Aug 18 16:00 bin [2021-08-18T16:01:47.154Z] -rw-rw-r--. 1 jenkins jenkins 24816 Aug 18 16:00 CHANGELOG.md [2021-08-18T16:01:47.154Z] -rw-r--r--. 1 jenkins jenkins 125635 Aug 18 16:01 coverage.out [2021-08-18T16:01:47.154Z] -rw-rw-r--. 1 jenkins jenkins 140 Aug 18 16:00 .dockerignore [2021-08-18T16:01:47.154Z] drwxrwxr-x. 5 jenkins jenkins 62 Aug 18 16:00 example [2021-08-18T16:01:47.154Z] drwxrwxr-x. 8 jenkins jenkins 162 Aug 18 16:00 .git [2021-08-18T16:01:47.154Z] drwxrwxr-x. 3 jenkins jenkins 125 Aug 18 16:00 .github [2021-08-18T16:01:47.154Z] -rw-rw-r--. 1 jenkins jenkins 138 Aug 18 16:00 .gitignore [2021-08-18T16:01:47.154Z] -rw-r--r--. 1 jenkins jenkins 548 Aug 18 16:01 go.mod [2021-08-18T16:01:47.154Z] -rw-r--r--. 1 jenkins jenkins 20301 Aug 18 16:00 go.sum [2021-08-18T16:01:47.154Z] -rw-rw-r--. 1 jenkins jenkins 677 Aug 18 16:00 GOVERNANCE.md [2021-08-18T16:01:47.154Z] drwxrwxr-x. 15 jenkins jenkins 224 Aug 18 16:00 internal [2021-08-18T16:01:47.154Z] -rw-rw-r--. 1 jenkins jenkins 880 Aug 18 16:00 Jenkinsfile [2021-08-18T16:01:47.154Z] -rw-rw-r--. 1 jenkins jenkins 11341 Aug 18 16:00 LICENSE [2021-08-18T16:01:47.154Z] -rw-rw-r--. 1 jenkins jenkins 1026 Aug 18 16:00 Makefile [2021-08-18T16:01:47.154Z] drwxrwxr-x. 3 jenkins jenkins 16 Aug 18 16:00 openapi [2021-08-18T16:01:47.154Z] -rw-rw-r--. 1 jenkins jenkins 619 Aug 18 16:00 OWNERS.md [2021-08-18T16:01:47.154Z] drwxrwxr-x. 5 jenkins jenkins 50 Aug 18 16:00 pkg [2021-08-18T16:01:47.154Z] -rw-rw-r--. 1 jenkins jenkins 7646 Aug 18 16:00 README.md [2021-08-18T16:01:47.154Z] drwxrwxr-x. 4 jenkins jenkins 54 Aug 18 16:00 snap [2021-08-18T16:01:47.154Z] -rw-rw-r--. 1 jenkins jenkins 11 Aug 18 15:58 VERSION [2021-08-18T16:01:47.154Z] -rw-rw-r--. 1 jenkins jenkins 222 Aug 18 16:00 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:01:47.495Z] + 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=35fb886f332368eaee04ec4bf3cbfd710208dc4c --label arch=amd64 --label version=2.0.1-dev.9 . [2021-08-18T16:01:47.495Z] Sending build context to Docker daemon 2.73MB [2021-08-18T16:01:47.495Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-08-18T16:01:47.495Z] Step 2/23 : FROM ${BASE} AS builder [2021-08-18T16:01:47.495Z] ---> 4a3a46c9f425 [2021-08-18T16:01:47.495Z] Step 3/23 : WORKDIR /device-sdk-go [2021-08-18T16:01:47.495Z] ---> Running in bc3dcb053262 [2021-08-18T16:01:47.764Z] Removing intermediate container bc3dcb053262 [2021-08-18T16:01:47.764Z] ---> ff2ef30f9d6c [2021-08-18T16:01:47.764Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-18T16:01:47.764Z] ---> Running in e205559167af [2021-08-18T16:01:47.764Z] Removing intermediate container e205559167af [2021-08-18T16:01:47.764Z] ---> fa29aa068145 [2021-08-18T16:01:47.764Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-18T16:01:47.764Z] ---> Running in cc8891977a87 [2021-08-18T16:01:48.354Z] Removing intermediate container cc8891977a87 [2021-08-18T16:01:48.354Z] ---> 15c216e882bb [2021-08-18T16:01:48.354Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-18T16:01:48.354Z] ---> Running in 89cfea6c57fd [2021-08-18T16:01:48.627Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-08-18T16:01:54.911Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-08-18T16:01:54.918Z] ---> Running in 589acb6ffeef [2021-08-18T16:01:54.918Z] Removing intermediate container 589acb6ffeef [2021-08-18T16:01:54.918Z] ---> 2c04596468b0 [2021-08-18T16:01:54.918Z] Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-18T16:01:54.918Z] ---> Running in 387d52043d14 [2021-08-18T16:01:54.918Z] Removing intermediate container 387d52043d14 [2021-08-18T16:01:54.918Z] ---> 3b116bd060a4 [2021-08-18T16:01:54.918Z] Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-18T16:01:54.918Z] ---> Running in f5cce6e5bff7 [2021-08-18T16:01:54.918Z] Removing intermediate container f5cce6e5bff7 [2021-08-18T16:01:54.918Z] ---> 2a38bbf473d4 [2021-08-18T16:01:54.918Z] Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-18T16:01:54.918Z] ---> Running in 00b0d95bae60 [2021-08-18T16:01:54.918Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-18T16:01:55.579Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-18T16:01:58.199Z] OK: 218 MiB in 52 packages [2021-08-18T16:01:58.722Z] OK: 219 MiB in 52 packages [2021-08-18T16:01:58.722Z] Removing intermediate container 89cfea6c57fd [2021-08-18T16:01:58.722Z] ---> b37f0b44db00 [2021-08-18T16:01:58.722Z] Step 7/23 : COPY . . [2021-08-18T16:01:58.995Z] ---> d7885b0566f0 [2021-08-18T16:01:58.995Z] Step 8/23 : RUN go mod download [2021-08-18T16:01:59.268Z] ---> Running in bd2c2ac5674c [2021-08-18T16:01:59.562Z] Removing intermediate container bd2c2ac5674c [2021-08-18T16:01:59.562Z] ---> 079d9658780f [2021-08-18T16:01:59.562Z] Step 9/23 : RUN make build [2021-08-18T16:01:59.562Z] ---> Running in cbe9c260e0ac [2021-08-18T16:01:59.691Z] Removing intermediate container 00b0d95bae60 [2021-08-18T16:01:59.691Z] ---> 556f14a9e9b4 [2021-08-18T16:01:59.691Z] Step 7/9 : COPY . . [2021-08-18T16:01:59.836Z] go mod tidy [2021-08-18T16:02:00.106Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.9" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-08-18T16:02:00.379Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-18T16:02:00.651Z] Removing intermediate container cbe9c260e0ac [2021-08-18T16:02:00.651Z] ---> 571521861fd5 [2021-08-18T16:02:00.651Z] Step 10/23 : FROM alpine:3.12 [2021-08-18T16:02:01.130Z] ---> 3403bd3e71e9 [2021-08-18T16:02:01.130Z] Step 8/9 : RUN go mod download [2021-08-18T16:02:01.407Z] ---> Running in 796ba94f0344 [2021-08-18T16:02:01.671Z] 3.12: Pulling from library/alpine [2021-08-18T16:02:01.671Z] 339de151aab4: Pulling fs layer [2021-08-18T16:02:01.950Z] 339de151aab4: Verifying Checksum [2021-08-18T16:02:01.950Z] 339de151aab4: Download complete [2021-08-18T16:02:02.248Z] 339de151aab4: Pull complete [2021-08-18T16:02:02.248Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-18T16:02:02.248Z] Status: Downloaded newer image for alpine:3.12 [2021-08-18T16:02:02.248Z] ---> 13621d1b12d4 [2021-08-18T16:02:02.248Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-18T16:02:02.248Z] ---> Running in a8a25911a722 [2021-08-18T16:02:02.248Z] Removing intermediate container a8a25911a722 [2021-08-18T16:02:02.248Z] ---> ed537c3b9924 [2021-08-18T16:02:02.248Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-18T16:02:02.248Z] ---> Running in 6f3c6bef7354 [2021-08-18T16:02:02.747Z] Removing intermediate container 6f3c6bef7354 [2021-08-18T16:02:02.747Z] ---> 65b993f05dc6 [2021-08-18T16:02:02.747Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-08-18T16:02:02.747Z] ---> Running in aee86343bbf4 [2021-08-18T16:02:05.700Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-08-18T16:02:05.700Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-08-18T16:02:06.690Z] (1/5) Installing libgcc (9.3.0-r2) [2021-08-18T16:02:06.690Z] (2/5) Installing libsodium (1.0.18-r0) [2021-08-18T16:02:07.307Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-08-18T16:02:09.515Z] (4/5) Installing libzmq (4.3.3-r0) [2021-08-18T16:02:10.119Z] (5/5) Installing zeromq (4.3.3-r0) [2021-08-18T16:02:10.396Z] Executing busybox-1.31.1-r20.trigger [2021-08-18T16:02:10.396Z] OK: 8 MiB in 19 packages [2021-08-18T16:02:10.676Z] Removing intermediate container aee86343bbf4 [2021-08-18T16:02:10.676Z] ---> 36e3401a83df [2021-08-18T16:02:10.676Z] Step 14/23 : WORKDIR / [2021-08-18T16:02:10.676Z] ---> Running in 5d68de55e1b0 [2021-08-18T16:02:10.676Z] Removing intermediate container 5d68de55e1b0 [2021-08-18T16:02:10.676Z] ---> 81b5009481ed [2021-08-18T16:02:10.676Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-08-18T16:02:10.959Z] ---> c766770e4edf [2021-08-18T16:02:10.959Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-08-18T16:02:11.238Z] ---> dee0d62aa251 [2021-08-18T16:02:11.238Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-08-18T16:02:11.238Z] ---> 50136af046c7 [2021-08-18T16:02:11.238Z] Step 18/23 : EXPOSE 59999 [2021-08-18T16:02:11.517Z] ---> Running in 089dafd2e3c9 [2021-08-18T16:02:11.517Z] Removing intermediate container 089dafd2e3c9 [2021-08-18T16:02:11.517Z] ---> 58ea77fa4b7a [2021-08-18T16:02:11.517Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-08-18T16:02:11.517Z] ---> Running in a7e00df7e789 [2021-08-18T16:02:11.517Z] Removing intermediate container a7e00df7e789 [2021-08-18T16:02:11.517Z] ---> ec8f0dbdced8 [2021-08-18T16:02:11.518Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-18T16:02:11.518Z] ---> Running in 396377d9842c [2021-08-18T16:02:11.800Z] Removing intermediate container 396377d9842c [2021-08-18T16:02:11.801Z] ---> 72bfc8319666 [2021-08-18T16:02:11.801Z] Step 21/23 : LABEL arch=amd64 [2021-08-18T16:02:11.801Z] ---> Running in ea3d597d9893 [2021-08-18T16:02:11.801Z] Removing intermediate container ea3d597d9893 [2021-08-18T16:02:11.801Z] ---> 1cb99a24d80e [2021-08-18T16:02:11.801Z] Step 22/23 : LABEL git_sha=35fb886f332368eaee04ec4bf3cbfd710208dc4c [2021-08-18T16:02:11.801Z] ---> Running in 5309db3db2a9 [2021-08-18T16:02:11.801Z] Removing intermediate container 5309db3db2a9 [2021-08-18T16:02:11.801Z] ---> 78f5c6cb1b81 [2021-08-18T16:02:11.801Z] Step 23/23 : LABEL version=2.0.1-dev.9 [2021-08-18T16:02:11.801Z] ---> Running in edcedff974c9 [2021-08-18T16:02:12.079Z] Removing intermediate container edcedff974c9 [2021-08-18T16:02:12.079Z] ---> a81536b696e1 [2021-08-18T16:02:12.079Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-08-18T16:02:12.079Z] Successfully built a81536b696e1 [2021-08-18T16:02:12.079Z] 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-08-18T16:02:12.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-18T16:02:12.863Z] [2021-08-18T16:02:12.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:02:13.235Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-18T16:02:14.208Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-18T16:02:14.208Z] b4d181a07f80: Pulling fs layer [2021-08-18T16:02:14.208Z] a1111a8f2ec3: Pulling fs layer [2021-08-18T16:02:14.208Z] ed53099fbce6: Pulling fs layer [2021-08-18T16:02:14.208Z] dc539afda2c1: Pulling fs layer [2021-08-18T16:02:14.208Z] 77bc0d833cb6: Pulling fs layer [2021-08-18T16:02:14.208Z] 9065ff56babe: Pulling fs layer [2021-08-18T16:02:14.208Z] d287ab97295c: Pulling fs layer [2021-08-18T16:02:14.208Z] dc539afda2c1: Waiting [2021-08-18T16:02:14.208Z] 77bc0d833cb6: Waiting [2021-08-18T16:02:14.208Z] 9065ff56babe: Waiting [2021-08-18T16:02:14.208Z] d287ab97295c: Waiting [2021-08-18T16:02:14.796Z] a1111a8f2ec3: Verifying Checksum [2021-08-18T16:02:14.796Z] a1111a8f2ec3: Download complete [2021-08-18T16:02:14.796Z] dc539afda2c1: Verifying Checksum [2021-08-18T16:02:14.796Z] dc539afda2c1: Download complete [2021-08-18T16:02:15.763Z] 77bc0d833cb6: Verifying Checksum [2021-08-18T16:02:15.763Z] 77bc0d833cb6: Download complete [2021-08-18T16:02:15.763Z] 9065ff56babe: Verifying Checksum [2021-08-18T16:02:15.763Z] 9065ff56babe: Download complete [2021-08-18T16:02:15.763Z] ed53099fbce6: Verifying Checksum [2021-08-18T16:02:15.763Z] ed53099fbce6: Download complete [2021-08-18T16:02:17.184Z] b4d181a07f80: Verifying Checksum [2021-08-18T16:02:17.184Z] b4d181a07f80: Download complete [2021-08-18T16:02:18.159Z] b4d181a07f80: Pull complete [2021-08-18T16:02:18.436Z] a1111a8f2ec3: Pull complete [2021-08-18T16:02:19.032Z] ed53099fbce6: Pull complete [2021-08-18T16:02:19.032Z] dc539afda2c1: Pull complete [2021-08-18T16:02:19.324Z] 77bc0d833cb6: Pull complete [2021-08-18T16:02:19.324Z] 9065ff56babe: Pull complete [2021-08-18T16:02:22.663Z] d287ab97295c: Download complete [2021-08-18T16:02:26.962Z] d287ab97295c: Pull complete [2021-08-18T16:02:26.963Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-18T16:02:26.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-18T16:02:26.963Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-18T16:02:27.089Z] prd-centos7-docker-4c-2g-3350 does not seem to be running inside a container [2021-08-18T16:02:27.181Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-08-18T16:02:29.879Z] $ docker top 0eb9c7c36dd73408e0a8aca4df596114360f3e52875b9f402b12257c7f40fbfb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:02:30.368Z] ---> job-cost.sh [2021-08-18T16:02:30.368Z] lf-activate-venv: SKIPPING [2021-08-18T16:02:30.368Z] INFO: No Stack... [2021-08-18T16:02:31.985Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-18T16:02:31.985Z] INFO: Archiving Costs [Pipeline] sh [2021-08-18T16:02:32.340Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2021-08-18T16:02:32.340Z] + cut -d, -f6 [Pipeline] lock [2021-08-18T16:02:32.383Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-6-stack-cost] [2021-08-18T16:02:32.396Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-6-stack-cost] did not exist. Created. [2021-08-18T16:02:32.397Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-18T16:02:32.764Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-08-18T16:02:32.814Z] Stashed 1 file(s) [Pipeline] } [2021-08-18T16:02:32.860Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-6-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-18T16:02:32.905Z] $ docker stop --time=1 0eb9c7c36dd73408e0a8aca4df596114360f3e52875b9f402b12257c7f40fbfb [2021-08-18T16:02:35.268Z] $ docker rm -f 0eb9c7c36dd73408e0a8aca4df596114360f3e52875b9f402b12257c7f40fbfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-08-18T16:02:36.630Z] Removing intermediate container 796ba94f0344 [2021-08-18T16:02:36.630Z] ---> 01fa542400d2 [2021-08-18T16:02:36.630Z] Step 9/9 : RUN make build [2021-08-18T16:02:36.630Z] ---> Running in a9ce6aa6bef3 [2021-08-18T16:02:37.228Z] go mod tidy [2021-08-18T16:02:37.836Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.9" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-08-18T16:03:11.954Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-18T16:03:17.438Z] Removing intermediate container a9ce6aa6bef3 [2021-08-18T16:03:17.438Z] ---> d3efd695feed [2021-08-18T16:03:17.438Z] [Warning] One or more build-args [MAKE] were not consumed [2021-08-18T16:03:17.438Z] Successfully built d3efd695feed [2021-08-18T16:03:17.438Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:03:17.811Z] + docker inspect -f . ci-base-image-arm64 [2021-08-18T16:03:17.811Z] . [Pipeline] withDockerContainer [2021-08-18T16:03:18.142Z] prd-ubuntu18.04-docker-arm64-4c-16g-3346 does not seem to be running inside a container [2021-08-18T16:03:18.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-08-18T16:03:20.297Z] $ docker top 9c15b76abaad7a232af5dd28b990da93634ad409f62ffd41ecfae4fb8501ad65 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-18T16:03:21.368Z] + go version [2021-08-18T16:03:21.368Z] go version go1.16.6 linux/arm64 [Pipeline] } [2021-08-18T16:03:21.402Z] $ docker stop --time=1 9c15b76abaad7a232af5dd28b990da93634ad409f62ffd41ecfae4fb8501ad65 [2021-08-18T16:03:23.413Z] $ docker rm -f 9c15b76abaad7a232af5dd28b990da93634ad409f62ffd41ecfae4fb8501ad65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:03:24.162Z] + docker inspect -f . ci-base-image-arm64 [2021-08-18T16:03:24.162Z] . [Pipeline] withDockerContainer [2021-08-18T16:03:24.463Z] prd-ubuntu18.04-docker-arm64-4c-16g-3346 does not seem to be running inside a container [2021-08-18T16:03:24.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-08-18T16:03:26.584Z] $ docker top 609a92f80347a335ba7ab298c82c48ebc52ce75a05987dd02c55411033e43aaa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-08-18T16:03:27.552Z] + go mod tidy [Pipeline] sh [2021-08-18T16:03:28.827Z] + make test [2021-08-18T16:03:28.827Z] go mod tidy [2021-08-18T16:03:29.428Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-08-18T16:03:57.671Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-08-18T16:05:06.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-08-18T16:05:06.006Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-08-18T16:05:06.006Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-08-18T16:05:28.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.363s coverage: 24.2% of statements [2021-08-18T16:05:28.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-08-18T16:05:28.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.255s coverage: 28.1% of statements [2021-08-18T16:05:28.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.418s coverage: 78.9% of statements [2021-08-18T16:05:28.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.254s coverage: 9.0% of statements [2021-08-18T16:05:28.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-08-18T16:05:28.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-08-18T16:05:28.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-08-18T16:05:28.282Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.429s coverage: 28.7% of statements [2021-08-18T16:05:28.282Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-08-18T16:05:29.750Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.272s coverage: 83.3% of statements [2021-08-18T16:05:29.750Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-08-18T16:05:29.750Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-08-18T16:05:30.031Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.431s coverage: 58.0% of statements [2021-08-18T16:05:36.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.827s coverage: 89.2% of statements [2021-08-18T16:05:36.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-08-18T16:05:36.812Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.258s coverage: 4.9% of statements [2021-08-18T16:05:36.812Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-08-18T16:05:36.812Z] GO111MODULE=on go vet ./... [2021-08-18T16:06:15.879Z] gofmt -l . [2021-08-18T16:06:15.879Z] [ "`gofmt -l .`" = "" ] [2021-08-18T16:06:15.879Z] ./bin/test-attribution-txt.sh [2021-08-18T16:06:16.481Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-08-18T16:06:16.789Z] $ docker stop --time=1 609a92f80347a335ba7ab298c82c48ebc52ce75a05987dd02c55411033e43aaa [2021-08-18T16:06:19.136Z] $ docker rm -f 609a92f80347a335ba7ab298c82c48ebc52ce75a05987dd02c55411033e43aaa [Pipeline] // withDockerContainer [Pipeline] sh [2021-08-18T16:06:20.248Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-08-18T16:06:20.280Z] Warning: overwriting stash ‘coverage-report’ [2021-08-18T16:06:21.188Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-08-18T16:06:21.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-08-18T16:06:22.032Z] + ls -al . [2021-08-18T16:06:22.032Z] total 268 [2021-08-18T16:06:22.032Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 18 16:06 . [2021-08-18T16:06:22.032Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 18 16:01 .. [2021-08-18T16:06:22.032Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 18 16:01 .dockerignore [2021-08-18T16:06:22.032Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 18 16:01 .git [2021-08-18T16:06:22.032Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 18 16:01 .github [2021-08-18T16:06:22.032Z] -rw-rw-r-- 1 jenkins jenkins 138 Aug 18 16:01 .gitignore [2021-08-18T16:06:22.032Z] -rw-rw-r-- 1 jenkins jenkins 24816 Aug 18 16:01 CHANGELOG.md [2021-08-18T16:06:22.032Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 18 16:01 GOVERNANCE.md [2021-08-18T16:06:22.032Z] -rw-rw-r-- 1 jenkins jenkins 880 Aug 18 16:01 Jenkinsfile [2021-08-18T16:06:22.032Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 18 16:01 LICENSE [2021-08-18T16:06:22.032Z] -rw-rw-r-- 1 jenkins jenkins 1026 Aug 18 16:01 Makefile [2021-08-18T16:06:22.032Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 18 16:01 OWNERS.md [2021-08-18T16:06:22.032Z] -rw-rw-r-- 1 jenkins jenkins 7646 Aug 18 16:01 README.md [2021-08-18T16:06:22.032Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 18 15:58 VERSION [2021-08-18T16:06:22.032Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 18 16:01 bin [2021-08-18T16:06:22.032Z] -rw-r--r-- 1 jenkins jenkins 125634 Aug 18 16:05 coverage.out [2021-08-18T16:06:22.032Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 18 16:01 example [2021-08-18T16:06:22.032Z] -rw-r--r-- 1 jenkins jenkins 548 Aug 18 16:06 go.mod [2021-08-18T16:06:22.032Z] -rw-r--r-- 1 jenkins jenkins 20301 Aug 18 16:03 go.sum [2021-08-18T16:06:22.032Z] drwxrwxr-x 15 jenkins jenkins 4096 Aug 18 16:01 internal [2021-08-18T16:06:22.032Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 18 16:01 openapi [2021-08-18T16:06:22.032Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 18 16:01 pkg [2021-08-18T16:06:22.032Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 18 16:01 snap [2021-08-18T16:06:22.032Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 18 16:01 version.go [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:06:22.441Z] + 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=35fb886f332368eaee04ec4bf3cbfd710208dc4c --label arch=arm64 --label version=2.0.1-dev.9 . [2021-08-18T16:06:23.081Z] Sending build context to Docker daemon 2.719MB [2021-08-18T16:06:23.081Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-08-18T16:06:23.081Z] Step 2/23 : FROM ${BASE} AS builder [2021-08-18T16:06:23.081Z] ---> d3efd695feed [2021-08-18T16:06:23.081Z] Step 3/23 : WORKDIR /device-sdk-go [2021-08-18T16:06:23.685Z] ---> Running in 9d77755b9003 [2021-08-18T16:06:24.297Z] Removing intermediate container 9d77755b9003 [2021-08-18T16:06:24.297Z] ---> deef4adfed82 [2021-08-18T16:06:24.297Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-18T16:06:24.297Z] ---> Running in 3d7d2d4ce096 [2021-08-18T16:06:24.908Z] Removing intermediate container 3d7d2d4ce096 [2021-08-18T16:06:24.908Z] ---> a47a7a2c52f0 [2021-08-18T16:06:24.908Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-18T16:06:25.185Z] ---> Running in 43f89be4e147 [2021-08-18T16:06:27.837Z] Removing intermediate container 43f89be4e147 [2021-08-18T16:06:27.837Z] ---> 742f1e2862c9 [2021-08-18T16:06:27.837Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-08-18T16:06:27.837Z] ---> Running in 7e49713a2f79 [2021-08-18T16:06:29.283Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-08-18T16:06:30.717Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-08-18T16:06:31.699Z] OK: 218 MiB in 52 packages [2021-08-18T16:06:32.681Z] Removing intermediate container 7e49713a2f79 [2021-08-18T16:06:32.681Z] ---> 6825b874a22d [2021-08-18T16:06:32.681Z] Step 7/23 : COPY . . [2021-08-18T16:06:34.669Z] ---> 60bc948a5fad [2021-08-18T16:06:34.669Z] Step 8/23 : RUN go mod download [2021-08-18T16:06:34.669Z] ---> Running in 4eafcd780552 [2021-08-18T16:06:37.295Z] Removing intermediate container 4eafcd780552 [2021-08-18T16:06:37.295Z] ---> c525f1105bd3 [2021-08-18T16:06:37.295Z] Step 9/23 : RUN make build [2021-08-18T16:06:37.295Z] ---> Running in 8275ffbd4e3e [2021-08-18T16:06:38.731Z] go mod tidy [2021-08-18T16:06:39.009Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.9" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-08-18T16:06:40.450Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-08-18T16:06:43.873Z] Removing intermediate container 8275ffbd4e3e [2021-08-18T16:06:43.873Z] ---> 4e1dafa47284 [2021-08-18T16:06:43.873Z] Step 10/23 : FROM alpine:3.12 [2021-08-18T16:06:43.873Z] 3.12: Pulling from library/alpine [2021-08-18T16:06:43.873Z] d2f70382dc9a: Pulling fs layer [2021-08-18T16:06:43.873Z] d2f70382dc9a: Download complete [2021-08-18T16:06:43.873Z] d2f70382dc9a: Pull complete [2021-08-18T16:06:43.873Z] Digest: sha256:de25c7fc6c4f3a27c7f0c2dff454e4671823a34d88abd533f210848d527e0fbb [2021-08-18T16:06:43.873Z] Status: Downloaded newer image for alpine:3.12 [2021-08-18T16:06:43.873Z] ---> c4fd0aeabfcf [2021-08-18T16:06:43.873Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-08-18T16:06:44.150Z] ---> Running in 593676ba92b8 [2021-08-18T16:06:44.752Z] Removing intermediate container 593676ba92b8 [2021-08-18T16:06:44.752Z] ---> ce45b2f44f5a [2021-08-18T16:06:44.752Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-08-18T16:06:45.028Z] ---> Running in 8df999bdc869 [2021-08-18T16:06:47.659Z] Removing intermediate container 8df999bdc869 [2021-08-18T16:06:47.659Z] ---> 0b4303f48d95 [2021-08-18T16:06:47.659Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-08-18T16:06:47.932Z] ---> Running in 35610db22459 [2021-08-18T16:06:49.372Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-08-18T16:06:50.353Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-08-18T16:06:50.949Z] (1/5) Installing libgcc (9.3.0-r2) [2021-08-18T16:06:50.949Z] (2/5) Installing libsodium (1.0.18-r0) [2021-08-18T16:06:50.949Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-08-18T16:06:51.223Z] (4/5) Installing libzmq (4.3.3-r0) [2021-08-18T16:06:51.502Z] (5/5) Installing zeromq (4.3.3-r0) [2021-08-18T16:06:51.502Z] Executing busybox-1.31.1-r20.trigger [2021-08-18T16:06:51.775Z] OK: 8 MiB in 19 packages [2021-08-18T16:06:53.212Z] Removing intermediate container 35610db22459 [2021-08-18T16:06:53.212Z] ---> 722eab823cef [2021-08-18T16:06:53.212Z] Step 14/23 : WORKDIR / [2021-08-18T16:06:53.212Z] ---> Running in de704f9baa9c [2021-08-18T16:06:53.809Z] Removing intermediate container de704f9baa9c [2021-08-18T16:06:53.809Z] ---> d4c80bb27c04 [2021-08-18T16:06:53.809Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-08-18T16:06:54.790Z] ---> b4d73123ca2a [2021-08-18T16:06:54.790Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-08-18T16:06:56.227Z] ---> 64d0d1146c63 [2021-08-18T16:06:56.227Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-08-18T16:06:57.208Z] ---> d9883ccdb0fd [2021-08-18T16:06:57.208Z] Step 18/23 : EXPOSE 59999 [2021-08-18T16:06:57.208Z] ---> Running in 805a1c9c2f95 [2021-08-18T16:06:57.812Z] Removing intermediate container 805a1c9c2f95 [2021-08-18T16:06:57.812Z] ---> be939961ab65 [2021-08-18T16:06:57.812Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-08-18T16:06:57.812Z] ---> Running in 047c51497273 [2021-08-18T16:06:58.410Z] Removing intermediate container 047c51497273 [2021-08-18T16:06:58.410Z] ---> 43b6ba9c9446 [2021-08-18T16:06:58.410Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-08-18T16:06:58.685Z] ---> Running in 05a10ed30954 [2021-08-18T16:06:59.284Z] Removing intermediate container 05a10ed30954 [2021-08-18T16:06:59.284Z] ---> e3d59f11fc84 [2021-08-18T16:06:59.284Z] Step 21/23 : LABEL arch=arm64 [2021-08-18T16:06:59.284Z] ---> Running in bc0cf232a816 [2021-08-18T16:06:59.884Z] Removing intermediate container bc0cf232a816 [2021-08-18T16:06:59.884Z] ---> 3371ba628f8c [2021-08-18T16:06:59.884Z] Step 22/23 : LABEL git_sha=35fb886f332368eaee04ec4bf3cbfd710208dc4c [2021-08-18T16:06:59.884Z] ---> Running in 08352c5866e7 [2021-08-18T16:07:00.482Z] Removing intermediate container 08352c5866e7 [2021-08-18T16:07:00.482Z] ---> 73312ebe3b1c [2021-08-18T16:07:00.482Z] Step 23/23 : LABEL version=2.0.1-dev.9 [2021-08-18T16:07:00.755Z] ---> Running in b422bb8bc083 [2021-08-18T16:07:01.353Z] Removing intermediate container b422bb8bc083 [2021-08-18T16:07:01.353Z] ---> f0b902793fa1 [2021-08-18T16:07:01.353Z] [Warning] One or more build-args [MAKE ARCH] were not consumed [2021-08-18T16:07:01.353Z] Successfully built f0b902793fa1 [2021-08-18T16:07:01.353Z] 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-08-18T16:07:01.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-18T16:07:02.109Z] [2021-08-18T16:07:02.109Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:07:02.473Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-18T16:07:02.749Z] arm64: Pulling from edgex-lftools-log-publisher [2021-08-18T16:07:02.749Z] 448f6bf000e3: Pulling fs layer [2021-08-18T16:07:02.749Z] f757da607395: Pulling fs layer [2021-08-18T16:07:02.749Z] 05883995daec: Pulling fs layer [2021-08-18T16:07:02.749Z] 8603b9c90790: Pulling fs layer [2021-08-18T16:07:02.749Z] 1560dd03e051: Pulling fs layer [2021-08-18T16:07:02.749Z] 27f5ce0e4adf: Pulling fs layer [2021-08-18T16:07:02.749Z] c2d8d7efcc4b: Pulling fs layer [2021-08-18T16:07:02.749Z] 8603b9c90790: Waiting [2021-08-18T16:07:02.749Z] 1560dd03e051: Waiting [2021-08-18T16:07:02.749Z] 27f5ce0e4adf: Waiting [2021-08-18T16:07:02.749Z] c2d8d7efcc4b: Waiting [2021-08-18T16:07:03.349Z] f757da607395: Verifying Checksum [2021-08-18T16:07:03.349Z] f757da607395: Download complete [2021-08-18T16:07:03.349Z] 8603b9c90790: Verifying Checksum [2021-08-18T16:07:03.349Z] 8603b9c90790: Download complete [2021-08-18T16:07:03.349Z] 05883995daec: Verifying Checksum [2021-08-18T16:07:03.349Z] 05883995daec: Download complete [2021-08-18T16:07:03.349Z] 27f5ce0e4adf: Verifying Checksum [2021-08-18T16:07:03.349Z] 27f5ce0e4adf: Download complete [2021-08-18T16:07:03.349Z] 1560dd03e051: Verifying Checksum [2021-08-18T16:07:03.349Z] 1560dd03e051: Download complete [2021-08-18T16:07:04.333Z] 448f6bf000e3: Download complete [2021-08-18T16:07:07.720Z] c2d8d7efcc4b: Verifying Checksum [2021-08-18T16:07:07.720Z] c2d8d7efcc4b: Download complete [2021-08-18T16:07:07.720Z] 448f6bf000e3: Pull complete [2021-08-18T16:07:08.313Z] f757da607395: Pull complete [2021-08-18T16:07:09.739Z] 05883995daec: Pull complete [2021-08-18T16:07:10.010Z] 8603b9c90790: Pull complete [2021-08-18T16:07:10.986Z] 1560dd03e051: Pull complete [2021-08-18T16:07:11.259Z] 27f5ce0e4adf: Pull complete [2021-08-18T16:07:24.986Z] c2d8d7efcc4b: Pull complete [2021-08-18T16:07:24.986Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-08-18T16:07:24.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-08-18T16:07:24.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-08-18T16:07:25.225Z] prd-ubuntu18.04-docker-arm64-4c-16g-3346 does not seem to be running inside a container [2021-08-18T16:07:25.367Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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-08-18T16:07:31.574Z] $ docker top e68d17955a6cfa887aa1af6e40ecde4042a0cb5c8fd1d2e63cf72e3666a07954 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:07:32.638Z] ---> job-cost.sh [2021-08-18T16:07:32.638Z] lf-activate-venv: SKIPPING [2021-08-18T16:07:32.638Z] INFO: No Stack... [2021-08-18T16:07:34.526Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-08-18T16:07:34.526Z] INFO: Archiving Costs [Pipeline] sh [2021-08-18T16:07:35.224Z] + + cut -d, -f6 [2021-08-18T16:07:35.224Z] cat /w/workspace/device-sdk-go/6/archives/cost.csv [Pipeline] lock [2021-08-18T16:07:35.299Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-6-stack-cost] [2021-08-18T16:07:35.313Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-6-stack-cost] did not exist. Created. [2021-08-18T16:07:35.313Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-08-18T16:07:36.029Z] /w/workspace/device-sdk-go/6@tmp/durable-221b3ae4/script.sh: 1: /w/workspace/device-sdk-go/6@tmp/durable-221b3ae4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-08-18T16:07:36.706Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-08-18T16:07:36.739Z] Warning: overwriting stash ‘stack-cost’ [2021-08-18T16:07:36.816Z] Stashed 1 file(s) [Pipeline] } [2021-08-18T16:07:36.837Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-6-stack-cost] [Pipeline] // lock [Pipeline] } [2021-08-18T16:07:36.880Z] $ docker stop --time=1 e68d17955a6cfa887aa1af6e40ecde4042a0cb5c8fd1d2e63cf72e3666a07954 [2021-08-18T16:07:38.876Z] $ docker rm -f e68d17955a6cfa887aa1af6e40ecde4042a0cb5c8fd1d2e63cf72e3666a07954 [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-08-18T16:07:39.662Z] provisioning config files... [2021-08-18T16:07:39.677Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7580220020160414400tmp [Pipeline] { [Pipeline] sh [2021-08-18T16:07:40.035Z] + set +x [2021-08-18T16:07:40.035Z] + curl -s https://codecov.io/bash [2021-08-18T16:07:40.035Z] + bash -s -- [2021-08-18T16:07:40.035Z] [2021-08-18T16:07:40.035Z] _____ _ [2021-08-18T16:07:40.035Z] / ____| | | [2021-08-18T16:07:40.035Z] | | ___ __| | ___ ___ _____ __ [2021-08-18T16:07:40.035Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-08-18T16:07:40.035Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-08-18T16:07:40.035Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-08-18T16:07:40.035Z] Bash-1.0.6 [2021-08-18T16:07:40.035Z] [2021-08-18T16:07:40.035Z] [2021-08-18T16:07:40.035Z] ==> git version 2.24.4 found [2021-08-18T16:07:40.035Z] ==> 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-08-18T16:07:40.035Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-08-18T16:07:40.035Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-08-18T16:07:40.035Z] ==> Jenkins CI detected. [2021-08-18T16:07:40.035Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-18T16:07:40.035Z] project root: . [2021-08-18T16:07:40.035Z] --> token set from env [2021-08-18T16:07:40.035Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-08-18T16:07:40.035Z] ==> Running gcov in . (disable via -X gcov) [2021-08-18T16:07:40.035Z] ==> Python coveragepy not found [2021-08-18T16:07:40.035Z] ==> Searching for coverage reports in: [2021-08-18T16:07:40.035Z] + . [2021-08-18T16:07:40.035Z] -> Found 1 reports [2021-08-18T16:07:40.035Z] ==> Detecting git/mercurial file structure [2021-08-18T16:07:40.035Z] ==> Reading reports [2021-08-18T16:07:40.304Z] + ./coverage.out bytes=125634 [2021-08-18T16:07:40.304Z] ==> Appending adjustments [2021-08-18T16:07:40.304Z] https://docs.codecov.io/docs/fixing-reports [2021-08-18T16:07:40.304Z] + Found adjustments [2021-08-18T16:07:40.304Z] ==> Gzipping contents [2021-08-18T16:07:40.304Z] 16K /tmp/codecov.NVnP55.gz [2021-08-18T16:07:40.304Z] ==> Uploading reports [2021-08-18T16:07:40.304Z] url: https://codecov.io [2021-08-18T16:07:40.304Z] query: branch=main&commit=35fb886f332368eaee04ec4bf3cbfd710208dc4c&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-18T16:07:40.575Z] -> Pinging Codecov [2021-08-18T16:07:40.575Z] 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=35fb886f332368eaee04ec4bf3cbfd710208dc4c&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-08-18T16:07:40.852Z] -> Uploading to [2021-08-18T16:07:40.852Z] https://storage.googleapis.com/codecov/v4/raw/2021-08-18/7E55EF52A471D76F132DFD9A03CDDE97/35fb886f332368eaee04ec4bf3cbfd710208dc4c/8583d13a-9bfc-4e7a-a96f-17ca74c70173.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210818%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210818T160740Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8df59f4676179744aec0e67134d08a091a0f26df1083e57795e246255694309f [2021-08-18T16:07:40.852Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-18T16:07:40.852Z] Dload Upload Total Spent Left Speed [2021-08-18T16:07:41.448Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16024 0 0 100 16024 0 30597 --:--:-- --:--:-- --:--:-- 30638 [2021-08-18T16:07:41.448Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/35fb886f332368eaee04ec4bf3cbfd710208dc4c [Pipeline] } [2021-08-18T16:07:41.463Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-08-18T16:07:41.718Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-08-18T16:07:41.736Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:07:42.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-18T16:07:42.069Z] [2021-08-18T16:07:42.069Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:07:42.416Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-18T16:07:42.683Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-08-18T16:07:42.683Z] 188c0c94c7c5: Pulling fs layer [2021-08-18T16:07:42.683Z] 0ef7d3d256c8: Pulling fs layer [2021-08-18T16:07:42.683Z] de9db76c5a1d: Pulling fs layer [2021-08-18T16:07:42.683Z] 0eba1c9be4d2: Pulling fs layer [2021-08-18T16:07:42.683Z] 0d57e429df01: Pulling fs layer [2021-08-18T16:07:42.683Z] 4e4be7b47b0d: Pulling fs layer [2021-08-18T16:07:42.683Z] e1f770b5df2f: Pulling fs layer [2021-08-18T16:07:42.683Z] 85a0685a4137: Pulling fs layer [2021-08-18T16:07:42.683Z] 0eba1c9be4d2: Waiting [2021-08-18T16:07:42.683Z] 0d57e429df01: Waiting [2021-08-18T16:07:42.683Z] 4e4be7b47b0d: Waiting [2021-08-18T16:07:42.683Z] e1f770b5df2f: Waiting [2021-08-18T16:07:42.683Z] 85a0685a4137: Waiting [2021-08-18T16:07:42.683Z] de9db76c5a1d: Verifying Checksum [2021-08-18T16:07:42.683Z] de9db76c5a1d: Download complete [2021-08-18T16:07:42.683Z] 0ef7d3d256c8: Verifying Checksum [2021-08-18T16:07:42.683Z] 0ef7d3d256c8: Download complete [2021-08-18T16:07:42.683Z] 0d57e429df01: Verifying Checksum [2021-08-18T16:07:42.683Z] 0d57e429df01: Download complete [2021-08-18T16:07:42.951Z] 4e4be7b47b0d: Verifying Checksum [2021-08-18T16:07:42.951Z] 4e4be7b47b0d: Download complete [2021-08-18T16:07:42.951Z] 188c0c94c7c5: Verifying Checksum [2021-08-18T16:07:42.951Z] 188c0c94c7c5: Download complete [2021-08-18T16:07:43.224Z] 188c0c94c7c5: Pull complete [2021-08-18T16:07:43.224Z] 0ef7d3d256c8: Pull complete [2021-08-18T16:07:43.492Z] de9db76c5a1d: Pull complete [2021-08-18T16:07:43.759Z] e1f770b5df2f: Verifying Checksum [2021-08-18T16:07:43.759Z] e1f770b5df2f: Download complete [2021-08-18T16:07:49.105Z] 0eba1c9be4d2: Verifying Checksum [2021-08-18T16:07:49.105Z] 0eba1c9be4d2: Download complete [2021-08-18T16:07:49.382Z] 85a0685a4137: Verifying Checksum [2021-08-18T16:07:49.382Z] 85a0685a4137: Download complete [2021-08-18T16:07:52.859Z] 0eba1c9be4d2: Pull complete [2021-08-18T16:07:52.859Z] 0d57e429df01: Pull complete [2021-08-18T16:07:52.859Z] 4e4be7b47b0d: Pull complete [2021-08-18T16:07:52.859Z] e1f770b5df2f: Pull complete [2021-08-18T16:07:55.680Z] 85a0685a4137: Pull complete [2021-08-18T16:07:55.680Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-08-18T16:07:55.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-08-18T16:07:55.680Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-08-18T16:07:55.785Z] prd-centos7-docker-4c-2g-3338 does not seem to be running inside a container [2021-08-18T16:07:55.865Z] $ 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-08-18T16:07:57.852Z] $ docker top 18272222ff4d5d73b8dd5740ff322cec73b39e493d1bb9979f981f7232109707 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-08-18T16:07:57.953Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-08-18T16:07:58.278Z] + set -o pipefail [2021-08-18T16:07:58.278Z] + snyk monitor '--org=edgex-jenkins' [2021-08-18T16:08:03.647Z] [2021-08-18T16:08:03.647Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-08-18T16:08:03.647Z] [2021-08-18T16:08:03.647Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/4560bef2-6d9e-46ed-b9bf-4f2a5dc525bc [2021-08-18T16:08:03.647Z] [2021-08-18T16:08:03.647Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-08-18T16:08:03.647Z] [2021-08-18T16:08:03.647Z] [2021-08-18T16:08:03.647Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-08-18T16:08:03.647Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-08-18T16:08:03.665Z] $ docker stop --time=1 18272222ff4d5d73b8dd5740ff322cec73b39e493d1bb9979f981f7232109707 [2021-08-18T16:08:05.437Z] $ docker rm -f 18272222ff4d5d73b8dd5740ff322cec73b39e493d1bb9979f981f7232109707 [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-08-18T16:08:06.074Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-18T16:08:06.094Z] provisioning config files... [2021-08-18T16:08:06.109Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5713964381400876982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:08:06.449Z] --> edgex-publish-swagger.sh [2021-08-18T16:08:06.449Z] === Publish openapi/v2 API === [2021-08-18T16:08:06.449Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-08-18T16:08:06.449Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-08-18T16:08:06.449Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-08-18T16:08:06.449Z] Dload Upload Total Spent Left Speed [2021-08-18T16:08:07.411Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51485 0 0 100 51485 0 210k --:--:-- --:--:-- --:--:-- 210k 100 51485 0 0 100 51485 0 52398 --:--:-- --:--:-- --:--:-- 52375 [2021-08-18T16:08:07.411Z] [2021-08-18T16:08:07.411Z] [Pipeline] } [2021-08-18T16:08:07.426Z] 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-08-18T16:08:07.942Z] + git log --format=format:%s -1 35fb886f332368eaee04ec4bf3cbfd710208dc4c [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:08:08.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-18T16:08:08.282Z] . [Pipeline] withDockerContainer [2021-08-18T16:08:08.395Z] prd-centos7-docker-4c-2g-3338 does not seem to be running inside a container [2021-08-18T16:08:08.469Z] $ 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-08-18T16:08:08.859Z] $ docker top f972393940cb0b942ae429b46ef19be71141b370e81166e51bfd6da5e070f1a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-18T16:08:08.997Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-18T16:08:08.997Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-18T16:08:09.110Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-18T16:08:09.115Z] $ docker exec f972393940cb0b942ae429b46ef19be71141b370e81166e51bfd6da5e070f1a6 ssh-agent [2021-08-18T16:08:09.248Z] SSH_AUTH_SOCK=/tmp/ssh-62FXaLZrSDkV/agent.13 [2021-08-18T16:08:09.248Z] SSH_AGENT_PID=19 [2021-08-18T16:08:09.258Z] Running ssh-add (command line suppressed) [2021-08-18T16:08:09.353Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7626475161955895259.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7626475161955895259.key) [2021-08-18T16:08:09.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-18T16:08:09.701Z] + git semver tag [2021-08-18T16:08:09.701Z] # -> Open(): unable to determine branch for HEAD [2021-08-18T16:08:09.701Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-08-18T16:08:09.701Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-18T16:08:09.701Z] # $SEMVER_REMOTE_NAME = origin [2021-08-18T16:08:09.701Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-18T16:08:09.701Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-18T16:08:09.701Z] # $SEMVER_BRANCH = main [2021-08-18T16:08:09.701Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-08-18T16:08:09.701Z] # 35fb886f332368eaee04ec4bf3cbfd710208dc4c HEAD [2021-08-18T16:08:09.701Z] # -> Force: false [2021-08-18T16:08:09.701Z] # 0d093d7b8db7a7ead043131c32a5b95dec3b808f refs/tags/v2.0.1-dev.9 [Pipeline] } [2021-08-18T16:08:09.717Z] $ docker exec --env ******** --env ******** f972393940cb0b942ae429b46ef19be71141b370e81166e51bfd6da5e070f1a6 ssh-agent -k [2021-08-18T16:08:09.809Z] unset SSH_AUTH_SOCK; [2021-08-18T16:08:09.809Z] unset SSH_AGENT_PID; [2021-08-18T16:08:09.809Z] echo Agent pid 19 killed; [2021-08-18T16:08:09.828Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-18T16:08:10.180Z] + git semver [Pipeline] } [2021-08-18T16:08:10.200Z] $ docker stop --time=1 f972393940cb0b942ae429b46ef19be71141b370e81166e51bfd6da5e070f1a6 [2021-08-18T16:08:11.402Z] $ docker rm -f f972393940cb0b942ae429b46ef19be71141b370e81166e51bfd6da5e070f1a6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:08:11.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-18T16:08:11.865Z] [2021-08-18T16:08:11.865Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:08:12.414Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-18T16:08:12.414Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-08-18T16:08:12.414Z] ab5ef0e58194: Pulling fs layer [2021-08-18T16:08:12.414Z] 9712f1f96733: Pulling fs layer [2021-08-18T16:08:12.414Z] 63f879dbbcfc: Pulling fs layer [2021-08-18T16:08:12.414Z] 0d9ebad4ef96: Pulling fs layer [2021-08-18T16:08:12.414Z] e9a5061849ea: Pulling fs layer [2021-08-18T16:08:12.414Z] d747dcd14b5f: Pulling fs layer [2021-08-18T16:08:12.414Z] 2de7ff778b66: Pulling fs layer [2021-08-18T16:08:12.414Z] e9a5061849ea: Waiting [2021-08-18T16:08:12.414Z] d747dcd14b5f: Waiting [2021-08-18T16:08:12.414Z] 2de7ff778b66: Waiting [2021-08-18T16:08:12.414Z] 0d9ebad4ef96: Waiting [2021-08-18T16:08:12.414Z] 9712f1f96733: Verifying Checksum [2021-08-18T16:08:12.414Z] 9712f1f96733: Download complete [2021-08-18T16:08:16.856Z] 63f879dbbcfc: Verifying Checksum [2021-08-18T16:08:16.856Z] 63f879dbbcfc: Download complete [2021-08-18T16:08:16.856Z] e9a5061849ea: Verifying Checksum [2021-08-18T16:08:16.856Z] e9a5061849ea: Download complete [2021-08-18T16:08:16.856Z] d747dcd14b5f: Verifying Checksum [2021-08-18T16:08:16.856Z] d747dcd14b5f: Download complete [2021-08-18T16:08:16.856Z] 0d9ebad4ef96: Verifying Checksum [2021-08-18T16:08:16.856Z] 0d9ebad4ef96: Download complete [2021-08-18T16:08:16.856Z] 2de7ff778b66: Verifying Checksum [2021-08-18T16:08:16.856Z] 2de7ff778b66: Download complete [2021-08-18T16:08:16.856Z] ab5ef0e58194: Verifying Checksum [2021-08-18T16:08:16.856Z] ab5ef0e58194: Download complete [2021-08-18T16:08:19.494Z] ab5ef0e58194: Pull complete [2021-08-18T16:08:19.494Z] 9712f1f96733: Pull complete [2021-08-18T16:08:20.465Z] 63f879dbbcfc: Pull complete [2021-08-18T16:08:23.872Z] 0d9ebad4ef96: Pull complete [2021-08-18T16:08:24.140Z] e9a5061849ea: Pull complete [2021-08-18T16:08:24.140Z] d747dcd14b5f: Pull complete [2021-08-18T16:08:25.109Z] 2de7ff778b66: Pull complete [2021-08-18T16:08:25.109Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-08-18T16:08:25.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-08-18T16:08:25.109Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-08-18T16:08:25.204Z] prd-centos7-docker-4c-2g-3338 does not seem to be running inside a container [2021-08-18T16:08:25.264Z] $ 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-08-18T16:08:28.531Z] $ docker top 4a8d0abb919e1c3e8a51a46621d0d19fa0690708558488471ea505193f713755 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-08-18T16:08:28.635Z] provisioning config files... [2021-08-18T16:08:28.648Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3356442475022413275tmp [2021-08-18T16:08:28.669Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config612294355768191051tmp [2021-08-18T16:08:28.688Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4207299937468701479tmp [Pipeline] { [Pipeline] echo [2021-08-18T16:08:28.715Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:08:29.029Z] ---> sigul-configuration.sh [2021-08-18T16:08:29.029Z] gpg: directory `/root/.gnupg' created [2021-08-18T16:08:29.029Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-08-18T16:08:29.029Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-08-18T16:08:29.029Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-08-18T16:08:29.029Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-08-18T16:08:29.029Z] gpg: CAST5 encrypted data [2021-08-18T16:08:29.029Z] gpg: encrypted with 1 passphrase [2021-08-18T16:08:29.029Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-08-18T16:08:29.356Z] + mkdir /home/jenkins [2021-08-18T16:08:29.357Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-08-18T16:08:29.895Z] + 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-08-18T16:08:29.910Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:08:30.234Z] ---> sigul-install.sh [2021-08-18T16:08:30.234Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-08-18T16:08:30.553Z] + git tag --list [2021-08-18T16:08:30.553Z] 0.7.1 [2021-08-18T16:08:30.553Z] delhi-tag [2021-08-18T16:08:30.553Z] v1.0.0 [2021-08-18T16:08:30.553Z] v1.1.0 [2021-08-18T16:08:30.553Z] v1.1.1 [2021-08-18T16:08:30.553Z] v1.1.2 [2021-08-18T16:08:30.553Z] v1.2.0 [2021-08-18T16:08:30.553Z] v1.2.1 [2021-08-18T16:08:30.553Z] v1.2.2 [2021-08-18T16:08:30.553Z] v1.2.3 [2021-08-18T16:08:30.553Z] v1.3.0 [2021-08-18T16:08:30.553Z] v1.4.0 [2021-08-18T16:08:30.553Z] v2.0.0 [2021-08-18T16:08:30.553Z] v2.0.1-dev.1 [2021-08-18T16:08:30.553Z] v2.0.1-dev.2 [2021-08-18T16:08:30.553Z] v2.0.1-dev.3 [2021-08-18T16:08:30.553Z] v2.0.1-dev.4 [2021-08-18T16:08:30.553Z] v2.0.1-dev.5 [2021-08-18T16:08:30.553Z] v2.0.1-dev.6 [2021-08-18T16:08:30.553Z] v2.0.1-dev.7 [2021-08-18T16:08:30.553Z] v2.0.1-dev.8 [2021-08-18T16:08:30.553Z] v2.0.1-dev.9 [Pipeline] sh [2021-08-18T16:08:30.879Z] + lftools sign git-tag v2.0.1-dev.9 [2021-08-18T16:08:31.475Z] Signing Git tag with Sigul... [2021-08-18T16:08:31.475Z] Signing v2.0.1-dev.9 [Pipeline] echo [2021-08-18T16:08:32.459Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:08:32.781Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-08-18T16:08:32.794Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-08-18T16:08:32.826Z] $ docker stop --time=1 4a8d0abb919e1c3e8a51a46621d0d19fa0690708558488471ea505193f713755 [2021-08-18T16:08:34.059Z] $ docker rm -f 4a8d0abb919e1c3e8a51a46621d0d19fa0690708558488471ea505193f713755 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:08:34.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-18T16:08:34.574Z] . [Pipeline] withDockerContainer [2021-08-18T16:08:34.670Z] prd-centos7-docker-4c-2g-3338 does not seem to be running inside a container [2021-08-18T16:08:34.736Z] $ 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-08-18T16:08:35.129Z] $ docker top 51693bda83e895ad1fc9699f896f8dba396a69284326c82aa39e4c24037660d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-18T16:08:35.274Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-18T16:08:35.274Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-18T16:08:35.394Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-18T16:08:35.399Z] $ docker exec 51693bda83e895ad1fc9699f896f8dba396a69284326c82aa39e4c24037660d3 ssh-agent [2021-08-18T16:08:35.515Z] SSH_AUTH_SOCK=/tmp/ssh-3eOJuoF4DAQM/agent.14 [2021-08-18T16:08:35.515Z] SSH_AGENT_PID=21 [2021-08-18T16:08:35.527Z] Running ssh-add (command line suppressed) [2021-08-18T16:08:35.632Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4220275009458645328.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4220275009458645328.key) [2021-08-18T16:08:35.660Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-18T16:08:35.986Z] + git semver bump pre [2021-08-18T16:08:35.986Z] # -> Open(): unable to determine branch for HEAD [2021-08-18T16:08:35.986Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-08-18T16:08:35.986Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-18T16:08:35.986Z] # $SEMVER_REMOTE_NAME = origin [2021-08-18T16:08:35.986Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-18T16:08:35.986Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-18T16:08:35.986Z] # $SEMVER_BRANCH = main [2021-08-18T16:08:35.986Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-08-18T16:08:35.986Z] 2.0.1-dev.10 [Pipeline] } [2021-08-18T16:08:36.006Z] $ docker exec --env ******** --env ******** 51693bda83e895ad1fc9699f896f8dba396a69284326c82aa39e4c24037660d3 ssh-agent -k [2021-08-18T16:08:36.100Z] unset SSH_AUTH_SOCK; [2021-08-18T16:08:36.100Z] unset SSH_AGENT_PID; [2021-08-18T16:08:36.100Z] echo Agent pid 21 killed; [2021-08-18T16:08:36.121Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-18T16:08:36.621Z] + git semver [Pipeline] } [2021-08-18T16:08:36.715Z] $ docker stop --time=1 51693bda83e895ad1fc9699f896f8dba396a69284326c82aa39e4c24037660d3 [2021-08-18T16:08:37.944Z] $ docker rm -f 51693bda83e895ad1fc9699f896f8dba396a69284326c82aa39e4c24037660d3 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:08:39.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-08-18T16:08:39.927Z] . [Pipeline] withDockerContainer [2021-08-18T16:08:40.021Z] prd-centos7-docker-4c-2g-3338 does not seem to be running inside a container [2021-08-18T16:08:40.084Z] $ 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-08-18T16:08:40.491Z] $ docker top 061cb7434422346f7a8bbbe655381c832fc3172e07fda15f671c480f090a4cf7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-08-18T16:08:40.620Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-08-18T16:08:40.620Z] [ssh-agent] Looking for ssh-agent implementation... [2021-08-18T16:08:40.736Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-08-18T16:08:40.737Z] $ docker exec 061cb7434422346f7a8bbbe655381c832fc3172e07fda15f671c480f090a4cf7 ssh-agent [2021-08-18T16:08:40.851Z] SSH_AUTH_SOCK=/tmp/ssh-HF7GUApViDSb/agent.14 [2021-08-18T16:08:40.851Z] SSH_AGENT_PID=22 [2021-08-18T16:08:40.861Z] Running ssh-add (command line suppressed) [2021-08-18T16:08:40.943Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3427640719218580920.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3427640719218580920.key) [2021-08-18T16:08:40.964Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-08-18T16:08:41.282Z] + git semver push [2021-08-18T16:08:41.283Z] # -> Open(): unable to determine branch for HEAD [2021-08-18T16:08:41.283Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-08-18T16:08:41.283Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-08-18T16:08:41.283Z] # $SEMVER_REMOTE_NAME = origin [2021-08-18T16:08:41.283Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-08-18T16:08:41.283Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-08-18T16:08:41.283Z] # $SEMVER_BRANCH = main [2021-08-18T16:08:41.283Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-08-18T16:08:43.457Z] $ docker exec --env ******** --env ******** 061cb7434422346f7a8bbbe655381c832fc3172e07fda15f671c480f090a4cf7 ssh-agent -k [2021-08-18T16:08:43.558Z] unset SSH_AUTH_SOCK; [2021-08-18T16:08:43.559Z] unset SSH_AGENT_PID; [2021-08-18T16:08:43.559Z] echo Agent pid 22 killed; [2021-08-18T16:08:43.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-08-18T16:08:43.944Z] + git semver [Pipeline] } [2021-08-18T16:08:43.982Z] $ docker stop --time=1 061cb7434422346f7a8bbbe655381c832fc3172e07fda15f671c480f090a4cf7 [2021-08-18T16:08:45.188Z] $ docker rm -f 061cb7434422346f7a8bbbe655381c832fc3172e07fda15f671c480f090a4cf7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-08-18T16:08:45.917Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:08:46.248Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:08:46.849Z] ---> package-listing.sh [2021-08-18T16:08:46.850Z] ++ facter osfamily [2021-08-18T16:08:46.850Z] ++ tr '[:upper:]' '[:lower:]' [2021-08-18T16:08:47.121Z] + OS_FAMILY=redhat [2021-08-18T16:08:47.121Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-08-18T16:08:47.121Z] + START_PACKAGES=/tmp/packages_start.txt [2021-08-18T16:08:47.121Z] + END_PACKAGES=/tmp/packages_end.txt [2021-08-18T16:08:47.121Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-08-18T16:08:47.121Z] + PACKAGES=/tmp/packages_start.txt [2021-08-18T16:08:47.121Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-08-18T16:08:47.121Z] + PACKAGES=/tmp/packages_end.txt [2021-08-18T16:08:47.121Z] + case "${OS_FAMILY}" in [2021-08-18T16:08:47.121Z] + rpm -qa [2021-08-18T16:08:47.121Z] + sort [2021-08-18T16:08:47.718Z] + '[' -f /tmp/packages_start.txt ']' [2021-08-18T16:08:47.718Z] + '[' -f /tmp/packages_end.txt ']' [2021-08-18T16:08:47.718Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-08-18T16:08:47.718Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-08-18T16:08:47.718Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-08-18T16:08:47.718Z] + 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-08-18T16:08:47.735Z] 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-08-18T16:08:48.040Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:08:48.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-18T16:08:48.623Z] [2021-08-18T16:08:48.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-08-18T16:08:48.954Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-18T16:08:48.955Z] latest: Pulling from edgex-lftools-log-publisher [2021-08-18T16:08:48.955Z] b4d181a07f80: Pulling fs layer [2021-08-18T16:08:48.955Z] a1111a8f2ec3: Pulling fs layer [2021-08-18T16:08:48.955Z] ed53099fbce6: Pulling fs layer [2021-08-18T16:08:48.955Z] dc539afda2c1: Pulling fs layer [2021-08-18T16:08:48.955Z] 77bc0d833cb6: Pulling fs layer [2021-08-18T16:08:48.955Z] 9065ff56babe: Pulling fs layer [2021-08-18T16:08:48.955Z] d287ab97295c: Pulling fs layer [2021-08-18T16:08:48.955Z] dc539afda2c1: Waiting [2021-08-18T16:08:48.955Z] 77bc0d833cb6: Waiting [2021-08-18T16:08:48.955Z] 9065ff56babe: Waiting [2021-08-18T16:08:48.955Z] d287ab97295c: Waiting [2021-08-18T16:08:49.221Z] a1111a8f2ec3: Download complete [2021-08-18T16:08:49.221Z] dc539afda2c1: Verifying Checksum [2021-08-18T16:08:49.221Z] dc539afda2c1: Download complete [2021-08-18T16:08:49.489Z] 77bc0d833cb6: Verifying Checksum [2021-08-18T16:08:49.489Z] 77bc0d833cb6: Download complete [2021-08-18T16:08:49.756Z] 9065ff56babe: Verifying Checksum [2021-08-18T16:08:49.756Z] 9065ff56babe: Download complete [2021-08-18T16:08:49.756Z] ed53099fbce6: Verifying Checksum [2021-08-18T16:08:49.756Z] ed53099fbce6: Download complete [2021-08-18T16:08:52.349Z] b4d181a07f80: Verifying Checksum [2021-08-18T16:08:52.349Z] b4d181a07f80: Download complete [2021-08-18T16:08:53.318Z] b4d181a07f80: Pull complete [2021-08-18T16:08:53.591Z] a1111a8f2ec3: Pull complete [2021-08-18T16:08:54.185Z] ed53099fbce6: Pull complete [2021-08-18T16:08:54.185Z] dc539afda2c1: Pull complete [2021-08-18T16:08:54.453Z] 77bc0d833cb6: Pull complete [2021-08-18T16:08:54.453Z] 9065ff56babe: Pull complete [2021-08-18T16:08:58.013Z] d287ab97295c: Verifying Checksum [2021-08-18T16:08:58.013Z] d287ab97295c: Download complete [2021-08-18T16:09:01.589Z] d287ab97295c: Pull complete [2021-08-18T16:09:01.589Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-08-18T16:09:01.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-08-18T16:09:01.589Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-08-18T16:09:01.697Z] prd-centos7-docker-4c-2g-3338 does not seem to be running inside a container [2021-08-18T16:09:01.775Z] $ 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-08-18T16:09:05.052Z] $ docker top 68773f39553a344db97dbb1458db7889e85c6076c75f6bda3e47f89db495e076 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-08-18T16:09:05.465Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-08-18T16:09:05.783Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-08-18T16:09:06.095Z] + ls /var/log/sa-host [2021-08-18T16:09:06.095Z] + sadf -c /var/log/sa-host/sa05 [2021-08-18T16:09:06.095Z] file_magic: OK [2021-08-18T16:09:06.095Z] HZ: Using current value: 100 [2021-08-18T16:09:06.095Z] file_header: OK [2021-08-18T16:09:06.095Z] 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-08-18T16:09:06.095Z] Statistics: [2021-08-18T16:09:06.095Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-08-18T16:09:06.095Z] File successfully converted to sysstat format version 12.0.3 [2021-08-18T16:09:06.095Z] + sadf -c /var/log/sa-host/sa18 [2021-08-18T16:09:06.095Z] file_magic: OK [2021-08-18T16:09:06.095Z] HZ: Using current value: 100 [2021-08-18T16:09:06.095Z] file_header: OK [2021-08-18T16:09:06.095Z] 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-08-18T16:09:06.095Z] Statistics: [2021-08-18T16:09:06.095Z] 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-08-18T16:09:06.095Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-08-18T16:09:06.264Z] provisioning config files... [2021-08-18T16:09:06.287Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1865192990100694938tmp [Pipeline] { [Pipeline] echo [2021-08-18T16:09:06.316Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:09:06.834Z] ---> create-netrc.sh [Pipeline] } [2021-08-18T16:09:06.849Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:09:07.232Z] ---> python-tools-install.sh [Pipeline] echo [2021-08-18T16:09:07.248Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:09:07.561Z] ---> sudo-logs.sh [2021-08-18T16:09:07.561Z] Archiving 'sudo' log.. [2021-08-18T16:09:07.561Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3338.vexxhost.local: Name or service not known [2021-08-18T16:09:07.561Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3338.vexxhost.local: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-08-18T16:09:07.592Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:09:07.915Z] ---> job-cost.sh [2021-08-18T16:09:07.915Z] lf-activate-venv: SKIPPING [2021-08-18T16:09:07.915Z] DEBUG: total: 0.18000000715255737 [2021-08-18T16:09:07.915Z] INFO: Retrieving Stack Cost... [2021-08-18T16:09:09.328Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-08-18T16:09:09.559Z] INFO: Archiving Costs [Pipeline] echo [2021-08-18T16:09:09.564Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-08-18T16:09:09.876Z] ---> logs-deploy.sh [2021-08-18T16:09:09.876Z] lf-activate-venv: SKIPPING [2021-08-18T16:09:09.876Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/6 [2021-08-18T16:09:09.876Z] INFO: archiving workspace using pattern(s): [2021-08-18T16:09:10.464Z] Archives upload complete. [2021-08-18T16:09:10.733Z] INFO: archiving logs to Nexus