Push event to branch main Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea Running in Durability level: MAX_SURVIVABILITY 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1992618647416248097.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1164179767807603321.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 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines # timeout=10 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 > git /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-ssh3800959328951070441.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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 > git /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-ssh1479786618068900066.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3976896698537862780.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines # timeout=10 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 > git /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-ssh6673058501916948485.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a 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_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-234 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh8082677555036934916.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea # timeout=10 Commit message: "Merge pull request #997 from hahattan/issue-996" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-07-06T22:40:05.109Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-07-06T22:40:05.365Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T22:40:05.477Z] ========================================================= [2021-07-06T22:40:05.477Z] EdgeX Global Pipelines Version Info [2021-07-06T22:40:05.477Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:40:07.111Z] ------------------- [2021-07-06T22:40:07.111Z] stable info: [2021-07-06T22:40:07.111Z] ------------------- [2021-07-06T22:40:07.111Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-07-06T22:40:07.111Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-06T22:40:07.111Z] Message: update stable to v1.0.196 [2021-07-06T22:40:07.691Z] ------------------- [2021-07-06T22:40:07.691Z] experimental info: [2021-07-06T22:40:07.691Z] ------------------- [2021-07-06T22:40:07.691Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-07-06T22:40:07.691Z] Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a [2021-07-06T22:40:07.691Z] Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-07-06T22:40:07.954Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-07-06T22:40:08.015Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-07-06T22:40:08.079Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-07-06T22:40:08.143Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-07-06T22:40:08.205Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-07-06T22:40:08.261Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-07-06T22:40:08.320Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-07-06T22:40:08.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-07-06T22:40:08.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-07-06T22:40:08.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-07-06T22:40:08.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-07-06T22:40:08.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-07-06T22:40:08.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-07-06T22:40:08.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-07-06T22:40:08.898Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-07-06T22:40:08.958Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-07-06T22:40:09.021Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-07-06T22:40:09.082Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-07-06T22:40:09.142Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-07-06T22:40:09.203Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-07-06T22:40:09.265Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-07-06T22:40:09.321Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-07-06T22:40:09.379Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-07-06T22:40:09.438Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-07-06T22:40:09.506Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-07-06T22:40:09.573Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-07-06T22:40:09.633Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-07-06T22:40:09.695Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-07-06T22:40:09.759Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-07-06T22:40:09.869Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea [Pipeline] echo [2021-07-06T22:40:09.940Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b7ab9a [Pipeline] echo [2021-07-06T22:40:10.025Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:40:10.202Z] provisioning config files... [2021-07-06T22:40:10.217Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5759826248391483832tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:40:10.617Z] ---> docker-login.sh [2021-07-06T22:40:10.617Z] nexus3.edgexfoundry.org:10001 [2021-07-06T22:40:11.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:11.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:11.199Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:11.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:11.199Z] [2021-07-06T22:40:11.199Z] Login Succeeded [2021-07-06T22:40:11.199Z] nexus3.edgexfoundry.org:10002 [2021-07-06T22:40:11.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:11.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:11.471Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:11.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:11.471Z] [2021-07-06T22:40:11.471Z] Login Succeeded [2021-07-06T22:40:11.471Z] nexus3.edgexfoundry.org:10003 [2021-07-06T22:40:11.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:11.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:11.471Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:11.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:11.471Z] [2021-07-06T22:40:11.471Z] Login Succeeded [2021-07-06T22:40:11.471Z] nexus3.edgexfoundry.org:10004 [2021-07-06T22:40:11.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:11.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:11.737Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:11.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:11.737Z] [2021-07-06T22:40:11.737Z] Login Succeeded [2021-07-06T22:40:11.737Z] docker.io [2021-07-06T22:40:11.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:40:11.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:40:11.999Z] Configure a credential helper to remove this warning. See [2021-07-06T22:40:11.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:40:11.999Z] [2021-07-06T22:40:11.999Z] Login Succeeded [2021-07-06T22:40:11.999Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T22:40:12.045Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T22:40:13.017Z] + git log --format=format:%s -1 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea [Pipeline] echo [2021-07-06T22:40:13.089Z] GIT_COMMIT: 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea, Commit Message: Merge pull request #997 from hahattan/issue-996 [Pipeline] echo [2021-07-06T22:40:13.139Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:40:13.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:40:13.779Z] [2021-07-06T22:40:13.779Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:40:14.143Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:40:14.407Z] latest: Pulling from edgex-devops/git-semver [2021-07-06T22:40:14.407Z] 31603596830f: Pulling fs layer [2021-07-06T22:40:14.407Z] 54011a49482f: Pulling fs layer [2021-07-06T22:40:14.407Z] a6820b24f6d8: Pulling fs layer [2021-07-06T22:40:14.407Z] f581987b2513: Pulling fs layer [2021-07-06T22:40:14.407Z] f581987b2513: Waiting [2021-07-06T22:40:14.407Z] 54011a49482f: Verifying Checksum [2021-07-06T22:40:14.407Z] 54011a49482f: Download complete [2021-07-06T22:40:14.407Z] 31603596830f: Verifying Checksum [2021-07-06T22:40:14.407Z] 31603596830f: Download complete [2021-07-06T22:40:14.407Z] f581987b2513: Verifying Checksum [2021-07-06T22:40:14.407Z] f581987b2513: Download complete [2021-07-06T22:40:14.407Z] a6820b24f6d8: Verifying Checksum [2021-07-06T22:40:14.407Z] a6820b24f6d8: Download complete [2021-07-06T22:40:14.677Z] 31603596830f: Pull complete [2021-07-06T22:40:14.950Z] 54011a49482f: Pull complete [2021-07-06T22:40:15.530Z] a6820b24f6d8: Pull complete [2021-07-06T22:40:15.799Z] f581987b2513: Pull complete [2021-07-06T22:40:16.061Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-07-06T22:40:16.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T22:40:16.061Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-07-06T22:40:16.168Z] prd-centos7-docker-4c-2g-234 does not seem to be running inside a container [2021-07-06T22:40:16.222Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T22:40:18.403Z] $ docker top 1f8b296c08d73c5eb1fc9895a7cf1defb2b95b77fdcdb6b38c16e2914cbc99fb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-07-06T22:40:18.618Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-06T22:40:18.619Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-06T22:40:18.732Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-06T22:40:18.735Z] $ docker exec 1f8b296c08d73c5eb1fc9895a7cf1defb2b95b77fdcdb6b38c16e2914cbc99fb ssh-agent [2021-07-06T22:40:18.847Z] SSH_AUTH_SOCK=/tmp/ssh-SQIQLncezLKl/agent.12 [2021-07-06T22:40:18.847Z] SSH_AGENT_PID=19 [2021-07-06T22:40:18.858Z] Running ssh-add (command line suppressed) [2021-07-06T22:40:18.963Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6727425882993580344.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6727425882993580344.key) [2021-07-06T22:40:18.979Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-06T22:40:19.353Z] + git tag --points-at HEAD [Pipeline] } [2021-07-06T22:40:19.378Z] $ docker exec --env ******** --env ******** 1f8b296c08d73c5eb1fc9895a7cf1defb2b95b77fdcdb6b38c16e2914cbc99fb ssh-agent -k [2021-07-06T22:40:19.478Z] unset SSH_AUTH_SOCK; [2021-07-06T22:40:19.479Z] unset SSH_AGENT_PID; [2021-07-06T22:40:19.479Z] echo Agent pid 19 killed; [2021-07-06T22:40:19.496Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2021-07-06T22:40:19.615Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.0.1-dev.4' [Pipeline] sshagent [2021-07-06T22:40:19.690Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-07-06T22:40:19.690Z] [ssh-agent] Looking for ssh-agent implementation... [2021-07-06T22:40:19.798Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-07-06T22:40:19.799Z] $ docker exec 1f8b296c08d73c5eb1fc9895a7cf1defb2b95b77fdcdb6b38c16e2914cbc99fb ssh-agent [2021-07-06T22:40:19.903Z] SSH_AUTH_SOCK=/tmp/ssh-mYst6Hx2Dpgl/agent.53 [2021-07-06T22:40:19.903Z] SSH_AGENT_PID=60 [2021-07-06T22:40:19.910Z] Running ssh-add (command line suppressed) [2021-07-06T22:40:20.001Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2813757801781164315.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2813757801781164315.key) [2021-07-06T22:40:20.019Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-07-06T22:40:20.380Z] + git semver init [2021-07-06T22:40:20.380Z] # -> Open(): unable to determine branch for HEAD [2021-07-06T22:40:20.380Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-07-06T22:40:20.380Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-07-06T22:40:20.380Z] # $SEMVER_REMOTE_NAME = origin [2021-07-06T22:40:20.380Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-07-06T22:40:20.380Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-07-06T22:40:20.380Z] # $SEMVER_BRANCH = main [2021-07-06T22:40:20.380Z] # $SEMVER_TEMP = /tmp/semver-016270981 [2021-07-06T22:40:20.380Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-07-06T22:40:20.960Z] # '/tmp/semver-016270981' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-07-06T22:40:20.960Z] # -> Force: false [2021-07-06T22:40:20.960Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-07-06T22:40:20.985Z] $ docker exec --env ******** --env ******** 1f8b296c08d73c5eb1fc9895a7cf1defb2b95b77fdcdb6b38c16e2914cbc99fb ssh-agent -k [2021-07-06T22:40:21.083Z] unset SSH_AUTH_SOCK; [2021-07-06T22:40:21.084Z] unset SSH_AGENT_PID; [2021-07-06T22:40:21.084Z] echo Agent pid 60 killed; [2021-07-06T22:40:21.099Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T22:40:21.563Z] + git semver [Pipeline] } [2021-07-06T22:40:21.590Z] $ docker stop --time=1 1f8b296c08d73c5eb1fc9895a7cf1defb2b95b77fdcdb6b38c16e2914cbc99fb [2021-07-06T22:40:22.822Z] $ docker rm -f 1f8b296c08d73c5eb1fc9895a7cf1defb2b95b77fdcdb6b38c16e2914cbc99fb [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T22:40:23.254Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-07-06T22:40:23.561Z] Stashed 1 file(s) [Pipeline] echo [2021-07-06T22:40:23.584Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-07-06T22:40:39.256Z] Still waiting to schedule task [2021-07-06T22:40:39.257Z] ‘prd-centos7-blackbox-4c-2g-1384’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-06T22:40:39.257Z] ‘prd-centos7-docker-4c-2g-215’ is offline [2021-07-06T22:40:39.257Z] ‘prd-centos7-docker-4c-2g-216’ is offline [2021-07-06T22:40:39.257Z] ‘prd-centos7-docker-4c-2g-235’ is offline [2021-07-06T22:40:39.258Z] ‘prd-centos7-docker-4c-2g-239’ is offline [2021-07-06T22:40:39.258Z] ‘prd-centos7-docker-4c-2g-241’ is offline [2021-07-06T22:40:39.258Z] ‘prd-centos7-docker-4c-2g-242’ is offline [2021-07-06T22:40:39.258Z] ‘prd-centos7-docker-4c-2g-243’ is offline [2021-07-06T22:40:39.258Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-232’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-07-06T22:40:39.285Z] Still waiting to schedule task [2021-07-06T22:40:39.285Z] ‘prd-centos7-blackbox-4c-2g-1384’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:39.285Z] ‘prd-centos7-docker-4c-2g-215’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:39.285Z] ‘prd-centos7-docker-4c-2g-216’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:39.285Z] ‘prd-centos7-docker-4c-2g-235’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:39.285Z] ‘prd-centos7-docker-4c-2g-239’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:39.285Z] ‘prd-centos7-docker-4c-2g-241’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:39.285Z] ‘prd-centos7-docker-4c-2g-242’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:39.285Z] ‘prd-centos7-docker-4c-2g-243’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-07-06T22:40:39.286Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-232’ is offline [2021-07-06T22:48:42.662Z] Running on prd-centos7-docker-4c-2g-652 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-07-06T22:48:42.723Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-07-06T22:48:42.877Z] Selected Git installation does not exist. Using Default [2021-07-06T22:48:42.878Z] The recommended git tool is: NONE [2021-07-06T22:48:45.297Z] using credential edgex-jenkins-ssh [2021-07-06T22:48:45.310Z] Cloning the remote Git repository [2021-07-06T22:48:46.151Z] Avoid second fetch [2021-07-06T22:48:46.152Z] Checking out Revision 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea (main) [2021-07-06T22:48:45.329Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-06T22:48:45.396Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-07-06T22:48:45.428Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-06T22:48:45.428Z] > git --version # timeout=10 [2021-07-06T22:48:45.433Z] > git --version # 'git version 2.24.4' [2021-07-06T22:48:45.433Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-06T22:48:45.452Z] [INFO] Currently running in a labeled security context [2021-07-06T22:48:45.452Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-07-06T22:48:45.452Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh1775660533796098093.key [2021-07-06T22:48:45.466Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:48:46.124Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-06T22:48:46.132Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:48:46.158Z] > git config core.sparsecheckout # timeout=10 [2021-07-06T22:48:46.168Z] > git checkout -f 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea # timeout=10 [2021-07-06T22:48:49.952Z] Commit message: "Merge pull request #997 from hahattan/issue-996" [2021-07-06T22:48:49.975Z] > git --version # timeout=10 [2021-07-06T22:48:49.978Z] > git --version # 'git version 2.24.4' [2021-07-06T22:48:49.984Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T22:48:51.281Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:48:51.691Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:48:52.067Z] + true [2021-07-06T22:48:52.067Z] + sudo service docker restart [2021-07-06T22:48:52.067Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T22:49:10.323Z] provisioning config files... [2021-07-06T22:49:10.341Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4172609014993181006tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T22:49:10.729Z] ---> docker-login.sh [2021-07-06T22:49:10.729Z] nexus3.edgexfoundry.org:10001 [2021-07-06T22:49:10.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:49:10.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:49:10.994Z] Configure a credential helper to remove this warning. See [2021-07-06T22:49:10.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:49:10.994Z] [2021-07-06T22:49:10.994Z] Login Succeeded [2021-07-06T22:49:10.994Z] nexus3.edgexfoundry.org:10002 [2021-07-06T22:49:11.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:49:11.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:49:11.259Z] Configure a credential helper to remove this warning. See [2021-07-06T22:49:11.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:49:11.259Z] [2021-07-06T22:49:11.259Z] Login Succeeded [2021-07-06T22:49:11.259Z] nexus3.edgexfoundry.org:10003 [2021-07-06T22:49:11.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:49:11.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:49:11.259Z] Configure a credential helper to remove this warning. See [2021-07-06T22:49:11.259Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:49:11.259Z] [2021-07-06T22:49:11.259Z] Login Succeeded [2021-07-06T22:49:11.259Z] nexus3.edgexfoundry.org:10004 [2021-07-06T22:49:11.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:49:11.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:49:11.519Z] Configure a credential helper to remove this warning. See [2021-07-06T22:49:11.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:49:11.520Z] [2021-07-06T22:49:11.520Z] Login Succeeded [2021-07-06T22:49:11.520Z] docker.io [2021-07-06T22:49:11.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T22:49:11.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T22:49:11.796Z] Configure a credential helper to remove this warning. See [2021-07-06T22:49:11.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T22:49:11.796Z] [2021-07-06T22:49:11.796Z] Login Succeeded [2021-07-06T22:49:11.796Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T22:49:11.830Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-06T22:49:12.146Z] ========================================================= [2021-07-06T22:49:12.146Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-07-06T22:49:12.146Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:49:12.518Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-07-06T22:49:12.518Z] Sending build context to Docker daemon 2.569MB [2021-07-06T22:49:12.518Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T22:49:12.518Z] Step 2/8 : FROM ${BASE} [2021-07-06T22:49:12.791Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-07-06T22:49:12.792Z] 540db60ca938: Pulling fs layer [2021-07-06T22:49:12.792Z] adcc1eea9eea: Pulling fs layer [2021-07-06T22:49:12.792Z] 4c4ab2625f07: Pulling fs layer [2021-07-06T22:49:12.792Z] 0510c868ecb4: Pulling fs layer [2021-07-06T22:49:12.792Z] afea3b2eda06: Pulling fs layer [2021-07-06T22:49:12.792Z] 7809a108b3ef: Pulling fs layer [2021-07-06T22:49:12.792Z] f706445af74f: Pulling fs layer [2021-07-06T22:49:12.792Z] 0510c868ecb4: Waiting [2021-07-06T22:49:12.792Z] afea3b2eda06: Waiting [2021-07-06T22:49:12.792Z] 7809a108b3ef: Waiting [2021-07-06T22:49:12.792Z] f706445af74f: Waiting [2021-07-06T22:49:12.792Z] 4c4ab2625f07: Verifying Checksum [2021-07-06T22:49:12.792Z] 4c4ab2625f07: Download complete [2021-07-06T22:49:12.792Z] adcc1eea9eea: Verifying Checksum [2021-07-06T22:49:12.792Z] adcc1eea9eea: Download complete [2021-07-06T22:49:12.792Z] afea3b2eda06: Verifying Checksum [2021-07-06T22:49:12.792Z] afea3b2eda06: Download complete [2021-07-06T22:49:12.792Z] 540db60ca938: Verifying Checksum [2021-07-06T22:49:12.792Z] 540db60ca938: Download complete [2021-07-06T22:49:12.792Z] 7809a108b3ef: Verifying Checksum [2021-07-06T22:49:12.792Z] 7809a108b3ef: Download complete [2021-07-06T22:49:13.063Z] 540db60ca938: Pull complete [2021-07-06T22:49:13.333Z] adcc1eea9eea: Pull complete [2021-07-06T22:49:13.333Z] 4c4ab2625f07: Pull complete [2021-07-06T22:49:14.297Z] f706445af74f: Verifying Checksum [2021-07-06T22:49:14.297Z] f706445af74f: Download complete [2021-07-06T22:49:15.254Z] 0510c868ecb4: Verifying Checksum [2021-07-06T22:49:15.254Z] 0510c868ecb4: Download complete [2021-07-06T22:49:18.629Z] 0510c868ecb4: Pull complete [2021-07-06T22:49:18.629Z] afea3b2eda06: Pull complete [2021-07-06T22:49:18.629Z] 7809a108b3ef: Pull complete [2021-07-06T22:49:20.105Z] f706445af74f: Pull complete [2021-07-06T22:49:20.105Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-07-06T22:49:20.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-07-06T22:49:20.105Z] ---> b068be0155e3 [2021-07-06T22:49:20.105Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-06T22:49:28.395Z] ---> Running in 33f93c12d091 [2021-07-06T22:49:28.395Z] Removing intermediate container 33f93c12d091 [2021-07-06T22:49:28.395Z] ---> ff1baf89cc0f [2021-07-06T22:49:28.395Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T22:49:28.395Z] ---> Running in 41427c15399c [2021-07-06T22:49:28.395Z] Removing intermediate container 41427c15399c [2021-07-06T22:49:28.395Z] ---> ef92d4e14650 [2021-07-06T22:49:28.395Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-06T22:49:28.395Z] ---> Running in b7d9e0810ba2 [2021-07-06T22:49:28.395Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-06T22:49:28.972Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-06T22:49:29.232Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-06T22:49:29.232Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-06T22:49:29.493Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-06T22:49:29.493Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-06T22:49:29.755Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-06T22:49:29.755Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-06T22:49:29.755Z] Executing busybox-1.32.1-r6.trigger [2021-07-06T22:49:29.755Z] OK: 150 MiB in 46 packages [2021-07-06T22:49:30.334Z] Removing intermediate container b7d9e0810ba2 [2021-07-06T22:49:30.334Z] ---> 9ec44615e0fc [2021-07-06T22:49:30.334Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-06T22:49:30.334Z] ---> Running in 7979dc9ee383 [2021-07-06T22:49:30.334Z] Removing intermediate container 7979dc9ee383 [2021-07-06T22:49:30.334Z] ---> 0b73e8223617 [2021-07-06T22:49:30.334Z] Step 7/8 : COPY . . [2021-07-06T22:49:30.603Z] ---> 52719074cdc1 [2021-07-06T22:49:30.603Z] Step 8/8 : RUN go mod download [2021-07-06T22:49:30.603Z] ---> Running in 3f69dd564976 [2021-07-06T22:49:42.990Z] Removing intermediate container 3f69dd564976 [2021-07-06T22:49:42.990Z] ---> 33199ad38373 [2021-07-06T22:49:42.990Z] Successfully built 33199ad38373 [2021-07-06T22:49:42.990Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:49:43.344Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-06T22:49:43.344Z] . [Pipeline] withDockerContainer [2021-07-06T22:49:43.479Z] prd-centos7-docker-4c-2g-652 does not seem to be running inside a container [2021-07-06T22:49:43.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-07-06T22:49:43.936Z] $ docker top fa55dd3aa840ac6519064d9b0f1f3a15cdbd139811532775c69d416af1f1d011 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:49:44.401Z] + go version [2021-07-06T22:49:44.401Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-07-06T22:49:44.440Z] $ docker stop --time=1 fa55dd3aa840ac6519064d9b0f1f3a15cdbd139811532775c69d416af1f1d011 [2021-07-06T22:49:45.620Z] $ docker rm -f fa55dd3aa840ac6519064d9b0f1f3a15cdbd139811532775c69d416af1f1d011 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:49:46.452Z] + docker inspect -f . ci-base-image-x86_64 [2021-07-06T22:49:46.452Z] . [Pipeline] withDockerContainer [2021-07-06T22:49:46.548Z] prd-centos7-docker-4c-2g-652 does not seem to be running inside a container [2021-07-06T22:49:46.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-x86_64 cat [2021-07-06T22:49:46.931Z] $ docker top a940239c37509752cbb81f107c714df37061c9cfb1bccd54d7872486deda2ead -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T22:49:47.367Z] + go mod tidy [Pipeline] sh [2021-07-06T22:49:47.962Z] + make test [2021-07-06T22:49:47.962Z] go mod tidy [2021-07-06T22:49:47.962Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-06T22:49:53.309Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-06T22:50:15.382Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-06T22:50:15.382Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-06T22:50:15.382Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-06T22:50:17.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.056s coverage: 24.2% of statements [2021-07-06T22:50:17.328Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-06T22:50:17.328Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.050s coverage: 28.1% of statements [2021-07-06T22:50:17.602Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.053s coverage: 78.9% of statements [2021-07-06T22:50:17.868Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.051s coverage: 9.0% of statements [2021-07-06T22:50:17.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-06T22:50:17.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-06T22:50:17.868Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-06T22:50:18.456Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.060s coverage: 28.7% of statements [2021-07-06T22:50:18.456Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-06T22:50:19.866Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.074s coverage: 83.3% of statements [2021-07-06T22:50:19.866Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-06T22:50:19.866Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-06T22:50:19.866Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 58.0% of statements [2021-07-06T22:50:20.830Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.811s coverage: 89.2% of statements [2021-07-06T22:50:20.830Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-06T22:50:20.830Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.067s coverage: 4.9% of statements [2021-07-06T22:50:20.830Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-06T22:50:21.095Z] GO111MODULE=on go vet ./... [2021-07-06T22:50:39.344Z] gofmt -l . [2021-07-06T22:50:39.344Z] [ "`gofmt -l .`" = "" ] [2021-07-06T22:50:39.344Z] ./bin/test-attribution-txt.sh [2021-07-06T22:50:39.344Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-06T22:50:39.400Z] $ docker stop --time=1 a940239c37509752cbb81f107c714df37061c9cfb1bccd54d7872486deda2ead [2021-07-06T22:50:40.989Z] $ docker rm -f a940239c37509752cbb81f107c714df37061c9cfb1bccd54d7872486deda2ead [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T22:50:41.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-06T22:50:41.912Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-07-06T22:50:43.354Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-06T22:50:43.726Z] + ls -al . [2021-07-06T22:50:43.726Z] total 228 [2021-07-06T22:50:43.726Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jul 6 22:50 . [2021-07-06T22:50:43.726Z] drwxrwxr-x. 4 jenkins jenkins 28 Jul 6 22:48 .. [2021-07-06T22:50:43.726Z] drwxrwxr-x. 2 jenkins jenkins 64 Jul 6 22:48 bin [2021-07-06T22:50:43.726Z] -rw-rw-r--. 1 jenkins jenkins 24816 Jul 6 22:48 CHANGELOG.md [2021-07-06T22:50:43.726Z] -rw-r--r--. 1 jenkins jenkins 125634 Jul 6 22:50 coverage.out [2021-07-06T22:50:43.726Z] -rw-rw-r--. 1 jenkins jenkins 987 Jul 6 22:48 Dockerfile.build [2021-07-06T22:50:43.726Z] -rw-rw-r--. 1 jenkins jenkins 140 Jul 6 22:48 .dockerignore [2021-07-06T22:50:43.726Z] drwxrwxr-x. 5 jenkins jenkins 62 Jul 6 22:48 example [2021-07-06T22:50:43.726Z] drwxrwxr-x. 8 jenkins jenkins 162 Jul 6 22:48 .git [2021-07-06T22:50:43.726Z] drwxrwxr-x. 2 jenkins jenkins 103 Jul 6 22:48 .github [2021-07-06T22:50:43.726Z] -rw-rw-r--. 1 jenkins jenkins 138 Jul 6 22:48 .gitignore [2021-07-06T22:50:43.726Z] -rw-r--r--. 1 jenkins jenkins 548 Jul 6 22:50 go.mod [2021-07-06T22:50:43.726Z] -rw-r--r--. 1 jenkins jenkins 20210 Jul 6 22:49 go.sum [2021-07-06T22:50:43.726Z] drwxrwxr-x. 15 jenkins jenkins 224 Jul 6 22:48 internal [2021-07-06T22:50:43.726Z] -rw-rw-r--. 1 jenkins jenkins 880 Jul 6 22:48 Jenkinsfile [2021-07-06T22:50:43.726Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jul 6 22:48 LICENSE [2021-07-06T22:50:43.726Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jul 6 22:48 Makefile [2021-07-06T22:50:43.726Z] drwxrwxr-x. 3 jenkins jenkins 16 Jul 6 22:48 openapi [2021-07-06T22:50:43.726Z] drwxrwxr-x. 5 jenkins jenkins 50 Jul 6 22:48 pkg [2021-07-06T22:50:43.726Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jul 6 22:48 README.md [2021-07-06T22:50:43.726Z] drwxrwxr-x. 4 jenkins jenkins 54 Jul 6 22:48 snap [2021-07-06T22:50:43.726Z] -rw-rw-r--. 1 jenkins jenkins 11 Jul 6 22:40 VERSION [2021-07-06T22:50:43.726Z] -rw-rw-r--. 1 jenkins jenkins 222 Jul 6 22:48 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-06T22:50:44.184Z] + 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=5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea --label arch=amd64 --label version=2.0.1-dev.5 . [2021-07-06T22:50:44.184Z] Sending build context to Docker daemon 2.696MB [2021-07-06T22:50:44.184Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T22:50:44.184Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-06T22:50:44.184Z] ---> 33199ad38373 [2021-07-06T22:50:44.184Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-06T22:50:44.184Z] ---> Running in 9210cd88c612 [2021-07-06T22:50:44.460Z] Removing intermediate container 9210cd88c612 [2021-07-06T22:50:44.460Z] ---> bd076392ceda [2021-07-06T22:50:44.460Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-06T22:50:44.460Z] ---> Running in 32be9b984c9f [2021-07-06T22:50:44.460Z] Removing intermediate container 32be9b984c9f [2021-07-06T22:50:44.460Z] ---> f8cfe507a2ca [2021-07-06T22:50:44.460Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T22:50:44.460Z] ---> Running in 60174ccf35ed [2021-07-06T22:50:45.047Z] Removing intermediate container 60174ccf35ed [2021-07-06T22:50:45.047Z] ---> 3c297c17ff43 [2021-07-06T22:50:45.047Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-06T22:50:45.047Z] ---> Running in 66d9dd0cb952 [2021-07-06T22:50:45.319Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-07-06T22:50:46.286Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-07-06T22:50:46.864Z] OK: 150 MiB in 46 packages [2021-07-06T22:50:47.168Z] Removing intermediate container 66d9dd0cb952 [2021-07-06T22:50:47.168Z] ---> ae720bd5aab0 [2021-07-06T22:50:47.168Z] Step 7/23 : COPY . . [2021-07-06T22:50:47.436Z] ---> a7925a92ee43 [2021-07-06T22:50:47.436Z] Step 8/23 : RUN go mod download [2021-07-06T22:50:47.436Z] ---> Running in 1bd8de47fe53 [2021-07-06T22:50:47.702Z] Removing intermediate container 1bd8de47fe53 [2021-07-06T22:50:47.702Z] ---> 92642d02b3f3 [2021-07-06T22:50:47.702Z] Step 9/23 : RUN make build [2021-07-06T22:50:48.011Z] ---> Running in d602b7dc31b2 [2021-07-06T22:50:48.011Z] go mod tidy [2021-07-06T22:50:48.280Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.5" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-07-06T22:50:58.467Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-06T22:50:59.426Z] Removing intermediate container d602b7dc31b2 [2021-07-06T22:50:59.427Z] ---> 964e2dd58c27 [2021-07-06T22:50:59.427Z] Step 10/23 : FROM alpine:3.12 [2021-07-06T22:50:59.687Z] 3.12: Pulling from library/alpine [2021-07-06T22:50:59.949Z] 339de151aab4: Pulling fs layer [2021-07-06T22:50:59.949Z] 339de151aab4: Verifying Checksum [2021-07-06T22:50:59.949Z] 339de151aab4: Download complete [2021-07-06T22:51:00.222Z] 339de151aab4: Pull complete [2021-07-06T22:51:00.222Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-06T22:51:00.222Z] Status: Downloaded newer image for alpine:3.12 [2021-07-06T22:51:00.222Z] ---> 13621d1b12d4 [2021-07-06T22:51:00.222Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-06T22:51:00.222Z] ---> Running in 7281b8aaa3cb [2021-07-06T22:51:00.222Z] Removing intermediate container 7281b8aaa3cb [2021-07-06T22:51:00.222Z] ---> ea6464a0d6f8 [2021-07-06T22:51:00.222Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T22:51:00.222Z] ---> Running in 989bcd9d10b5 [2021-07-06T22:51:00.804Z] Removing intermediate container 989bcd9d10b5 [2021-07-06T22:51:00.804Z] ---> c450280ddc4a [2021-07-06T22:51:00.804Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-06T22:51:00.804Z] ---> Running in beab338999a8 [2021-07-06T22:51:01.066Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-07-06T22:51:01.640Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-07-06T22:51:02.214Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-06T22:51:02.215Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-06T22:51:02.474Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-06T22:51:02.475Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-06T22:51:02.736Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-06T22:51:02.736Z] Executing busybox-1.31.1-r20.trigger [2021-07-06T22:51:02.736Z] OK: 8 MiB in 19 packages [2021-07-06T22:51:02.996Z] Removing intermediate container beab338999a8 [2021-07-06T22:51:02.996Z] ---> cffb64077477 [2021-07-06T22:51:02.996Z] Step 14/23 : WORKDIR / [2021-07-06T22:51:02.996Z] ---> Running in 5bb2cdce88d7 [2021-07-06T22:51:03.260Z] Removing intermediate container 5bb2cdce88d7 [2021-07-06T22:51:03.260Z] ---> 4122644c8b00 [2021-07-06T22:51:03.260Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-06T22:51:03.260Z] ---> 17cc22fcf1ca [2021-07-06T22:51:03.260Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-06T22:51:03.832Z] ---> 1137edb68cdf [2021-07-06T22:51:03.832Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-06T22:51:03.832Z] ---> 324bf6c3bb99 [2021-07-06T22:51:03.832Z] Step 18/23 : EXPOSE 59999 [2021-07-06T22:51:03.832Z] ---> Running in c939eba4bc65 [2021-07-06T22:51:03.832Z] Removing intermediate container c939eba4bc65 [2021-07-06T22:51:03.832Z] ---> 3df728d22650 [2021-07-06T22:51:03.832Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-06T22:51:04.099Z] ---> Running in 5e70ce517e63 [2021-07-06T22:51:04.099Z] Removing intermediate container 5e70ce517e63 [2021-07-06T22:51:04.099Z] ---> 515df9eec7f4 [2021-07-06T22:51:04.099Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-06T22:51:04.099Z] ---> Running in dcb125539340 [2021-07-06T22:51:04.099Z] Removing intermediate container dcb125539340 [2021-07-06T22:51:04.099Z] ---> e5bbd005fb21 [2021-07-06T22:51:04.099Z] Step 21/23 : LABEL arch=amd64 [2021-07-06T22:51:04.099Z] ---> Running in 1bcd807ca6d0 [2021-07-06T22:51:04.360Z] Removing intermediate container 1bcd807ca6d0 [2021-07-06T22:51:04.360Z] ---> 617520ee0d07 [2021-07-06T22:51:04.360Z] Step 22/23 : LABEL git_sha=5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea [2021-07-06T22:51:04.360Z] ---> Running in b705ada08992 [2021-07-06T22:51:04.360Z] Removing intermediate container b705ada08992 [2021-07-06T22:51:04.360Z] ---> 950079cf9122 [2021-07-06T22:51:04.360Z] Step 23/23 : LABEL version=2.0.1-dev.5 [2021-07-06T22:51:04.360Z] ---> Running in d04a1e425fd9 [2021-07-06T22:51:04.360Z] Removing intermediate container d04a1e425fd9 [2021-07-06T22:51:04.360Z] ---> d920b6349334 [2021-07-06T22:51:04.360Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-06T22:51:04.360Z] Successfully built d920b6349334 [2021-07-06T22:51:04.360Z] 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] libraryResource [Pipeline] sh [2021-07-06T22:51:05.450Z] ---> job-cost.sh [2021-07-06T22:51:05.450Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-eipW [2021-07-06T22:51:15.483Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-06T22:51:27.425Z] lf-activate-venv(): INFO: Adding /tmp/venv-eipW/bin to PATH [2021-07-06T22:51:27.425Z] INFO: No Stack... [2021-07-06T22:51:27.425Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-06T22:51:27.996Z] INFO: Archiving Costs [Pipeline] sh [2021-07-06T22:51:28.318Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-07-06T22:51:28.318Z] + cut -d, -f6 [Pipeline] lock [2021-07-06T22:51:28.392Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-1-stack-cost] [2021-07-06T22:51:28.399Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-1-stack-cost] did not exist. Created. [2021-07-06T22:51:28.399Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-06T22:51:28.833Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-07-06T22:51:28.933Z] Stashed 1 file(s) [Pipeline] } [2021-07-06T22:51:28.951Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-07-06T22:59:37.544Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1165 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-07-06T22:59:37.616Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-07-06T22:59:38.016Z] Selected Git installation does not exist. Using Default [2021-07-06T22:59:38.016Z] The recommended git tool is: NONE [2021-07-06T22:59:43.311Z] using credential edgex-jenkins-ssh [2021-07-06T22:59:43.330Z] Cloning the remote Git repository [2021-07-06T22:59:43.410Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-07-06T22:59:43.514Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-07-06T22:59:43.593Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-07-06T22:59:43.594Z] > git --version # timeout=10 [2021-07-06T22:59:43.610Z] > git --version # 'git version 2.17.1' [2021-07-06T22:59:43.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-07-06T22:59:43.755Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:59:44.986Z] Avoid second fetch [2021-07-06T22:59:44.987Z] Checking out Revision 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea (main) [2021-07-06T22:59:44.941Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-07-06T22:59:44.978Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-07-06T22:59:45.027Z] > git config core.sparsecheckout # timeout=10 [2021-07-06T22:59:45.040Z] > git checkout -f 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea # timeout=10 [2021-07-06T22:59:49.363Z] Commit message: "Merge pull request #997 from hahattan/issue-996" [2021-07-06T22:59:49.441Z] > git --version # timeout=10 [2021-07-06T22:59:49.456Z] > git --version # 'git version 2.17.1' [2021-07-06T22:59:49.470Z] fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T22:59:51.050Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:59:51.564Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-07-06T22:59:51.927Z] + sudo service docker restart [2021-07-06T22:59:51.927Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T23:00:10.399Z] provisioning config files... [2021-07-06T23:00:10.428Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5738332147140946347tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:00:10.942Z] ---> docker-login.sh [2021-07-06T23:00:10.942Z] nexus3.edgexfoundry.org:10001 [2021-07-06T23:00:11.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:00:12.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:00:12.196Z] Configure a credential helper to remove this warning. See [2021-07-06T23:00:12.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:00:12.196Z] [2021-07-06T23:00:12.196Z] Login Succeeded [2021-07-06T23:00:12.196Z] nexus3.edgexfoundry.org:10002 [2021-07-06T23:00:12.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:00:12.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:00:12.741Z] Configure a credential helper to remove this warning. See [2021-07-06T23:00:12.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:00:12.741Z] [2021-07-06T23:00:12.741Z] Login Succeeded [2021-07-06T23:00:12.741Z] nexus3.edgexfoundry.org:10003 [2021-07-06T23:00:13.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:00:13.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:00:13.024Z] Configure a credential helper to remove this warning. See [2021-07-06T23:00:13.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:00:13.024Z] [2021-07-06T23:00:13.024Z] Login Succeeded [2021-07-06T23:00:13.024Z] nexus3.edgexfoundry.org:10004 [2021-07-06T23:00:13.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:00:13.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:00:13.571Z] Configure a credential helper to remove this warning. See [2021-07-06T23:00:13.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:00:13.571Z] [2021-07-06T23:00:13.571Z] Login Succeeded [2021-07-06T23:00:13.571Z] docker.io [2021-07-06T23:00:14.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-07-06T23:00:14.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-07-06T23:00:14.759Z] Configure a credential helper to remove this warning. See [2021-07-06T23:00:14.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-07-06T23:00:14.759Z] [2021-07-06T23:00:14.760Z] Login Succeeded [2021-07-06T23:00:14.760Z] ---> docker-login.sh ends [Pipeline] } [2021-07-06T23:00:14.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-07-06T23:00:15.421Z] ========================================================= [2021-07-06T23:00:15.421Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-07-06T23:00:15.421Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:00:15.821Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-07-06T23:00:16.097Z] Sending build context to Docker daemon 2.558MB [2021-07-06T23:00:16.097Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T23:00:16.097Z] Step 2/8 : FROM ${BASE} [2021-07-06T23:00:16.369Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-07-06T23:00:16.369Z] 595b0fe564bb: Pulling fs layer [2021-07-06T23:00:16.369Z] 3088b5b3c5c0: Pulling fs layer [2021-07-06T23:00:16.369Z] 5b7225fbf94c: Pulling fs layer [2021-07-06T23:00:16.369Z] ba82ee9f976e: Pulling fs layer [2021-07-06T23:00:16.369Z] 506bd15cee9f: Pulling fs layer [2021-07-06T23:00:16.369Z] 75a0a4a0db45: Pulling fs layer [2021-07-06T23:00:16.369Z] 618dc40b7e24: Pulling fs layer [2021-07-06T23:00:16.369Z] 506bd15cee9f: Waiting [2021-07-06T23:00:16.369Z] ba82ee9f976e: Waiting [2021-07-06T23:00:16.369Z] 75a0a4a0db45: Waiting [2021-07-06T23:00:16.369Z] 5b7225fbf94c: Verifying Checksum [2021-07-06T23:00:16.369Z] 5b7225fbf94c: Download complete [2021-07-06T23:00:16.369Z] 3088b5b3c5c0: Verifying Checksum [2021-07-06T23:00:16.369Z] 3088b5b3c5c0: Download complete [2021-07-06T23:00:16.659Z] 506bd15cee9f: Download complete [2021-07-06T23:00:16.659Z] 75a0a4a0db45: Verifying Checksum [2021-07-06T23:00:16.659Z] 75a0a4a0db45: Download complete [2021-07-06T23:00:16.659Z] 595b0fe564bb: Verifying Checksum [2021-07-06T23:00:16.659Z] 595b0fe564bb: Download complete [2021-07-06T23:00:17.267Z] 595b0fe564bb: Pull complete [2021-07-06T23:00:17.872Z] 3088b5b3c5c0: Pull complete [2021-07-06T23:00:18.151Z] 5b7225fbf94c: Pull complete [2021-07-06T23:00:19.138Z] 618dc40b7e24: Verifying Checksum [2021-07-06T23:00:19.138Z] 618dc40b7e24: Download complete [2021-07-06T23:00:20.581Z] ba82ee9f976e: Download complete [2021-07-06T23:00:30.802Z] ba82ee9f976e: Pull complete [2021-07-06T23:00:30.802Z] 506bd15cee9f: Pull complete [2021-07-06T23:00:30.802Z] 75a0a4a0db45: Pull complete [2021-07-06T23:00:34.188Z] 618dc40b7e24: Pull complete [2021-07-06T23:00:34.188Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-07-06T23:00:34.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-07-06T23:00:34.188Z] ---> a36622ca3599 [2021-07-06T23:00:34.188Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-06T23:00:36.169Z] ---> Running in fb0a37f926ff [2021-07-06T23:00:36.448Z] Removing intermediate container fb0a37f926ff [2021-07-06T23:00:36.448Z] ---> 404d0e7d59a3 [2021-07-06T23:00:36.448Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T23:00:36.729Z] ---> Running in c778f48136ae [2021-07-06T23:00:38.704Z] Removing intermediate container c778f48136ae [2021-07-06T23:00:38.704Z] ---> 0bed7da6403d [2021-07-06T23:00:38.704Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-07-06T23:00:38.976Z] ---> Running in 660bc3329b21 [2021-07-06T23:00:39.954Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-06T23:00:44.238Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-06T23:00:47.621Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-07-06T23:00:47.621Z] (2/6) Installing libsodium (1.0.18-r0) [2021-07-06T23:00:47.621Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-07-06T23:00:47.621Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-07-06T23:00:47.621Z] (5/6) Installing libzmq (4.3.3-r1) [2021-07-06T23:00:47.893Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-07-06T23:00:48.169Z] Executing busybox-1.32.1-r6.trigger [2021-07-06T23:00:48.169Z] OK: 139 MiB in 46 packages [2021-07-06T23:00:49.358Z] Removing intermediate container 660bc3329b21 [2021-07-06T23:00:49.358Z] ---> 720e574430ec [2021-07-06T23:00:49.358Z] Step 6/8 : WORKDIR /device-sdk-go [2021-07-06T23:00:49.636Z] ---> Running in 5b0946474fb6 [2021-07-06T23:00:50.232Z] Removing intermediate container 5b0946474fb6 [2021-07-06T23:00:50.232Z] ---> c2b9ddc1bb66 [2021-07-06T23:00:50.232Z] Step 7/8 : COPY . . [2021-07-06T23:00:51.208Z] ---> 7999b2301d71 [2021-07-06T23:00:51.208Z] Step 8/8 : RUN go mod download [2021-07-06T23:00:51.482Z] ---> Running in d6409ff784e4 [2021-07-06T23:01:18.322Z] Removing intermediate container d6409ff784e4 [2021-07-06T23:01:18.322Z] ---> 9b5fe133288c [2021-07-06T23:01:18.322Z] Successfully built 9b5fe133288c [2021-07-06T23:01:18.322Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:01:18.725Z] + docker inspect -f . ci-base-image-arm64 [2021-07-06T23:01:18.725Z] . [Pipeline] withDockerContainer [2021-07-06T23:01:19.027Z] prd-ubuntu18.04-docker-arm64-4c-16g-1165 does not seem to be running inside a container [2021-07-06T23:01:19.121Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-07-06T23:01:20.849Z] $ docker top b462854b1bf4b889add64887e79b5123df76ab0d44319f78323dbb013dee4038 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T23:01:21.897Z] + go version [2021-07-06T23:01:21.897Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-07-06T23:01:21.935Z] $ docker stop --time=1 b462854b1bf4b889add64887e79b5123df76ab0d44319f78323dbb013dee4038 [2021-07-06T23:01:23.826Z] $ docker rm -f b462854b1bf4b889add64887e79b5123df76ab0d44319f78323dbb013dee4038 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:01:24.901Z] + docker inspect -f . ci-base-image-arm64 [2021-07-06T23:01:24.901Z] . [Pipeline] withDockerContainer [2021-07-06T23:01:25.199Z] prd-ubuntu18.04-docker-arm64-4c-16g-1165 does not seem to be running inside a container [2021-07-06T23:01:25.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2021-07-06T23:01:26.986Z] $ docker top 1fe5c4439c0f606a4dcd25281f17a78beba8fce9aee2af3e5a4203754e51e68d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T23:01:28.042Z] + go mod tidy [Pipeline] sh [2021-07-06T23:01:29.323Z] + make test [2021-07-06T23:01:29.323Z] go mod tidy [2021-07-06T23:01:29.922Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-07-06T23:01:56.780Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-07-06T23:03:04.854Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-07-06T23:03:04.854Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-07-06T23:03:04.854Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-07-06T23:03:17.309Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.386s coverage: 24.2% of statements [2021-07-06T23:03:17.309Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-07-06T23:03:17.309Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.258s coverage: 28.1% of statements [2021-07-06T23:03:17.309Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.271s coverage: 78.9% of statements [2021-07-06T23:03:17.309Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.224s coverage: 9.0% of statements [2021-07-06T23:03:17.309Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-07-06T23:03:17.309Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-07-06T23:03:17.309Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-07-06T23:03:17.309Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.377s coverage: 28.7% of statements [2021-07-06T23:03:17.309Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-07-06T23:03:20.011Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.207s coverage: 83.3% of statements [2021-07-06T23:03:20.011Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-07-06T23:03:20.011Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-07-06T23:03:20.011Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.413s coverage: 58.0% of statements [2021-07-06T23:03:21.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.220s coverage: 89.2% of statements [2021-07-06T23:03:21.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-07-06T23:03:21.454Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.202s coverage: 4.9% of statements [2021-07-06T23:03:21.454Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-07-06T23:03:22.056Z] GO111MODULE=on go vet ./... [2021-07-06T23:04:18.730Z] gofmt -l . [2021-07-06T23:04:18.730Z] [ "`gofmt -l .`" = "" ] [2021-07-06T23:04:18.730Z] ./bin/test-attribution-txt.sh [2021-07-06T23:04:20.711Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-07-06T23:04:21.029Z] $ docker stop --time=1 1fe5c4439c0f606a4dcd25281f17a78beba8fce9aee2af3e5a4203754e51e68d [2021-07-06T23:04:23.172Z] $ docker rm -f 1fe5c4439c0f606a4dcd25281f17a78beba8fce9aee2af3e5a4203754e51e68d [Pipeline] // withDockerContainer [Pipeline] sh [2021-07-06T23:04:24.322Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-07-06T23:04:24.362Z] Warning: overwriting stash ‘coverage-report’ [2021-07-06T23:04:24.940Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-07-06T23:04:25.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-07-06T23:04:25.989Z] + ls -al . [2021-07-06T23:04:25.990Z] total 264 [2021-07-06T23:04:25.990Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 6 23:04 . [2021-07-06T23:04:25.990Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 22:59 .. [2021-07-06T23:04:25.990Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 6 22:59 .dockerignore [2021-07-06T23:04:25.990Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 22:59 .git [2021-07-06T23:04:25.990Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:59 .github [2021-07-06T23:04:25.990Z] -rw-rw-r-- 1 jenkins jenkins 138 Jul 6 22:59 .gitignore [2021-07-06T23:04:25.990Z] -rw-rw-r-- 1 jenkins jenkins 24816 Jul 6 22:59 CHANGELOG.md [2021-07-06T23:04:25.990Z] -rw-rw-r-- 1 jenkins jenkins 987 Jul 6 22:59 Dockerfile.build [2021-07-06T23:04:25.990Z] -rw-rw-r-- 1 jenkins jenkins 880 Jul 6 22:59 Jenkinsfile [2021-07-06T23:04:25.990Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 6 22:59 LICENSE [2021-07-06T23:04:25.990Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jul 6 22:59 Makefile [2021-07-06T23:04:25.990Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jul 6 22:59 README.md [2021-07-06T23:04:25.990Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 6 22:40 VERSION [2021-07-06T23:04:25.990Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:59 bin [2021-07-06T23:04:25.990Z] -rw-r--r-- 1 jenkins jenkins 125634 Jul 6 23:03 coverage.out [2021-07-06T23:04:25.990Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 6 22:59 example [2021-07-06T23:04:25.990Z] -rw-r--r-- 1 jenkins jenkins 548 Jul 6 23:04 go.mod [2021-07-06T23:04:25.990Z] -rw-r--r-- 1 jenkins jenkins 20210 Jul 6 23:01 go.sum [2021-07-06T23:04:25.990Z] drwxrwxr-x 15 jenkins jenkins 4096 Jul 6 22:59 internal [2021-07-06T23:04:25.990Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 22:59 openapi [2021-07-06T23:04:25.990Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 6 22:59 pkg [2021-07-06T23:04:25.990Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 22:59 snap [2021-07-06T23:04:25.990Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 6 22:59 version.go [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:04:26.361Z] + 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=5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea --label arch=arm64 --label version=2.0.1-dev.5 . [2021-07-06T23:04:26.643Z] Sending build context to Docker daemon 2.685MB [2021-07-06T23:04:26.643Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-07-06T23:04:26.643Z] Step 2/23 : FROM ${BASE} AS builder [2021-07-06T23:04:26.643Z] ---> 9b5fe133288c [2021-07-06T23:04:26.643Z] Step 3/23 : WORKDIR /device-sdk-go [2021-07-06T23:04:27.238Z] ---> Running in 94172a5155a3 [2021-07-06T23:04:27.510Z] Removing intermediate container 94172a5155a3 [2021-07-06T23:04:27.510Z] ---> 8c8cb449d41f [2021-07-06T23:04:27.510Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-06T23:04:27.787Z] ---> Running in 09508b916576 [2021-07-06T23:04:28.059Z] Removing intermediate container 09508b916576 [2021-07-06T23:04:28.059Z] ---> 89396327f7d4 [2021-07-06T23:04:28.059Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T23:04:28.332Z] ---> Running in 450b8614c1b2 [2021-07-06T23:04:30.310Z] Removing intermediate container 450b8614c1b2 [2021-07-06T23:04:30.310Z] ---> bb34d66ecf53 [2021-07-06T23:04:30.310Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-07-06T23:04:30.582Z] ---> Running in 290ea95f116a [2021-07-06T23:04:31.561Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-07-06T23:04:32.533Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-07-06T23:04:33.512Z] OK: 139 MiB in 46 packages [2021-07-06T23:04:34.488Z] Removing intermediate container 290ea95f116a [2021-07-06T23:04:34.488Z] ---> ea68567fbf9a [2021-07-06T23:04:34.488Z] Step 7/23 : COPY . . [2021-07-06T23:04:35.919Z] ---> 4fb2ef0914b3 [2021-07-06T23:04:35.919Z] Step 8/23 : RUN go mod download [2021-07-06T23:04:35.919Z] ---> Running in 84dbc7e274bc [2021-07-06T23:04:38.542Z] Removing intermediate container 84dbc7e274bc [2021-07-06T23:04:38.542Z] ---> 239df5aaf0da [2021-07-06T23:04:38.542Z] Step 9/23 : RUN make build [2021-07-06T23:04:38.542Z] ---> Running in 679c2e8c7ed8 [2021-07-06T23:04:39.526Z] go mod tidy [2021-07-06T23:04:40.125Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.5" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-07-06T23:05:12.503Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-07-06T23:05:15.138Z] Removing intermediate container 679c2e8c7ed8 [2021-07-06T23:05:15.138Z] ---> 20d1beeb28bf [2021-07-06T23:05:15.138Z] Step 10/23 : FROM alpine:3.12 [2021-07-06T23:05:15.408Z] 3.12: Pulling from library/alpine [2021-07-06T23:05:15.681Z] d2f70382dc9a: Pulling fs layer [2021-07-06T23:05:15.952Z] d2f70382dc9a: Verifying Checksum [2021-07-06T23:05:15.952Z] d2f70382dc9a: Download complete [2021-07-06T23:05:16.225Z] d2f70382dc9a: Pull complete [2021-07-06T23:05:16.505Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-07-06T23:05:16.505Z] Status: Downloaded newer image for alpine:3.12 [2021-07-06T23:05:16.505Z] ---> c4fd0aeabfcf [2021-07-06T23:05:16.505Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-07-06T23:05:16.505Z] ---> Running in b00179aab1fe [2021-07-06T23:05:17.101Z] Removing intermediate container b00179aab1fe [2021-07-06T23:05:17.101Z] ---> 384a466e3458 [2021-07-06T23:05:17.101Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-07-06T23:05:17.101Z] ---> Running in a4ae1806f5fb [2021-07-06T23:05:19.717Z] Removing intermediate container a4ae1806f5fb [2021-07-06T23:05:19.717Z] ---> 2296bb74f21b [2021-07-06T23:05:19.717Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-07-06T23:05:19.717Z] ---> Running in 4683af608117 [2021-07-06T23:05:20.697Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-07-06T23:05:21.290Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-07-06T23:05:21.885Z] (1/5) Installing libgcc (9.3.0-r2) [2021-07-06T23:05:22.155Z] (2/5) Installing libsodium (1.0.18-r0) [2021-07-06T23:05:22.155Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-07-06T23:05:22.425Z] (4/5) Installing libzmq (4.3.3-r0) [2021-07-06T23:05:22.696Z] (5/5) Installing zeromq (4.3.3-r0) [2021-07-06T23:05:22.696Z] Executing busybox-1.31.1-r20.trigger [2021-07-06T23:05:22.696Z] OK: 8 MiB in 19 packages [2021-07-06T23:05:23.675Z] Removing intermediate container 4683af608117 [2021-07-06T23:05:23.675Z] ---> e2b0e54ac78e [2021-07-06T23:05:23.675Z] Step 14/23 : WORKDIR / [2021-07-06T23:05:23.949Z] ---> Running in 0b5bb3326ee8 [2021-07-06T23:05:24.542Z] Removing intermediate container 0b5bb3326ee8 [2021-07-06T23:05:24.542Z] ---> e8085a8f1459 [2021-07-06T23:05:24.542Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-07-06T23:05:25.138Z] ---> 085e40f8ac2e [2021-07-06T23:05:25.138Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-07-06T23:05:26.732Z] ---> 5dfc9800c6fb [2021-07-06T23:05:26.732Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-07-06T23:05:27.329Z] ---> 7104167de082 [2021-07-06T23:05:27.329Z] Step 18/23 : EXPOSE 59999 [2021-07-06T23:05:27.329Z] ---> Running in 1ebc08a38e3d [2021-07-06T23:05:27.926Z] Removing intermediate container 1ebc08a38e3d [2021-07-06T23:05:27.926Z] ---> e674bc30c792 [2021-07-06T23:05:27.926Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-07-06T23:05:27.926Z] ---> Running in dc2dec3fe6a3 [2021-07-06T23:05:28.530Z] Removing intermediate container dc2dec3fe6a3 [2021-07-06T23:05:28.531Z] ---> 6cc4bd3970f5 [2021-07-06T23:05:28.531Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-07-06T23:05:28.531Z] ---> Running in 094348e1ff17 [2021-07-06T23:05:29.137Z] Removing intermediate container 094348e1ff17 [2021-07-06T23:05:29.137Z] ---> ca29248af67d [2021-07-06T23:05:29.137Z] Step 21/23 : LABEL arch=arm64 [2021-07-06T23:05:29.414Z] ---> Running in 2e96268e3467 [2021-07-06T23:05:29.689Z] Removing intermediate container 2e96268e3467 [2021-07-06T23:05:29.689Z] ---> b9bb8c16458c [2021-07-06T23:05:29.689Z] Step 22/23 : LABEL git_sha=5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea [2021-07-06T23:05:29.960Z] ---> Running in ec2438520e31 [2021-07-06T23:05:30.553Z] Removing intermediate container ec2438520e31 [2021-07-06T23:05:30.553Z] ---> 3b12df58c63f [2021-07-06T23:05:30.553Z] Step 23/23 : LABEL version=2.0.1-dev.5 [2021-07-06T23:05:30.553Z] ---> Running in 58ded21c0984 [2021-07-06T23:05:31.144Z] Removing intermediate container 58ded21c0984 [2021-07-06T23:05:31.144Z] ---> 2c7c5df3f5e6 [2021-07-06T23:05:31.144Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-07-06T23:05:31.144Z] Successfully built 2c7c5df3f5e6 [2021-07-06T23:05:31.144Z] 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] libraryResource [Pipeline] sh [2021-07-06T23:05:32.095Z] ---> job-cost.sh [2021-07-06T23:05:32.096Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-TYvu [2021-07-06T23:06:11.130Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-07-06T23:07:47.911Z] lf-activate-venv(): INFO: Adding /tmp/venv-TYvu/bin to PATH [2021-07-06T23:07:47.911Z] INFO: No Stack... [2021-07-06T23:07:47.911Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-07-06T23:07:47.911Z] INFO: Archiving Costs [Pipeline] sh [2021-07-06T23:07:48.293Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-07-06T23:07:48.293Z] + cut -d, -f6 [Pipeline] lock [2021-07-06T23:07:48.406Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-1-stack-cost] [2021-07-06T23:07:48.417Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-1-stack-cost] did not exist. Created. [2021-07-06T23:07:48.417Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-06T23:07:48.900Z] /w/workspace/device-sdk-go/1@tmp/durable-e561e942/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-e561e942/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-07-06T23:07:49.297Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-07-06T23:07:49.345Z] Warning: overwriting stash ‘stack-cost’ [2021-07-06T23:07:49.506Z] Stashed 1 file(s) [Pipeline] } [2021-07-06T23:07:49.533Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-07-06T23:07:50.675Z] provisioning config files... [2021-07-06T23:07:50.683Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7255569005794553291tmp [Pipeline] { [Pipeline] sh [2021-07-06T23:07:51.139Z] + set +x [2021-07-06T23:07:51.139Z] + curl -s https://codecov.io/bash [2021-07-06T23:07:51.139Z] + bash -s -- [2021-07-06T23:07:51.139Z] [2021-07-06T23:07:51.139Z] _____ _ [2021-07-06T23:07:51.139Z] / ____| | | [2021-07-06T23:07:51.139Z] | | ___ __| | ___ ___ _____ __ [2021-07-06T23:07:51.139Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-07-06T23:07:51.139Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-07-06T23:07:51.139Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-07-06T23:07:51.139Z] Bash-1.0.3 [2021-07-06T23:07:51.139Z] [2021-07-06T23:07:51.139Z] [2021-07-06T23:07:51.139Z] ==> git version 2.24.4 found [2021-07-06T23:07:51.139Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-07-06T23:07:51.139Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-07-06T23:07:51.139Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-07-06T23:07:51.139Z] ==> Jenkins CI detected. [2021-07-06T23:07:51.139Z] project root: . [2021-07-06T23:07:51.139Z] --> token set from env [2021-07-06T23:07:51.139Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-07-06T23:07:51.139Z] ==> Running gcov in . (disable via -X gcov) [2021-07-06T23:07:51.139Z] ==> Python coveragepy not found [2021-07-06T23:07:51.139Z] ==> Searching for coverage reports in: [2021-07-06T23:07:51.139Z] + . [2021-07-06T23:07:51.139Z] -> Found 1 reports [2021-07-06T23:07:51.139Z] ==> Detecting git/mercurial file structure [2021-07-06T23:07:51.139Z] ==> Reading reports [2021-07-06T23:07:51.139Z] + ./coverage.out bytes=125634 [2021-07-06T23:07:51.139Z] ==> Appending adjustments [2021-07-06T23:07:51.139Z] https://docs.codecov.io/docs/fixing-reports [2021-07-06T23:07:51.400Z] + Found adjustments [2021-07-06T23:07:51.400Z] ==> Gzipping contents [2021-07-06T23:07:51.400Z] 16K /tmp/codecov.oW90GQ.gz [2021-07-06T23:07:51.401Z] ==> Uploading reports [2021-07-06T23:07:51.401Z] url: https://codecov.io [2021-07-06T23:07:51.401Z] query: branch=main&commit=5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-06T23:07:51.401Z] -> Pinging Codecov [2021-07-06T23:07:51.401Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=main&commit=5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-07-06T23:07:51.980Z] -> Uploading to [2021-07-06T23:07:51.980Z] https://storage.googleapis.com/codecov/v4/raw/2021-07-06/7E55EF52A471D76F132DFD9A03CDDE97/5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea/cc86e357-3a5e-4bce-a8c8-e37893ec54e1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210706%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210706T230751Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=66d2c98ee324945bf890f8de8cc7a3a59056f2fdb7bdf7e4eb226fc9a78a5bcc [2021-07-06T23:07:51.980Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-06T23:07:51.980Z] Dload Upload Total Spent Left Speed [2021-07-06T23:07:52.244Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16343 0 0 100 16343 0 50016 --:--:-- --:--:-- --:--:-- 50131 [2021-07-06T23:07:52.244Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea [Pipeline] } [2021-07-06T23:07:52.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-07-06T23:07:52.723Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-07-06T23:07:52.753Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:07:53.152Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T23:07:53.152Z] [2021-07-06T23:07:53.152Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:07:53.524Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T23:07:53.524Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-07-06T23:07:53.524Z] 188c0c94c7c5: Pulling fs layer [2021-07-06T23:07:53.524Z] 0ef7d3d256c8: Pulling fs layer [2021-07-06T23:07:53.524Z] de9db76c5a1d: Pulling fs layer [2021-07-06T23:07:53.524Z] 0eba1c9be4d2: Pulling fs layer [2021-07-06T23:07:53.524Z] 0d57e429df01: Pulling fs layer [2021-07-06T23:07:53.524Z] 4e4be7b47b0d: Pulling fs layer [2021-07-06T23:07:53.524Z] e1f770b5df2f: Pulling fs layer [2021-07-06T23:07:53.524Z] 85a0685a4137: Pulling fs layer [2021-07-06T23:07:53.524Z] 0d57e429df01: Waiting [2021-07-06T23:07:53.524Z] 4e4be7b47b0d: Waiting [2021-07-06T23:07:53.524Z] e1f770b5df2f: Waiting [2021-07-06T23:07:53.524Z] 85a0685a4137: Waiting [2021-07-06T23:07:53.524Z] 0eba1c9be4d2: Waiting [2021-07-06T23:07:53.524Z] de9db76c5a1d: Verifying Checksum [2021-07-06T23:07:53.524Z] de9db76c5a1d: Download complete [2021-07-06T23:07:53.524Z] 0ef7d3d256c8: Verifying Checksum [2021-07-06T23:07:53.524Z] 0ef7d3d256c8: Download complete [2021-07-06T23:07:53.524Z] 0d57e429df01: Verifying Checksum [2021-07-06T23:07:53.524Z] 0d57e429df01: Download complete [2021-07-06T23:07:53.524Z] 4e4be7b47b0d: Verifying Checksum [2021-07-06T23:07:53.524Z] 4e4be7b47b0d: Download complete [2021-07-06T23:07:53.524Z] 188c0c94c7c5: Verifying Checksum [2021-07-06T23:07:53.524Z] 188c0c94c7c5: Download complete [2021-07-06T23:07:53.788Z] 188c0c94c7c5: Pull complete [2021-07-06T23:07:54.062Z] 0ef7d3d256c8: Pull complete [2021-07-06T23:07:54.062Z] de9db76c5a1d: Pull complete [2021-07-06T23:07:54.643Z] e1f770b5df2f: Verifying Checksum [2021-07-06T23:07:54.643Z] e1f770b5df2f: Download complete [2021-07-06T23:07:56.563Z] 0eba1c9be4d2: Verifying Checksum [2021-07-06T23:07:56.563Z] 0eba1c9be4d2: Download complete [2021-07-06T23:07:56.563Z] 85a0685a4137: Verifying Checksum [2021-07-06T23:07:56.563Z] 85a0685a4137: Download complete [2021-07-06T23:07:59.897Z] 0eba1c9be4d2: Pull complete [2021-07-06T23:07:59.897Z] 0d57e429df01: Pull complete [2021-07-06T23:07:59.897Z] 4e4be7b47b0d: Pull complete [2021-07-06T23:08:00.163Z] e1f770b5df2f: Pull complete [2021-07-06T23:08:03.525Z] 85a0685a4137: Pull complete [2021-07-06T23:08:03.525Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-07-06T23:08:03.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-07-06T23:08:03.525Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-07-06T23:08:03.622Z] prd-centos7-docker-4c-2g-234 does not seem to be running inside a container [2021-07-06T23:08:03.656Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-07-06T23:08:06.844Z] $ docker top b8f4de9f056d014b930130de0ba4fc9a54e531695efbf5607c7c9deef79f7309 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-07-06T23:08:07.009Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-07-06T23:08:07.345Z] + set -o pipefail [2021-07-06T23:08:07.345Z] + snyk monitor '--org=edgex-jenkins' [2021-07-06T23:08:12.689Z] [2021-07-06T23:08:12.689Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-07-06T23:08:12.689Z] [2021-07-06T23:08:12.689Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/c99de2f5-410b-4c06-875a-220364169891 [2021-07-06T23:08:12.689Z] [2021-07-06T23:08:12.689Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-07-06T23:08:12.689Z] [2021-07-06T23:08:12.689Z] [Pipeline] } [2021-07-06T23:08:12.715Z] $ docker stop --time=1 b8f4de9f056d014b930130de0ba4fc9a54e531695efbf5607c7c9deef79f7309 [2021-07-06T23:08:14.973Z] $ docker rm -f b8f4de9f056d014b930130de0ba4fc9a54e531695efbf5607c7c9deef79f7309 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2021-07-06T23:08:16.218Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T23:08:16.305Z] provisioning config files... [2021-07-06T23:08:16.315Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7006668631029564769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:08:16.698Z] --> edgex-publish-swagger.sh [2021-07-06T23:08:16.698Z] === Publish openapi/v2 API === [2021-07-06T23:08:16.698Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-07-06T23:08:16.698Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-07-06T23:08:16.698Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-07-06T23:08:16.698Z] Dload Upload Total Spent Left Speed [2021-07-06T23:08:17.640Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51485 0 0 100 51485 0 48942 0:00:01 0:00:01 --:--:-- 48986 100 51485 0 0 100 51485 0 48936 0:00:01 0:00:01 --:--:-- 48986 [2021-07-06T23:08:17.640Z] [2021-07-06T23:08:17.640Z] [Pipeline] } [2021-07-06T23:08:17.666Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-07-06T23:08:18.538Z] + git log --format=format:%s -1 5b7ab9a3ff9866f95cdc84e39a450aa5b3c9b9ea [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:08:18.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T23:08:18.909Z] . [Pipeline] withDockerContainer [2021-07-06T23:08:19.015Z] prd-centos7-docker-4c-2g-234 does not seem to be running inside a container [2021-07-06T23:08:19.053Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T23:08:19.392Z] $ docker top e87b5a066c545f6c46919cb07eb1ce70cc7fa00035b74a716020a20812a6b587 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T23:08:19.591Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.0.1-dev.4' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T23:08:19.967Z] + git semver [Pipeline] } [2021-07-06T23:08:19.995Z] $ docker stop --time=1 e87b5a066c545f6c46919cb07eb1ce70cc7fa00035b74a716020a20812a6b587 [2021-07-06T23:08:21.169Z] $ docker rm -f e87b5a066c545f6c46919cb07eb1ce70cc7fa00035b74a716020a20812a6b587 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:08:21.751Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T23:08:21.751Z] [2021-07-06T23:08:21.751Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:08:22.104Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T23:08:22.104Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-07-06T23:08:22.104Z] ab5ef0e58194: Pulling fs layer [2021-07-06T23:08:22.104Z] 9712f1f96733: Pulling fs layer [2021-07-06T23:08:22.104Z] 63f879dbbcfc: Pulling fs layer [2021-07-06T23:08:22.104Z] 0d9ebad4ef96: Pulling fs layer [2021-07-06T23:08:22.104Z] e9a5061849ea: Pulling fs layer [2021-07-06T23:08:22.104Z] d747dcd14b5f: Pulling fs layer [2021-07-06T23:08:22.104Z] 2de7ff778b66: Pulling fs layer [2021-07-06T23:08:22.104Z] 0d9ebad4ef96: Waiting [2021-07-06T23:08:22.104Z] e9a5061849ea: Waiting [2021-07-06T23:08:22.104Z] d747dcd14b5f: Waiting [2021-07-06T23:08:22.104Z] 2de7ff778b66: Waiting [2021-07-06T23:08:22.104Z] 9712f1f96733: Verifying Checksum [2021-07-06T23:08:22.104Z] 9712f1f96733: Download complete [2021-07-06T23:08:23.493Z] 63f879dbbcfc: Verifying Checksum [2021-07-06T23:08:23.493Z] 63f879dbbcfc: Download complete [2021-07-06T23:08:23.493Z] e9a5061849ea: Verifying Checksum [2021-07-06T23:08:23.493Z] e9a5061849ea: Download complete [2021-07-06T23:08:23.493Z] d747dcd14b5f: Verifying Checksum [2021-07-06T23:08:23.493Z] d747dcd14b5f: Download complete [2021-07-06T23:08:23.762Z] 2de7ff778b66: Verifying Checksum [2021-07-06T23:08:23.762Z] 2de7ff778b66: Download complete [2021-07-06T23:08:24.024Z] 0d9ebad4ef96: Verifying Checksum [2021-07-06T23:08:24.024Z] 0d9ebad4ef96: Download complete [2021-07-06T23:08:24.024Z] ab5ef0e58194: Verifying Checksum [2021-07-06T23:08:24.024Z] ab5ef0e58194: Download complete [2021-07-06T23:08:27.367Z] ab5ef0e58194: Pull complete [2021-07-06T23:08:27.367Z] 9712f1f96733: Pull complete [2021-07-06T23:08:27.634Z] 63f879dbbcfc: Pull complete [2021-07-06T23:08:30.963Z] 0d9ebad4ef96: Pull complete [2021-07-06T23:08:31.225Z] e9a5061849ea: Pull complete [2021-07-06T23:08:31.494Z] d747dcd14b5f: Pull complete [2021-07-06T23:08:32.453Z] 2de7ff778b66: Pull complete [2021-07-06T23:08:32.453Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-07-06T23:08:32.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-07-06T23:08:32.453Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-07-06T23:08:32.583Z] prd-centos7-docker-4c-2g-234 does not seem to be running inside a container [2021-07-06T23:08:32.620Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-07-06T23:08:36.130Z] $ docker top 95183be71cbd82ea9afba8088c5b958bb644f9775153886d894a1f72c8ec760d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-07-06T23:08:36.315Z] provisioning config files... [2021-07-06T23:08:36.326Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2032350475147710597tmp [2021-07-06T23:08:36.339Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6962373550519212138tmp [2021-07-06T23:08:36.352Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2990528033825216514tmp [Pipeline] { [Pipeline] echo [2021-07-06T23:08:36.430Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:08:36.774Z] ---> sigul-configuration.sh [2021-07-06T23:08:36.774Z] gpg: directory `/root/.gnupg' created [2021-07-06T23:08:36.774Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-07-06T23:08:36.774Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-07-06T23:08:36.774Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-07-06T23:08:36.774Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-07-06T23:08:36.774Z] gpg: CAST5 encrypted data [2021-07-06T23:08:36.774Z] gpg: encrypted with 1 passphrase [2021-07-06T23:08:36.774Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-07-06T23:08:37.096Z] + mkdir /home/jenkins [2021-07-06T23:08:37.096Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-07-06T23:08:37.453Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-07-06T23:08:37.543Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:08:37.899Z] ---> sigul-install.sh [2021-07-06T23:08:43.207Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2021-07-06T23:08:43.529Z] + git tag --list [2021-07-06T23:08:43.529Z] 0.7.1 [2021-07-06T23:08:43.529Z] delhi-tag [2021-07-06T23:08:43.529Z] v1.0.0 [2021-07-06T23:08:43.529Z] v1.1.0 [2021-07-06T23:08:43.529Z] v1.1.1 [2021-07-06T23:08:43.529Z] v1.1.2 [2021-07-06T23:08:43.529Z] v1.2.0 [2021-07-06T23:08:43.529Z] v1.2.1 [2021-07-06T23:08:43.529Z] v1.2.2 [2021-07-06T23:08:43.529Z] v1.2.3 [2021-07-06T23:08:43.529Z] v1.3.0 [2021-07-06T23:08:43.529Z] v1.4.0 [2021-07-06T23:08:43.529Z] v2.0.0 [2021-07-06T23:08:43.529Z] v2.0.1-dev.1 [2021-07-06T23:08:43.529Z] v2.0.1-dev.2 [2021-07-06T23:08:43.529Z] v2.0.1-dev.3 [2021-07-06T23:08:43.529Z] v2.0.1-dev.4 [Pipeline] sh [2021-07-06T23:08:43.854Z] + lftools sign git-tag v2.0.1-dev.5 [2021-07-06T23:08:44.428Z] Signing Git tag with Sigul... [2021-07-06T23:08:44.428Z] Signing v2.0.1-dev.5 [2021-07-06T23:08:44.428Z] Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v2.0.1-dev.5'], return code 1, stdout , stderr [Pipeline] echo [2021-07-06T23:08:44.496Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:08:44.831Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-07-06T23:08:44.856Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-07-06T23:08:44.932Z] $ docker stop --time=1 95183be71cbd82ea9afba8088c5b958bb644f9775153886d894a1f72c8ec760d [2021-07-06T23:08:46.439Z] $ docker rm -f 95183be71cbd82ea9afba8088c5b958bb644f9775153886d894a1f72c8ec760d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:08:47.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T23:08:47.891Z] . [Pipeline] withDockerContainer [2021-07-06T23:08:47.981Z] prd-centos7-docker-4c-2g-234 does not seem to be running inside a container [2021-07-06T23:08:48.021Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T23:08:48.441Z] $ docker top 2974c47e7200757bd499b1417cc25d41af55b1f1001c1ce316d98d6f08d1af66 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T23:08:48.640Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.0.1-dev.4' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T23:08:49.015Z] + git semver [Pipeline] } [2021-07-06T23:08:49.043Z] $ docker stop --time=1 2974c47e7200757bd499b1417cc25d41af55b1f1001c1ce316d98d6f08d1af66 [2021-07-06T23:08:50.225Z] $ docker rm -f 2974c47e7200757bd499b1417cc25d41af55b1f1001c1ce316d98d6f08d1af66 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:08:50.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-07-06T23:08:50.690Z] . [Pipeline] withDockerContainer [2021-07-06T23:08:50.795Z] prd-centos7-docker-4c-2g-234 does not seem to be running inside a container [2021-07-06T23:08:50.832Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-07-06T23:08:51.246Z] $ docker top 46851d4dc917fa9a21eadf208006899577fd2ce0ac54253211ec3ff54c795d16 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-07-06T23:08:51.467Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.0.1-dev.4' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-07-06T23:08:51.857Z] + git semver [Pipeline] } [2021-07-06T23:08:51.884Z] $ docker stop --time=1 46851d4dc917fa9a21eadf208006899577fd2ce0ac54253211ec3ff54c795d16 [2021-07-06T23:08:53.086Z] $ docker rm -f 46851d4dc917fa9a21eadf208006899577fd2ce0ac54253211ec3ff54c795d16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:08:54.695Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:08:55.345Z] ---> package-listing.sh [2021-07-06T23:08:55.345Z] ++ facter osfamily [2021-07-06T23:08:55.345Z] ++ tr '[:upper:]' '[:lower:]' [2021-07-06T23:08:55.609Z] + OS_FAMILY=redhat [2021-07-06T23:08:55.609Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-07-06T23:08:55.609Z] + START_PACKAGES=/tmp/packages_start.txt [2021-07-06T23:08:55.609Z] + END_PACKAGES=/tmp/packages_end.txt [2021-07-06T23:08:55.609Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-07-06T23:08:55.609Z] + PACKAGES=/tmp/packages_start.txt [2021-07-06T23:08:55.609Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-07-06T23:08:55.609Z] + PACKAGES=/tmp/packages_end.txt [2021-07-06T23:08:55.609Z] + case "${OS_FAMILY}" in [2021-07-06T23:08:55.609Z] + rpm -qa [2021-07-06T23:08:55.609Z] + sort [2021-07-06T23:08:56.183Z] + '[' -f /tmp/packages_start.txt ']' [2021-07-06T23:08:56.183Z] + '[' -f /tmp/packages_end.txt ']' [2021-07-06T23:08:56.183Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-07-06T23:08:56.183Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-07-06T23:08:56.183Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-07-06T23:08:56.183Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2021-07-06T23:08:56.215Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-07-06T23:08:56.534Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:08:57.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T23:08:57.137Z] [2021-07-06T23:08:57.137Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-07-06T23:08:57.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T23:08:57.494Z] alpine: Pulling from edgex-lftools-log-publisher [2021-07-06T23:08:57.494Z] df20fa9351a1: Pulling fs layer [2021-07-06T23:08:57.494Z] 36b3adc4ff6f: Pulling fs layer [2021-07-06T23:08:57.494Z] 8ad3a11d3b57: Pulling fs layer [2021-07-06T23:08:57.494Z] 46f8f816bc3b: Pulling fs layer [2021-07-06T23:08:57.494Z] 93b61091891f: Pulling fs layer [2021-07-06T23:08:57.494Z] 93b9cdb0e59b: Pulling fs layer [2021-07-06T23:08:57.494Z] 5e14af77c1be: Pulling fs layer [2021-07-06T23:08:57.494Z] 01666e4c0597: Pulling fs layer [2021-07-06T23:08:57.494Z] aa168da1d23b: Pulling fs layer [2021-07-06T23:08:57.494Z] 93b9cdb0e59b: Waiting [2021-07-06T23:08:57.494Z] 5e14af77c1be: Waiting [2021-07-06T23:08:57.494Z] 01666e4c0597: Waiting [2021-07-06T23:08:57.494Z] aa168da1d23b: Waiting [2021-07-06T23:08:57.494Z] 46f8f816bc3b: Waiting [2021-07-06T23:08:57.494Z] 93b61091891f: Waiting [2021-07-06T23:08:57.494Z] 36b3adc4ff6f: Verifying Checksum [2021-07-06T23:08:57.494Z] 36b3adc4ff6f: Download complete [2021-07-06T23:08:57.494Z] 46f8f816bc3b: Verifying Checksum [2021-07-06T23:08:57.494Z] 46f8f816bc3b: Download complete [2021-07-06T23:08:57.773Z] df20fa9351a1: Verifying Checksum [2021-07-06T23:08:57.773Z] df20fa9351a1: Download complete [2021-07-06T23:08:57.773Z] 93b9cdb0e59b: Verifying Checksum [2021-07-06T23:08:57.773Z] 93b9cdb0e59b: Download complete [2021-07-06T23:08:57.773Z] 5e14af77c1be: Verifying Checksum [2021-07-06T23:08:57.773Z] 5e14af77c1be: Download complete [2021-07-06T23:08:57.773Z] 93b61091891f: Verifying Checksum [2021-07-06T23:08:57.773Z] 93b61091891f: Download complete [2021-07-06T23:08:57.773Z] 01666e4c0597: Verifying Checksum [2021-07-06T23:08:57.773Z] 01666e4c0597: Download complete [2021-07-06T23:08:57.773Z] df20fa9351a1: Pull complete [2021-07-06T23:08:57.773Z] 8ad3a11d3b57: Verifying Checksum [2021-07-06T23:08:57.773Z] 8ad3a11d3b57: Download complete [2021-07-06T23:08:58.040Z] 36b3adc4ff6f: Pull complete [2021-07-06T23:08:58.305Z] 8ad3a11d3b57: Pull complete [2021-07-06T23:08:58.583Z] 46f8f816bc3b: Pull complete [2021-07-06T23:08:58.847Z] 93b61091891f: Pull complete [2021-07-06T23:08:58.847Z] 93b9cdb0e59b: Pull complete [2021-07-06T23:08:58.847Z] 5e14af77c1be: Pull complete [2021-07-06T23:08:59.110Z] 01666e4c0597: Pull complete [2021-07-06T23:08:59.684Z] aa168da1d23b: Verifying Checksum [2021-07-06T23:08:59.684Z] aa168da1d23b: Download complete [2021-07-06T23:09:03.909Z] aa168da1d23b: Pull complete [2021-07-06T23:09:03.909Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-07-06T23:09:03.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-07-06T23:09:03.909Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-07-06T23:09:04.030Z] prd-centos7-docker-4c-2g-234 does not seem to be running inside a container [2021-07-06T23:09:04.070Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-07-06T23:09:06.490Z] $ docker top 7f73be908530d9945d723ca0da7f60d79af1bd3c0a12b84aa63ecbabc9fd2c0a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-07-06T23:09:06.934Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-07-06T23:09:07.251Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-07-06T23:09:07.620Z] + ls /var/log/sa-host [2021-07-06T23:09:07.621Z] + sadf -c /var/log/sa-host/sa05 [2021-07-06T23:09:07.621Z] file_magic: OK [2021-07-06T23:09:07.621Z] HZ: Using current value: 100 [2021-07-06T23:09:07.621Z] file_header: OK [2021-07-06T23:09:07.621Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-06T23:09:07.621Z] Statistics: [2021-07-06T23:09:07.621Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-06T23:09:07.621Z] File successfully converted to sysstat format version 12.2.1 [2021-07-06T23:09:07.621Z] + sadf -c /var/log/sa-host/sa06 [2021-07-06T23:09:07.621Z] file_magic: OK [2021-07-06T23:09:07.621Z] HZ: Using current value: 100 [2021-07-06T23:09:07.621Z] file_header: OK [2021-07-06T23:09:07.621Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-07-06T23:09:07.621Z] Statistics: [2021-07-06T23:09:07.621Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-07-06T23:09:07.621Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-07-06T23:09:07.874Z] provisioning config files... [2021-07-06T23:09:07.895Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9031547022042529423tmp [Pipeline] { [Pipeline] echo [2021-07-06T23:09:07.968Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:09:08.298Z] ---> create-netrc.sh [Pipeline] } [2021-07-06T23:09:08.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:09:08.754Z] ---> python-tools-install.sh [Pipeline] echo [2021-07-06T23:09:08.796Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:09:09.124Z] ---> sudo-logs.sh [2021-07-06T23:09:09.124Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-07-06T23:09:09.201Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:09:09.533Z] ---> job-cost.sh [2021-07-06T23:09:09.533Z] lf-activate-venv: SKIPPING [2021-07-06T23:09:09.533Z] DEBUG: total: 0.18000000715255737 [2021-07-06T23:09:09.533Z] INFO: Retrieving Stack Cost... [2021-07-06T23:09:10.477Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-07-06T23:09:11.049Z] INFO: Archiving Costs [Pipeline] echo [2021-07-06T23:09:11.085Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-07-06T23:09:11.424Z] ---> logs-deploy.sh [2021-07-06T23:09:11.424Z] lf-activate-venv: SKIPPING [2021-07-06T23:09:11.424Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/1 [2021-07-06T23:09:11.424Z] INFO: archiving workspace using pattern(s): [2021-07-06T23:09:12.375Z] Archives upload complete. [2021-07-06T23:09:12.375Z] INFO: archiving logs to Nexus