Pull request #971 event Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 7032ee1aeb5ae8dc64146b4b20160b0a9b938079+3325caf88bcd0dbdf7b59be45d5d0e9487e9d3ef (60d6a1fa9ccdb676337f6ab2c46f23c2bd03396f) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3577420521714210058.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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-ssh830822731131539448.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 6a41506d72e8e131afc862d141935157bee59f41 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4034925817433555879.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2559155467730824362.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-971/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2799256527040397601.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, 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/v1 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-883 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [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/dgexfoundry_device-sdk-go_PR-971 # 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/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh7823496744122534243.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.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 /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh6750466879320726114.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3325caf88bcd0dbdf7b59be45d5d0e9487e9d3ef into PR head commit 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 Merge succeeded, producing 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 Checking out Revision 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 (PR-971) > git config core.sparsecheckout # timeout=10 > git checkout -f 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/jenkins-gitclient-ssh5173817735108519700.key > git merge 3325caf88bcd0dbdf7b59be45d5d0e9487e9d3ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-23T07:16:49.004Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-23T07:16:49.097Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-23T07:16:49.129Z] ========================================================= [2021-06-23T07:16:49.129Z] EdgeX Global Pipelines Version Info [2021-06-23T07:16:49.129Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c61468472fc2b1c52a7e716737785287e90264e6 # timeout=10 [2021-06-23T07:16:50.719Z] ------------------- [2021-06-23T07:16:50.720Z] stable info: [2021-06-23T07:16:50.720Z] ------------------- [2021-06-23T07:16:50.720Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-23T07:16:50.720Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-23T07:16:50.720Z] Message: update stable to v1.0.195 [2021-06-23T07:16:51.304Z] ------------------- [2021-06-23T07:16:51.304Z] experimental info: [2021-06-23T07:16:51.304Z] ------------------- [2021-06-23T07:16:51.304Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-23T07:16:51.304Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-23T07:16:51.304Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-23T07:16:51.430Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-06-23T07:16:51.459Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-06-23T07:16:51.485Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-23T07:16:51.509Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-23T07:16:51.543Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-23T07:16:51.572Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-23T07:16:51.597Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-23T07:16:51.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-23T07:16:51.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-06-23T07:16:51.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-23T07:16:51.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-23T07:16:51.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-06-23T07:16:51.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-23T07:16:51.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-23T07:16:51.830Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-23T07:16:51.857Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-06-23T07:16:51.887Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-23T07:16:51.911Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-23T07:16:51.936Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-23T07:16:51.961Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-23T07:16:51.987Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-06-23T07:16:52.013Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo [2021-06-23T07:16:52.039Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-23T07:16:52.064Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-23T07:16:52.099Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-23T07:16:52.126Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-23T07:16:52.156Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-971 [Pipeline] echo [2021-06-23T07:16:52.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-971 [Pipeline] echo [2021-06-23T07:16:52.234Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-971 [Pipeline] echo [2021-06-23T07:16:52.261Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 [Pipeline] echo [2021-06-23T07:16:52.288Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7032ee1 [Pipeline] echo [2021-06-23T07:16:52.314Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T07:16:52.395Z] provisioning config files... [2021-06-23T07:16:52.415Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config5351759934226624929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:16:52.747Z] ---> docker-login.sh [2021-06-23T07:16:52.747Z] nexus3.edgexfoundry.org:10001 [2021-06-23T07:16:53.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:16:53.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:16:53.018Z] Configure a credential helper to remove this warning. See [2021-06-23T07:16:53.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:16:53.018Z] [2021-06-23T07:16:53.018Z] Login Succeeded [2021-06-23T07:16:53.018Z] nexus3.edgexfoundry.org:10002 [2021-06-23T07:16:53.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:16:53.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:16:53.281Z] Configure a credential helper to remove this warning. See [2021-06-23T07:16:53.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:16:53.281Z] [2021-06-23T07:16:53.281Z] Login Succeeded [2021-06-23T07:16:53.281Z] nexus3.edgexfoundry.org:10003 [2021-06-23T07:16:53.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:16:53.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:16:53.281Z] Configure a credential helper to remove this warning. See [2021-06-23T07:16:53.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:16:53.281Z] [2021-06-23T07:16:53.281Z] Login Succeeded [2021-06-23T07:16:53.281Z] nexus3.edgexfoundry.org:10004 [2021-06-23T07:16:53.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:16:53.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:16:53.546Z] Configure a credential helper to remove this warning. See [2021-06-23T07:16:53.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:16:53.546Z] [2021-06-23T07:16:53.546Z] Login Succeeded [2021-06-23T07:16:53.546Z] docker.io [2021-06-23T07:16:53.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:16:53.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:16:53.814Z] Configure a credential helper to remove this warning. See [2021-06-23T07:16:53.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:16:53.814Z] [2021-06-23T07:16:53.814Z] Login Succeeded [2021-06-23T07:16:53.814Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T07:16:53.827Z] 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-06-23T07:16:54.399Z] + git log --format=format:%s -1 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 [Pipeline] echo [2021-06-23T07:16:54.447Z] GIT_COMMIT: 7032ee1aeb5ae8dc64146b4b20160b0a9b938079, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3 [Pipeline] echo [2021-06-23T07:16:54.462Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:16:55.078Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T07:16:55.078Z] [2021-06-23T07:16:55.078Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:16:55.407Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T07:16:55.407Z] latest: Pulling from edgex-devops/git-semver [2021-06-23T07:16:55.407Z] 31603596830f: Pulling fs layer [2021-06-23T07:16:55.407Z] 54011a49482f: Pulling fs layer [2021-06-23T07:16:55.407Z] a6820b24f6d8: Pulling fs layer [2021-06-23T07:16:55.407Z] f581987b2513: Pulling fs layer [2021-06-23T07:16:55.407Z] f581987b2513: Waiting [2021-06-23T07:16:55.407Z] 54011a49482f: Verifying Checksum [2021-06-23T07:16:55.407Z] 54011a49482f: Download complete [2021-06-23T07:16:55.670Z] 31603596830f: Download complete [2021-06-23T07:16:55.670Z] f581987b2513: Verifying Checksum [2021-06-23T07:16:55.670Z] f581987b2513: Download complete [2021-06-23T07:16:55.933Z] a6820b24f6d8: Verifying Checksum [2021-06-23T07:16:55.933Z] a6820b24f6d8: Download complete [2021-06-23T07:16:55.933Z] 31603596830f: Pull complete [2021-06-23T07:16:55.933Z] 54011a49482f: Pull complete [2021-06-23T07:16:56.888Z] a6820b24f6d8: Pull complete [2021-06-23T07:16:56.888Z] f581987b2513: Pull complete [2021-06-23T07:16:56.888Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-23T07:16:56.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-23T07:16:56.888Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-23T07:16:56.982Z] prd-centos7-docker-4c-2g-883 does not seem to be running inside a container [2021-06-23T07:16:57.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-23T07:16:58.168Z] $ docker top b8b62ecb888f6caa44b705d0d528c7e0d82986edf153dff6bc6de4e07d4d59e3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-23T07:16:58.328Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-23T07:16:58.329Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-23T07:16:58.461Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-23T07:16:58.461Z] $ docker exec b8b62ecb888f6caa44b705d0d528c7e0d82986edf153dff6bc6de4e07d4d59e3 ssh-agent [2021-06-23T07:16:58.593Z] SSH_AUTH_SOCK=/tmp/ssh-ZFPSmHiVfPUe/agent.15 [2021-06-23T07:16:58.593Z] SSH_AGENT_PID=21 [2021-06-23T07:16:58.603Z] Running ssh-add (command line suppressed) [2021-06-23T07:16:58.712Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_1195904182747688087.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_1195904182747688087.key) [2021-06-23T07:16:58.729Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-23T07:16:59.033Z] + git tag --points-at HEAD [Pipeline] } [2021-06-23T07:16:59.047Z] $ docker exec --env ******** --env ******** b8b62ecb888f6caa44b705d0d528c7e0d82986edf153dff6bc6de4e07d4d59e3 ssh-agent -k [2021-06-23T07:16:59.162Z] unset SSH_AUTH_SOCK; [2021-06-23T07:16:59.162Z] unset SSH_AGENT_PID; [2021-06-23T07:16:59.163Z] echo Agent pid 21 killed; [2021-06-23T07:16:59.178Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-23T07:16:59.236Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-23T07:16:59.236Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-23T07:16:59.355Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-23T07:16:59.355Z] $ docker exec b8b62ecb888f6caa44b705d0d528c7e0d82986edf153dff6bc6de4e07d4d59e3 ssh-agent [2021-06-23T07:16:59.473Z] SSH_AUTH_SOCK=/tmp/ssh-g2nAT7Wznr7M/agent.54 [2021-06-23T07:16:59.473Z] SSH_AGENT_PID=61 [2021-06-23T07:16:59.480Z] Running ssh-add (command line suppressed) [2021-06-23T07:16:59.585Z] Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_1088320126885639931.key (/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/private_key_1088320126885639931.key) [2021-06-23T07:16:59.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-23T07:16:59.925Z] + git semver init [2021-06-23T07:16:59.925Z] # -> Open(): unable to determine branch for HEAD [2021-06-23T07:16:59.925Z] # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.git [2021-06-23T07:16:59.925Z] # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-23T07:16:59.925Z] # $SEMVER_REMOTE_NAME = origin [2021-06-23T07:16:59.925Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-23T07:16:59.925Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-23T07:16:59.925Z] # $SEMVER_BRANCH = PR-971 [2021-06-23T07:16:59.925Z] # $SEMVER_TEMP = /tmp/semver-025698797 [2021-06-23T07:16:59.925Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-06-23T07:17:00.911Z] # '/tmp/semver-025698797' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver' [2021-06-23T07:17:00.911Z] # -> Force: false [2021-06-23T07:17:00.911Z] # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-971/.semver [Pipeline] } [2021-06-23T07:17:00.920Z] $ docker exec --env ******** --env ******** b8b62ecb888f6caa44b705d0d528c7e0d82986edf153dff6bc6de4e07d4d59e3 ssh-agent -k [2021-06-23T07:17:01.046Z] unset SSH_AUTH_SOCK; [2021-06-23T07:17:01.047Z] unset SSH_AGENT_PID; [2021-06-23T07:17:01.047Z] echo Agent pid 61 killed; [2021-06-23T07:17:01.063Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-23T07:17:01.404Z] + git semver [Pipeline] } [2021-06-23T07:17:01.421Z] $ docker stop --time=1 b8b62ecb888f6caa44b705d0d528c7e0d82986edf153dff6bc6de4e07d4d59e3 [2021-06-23T07:17:02.723Z] $ docker rm -f b8b62ecb888f6caa44b705d0d528c7e0d82986edf153dff6bc6de4e07d4d59e3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T07:17:03.118Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-23T07:17:03.412Z] Stashed 1 file(s) [Pipeline] echo [2021-06-23T07:17:03.416Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-06-23T07:17:18.703Z] Still waiting to schedule task [2021-06-23T07:17:18.704Z] ‘prd-centos7-docker-4c-2g-877’ is offline [2021-06-23T07:17:18.704Z] ‘prd-centos7-docker-4c-2g-880’ is offline [2021-06-23T07:17:18.704Z] ‘prd-centos7-docker-4c-2g-884’ is offline [2021-06-23T07:17:18.704Z] ‘prd-ubuntu18.04-docker-8c-8g-878’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-23T07:17:18.704Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-881’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-06-23T07:17:18.706Z] Still waiting to schedule task [2021-06-23T07:17:18.706Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-06-23T07:20:42.847Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-886 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-23T07:20:42.875Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-06-23T07:20:43.098Z] Selected Git installation does not exist. Using Default [2021-06-23T07:20:43.098Z] The recommended git tool is: NONE [2021-06-23T07:20:48.659Z] using credential edgex-jenkins-ssh [2021-06-23T07:20:48.691Z] Cloning the remote Git repository [2021-06-23T07:20:48.728Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T07:20:48.827Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-06-23T07:20:48.907Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T07:20:48.907Z] > git --version # timeout=10 [2021-06-23T07:20:48.928Z] > git --version # 'git version 2.17.1' [2021-06-23T07:20:48.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T07:20:49.005Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T07:20:50.198Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T07:20:50.218Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T07:20:50.242Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T07:20:50.274Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T07:20:50.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T07:20:50.294Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-23T07:20:50.911Z] Merging remotes/origin/master commit 3325caf88bcd0dbdf7b59be45d5d0e9487e9d3ef into PR head commit 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 [2021-06-23T07:20:51.136Z] Merge succeeded, producing 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 [2021-06-23T07:20:51.137Z] Checking out Revision 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 (PR-971) [2021-06-23T07:20:50.927Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T07:20:50.947Z] > git checkout -f 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 # timeout=10 [2021-06-23T07:20:51.049Z] > git remote # timeout=10 [2021-06-23T07:20:51.068Z] > git config --get remote.origin.url # timeout=10 [2021-06-23T07:20:51.084Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T07:20:51.095Z] > git merge 3325caf88bcd0dbdf7b59be45d5d0e9487e9d3ef # timeout=10 [2021-06-23T07:20:51.117Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-23T07:20:51.138Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T07:20:51.147Z] > git checkout -f 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 # timeout=10 [2021-06-23T07:20:55.464Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T07:20:56.803Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-23T07:20:57.204Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-23T07:20:57.539Z] + sudo service docker restart [2021-06-23T07:20:57.539Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T07:21:15.914Z] provisioning config files... [2021-06-23T07:21:15.940Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config490077381284246741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:21:16.310Z] ---> docker-login.sh [2021-06-23T07:21:16.310Z] nexus3.edgexfoundry.org:10001 [2021-06-23T07:21:17.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:21:17.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:21:17.570Z] Configure a credential helper to remove this warning. See [2021-06-23T07:21:17.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:21:17.570Z] [2021-06-23T07:21:17.570Z] Login Succeeded [2021-06-23T07:21:17.571Z] nexus3.edgexfoundry.org:10002 [2021-06-23T07:21:17.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:21:18.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:21:18.121Z] Configure a credential helper to remove this warning. See [2021-06-23T07:21:18.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:21:18.121Z] [2021-06-23T07:21:18.121Z] Login Succeeded [2021-06-23T07:21:18.121Z] nexus3.edgexfoundry.org:10003 [2021-06-23T07:21:18.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:21:18.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:21:18.683Z] Configure a credential helper to remove this warning. See [2021-06-23T07:21:18.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:21:18.683Z] [2021-06-23T07:21:18.683Z] Login Succeeded [2021-06-23T07:21:18.683Z] nexus3.edgexfoundry.org:10004 [2021-06-23T07:21:18.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:21:19.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:21:19.232Z] Configure a credential helper to remove this warning. See [2021-06-23T07:21:19.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:21:19.232Z] [2021-06-23T07:21:19.232Z] Login Succeeded [2021-06-23T07:21:19.232Z] docker.io [2021-06-23T07:21:19.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:21:20.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:21:20.104Z] Configure a credential helper to remove this warning. See [2021-06-23T07:21:20.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:21:20.104Z] [2021-06-23T07:21:20.104Z] Login Succeeded [2021-06-23T07:21:20.104Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T07:21:20.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-23T07:21:20.434Z] ========================================================= [2021-06-23T07:21:20.434Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-23T07:21:20.434Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:21:20.780Z] + 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-06-23T07:21:21.376Z] Sending build context to Docker daemon 2.69MB [2021-06-23T07:21:21.376Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T07:21:21.376Z] Step 2/8 : FROM ${BASE} [2021-06-23T07:21:21.658Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-23T07:21:21.658Z] 595b0fe564bb: Pulling fs layer [2021-06-23T07:21:21.658Z] 3088b5b3c5c0: Pulling fs layer [2021-06-23T07:21:21.658Z] 5b7225fbf94c: Pulling fs layer [2021-06-23T07:21:21.658Z] ba82ee9f976e: Pulling fs layer [2021-06-23T07:21:21.658Z] 506bd15cee9f: Pulling fs layer [2021-06-23T07:21:21.658Z] 75a0a4a0db45: Pulling fs layer [2021-06-23T07:21:21.658Z] 618dc40b7e24: Pulling fs layer [2021-06-23T07:21:21.658Z] ba82ee9f976e: Waiting [2021-06-23T07:21:21.658Z] 75a0a4a0db45: Waiting [2021-06-23T07:21:21.658Z] 618dc40b7e24: Waiting [2021-06-23T07:21:21.658Z] 506bd15cee9f: Waiting [2021-06-23T07:21:21.658Z] 5b7225fbf94c: Download complete [2021-06-23T07:21:21.658Z] 3088b5b3c5c0: Verifying Checksum [2021-06-23T07:21:21.658Z] 3088b5b3c5c0: Download complete [2021-06-23T07:21:21.658Z] 506bd15cee9f: Verifying Checksum [2021-06-23T07:21:21.658Z] 506bd15cee9f: Download complete [2021-06-23T07:21:21.658Z] 595b0fe564bb: Verifying Checksum [2021-06-23T07:21:21.658Z] 595b0fe564bb: Download complete [2021-06-23T07:21:21.658Z] 75a0a4a0db45: Download complete [2021-06-23T07:21:22.256Z] 595b0fe564bb: Pull complete [2021-06-23T07:21:22.857Z] 3088b5b3c5c0: Pull complete [2021-06-23T07:21:23.484Z] 5b7225fbf94c: Pull complete [2021-06-23T07:21:24.089Z] 618dc40b7e24: Download complete [2021-06-23T07:21:25.527Z] ba82ee9f976e: Download complete [2021-06-23T07:21:27.807Z] Running on prd-centos7-docker-4c-2g-887 in /w/workspace/dgexfoundry_device-sdk-go_PR-971 [Pipeline] { [Pipeline] ws [2021-06-23T07:21:27.829Z] Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout [2021-06-23T07:21:27.957Z] Selected Git installation does not exist. Using Default [2021-06-23T07:21:27.957Z] The recommended git tool is: NONE [2021-06-23T07:21:30.294Z] using credential edgex-jenkins-ssh [2021-06-23T07:21:30.324Z] Cloning the remote Git repository [2021-06-23T07:21:30.282Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T07:21:30.362Z] > git init /w/workspace/device-sdk-go/7 # timeout=10 [2021-06-23T07:21:30.403Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T07:21:30.404Z] > git --version # timeout=10 [2021-06-23T07:21:30.416Z] > git --version # 'git version 2.24.4' [2021-06-23T07:21:30.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T07:21:30.485Z] [INFO] Currently running in a labeled security context [2021-06-23T07:21:30.485Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T07:21:30.485Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/7@tmp/jenkins-gitclient-ssh6794242923685188358.key [2021-06-23T07:21:30.524Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T07:21:31.828Z] Merging remotes/origin/master commit 3325caf88bcd0dbdf7b59be45d5d0e9487e9d3ef into PR head commit 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 [2021-06-23T07:21:31.920Z] Merge succeeded, producing 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 [2021-06-23T07:21:31.921Z] Checking out Revision 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 (PR-971) [2021-06-23T07:21:31.311Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T07:21:31.321Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-23T07:21:31.333Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-06-23T07:21:31.351Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-06-23T07:21:31.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T07:21:31.352Z] [INFO] Currently running in a labeled security context [2021-06-23T07:21:31.352Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T07:21:31.352Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/7@tmp/jenkins-gitclient-ssh6403954800946278906.key [2021-06-23T07:21:31.360Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/971/head:refs/remotes/origin/PR-971 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-23T07:21:31.814Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T07:21:31.824Z] > git checkout -f 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 # timeout=10 [2021-06-23T07:21:31.861Z] > git remote # timeout=10 [2021-06-23T07:21:31.868Z] > git config --get remote.origin.url # timeout=10 [2021-06-23T07:21:31.873Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-23T07:21:31.874Z] [INFO] Currently running in a labeled security context [2021-06-23T07:21:31.874Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-23T07:21:31.874Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/7@tmp/jenkins-gitclient-ssh4089145665218254432.key [2021-06-23T07:21:31.883Z] > git merge 3325caf88bcd0dbdf7b59be45d5d0e9487e9d3ef # timeout=10 [2021-06-23T07:21:31.893Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-23T07:21:31.905Z] > git config core.sparsecheckout # timeout=10 [2021-06-23T07:21:31.909Z] > git checkout -f 7032ee1aeb5ae8dc64146b4b20160b0a9b938079 # timeout=10 [2021-06-23T07:21:35.692Z] Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.2 to 1.9.3" [2021-06-23T07:21:35.756Z] ba82ee9f976e: Pull complete [2021-06-23T07:21:36.029Z] 506bd15cee9f: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T07:21:36.629Z] 75a0a4a0db45: Pull complete [2021-06-23T07:21:36.867Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-23T07:21:37.203Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-23T07:21:37.501Z] + sudo service docker restart [2021-06-23T07:21:37.501Z] + true [2021-06-23T07:21:37.501Z] Redirecting to /bin/systemctl restart docker.service [2021-06-23T07:21:40.976Z] 618dc40b7e24: Pull complete [2021-06-23T07:21:40.976Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-23T07:21:40.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-23T07:21:40.976Z] ---> a36622ca3599 [2021-06-23T07:21:40.976Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T07:21:42.482Z] ---> Running in f9055d0a0768 [2021-06-23T07:21:43.077Z] Removing intermediate container f9055d0a0768 [2021-06-23T07:21:43.077Z] ---> b8e9eb8e8b65 [2021-06-23T07:21:43.077Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T07:21:43.350Z] ---> Running in 9c6ed3271197 [2021-06-23T07:21:45.972Z] Removing intermediate container 9c6ed3271197 [2021-06-23T07:21:45.972Z] ---> bc1d6cf43e6f [2021-06-23T07:21:45.972Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-23T07:21:45.972Z] ---> Running in 6dc073607cd0 [2021-06-23T07:21:46.950Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-23T07:21:47.923Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-23T07:21:48.517Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-23T07:21:48.517Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-23T07:21:48.787Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-23T07:21:48.787Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-23T07:21:48.787Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-23T07:21:49.063Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-23T07:21:49.063Z] Executing busybox-1.32.1-r6.trigger [2021-06-23T07:21:49.063Z] OK: 139 MiB in 46 packages [2021-06-23T07:21:50.502Z] Removing intermediate container 6dc073607cd0 [2021-06-23T07:21:50.502Z] ---> 616060118e79 [2021-06-23T07:21:50.502Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-23T07:21:50.502Z] ---> Running in ecaba1f7d79e [2021-06-23T07:21:51.098Z] Removing intermediate container ecaba1f7d79e [2021-06-23T07:21:51.098Z] ---> ceecb2d46a56 [2021-06-23T07:21:51.098Z] Step 7/8 : COPY . . [2021-06-23T07:21:52.539Z] ---> 1391a2d8c801 [2021-06-23T07:21:52.539Z] Step 8/8 : RUN go mod download [2021-06-23T07:21:52.539Z] ---> Running in f2ab35f406d3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T07:21:55.716Z] provisioning config files... [2021-06-23T07:21:55.731Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config3354318646103646203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:21:56.088Z] ---> docker-login.sh [2021-06-23T07:21:56.088Z] nexus3.edgexfoundry.org:10001 [2021-06-23T07:21:56.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:21:56.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:21:56.352Z] Configure a credential helper to remove this warning. See [2021-06-23T07:21:56.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:21:56.352Z] [2021-06-23T07:21:56.352Z] Login Succeeded [2021-06-23T07:21:56.352Z] nexus3.edgexfoundry.org:10002 [2021-06-23T07:21:56.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:21:56.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:21:56.619Z] Configure a credential helper to remove this warning. See [2021-06-23T07:21:56.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:21:56.619Z] [2021-06-23T07:21:56.619Z] Login Succeeded [2021-06-23T07:21:56.619Z] nexus3.edgexfoundry.org:10003 [2021-06-23T07:21:56.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:21:56.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:21:56.619Z] Configure a credential helper to remove this warning. See [2021-06-23T07:21:56.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:21:56.619Z] [2021-06-23T07:21:56.619Z] Login Succeeded [2021-06-23T07:21:56.619Z] nexus3.edgexfoundry.org:10004 [2021-06-23T07:21:56.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:21:56.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:21:56.883Z] Configure a credential helper to remove this warning. See [2021-06-23T07:21:56.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:21:56.883Z] [2021-06-23T07:21:56.883Z] Login Succeeded [2021-06-23T07:21:56.883Z] docker.io [2021-06-23T07:21:56.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-23T07:21:57.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-23T07:21:57.145Z] Configure a credential helper to remove this warning. See [2021-06-23T07:21:57.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-23T07:21:57.145Z] [2021-06-23T07:21:57.145Z] Login Succeeded [2021-06-23T07:21:57.145Z] ---> docker-login.sh ends [Pipeline] } [2021-06-23T07:21:57.154Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-23T07:21:57.323Z] ========================================================= [2021-06-23T07:21:57.323Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-23T07:21:57.323Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:21:57.642Z] + 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-06-23T07:21:57.642Z] Sending build context to Docker daemon 2.691MB [2021-06-23T07:21:57.642Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T07:21:57.642Z] Step 2/8 : FROM ${BASE} [2021-06-23T07:21:57.642Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-23T07:21:57.642Z] 540db60ca938: Pulling fs layer [2021-06-23T07:21:57.642Z] adcc1eea9eea: Pulling fs layer [2021-06-23T07:21:57.642Z] 4c4ab2625f07: Pulling fs layer [2021-06-23T07:21:57.642Z] 0510c868ecb4: Pulling fs layer [2021-06-23T07:21:57.642Z] afea3b2eda06: Pulling fs layer [2021-06-23T07:21:57.642Z] 7809a108b3ef: Pulling fs layer [2021-06-23T07:21:57.642Z] f706445af74f: Pulling fs layer [2021-06-23T07:21:57.642Z] 0510c868ecb4: Waiting [2021-06-23T07:21:57.642Z] afea3b2eda06: Waiting [2021-06-23T07:21:57.642Z] 7809a108b3ef: Waiting [2021-06-23T07:21:57.642Z] f706445af74f: Waiting [2021-06-23T07:21:57.906Z] 4c4ab2625f07: Verifying Checksum [2021-06-23T07:21:57.906Z] 4c4ab2625f07: Download complete [2021-06-23T07:21:57.906Z] adcc1eea9eea: Verifying Checksum [2021-06-23T07:21:57.906Z] adcc1eea9eea: Download complete [2021-06-23T07:21:57.906Z] afea3b2eda06: Verifying Checksum [2021-06-23T07:21:57.906Z] afea3b2eda06: Download complete [2021-06-23T07:21:57.906Z] 7809a108b3ef: Verifying Checksum [2021-06-23T07:21:57.906Z] 7809a108b3ef: Download complete [2021-06-23T07:21:57.906Z] 540db60ca938: Verifying Checksum [2021-06-23T07:21:57.906Z] 540db60ca938: Download complete [2021-06-23T07:21:57.906Z] 540db60ca938: Pull complete [2021-06-23T07:21:58.170Z] adcc1eea9eea: Pull complete [2021-06-23T07:21:58.432Z] 4c4ab2625f07: Pull complete [2021-06-23T07:21:59.823Z] f706445af74f: Verifying Checksum [2021-06-23T07:21:59.823Z] f706445af74f: Download complete [2021-06-23T07:22:00.089Z] 0510c868ecb4: Verifying Checksum [2021-06-23T07:22:00.089Z] 0510c868ecb4: Download complete [2021-06-23T07:22:04.358Z] 0510c868ecb4: Pull complete [2021-06-23T07:22:04.358Z] afea3b2eda06: Pull complete [2021-06-23T07:22:04.358Z] 7809a108b3ef: Pull complete [2021-06-23T07:22:05.312Z] f706445af74f: Pull complete [2021-06-23T07:22:05.578Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-23T07:22:05.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-23T07:22:05.578Z] ---> b068be0155e3 [2021-06-23T07:22:05.578Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T07:22:09.817Z] ---> Running in fa128dad12a5 [2021-06-23T07:22:09.817Z] Removing intermediate container fa128dad12a5 [2021-06-23T07:22:09.817Z] ---> 626385de8856 [2021-06-23T07:22:09.817Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T07:22:09.817Z] ---> Running in a9ac51baff0d [2021-06-23T07:22:10.080Z] Removing intermediate container a9ac51baff0d [2021-06-23T07:22:10.080Z] ---> dd1c2e4b1b8b [2021-06-23T07:22:10.080Z] Step 5/8 : RUN apk add --update --no-cache make git gcc libc-dev libsodium-dev zeromq-dev [2021-06-23T07:22:10.080Z] ---> Running in 00dd2647b81e [2021-06-23T07:22:10.663Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-23T07:22:11.247Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-23T07:22:12.211Z] (1/6) Installing libc-dev (0.7.2-r3) [2021-06-23T07:22:12.211Z] (2/6) Installing libsodium (1.0.18-r0) [2021-06-23T07:22:12.473Z] (3/6) Installing pkgconf (1.7.3-r0) [2021-06-23T07:22:12.473Z] (4/6) Installing libsodium-dev (1.0.18-r0) [2021-06-23T07:22:12.473Z] (5/6) Installing libzmq (4.3.3-r1) [2021-06-23T07:22:12.738Z] (6/6) Installing zeromq-dev (4.3.3-r1) [2021-06-23T07:22:12.738Z] Executing busybox-1.32.1-r6.trigger [2021-06-23T07:22:12.738Z] OK: 150 MiB in 46 packages [2021-06-23T07:22:13.001Z] Removing intermediate container 00dd2647b81e [2021-06-23T07:22:13.001Z] ---> c03d710d0986 [2021-06-23T07:22:13.001Z] Step 6/8 : WORKDIR /device-sdk-go [2021-06-23T07:22:13.001Z] ---> Running in f45bcaef0e69 [2021-06-23T07:22:13.271Z] Removing intermediate container f45bcaef0e69 [2021-06-23T07:22:13.271Z] ---> 268aaa05924f [2021-06-23T07:22:13.271Z] Step 7/8 : COPY . . [2021-06-23T07:22:13.542Z] ---> faeef3a2714f [2021-06-23T07:22:13.542Z] Step 8/8 : RUN go mod download [2021-06-23T07:22:13.542Z] ---> Running in 3b06b6744c0d [2021-06-23T07:22:19.351Z] Removing intermediate container f2ab35f406d3 [2021-06-23T07:22:19.351Z] ---> a50608c9c3c6 [2021-06-23T07:22:19.351Z] Successfully built a50608c9c3c6 [2021-06-23T07:22:19.351Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:22:19.697Z] + docker inspect -f . ci-base-image-arm64 [2021-06-23T07:22:19.697Z] . [Pipeline] withDockerContainer [2021-06-23T07:22:19.959Z] prd-ubuntu18.04-docker-arm64-4c-16g-886 does not seem to be running inside a container [2021-06-23T07:22:20.047Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-23T07:22:21.718Z] $ docker top 7daa7639d4633bea0d4fa9d16e28224fee15c39f0b49a9fd85088b206086a62e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T07:22:22.692Z] + go version [2021-06-23T07:22:22.693Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-23T07:22:22.722Z] $ docker stop --time=1 7daa7639d4633bea0d4fa9d16e28224fee15c39f0b49a9fd85088b206086a62e [2021-06-23T07:22:24.572Z] $ docker rm -f 7daa7639d4633bea0d4fa9d16e28224fee15c39f0b49a9fd85088b206086a62e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:22:25.383Z] + docker inspect -f . ci-base-image-arm64 [2021-06-23T07:22:25.383Z] . [Pipeline] withDockerContainer [2021-06-23T07:22:25.612Z] prd-ubuntu18.04-docker-arm64-4c-16g-886 does not seem to be running inside a container [2021-06-23T07:22:25.702Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-23T07:22:25.857Z] Removing intermediate container 3b06b6744c0d [2021-06-23T07:22:25.857Z] ---> a8497b4811bb [2021-06-23T07:22:25.857Z] Successfully built a8497b4811bb [2021-06-23T07:22:25.857Z] Successfully tagged ci-base-image-x86_64:latest [2021-06-23T07:22:27.336Z] $ docker top 308a22344e6c945c55aa19854803aabc6a37a2b7f490826acbe802f144ba6397 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:22:28.006Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-23T07:22:28.006Z] . [Pipeline] withDockerContainer [2021-06-23T07:22:28.085Z] prd-centos7-docker-4c-2g-887 does not seem to be running inside a container [2021-06-23T07:22:28.132Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-23T07:22:28.282Z] + go mod tidy [2021-06-23T07:22:28.561Z] $ docker top 6324c92467460c9294ddee1592fd86fd9ad688847230de4f60348642ebae03a7 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2021-06-23T07:22:28.955Z] + go version [2021-06-23T07:22:28.955Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-23T07:22:28.973Z] $ docker stop --time=1 6324c92467460c9294ddee1592fd86fd9ad688847230de4f60348642ebae03a7 [2021-06-23T07:22:29.552Z] + make test [2021-06-23T07:22:29.552Z] go mod tidy [2021-06-23T07:22:30.154Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-23T07:22:30.170Z] $ docker rm -f 6324c92467460c9294ddee1592fd86fd9ad688847230de4f60348642ebae03a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:22:30.779Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-23T07:22:30.779Z] . [Pipeline] withDockerContainer [2021-06-23T07:22:30.864Z] prd-centos7-docker-4c-2g-887 does not seem to be running inside a container [2021-06-23T07:22:30.906Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-23T07:22:31.317Z] $ docker top aafdbfbf6bcec919943ebe074094a569fcd0efe4722d5e66e7a97b2713362f9a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T07:22:31.738Z] + go mod tidy [Pipeline] sh [2021-06-23T07:22:32.350Z] + make test [2021-06-23T07:22:32.350Z] go mod tidy [2021-06-23T07:22:32.621Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-06-23T07:22:39.247Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-23T07:22:52.387Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-06-23T07:23:05.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-23T07:23:05.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-23T07:23:05.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-23T07:23:05.968Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.058s coverage: 24.2% of statements [2021-06-23T07:23:05.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-23T07:23:05.968Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.053s coverage: 28.1% of statements [2021-06-23T07:23:05.968Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements [2021-06-23T07:23:05.968Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.060s coverage: 9.0% of statements [2021-06-23T07:23:05.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-23T07:23:05.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-23T07:23:05.968Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-23T07:23:06.565Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.068s coverage: 28.7% of statements [2021-06-23T07:23:06.565Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-23T07:23:07.516Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.058s coverage: 83.3% of statements [2021-06-23T07:23:07.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-23T07:23:07.516Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-23T07:23:07.516Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.093s coverage: 58.0% of statements [2021-06-23T07:23:08.926Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.874s coverage: 89.2% of statements [2021-06-23T07:23:08.926Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-23T07:23:08.926Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 5.0% of statements [2021-06-23T07:23:08.926Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-23T07:23:09.188Z] GO111MODULE=on go vet ./... [2021-06-23T07:23:31.296Z] gofmt -l . [2021-06-23T07:23:31.296Z] [ "`gofmt -l .`" = "" ] [2021-06-23T07:23:31.296Z] ./bin/test-attribution-txt.sh [2021-06-23T07:23:31.296Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-23T07:23:31.307Z] $ docker stop --time=1 aafdbfbf6bcec919943ebe074094a569fcd0efe4722d5e66e7a97b2713362f9a [2021-06-23T07:23:32.918Z] $ docker rm -f aafdbfbf6bcec919943ebe074094a569fcd0efe4722d5e66e7a97b2713362f9a [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T07:23:33.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-23T07:23:33.663Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-06-23T07:23:35.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-23T07:23:36.047Z] + ls -al . [2021-06-23T07:23:36.047Z] total 212 [2021-06-23T07:23:36.047Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jun 23 07:23 . [2021-06-23T07:23:36.047Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 23 07:21 .. [2021-06-23T07:23:36.047Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 23 07:21 bin [2021-06-23T07:23:36.047Z] -rw-r--r--. 1 jenkins jenkins 125634 Jun 23 07:23 coverage.out [2021-06-23T07:23:36.047Z] -rw-rw-r--. 1 jenkins jenkins 987 Jun 23 07:21 Dockerfile.build [2021-06-23T07:23:36.047Z] -rw-rw-r--. 1 jenkins jenkins 140 Jun 23 07:21 .dockerignore [2021-06-23T07:23:36.047Z] drwxrwxr-x. 5 jenkins jenkins 62 Jun 23 07:21 example [2021-06-23T07:23:36.047Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 23 07:21 .git [2021-06-23T07:23:36.047Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 23 07:21 .github [2021-06-23T07:23:36.047Z] -rw-rw-r--. 1 jenkins jenkins 138 Jun 23 07:21 .gitignore [2021-06-23T07:23:36.047Z] -rw-r--r--. 1 jenkins jenkins 576 Jun 23 07:23 go.mod [2021-06-23T07:23:36.047Z] -rw-r--r--. 1 jenkins jenkins 20504 Jun 23 07:22 go.sum [2021-06-23T07:23:36.047Z] drwxrwxr-x. 15 jenkins jenkins 224 Jun 23 07:21 internal [2021-06-23T07:23:36.047Z] -rw-rw-r--. 1 jenkins jenkins 894 Jun 23 07:21 Jenkinsfile [2021-06-23T07:23:36.047Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jun 23 07:21 LICENSE [2021-06-23T07:23:36.047Z] -rw-rw-r--. 1 jenkins jenkins 1026 Jun 23 07:21 Makefile [2021-06-23T07:23:36.047Z] drwxrwxr-x. 4 jenkins jenkins 26 Jun 23 07:21 openapi [2021-06-23T07:23:36.047Z] drwxrwxr-x. 5 jenkins jenkins 50 Jun 23 07:21 pkg [2021-06-23T07:23:36.047Z] -rw-rw-r--. 1 jenkins jenkins 7652 Jun 23 07:21 README.md [2021-06-23T07:23:36.047Z] -rw-rw-r--. 1 jenkins jenkins 6616 Jun 23 07:21 RELEASE-NOTES.txt [2021-06-23T07:23:36.047Z] drwxrwxr-x. 4 jenkins jenkins 54 Jun 23 07:21 snap [2021-06-23T07:23:36.047Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 23 07:17 VERSION [2021-06-23T07:23:36.047Z] -rw-rw-r--. 1 jenkins jenkins 222 Jun 23 07:21 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:23:36.389Z] + 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=7032ee1aeb5ae8dc64146b4b20160b0a9b938079 --label arch=amd64 --label version=0.0.0 . [2021-06-23T07:23:36.389Z] Sending build context to Docker daemon 2.818MB [2021-06-23T07:23:36.389Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T07:23:36.389Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-23T07:23:36.389Z] ---> a8497b4811bb [2021-06-23T07:23:36.389Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-23T07:23:36.389Z] ---> Running in a61c5a475126 [2021-06-23T07:23:36.652Z] Removing intermediate container a61c5a475126 [2021-06-23T07:23:36.652Z] ---> d5f7a2c03c93 [2021-06-23T07:23:36.652Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T07:23:36.652Z] ---> Running in c7ee0437237b [2021-06-23T07:23:36.652Z] Removing intermediate container c7ee0437237b [2021-06-23T07:23:36.652Z] ---> 2e3789d10f4d [2021-06-23T07:23:36.652Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T07:23:36.652Z] ---> Running in d5ba8e153d9f [2021-06-23T07:23:37.243Z] Removing intermediate container d5ba8e153d9f [2021-06-23T07:23:37.243Z] ---> 379126fba617 [2021-06-23T07:23:37.243Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-23T07:23:37.243Z] ---> Running in dc55a169a86d [2021-06-23T07:23:37.507Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-23T07:23:38.450Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-23T07:23:39.029Z] OK: 150 MiB in 46 packages [2021-06-23T07:23:39.293Z] Removing intermediate container dc55a169a86d [2021-06-23T07:23:39.293Z] ---> f8944815d97b [2021-06-23T07:23:39.293Z] Step 7/23 : COPY . . [2021-06-23T07:23:39.867Z] ---> fff1dae1141f [2021-06-23T07:23:39.867Z] Step 8/23 : RUN go mod download [2021-06-23T07:23:39.867Z] ---> Running in 901ba042ecc2 [2021-06-23T07:23:40.445Z] Removing intermediate container 901ba042ecc2 [2021-06-23T07:23:40.445Z] ---> d0591580aa0d [2021-06-23T07:23:40.445Z] Step 9/23 : RUN make build [2021-06-23T07:23:40.445Z] ---> Running in 60af63ca94eb [2021-06-23T07:23:40.710Z] go mod tidy [2021-06-23T07:23:40.981Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-23T07:23:53.291Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-23T07:23:53.291Z] Removing intermediate container 60af63ca94eb [2021-06-23T07:23:53.291Z] ---> 338eb22c2a35 [2021-06-23T07:23:53.291Z] Step 10/23 : FROM alpine:3.12 [2021-06-23T07:23:54.240Z] 3.12: Pulling from library/alpine [2021-06-23T07:23:54.240Z] 339de151aab4: Pulling fs layer [2021-06-23T07:23:54.240Z] 339de151aab4: Verifying Checksum [2021-06-23T07:23:54.240Z] 339de151aab4: Download complete [2021-06-23T07:23:54.502Z] 339de151aab4: Pull complete [2021-06-23T07:23:54.502Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-23T07:23:54.502Z] Status: Downloaded newer image for alpine:3.12 [2021-06-23T07:23:54.502Z] ---> 13621d1b12d4 [2021-06-23T07:23:54.502Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T07:23:54.502Z] ---> Running in c6948e6e0971 [2021-06-23T07:23:54.769Z] Removing intermediate container c6948e6e0971 [2021-06-23T07:23:54.769Z] ---> 99f07a5f1869 [2021-06-23T07:23:54.769Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T07:23:54.769Z] ---> Running in 6758313eb166 [2021-06-23T07:23:55.344Z] Removing intermediate container 6758313eb166 [2021-06-23T07:23:55.344Z] ---> 0769db0588a5 [2021-06-23T07:23:55.344Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-23T07:23:55.344Z] ---> Running in cfe25d2951cd [2021-06-23T07:23:55.606Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-23T07:23:58.160Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-23T07:24:00.717Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-23T07:24:00.717Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-23T07:24:00.717Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-23T07:24:01.667Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-23T07:24:01.929Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-23T07:24:01.929Z] Executing busybox-1.31.1-r20.trigger [2021-06-23T07:24:01.929Z] OK: 8 MiB in 19 packages [2021-06-23T07:24:02.011Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-06-23T07:24:02.011Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-06-23T07:24:02.011Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-06-23T07:24:02.191Z] Removing intermediate container cfe25d2951cd [2021-06-23T07:24:02.191Z] ---> 9a8bd33c802c [2021-06-23T07:24:02.191Z] Step 14/23 : WORKDIR / [2021-06-23T07:24:02.191Z] ---> Running in dd474eafd27f [2021-06-23T07:24:02.458Z] Removing intermediate container dd474eafd27f [2021-06-23T07:24:02.458Z] ---> 0cadf0773009 [2021-06-23T07:24:02.458Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-23T07:24:02.458Z] ---> a733fad8d1db [2021-06-23T07:24:02.458Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-23T07:24:03.037Z] ---> 87e87157eba5 [2021-06-23T07:24:03.037Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-23T07:24:03.037Z] ---> 6493507d3043 [2021-06-23T07:24:03.037Z] Step 18/23 : EXPOSE 59999 [2021-06-23T07:24:03.037Z] ---> Running in f1eba2b80a1d [2021-06-23T07:24:03.299Z] Removing intermediate container f1eba2b80a1d [2021-06-23T07:24:03.299Z] ---> dda8e52bead2 [2021-06-23T07:24:03.299Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-23T07:24:03.299Z] ---> Running in a1d6b39d9ea7 [2021-06-23T07:24:03.299Z] Removing intermediate container a1d6b39d9ea7 [2021-06-23T07:24:03.299Z] ---> 825434ffe0d0 [2021-06-23T07:24:03.299Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-23T07:24:03.299Z] ---> Running in 3a7b8656d502 [2021-06-23T07:24:03.561Z] Removing intermediate container 3a7b8656d502 [2021-06-23T07:24:03.561Z] ---> 0a5dfef9685f [2021-06-23T07:24:03.561Z] Step 21/23 : LABEL arch=amd64 [2021-06-23T07:24:03.561Z] ---> Running in a4567768a53e [2021-06-23T07:24:03.561Z] Removing intermediate container a4567768a53e [2021-06-23T07:24:03.561Z] ---> 86121973f6f6 [2021-06-23T07:24:03.561Z] Step 22/23 : LABEL git_sha=7032ee1aeb5ae8dc64146b4b20160b0a9b938079 [2021-06-23T07:24:03.561Z] ---> Running in 7d871dbe0bdc [2021-06-23T07:24:03.823Z] Removing intermediate container 7d871dbe0bdc [2021-06-23T07:24:03.823Z] ---> 0d949eb3f4d9 [2021-06-23T07:24:03.823Z] Step 23/23 : LABEL version=0.0.0 [2021-06-23T07:24:03.823Z] ---> Running in eea7ef717f53 [2021-06-23T07:24:03.823Z] Removing intermediate container eea7ef717f53 [2021-06-23T07:24:03.823Z] ---> 92c2a647c0b5 [2021-06-23T07:24:03.823Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-23T07:24:03.823Z] Successfully built 92c2a647c0b5 [2021-06-23T07:24:03.823Z] 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-06-23T07:24:04.642Z] ---> job-cost.sh [2021-06-23T07:24:04.642Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-sfZa [2021-06-23T07:24:06.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.250s coverage: 24.2% of statements [2021-06-23T07:24:06.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-06-23T07:24:06.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.240s coverage: 28.1% of statements [2021-06-23T07:24:06.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.241s coverage: 78.9% of statements [2021-06-23T07:24:06.347Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.206s coverage: 9.0% of statements [2021-06-23T07:24:06.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-06-23T07:24:06.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-06-23T07:24:06.347Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-06-23T07:24:07.344Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.299s coverage: 28.7% of statements [2021-06-23T07:24:07.344Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-06-23T07:24:10.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.196s coverage: 83.3% of statements [2021-06-23T07:24:10.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-06-23T07:24:10.004Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-06-23T07:24:10.004Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.484s coverage: 58.0% of statements [2021-06-23T07:24:11.445Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.262s coverage: 89.2% of statements [2021-06-23T07:24:11.445Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-06-23T07:24:11.717Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.167s coverage: 5.0% of statements [2021-06-23T07:24:11.717Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-06-23T07:24:11.991Z] GO111MODULE=on go vet ./... [2021-06-23T07:24:14.686Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-23T07:24:26.970Z] lf-activate-venv(): INFO: Adding /tmp/venv-sfZa/bin to PATH [2021-06-23T07:24:26.970Z] INFO: No Stack... [2021-06-23T07:24:27.542Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-23T07:24:28.117Z] INFO: Archiving Costs [Pipeline] sh [2021-06-23T07:24:28.419Z] + cut -d, -f6 [2021-06-23T07:24:28.419Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [Pipeline] lock [2021-06-23T07:24:28.452Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-7-stack-cost] [2021-06-23T07:24:28.462Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-7-stack-cost] did not exist. Created. [2021-06-23T07:24:28.462Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-23T07:24:28.792Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-23T07:24:28.869Z] Stashed 1 file(s) [Pipeline] } [2021-06-23T07:24:28.895Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-7-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-23T07:25:08.591Z] gofmt -l . [2021-06-23T07:25:08.591Z] [ "`gofmt -l .`" = "" ] [2021-06-23T07:25:08.591Z] ./bin/test-attribution-txt.sh [2021-06-23T07:25:08.591Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2021-06-23T07:25:08.628Z] $ docker stop --time=1 308a22344e6c945c55aa19854803aabc6a37a2b7f490826acbe802f144ba6397 [2021-06-23T07:25:10.658Z] $ docker rm -f 308a22344e6c945c55aa19854803aabc6a37a2b7f490826acbe802f144ba6397 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-23T07:25:11.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-23T07:25:11.799Z] Warning: overwriting stash ‘coverage-report’ [2021-06-23T07:25:12.396Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-23T07:25:13.012Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-23T07:25:13.391Z] + ls -al . [2021-06-23T07:25:13.391Z] total 248 [2021-06-23T07:25:13.391Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 23 07:25 . [2021-06-23T07:25:13.391Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 07:20 .. [2021-06-23T07:25:13.391Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 23 07:20 .dockerignore [2021-06-23T07:25:13.391Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 23 07:20 .git [2021-06-23T07:25:13.391Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 07:20 .github [2021-06-23T07:25:13.391Z] -rw-rw-r-- 1 jenkins jenkins 138 Jun 23 07:20 .gitignore [2021-06-23T07:25:13.391Z] -rw-rw-r-- 1 jenkins jenkins 987 Jun 23 07:20 Dockerfile.build [2021-06-23T07:25:13.391Z] -rw-rw-r-- 1 jenkins jenkins 894 Jun 23 07:20 Jenkinsfile [2021-06-23T07:25:13.391Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 23 07:20 LICENSE [2021-06-23T07:25:13.391Z] -rw-rw-r-- 1 jenkins jenkins 1026 Jun 23 07:20 Makefile [2021-06-23T07:25:13.391Z] -rw-rw-r-- 1 jenkins jenkins 7652 Jun 23 07:20 README.md [2021-06-23T07:25:13.391Z] -rw-rw-r-- 1 jenkins jenkins 6616 Jun 23 07:20 RELEASE-NOTES.txt [2021-06-23T07:25:13.391Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 23 07:17 VERSION [2021-06-23T07:25:13.391Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 23 07:20 bin [2021-06-23T07:25:13.391Z] -rw-r--r-- 1 jenkins jenkins 125634 Jun 23 07:24 coverage.out [2021-06-23T07:25:13.391Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 23 07:20 example [2021-06-23T07:25:13.391Z] -rw-r--r-- 1 jenkins jenkins 576 Jun 23 07:25 go.mod [2021-06-23T07:25:13.391Z] -rw-r--r-- 1 jenkins jenkins 20504 Jun 23 07:22 go.sum [2021-06-23T07:25:13.391Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 23 07:20 internal [2021-06-23T07:25:13.391Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 07:20 openapi [2021-06-23T07:25:13.391Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 23 07:20 pkg [2021-06-23T07:25:13.391Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 23 07:20 snap [2021-06-23T07:25:13.391Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 23 07:20 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:25:13.757Z] + 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=7032ee1aeb5ae8dc64146b4b20160b0a9b938079 --label arch=arm64 --label version=0.0.0 . [2021-06-23T07:25:14.374Z] Sending build context to Docker daemon 2.817MB [2021-06-23T07:25:14.374Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.12 [2021-06-23T07:25:14.374Z] Step 2/23 : FROM ${BASE} AS builder [2021-06-23T07:25:14.374Z] ---> a50608c9c3c6 [2021-06-23T07:25:14.374Z] Step 3/23 : WORKDIR /device-sdk-go [2021-06-23T07:25:14.668Z] ---> Running in 57227d4a8f03 [2021-06-23T07:25:15.273Z] Removing intermediate container 57227d4a8f03 [2021-06-23T07:25:15.273Z] ---> 6c6b6b1af757 [2021-06-23T07:25:15.273Z] Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T07:25:15.546Z] ---> Running in 4e3ed74b50b7 [2021-06-23T07:25:15.828Z] Removing intermediate container 4e3ed74b50b7 [2021-06-23T07:25:15.828Z] ---> 39b73f56c155 [2021-06-23T07:25:15.828Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T07:25:16.100Z] ---> Running in 2d7e5485b554 [2021-06-23T07:25:18.079Z] Removing intermediate container 2d7e5485b554 [2021-06-23T07:25:18.079Z] ---> b62ce8ab9116 [2021-06-23T07:25:18.079Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-06-23T07:25:18.079Z] ---> Running in 469d53311574 [2021-06-23T07:25:19.520Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-23T07:25:20.491Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-23T07:25:21.085Z] OK: 139 MiB in 46 packages [2021-06-23T07:25:22.064Z] Removing intermediate container 469d53311574 [2021-06-23T07:25:22.064Z] ---> 7ae45a7f8f99 [2021-06-23T07:25:22.064Z] Step 7/23 : COPY . . [2021-06-23T07:25:23.500Z] ---> 45b64e6ddd18 [2021-06-23T07:25:23.500Z] Step 8/23 : RUN go mod download [2021-06-23T07:25:23.771Z] ---> Running in 70c757802d9a [2021-06-23T07:25:26.395Z] Removing intermediate container 70c757802d9a [2021-06-23T07:25:26.395Z] ---> b798893f3da2 [2021-06-23T07:25:26.395Z] Step 9/23 : RUN make build [2021-06-23T07:25:26.395Z] ---> Running in 7d7cdadd7687 [2021-06-23T07:25:27.376Z] go mod tidy [2021-06-23T07:25:27.990Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-06-23T07:26:00.374Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-06-23T07:26:01.806Z] Removing intermediate container 7d7cdadd7687 [2021-06-23T07:26:01.806Z] ---> aed94ecc40aa [2021-06-23T07:26:01.806Z] Step 10/23 : FROM alpine:3.12 [2021-06-23T07:26:02.409Z] 3.12: Pulling from library/alpine [2021-06-23T07:26:02.683Z] d2f70382dc9a: Pulling fs layer [2021-06-23T07:26:02.958Z] d2f70382dc9a: Verifying Checksum [2021-06-23T07:26:02.958Z] d2f70382dc9a: Download complete [2021-06-23T07:26:03.558Z] d2f70382dc9a: Pull complete [2021-06-23T07:26:03.558Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-23T07:26:03.558Z] Status: Downloaded newer image for alpine:3.12 [2021-06-23T07:26:03.558Z] ---> c4fd0aeabfcf [2021-06-23T07:26:03.558Z] Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-06-23T07:26:03.832Z] ---> Running in 153410a1ad0a [2021-06-23T07:26:04.431Z] Removing intermediate container 153410a1ad0a [2021-06-23T07:26:04.431Z] ---> 2ccfcdfab34c [2021-06-23T07:26:04.431Z] Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-23T07:26:04.431Z] ---> Running in 2175a5d71961 [2021-06-23T07:26:07.060Z] Removing intermediate container 2175a5d71961 [2021-06-23T07:26:07.060Z] ---> 91197a347336 [2021-06-23T07:26:07.060Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2021-06-23T07:26:07.060Z] ---> Running in 236674869f0f [2021-06-23T07:26:08.039Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-23T07:26:08.632Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-23T07:26:09.241Z] (1/5) Installing libgcc (9.3.0-r2) [2021-06-23T07:26:09.241Z] (2/5) Installing libsodium (1.0.18-r0) [2021-06-23T07:26:09.511Z] (3/5) Installing libstdc++ (9.3.0-r2) [2021-06-23T07:26:09.511Z] (4/5) Installing libzmq (4.3.3-r0) [2021-06-23T07:26:09.785Z] (5/5) Installing zeromq (4.3.3-r0) [2021-06-23T07:26:09.785Z] Executing busybox-1.31.1-r20.trigger [2021-06-23T07:26:09.785Z] OK: 8 MiB in 19 packages [2021-06-23T07:26:11.217Z] Removing intermediate container 236674869f0f [2021-06-23T07:26:11.217Z] ---> 6526c7bd278e [2021-06-23T07:26:11.217Z] Step 14/23 : WORKDIR / [2021-06-23T07:26:11.217Z] ---> Running in 22dff7366bc0 [2021-06-23T07:26:11.814Z] Removing intermediate container 22dff7366bc0 [2021-06-23T07:26:11.814Z] ---> 1ca480fded74 [2021-06-23T07:26:11.814Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-06-23T07:26:12.408Z] ---> 1658193f9a56 [2021-06-23T07:26:12.408Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-06-23T07:26:13.842Z] ---> 584fae3c2e04 [2021-06-23T07:26:13.842Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-06-23T07:26:14.435Z] ---> f1c54db040d3 [2021-06-23T07:26:14.435Z] Step 18/23 : EXPOSE 59999 [2021-06-23T07:26:14.707Z] ---> Running in fce70cf1b212 [2021-06-23T07:26:15.313Z] Removing intermediate container fce70cf1b212 [2021-06-23T07:26:15.313Z] ---> b67de74642b8 [2021-06-23T07:26:15.313Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2021-06-23T07:26:15.313Z] ---> Running in e983b3cf10c9 [2021-06-23T07:26:15.912Z] Removing intermediate container e983b3cf10c9 [2021-06-23T07:26:15.912Z] ---> b2d2a60d9cfa [2021-06-23T07:26:15.912Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-06-23T07:26:15.912Z] ---> Running in d4c0a4304b58 [2021-06-23T07:26:16.512Z] Removing intermediate container d4c0a4304b58 [2021-06-23T07:26:16.512Z] ---> 66abd3bf7824 [2021-06-23T07:26:16.512Z] Step 21/23 : LABEL arch=arm64 [2021-06-23T07:26:16.512Z] ---> Running in 2b536d0ef519 [2021-06-23T07:26:17.107Z] Removing intermediate container 2b536d0ef519 [2021-06-23T07:26:17.107Z] ---> 90ea3c615a85 [2021-06-23T07:26:17.107Z] Step 22/23 : LABEL git_sha=7032ee1aeb5ae8dc64146b4b20160b0a9b938079 [2021-06-23T07:26:17.107Z] ---> Running in e4f6b368d428 [2021-06-23T07:26:17.699Z] Removing intermediate container e4f6b368d428 [2021-06-23T07:26:17.699Z] ---> 21f5b6770438 [2021-06-23T07:26:17.699Z] Step 23/23 : LABEL version=0.0.0 [2021-06-23T07:26:17.699Z] ---> Running in 3f59c194ff0b [2021-06-23T07:26:18.293Z] Removing intermediate container 3f59c194ff0b [2021-06-23T07:26:18.293Z] ---> c1382af3fc3a [2021-06-23T07:26:18.293Z] [Warning] One or more build-args [ARCH MAKE] were not consumed [2021-06-23T07:26:18.293Z] Successfully built c1382af3fc3a [2021-06-23T07:26:18.293Z] 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-06-23T07:26:18.897Z] ---> job-cost.sh [2021-06-23T07:26:18.897Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-v7sK [2021-06-23T07:26:57.858Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-23T07:28:19.610Z] lf-activate-venv(): INFO: Adding /tmp/venv-v7sK/bin to PATH [2021-06-23T07:28:19.610Z] INFO: No Stack... [2021-06-23T07:28:20.199Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-23T07:28:20.791Z] INFO: Archiving Costs [Pipeline] sh [2021-06-23T07:28:21.127Z] + cat /w/workspace/device-sdk-go/7/archives/cost.csv [2021-06-23T07:28:21.127Z] + cut -d, -f6 [Pipeline] lock [2021-06-23T07:28:21.184Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-971-7-stack-cost] [2021-06-23T07:28:21.193Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-971-7-stack-cost] did not exist. Created. [2021-06-23T07:28:21.194Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-971-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-23T07:28:21.591Z] /w/workspace/device-sdk-go/7@tmp/durable-e15b4653/script.sh: 1: /w/workspace/device-sdk-go/7@tmp/durable-e15b4653/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-23T07:28:21.954Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-23T07:28:21.987Z] Warning: overwriting stash ‘stack-cost’ [2021-06-23T07:28:22.181Z] Stashed 1 file(s) [Pipeline] } [2021-06-23T07:28:22.196Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-971-7-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-06-23T07:28:22.926Z] provisioning config files... [2021-06-23T07:28:22.938Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config6703851416241581908tmp [Pipeline] { [Pipeline] sh [2021-06-23T07:28:23.266Z] + set +x [2021-06-23T07:28:23.266Z] + curl -s https://codecov.io/bash [2021-06-23T07:28:23.266Z] + bash -s -- [2021-06-23T07:28:23.266Z] [2021-06-23T07:28:23.266Z] _____ _ [2021-06-23T07:28:23.266Z] / ____| | | [2021-06-23T07:28:23.266Z] | | ___ __| | ___ ___ _____ __ [2021-06-23T07:28:23.266Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-23T07:28:23.266Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-23T07:28:23.266Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-23T07:28:23.266Z] Bash-1.0.3 [2021-06-23T07:28:23.266Z] [2021-06-23T07:28:23.266Z] [2021-06-23T07:28:23.266Z] ==> git version 2.24.4 found [2021-06-23T07:28:23.266Z] ==> 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-06-23T07:28:23.266Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-23T07:28:23.266Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-23T07:28:23.266Z] ==> Jenkins CI detected. [2021-06-23T07:28:23.266Z] project root: . [2021-06-23T07:28:23.266Z] --> token set from env [2021-06-23T07:28:23.266Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-23T07:28:23.529Z] ==> Running gcov in . (disable via -X gcov) [2021-06-23T07:28:23.529Z] ==> Python coveragepy not found [2021-06-23T07:28:23.529Z] ==> Searching for coverage reports in: [2021-06-23T07:28:23.529Z] + . [2021-06-23T07:28:23.529Z] -> Found 1 reports [2021-06-23T07:28:23.529Z] ==> Detecting git/mercurial file structure [2021-06-23T07:28:23.529Z] ==> Reading reports [2021-06-23T07:28:23.529Z] + ./coverage.out bytes=125634 [2021-06-23T07:28:23.529Z] ==> Appending adjustments [2021-06-23T07:28:23.529Z] https://docs.codecov.io/docs/fixing-reports [2021-06-23T07:28:23.795Z] + Found adjustments [2021-06-23T07:28:23.795Z] ==> Gzipping contents [2021-06-23T07:28:23.795Z] 16K /tmp/codecov.FKTRPQ.gz [2021-06-23T07:28:23.795Z] ==> Uploading reports [2021-06-23T07:28:23.795Z] url: https://codecov.io [2021-06-23T07:28:23.795Z] query: branch=PR-971&commit=7032ee1aeb5ae8dc64146b4b20160b0a9b938079&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-23T07:28:23.795Z] -> Pinging Codecov [2021-06-23T07:28:23.795Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-971&commit=7032ee1aeb5ae8dc64146b4b20160b0a9b938079&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-971%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=971&job=&cmd_args= [2021-06-23T07:28:24.372Z] -> Uploading to [2021-06-23T07:28:24.372Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-23/7E55EF52A471D76F132DFD9A03CDDE97/7032ee1aeb5ae8dc64146b4b20160b0a9b938079/5a56d732-51c1-4265-852d-d3a1cb87e590.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210623%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210623T072824Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b00897dc496f00ce5c11061e282bd9642f7f5cf24c73379c9b65a2abe5676005 [2021-06-23T07:28:24.372Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-23T07:28:24.372Z] Dload Upload Total Spent Left Speed [2021-06-23T07:28:24.634Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16342 0 0 100 16342 0 41720 --:--:-- --:--:-- --:--:-- 41688 100 16342 0 0 100 16342 0 41704 --:--:-- --:--:-- --:--:-- 41688 [2021-06-23T07:28:24.634Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7032ee1aeb5ae8dc64146b4b20160b0a9b938079 [Pipeline] } [2021-06-23T07:28:24.645Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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-06-23T07:28:26.199Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:28:26.772Z] ---> package-listing.sh [2021-06-23T07:28:26.772Z] ++ facter osfamily [2021-06-23T07:28:26.772Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-23T07:28:27.035Z] + OS_FAMILY=redhat [2021-06-23T07:28:27.035Z] + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-971 [2021-06-23T07:28:27.035Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-23T07:28:27.035Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-23T07:28:27.035Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-23T07:28:27.035Z] + PACKAGES=/tmp/packages_start.txt [2021-06-23T07:28:27.035Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-23T07:28:27.035Z] + PACKAGES=/tmp/packages_end.txt [2021-06-23T07:28:27.035Z] + case "${OS_FAMILY}" in [2021-06-23T07:28:27.035Z] + rpm -qa [2021-06-23T07:28:27.035Z] + sort [2021-06-23T07:28:27.608Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-23T07:28:27.608Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-23T07:28:27.608Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-23T07:28:27.608Z] + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-971 ']' [2021-06-23T07:28:27.608Z] + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [2021-06-23T07:28:27.608Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-971/archives/ [Pipeline] echo [2021-06-23T07:28:27.621Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-23T07:28:27.907Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:28:28.483Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T07:28:28.484Z] [2021-06-23T07:28:28.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-23T07:28:28.811Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T07:28:28.811Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-23T07:28:28.811Z] df20fa9351a1: Pulling fs layer [2021-06-23T07:28:28.811Z] 36b3adc4ff6f: Pulling fs layer [2021-06-23T07:28:28.811Z] 8ad3a11d3b57: Pulling fs layer [2021-06-23T07:28:28.811Z] 46f8f816bc3b: Pulling fs layer [2021-06-23T07:28:28.811Z] 93b61091891f: Pulling fs layer [2021-06-23T07:28:28.811Z] 93b9cdb0e59b: Pulling fs layer [2021-06-23T07:28:28.811Z] 5e14af77c1be: Pulling fs layer [2021-06-23T07:28:28.811Z] 01666e4c0597: Pulling fs layer [2021-06-23T07:28:28.811Z] aa168da1d23b: Pulling fs layer [2021-06-23T07:28:28.811Z] 46f8f816bc3b: Waiting [2021-06-23T07:28:28.811Z] 93b61091891f: Waiting [2021-06-23T07:28:28.811Z] 93b9cdb0e59b: Waiting [2021-06-23T07:28:28.811Z] 5e14af77c1be: Waiting [2021-06-23T07:28:28.811Z] 01666e4c0597: Waiting [2021-06-23T07:28:28.811Z] aa168da1d23b: Waiting [2021-06-23T07:28:28.811Z] 36b3adc4ff6f: Verifying Checksum [2021-06-23T07:28:28.811Z] 36b3adc4ff6f: Download complete [2021-06-23T07:28:28.811Z] 46f8f816bc3b: Verifying Checksum [2021-06-23T07:28:28.811Z] 46f8f816bc3b: Download complete [2021-06-23T07:28:29.074Z] df20fa9351a1: Verifying Checksum [2021-06-23T07:28:29.074Z] df20fa9351a1: Download complete [2021-06-23T07:28:29.074Z] 93b9cdb0e59b: Verifying Checksum [2021-06-23T07:28:29.074Z] 93b9cdb0e59b: Download complete [2021-06-23T07:28:29.074Z] 5e14af77c1be: Verifying Checksum [2021-06-23T07:28:29.074Z] 5e14af77c1be: Download complete [2021-06-23T07:28:29.074Z] 93b61091891f: Verifying Checksum [2021-06-23T07:28:29.074Z] 93b61091891f: Download complete [2021-06-23T07:28:29.074Z] 01666e4c0597: Verifying Checksum [2021-06-23T07:28:29.074Z] 01666e4c0597: Download complete [2021-06-23T07:28:29.074Z] 8ad3a11d3b57: Verifying Checksum [2021-06-23T07:28:29.074Z] 8ad3a11d3b57: Download complete [2021-06-23T07:28:29.075Z] df20fa9351a1: Pull complete [2021-06-23T07:28:29.344Z] 36b3adc4ff6f: Pull complete [2021-06-23T07:28:29.941Z] 8ad3a11d3b57: Pull complete [2021-06-23T07:28:30.213Z] 46f8f816bc3b: Pull complete [2021-06-23T07:28:30.480Z] 93b61091891f: Pull complete [2021-06-23T07:28:30.741Z] 93b9cdb0e59b: Pull complete [2021-06-23T07:28:30.741Z] 5e14af77c1be: Pull complete [2021-06-23T07:28:31.003Z] 01666e4c0597: Pull complete [2021-06-23T07:28:31.274Z] aa168da1d23b: Verifying Checksum [2021-06-23T07:28:31.274Z] aa168da1d23b: Download complete [2021-06-23T07:28:35.546Z] aa168da1d23b: Pull complete [2021-06-23T07:28:35.546Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-23T07:28:35.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-23T07:28:35.546Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-23T07:28:35.649Z] prd-centos7-docker-4c-2g-883 does not seem to be running inside a container [2021-06-23T07:28:35.688Z] $ 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/dgexfoundry_device-sdk-go_PR-971/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-971 -v /w/workspace/dgexfoundry_device-sdk-go_PR-971:/w/workspace/dgexfoundry_device-sdk-go_PR-971:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-06-23T07:28:39.150Z] $ docker top b35e537bcb2b9760204ae5348f6a6e904467de1e157d47482582c3a10273109c -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-23T07:28:39.547Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-23T07:28:39.844Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-23T07:28:40.155Z] + ls /var/log/sa-host [2021-06-23T07:28:40.155Z] + sadf -c /var/log/sa-host/sa05 [2021-06-23T07:28:40.155Z] file_magic: OK [2021-06-23T07:28:40.155Z] HZ: Using current value: 100 [2021-06-23T07:28:40.155Z] file_header: OK [2021-06-23T07:28:40.155Z] 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-06-23T07:28:40.155Z] Statistics: [2021-06-23T07:28:40.155Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-23T07:28:40.155Z] File successfully converted to sysstat format version 12.2.1 [2021-06-23T07:28:40.155Z] + sadf -c /var/log/sa-host/sa23 [2021-06-23T07:28:40.155Z] file_magic: OK [2021-06-23T07:28:40.155Z] HZ: Using current value: 100 [2021-06-23T07:28:40.155Z] file_header: OK [2021-06-23T07:28:40.155Z] 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-06-23T07:28:40.155Z] Statistics: [2021-06-23T07:28:40.155Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-23T07:28:40.155Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-23T07:28:40.358Z] provisioning config files... [2021-06-23T07:28:40.373Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-971@tmp/config480480906993312022tmp [Pipeline] { [Pipeline] echo [2021-06-23T07:28:40.396Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:28:40.700Z] ---> create-netrc.sh [Pipeline] } [2021-06-23T07:28:40.710Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:28:41.095Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-23T07:28:41.114Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:28:41.455Z] ---> sudo-logs.sh [2021-06-23T07:28:41.455Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-23T07:28:41.493Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:28:41.821Z] ---> job-cost.sh [2021-06-23T07:28:41.821Z] lf-activate-venv: SKIPPING [2021-06-23T07:28:41.821Z] DEBUG: total: 0.18000000715255737 [2021-06-23T07:28:41.821Z] INFO: Retrieving Stack Cost... [2021-06-23T07:28:43.210Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-23T07:28:43.473Z] INFO: Archiving Costs [Pipeline] echo [2021-06-23T07:28:43.489Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-23T07:28:43.792Z] ---> logs-deploy.sh [2021-06-23T07:28:43.792Z] lf-activate-venv: SKIPPING [2021-06-23T07:28:43.792Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-971/7 [2021-06-23T07:28:43.792Z] INFO: archiving workspace using pattern(s): [2021-06-23T07:28:44.741Z] Archives upload complete. [2021-06-23T07:28:44.741Z] INFO: archiving logs to Nexus